1.1 条件概率 Conditional Probability
在已知事件 B 发生的条件下,事件 A 发生的概率称为条件概率:
等价变形——乘法公式:
Draw a probability table or tree diagram first. Then conditional probability is just a simple division!
相互独立:若 P(A | B) = P(A),即 B 的发生不影响 A,则 A 与 B 相互独立:
1.2 Bayes 定理 Bayes' Theorem
Bayes 定理是条件概率的"反转"公式——已知 P(B|A) 求 P(A|B):
全概率公式(分母展开):
The numerator is always P(A∩B) = P(A)·P(B|A). Don't forget the prior P(A) in the numerator!
1.3 几何概率 Geometric Probability
当试验结果可以用几何区域(长度、面积、体积)表示时,概率等于"目标区域"与"总区域"的比值:
常见题型:
- 在单位正方形内随机取点,求点落在某个区域内的概率
- 两根木棒随机折断,拼成三角形的概率
- 区间内随机取两个数,满足某不等式的概率
For geometric probability, always sketch the region first! The probability is just an area ratio.
2.1 离散随机变量的期望 Expected Value of a Discrete Random Variable
期望是随机变量所有可能取值的加权平均:
期望的基本性质:
- E(c) = c(常数的期望是常数本身)
- E(cX) = c · E(X)
- E(X + Y) = E(X) + E(Y)(一般情况均成立,即期望的线性性)
2.2 期望的线性性 Linearity of Expectation
这是 AMC 12 概率题最重要的工具之一:
典型应用:求随机过程的总收益(如抽奖游戏、竞赛得分)。把总结果拆成多个独立小额结果的叠加,分别求期望再相加。
indicator 变量法(示性函数):
2.3 方差 Variance
方差衡量随机变量的离散程度:
方差的性质:
- Var(c) = 0(常数的方差为 0)
- Var(cX) = c² · Var(X)
- 注意:Var(X + Y) = Var(X) + Var(Y) + 2Cov(X,Y),若 X、Y 不独立,不能简单相加!
- 若 X、Y 独立:Var(X + Y) = Var(X) + Var(Y)
3.1 二项分布 Binomial Distribution
n 次独立重复试验,每次成功概率为 p,X 为成功次数,则 X ~ B(n, p):
期望与方差:
在 AMC 12 中的常见用法:
- 用期望公式 E(X)=np 直接求期望(无需算分布列)
- 求"至少有一个成功"的概率:P(X≥1) = 1 − P(X=0) = 1 − (1−p)ⁿ
- 比较不同 p 下的方差:p=0.5 时方差最大(最"不确定")
3.2 几何分布 Geometric Distribution
独立重复试验,每次成功概率为 p,X 为首次成功所需的试验次数,则 X ~ Geo(p):
期望与方差:
3.3 概率递推 Recurrence Relations in Probability
对于某些概率问题,设 Pₙ 为第 n 步达到目标的概率,建立递推关系:
典型递推结构:
- 掷骰子/硬币问题:每一步后,状态转移概率已知
- 路径计数:每步只能向右或向上,求走到某点的概率
- 等待时间问题:几何分布本质也是递推 P(X>n) = (1−p)ⁿ
求解递推:
- 列出前几项找规律(适用于简单递推)
- 特征方程法(适用于线性齐次递推)
- 期望递推法:Eₙ = 1 + Σ pᵢ · E_{next(i)}(适用于求期望值)
某班有 60% 的学生喜欢数学,55% 喜欢物理,既喜欢数学又喜欢物理的有 40%。随机选一名学生,已知他喜欢物理,他喜欢数学的概率是多少? 60% of students like Math, 55% like Physics, and 40% like both. A randomly selected student likes Physics. What's the probability they also like Math?
代入公式:P(M|P) = 0.4/0.55 = 8/11。
P(M|P) = P(M∩P)/P(P) = 0.40/0.55 = 40/55 = 8/11.
某种疾病在人群中的发病率为 1%。已知患病者检测呈阳性的概率为 99%,未患病者检测呈阳性的概率为 5%。若某人检测呈阳性,他真正患病的概率是多少? A disease affects 1% of the population. A test gives a positive result for 99% of those with the disease and 5% false positives. Given a positive test result, what's the probability the person is actually sick?
P(D|T⁺) = P(D)·P(T⁺|D) / P(T⁺)
P(T⁺) = P(D)·P(T⁺|D) + P(D')·P(T⁺|D') = 0.01×0.99 + 0.99×0.05 = 0.0099 + 0.0495 = 0.0594
所以 P(D|T⁺) = 0.01×0.99 / 0.0594 = 0.0099/0.0594 = 99/594 ≈ 16.7%。
P(D|T⁺) = (0.01×0.99) / (0.01×0.99 + 0.99×0.05) = 99/594 ≈ 16.7%. Surprisingly low!
某游戏:同时抛 5 枚均匀硬币,记 X 为正面朝上的硬币数量,求 E(X)。 Five fair coins are tossed simultaneously. Let X be the number of heads. Find E(X).
每枚硬币 P(Xᵢ=1) = 1/2,所以 E(Xᵢ) = 1/2。
E(X) = E(X₁)+…+E(X₅) = 5 × (1/2) = 2.5。
Let Xᵢ indicate if coin i is heads. E(Xᵢ)=1/2, so E(X)=5×(1/2)=2.5 by linearity.
每次投篮命中率为 25%,假设每次投篮相互独立。求平均需要多少次投篮才能首次命中(期望值)。 A basketball player has a 25% success rate per shot. Shots are independent. On average, how many shots are needed to make the first basket?
平均需要 4 次投篮才能首次命中。
This is a geometric distribution with p=0.25. E(X) = 1/p = 4 shots on average.
在区间 [0, 2] 内随机取两个数 x 和 y,求以 x 和 y 为边长的矩形面积小于 1 的概率。 Two numbers x and y are chosen uniformly at random from [0, 2]. What is the probability that the rectangle with sides x and y has area less than 1?
目标条件:xy < 1,即 y < 1/x。
在 [0,2]×[0,2] 中,满足 xy < 1 的区域分为两部分:
① 0 ≤ x ≤ 1:y < 1/x(y < 1),面积 = 1×1 = 1
② 1 < x ≤ 2:y < 1/x,定积分 ∫₁² (1/x) dx = ln 2
目标面积 = 1 + ln 2 ≈ 1 + 0.693 = 1.693
概率 = (1+ln 2)/4 ≠ 简单分数,选 B:1/2 + ln(1/2)(化简后等价于 (1+ln 2)/4)。
Total area = 4. Favorable area = ∫₀¹ 1 dx + ∫₁² (1/x) dx = 1 + ln 2. P = (1+ln 2)/4.
第1题 某班有 50 名学生,其中 30 名参加数学竞赛,25 名参加物理竞赛,15 名两科都参加。随机选一名学生,已知他参加了数学竞赛,他没参加物理竞赛的概率是多少? In a class of 50 students, 30 take Math, 25 take Physics, and 15 take both. A student takes Math. What's the probability they don't take Physics?
第2题 盒中有 3 个红球和 2 个蓝球,无放回地依次取出两个球。已知第一个球是红球,第二个球是蓝球的概率是多少? A box has 3 red and 2 blue balls. Balls are drawn without replacement. Given the first ball is red, what's the probability the second is blue?
第3题 某次考试有 10 道选择题,每题有 4 个选项,随机作答。求恰好答对 3 题的概率。 A multiple-choice exam has 10 questions, each with 4 options. A student guesses randomly. What's the probability of getting exactly 3 correct?
第4题 某抽奖游戏:每次抽奖有 20% 的概率获奖(独立重复),平均需要抽多少次才能首次获奖? A lottery has a 20% win rate per ticket (independent). On average, how many tickets must be bought for the first win?
第5题 连续投掷一枚均匀硬币 6 次,记正面出现的次数为 X。求 X 的方差 Var(X)。 A fair coin is tossed 6 times. Let X be the number of heads. Find Var(X).
第6题 在单位正方形 [0,1]×[0,1] 中随机取一点 (x, y),求 x + y < 1/2 的概率。 A point (x, y) is chosen uniformly in the unit square [0,1]×[0,1]. Find P(x + y < 1/2).