

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 2005
2 ), and y(0) =
∞
−∞
Y (f ) df =
1
− 1
exp(−πf
2 ) df. But, the
integrand is the Gaussian pdf N (0, (2π)
− 1 ). Hence, y(0) = Φ(
2 π)−Φ(−
2 π) = 2Φ(
2 π)− 1 ≈ 0. 9826
probability that the random chord is longer than the side of the inscribed equilateral triangle is
P { 2 π/ 3 < X < 4 π/ 3 } =
1 3
x A B
D
A B
D
C
(b) Since the circle has radius 1, an arc of length X subtends angle X at the center of the circle.
Furthermore, the length L of the chord is 2 sin(X /2), increasing from 0 when X = 0 to 2 when
X = π and decreasing back to 0 at X = 2π. For any x, 0 < x < 2,
FL(x) = P {L ≤ x} = P {2 sin(X /2) ≤ x} = 2 · P { 0 ≤ X ≤ 2 arcsin(x/2)} =
π
arcsin
x
. Hence,
fL(x) =
d
dx
FL(x) =
1
π
1 −(x/2)^2
, 0 ≤ x ≤ 2 ,
0 , otherwise.
.
3 from 0 to T is T
4 /4. Thus, F (t) = 1 − exp(−t
4 /4).
(a) P {X > 2 } = exp(− 16 /4) = exp(−4).
(b) P { 0. 4 < X < 1. 4 } = exp(− 0. 0256 /4) − exp(−(1.4)
4 /4).
(c) P {X > 2 |X > 1 } = P {X > 2 }/P {X > 1 } = exp(−4)/ exp(− 1 /4) = exp(− 3 .75).
its pdf is λ exp(−λt) for t > 0.
(a) Hence, P {X ≤ T } =
0
λ exp(−λt) dt = 1 − exp(−λT ) =
λT
(λT ) 2
(b) P (A) = P {N (0, T ] = 1} =
λT
exp(−λT ) = λT exp(−λT ).
(c) P (A) in part (b) is not the same as P {X ≤ T } from part (a). In fact, A ⊂ {X ≤ T } since the
latter event includes the possibility that the second arrival also occurred during (0, T ].
(d) For 0 < t < T ,
P ({X ≤ t} | A) =
P ({X ≤ t} ∩ A)
P ({N (0, t] = 1} ∩ {N (t, T ] = 0})
P {N (0, t] = 1} × P {N (t, T ] = 0}
by independence of disjoint intervals
(λt) exp(−λt) × exp(−λ(T − t))
λT exp(−λT )
t
Thus, the conditional pdf of the first arrival time X given that there was exactly one arrival in
(0, T ] is a uniform pdf on (0, T ]!!
(a) The number of arrivals in (0, 4] is N (0, 4], a Poisson random variable with parameter 4λ. Hence,
E[N (0, 4]] = 4λ.
(b) The event {N (0, 3] = 3} ∩ {N (2, 6] = 0} is exactly the same as {N (0, 2] = 3} ∩ {N (2, 6] = 0} and
thus P [{N (0, 3] = 3} ∩ {N (2, 6] = 0}] = P [{N (0, 2] = 3} ∩ {N (2, 6] = 0}]. We get
(2λ)
3
exp(− 2 λ) × exp(− 4 λ) =
4 λ
3
exp(− 6 λ)
by independence of Poisson variables on disjoint intervals of time.
(c) The number of arrivals in (0, 6] is N (0, 6], a Poisson random variable with parameter 6λ. If it is
observed that N (0, 6] = k, then the maximum-likelihood estimate of the Poisson parameter 6λ is
k (cf. Problem 3(c) of Problem Set 4), and hence the maximum-likelihood estimate of the arrival
rate is k/6 = # of arrivals/length of interval which is exactly what one would expect.
(d) P {N (0, t) ≥ 1 } = 1 − P {N (0, t) = 0} = 1 − exp(−λt) = 1 − 2
−t when λ = ln 2.
5
10 f 1 (u)
f 0 (u)
(b) Λ(u) =
f 1 (u)
f 0 (u)
10 · exp(− 10 u)
5 · exp(− 5 u)
= 2 · exp(− 5 u)
which has value 2 at u = 0 and decays away to 0 as u → ∞. Note that Λ(u) > 1 for u < 0 .2 ln 2.
Thus, the likelihood ratio test is equivalent to deciding in favor of H 1 if the observed value of X
is smaller than the threshold 0.2 ln 2. Equivalently, Γ 1 = (0, 0 .2 ln 2), Γ 0 = (0.2 ln 2, ∞).
(c) PFA =
Γ 1
f 0 (u) du =
0 .5 ln 2
0
5 · exp(− 5 u) du = − exp(− 5 u)
0 .2 ln 2
0
Γ 0
f 1 (u) du =
∞
0 .5 ln 2
10 · exp(− 10 u) du = − exp(− 10 u)
∞
0 .2 ln 2
= 0−(− exp(−2 ln 2)) =
(d) Λ(u) = 2·exp(− 5 u) >
π 0
π 1
for u < 0 .2 ln
2 π 1
π 0
= 0.2 ln 2 +0.2 ln
π 1
π 0
= ξ. Thus, the minimum-
error-probability decision rule is equivalent to deciding in favor of H 1 if the observed value of X
is smaller than ξ. Note that ξ < 0 if π 0 > 2 π 1 , that is, if π 0 > 2 /3..
(e) If π 0 = 1/3, then ξ = 0.2 ln 4. Hence,
∫ (^0) .2 ln 4i
0
5 · exp(− 5 u) du = − exp(− 5 u)
0 .2 ln 4i
0
0 .2 ln 4i
10 · exp(− 10 u) du = − exp(− 10 u)
∞
ξ
= 0 − (− exp(−2 ln 4i)) =
The average error probability thus is
Pe =
. Note that since π 0 < π 1 , the
Bayesian decision rule allows PFA to increase in return for a decrease in PMD because the latter is
weighted more heavily.
(f) If the decision rule always decides H 1 is the true hypothesis it makes errors if and only if H 0 is
the true hypothesis. Hence,
Pe = π 0.
(g) When π 0 > 2 /3, the threshold ξ is less than 0. Since X takes on nonnegative values, it is always
larger than the threshold, and hence the decision is always H 0. The average error probability is
π 1 , and since this is the minimum-error-probability rule, we cannot do any better than this. Note
that π 1 < 1 /3.
When π 0 > 2 /3, it follows that π 0 > 2 π 1. The average probability of error for the maximum-
likelihood rule is π 0 · (1/2) + π 1 · (1/4) > 2 π 1 · (1/2) + π 1 · (1/3) = 1. 25 π 1.