


Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Material Type: Assignment; Class: Probability with Engrg Applic; Subject: Electrical and Computer Engr; University: University of Illinois - Urbana-Champaign; Term: Fall 2001;
Typology: Assignments
1 / 4
This page cannot be seen from the preview
Don't miss anything!



1.(a) As is obvious from the figure, the chord is longer than the side of the inscribed equilateral triangle if 2π/3 < X < 4π/3. Hence, the desired probability is (4π/3–2π/3)/2π = 1/3 as in the second model in Ross. What is the geometrical relation between the two models? (b) Since the circle has radius 1, an arc of length θ subtends an angle θ at C. Also, the length of the chord joining the endpoints of the arc is 2 sin (θ/2). Hence, L = 2 sin( X /2). Note that as X increases from 0 to 2π, the chord length increases from 0 to 2 (at X = π), and then decreases to 0 (at X = 2π). For any x, 0 ≤ x ≤ 2, F L (x) = P{ L ≤ x} = P{2 sin( X /2) ≤ x} = 2P{0 ≤ X ≤ 2 arcsin(x/2)} (Why twice?) = 2(2 arcsin(x/2)/2π) = (2/π)arcsin(x/2).
Hence, f L (x) =
d dx
F L (x) =
π 1–(x/2)^2
0 ≤ x ≤ 2,
0, otherwise.
2.(a) Let 0 ≤ v ≤ 1. Then, F Y (v) = P{ Y ≤ v} = P{(1 – X )^2 ≤ v} = P{– v ≤ 1 – X ≤ v} = P{ X ≥ 1 – v}
= 1 – F X (1– v) = (1 – (1– v))^2 = v where we used the result that F X (u) = 1 – (1–u)^2.
Hence, F Y (v) =
v, 0 ≤ v ≤ 1, 1, v > 1.
(b) A sketch of the function F Y (v) reveals that it is a nondecreasing continuous function. It is not
differentiable at α = 0 or at β = 1.
3 ρ^3 dρ =
3 4 ;^ E[ V ] = E[4π R
4 πρ^5 dρ =
2 π 3 ;^ E[ A ] = E[4π R
12 πρ^4 dρ =
12 π 5
The average volume E[ V ] = E[4π R^3 /3] corresponds to a sphere of radius (1/2)1/3^ and the average surface area E[ A ] = E[4π R^2 ] to a sphere of radius (3/5)1/2. Note that E[ V ] = E[4π R^3 /3] ≠ 4 π(E[ R ])^3 /3, etc. This illustrates the general result that E[g( X )] hardly ever equals g(E[ X ]). You will save yourself a lot of grief if you keep this in mind: that E[g( X )] = g(E[ X ]) is a common misconception among the instochaste. Exercise: Find a function g(•) for which E[g( X )] does equal g(E[ X ]). (b) The volume V has values in the range (0, 4π/3). For any u, 0 < u < 4π/3, F V (u) = P{ V ≤ u}
= P{4π R^3 /3 ≤ u} = P{ R ≤
3 3u/4π } = F R (
3 3u/4π ) = 3u/4π since F R (ρ) = ρ^3 for 0 < ρ < 1. Hence, f V (u) is uniform on (0, 4π/3).
(c) Obviously, E[ V ] = midpoint of uniform pdf = 2π/3 as in part (a) (c) The electrical charge is uniformly distributed on the surface of the sphere. The surface charge density is
S = Q/4π R^2 > Q/4π. For x > Q/4π, F S (x) = P{ S ≤ x} = P{Q/4π R^2 ≤ x} = P{1 > R ≥ Q/4πx } = 1 – (Q/4πx)1.5. Hence, f S (x) = (3/2x)(Q/4πx)1.5^ for x > Q/4π, and 0 otherwise.
4.(a) Obviously P{ Y = α} = P{ Y = –α} = 1/2.
(b) (1.29–1) = 0.29. (1.29 –1)^2 = 0.0841. (π/4–1) = –0.214…, (π/4–1)^2 = 0.046….
(–π/4–(–1)) = –0.214…, (–π/4–(–1))^2 = 0.046…. Note that the error for + X is the same as that for – X.
0
∞
0
∞
0
∞ uƒ(u)du = 1+α^2 –4α/ 2 π on
expanding out the quadratics, changing variables, and using the fact that E[ X^2 ] = σ^2 + μ 2 = 1. Note that uf(u) is a perfect integral. It is easy to show that E[ Z ] has minimum value 1–2/π at α = 2/π (d) From tables of Φ(•), we get P{ W = –3} = P{ W = +3} = Φ(–2.5) = 0.0062, P{ W = 0} = Φ(0.5) – Φ(–0.5) = 0.3830, P{ W = –1} = P{ W = +1} = Φ(1.5) – Φ(0.5) = 0.2417, and P{ W = –2} = P{ W = +2} = Φ(2.5) – Φ(1.5) = 0.0606.
(d) Λ(u) = exp(–|u–1|)/exp(–|u+1|) =
exp(2u), –1 ≤ u ≤ 1, exp(–2), u < –1.
I told you those absolute-value signs were
tricky! Λ(u) = exp(±2) if u = ±1.2, ±1; Λ(u) increases from exp(–2) to exp(2) as u increases from –1 to 1.
hand, if (π 0 /π 1 ) > exp(2), then Λ(u), which has maximum value exp(2), can never exceed (π 0 /π 1 ) and the Bayesian decision is to always decide that H 0 is the true hypothesis. Similarly, if (π 0 /π 1 ) < exp(2), then Λ(u), which has minimum value exp(–2), can never be smaller than (π 0 /π 1 ) and the Bayesian decision is to always decide that H 1 is the true hypothesis.
θ
∞
θ
∞
θ
∞ exp(–u)du = (1/2)•exp(–1–θ) = 1/(2 2e).
θ
θ
θ exp(u)du = (1/2)•exp(–1+θ)
= 1/( 2e) = 2PFA. Finally, the average error probability is π 0 PFA + π 1 PMD = 2/3e. More generally, the average error probability is π 0 π 1 exp(–1) which has maximum value (1/2))exp(–1) if π 0 = π 1 = 1/2. Of course, all the above applies only if exp(–2) < (π 0 /π 1 ) < exp(2).
(g) The decision rule that always chooses H 0 makes an error precisely in those instances when H 1 is the true
hypothesis. Hence its average error probability is just π 1 , the probability that H 1 is the true hypothesis.
(h) If π 0 > exp(2)/[exp(2)+1], then π 1 = 1 – π 0 < 1/[exp(2)+1], and thus (π 0 /π 1 ) > exp(2). It follows that the
likelihood ratio, which has maximum value exp(2) can never exceed π 0 /π 1 and hence the Bayesian decision rule is to always decide that H 0 is the true hypothesis. The error probability is thus π 1 < 1/[exp(2)+1].
i
7.(a) No, the unconditional pdf of X is given by [(a 2 π)–1^ exp(–u^2 /2a^2 ) + (b 2 π)–1^ exp(–u^2 /2b^2 )]/2, which is not a Gaussian pdf.
(b) Λ(u) =
f 1 (u) f 0 (u)
(a 2 π)exp(–u^2 /2b^2 ) (b 2 π)exp(–u^2 /2a^2 )
a b
•exp
–u^2
b^2
a^2
(c) Suppose that the observation X has value u. The maximum-likelihood decision rule says that H 1 is chosen
as the true hypothesis if Λ(u) > 1 and H 0 is chosen if Λ(u) < 1. Thus, H 1 is chosen if ln(a/b) – (u^2 /2)(b–2^ – a–2^ ) > 0. This is equivalent to the statement that the rule chooses H 1 whenever the observation X is such that
| X | > ab
ln b^2 – l n a 2 b^2 – a 2
= c.
Note that f 0 (0) = 1/(a 2 π) > 1/(b 2 π) = f 1 (0) and the two pdf curves cross each other at ±c. P(false alarm) = P{| X | > c |H 0 is true) = 2Q(c/a). P(missed detection) = P{| X | < c |H 1 is true) = 1 – 2Q(c/b).