A conditional probability is the probability of once you know has happened, so you restrict attention to : . Multiplying along the branches of a tree handles chance in stages, and two events are independent when knowing one does not change the probability of the other.
Quick check
For two events, , and . What is ?Show answerHide answer
, by the general addition rule from the note on Probability Rules.
In a hypothetical class, 12 of the 30 students are seniors, and 3 of those seniors walk to school. What proportion of the seniors walk?Show answerHide answer
. Looking only at the seniors is exactly what a conditional probability does.
Know these already? Jump to the practice questions
What you'll be able to do
- Calculate a conditional probability from a two-way table or with the formula.
- Calculate probabilities for multi-stage processes with the multiplication rule and a tree diagram.
- Determine whether two events are independent, and justify it with probabilities.
- Calculate the probability of at least one success by using the complement.
Key terms
Conditional probability
is the probability that happens given that has happened.
- In plain English
- Only look at the cases where is true.
- Don't write
- " is the same as "; they usually differ.
Independent events
and are independent if knowing whether one happens does not change the probability of the other: .
- In plain English
- One tells you nothing about the other.
- Don't write
- "independent means mutually exclusive"; mutually exclusive events with nonzero probabilities are always dependent.
Tree diagram
A diagram that shows each stage of a chance process as branches labeled with probabilities, where later branches are conditional on earlier ones.
- In plain English
- A map of every path the process can take.
- Don't write
- "the second-stage branches are always the same"; they change when stages depend on each other.
What does "given" do to a probability?
On the formula sheet:
"Given " shrinks the sample space to . In a two-way table, use only the row or column for .
In a hypothetical group of 300 adults, 120 exercise regularly, and 84 of those sleep at least 7 hours. So
The formula gives the same result: .
Key idea
The event after the bar is the condition: its total goes in the denominator.
Check yourself
Show answerHide answer
.
How do you multiply along a tree?
Learn this (the formula sheet's conditional formula, rearranged): the general multiplication rule
A tree diagram applies it stage by stage:
- Draw the first-stage branches with their probabilities.
- From each, draw the second-stage branches with probabilities conditional on that first branch.
- Multiply along a path to get the probability of that whole path.
- Add the paths that make up the event you want.
To reverse a condition, such as finding the probability of a first-stage outcome given what happened second, divide that path's probability by the total probability of the second-stage outcome. Worked example 2 does this.
Check yourself
Show answerHide answer
.
How do you check independence?
Compare with . If they are equal, knowing changes nothing and the events are independent. If they differ, the events are dependent.
In the exercise example, 180 of the 300 adults sleep at least 7 hours, so . But . Since , sleep and exercise are not independent in this group.
For independent events the multiplication rule simplifies to (Learn this), and that equation is an equivalent test.
Examiner's eye
Marks go to independence answers that quote two probabilities, such as and , and compare them. "They don't affect each other" earns nothing.
Check yourself
Show answerHide answer
Yes. .
How do you find the probability of at least one?
"At least one" covers many cases, but its complement is a single case: none.
For independent trials that each succeed with probability , . Three hypothetical smoke alarms each work with probability 0.9, independently, so .
Check yourself
Show answerHide answer
.
Worked example 1: Conditional probability from a table
Question: A hypothetical school surveys 400 students.
| Plays an instrument | Does not | Total | |
|---|---|---|---|
| Grade 9 | 45 | 105 | 150 |
| Grade 12 | 55 | 195 | 250 |
| Total | 100 | 300 | 400 |
Find (a) and (b) . (c) Are "plays an instrument" and "grade 9" independent?
What tells you the method
"given" (the bar), and a table of counts.
Step 1: Restrict to grade 9.
.
WhyThe condition is grade 9, so its row total is the denominator.
Step 2: Restrict to instrument players.
.
WhyNow the condition is playing an instrument, so its column total is the denominator.
Step 3: Compare with the overall probability.
, but .
WhyIndependence needs these to be equal.
Check it
(a) and (b) share the numerator 45 but have different denominators, which is why they differ.
Answer
(a) (b) (c) Not independent, because .
Worked example 2: A tree, then a reversed condition
Question: In a hypothetical factory, machine A makes 60 percent of the parts and machine B the rest. Of machine A's parts, 3 percent are defective; of machine B's, 5 percent. A part is chosen at random. (a) Find the probability that it is defective. (b) Given that it is defective, find the probability that machine A made it.
What tells you the method
Two stages (machine, then defective or not) with conditional percentages, and a "given" that reverses the order.
Step 1: Draw the tree.
First stage: A 0.6, B 0.4. Second stage: defective 0.03 after A and 0.05 after B, as in the tree diagram for parts from machines A and B.
WhyThe defect rates are conditional on the machine.
Step 2: Multiply along the defective paths and add.
and , so .
WhyA defective part comes from one of two paths.
Step 3: Reverse the condition.
.
WhyRestrict to the defective parts, then ask what share came through machine A.
Check it
, and .
Answer
(a) (b)
Your turn
Question: A hypothetical bag holds 5 red and 3 blue counters. Two are drawn at random without replacement. Find the probability that both are the same color.
Step 1:
First draw: and .
Step 2:
Red then red: , because one red counter is gone for the second draw.
Step 3: Your go: find blue then blue, and add the two paths.
Show the full solutionHide the solution
Blue then blue: .
Same color: .
Answer: The probability is .
Traps
Trap
Treating and as the same probability.
It seems right because both involve the same two events. But the condition sets the denominator, so the two use different totals: in Worked example 1, while .
Check yourself
Show answerHide answer
No. It is : about 47 percent of defective parts come from machine A, even though only 3 percent of machine A's parts are defective.
Trap
Thinking that mutually exclusive events are independent.
It seems right because "separate" events sound unconnected. But if and cannot happen together, learning that happened makes , which differs from whenever . So they are dependent.
Check yourself
Show answerHide answer
No. , but .
What's examined
Conditional probability and independence are tested on the AP® Statistics exam (Probability), in multiple-choice and free-response questions, often from a two-way table or a tree. The conditional probability formula is on the formula sheet; the multiplication rules and the "at least one" method are yours to learn. Independence must be justified with probabilities, not intuition.
Practice questions
- Recall and . What is ?
- A) 0.081
- B) 0.27
- C) 0.4
- D) 0.63
Show answer
Answer: C) 0.4
Marking points:
- .
- A multiplies, B subtracts, and D adds the two probabilities.
- Exam-style On a hypothetical commute, the probability of rain is 0.3. When it rains, a student is late with probability 0.4; when it does not, with probability 0.1. (a) Find the probability that the student is late. (b) Given that the student is late, find the probability that it rained.
Show answer
Answer: (a) (b)
Marking points:
- Tree: rain 0.3 then late 0.4; no rain 0.7 then late 0.1.
- (a) .
- (b) .
- Apply and . Which value of makes and independent?
- A) 0.9
- B) 0.1
- C) 0
- D) 0.2
Show answer
Answer: D) 0.2
Marking points:
- Independent events have .
- A adds the probabilities. B subtracts them. C would make the events mutually exclusive, which makes them dependent.
- Exam-style Each hypothetical sales call succeeds with probability 0.2, independently. (a) Find the probability of at least one success in 5 calls. (b) What is the smallest number of calls that gives at least a 0.95 probability of at least one success?
Show answer
Answer: (a) (b) calls
Marking points:
- (a) .
- (b) Need . With 13 calls the probability is 0.9450; with 14 it is 0.9560, so 14 calls.
- Recall Events and have and and are mutually exclusive. Which statement is true?
- A) and are dependent.
- B) and are independent.
- C)
- D)
Show answer
Answer: A) and are dependent.
Marking points:
- , so the events are dependent.
- B confuses mutually exclusive with independent. C multiplies as if independent. D subtracts 0.15 instead of 0; in fact .
- Apply A hypothetical box has 10 tickets, 4 of them winners. Two tickets are drawn at random without replacement. What is the probability that both are winners?
- A)
- B)
- C)
- D)
Show answer
Answer: B)
Marking points:
- , because one winner is gone after the first draw.
- A uses , as if drawn with replacement. C is only the second-draw probability, . D adds .
Key points
Recall, then reveal
Say the main points from memory first, then check them.
Show key pointsHide key points
- "Given " shrinks the sample space to : .
- On a tree, multiply along a path and add the paths that make up the event.
- To reverse a condition, divide the path probability by the total probability of the known outcome.
- Independent means ; mutually exclusive events with nonzero probabilities are dependent.
- , and for independent trials .