Conditional probability
引入
7:13
概率
明天会下雨吗?公交车会晚点吗?这只骰子能掷出六点吗?生活中几乎没有什么是确定的,也几乎没有什么是绝对不可能的。大多数事情处于……
英文讲解 · 可切换中英文字幕
本课内容
| English | 释义 | 拼音 |
|---|---|---|
| Conditional probability/kənˈdɪʃənl ˌprɒbəˈbɪlɪti/ | 条件概率 | tiáo jiàn gài lǜ |
| event/ɪˈvent/ | 事件 | shì jiàn |
| Venn diagrams | 韦恩图 | wéi ēn tú |
| trees | 树状图 | shù zhuàng tú |
| formula/ˈfɔːmjʊlə/ | 公式 | gōng shì |
| two-way table/tuː weɪ ˈteɪbl/ | 双向表 | shuāng xiàng biǎo |
| condition/kənˈdɪʃn/ | 条件 | tiáo jiàn |
| probability/ˌprɒbəˈbɪlɪti/ | 概率 | gài lǜ |
| numerator/ˈnjuːməreɪtə/ | 分子 | fèn zǐ |
| branch/bræntʃ/ | 分支 | fēn zhī |
| without replacement/wɪˈðaʊt rɪˈpleɪsmənt/ | 不放回 | bù fàng huí |
| path/pæθ/ | 路径 | lù jìng |
| equally likely/ˈiːkwəli ˈlaɪkli/ | 等可能 | děng kě néng |
| dependent/dɪˈpendənt/ | 相依的 | xiāng yī de |
| With replacement/wɪð rɪˈpleɪsmənt/ | 放回 | fàng huí |
| outcomes/ˈaʊtkʌmz/ | 结果 | jié guǒ |
| fraction/ˈfrækʃn/ | 分数 | fēn shù |
| decimal/ˈdesɪml/ | 小数 | xiǎo shù |
| percentage/pəˈsentɪdʒ/ | 百分数 | bǎi fēn shù |
| denominator/dɪˈnɒmɪneɪtə/ | 分母 | fēn mǔ |
你从哪个组中选择?
- 从法语组中随机选择一名学生。该生也学习德语的概率是多少?由于只能选择学习法语的学生,总数已经改变。
- 条件概率指在已知某些信息的情况下,某事件发生的概率。这是拓展内容。使用表格、韦恩图和树状图即可;不需要特殊公式。
A student is selected at random from the school orchestra. Which total is used for the chance that they play violin?
难度 1/5 · 今日首次完成可获 100 金币及少量额外奖励
Only orchestra members can be selected.
表格使所选组别一目了然
- 这个班的30名学生中有18人学习法语。这18人中有7人学习德语。从学习法语的学生中随机选择一名学生。
- 横向查看法语行:这18名学生中有7人符合目标。双向表还显示了其他学生,但在这个条件下不能选择他们。
| 学生 | 学习德语 | 不学德语 | 总计 |
|---|---|---|---|
| 学习法语 | 7 | 11 | 18 |
| 不学法语 | 5 | 7 | 12 |
| 总计 | 12 | 18 | 30 |
在已知学生学习法语的条件下,其学习德语的概率为$\dfrac{7}{18}$。如果从全班学生中选择,同时学习两种语言的概率为$\dfrac{7}{30}$。分子相同,但可供选择的群体不同。

In a class of 30, 18 students study French and 7 of these also study German. A French student is chosen at random. The probability they study German is 7/a. What is a?
难度 2/5 · 今日首次完成可获 140 金币及少量额外奖励
The condition selects the 18 French students.
Of 18 French students, 7 also study German. A French student is chosen at random. The chance they do not study German is b/18. Find b.
难度 2/5 · 今日首次完成可获 140 金币及少量额外奖励
Of the 18 French students, 18 − 7 = 11 do not study German.
反转条件会改变问题
- 现在从德语组中随机选择一名学生。共有12名学生学习德语,其中7人也学习法语,因此在已知学生学习德语的条件下,其学习法语的概率为$\dfrac{7}{12}$。
- 比较$\dfrac{7}{12}$与$\dfrac{7}{18}$。说明从哪个组中选择很重要。条件可以是关于某人的已知信息,而不必是时间上更早发生的事件。
计算前先确定条件。对于“已知学习法语,求学习德语的概率”,使用法语组的总数。不要自动使用全班总数、较小的总数或所求语言组的总数。

The given group changes the denominator
$P(A\mid B)=n(A\cap B)/n(B),\quad n(B)>0$
Use the lesson’s table to compare a conditional probability, its reverse and a whole-cohort probability. The highlighted group is the denominator.
Of 30 students, 18 study French, 12 study German and 7 study both. A German student is chosen at random. What is the chance they also study French?
难度 1/5 · 今日首次完成可获 100 金币及少量额外奖励
The selected German group has 12 students; 7 also study French.
The probability of German given French must equal the probability of French given German.
难度 1/5 · 今日首次完成可获 100 金币及少量额外奖励
The overlap is the same, but the selected group totals can differ.
通过统计各区域的人数读懂韦恩图
- 同一个班级中,仅学习法语的有11人,两门都学的有7人,仅学习德语的有5人,两门都不学的有7人。在已知学生学习法语的条件下,所选区域包含$11+7=18$人。
- 在已知学生不学法语的条件下,使用法语圆外的区域。该区域包含$5+7=12$人,其中5人学习德语,因此概率为$\dfrac{5}{12}$。

这些人数与表格描述的是同一批学生。每位学生恰好属于四个区域中的一个。
A Venn diagram shows French only 11, both French and German 7, German only 5 and neither 7. How many students are outside the French circle?
难度 2/5 · 今日首次完成可获 140 金币及少量额外奖励
German only plus neither gives 5 + 7 = 12.
A Venn diagram shows French only 11, both French and German 7, German only 5 and neither 7. A student is chosen at random from those who do not study French. What is the chance they study German?
难度 1/5 · 今日首次完成可获 100 金币及少量额外奖励
Of the 12 outside French, 5 are in German.
在树状图上,读取条件后的分支
- 一个袋子里有3个红色筹码和2个蓝色筹码。随机抽取两个筹码,抽后不放回。如果第一个是蓝色,则剩下3个红色和1个蓝色,因此第二次抽到红色筹码的概率为$\dfrac{3}{4}$。
- “先蓝后红”路径的概率为$\dfrac{2}{5}\times\dfrac{3}{4}=\dfrac{3}{10}$。这是在两次抽取之前,这两个结果同时发生的概率。已知第一次抽到蓝色,只需使用其第二阶段的红色分支:$\dfrac{3}{4}$。

Conditional probability with tables and expected frequencies
Conditioning restricts the denominator to the given group
Classify the worked-case statements, then explain the units or invariant that justifies each decision.
Two counters are drawn at random without replacement from a bag of 3 red and 2 blue counters. Given the first is blue, find the probability the second is red, as a decimal.
难度 2/5 · 今日首次完成可获 140 金币及少量额外奖励
There are 3 red counters among the 4 remaining: 3/4 = 0.75.
Two counters are drawn at random without replacement from a bag of 3 red and 2 blue counters. Which path has first-branch probability 2/5 and second-branch probability 3/4?
难度 1/5 · 今日首次完成可获 100 金币及少量额外奖励
Multiplying along the path gives the probability of both results before the draws.
一个条件可以筛选出多条路径
- 对于同一个袋子,假设已知第二个筹码是红色,但第一个筹码的颜色被隐藏了。满足该条件的路径有两条:先红后红的概率为$\dfrac{3}{5}\times\dfrac{2}{4}=\dfrac{6}{20}$,先蓝后红的概率为$\dfrac{2}{5}\times\dfrac{3}{4}=\dfrac{6}{20}$。
- 这些路径的总概率为$\dfrac{12}{20}$。其中以蓝色开头的部分为$\dfrac{6}{20}$,因此它在所选路径中所占的比例为$\dfrac{6}{20}\div\dfrac{12}{20}=\dfrac{1}{2}$。要统计路径的概率,不能只统计路径数量;各条路径未必等可能。

Two counters are drawn at random without replacement from a bag of 3 red and 2 blue counters. You know the second counter is red. RR and BR each have probability 6/20. What is the probability the first counter was blue, as a decimal?
难度 2/5 · 今日首次完成可获 140 金币及少量额外奖励
BR is 6/20 out of the selected total 12/20, giving 1/2.
If two paths meet a condition, each must have conditional probability 1/2.
难度 1/5 · 今日首次完成可获 100 金币及少量额外奖励
Compare their probability weights. Two paths may have different probabilities.
知道第一次的结果会改变概率吗?
- 在看到第一次抽到的颜色之前,第二次抽到红色的路径总概率为$\dfrac{12}{20}=\dfrac{3}{5}$。已知第一次抽到蓝色,第二次抽到红色筹码的概率为$\dfrac{3}{4}$。这两次抽取是相依的:知道第一次的结果会改变下一阶段的概率。
- 如果放回并充分混合,无论第一次抽到什么颜色,第二次抽到红色的概率都将保持为$\dfrac{3}{5}$。在假设概率不变之前,先确认抽取方式。
A bag has 4 red and 6 blue counters. A blue counter is drawn, replaced and mixed in. What is the probability the next counter is red?
难度 1/5 · 今日首次完成可获 100 金币及少量额外奖励
Replacement restores all 10 counters, including the 4 red counters.
A bag has 4 red and 6 blue counters. A red counter is drawn and not replaced. The chance the next counter is red is 3/d. Find d.
难度 2/5 · 今日首次完成可获 140 金币及少量额外奖励
One counter has been removed: 3 red remain among 9 counters.
解释所选组别与目标
- 对于新问题,写下根据给定信息可以选择哪些人或结果,然后统计其中符合目标的数量。
- 将概率表示为分数、小数或百分数,并解释分母的含义。如果反转条件,先算出新的总数,再重新计算概率。
In a class of 40, 20 students swim, 16 play music and 8 do both. A student is chosen at random from the swimmers. Find the probability they play music, then find the probability of swimming given that they play music. Explain both denominators.
The condition determines which total can be selected from.
A Venn diagram has 9 students in chess only, 6 in both chess and drama, 14 in drama only and 11 in neither. A student is chosen at random from those who do not attend chess. Find the probability they attend drama, with a reason.
The overlap cannot be selected because it is inside chess.
A box contains 5 green and 3 yellow counters. Two are drawn at random without replacement. Given that the first is yellow, Sam calculates (3/8) × (5/7) for the probability the second is green. Correct the calculation and explain what Sam actually found.
Read the second-stage branch when the first result is already known.
始终关注条件
- 条件概率只考虑与给定信息一致的结果。
- 表格或韦恩图提供各部分的数量。用所选组内符合目标的数量除以该组的总数。
- 在树状图中,第二阶段的分支已经以其第一阶段的结果为条件。对于涵盖多条路径的条件,比较这些路径的总概率。
A club has 24 members, 10 wear glasses and 6 of those 10 cycle to school. A glasses-wearing member is selected at random. What is the probability they cycle?
难度 1/5 · 今日首次完成可获 100 金币及少量额外奖励
The condition selects the 10 glasses-wearing members; 6 cycle.
出了什么问题?只有网站团队能看到这些信息。