Docsity

Solutions to Problem Set 12 - Probability with Engineering Applications | ECE 313, Assignments of Statistics

Toggle sidebar
bg1
University of Illinois Spring 2007
ECE 413: Solutions to Problem Set 12
1. The pdf of (X,Y) is uniformly distributed on the unit disc, and thus has value π−1.
University Problem Set #12: Solutions ECE 313
of Illinois Page 2 of 3 Spring 2002
sin(π/6)=1/2
1r
1/2
1
3.(a) As is obvious from the left-hand figure, the chord is longer than the side of the inscribed equilateral triangle
if its midpoint lies inside the inscribed circle. It is easily seen (or read in Ross!) that the radius of this inner
circle is 1/2. Hence, P{random point lies inside inscribed circle} = ratio of areas = π(1/2)2/π(1)2 = 1/4.
Thus, we can choose between 1/2, 1/3, and 1/4 as the answer to the random chord problem!
(b) If the midpoint is at distance r from the center of the circle, the chord has length 2 1 – r2. Thus, we have
that L = 2 1 – R2 = 2 1 – X2 – Y2 where R is the distance of the random point (X,Y) from the
origin. As before, 0 ≤ L ≤ 2, and for any x, 0 ≤ x ≤ 2, we have that FL(x) = P{L ≤ x}
= P{2 1 – R2 ≤ x} = P{R ≥ 1 – x2/4 } = 1 – P{ R ≤ 1 – x2/4 } = 1 – π(1 – x 2/4)
π12 = x2/4.
Hence, fL(x) = d
dxFL(x) = {x/2, 0 ≤ x ≤ 2,
0, otherwise.
(c) E[L] = ∫
0
2
x•x/2dx = 4/3.
4.(a) The pdf is nonzero in the shaded region shown.
u
v
(b) fX(u) = ∫
v=u
v=∞
2 exp (–u–v) dv = 2•exp(–2u) if u > 0, and 0 otherwise.
fY(v) = ∫
u=0
u=v
2 exp (–u–v) du = 2•exp(–v) – 2•exp (–2v) if v > 0, and 0 otherwise.
(c) The random variables are not independent: fX(u)fY(v) ≠ fX,Y(u,v).
(d) P{Y > 3X} = ∫
u=0
∞
∫
v=3u
v=∞
2exp(–u–v)dvdu = ∫
u=0
∞
2exp(–4u)du = 1/2.
(e) P{X + Y < α} = ∫
u=0
α/2
∫
v=u
v=α–u
2e–u–vdvdu = ∫
u=0
u=α/2
2e–u[e–u–e–α+u]du = 1 – (1 + α)exp(–α) for α > 0.
The probability is 0 for α ≤ 0.
(f) fX+Y(α) = d
dα[1 – (1 + α)(exp(–α)] = α•exp (–α) for α > 0, and 0 otherwise. This is a gamma density
with parameters (2,1).
(a) If the midpoint of the chord is at distance less than 1/2 from the center of the circle, the
chord is longer than the side of the equilateral triangle inscribed in the circle (cf. Ross,
p. 217). Thus, the length Lof the random chord is greater than the side of the equilateral
triangle if (X,Y) lies inside a circle of radius 1/2. This has probability π−1hπ1
22i=1
4.
(b) The length of a chord at distance rfrom the center is 2√1−r2.
Hence, L= 2√1− R2= 2√1− X 2− Y2
and FL(α) = P{L ≤ α}=P{X2+Y2≥1−α2/4}= 1 −π(1 −α2/4)π−1=α2/4. From
this we get that fL(α) = α/2 for 0 ≤α≤2, and fL(α) = 0 otherwise.
(c) E[L] = Z2
0
α·α
2dα =4
3. Alternatively, LOTUS gives E[L] = E[2p1− X2− Y 2)]
=π−1Z Z 2p1−u2−v2du dv =Z1
r=0 Z2π
θ=0
π−12p1−r2r dθ dr =Z1
r=0
4rp1−r2dr
=−4
3(1 −r2)3/2
1
0
=4
3as before.
2. (a) The pdf surface is a right circular cone with base diameter 4 and altitude 2c. The volume
under the surface is 1
3π222c=8πc
3giving c=3
8π. The mensurationally-challenged can
use 1 = Z2
r=0 Z2π
θ=0
c(2 −r)r dθ dr = 2πc r2−r3
3
2
0
= 8πc −16πc
3=8πc
3to arrive at
the same result.
(b) For 0 ≤α≤2, FR(α) = P{R ≤ α}=Zα
r=0 Z2π
θ=0
3
8π(2 −r)r dθ dr =3
4r2−r3
3
α
0
=3
4α2−α3
3giving fR(α) = 3
2α−3
4α2for 0 ≤α≤2 and fR(α) = 0 otherwise. It is
also possible to find FR(α) directly by noting that the volume inside the circle of radius
αis that of a cylinder of height (3/8π)(2 −α) plus that of a cone of height (3/8π)αwhich
volume is πα2(3/8π)(2 −α) + (1/3)πα2(3/8π)α=3
4α2−α3
3as before.
3. (a) For α < β,FW,Z(α, β) = P{W ≤ α, Z ≤ β}=P{max{X,Y} ≤ α, min{X ,Y} ≤ β}
=P{max{X,Y} ≤ α, min{X,Y} ≤ α}=P{X ≤ α, Y ≤ α}=FX,Y(α, α) since if the
maximum is smaller than αwhich is itself smaller than β, then the minimum is also
smaller than α.
pf3
pf4

Partial preview of the text

Download Solutions to Problem Set 12 - Probability with Engineering Applications | ECE 313 and more Assignments Statistics in PDF only on Docsity!

University of Illinois Spring 2007 ECE 413: Solutions to Problem Set 12

  1. The pdf of (X , Y) is uniformly distributed on the unit disc, and thus has value π−^1.

University Problem Set #12: Solutions ECE 313 of Illinois Page 2 of 3 Spring 2002

sin(π/6)=1/

1 r

1/ 1

3.(a) As is obvious from the left-hand figure, the chord is longer than the side of the inscribed equilateral triangle if its midpoint lies inside the inscribed circle. It is easily seen (or read in Ross!) that the radius of this inner circle is 1/2. Hence, P{random point lies inside inscribed circle} = ratio of areas = π(1/2)^2 /π(1)^2 = 1/4. Thus, we can choose between 1/2, 1/3, and 1/4 as the answer to the random chord problem! (b) If the midpoint is at distance r from the center of the circle, the chord has length 2 1 – r 2. Thus, we have that L = 2 1 – R^2 = 2 1 – X^2 – Y^2 where R is the distance of the random point ( X , Y ) from the origin. As before, 0 ≤ L ≤ 2, and for any x, 0 ≤ x ≤ 2, we have that F (^) L (x) = P{ L ≤ x}

= P{2 1 – R^2 ≤ x} = P{ R ≥ 1 – x 2 /4 } = 1 – P{ R ≤ 1 – x 2 /4 } = 1 – π(1 – x^

π 12

= x 2 /4.

Hence, f L (x) = dxdF L (x) = { x/2,0, 0 otherwise.^ ≤^ x^ ≤^ 2,

(c) E[ L ] = ∫

0

2 x•x/2dx = 4/3.

4.(a) The pdf is nonzero in the shaded region shown.

u

v

(b) f X (u) = ∫

v=u

v=∞ 2 exp (–u–v) dv = 2•exp(–2u) if u > 0, and 0 otherwise.

f Y (v) = ∫

u=

u=v 2 exp (–u–v) du = 2•exp(–v) – 2•exp (–2v) if v > 0, and 0 otherwise.

(c) The random variables are not independent: f X (u)f Y (v) ≠ f X , Y (u,v).

(d) P{ Y > 3 X } = ∫

u=

v=3u

v=∞

2exp(–u–v)dvdu = ∫

u=

2exp(–4u)du = 1/2.

(e) P{ X + Y < α} = ∫

u=

α/

v=u

v=α–u

2e–u–vdvdu = ∫

u=

u=α/ 2e–u[e–u–e–α+u]du = 1 – (1 + α)exp(–α) for α > 0.

The probability is 0 for α ≤ 0. (f) f X + Y (α) = ddα[1 – (1 + α)(exp(–α)] = α•exp (–α) for α > 0, and 0 otherwise. This is a gamma density with parameters (2,1).

(a) If the midpoint of the chord is at distance less than 1/2 from the center of the circle, the chord is longer than the side of the equilateral triangle inscribed in the circle (cf. Ross, p. 217). Thus, the length L of the random chord is greater than the side of the equilateral triangle if (X , Y) lies inside a circle of radius 1/2. This has probability π−^1

[

π

2

) 2 ]

(b) The length of a chord at distance r from the center is 2

1 − r^2. Hence, L = 2

1 − R^2 = 2

1 − X 2 − Y^2

and FL(α) = P {L ≤ α} = P {X 2 + Y^2 ≥ 1 − α^2 / 4 } = 1 − π(1 − α^2 /4)π−^1 = α^2 /4. From this we get that fL(α) = α/2 for 0 ≤ α ≤ 2, and fL(α) = 0 otherwise.

(c) E[L] =

0

α ·

α 2

dα =

. Alternatively, LOTUS gives E[L] = E[

1 − X 2 − Y^2 )]

= π−^1

1 − u^2 − v^2 du dv =

r=

∫ (^2) π

θ=

π−^12

1 − r^2 r dθ dr =

r=

4 r

1 − r^2 dr

(1 − r^2 )^3 /^2

1

0

as before.

  1. (a) The pdf surface is a right circular cone with base diameter 4 and altitude 2c. The volume under the surface is

π 222 c =

8 πc 3

giving c =

8 π

. The mensurationally-challenged can

use 1 =

r=

∫ (^2) π

θ=

c(2 − r) r dθ dr = 2πc

r^2 − r

3 3

2

0

= 8πc − 16 πc 3

=^8 πc 3

to arrive at the same result.

(b) For 0 ≤ α ≤ 2, FR(α) = P {R ≤ α} =

∫ (^) α

r=

∫ (^2) π

θ=

8 π (2^ −^ r)^ r dθ dr^ =

r^2 −

r^3 3

α

0 =^3 4

α^2 − α

3 3

giving fR(α) = 32 α − 34 α^2 for 0 ≤ α ≤ 2 and fR(α) = 0 otherwise. It is also possible to find FR(α) directly by noting that the volume inside the circle of radius α is that of a cylinder of height (3/ 8 π)(2 − α) plus that of a cone of height (3/ 8 π)α which volume is πα^2 (3/ 8 π)(2 − α) + (1/3)πα^2 (3/ 8 π)α =^3 4

α^2 − α

3 3

as before.

  1. (a) For α < β, FW,Z (α, β) = P {W ≤ α, Z ≤ β} = P {max{X , Y} ≤ α, min{X , Y} ≤ β} = P {max{X , Y} ≤ α, min{X , Y} ≤ α} = P {X ≤ α, Y ≤ α} = FX ,Y (α, α) since if the maximum is smaller than α which is itself smaller than β, then the minimum is also smaller than α.

For α > β, FW,Z (α, β) = P {W ≤ α, Z ≤ β} = P {max{X , Y} ≤ α, min{X , Y} ≤ β} = P {X ≤ α, Y ≤ β} + P {X ≤ β, Y ≤ α} − P {X ≤ β, Y ≤ β} = FX ,Y (α, β) + FX ,Y (β, α) − FX ,Y (β, β). (b) For α < β, FW,Z (α, β) = FX ,Y (α, α) = FX (α)FY (α). For α > β, FW,Z (α, β) = FX ,Y (α, β) + FX ,Y (β, α) − FX ,Y (β, β) = FX (α)FY (β) + FX (β)FY (α) − FX (β)FY (β).

(c) fW,Z (α, β) =

∂^2

∂α ∂β

FW,Z (α, β) =

fX ,Y (α, β) + fX ,Y (β, α), if α > β, 0 , if α < β.

  1. (a) For v > 0, fX 2 (v) =

v

[

fX (

v) + fX (−

v)

]

exp(−u/ 2 σ^2 ) σ

2 πv

λ πv

exp(−λv)

where λ =

2 σ^2

which is a gamma pdf with parameters

2 σ^2

(b) The pdfs of X 2 , Y^2 , and Z^2 are all gamma pdfs with parameters ( 12 , (^2) σ^12 ). The random variables X 2 , Y^2 , and Z^2 are independent because X , Y, and Z are independent random variables. (c) The sum of independent gamma random variables with the same scale parameter is a gamma random variable with the same scale parameter, and with order parameter equal to the sum of the order parameters. Hence, the pdf of W = X 2 + Y^2 + Z^2 is a gamma pdf with parameters ( 32 , (^21) σ 2 ), and is given by fW (α) = 1 σ^3

α 2 π

exp(−α/ 2 σ^2 ) for α > 0.

(d) The expected value of a gamma random variable with parameters (t, λ) is t/λ. Hence, E[W] = 3σ^2. Alternatively, E[W] = E[X 2 ] + E[Y^2 ] + E[Z^2 ] = 3(σ^2 + (E[X ])^2 ) = 3σ^2. (e) E[H] = 12 mE[W] = 32 mσ^2 = 32 kT giving σ^2 = kT /m. Hence, upon substitution, we get

fW (α) =

kT m

)− 3 / 2 √^

α 2 π

exp(−mα/ 2 kT ) for α > 0, while H = 12 mW has pdf given by

fH(β) =

m

fW

2 β m

π

(kT )−^

β exp(−β/kT ) for β > 0.

(f) FV (γ) = P {V ≤ γ} = P {

W ≤ γ} = P {W ≤ γ^2 } = FW (γ^2 ). Hence, fV (γ) =

d dγ

FV (γ) = 2γfW (γ^2 ) =

π

( (^) m 2 kT

γ^2 exp

mγ^2 2 kT

, γ > 0. (cf. Theoretical Exercise 1 of Chapter 5).

Hence, fZ (α) = d dα

FZ (α) =

, 0 ≤ α ≤ 1 , 1 2 α^2

, 1 < α ≤ ∞, 0 , elsewhere.

Note that the pdf of Z − 1 is

fZ (α+1) =

, − 1 ≤ α ≤ 0 , 1 2(α + 1)^2

, 0 < α ≤ ∞, 0 , elsewhere.

which is the pdf found in Problem 1 of Problem

Set 10 (for the case I 0 = 1). (f) Given that Y = α, the conditional pdf fX |Y (u|α) is the cross-section of the pdf surface at v = α unitized to have area 1. Thus, for 0 < α < 1 /2, fX |Y (u|α) ∼ U [1/ 2 , 1], while if 1/ 2 < α < 1, fX |Y (u|α) ∼ U [0, 1].

(g) fX (u) =

0

fX |Y (u|α)fY (α) dα.

  • Let u denote a fixed number such that 0 < u < 1 /2. Then, for α such that 0 < α < 1 /2, we have that fX |Y (u|α) = 0 since the conditional pdf of X is U [1/ 2 , 1]. On the other hand, if 1/ 2 < α < 1, then fX |Y (u|α) = 1 since the conditional pdf of X is U [0, 1]. Also, fY (α) = 43 if 1/ 2 < α < 1. Hence, for u, 0 < u < 1 /2,

fX (u) =

0

fX |Y (u|α)fY (α) dα =

0

0 dα +

1 / 2

1 ×

dα =

  • Let u denote a fixed number such that 1/ 2 < u < 1. Then, for α such that 0 < α < 1 /2, we have that fX |Y (u|α) = 2 since the conditional pdf of X is U [1/ 2 , 1]. Note that fY (α) = 23. On the other hand, if 1/ 2 < α < 1, then fX |Y (u|α) = 1 since the conditional pdf of X is U [0, 1]. Also, fY (α) = 43 if 1/ 2 < α < 1. Hence, for

u, 1 / 2 < u < 1, fX (u) =

0

fX |Y (u|α)fY (α) dα =

0

2 ×

3 dα^ +

1 / 2

1 ×

3 dα^ =

This is the same answer as in part (a).