



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




each transmitters sends a message with probability 1/2. Simultaneous transmission results in lose of the message. Let X be the number of time slots until the first message gets through.
a. Find the conditional pmf of X given that no message get through in time slot 1.
b. Find the conditional pmf of X given that the first transmitter transmitted in time slot 1.
Soln:
a.
P (X = k|X > 1) =
P (X = k, X > 1) P (X > 1)
For each time slot t, Pt[transmitted] = Pt[not transmitted] = (^12) When X = k = 1, P (X = k|X > 1) = P^ (X P =1(X>,X>1) 1)= 0. When X = k > 1, no message get through in time slot t = 1, 2 , ..., k − 1, and a first message get through in time k. Since whether the transmission will fail or not during each slot is independent,
P [X = k, k > 1] = P 1 [not transmitted]P 2 [not transmitted], ..., Pk− 1 [not transmitted]Pk[transmitted]
= (
)k−^1
)k
When X > 1, no message get through in time slot 1.
P [X > 1] = P 1 [not transmitted] =
Thus, P (X = k|X > 1) =
P (X = k, k > 1) P (X > 1)
)k−^1
b. Define C =“the first transmitter transmitted at time slot 1”. P (C) = P 1 (transmitted) = 1/2. When X = k = 1, P (X = k|C) = 1/2. When X = k > 1,
P [X = k, C] = P 1 [not transmitted, C]P 2 [not transmitted], ..., Pk− 1 [not transmitted]Pk[transmitted]
= P 1 [both transmitter transmitted]P 2 [not transmitted], ..., Pk− 1 [not transmitted]Pk[transmitted]
=
)k−^2
)k+
Thus,
P (X = k|C) =
P (X = k, C) P (C)
)k
Find the cdf and pdf of X. Soln: The cdf FX (x) = P (X < x) = P (U n^ < x) = P (U < x^1 /n) = x^1 /n^ when 0 ≤ x ≤ 1. When x > 1, FX (x) = 1; when x < 0, FX (x) = 0. So the pdf fX (x) = F (^) X′ (x) = (^1) n x^1 /n−^1 when 0 ≤ x ≤ 1. fX (x) = 0 when x > 1 or x < 0.
Θ be the radius and angle of the point (X 1 , X 2 ).
(a) Find the joint cdf of R and Θ, 0 ≤ R ≤ 1, 0 ≤ Θ ≤ 2 π.
(b) Find the marginal cdf of R and Θ.
Soln:
(a) The joint cdf of R and Θ is
FR,Θ(r, θ) = P (R ≤ r, Θ ≤ θ)
=
Area of the sector Area of the unit circle
=
π ∗ r^2 ∗ 2 θπ π ∗ 12 = r
(^2) θ 2 π where R ∈ [0, 1], Θ ∈ [0, 2 π].
(b) The marginal cdf of R and Θ are:
FR(r) = FR,Θ(r, 2 π) = r^2
FΘ(θ) = FR,Θ(1, θ) =
θ 2 π where R ∈ [0, 1], Θ ∈ [0, 2 π]
(d)
0
∫ (^) x 1 / 2
0
fX,Y (x, y)dydx
0
∫ (^) x 1 / 2
0
12 yx(1 − x)dydx
0
x(1 − x) y
2 2
√x 0 dx
= 6
0
(x^2 − x^3 )dx
x^3 3
x^4 4
0
∫ (^) y
0
fX,Y (x, y)dxdy
0
∫ (^) y
0
12 yx(1 − x)dxdy
0
y(
x^2 2
x^2 3
)|y 0 dy
0
y^3 2 −^
y^4 3 )dy
= 12(^1 2
y^4 4
y^5 5
Z = X/Y. Soln: For z > 0,
P (Z ≤ z) = P (X/Y ≤ z) = P (X/z ≤ Y )
=
0
X/z
ye−^
y 22 xe−^
x 22 dydx
0
[e−^
(x/z 2 )^2 ]xe−^ x
2 (^2) dx
0
xe−^
(^12) (1+ 1 z^2 )x
2 dx
= −
1 + (^) z^12
e−^
(^12) (1+ (^) z (^12) )x^2 |∞ 0
1 + (^) z^12
= z
2 1 + z^2 Thus, FZ (z) = z
2 1+z^2.
fX,Y,Z (x, y, z) = k(x + y + z) for 0 ≤ x ≤ 1 , 0 ≤ y ≤ 1 , 0 ≤ z ≤ 1
(a) Find k.
(b) Find fZ (z|x, y).
(c) Find fX (x).
Soln:
(a)
0
0
0
k(x + y + z)dxdydz
= k(
0
0
= k(
0
(1 + z)dz)
= k
Thus, k = 23.
(b)
fX,Y (x, y) = 2 3
0
(x + y + z)dz
= 2 3
((x + y)z +^1 2
z^2 ) |^10
= 2 3
(x + y +^1 2
fZ (z|x, y) = fX,Y,Z^ (x, y, z) fX,Y (x, y)
=
2 3 (x^ +^ y^ +^ z) 2 3 (x^ +^ y^ +^
1 2 ) =
x + y + z x + y + (^12)
(c)
fX (x) =
0
fX,Y (x, y)dy
0
3 (x^ +^ y^ +
2 )dy
= 2 3
(xy|^10 + y
2 2
y|^10 )
= 2 3
(x + 1)