Docsity

3 Problems on the Artificial Intelligence - Homework | CS 440, Assignments of Computer Science

Toggle sidebar
bg1
1. Propositional Logic
Convert the following propositional formulae into Conjunctive Normal
Form and for each one, characterize the set of satisfying assignments:
(a) (x1∧x2∧x3)∨(x2∨x3)∨(x1∧x4)
(b) x1∧x2∨x3∧x4∨. . . ∧x2n
(c) x1⊕x2⊕. . . ⊕xn
2. Linear Algebra
(a) Let B=2 1
3 2 and C=−2 7
5−1. Find a non-zero 2 ×2
matrix As.t. AB =AC and ATB=ATC.
(b) What is the rank of the following matrix?
123
1−3 4
2−1 7
What is its inverse? What implications does this have for the follow-
ing system of equations:
x1+ 2x2+ 3x3= 4
x1−3x2+ 4x3= 5
2x1−1x2+ 7x3= 6
(c) A square matrix Ais diagonalizable if there is a non-singular matrix
Tand a diagonal matrix Ds.t. T−1AT =D. Show that an n×n
matrix Ais diagonalizable if and only if it has nlinearly independent
eigenvectors.
3. Probability theory
(a) [Bayes’s theorem]In the Department of Computer Science at UIUC
believes that students can be divided into two groups - those who
are interested in A.I. and those who are not interested in A.I. Their
statistics show that A.I. oriented students will enroll the A.I. courses
(eg. CS44X) with probability 0.8 whereas other students will enroll
the A.I. courses (eg. CS44X) with probability 0.3. If we assume that
60 percent of students are interested in A.I., what is the probability
that a student who enrolled in CS440 is interested in A.I.?
(b) [Gaussian Random Variable]Suppose that the score of HW0 can be
described by Gaussian Distribution with mean (µ) 85 and variance
(σ2) 15. What is the possibility that a student get a grade greater
than 95? (Please, refer appropriate Gaussian Distribution table or
equation)
1
pf2

Partial preview of the text

Download 3 Problems on the Artificial Intelligence - Homework | CS 440 and more Assignments Computer Science in PDF only on Docsity!

  1. Propositional Logic

Convert the following propositional formulae into Conjunctive Normal Form and for each one, characterize the set of satisfying assignments:

(a) (x 1 ∧ x 2 ∧ x 3 ) ∨ (x 2 ∨ x 3 ) ∨ (x 1 ∧ x 4 )

(b) x 1 ∧ x 2 ∨ x 3 ∧ x 4 ∨... ∧ x 2 n (c) x 1 ⊕ x 2 ⊕... ⊕ xn

  1. Linear Algebra

(a) Let B =

[

]

and C =

[

]

. Find a non-zero 2 × 2 matrix A s.t. AB = AC and AT^ B = AT^ C. (b) What is the rank of the following matrix?  

What is its inverse? What implications does this have for the follow- ing system of equations:

x 1 + 2x 2 + 3x 3 = 4 x 1 − 3 x 2 + 4x 3 = 5 2 x 1 − 1 x 2 + 7x 3 = 6

(c) A square matrix A is diagonalizable if there is a non-singular matrix T and a diagonal matrix D s.t. T −^1 AT = D. Show that an n × n matrix A is diagonalizable if and only if it has n linearly independent eigenvectors.

  1. Probability theory

(a) [Bayes’s theorem]In the Department of Computer Science at UIUC believes that students can be divided into two groups - those who are interested in A.I. and those who are not interested in A.I. Their statistics show that A.I. oriented students will enroll the A.I. courses (eg. CS44X) with probability 0.8 whereas other students will enroll the A.I. courses (eg. CS44X) with probability 0.3. If we assume that 60 percent of students are interested in A.I., what is the probability that a student who enrolled in CS440 is interested in A.I.? (b) [Gaussian Random Variable]Suppose that the score of HW0 can be described by Gaussian Distribution with mean (μ) 85 and variance (σ^2 ) 15. What is the possibility that a student get a grade greater than 95? (Please, refer appropriate Gaussian Distribution table or equation)

(c) [Inverse Transformation Method]Suppose we have random generator that generates uniform random variable U. In addition, we have in- verse function F −^1 for a continuous distribution function F. Prove that the following random variable Y has distribution function F. [F −^1 (x) is defined to equal that value y for which F (y) = x.]

Y = F −^1 (U )