Professional Documents
Culture Documents
Midterm Solutions
Midterm Solutions
May 9, 2014
Solution
1. Ten people choose a number between 1 and 10, independently and at random. What is the
probability that, in a group of three people, two or more have chosen the same number?
Nv~b~V"' of
VlVJ+\
b~v-
J IT
f.ll.,. so yr
Kl(
f1.4V't;CI,
p..ev--':ltJV1
.s I() ckou:.q c,
-;
P(i-wtJ
or m~ w>
f JJ1:1'fl,e
:: ' - PC rh
::.. I -
lrJ 0
V'..et.
7:2
LrJO
f.Sofl.e ciA() 0~
- :2 B_
0 2 B
lOO
=0 2
( 2. fJ Jd)
d, {f-~~"''~1)111~~~)
o
0
Solution
2. A fair coin (Prob. Heads = Y2) is tossed two times. Consider the events
A. The second toss is heads.
B. There is one head and one tail.
C. The first toss is tails.
( i) Are A and B independent?
5~
{HH
T H TT
~r
A() 9 =
s~frrwl
A= { Hl-1 TH1
P(A) =
C=fTH rTJ
-i: PC 8) = t p(C)::
lTH1 AflC =f TH-1
PlJ'flS) =
t:: PlA)P[9)
p( snc) :
=:
~~~t
PCA) p(c) I .C tkp..llMJ,.1-
PCB)
"rkfJltAth-tl t-
P(c)
All8flC : fTH}
p(M 8 fiC)
= ;j;- f
( i) A and B independel}t?
( ii) A and C independent?
(iii) B and C independent?
(iv) A, B, and C independent?
PlA)Pl8) P(c) =
~
Yes
"""t- ,.q;l.p.e..J#,t
No
No
~
-- --- __ j
Solution
3. In an introductory probability course 80% of the students passed the course. Of the students
who passed the course, 1% failed the midterm. Of the students who failed the course, 36%
failed the midterm. Determine the probability that a student who failed the midterm passed
the course.
s.
PCftH ..~co~SR)
p[f 0 , l.e \lUI t~~N~)
P( far l~J
Wl.l a:t.Q
p ( ( o.d..fll
tMta't-ev-wr
=0. 2.0
CdiJ liSP
= o .o J ~' o, so 1- o. 3~ x o.2o
;: 0.
oe
80
( I0
?o )
L ________________
xo.ot
Solution
4. A student visits an instructor's office to ask a question. If the instructor is not in, the student
leaves and returns at a later time. This continues in a sequence of independent visits until the
instructor is contacted. The instructor is not in his office 80% of the time. Denote by N the
number of visits required to contact the instructor. Obtain an expression for the probability
that it takes N = n visits to contact the instructor and evaluate the average (expected) number
of visits needed to contact the instructor.
:: fr-ob.
-...
{- ~
P( N:: V\)
=%
~-'
J V\
=-
lJ1
1) 2, . ~ - .
E[N] =
=a, e
!:J-
tca.9)
VJ
= 0' 2