Download as pdf or txt
Download as pdf or txt
You are on page 1of 10

SIT787: Mathematics for AI

Practical Week 7
Asef Nazari

1. A fair coin is tossed 4 times. Provided that at least 2 heads occurred within the 4 tossings, what’s
the probability that at least one tail also occurred?

2. Two fair dice are rolled simultaneously. Find the conditional probability of the event that ”both dice
got equal values” provided that the sum of values on the dice is less than or equal six.

3. Find the expected value and variance of the random variable X with given probability distribution

x -3 -2 -1 0 1 2 3
1 1 1 2 2 1
P (X = x) 14 7 7 7 7
0 14

4. Is it possible to have a random variable X with E[X] = 3 and E[X 2 ] = 7?

5. The joint probability of two random variabbles is given by the following table.
amangupta0141@gmail.com
QU1HPBT85A
HH
HH Y 0 1 2
X HH
1 1 1
0 4 6 12
1 1 5
1 16 8 16

(a) Find P ({X = 1} \ {X > 0})


(b) Find P ({Y = 2}|{X = 1})
(c) Find the PMF of X and Y
(d) Are these two random variables independent?
(e) Find E[XY ]

6. A fair die rolls. Let X be the number on the die and Y be 0 for even X and 1 for odd. Find
covariance and correlation of X and Y .

This file is meant for personal use by amangupta0141@gmail.com only.


Sharing or publishing the contents in
1 part or full is liable for legal action.
7. The porbability distribution of a discrete random variable is given by the table:

x -10 -5 -1 0 1 5 10
P (X = x) 0.05 0.1 0.2 0.3 0.2 0.1 0.01

(a) Find F (2)


(b) Find F (10)

8. PDF of a random varibale X is given


(
C(4 x2 ) x 2 [ 2, 2]
f (x) =
0 otherwise

(a) Find C
(b) Find expectation and variance of X
(c) Find F (1)

amangupta0141@gmail.com
QU1HPBT85A

This file is meant for personal use by amangupta0141@gmail.com only.


Sharing or publishing the contents in
2 part or full is liable for legal action.
Sampuspace

amangupta0141@gmail.com
QU1HPBT85A

This file is meant for personal use by amangupta0141@gmail.com only.


Sharing or publishing the contents in part or full is liable for legal action.
the sample space

D ij i E is j e 64

111 36

Let's define event E and F as

less than
E some of the values on dice is

or
equal 6
Fo both dice got equal values
1,1 1,2 1,37 1,4 Cl 5 2,1 2,21 12,3
E
amangupta0141@gmail.com
QU1HPBT85A

2,4 3,1 3,2 3,3 4,1 4,27 CS l

IE 1 15
f 1,11 0421 13,37 14,41 5,57 6,6
IF 1 6
HIEI I
Nfl El
f IET
IN
1 El

we need to find fnE


Cl 11 2,2 C3,3 IF AEK 3
FAE

Therefore P FIE 7g

This file is meant for personal use by amangupta0141@gmail.com only.


Sharing or publishing the contents in part or full is liable for legal action.
pay attention that if PCX 2 o then we do not

need to have 2 If the probability of an event


is zero it never happens However having it in

our computation does not harm

imam

2 219
217
amangupta0141@gmail.com 9g tag 98
QU1HPBT85A

NO

This file is meant for personal use by amangupta0141@gmail.com only.


Sharing or publishing the contents in part or full is liable for legal action.
amangupta0141@gmail.com
QU1HPBT85A

This file is meant for personal use by amangupta0141@gmail.com only.


Sharing or publishing the contents in part or full is liable for legal action.
3,3

P X L nY o
0
1
if X is odd y should be event
So this is an impossible
P X 2 n 4 0 P CX 2 46
P X 3 A 4
0 O

amangupta0141@gmail.com
QU1HPBT85A

New

Esa
1
4 53
I is
frog

This file is meant for personal use by amangupta0141@gmail.com only.


Sharing or publishing the contents in part or full is liable for legal action.
amangupta0141@gmail.com
QU1HPBT85A

This file is meant for personal use by amangupta0141@gmail.com only.


Sharing or publishing the contents in part or full is liable for legal action.
w ges

amangupta0141@gmail.com
QU1HPBT85A

Let's find the CDF of this PDF

F a P ka taek

if a then fcn.to
0
Fla
L fomdn f doc
O

This file is meant for personal use by amangupta0141@gmail.com only.


Sharing or publishing the contents in part or full is liable for legal action.
E 2
if 2 Ea

Flat fffinidx fzafcnid

x4dk
f.az zl4 EfzaCa a4dx

I
4x Ix

ta 8 tf
Efta
amangupta0141@gmail.com
QU1HPBT85A

atra 16
16
Zz f ga't 49 3 32

if a 2 then Fcat _L

a f 2
O
2916 Ea S2
Flat 32
2

a 2
11
Fat z

This file is meant for personal use by amangupta0141@gmail.com only.


Sharing or publishing the contents in part or full is liable for legal action.

You might also like