Académique Documents
Professionnel Documents
Culture Documents
Practice Final
Last Name:
First Name:
Student ID:
Instructions
The exam is closed book but you can use three pages of notes written on both
sides. No computers, calculators, or cell phones are allowed during the exam.
In multiple choice problems, a wrong answer counts the negative of the score of
the correct answer divided by the total number of wrong answers. This ensures
that if you check boxes randomly, the expected score is zero. If you do not
check any box or if you check more than one box, the score is zero.
The total is the sum of the scores of the seven problems. If your total is negative,
it will be recorded as zero.
2 0.3
2 0.5
2 0.7
2 other
2 0.3
2 0.5
2 0.7
2 other
P [Y + 2 > 0] = P [Y > 2] =
pY (y)dy =
1
dy = 0.7.
10
The polynomial has real roots if and only if the discriminant of the polynomial,
4Y 2 4(Y + 2), is nonnegative. This is the case if and only if Y 2 Y 2 0, i.e.,
(Y + 1)(Y 2) 0. This inequality holds if and only if Y 1 or Y 2. Hence,
the polynomial has real roots with probability
P [real roots] =
pY (y)dy +
Z 1
pY (y)dy
5 1
1
dy +
dy
2 10
5 10
= 0.4 + 0.3 = 0.7.
Solution
1.
1/2 1/2 0
P = 1/2 0 1/2 .
0
0
1
Bar 6
Liquor
Store Home
2. Let B be the number of bottles the man buys from the liquor store. Whenever
the man passes by the store, there is a probability 1/2 of success defined here
as reaching his home without passing by the store again. The number of trials
for the first success is Geometric(0.5) and the probability that the man reaches
home exactly after k trials is (0.5)k1(0.5) = (0.5)k . In each of these k trials he
buys a bottle. Hence, the PMF of B is P [B = k] = (0.5)k for k 1.
3. Let MBH be the number of miles for the man to reach home from the bar. Let
MLH be the number of miles for the man to reach home from the liquor store.
If the man is at the bar, then with probability 0.5 he will be back at the bar
after driving 4 miles and with probability 0.5 he will be at the liquor store after
driving 1 mile. Thus,
E[MBH ] = 0.5(E[MBH ] + 4) + 0.5(E[MLH ] + 1).
On the other hand, if the man is at the liquor store, then with probability 0.5
he will be back at the bar after driving 3 miles and with probability 0.5 he will
reach his home after driving one mile. Thus,
E[MLH ] = 0.5(E[MBH ] + 3) + 0.5 1.
Solving these two equations, we find that E[MBH ] = 14. Hence, on average the
man drives 14 miles to reach home from the bar.
2
x
x x+y
(x + y)
x
x
y x+y
(x + y)
y
y
(x+y)2
x
(x+y)
2
1
1
.
x+y
pX,Y (x, y)
= (x + y) 2e2x 2e2y
= 4ve2v ,
=
x=uv,y=(1u)v
|J(x, y)| x=uv,y=(1u)v
4ve2v dv = 2ve2v +
0
2e2v dv = 1,
1
0
4ve2v du = 4ve2v ,
for v 0 and zero otherwise. Since pU,V (u, v) = pU (u)pV (v) for all u and v, the
random variables U and V are independent.
Problem 4 Alice and Bob decide to meet between 12 noon and 1 pm. However,
they agree that each of them will wait only 15 minutes for the other. The arrival
times of Alice and Bob are independent and uniformly distributed between 12 noon
and 1 pm.
1. Find the probability that they meet if Bob arrives at 12:10 pm.
2. Find the probability that they meet.
Solution
1. Let M denote the event that Alice and Bob meet, and X and Y denote the
arrival times of Alice and Bob respectively. We want to compute P [M|X = 12 :
10]. Notice that if Bob arrives at 12:10, then they meet if Alice arrives between
12:00 and 12:25. Hence,
P [M|X = 12 : 10] =
12:25
12:00
1
25
5
dy =
= .
60
60
12
1:00 pm
12:15 pm
12:00 pm
12:15 pm
1:00 pm
2. Alice and Bob meet if their arrival times fall between the two lines with slope
1 in the box. This happens with probability
1
1
2
= .
60 60
2
16
P [M]=1
400
= 0.64.
(25)2
"
S100 n
225 100 2
175 100 2
225] = P
2
100 4
100 4
n
"
#
S100 n
= P 1.25
1.25
n 2
(1.25) (1.25).
If tables for (x) are available, then it can be shown that (1.25)(1.25) = 0.89440.1056 =
0.7888.
2
+ cos(t2 t1 )|0
E[A ]
=
2
2
0
1
E[A2 ] cos(t2 t1 ).
=
2
Since A is Poisson(3), E[A] = 3 and VAR[A] = 3. Hence,
E[A2 ] = VAR[A] + (E[A])2 = 3 + 32 = 12.
We conclude that RX (t1 , t2 ) = 6 cos(t2 t1 ).
2. The random process X(t) is not WSS even though its autocorrelation function
RX (t1 , t2 ) depends only on the difference t2 t1 since its mean
1
cos(t + )d
0
3
6
3
sin(t + )|0 = (sin(t + ) sin(t)) = sin(t)
=
depends on t.
Problem 7 The white noise X(t) with power spectral density SX (f ) = 5 is the input
to an LTI system with frequency response H(f ) as shown. Sketch the power spectral
density of the output process Y (t) and find its power.
H(f )
@
@
@
@
@
10
10
SY (f )df = 800.
SX (f )
80
@
@
@
@
@
10
10