Chapter 1
Chapter 1
Example. Let each of 10 persons taste a cup of instant coffee and a cup of percolated
coffee. Record how many people prefer the instant coffee.
• S = {0, 1, 2, · · · , 10}
Example. Administer an antibiotic to patients suffering from a viral infection until one has
an adverse reaction.
• Union: A ∪ B = {x : x ∈ A or x ∈ B}
1
• Complement: A0 = {x : x 6∈ A}.
Properties.
• Commutative Laws:
A ∪ B = B ∪ A, A ∩ B = B ∩ A.
• Associative Laws:
A ∪ (B ∪ C) = (A ∪ B) ∪ C, A ∩ (B ∩ C) = (A ∩ B) ∩ C.
• Distributive Laws:
A ∩ (B ∪ C) = (A ∩ B) ∪ (A ∩ C), A ∪ (B ∩ C) = (A ∪ B) ∩ (A ∪ C)
• De Morgan’s Laws:
(A ∪ B)0 = A0 ∩ B 0 , (A ∩ B)0 = A0 ∪ B 0
2
Note that everything below follows from this definition of probability.
Theorem.
• P (A0 ) = 1 − P (A).
Permutations. The number of different orderings or arrangements that can be formed with
r objects selected from a group of n distinct objects (1 ≤ r ≤ n) is denoted by n Pr , and
can be computed by the multiplication principle as
n!
n Pr = n(n − 1)(n − 2) · · · (n − r + 1) = .
(n − r)!
This is the same as the number of ways to sample r from n distinct objects without
replacement, when the order matters. (By convention, n P0 = 1.)
n Pr n!
n Cr = = .
r! r!(n − r)!
3
Example. There are 15 people competing in a bicycle race. In how many ways can the
first, second, and third prizes be awarded to persons participating in the race? (Answer:
15 × 14 × 13)
Example. An urn contains 12 articles, 8 of which are good (marked G1 , G2 , · · · , G8 ), and
4 of which are defective (marked D1 , D2 , D3 , D4 ). Suppose that 3 articles are to be drawn
from the urn one after another without replacement, and the results of the individual draws
are to be recorded.
• Keeping track of the order of selections, how many ordered samples are possible?
(Answer: 12 × 11 × 10)
• How many ordered samples are possible under the condition that the first two draws
produce defective articles and the third yields a good piece? (Answer: 4 × 3 × 8)
• If the articles are draw at random, what is the probability of obtaining defectives in
4×3×8
the first two draws and a good piece in the third draw? (Answer: 12×11×10 )
P (A ∩ B) = P (A|B)P (B).
P (A ∩ B) = P (A) × P (B).
4
Equivalently, if A and B are independent and P (B) > 0, then we have
P (A|B) = P (A),
that is, information about the occurrence of B has no bearing on the assessment of the
probability of A.
Definition. We say three events A, B and C are mutually independent if
and
P (A ∩ B ∩ C) = P (A)P (B)P (C).
Fact. If A and B are independent, then A and B 0 are also independent.
Example. Two doctors (A and B) test all patients for the same disease. Doctor A diagnoses
10% of the patients as positive. Doctor B diagnoses 17% of the patients as positive. Both
doctors diagnose 8% of the patients as positive.
• Are the events
A = {Dr. A makes a positive diagnosis}
and
B = {Dr. B makes a positive diagnosis}
independent? (Answer: No.)
• What is the probability that Dr. A gives a positive diagnosis given Dr. B has given
8%
a positive diagnosis? (Answer: 17% )
In general, let B1 , B2 , . . . , Bn be a partition of the sample space such that P (Bi ) > 0 for
all i, and let A be any event, then
n
X
P (A) = P (A|Bi )P (Bi )
i=1
Example. The rate of diabetes among Caucasians is 7%, among African-Americans is 10%,
Hispanics 12% and Asian-Americans is 5% The ethnic distribution in an American town
5
is 30% Caucasian, 25% African-American, 40% Hispanic and 5% Asian-American. What
is the rate of diabetes among the population of the American town?
(Answer: 7% × 30% + 10% × 25% + 12% × 40% + 5% × 5%)
P (A|B)P (B)
P (B|A) = .
P (A|B)P (B) + P (A|B 0 )P (B 0 )
In general, let B1 , B2 , · · · , Bn be a partition of the sample space such that P (Bi ) > 0 for
all i, and let A be any event, then
P (A|Bi )P (Bi )
P (Bi |A) = Pn
j=1 P (A|Bj )P (Bj )
Example. 84% of people with high blood pressure are diagnosed as having high blood
pressure by a machine. 23% of people with normal blood pressure are diagnosed as having
high blood pressure by a machine. 20% of people in the general population have high blood
pressure. Compute P (B|A),where
Example (The game show problem). (This is more challenging and is optional material.)
https://www.youtube.com/watch?v=XXcv3RHuROU
• Define events
A = {The car is behind door 1},
B = {The car is behind door 2},
C = {The car is behind door 3},
W = {The game host opens door 3}.