


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!



University of Illinois Spring 2007 ECE 413: Solutions to Problem Set 12
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.
0
2 x•x/2dx = 4/3.
4.(a) The pdf is nonzero in the shaded region shown.
u
v
v=u
v=∞ 2 exp (–u–v) dv = 2•exp(–2u) if u > 0, and 0 otherwise.
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).
u=
v=3u
v=∞
u=
2exp(–4u)du = 1/2.
u=
α/
v=u
v=α–u
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
(b) The length of a chord at distance r from the center is 2
1 − r^2. Hence, L = 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
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.
π 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.
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 (α, β) =
∂α ∂β
FW,Z (α, β) =
fX ,Y (α, β) + fX ,Y (β, α), if α > β, 0 , if α < β.
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
α 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α.
fX (u) =
0
fX |Y (u|α)fY (α) dα =
0
0 dα +
1 / 2
dα =
u, 1 / 2 < u < 1, fX (u) =
0
fX |Y (u|α)fY (α) dα =
0
3 dα^ +
1 / 2
3 dα^ =
This is the same answer as in part (a).