Professional Documents
Culture Documents
I
X and Y both will belong to the set {0, 1, 2} since 2 batteries are chosen in total.
a
To find it’s joint probability distribution, it would be best to display it in a tabular form.
b
Finding PMF of X is straight forward
9 𝐶2 6
For X = 0: It is equivalent of choosing 2 batteries from the 4 used and 5 defective piles = 12𝐶2
=
11
For X = 1: It is equivalent of choosing 1 new battery and 1 battery from the 4 used and 5
3 𝐶 1 9𝐶 1 9
defective piles = 12𝐶2
= 22
3𝐶2 1
For X = 2: It is equivalent of choosing 2 new batteries = 12𝐶2
=
22
6
;𝑥 = 0
11
9
𝑃𝑋 (𝑥) = 22 ; 𝑥 = 1
1
;𝑥 = 2
22
(0 𝑜𝑡ℎ𝑒𝑟𝑤𝑖𝑠𝑒
2
6 9 1 9 2 11 𝟏
= ×0+ ×1+ ×2= + = =
11 22 22 22 22 22 𝟐
II
a
The properties we require are
1
Γ ( ) = √𝜋
2
Γ(𝛼 + 1) = 𝛼Γ(𝛼)
7 5 5 5 3 3 5 3 1 1 15
Γ( ) = Γ( ) = × Γ( ) = × × Γ( ) = √𝜋
2 2 2 2 2 2 2 2 2 2 8
b
∞
Γ(𝛼)
∫ 𝑥 𝛼−1 𝑒 −𝜆𝑥 𝑑𝑥 =
0 𝜆𝛼
In this case
𝛼−1 = 7
𝛼=8
−𝜆 = −5
𝜆=5
Γ(8) 7! 1008
8
= 8= = 0.0129024
5 5 78125
III
We first need to find the formula for 𝑓𝑋|𝑌 (x|y)
a
Now 𝑌 = 2𝑋1 + 3𝑋2
Applying this previous property, we get
b
Now 𝑌 = 𝑋1 − 𝑋2
Applying this previous property, we get
Now X and Y are not independent, so for any x, from above equation we know that
𝑦2 ≤ 1 − 𝑥2
−√1 − 𝑥 2 ≤ |𝑦| ≤ √1 − 𝑥 2
1 √1−𝑥 2
𝑃((𝑋, 𝑌) ∈ 𝐴) = ∫ ∫ 𝑐𝑑𝑦 𝑑𝑥
−1 −√1−𝑥 2
1
2
= 𝑐 ∫ |𝑦|√1−𝑥
−√1−𝑥 2
𝑑𝑥
−1
1
= 𝑐 ∫ 2√1 − 𝑥 2 𝑑𝑥
−1
1
= 2𝑐 ∫ √1 − 𝑥 2 𝑑𝑥
−1
sin2 𝜃 + cos 2 𝜃 = 1
𝜋
2
= 2𝑐 ∫ √cos2 𝜃 cos 𝜃 𝑑𝜃
𝜋
−
2
𝜋
2
= 2𝑐 ∫ cos2 𝜃 𝑑𝜃
𝜋
−
2
cos 2𝜃 = 2 cos2 𝜃 − 1
𝜋
2 cos 2𝜃 + 1
= 2𝑐 ∫ 𝑑𝜃
−
𝜋 2
2
𝜋
2
= 𝑐 ∫ cos 2𝜃 + 1𝑑𝜃
𝜋
−
2
𝜋 𝜋
2 2
= 𝑐 ∫ cos 2𝜃 𝑑𝜃 + 𝑐 ∫ 1𝑑𝜃
𝜋 𝜋
− −
2 2
𝜋
𝜋
sin 2𝜃 2 2
=𝑐| | + 𝑐|𝜃| 𝜋
2 −𝜋 −
2 2
= 0 + 𝑐𝜋
= 𝑐𝜋
Since this is over the entire disc,
𝑐𝜋 = 1
𝟏
𝒄=
𝝅
b
∞
𝑓𝑋 (𝑥) = ∫ 𝑓𝑋𝑌 (𝑥, 𝑦)𝑑𝑦
−∞
𝑦2 ≤ 1 − 𝑥2
−√1 − 𝑥 2 ≤ |𝑦| ≤ √1 − 𝑥 2
√1−𝑥 2
1
𝑓𝑋 (𝑥) = ∫ 𝑑𝑦
−√1−𝑥 2 𝜋
𝟐√𝟏 − 𝒙𝟐
=
𝝅
∞
𝑓𝑌 (𝑦) = ∫ 𝑓𝑋𝑌 (𝑥, 𝑦)𝑑𝑥
−∞
𝑥2 ≤ 1 − 𝑦2
−√1 − 𝑦 2 ≤ |𝑥| ≤ √1 − 𝑦 2
√1−𝑦 2
1
𝑓𝑌 (𝑦) = ∫ 𝑑𝑥
−√1−𝑦 2 𝜋
𝟐√𝟏 − 𝒚𝟐
=
𝝅
c
We already know the formula for 𝑓𝑋|𝑌 (x|y) from Q3
𝒇𝑿𝒀 (𝒙, 𝒚)
=
𝒇𝒀 (𝒚)
Otherwise, it is 0
d
X and Y are independent if 𝑓𝑋𝑌 (𝑥, 𝑦) = 𝑓𝑋 (𝑥) × 𝑓𝑌 (𝑦)
LHS
1
𝑓𝑋𝑌 (𝑥, 𝑦) =
𝜋
RHS
−𝑥
𝑒 −𝑥𝑦 ∞
= 𝑥𝑒 | |
−𝑥 0
0−1
= 𝑥𝑒 −𝑥 ( )
−𝑥
= 𝒆−𝒙
∞
𝑓𝑌 (𝑦) = ∫ 𝑓𝑋𝑌 (𝑥, 𝑦)𝑑𝑥
−∞
∞
= ∫ 𝑥𝑒 −𝑥(1+𝑦) 𝑑𝑥
0
𝑥 ∫ 𝑒 −𝑥(1+𝑦) 𝑑𝑥 − ∫ ∫ 𝑒 −𝑥(1+𝑦) 𝑑𝑥 𝑑𝑥
∞
𝑒 −𝑥(1+𝑦) ∞
𝑒 −𝑥(1+𝑦)
𝑥| | −∫ ( ) 𝑑𝑥
−(1 + 𝑦) 0 0 −(1 + 𝑦)
∞ ∞
𝑒 −𝑥(1+𝑦) 𝑒 −𝑥(1+𝑦)
𝑥| | −| |
−(1 + 𝑦) 0 (1 + 𝑦)2 0
∞ ∞
1 1
𝑥| | − | |
−𝑒 𝑥(1+𝑦) (1 + 𝑦) 0 𝑒 𝑥(1+𝑦) (1 + 𝑦)2 0
1
𝑥 (0 + )