Lessons and exercises follow the school system and stay in its language.Les leçons et les exercices suivent le système scolaire et restent dans sa langue.Lektionen und Übungen folgen dem Schulsystem und bleiben in seiner Sprache.
Your turn: P(A and B) = 0.1, P(B) = 0.4. Find P(A | B).
0.25
0.1 ÷ 0.4.
Practice ★
P(A) = 0.60, P(B) = 0.22 and P(A and B) = 0.5. Find P(A | B).
P(A) = 0.55, P(B) = 0.33 and P(A and B) = 0.13. Find P(A | B).
A screening test was given to 316 people: 47 had the disease and tested positive, 8 had the disease and tested negative, 34 did not have it and tested positive, 227 did not have it and tested negative. Find P(disease | positive).
A screening test was given to 256 people: 33 had the disease and tested positive, 7 had the disease and tested negative, 21 did not have it and tested positive, 195 did not have it and tested negative. Find P(disease | positive).
Watch out!
Practice ★★
A test detects a disease in 87% of people who have it. Which statement says the same thing?
P(positive | disease) = 0.87
P(disease | positive) = 0.87
P(disease and positive) = 0.87
Exit ticket
Three questions to check you have got it.
A screening test was given to 316 people: 47 had the disease and tested positive, 8 had the disease and tested negative, 34 did not have it and tested positive, 227 did not have it and tested negative. Find P(disease | positive).
A screening test was given to 256 people: 33 had the disease and tested positive, 7 had the disease and tested negative, 21 did not have it and tested positive, 195 did not have it and tested negative. Find P(disease | positive).
A screening test was given to 239 people: 57 had the disease and tested positive, 3 had the disease and tested negative, 29 did not have it and tested positive, 150 did not have it and tested negative. Find P(disease | positive).
Summary card
Conditional probability
P(A∣B)=P(A and B)/P(B).
Watch out: P(A∣B) and P(B∣A) are different.
One more step is optional: a challenge. Try it, or finish the lesson now.
Challenge ★★★
P(A)=0.5, P(B∣A)=0.8 and P(B)=0.6. Find P(A∣B).
3. Independence and the multiplication rule
Warm-up
Three quick questions from earlier lessons.
A screening test was given to 316 people: 47 had the disease and tested positive, 8 had the disease and tested negative, 34 did not have it and tested positive, 227 did not have it and tested negative. Find P(disease | positive).
P(A) = 0.60, P(B) = 0.22 and P(A and B) = 0.5. Find P(A | B).
A test detects a disease in 87% of people who have it. Which statement says the same thing?
P(positive | disease) = 0.87
P(disease | positive) = 0.87
P(disease and positive) = 0.87
Discover
A card is drawn from a deck. Does knowing it is a heart change the probability that it is a king?
No
Yes
Key idea
Independent events do not influence each other.
A and B are independent if P(A∣B)=P(A), equivalently P(A and B)=P(A)P(B). In general P(A and B)=P(A)P(B∣A). Draws without replacement are dependent.
Worked example
Two cards drawn without replacement: P(both aces).
P(ace)=524
First draw.
P(ace∣ace)=513
3 aces left of 51.
524⋅513=2211
Multiply.
Your turn, guided
Your turn: two independent events with probabilities 0.5 and 0.3. P(both).
0.15
0.5 × 0.3.
Practice ★
Two independent machines fail with probabilities 0.2 and 0.2. Find the probability that both fail.
Two independent machines fail with probabilities 0.9 and 0.2. Find the probability that both fail.
P(A) = 3/10, P(B) = 6/10 and P(A and B) = 18/100. Are A and B independent?
Yes: P(A and B) = P(A)·P(B)
No, because P(A and B) > 0
It cannot be decided
Watch out!
Practice ★★
A bag has 3 red and 3 blue marbles. Two are drawn without replacement. Find P(both red).
A bag has 16 red and 19 blue marbles. Two are drawn without replacement. Find P(both red).
Exit ticket
Three questions to check you have got it.
Two independent machines fail with probabilities 0.2 and 0.2. Find the probability that both fail.
Two independent machines fail with probabilities 0.9 and 0.2. Find the probability that both fail.
Two independent machines fail with probabilities 0.5 and 0.5. Find the probability that both fail.
Summary card
Independence
Independent: P(A and B)=P(A)P(B).
In general: P(A)P(B∣A).
Watch out: without replacement, update the second probability.
One more step is optional: a challenge. Try it, or finish the lesson now.
Challenge ★★★
Three independent machines each fail with probability 0.2. Find the probability that at least one fails.
4. Permutations and combinations in probability
Warm-up
Three quick questions from earlier lessons.
Two fair dice are rolled. Find the probability that the sum is 2.
A fair die is rolled 2 times. Find the probability of at least one six.
The probability that a flight is late is 0.78. Find the probability that it is not late.
Discover
In how many orders can 3 books stand on a shelf?
6
3
Key idea
Count ordered choices; divide when order does not matter.
Choosing r things from nin order (a permutation): nPr=n(n−1)⋯(n−r+1). Choosing r things without order (a combination): nCr=r!nPr, because each group was counted r! times. With equally likely outcomes, a probability is (favorable count) ÷ (total count).
Worked example
Choose 2 of 5 students: as president and treasurer, or as a pair.
5⋅4=20
In order.
20÷2!=10
As a pair.
Your turn, guided
Your turn: choose 2 of 6 for a committee.
15
6 · 5 ÷ 2.
Practice ★
5 runners are in a race. In how many ways can the gold, silver and bronze medals be awarded?
15 runners are in a race. In how many ways can the gold, silver and bronze medals be awarded?
Which question is answered by counting arrangements where order matters (a permutation)?
In how many ways can 5 students stand in a line for a photo?
In how many ways can 2 of the 5 students be chosen for a committee?
How many handshakes happen if each of 5 students shakes hands once with every other?
Watch out!
Practice ★★
In how many ways can a team of 3 students be chosen from 6 students?
In how many ways can a team of 3 students be chosen from 15 students?
Two students are chosen at random from a class of 4 to go on a trip. What is the probability that both Ana and Ben are chosen?
Exit ticket
Three questions to check you have got it.
5 runners are in a race. In how many ways can the gold, silver and bronze medals be awarded?
15 runners are in a race. In how many ways can the gold, silver and bronze medals be awarded?
6 runners are in a race. In how many ways can the gold, silver and bronze medals be awarded?
Summary card
Permutations and combinations
Order matters: nPr. Order does not: nCr = nPr ÷ r!.
Watch out: ask whether swapping two choices changes the result.
One more step is optional: a challenge. Try it, or finish the lesson now.
Challenge ★★★
A team of 3 is chosen from 15 students. How many teams include Ana?
Answers: Probability
1. The addition rule and mutually exclusive events
A
361
3611
0.22
B
3522
1711
3523
C
0
D
0.3
E
3522
1711
3523
F
103
2. Conditional probability
A
3522
0
0.3
B
225
3313
C
8147
1811
D
P(positive | disease) = 0.87
E
8147
1811
8657
F
32
3. Independence and the multiplication rule
A
8147
225
P(positive | disease) = 0.87
B
0.04
0.18
C
Yes: P(A and B) = P(A)·P(B)
D
0.2
11924
E
0.04
0.18
0.25
F
0.488
4. Permutations and combinations in probability
A
361
3611
0.22
B
60
2730
C
In how many ways can 5 students stand in a line for a photo?