18.05 Lecture 2 February 4, 2005
18.05 Lecture 2 February 4, 2005
05 Lecture 2
February 4, 2005
5. P(Ac ) = 1 − P(A)
6. If A √ B, P(A) ← P(B)
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
4
n
�
pi ∼ 0, pi = 1
i=1
�
P(A) = P(s)
s∞A
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 different.
P3,2 = 3 × 2 = 6
n!
Pn,k =
(n − k)!
Example: Order 6 books on a shelf = 6! permutations.
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 different) = 365k − P365,k
P365,k
P(at least 2 have the same birthday) = 1 −
365k
Binomial Theorem:
n � �
� n
(x + y)n = xk y n−k
k
k=0
5
� n�
There are k times that each term will show up in the expansion.
� � � �
a+b a+b
=
a b
Fix the outer walls, rearrange the balls and the separators.
you can rearrange the separators and the balls using the binomial theorem.
� � � �
n+k−1 n+k−1
=
n k−1
What is the probability that �all �5 cards have different face values?
** End of Lecture 2.