Professional Documents
Culture Documents
18 05 Lec2
18 05 Lec2
05 Lecture 2
February 4, 2005
5. P(Ac ) = 1 P(A)
Example: A doctor knows that P(bacterial infection) = 0.7 and P(viral infection) = 0.4
P(both) = P(B V)
P(BV) = 0.1
pi 0,
pi = 1
i=1
P(A) =
P(s)
sA
s1 ...sn outcomes
k n (k chosen from n)
Example: order the numbers 1, 2, and 3 in groups of 2. (1, 2) and (2, 1) are dierent.
P3,2 = 3 2 = 6
Pn,k =
n!
(n k)!
what is the probability that 2 people will have the same birthday?
Assume n = 365 and that birthdays are equally distributed throughout the year, no twins, etc.
# where at least 2 are the same = #(S) #(all are dierent) = 365k P365,k
P365,k
365k
k=0
xk y nk
There are
n
k
a+b
a+b
=
a
b
Example: r1 + ... + rk = n; ri = number of balls in each box; n, k given
Fix the outer walls, rearrange the balls and the separators.
If you x the outer walls of the rst and last boxes,
you can rearrange the separators and the balls using the binomial theorem.
n+k1
n+k1
=
n
k1
Example: f (x1 , x2 , ..., xk ), take n partial derivatives:
nf
2 x1 x2 5 x3 ...xk
k boxes k coordinates
n+k1
What is the probability that all 5 cards have dierent face values?
** End of Lecture 2.