AP Statistics · Unit 2 · Lesson 4

Conditional Probability & Independence

条件概率与独立性

Topic 2.6 Conditional Probability · Topic 2.7 Independent Events and Unions of Events

45 min core+ Bonus practiceCED 2026TPS 5.3
MG · AP Statistics→ next · O contents · N notes · F fullscreen
Unit 2 · Roadmap

Where we are in Unit 2 单元路线图

Probability, Random Variables, and Probability Distributions · 15–25% of the AP exam

12.1 + 2.2 Two Categorical VariablesTPS 1.1
22.3 + 2.4 Simulation & Intro to ProbabilityTPS 5.1
32.5 Mutually Exclusive EventsTPS 5.2
42.6 + 2.7 Conditional Prob. & IndependenceTPS 5.3
52.8 + 2.9 Random VariablesTPS 6.1
62.10 The Binomial DistributionTPS 6.3
72.11 The Normal DistributionTPS 2.2
82.12 Sampling Distributions & CLTTPS 7.1
💡 Lesson 1’s conditional relative frequency is today’s conditional probability. “条件相对频率” → “条件概率”。
Unit 2 · Lesson 4
Lesson 4 · Learning Objectives (CED)

By the end of today, you can… 学习目标

2.6.A · Skill 3.C

Conditional ★★★★

Calculate conditional probabilities and use the general multiplication rule.

计算条件概率,使用一般乘法法则

2.7.A · Skill 3.C

Independence & union ★★★★

Calculate probabilities for independent events and for the union of two events.

独立事件与并集的概率

From TPS 5.3

Tree diagrams ★★★★

Use tree diagrams to model a chance process with two or more stages.

用树状图建模多步随机过程

Unit 2 · Lesson 4
Lesson 4 · Agenda

Today's plan 课堂安排

3'
Warm-up: does knowing gender change the chance?
16' · 2.6
Conditional probability → general multiplication rule → tree diagrams
14' · 2.7
Independence → multiplication rule → independent vs. disjoint → union
9'
Practice: mini-FRQ + AP-style MCQ
3'
Summary & exit ticket
Bonus
Random table generator · cards without replacement
📝 Example 例题 — think first!✅ Answers 答案 — click 👁 under each question 点击显示🎮 Simulator 模拟器★★★★ basic → ★★★★ AP challenge

CED order: 2.6.A.1 → 2.6.A.2 → 2.7.A.1 → 2.7.A.2 → 2.7.A.3

Unit 2 · Lesson 4
Lesson 4 · Simulators

🎮 Simulators in this lesson 本节模拟器

Look for the navy 🎮 SIMULATOR banner. Click to jump there. 深蓝色横幅 = 模拟器,点击可直接跳转。

Unit 2 · Lesson 4
📝 Warm-up · 例题★★★★Warm-up

Does knowing gender change the chance? 热身:知道性别会改变概率吗?

Same class as Lesson 3. Choose a student at random.

Q1Find P(pierced ears).
P(pierced) = 103/178 ≈ 0.579
Q2You are told the student is male. Now what is the chance he has pierced ears?
Only look at the Male row: 19/90 ≈ 0.211
Q3Did the new information change the probability?
Yes — a lot! Knowing “male” changed 0.579 → 0.211. Today: conditional probability and independence.
🔑 Pierced ears: all students vs. males only.
GenderPiercedNotTotal
Male197190
Female84488
Total10375178
GenderPiercedNotTotal
Male197190
Female84488
Total10375178
Unit 2 · Lesson 4
Topic
2.6

Conditional Probability

条件概率
2.6.A.1 P(A | B) = P(A ∩ B) / P(B)2.6.A.2 General multiplication rule+ Tree diagrams (TPS 5.3)
Unit 2 · Lesson 4
2.6 · Key ConceptEK 2.6.A.1
Difficulty 难度 ★★★★

Conditional Probability 条件概率

Definition定义
The probability that event A will occur given that event B has occurred is called a conditional probability, written P(A | B). It is defined as P(A | B) = P(A ∩ B) / P(B).
在事件 B 已经发生的条件下,事件 A 发生的概率叫作条件概率,记作 P(A | B),竖线读作 “given that(已知)”。P(A | B) = P(A ∩ B) ÷ P(B)。
🔑 The condition (after the bar) goes in the denominator — exactly like Lesson 1’s “among…” questions. 竖线后面的“条件”就是分母。
Unit 2 · Lesson 4
Behind the Formula · 公式背后的逻辑
3 min · derivation optional

Why Divide by the Probability of B? 把 B 当作新的范围

Once B is known to occur, restrict attention to outcomes in B. The favorable outcomes are those in both A and B.

In a group of 100 students, 40 are in B and 12 are in both A and B.

The original total cancels. Dividing by P(B) rescales the probability inside B so its total becomes 1.

已知 B 后,分母改为 B 内的人数。这里是 12/40,不是 12/100;不需要假设 A、B 独立。

Unit 2 · Derivation optional / 推导不作 AP 必背要求
📝 Example 2 · 例题★★★★EK 2.6.A.1

Grades at a university 大学成绩

Choose one of 10,000 grades at random. E: the grade comes from an Engineering & Physical Sciences course. L: the grade is lower than a B.

aP(L)
No condition → grand total: 3656/10000 = 0.3656
bP(E | L)
Condition L → “Below B” column: 800/3656 ≈ 0.219
cP(L | E)
Condition E → EPS row: 800/1600 = 0.500 ≠ P(E | L)!
dP(A | Health)
Condition Health → Health row: 882/2100 = 0.420
🔑 10,000 grades by school.
💡 P(A | B) ≠ P(B | A) in general — the condition picks the denominator.
SchoolABBelow BTotal
Liberal Arts2142189022686300
Eng. & Phys. Sci. (E)3684328001600
Health & Human Serv.8826305882100
Total33922952365610000
SchoolABBelow BTotal
Liberal Arts2142189022686300
Eng. & Phys. Sci. (E)3684328001600
Health & Human Serv.8826305882100
Total33922952365610000
gold = numerator · pink = denominator
Unit 2 · Lesson 4 · Example from TPS 5.3
🎮Simulator 模拟器Conditional probability explorer条件概率探索Try it! 动手试试
EK 2.6.A.1
SchoolABBelow BTotal
Liberal Arts2142189022686300
Eng. & Phys. Sci. (E)3684328001600
Health & Human Serv.8826305882100
Total33922952365610000
Click a button.
Yellow = numerator · Pink = denominator
Unit 2 · Lesson 4
📝 Example 3 · 例题★★★★EK 2.6.A.1

Using the formula 只给概率时用公式

aP(A) = 0.5, P(A ∩ B) = 0.2. Find P(B | A).
0.2 / 0.5 = 0.4
b40% of students play a sport; 12% play a sport and an instrument. Among athletes, what proportion play an instrument?
P(instrument | sport) = 0.12 / 0.40 = 0.30 (the dark part of the sport bar →)
cGrades: which is bigger, P(Health | grade A) or P(grade A | Health)?
P(Health | A) = 882/3392 ≈ 0.260 vs. P(A | Health) = 882/2100 = 0.420. Same numerator, different denominators.
🔑 P(A | B) = P(A ∩ B) / P(B).
💡 ⚠️ In general P(A | B) ≠ P(B | A). 条件和事件不能对调。
Unit 2 · Lesson 4
2.6 · Key ConceptEK 2.6.A.2
Difficulty 难度 ★★★★

General Multiplication Rule 一般乘法法则

Rule法则
The probability that events A and B both occur equals the probability that A occurs times the conditional probability that B occurs given that A has occurred: P(A ∩ B) = P(A) · P(B | A).
A 和 B 都发生的概率 = A 发生的概率 × 在 A 已发生的条件下 B 发生的概率。
It is just the conditional probability formula rearranged: P(B | A) = P(A ∩ B)/P(A) → multiply both sides by P(A). 先 A 发生,然后在此基础上 B 发生。
Unit 2 · Lesson 4
📝 Example 4 · 例题★★★★EK 2.6.A.2

Two hearts 两张红心(无放回)

Draw 2 cards from a standard deck without replacement.

aFind P(both hearts).
P(♥ ∩ ♥) = 13/52 · 12/51 ≈ 0.0588
bFind P(exactly one heart).
cFind P(the second card is a heart).
P(2nd ♥) = 13/52 · 12/51 + 39/52 · 13/51 = 0.25 — the same as the first card!
🔑 2 cards without replacement: ♥ or not ♥.
💡 Multiply along branches, add across the ends you need.
Unit 2 · Lesson 4
2.6 · Tree DiagramsTPS 5.3 · EK 2.6.A.2
Difficulty 难度 ★★★★

Tree Diagrams 树状图

Tool工具
A tree diagram shows the sample space of a chance process with several stages. Each branch is labeled with a (conditional) probability. Multiply along a path to get P(that path); add the paths you need.
树状图用于多步骤随机过程:每条分支标上(条件)概率;沿路径相乘得到该路径的概率,再把需要的路径相加。
P(A)P(Aᶜ)P(B | A)P(A) · P(B | A) = P(A ∩ B)…
Unit 2 · Lesson 4
📝 Example 5 · 例题★★★★EK 2.6.A.2 · TPS 5.3

Teens online 青少年上网

The Pew Internet Project found that 93% of teens (12–17) use the Internet, and 55% of online teens have posted a profile on a social-networking site.

aDraw a tree diagram.
First branches: online 0.93 / not online 0.07. Second branches (given online): profile 0.55 / no profile 0.45.
bWhat percent of teens are online and have posted a profile?
P(online ∩ profile) = 0.93 × 0.55 = 0.5115 → about 51% of teens.
🔑 Online → profile.
Unit 2 · Lesson 4 · Example from TPS 5.3
🎮Simulator 模拟器Tree diagram builder树状图Try it! 动手试试
EK 2.6.A.2

Check: the four ends always add to 1. 四个末端之和总是 1。

Unit 2 · Lesson 4
📝 Example 6 · 例题★★★★EK 2.6.A.1 · 2.6.A.2

Given a positive test… 检测阳性,真的患病吗?

A disease affects 2% of a population. A test is positive for 95% of people who have it, and for 6% of people who don’t. (illustrative)

aFind P(test positive).
Step 1. Tree: P(D ∩ +) = 0.02 × 0.95 = 0.019 · P(Dᶜ ∩ +) = 0.98 × 0.06 = 0.0588.
Step 2. P(+) = 0.019 + 0.0588 = 0.0778 (add the two pink ends).
bA person tests positive. Find P(disease | +).
P(D | +) = 0.019 / 0.0778 ≈ 0.244 — far below 95%!
cPredict first: is it close to 95%?
Why? Most positives come from the large group without the disease. 大部分阳性来自没病的人群。
🔑 P(D) = 0.02 · P(+ | D) = 0.95 · P(+ | Dᶜ) = 0.06.
💡 “Reverse” conditional: P(D | +) = P(D ∩ +) / P(+).
Unit 2 · Lesson 4
🎮Simulator 模拟器Disease test: change the numbers医学检测模拟器Try it! 动手试试
EK 2.6.A.1 · 2.6.A.2
Unit 2 · Lesson 4
Topic
2.7

Independent Events and Unions of Events

独立事件与事件的并集
2.7.A.1 Independence2.7.A.2 Union P(A ∪ B)2.7.A.3 P(A ∪ B) = P(A) + P(B) − P(A ∩ B)
Unit 2 · Lesson 4
2.7 · Key ConceptEK 2.7.A.1
Difficulty 难度 ★★★★

Independent Events 独立事件

Definition定义
Events A and B are independent if and only if their joint probability equals the product of their probabilities:
Equivalent conditional-probability checks, when the conditioning event has positive probability:
独立:一个事件的发生不改变另一个事件发生的概率。三个等式是分别使用的判定条件,不是连乘式。条件概率要求所给事件的概率大于 0;乘积判定式也适用于零概率事件。
Unit 2 · Lesson 4
📝 Example 7 · 例题★★★★EK 2.7.A.1

Independent or not? 独立吗?

aPierced ears: P(pierced) = 0.579, P(pierced | male) = 0.211. Independent?
0.211 ≠ 0.579 → not independent: knowing “male” changes the chance.
bGrades: P(L) = 0.3656, P(L | E) = 0.5. Independent?
0.5 ≠ 0.3656 → not independent: EPS grades are more likely to be below B.
cToss a coin twice: “1st is H” and “2nd is H”. Independent?
P(2nd H | 1st H) = 0.5 = P(2nd H) → independent: the coin has no memory.
🔑 Compare P(B | A) with P(B).
💡 Same bar heights → independent. Different → not.
Unit 2 · Lesson 4
🎮Simulator 模拟器Independence checker独立性检验器Try it! 动手试试
EK 2.7.A.1

Edit the counts. Challenge: make A and B independent! 修改数字,试着让 A 和 B 独立。

BBᶜTotal
A
Aᶜ
Total
Unit 2 · Lesson 4
2.7 · RuleEK 2.7.A.1
Difficulty 难度 ★★★★

Multiplication Rule for Independent Events 独立事件的乘法法则

Rule法则
If A and B are independent, then P(A ∩ B) = P(A) · P(B). (In the general rule, P(B | A) = P(B).)
若 A、B 独立,则 P(A ∩ B) = P(A) · P(B)(一般乘法法则中 P(B | A) = P(B))。
Unit 2 · Lesson 4
📝 Example 8 · 例题★★★★EK 2.7.A.1

The Challenger O-rings 挑战者号 O 型环

🚀 After the Space Shuttle Challenger disaster, O-ring joint failure was found to blame. In cold conditions, P(one joint works) ≈ 0.977. Assume the 6 joints work independently.

aFind P(all 6 work).
Independent → multiply: (0.977)⁶ ≈ 0.87 — only an 87% chance of a safe launch.
bFind P(at least one fails).
“At least one” → complement: 1 − 0.87 = 0.13.
🔑 6 independent joints, each works with probability 0.977.
💡 “At least one” → 1 − P(none).
Unit 2 · Lesson 4 · Example from TPS 5.3
🎮Simulator 模拟器O-rings: more joints, more riskO 型环模拟器Try it! 动手试试
EK 2.7.A.1

Unit 2 · Lesson 4
2.7 · CompareEK 2.5.A.2 · 2.7.A.1
Difficulty 难度 ★★★★

Independent ≠ mutually exclusive 独立 ≠ 互斥

Mutually exclusive 互斥Independent 独立
MeaningCan’t happen togetherOne doesn’t change the chance of the other
CheckP(A ∩ B) = 0P(A | B) = P(A)
"Or" ruleP(A ∪ B) = P(A) + P(B)P(A ∪ B) = P(A) + P(B) − P(A)P(B)
"And" ruleP(A ∩ B) = 0P(A ∩ B) = P(A) · P(B)
Unit 2 · Lesson 4
📝 Example 9 · 例题★★★★EK 2.5.A.2 · 2.7.A.1

Can disjoint events be independent? 互斥事件能独立吗?

Roll one die. A = “roll a 1”, B = “roll a 6”. So P(A) = P(B) = 1/6.

aAre A and B mutually exclusive?
Yes — one roll can’t be both 1 and 6: P(A ∩ B) = 0.
bFind P(B | A). Are A and B independent?
If A happened, B can’t happen: P(B | A) = 0 ≠ 1/6 = P(B) → not independent.
cIn general: if P(A) > 0 and P(B) > 0, can disjoint events be independent?
No! Disjoint events (with positive probabilities) are always dependent — knowing one happened tells you the other didn’t. 互斥事件(概率都大于 0)一定不独立。
🔑 A = 1, B = 6 on one die.
Unit 2 · Lesson 4
2.7 · UnionEK 2.7.A.2 · 2.7.A.3
Difficulty 难度 ★★★★

Union of Two Events (review) 事件的并(复习)

Definition & rule定义与法则
The probability that event A or event B (or both) will occur is the probability of A union B, written P(A ∪ B): P(A ∪ B) = P(A) + P(B) − P(A ∩ B).
A 或 B(或两者都)发生的概率叫作 A 与 B 的并的概率,记作 P(A ∪ B)。
Unit 2 · Lesson 4
Behind the Formula · 公式背后的逻辑
3 min · derivation optional

Why Subtract the Overlap? 并集公式的去重

Adding P(A) and P(B) counts every outcome in the overlap twice. Subtract one copy so each outcome in the union is counted once.

Of 100 students, 40 are in A, 30 are in B, and 10 are in both.

A 加 B 时交集被数了两遍,所以减去一次。互斥时交集为 0;独立时交集等于两个概率的乘积。

Unit 2 · Derivation optional / 推导不作 AP 必背要求
📝 Example 10 · 例题★★★★EK 2.7.A.1 · 2.7.A.3

Two smoke alarms 两个烟雾报警器

A home has two smoke alarms that work independently. P(alarm 1 sounds) = 0.9, P(alarm 2 sounds) = 0.8.

aFind P(both sound).
Independent → P(both) = 0.9 × 0.8 = 0.72
bFind P(at least one sounds) two ways.
Addition rule: 0.9 + 0.8 − 0.72 = 0.98. Complement: 1 − (0.1)(0.2) = 0.98 ✓
cGrades: find P(E ∪ L), where P(E) = 0.16, P(L) = 0.3656, P(E ∩ L) = 0.08.
0.16 + 0.3656 − 0.08 = 0.4456
🔑 Independent alarms; grades union.
Unit 2 · Lesson 4
2.6–2.7 · Think–Pair–Share
Difficulty 难度 ★★★★

Which rule do I use? 该用哪个公式?

Identify the rule first — don’t calculate yet.

Unit 2 · Lesson 4
2.6–2.7 · AP Exam Tips

Common mistakes 常见错误

✗ Mistake 1

Flipping the condition

P(A | B) and P(B | A) are usually different.

把条件和事件对调。

✗ Mistake 2

Multiplying without independence

P(A)·P(B) works for "and" only if A and B are independent. Otherwise use P(A)·P(B | A).

不独立时不能直接相乘。

✗ Mistake 3

Disjoint = independent?

No! Disjoint events with positive probabilities are always dependent.

互斥 ≠ 独立。

✗ Mistake 4

"At least one" by adding

Use the complement: P(at least one) = 1 − P(none).

“至少一个”用补集。

Unit 2 · Lesson 4
📝 Example 11 · 例题★★★★EK 2.6.A.1 · 2.7.A.1 · 2.7.A.3

Left-handedness 左撇子(mini-FRQ)

200 students are classified by gender and handedness. Choose one at random. (illustrative data)

aFind P(left-handed | female).
P(left | female) = 8/80 = 0.10
bAre “female” and “left-handed” independent? Justify.
Yes. P(left | female) = 0.10 = P(left) = 20/200. Knowing the student is female doesn’t change the probability of being left-handed.
cFind P(male ∪ left-handed).
120/200 + 20/200 − 12/200 = 128/200 = 0.64
dAre “male” and “left-handed” mutually exclusive?
No — P(male ∩ left) = 12/200 = 0.06 ≠ 0. (Independent, but not disjoint!)
🔑 Gender × handedness (200 students).
LeftRightTotal
Male12108120
Female87280
Total20180200
LeftRightTotal
Male12108120
Female87280
Total20180200
Unit 2 · Lesson 4
📝 AP Practice 12 · AP 选择题★★★★EK 2.7.A.1 · 2.7.A.3

Union of independent events

Events A and B are independent, with P(A) = 0.3 and P(B) = 0.5. What is P(A ∪ B)?
  • (A) 0.15
  • (B) 0.50
  • (C) 0.65
  • (D) 0.80
  • (E) 0.85

Independent → P(A ∩ B) = 0.3 × 0.5 = 0.15.

P(A ∪ B) = 0.3 + 0.5 − 0.15 = 0.65 → (C). (D) assumes disjoint; (A) is P(A ∩ B).

Unit 2 · Lesson 4
📝 AP Practice 13 · AP 选择题★★★★EK 2.6.A.1 · 2.7.A.1

Which statement is true?

P(A) = 0.4, P(B) = 0.25, and P(A ∩ B) = 0.1. Which statement is true?
  • (A) A and B are mutually exclusive.
  • (B) P(B | A) = 0.4
  • (C) A and B are not independent because P(A ∩ B) ≠ 0.
  • (D) A and B are independent because P(A | B) = P(A).
  • (E) P(A ∪ B) = 0.65

P(A | B) = 0.1 / 0.25 = 0.4 = P(A) → independent → (D).

(A) confuses independent with disjoint · (E) P(A ∪ B) = 0.55.

Unit 2 · Lesson 4
🎮Simulator 模拟器Conditional-probability generator随机练习(Bonus)Try it! 动手试试
EK 2.6.A.1 · 2.7.A.1

Unit 2 · Lesson 4
🎮Simulator 模拟器Two aces: with or without replacement?有放回 vs 无放回(Bonus)Try it! 动手试试
EK 2.6.A.2 · 2.7.A.1
With replacement 有放回

Draws are independent:

4/52 · 4/52 ≈ 0.0059

Without replacement 无放回

Draws are dependent — general multiplication rule:

4/52 · 3/51 ≈ 0.0045

Unit 2 · Lesson 4
Wrap-up · Summary

Key vocabulary 本课词汇

English中文Remember… / 记住Level
Conditional probability条件概率P(A | B) = P(A ∩ B) / P(B)★★★★
General multiplication rule一般乘法法则P(A ∩ B) = P(A) · P(B | A)★★★★
Tree diagram树状图Multiply along branches; add the ends you need★★★★
Independent events独立事件P(A | B) = P(A); P(A ∩ B) = P(A)·P(B)★★★★
Union并P(A ∪ B) = P(A) + P(B) − P(A ∩ B)★★★★
Unit 2 · Lesson 4
📝 Exit ticket · 例题★★★★2.6.A · 2.7.A

Exit ticket 🎟️ 离堂小测

P(A) = 0.6, P(B) = 0.3, P(A ∩ B) = 0.18.

1Find P(B | A).
0.18 / 0.6 = 0.3
2Are A and B independent? Justify.
Yes — P(B | A) = 0.3 = P(B). (Also 0.6 × 0.3 = 0.18 = P(A ∩ B).)
3Find P(A ∪ B).
0.6 + 0.3 − 0.18 = 0.72
🔑 P(A) = 0.6, P(B) = 0.3, P(A ∩ B) = 0.18.
Unit 2 · Lesson 4
Next time · Lesson 5

Random Variables & Probability Distributions

随机变量与概率分布 · Topics 2.8 + 2.9

Turning outcomes into numbers: probability distributions, expected value, and standard deviation.

MG · AP Statistics
课件目录