Combinatorics and the Binomial Theorem组合学与二项式定理
Combinatorics is the art of counting without listing. Three nested ideas drive the whole unit: the multiplication rule for stage-by-stage choices, the factorial that counts ordered arrangements, and the binomial coefficient $\binom{n}{r}$ that counts unordered selections. From those three primitives Pascal's triangle, the Binomial Theorem $(a+b)^n = \sum \binom{n}{r} a^{n-r} b^r$, and a small library of subset-counting identities all follow. Worked examples cover license-plate counting, the number of distinct anagrams of MISSISSIPPI, the term containing $x^7$ in $(2x - 3)^{12}$, the constant term in $(x + 1/x)^{10}$, and a double-counting proof that the number of subsets of an $n$-set is $2^n$.组合学(combinatorics)是"不必逐一列举就能数清"的艺术。整单元由三个层层嵌套的核心想法驱动:分步选择的乘法原理(multiplication rule)、计数有序排列的阶乘(factorial),以及计数无序选取的二项式系数 $\binom{n}{r}$。由这三个基本物件出发,帕斯卡三角形(Pascal's triangle)、二项式定理 $(a+b)^n = \sum \binom{n}{r} a^{n-r} b^r$,以及一小批子集计数恒等式都顺势而出。例题包括车牌号计数、MISSISSIPPI 的全部不同字母排列数、$(2x-3)^{12}$ 中含 $x^7$ 的项、$(x+1/x)^{10}$ 中的常数项,以及"$n$ 元集合的子集数等于 $2^n$"的双重计数(double counting)证明。
How to use this guide如何使用本指南
Combinatorics is one of the few high-school topics where the four jurisdictions we map to disagree sharply on placement. Alberta Math 30-1 and BC Pre-Calc 12 both name the unit explicitly and cover all seven sections as core. Ontario splits the content between MHF4U (binomial expansion) and MDM4U (counting / probability). The US CCSSM treats permutations / combinations as a single plus-cluster line under Statistics & Probability, with the binomial expansion sitting in HSA-APR.C.5 (+) , both are honors / AP-feeder content, not standard Algebra II. The four-row table tells you which sections are mandatory for your row; each row cites the curriculum document it was checked against.组合学是为数不多的、四地大纲在课程定位上分歧极大的高中主题。AB Math 30-1 与 BC PC 12 都明确点名本单元,并把七节内容都作为核心。安大略把内容分到 MHF4U(二项展开)与 MDM4U(计数 / 概率)。美国 CCSSM 把排列 / 组合放在 Statistics & Probability 的一条 plus 簇标准,二项式定理在 HSA-APR.C.5 (+) , 两者都属荣誉 / AP 衔接,不在标准 Algebra II 内。下面四行表告诉你当前大纲下应重点学习哪些节;每行都注明对应的课纲依据。
| If you are in…如果你在… | Focus on these sections重点学习 | Defer / skip可推迟 | Source依据 |
|---|---|---|---|
| 🇺🇸 US Algebra II / Pre-Calc (Honors)美国 Algebra II / Pre-Calc(荣誉) Honors | §1, §2, §3, §4, §5, §6 (full coverage at honors level). The unit is plus-cluster CCSSM content, so honors / Pre-Calc is the natural placement§1、§2、§3、§4、§5、§6(荣誉级完整覆盖)。本单元是 CCSSM plus 簇内容,故荣誉 / Pre-Calc 为其自然定位 | §7 (subset-count identities and double-counting proofs are AP-feeder bonus; not on a CCSSM standard, but expected by AP Statistics and AP Pre-Calc)§7(子集计数恒等式与双重计数证明为 AP 衔接内容;CCSSM 无对应标准,但 AP Statistics 与 AP Pre-Calc 默认掌握) | ccssm_hs_math.pdf , HSS-CP.B.9 (+) and HSA-APR.C.5 (+). Both are plus-cluster (honors / AP-feeder), HSS-CP.B.9 (+) 与 HSA-APR.C.5 (+)。两条都属 plus 簇(荣誉 / AP 衔接) |
| 🇨🇦 ON Grade 12 , MHF4U安大略 12 年级 , MHF4U | §4, §5, §6. MHF4U meets Pascal's triangle and the Binomial Theorem inside its polynomial-functions work as a tool to expand $(x+y)^n$§4、§5、§6。MHF4U 在多项式函数学习中接触帕斯卡三角形与二项式定理,作为展开 $(x+y)^n$ 的工具 | §1, §2, §3, §7 (these belong to MDM4U Counting and Probability, not MHF4U)§1、§2、§3、§7(属 MDM4U Counting and Probability 单元,非 MHF4U) | math_grades_11-12.pdf , MHF4U Strands: Exponential and Logarithmic Functions; Trigonometric Functions; Polynomial and Rational Functions; Characteristics of Functions. Binomial expansion lives in the polynomial-functions strand, MHF4U 单元:Exponential and Logarithmic Functions、Trigonometric Functions、Polynomial and Rational Functions、Characteristics of Functions。二项展开属"多项式函数"单元 |
| 🇨🇦 ON Grade 12 , MDM4U安大略 12 年级 , MDM4U | §1, §2, §3, §4, §7. The MDM4U Counting and Probability strand is the home for combinatorics in Ontario; expect identical-element permutations and combination-to-probability links§1、§2、§3、§4、§7。安大略组合学的归宿就是 MDM4U Counting and Probability 单元;期望覆盖含相同元素的排列、组合与概率的衔接 | §5, §6 (binomial expansion is touched only briefly via probability distributions; the formal $(x+y)^n$ algebra lives in MHF4U)§5、§6(二项展开仅通过概率分布略提;正式的 $(x+y)^n$ 代数在 MHF4U) | math_grades_11-12.pdf , MDM4U Strands: Counting and Probability; Probability Distributions; Statistical Analysis. Counting and Probability is the explicit combinatorics strand, MDM4U 单元:Counting and Probability、Probability Distributions、Statistical Analysis。Counting and Probability 即组合学专属单元 |
| 🇨🇦 BC Grade 12 , PC 12BC 12 年级 , PC 12 / 🇨🇦 AB Grade 12 , Math 30-1阿尔伯塔 12 年级 , Math 30-1 | §1, §2, §3, §4, §5, §6 in full. Math 30-1 has a dedicated General Outcome with specific outcomes 1-4 (counting, $_nP_r$, $_nC_r$, binomial theorem); PC 12 lists the same triple in its content§1-§6 完整学习。Math 30-1 设有专门的总目标,下含 SO 1-4(计数、$_nP_r$、$_nC_r$、二项式定理);PC 12 在内容中并列同一组三件套 | §7 has no direct curriculum hit; treat it as enrichment for stronger students or as prep for AP Statistics / IB Math AA HL§7 无直接课纲对应;可作为强生拓展或 AP Statistics / IB Math AA HL 的预备 | pos_10-12_indicators.pdf , AB Math 30-1 General Outcome "Permutations, Combinations and Binomial Theorem"; pc12_elab.pdf , BC PC 12 Content list "permutations, combinations, and binomial theorem", AB Math 30-1 总目标"Permutations, Combinations and Binomial Theorem";pc12_elab.pdf , BC PC 12 内容列表"permutations, combinations, and binomial theorem" |
Once you have located your row, use the two cards below for the speed at which you should work through the recommended sections.找到所在行后,用下面两张卡片决定推进速度。
Memorise six things: the multiplication rule (if step 1 has $a$ ways and step 2 has $b$ ways, together there are $ab$ ways); factorial $n! = n(n-1)(n-2)\cdots 1$; the permutation formula $_nP_r = n!/(n-r)!$; the combination formula $\binom{n}{r} = n!/(r!(n-r)!)$; the symmetry $\binom{n}{r} = \binom{n}{n-r}$; and the Binomial Theorem $(a+b)^n = \sum_{r=0}^{n}\binom{n}{r} a^{n-r} b^r$. Read every cram-cheat box. Skip the going-deeper identities in §7.背熟六件事:乘法原理(步骤 1 有 $a$ 种、步骤 2 有 $b$ 种,则共有 $ab$ 种);阶乘 $n! = n(n-1)(n-2)\cdots 1$;排列公式 $_nP_r = n!/(n-r)!$;组合公式 $\binom{n}{r} = n!/(r!(n-r)!)$;对称性 $\binom{n}{r} = \binom{n}{n-r}$;二项式定理 $(a+b)^n = \sum_{r=0}^{n}\binom{n}{r} a^{n-r} b^r$。读每个速记框,跳过 §7 的深入恒等式。
Always ask first: does order matter? If yes, you are counting permutations; if no, combinations. Practise the case with repeated / identical objects (MISSISSIPPI , this is Math 30-1 indicator 2.6, MHF4U expectation in the binomial strand). Master specific-term extraction in $(ax+b)^n$ and $(ax+b/x)^n$ (negative-power case): the general term is $\binom{n}{r}(ax)^{n-r} b^r$ for the first, and $\binom{n}{r}(ax)^{n-r}(b/x)^r$ for the second. The §7 identities $\sum \binom{n}{r} = 2^n$ and $\sum (-1)^r \binom{n}{r} = 0$ are recurring AP Statistics / IB Math AA HL items.首先自问:顺序是否要紧?要紧用排列;不要紧用组合。练含重复 / 相同元素的情形(MISSISSIPPI , Math 30-1 指标 2.6,MHF4U 二项单元亦覆盖)。熟练在 $(ax+b)^n$ 与 $(ax+b/x)^n$(负次幂情形)中抽取指定项:前者通项 $\binom{n}{r}(ax)^{n-r} b^r$,后者 $\binom{n}{r}(ax)^{n-r}(b/x)^r$。§7 中 $\sum \binom{n}{r} = 2^n$ 与 $\sum (-1)^r \binom{n}{r} = 0$ 是 AP Statistics / IB Math AA HL 反复考点。
The Fundamental Counting Principle Honors — US Alg 2 / AP-feeder基本计数原理 荣誉 — US Alg 2 / AP 衔接
If a task can be split into $k$ independent stages, and stage $i$ can be performed in $n_i$ ways, then the total number of ways to perform the task is若任务可分为 $k$ 个独立阶段,第 $i$ 阶段有 $n_i$ 种方式,则完成整任务的方式数为:
$$ N \;=\; n_1 \cdot n_2 \cdot n_3 \cdots n_k. $$- Multiply, not add."乘"而非"加"。 AB Math 30-1 indicator 1.2 names this distinction explicitly: students must "explain, using examples, why the total number of possible choices is found by multiplying rather than adding the number of ways the individual choices can be made."AB Math 30-1 指标 1.2 明确点名:"用例子解释为何总方式数应通过对各步方式数相乘,而非相加得到。"
- With or without replacement.是否放回。 With replacement: each stage has the same number of options (e.g. a 4-digit PIN from $\{0, \ldots, 9\}$ has $10^4 = 10\,000$ codes). Without replacement: each stage has one fewer option than the last (e.g. arranging $4$ distinct books on a shelf has $4 \cdot 3 \cdot 2 \cdot 1 = 24$ orderings).有放回:各阶段方式数相同(如 4 位 PIN 取自 $\{0, \ldots, 9\}$ 共 $10^4 = 10\,000$ 组)。无放回:每阶段比上一阶段少一种(如 $4$ 本不同书的排列共 $4 \cdot 3 \cdot 2 \cdot 1 = 24$ 种)。
- Tree-diagram backup.树状图补强。 When the multiplication is non-obvious, draw the first few branches of a tree and confirm the product (AB Math 30-1 indicator 1.1; MDM4U Counting and Probability also names tree diagrams).乘法不直观时,画出树的前几支并核对乘积(AB Math 30-1 指标 1.1;MDM4U Counting and Probability 同样点名树状图)。
A province issues license plates with $3$ uppercase letters followed by $4$ digits. (a) How many distinct plates are possible if repetition is allowed? (b) How many are possible if no letter and no digit may be repeated?某省发行车牌:$3$ 个大写字母 + $4$ 位数字。(a) 若允许重复,共有多少不同车牌?(b) 若字母与数字均不可重复,共有多少?
(a) With replacement.(a) 有放回。 $26$ choices at each letter slot, $10$ at each digit slot, and the slots are independent:每个字母位 $26$ 种,每个数字位 $10$ 种,各位独立:
$$ N_a \;=\; 26 \cdot 26 \cdot 26 \cdot 10 \cdot 10 \cdot 10 \cdot 10 \;=\; 26^3 \cdot 10^4 \;=\; 17\,576 \cdot 10\,000 \;=\; 175\,760\,000. $$(b) Without replacement.(b) 无放回。 $26 \cdot 25 \cdot 24$ for the letters, $10 \cdot 9 \cdot 8 \cdot 7$ for the digits:字母 $26 \cdot 25 \cdot 24$,数字 $10 \cdot 9 \cdot 8 \cdot 7$:
$$ N_b \;=\; (26 \cdot 25 \cdot 24)(10 \cdot 9 \cdot 8 \cdot 7) \;=\; 15\,600 \cdot 5\,040 \;=\; 78\,624\,000. $$Sanity-check.合理性核验。 No-repetition should give fewer than with-repetition: $78.6$ M $< 175.8$ M ✓. The ratio $N_b / N_a \approx 0.447$ , about $45\%$ of all plates have no repeated letter and no repeated digit.无放回应少于有放回:$7\,862$ 万 $< 1.758$ 亿 ✓。比值 $N_b / N_a \approx 0.447$ , 约 $45\%$ 车牌字母与数字均无重复。
Factorials and Permutations: ordered selection Honors — US Alg 2 / AP-feeder阶乘与排列:有序选取 荣誉 — US Alg 2 / AP 衔接
- Permutation.排列。 An ordered selection of $r$ objects from $n$ distinct objects. Order matters: "ABC" and "ACB" count as different.从 $n$ 个不同元素中有序地选 $r$ 个。顺序要紧:"ABC" 与 "ACB" 算作不同。
- Why $r \le n$.为何 $r \le n$。 AB Math 30-1 indicator 2.4 names this: $_nP_r$ is undefined for $r > n$ because you cannot choose more distinct objects than exist.AB Math 30-1 指标 2.4 指出:$r > n$ 时 $_nP_r$ 无定义,因为不能从有限集中选出比总数更多的不同元素。
- Special case $r = n$.特例 $r = n$。 $_nP_n = n!$ , the number of orderings of all $n$ distinct objects.$_nP_n = n!$ , 全部 $n$ 个不同元素的排列数。
- Identical elements (Math 30-1 indicator 2.6).含相同元素(Math 30-1 指标 2.6)。 If $n$ objects include $k_1$ of one type, $k_2$ of another, $\ldots$, $k_m$ of the last, then the number of distinguishable arrangements is若 $n$ 个元素中第 1 类 $k_1$ 个、第 2 类 $k_2$ 个、$\ldots$、第 $m$ 类 $k_m$ 个,则不同排列数为 $$ \frac{n!}{k_1! \, k_2! \cdots k_m!}. $$
From a club of $10$ students, the president, vice-president, and treasurer are to be chosen (distinct positions, no person holds two). How many ways?某社团 $10$ 人中选主席、副主席、财务(三个不同职位,且无人兼任)。共有几种选法?
Order matters顺序要紧 because the positions are distinct , this is a permutation of $r = 3$ taken from $n = 10$:因职位不同,是从 $n = 10$ 中取 $r = 3$ 的排列:
$$ {}_{10}P_3 \;=\; \frac{10!}{7!} \;=\; 10 \cdot 9 \cdot 8 \;=\; 720. $$Sanity-check via tree.用树状图核验。 President: $10$ choices. Vice-president (whoever remains): $9$. Treasurer: $8$. $10 \cdot 9 \cdot 8 = 720$ ✓.主席:$10$ 选;副主席(剩余者):$9$;财务:$8$。$10 \cdot 9 \cdot 8 = 720$ ✓。
How many distinguishable letter arrangements does the word MISSISSIPPI have? ($11$ letters: $1$ M, $4$ I, $4$ S, $2$ P.)单词 MISSISSIPPI($11$ 字母:$1$ 个 M、$4$ 个 I、$4$ 个 S、$2$ 个 P)有多少种不同的字母排列?
Use the identical-elements formula.用相同元素公式。
$$ N \;=\; \frac{11!}{1! \cdot 4! \cdot 4! \cdot 2!} \;=\; \frac{39\,916\,800}{1 \cdot 24 \cdot 24 \cdot 2} \;=\; \frac{39\,916\,800}{1\,152} \;=\; 34\,650. $$Sanity-check.合理性核验。 If all $11$ letters were distinct, the count would be $11! = 39.9$ M. Dividing out the over-counting from repeated I, S, P drops the answer by a factor of roughly $1\,150$ , consistent with $24 \cdot 24 \cdot 2$.若 $11$ 字母全不同,应为 $11! \approx 3\,990$ 万。除以重复 I、S、P 造成的重复计数约 $1\,150$ 倍 , 与 $24 \cdot 24 \cdot 2$ 一致。
Combinations: unordered selection Honors — US Alg 2 / AP-feeder组合:无序选取 荣誉 — US Alg 2 / AP 衔接
- Combination.组合。 An unordered selection of $r$ objects from $n$ distinct objects. Order does not matter: $\{A, B, C\}$ and $\{C, A, B\}$ are the same combination.从 $n$ 个不同元素中无序地选 $r$ 个。顺序不要紧:$\{A, B, C\}$ 与 $\{C, A, B\}$ 算同一组合。
- Permutation $\to$ combination.由排列得组合。 Every $r$-combination corresponds to $r!$ permutations of the same $r$ objects. So divide $_nP_r$ by $r!$ to remove the over-counting.每个 $r$ 组合对应同 $r$ 个元素的 $r!$ 种排列,故用 $_nP_r$ 除以 $r!$ 消除重复计数。
- Decision rule.判别准则。 Ask: does order matter? If yes , permutation. If no , combination. AB Math 30-1 indicator 3.1 expects students to explain this distinction with examples.自问:顺序要紧吗?要紧 , 排列;不要紧 , 组合。AB Math 30-1 指标 3.1 要求学生用例子解释此区别。
- Notation.记号。 $\binom{n}{r}$ ("$n$ choose $r$") is the modern notation that AP / IB / university courses prefer; $_nC_r$ is the calculator-key form. They are identical.$\binom{n}{r}$(读作"$n$ 选 $r$")为 AP / IB / 大学课程偏好的记号;$_nC_r$ 是计算器按键形式。两者相同。
From a club of $10$ students, a committee of $3$ is to be formed (all members have equal status , no distinct roles). How many ways?$10$ 人社团选 $3$ 人组成委员会(成员身份相同,无不同职务)。共有几种选法?
Order does not matter顺序不要紧 because the three positions are identical , this is a combination:因三席无差别,是组合:
$$ \binom{10}{3} \;=\; \frac{10!}{3! \, 7!} \;=\; \frac{10 \cdot 9 \cdot 8}{3 \cdot 2 \cdot 1} \;=\; \frac{720}{6} \;=\; 120. $$Cross-check against the permutation.与排列对照。 Worked Example 2a gave $_{10}P_3 = 720$ for the ordered version. Dividing by $3! = 6$ gives $120$ , the same answer. The factor of $6$ counts the $3! = 6$ orderings of each fixed three-person set.例 2a 中有序版本 $_{10}P_3 = 720$。除以 $3! = 6$ 得 $120$ , 与本题一致。$6$ 倍即固定 $3$ 人集合的 $3! = 6$ 种排列。
Symmetry and Pascal's Triangle Honors — US Alg 2 / AP-feeder对称性与帕斯卡三角形 荣誉 — US Alg 2 / AP 衔接
- Symmetry.对称性。 Choosing $r$ from $n$ is the same as choosing the $n - r$ to leave behind , one decision, two interpretations. AB Math 30-1 indicator 3.5 names this identity explicitly.从 $n$ 中选 $r$ 等同于选出剩下不取的 $n - r$ , 一个决定,两种诠释。AB Math 30-1 指标 3.5 明确点名此恒等式。
- Pascal's rule.帕斯卡规则。 Each entry of Pascal's triangle is the sum of the two entries directly above. Combinatorial proof: any $(r+1)$-subset of an $(n+1)$-set either contains the last element (then choose $r$ from the first $n$, giving $\binom{n}{r}$) or omits it (choose $r+1$ from the first $n$, giving $\binom{n}{r+1}$).帕斯卡三角形每项等于其正上方两项之和。组合论证:$(n+1)$ 元集合的任一 $(r+1)$ 子集要么含最末元素(则从前 $n$ 中选 $r$,共 $\binom{n}{r}$ 种),要么不含(从前 $n$ 中选 $r+1$,共 $\binom{n}{r+1}$ 种)。
- Building the triangle.逐行构造。 AB Math 30-1 indicator 4.2 expects students to "explain how to determine the subsequent row in Pascal's triangle, given any row" , pure addition, no factorial. Row $0$ is "$1$"; row $1$ is "$1$ $1$"; each subsequent row begins and ends with $1$ and fills the middle by adding adjacent pairs.AB Math 30-1 指标 4.2 要求学生"由任一行说明如何确定帕斯卡三角形的下一行" , 纯加法,无需阶乘。第 $0$ 行为"$1$";第 $1$ 行为"$1$ $1$";其后每行首尾为 $1$,中间项由上一行相邻两数相加而得。
Build rows $0, 1, 2, 3, 4, 5$ using Pascal's rule and verify the symmetry $\binom{5}{2} = \binom{5}{3}$.用帕斯卡规则构造第 $0, 1, 2, 3, 4, 5$ 行,并验证对称性 $\binom{5}{2} = \binom{5}{3}$。
The first six rows.前六行。
$$ \begin{array}{c} 1 \\ 1 \quad 1 \\ 1 \quad 2 \quad 1 \\ 1 \quad 3 \quad 3 \quad 1 \\ 1 \quad 4 \quad 6 \quad 4 \quad 1 \\ 1 \quad 5 \quad 10 \quad 10 \quad 5 \quad 1 \end{array} $$Verify Pascal's rule on the row 5 build.在第 $5$ 行的构造上验证帕斯卡规则。 Start with row $4$: $1, 4, 6, 4, 1$. Adjacent sums: $1+4 = 5$, $4+6 = 10$, $6+4 = 10$, $4+1 = 5$. Wrap with $1$s at each end to get row $5$: $1, 5, 10, 10, 5, 1$ ✓.由第 $4$ 行 $1, 4, 6, 4, 1$ 起。相邻相加:$1+4 = 5$、$4+6 = 10$、$6+4 = 10$、$4+1 = 5$。首尾补 $1$ 得第 $5$ 行:$1, 5, 10, 10, 5, 1$ ✓。
Verify symmetry.验证对称性。 $\binom{5}{2} = 10$ and $\binom{5}{3} = 10$. Both are the third entry in from each end of row $5$ , left-right symmetry of the triangle.$\binom{5}{2} = 10$ 与 $\binom{5}{3} = 10$,均为第 $5$ 行两端起第三项 , 三角形的左右对称。
The Binomial Theorem Honors — US Alg 2 / AP-feeder二项式定理 荣誉 — US Alg 2 / AP 衔接
- Coefficients come from row $n$ of Pascal's triangle.系数即帕斯卡三角形第 $n$ 行。 AB Math 30-1 indicator 4.3 says verbatim: "relate the coefficients of the terms in the expansion of $(x + y)^n$ to the $(n + 1)$ row in Pascal's triangle" (because rows are zero-indexed).AB Math 30-1 指标 4.3 原文:"把 $(x + y)^n$ 展开式各项的系数与帕斯卡三角形第 $(n+1)$ 行相对应"(因行从 $0$ 开始计数)。
- Why combinations?为何是组合? When you multiply out $(a+b)(a+b)\cdots(a+b)$ ($n$ factors), each term in the expansion chooses $b$ from $r$ of the factors and $a$ from the other $n-r$. The number of ways to pick which $r$ factors contribute $b$ is $\binom{n}{r}$. (Math 30-1 indicator 4.4 names exactly this combinatorial argument.)展开 $(a+b)(a+b)\cdots(a+b)$(共 $n$ 个因式)时,每一项都在某 $r$ 个因式取 $b$,其余 $n-r$ 个取 $a$。从 $n$ 个因式中选出"贡献 $b$"的那 $r$ 个,共 $\binom{n}{r}$ 种 , 这正是 Math 30-1 指标 4.4 所述论证。
- Total number of terms.总项数。 $(a + b)^n$ has $n + 1$ terms, indexed by $r = 0, 1, 2, \ldots, n$. Exponents on $a$ go down, on $b$ go up, summing to $n$.$(a + b)^n$ 共有 $n + 1$ 项,下标 $r = 0, 1, 2, \ldots, n$。$a$ 的指数递减,$b$ 的递增,两指数之和恒为 $n$。
- General term.通项。 $T_{r+1} = \binom{n}{r} a^{n-r} b^r$. The $r=0$ term is $T_1$, the $r=1$ term is $T_2$, and so on , the "$r+1$" indexing is standard in most textbooks.$T_{r+1} = \binom{n}{r} a^{n-r} b^r$。$r=0$ 项是 $T_1$,$r=1$ 项是 $T_2$,依此类推 , 教材中通常用 "$r+1$" 编号。
Use the Binomial Theorem (and row $4$ of Pascal's triangle) to expand $(2x + 3)^4$ in full.用二项式定理(及帕斯卡三角形第 $4$ 行)完整展开 $(2x + 3)^4$。
Row $4$ of Pascal's triangle.帕斯卡三角形第 $4$ 行。 $1, 4, 6, 4, 1$.
Identify $a = 2x$ and $b = 3$.识别 $a = 2x$、$b = 3$。 Then the five terms ($r = 0, 1, 2, 3, 4$) are:五项($r = 0, 1, 2, 3, 4$)为:
$$ (2x + 3)^4 = 1 \cdot (2x)^4 + 4 \cdot (2x)^3 \cdot 3 + 6 \cdot (2x)^2 \cdot 3^2 + 4 \cdot (2x) \cdot 3^3 + 1 \cdot 3^4. $$Evaluate powers and constants.化简幂与常数。
$$ = 16 x^4 + 4 \cdot 8 x^3 \cdot 3 + 6 \cdot 4 x^2 \cdot 9 + 4 \cdot 2x \cdot 27 + 81. $$ $$ = 16 x^4 + 96 x^3 + 216 x^2 + 216 x + 81. $$Sanity-check.合理性核验。 Substitute $x = 0$: should give $3^4 = 81$ ✓. Substitute $x = 1$: $(2 \cdot 1 + 3)^4 = 5^4 = 625$, and $16 + 96 + 216 + 216 + 81 = 625$ ✓.代 $x = 0$:应为 $3^4 = 81$ ✓。代 $x = 1$:$(2 + 3)^4 = 5^4 = 625$,且 $16 + 96 + 216 + 216 + 81 = 625$ ✓。
Applications: Finding a Specific Term Honors — US Alg 2 / AP-feeder应用:求指定项 荣誉 — US Alg 2 / AP 衔接
- Write down the general term $T_{r+1} = \binom{n}{r} a^{n-r} b^r$ with $a$ and $b$ taken from the bracket.写下通项 $T_{r+1} = \binom{n}{r} a^{n-r} b^r$,其中 $a$、$b$ 取自括号。
- Simplify the powers and isolate the exponent on $x$.化简各幂,整理出 $x$ 的总指数。
- Set the exponent equal to the target value and solve for $r$. Substitute that $r$ back into the general term.把 $x$ 指数等于目标值,解出 $r$,再代回通项。
Find the coefficient of $x^7$ in the expansion of $(2x - 3)^{12}$.求 $(2x - 3)^{12}$ 展开中 $x^7$ 的系数。
General term.写通项。 With $a = 2x$, $b = -3$, $n = 12$:$a = 2x$、$b = -3$、$n = 12$:
$$ T_{r+1} \;=\; \binom{12}{r} (2x)^{12 - r} (-3)^r \;=\; \binom{12}{r} 2^{12-r} (-3)^r \cdot x^{12-r}. $$Match the target exponent.匹配目标指数。 Want $x^7$, so $12 - r = 7 \Rightarrow r = 5$.要 $x^7$,故 $12 - r = 7 \Rightarrow r = 5$。
Evaluate at $r = 5$.代入 $r = 5$。
$$ \text{coefficient} = \binom{12}{5} \cdot 2^{7} \cdot (-3)^{5} = 792 \cdot 128 \cdot (-243). $$ $$ = 792 \cdot 128 \cdot (-243) = 792 \cdot (-31\,104) = -24\,634\,368. $$Sanity-check the sign.符号合理性核验。 $(-3)^5 = -243$ is negative, $\binom{12}{5}$ and $2^7$ are positive , the coefficient is negative, as expected.$(-3)^5 = -243$ 为负,$\binom{12}{5}$、$2^7$ 为正 , 系数为负,与预期一致。
Find the constant term (the term independent of $x$, i.e. the $x^0$ term) in the expansion of $(x + 1/x)^{10}$.求 $(x + 1/x)^{10}$ 展开中的常数项($x^0$ 项)。
General term.写通项。 With $a = x$, $b = x^{-1}$, $n = 10$:$a = x$、$b = x^{-1}$、$n = 10$:
$$ T_{r+1} = \binom{10}{r} x^{10-r} (x^{-1})^r = \binom{10}{r} x^{10 - 2r}. $$Match the target exponent.匹配目标指数。 Want $x^0$, so $10 - 2r = 0 \Rightarrow r = 5$.要 $x^0$,故 $10 - 2r = 0 \Rightarrow r = 5$。
Evaluate.求值。
$$ \text{constant term} = \binom{10}{5} = 252. $$Pitfall.陷阱。 Don't forget that the exponent on the bracket containing the negative power adds minus $r$ to the running exponent on $x$, not plus. The pattern $x^{10 - 2r}$ already encodes this. If the bracket were $(x^2 + 1/x)^{10}$ instead, the exponent would be $2(10 - r) - r = 20 - 3r$, and the constant-term equation would be $20 - 3r = 0 \Rightarrow r = 20/3$, no solution , no constant term exists for that bracket.注意:负次幂括号给 $x$ 总指数加的是$-r$而非 $+r$。$x^{10-2r}$ 已编入此结构。若把括号改为 $(x^2 + 1/x)^{10}$,则总指数为 $2(10 - r) - r = 20 - 3r$,令 $20 - 3r = 0$ 得 $r = 20/3$,无整数解 , 该括号无常数项。
Counting Subsets and Combinatorial Identities Honors — US Alg 2 / AP-feeder子集计数与组合恒等式 荣誉 — US Alg 2 / AP 衔接
- Algebraic derivation.代数推导。 Set $a = b = 1$ in the Binomial Theorem: $(1 + 1)^n = \sum \binom{n}{r} \cdot 1^{n-r} \cdot 1^r = \sum \binom{n}{r}$, and the left side is $2^n$. Set $a = 1, b = -1$: $(1 + (-1))^n = \sum \binom{n}{r}(-1)^r$, and the left side is $0^n = 0$ for $n \ge 1$.在二项式定理中令 $a = b = 1$:$(1 + 1)^n = \sum \binom{n}{r} \cdot 1^{n-r} \cdot 1^r = \sum \binom{n}{r}$,左边即 $2^n$。再令 $a = 1, b = -1$:$(1 - 1)^n = \sum \binom{n}{r}(-1)^r$,左边为 $0^n = 0$($n \ge 1$)。
- Combinatorial reading of the first identity (double counting).第一个恒等式的组合诠释(双重计数)。 $\binom{n}{r}$ counts subsets of an $n$-set with exactly $r$ elements. Summing over all $r$ counts all subsets, partitioned by size. Independently, the total number of subsets of an $n$-set is $2^n$ (each element is "in" or "out", $2$ choices, $n$ independent stages, multiplication rule). Two counts of the same set $\Rightarrow$ identity.第一个恒等式的组合解释:$\binom{n}{r}$ 是 $n$ 元集恰含 $r$ 个元素的子集数;对所有 $r$ 求和即按大小划分计数全部子集。另一方面,$n$ 元集的子集总数为 $2^n$(每个元素"取或不取"两种,$n$ 个独立阶段,乘法原理)。同一集合的两种计数 $\Rightarrow$ 恒等。
- Combinatorial reading of the second identity.第二个恒等式的组合诠释。 For $n \ge 1$, the number of even-sized subsets of an $n$-set equals the number of odd-sized subsets. (Pair any subset $A$ with $A \triangle \{e\}$ for a fixed element $e$ , this is a bijection between even-size and odd-size subsets.)$n \ge 1$ 时,$n$ 元集中偶数大小子集数 = 奇数大小子集数。(固定一元素 $e$,把任一子集 $A$ 与对称差 $A \triangle \{e\}$ 配对 , 这是偶 / 奇大小子集间的双射。)
Verify that $\sum_{r=0}^{6} \binom{6}{r} = 2^6$, both by directly evaluating each term and by the in/out argument. Then count separately the number of subsets of $\{1, 2, 3, 4, 5, 6\}$ of even size and of odd size, and confirm the second identity.用两种方法验证 $\sum_{r=0}^{6} \binom{6}{r} = 2^6$:逐项计算 与"取 / 不取"论证。然后分别计算 $\{1, 2, 3, 4, 5, 6\}$ 中偶数大小与奇数大小子集的数目,确认第二个恒等式。
Row $6$ of Pascal's triangle.帕斯卡三角形第 $6$ 行。 $\binom{6}{0}, \binom{6}{1}, \binom{6}{2}, \binom{6}{3}, \binom{6}{4}, \binom{6}{5}, \binom{6}{6} = 1, 6, 15, 20, 15, 6, 1$.
Direct sum.直接求和。
$$ 1 + 6 + 15 + 20 + 15 + 6 + 1 \;=\; 64 \;=\; 2^6. \;\checkmark $$In / out argument."取 / 不取"论证。 For each of the $6$ elements, decide independently whether it is in the subset. Two choices per element, $6$ elements, multiplication rule $\Rightarrow 2^6 = 64$ subsets.对 $6$ 个元素中的每一个,独立决定是否属于子集。每元素 $2$ 种选择,共 $6$ 元素,由乘法原理共 $2^6 = 64$ 个子集。
Even-size count.偶数大小计数。 $\binom{6}{0} + \binom{6}{2} + \binom{6}{4} + \binom{6}{6} = 1 + 15 + 15 + 1 = 32$.$\binom{6}{0} + \binom{6}{2} + \binom{6}{4} + \binom{6}{6} = 1 + 15 + 15 + 1 = 32$。
Odd-size count.奇数大小计数。 $\binom{6}{1} + \binom{6}{3} + \binom{6}{5} = 6 + 20 + 6 = 32$.$\binom{6}{1} + \binom{6}{3} + \binom{6}{5} = 6 + 20 + 6 = 32$。
Verify the alternating-sum identity.验证交替求和恒等式。 $\text{even} - \text{odd} = 32 - 32 = 0 = \sum (-1)^r \binom{6}{r}$ ✓.$\text{even} - \text{odd} = 32 - 32 = 0 = \sum (-1)^r \binom{6}{r}$ ✓。
Exam Strategy and Common Pitfalls考试策略与常见陷阱
- Order? Repetition? Replacement?顺序?重复?放回? Before writing any formula, answer these three questions about the problem. Order matters $\Rightarrow$ permutation. Order doesn't matter $\Rightarrow$ combination. Repetition allowed $\Rightarrow$ multiplication of $n$ choices each stage. No repetition $\Rightarrow$ falling factors.写公式之前先回答三件事:顺序是否要紧$\Rightarrow$排列 / 组合的判别;是否允许重复$\Rightarrow$每阶段 $n$ 选 vs 降乘;是否放回$\Rightarrow$有放回 vs 无放回。
- Choose the formula by what you are counting.按"在数什么"选公式。 Stages $\Rightarrow$ multiplication rule. Ordered arrangements $\Rightarrow$ $n!$ or $_nP_r$. Unordered selections $\Rightarrow$ $\binom{n}{r}$. Expand $(a+b)^n$ $\Rightarrow$ Binomial Theorem.阶段 $\Rightarrow$ 乘法原理;有序排列 $\Rightarrow$ $n!$ 或 $_nP_r$;无序选取 $\Rightarrow$ $\binom{n}{r}$;展开 $(a+b)^n$ $\Rightarrow$ 二项式定理。
- Calculator keys.计算器按键。 $n!$ is usually under
MATH$\to$PRB. $_nP_r$ and $_nC_r$ have their own keys. AB Math 30-1 indicator 5.2 expects fluent use of these keys for problems involving large $n$.$n!$ 通常在MATH$\to$PRB菜单下;$_nP_r$、$_nC_r$ 有专属按键。AB Math 30-1 指标 5.2 要求 $n$ 较大时熟练使用这些键。
- "Choose $r$ from $n$, but with identical objects.""从 $n$ 中选 $r$,含相同元素"。 Divide $n!$ by the factorial of each repeat-count. MISSISSIPPI is the canonical example; AB Math 30-1 indicator 2.6 names this case by name.用 $n!$ 除以各重复次数的阶乘。MISSISSIPPI 是经典例题;AB Math 30-1 指标 2.6 明确点名此情形。
- "At least" and "at most" problems split by cases."至少"、"至多"题目需分情形。 "At least $2$ red marbles" $\Rightarrow$ sum the cases $r = 2, 3, \ldots$ separately. Sometimes the complement is easier: $\text{at least } 1 = \text{total} - \text{(none)}$."至少 2 个红球" $\Rightarrow$ 分别求 $r = 2, 3, \ldots$ 再相加。有时补集更简单:至少 $1$ 个 $=$ 总数 $-$ 零个。
- Permutation vs combination check.排列与组合的判别。 If swapping two of the chosen items gives the same answer, you want a combination. If it gives a different arrangement, you want a permutation. AB Math 30-1 indicator 3.1 expects you to "explain, using examples, the difference between a permutation and a combination."若交换两个选取项答案相同,用组合;若变成不同安排,用排列。AB Math 30-1 指标 3.1 要求"用例子解释排列与组合的区别"。
- Always write the general term first.先写通项。 $T_{r+1} = \binom{n}{r} a^{n-r} b^r$. Then substitute the actual $a$, $b$, $n$ from the bracket. The general term encodes everything you need to find the coefficient of $x^k$ or the constant term.$T_{r+1} = \binom{n}{r} a^{n-r} b^r$。再代入括号中的实际 $a$、$b$、$n$。通项已包含求 $x^k$ 系数或常数项所需的全部信息。
- Negative powers.负次幂。 If the bracket has $1/x$ or $1/x^k$, the exponent on $x$ in $T_{r+1}$ becomes $a$-power minus $b$-power. Set the combined exponent equal to the target value to solve for $r$.括号含 $1/x$ 或 $1/x^k$ 时,$T_{r+1}$ 中 $x$ 的指数为 $a$ 的幂减 $b$ 的幂。把合并指数等于目标值求 $r$。
- Sign discipline.符号纪律。 If $b$ is negative (e.g. $(2x - 3)^{12}$), the coefficient is $\binom{n}{r} \cdot (\text{positive})^{n-r} \cdot (-3)^r$ , the sign alternates as $r$ varies. Read the sign off $(-3)^r$ directly; do not forget it.若 $b$ 为负(如 $(2x - 3)^{12}$),系数为 $\binom{n}{r} \cdot (\text{pos})^{n-r} \cdot (-3)^r$ , 符号随 $r$ 交替。直接从 $(-3)^r$ 读符号,切勿遗漏。
- Indexing trap.编号陷阱。 The first term of the expansion is $T_1$ (corresponding to $r = 0$), not $T_0$. "The $5$th term" means $r = 4$, not $r = 5$. AB Math 30-1 indicator 4.6 expects fluent indexing.展开第一项为 $T_1$(对应 $r = 0$),不是 $T_0$。"第 $5$ 项"意味着 $r = 4$,不是 $r = 5$。AB Math 30-1 指标 4.6 要求熟练编号。
- Memorise $\sum \binom{n}{r} = 2^n$.背熟 $\sum \binom{n}{r} = 2^n$。 Recognise it the moment you see "sum the binomial coefficients in row $n$." The derivation $a = b = 1$ in the Binomial Theorem is the fastest path back if you blank on the value.看到"第 $n$ 行二项系数求和"立刻识别。若临时忘记,最快回路:在二项式定理中令 $a = b = 1$。
- Double counting.双重计数。 When you can count the same set two different ways, set the two counts equal , that's the identity. The cleanest proof of $\sum \binom{n}{r} = 2^n$ uses this technique (in / out per element vs sum over subset sizes).同一集合的两种计数相等 , 即为恒等式。$\sum \binom{n}{r} = 2^n$ 的最简洁证明即用此法(每元素"取 / 不取"vs 按大小求和)。
- AP-feeder connection.AP 衔接。 $\binom{n}{r}$ reappears in AP Statistics as the binomial-distribution coefficient $\binom{n}{r} p^r (1-p)^{n-r}$. The combinatorial identities in this section underwrite the proof that the binomial probabilities sum to $1$.$\binom{n}{r}$ 在 AP Statistics 中重新出现,作为二项分布系数 $\binom{n}{r} p^r (1-p)^{n-r}$。本节的组合恒等式支撑"二项概率和为 $1$"的证明。
Flashcards闪卡
Order doesn't matter $\Rightarrow$ combination $\binom{n}{r}$.顺序要紧 $\Rightarrow$ 排列 $_nP_r$。
顺序不要紧 $\Rightarrow$ 组合 $\binom{n}{r}$。
Practice Quiz综合测验
Readiness Checklist准备就绪清单
Tick each item when you can do it cold, without notes, on a first attempt.能在无笔记、首次尝试下完成,再勾选每一项。
- State the fundamental counting principle and decide when independent stages multiply versus add. 🇨🇦 AB Math 30-1 SO 1说出基本计数原理,并判断独立阶段何时相乘、何时相加。🇨🇦 AB Math 30-1 SO 1
- Evaluate $n!$, $_nP_r$, and $\binom{n}{r}$ for small $n$ and $r$ by hand, and locate the calculator keys for each.手算小 $n$、$r$ 时的 $n!$、$_nP_r$、$\binom{n}{r}$,并知道计算器按键位置。
- Distinguish a permutation from a combination by the "does order matter?" test, and apply the correct formula. 🇨🇦 AB Math 30-1 SO 3.1用"顺序是否要紧"判别排列与组合,并套用相应公式。🇨🇦 AB Math 30-1 SO 3.1
- Handle identical-element permutations using $\dfrac{n!}{k_1! \cdots k_m!}$ (MISSISSIPPI / STATISTICS style). 🇨🇦 AB Math 30-1 SO 2.6用 $\dfrac{n!}{k_1! \cdots k_m!}$ 处理含相同元素的排列(MISSISSIPPI / STATISTICS 类)。🇨🇦 AB Math 30-1 SO 2.6
- Apply the symmetry $\binom{n}{r} = \binom{n}{n-r}$ to simplify or to choose the easier-to-compute side. 🇨🇦 AB Math 30-1 SO 3.5运用对称性 $\binom{n}{r} = \binom{n}{n-r}$ 化简或选取较易计算的一侧。🇨🇦 AB Math 30-1 SO 3.5
- Build Pascal's triangle row by row using Pascal's rule $\binom{n}{r} + \binom{n}{r+1} = \binom{n+1}{r+1}$. 🇨🇦 AB Math 30-1 SO 4.2用帕斯卡规则 $\binom{n}{r} + \binom{n}{r+1} = \binom{n+1}{r+1}$ 逐行构造帕斯卡三角形。🇨🇦 AB Math 30-1 SO 4.2
- State and apply the Binomial Theorem $(a + b)^n = \sum \binom{n}{r} a^{n-r} b^r$, including the count of $n + 1$ terms. 🇺🇸 CCSSM HSA-APR.C.5 (+)写出并应用二项式定理 $(a + b)^n = \sum \binom{n}{r} a^{n-r} b^r$,含 $n + 1$ 项的计数。🇺🇸 CCSSM HSA-APR.C.5 (+)
- Expand $(a + b)^n$ in full for small $n$ ($n \le 6$) using either the Binomial Theorem or row $n$ of Pascal's triangle. 🇨🇦 AB Math 30-1 SO 4.5对小 $n$($n \le 6$)用二项式定理或帕斯卡三角形第 $n$ 行完整展开 $(a + b)^n$。🇨🇦 AB Math 30-1 SO 4.5
- Find the coefficient of $x^k$ in $(ax + b)^n$ via the general term and exponent-matching. 🇨🇦 AB Math 30-1 SO 4.6通过通项与匹配指数,求 $(ax + b)^n$ 中 $x^k$ 的系数。🇨🇦 AB Math 30-1 SO 4.6
- Find the constant term in $(ax + b/x^k)^n$ by combining positive and negative powers and solving the resulting linear equation for $r$.在 $(ax + b/x^k)^n$ 中合并正负次幂,解出 $r$ 的线性方程后求常数项。
- AP-feeder Quote and apply both row-sum identities: $\sum_r \binom{n}{r} = 2^n$ (subset count) and $\sum_r (-1)^r \binom{n}{r} = 0$ (even-size = odd-size).AP 衔接 写出并应用两个行求和恒等式:$\sum_r \binom{n}{r} = 2^n$(子集数)与 $\sum_r (-1)^r \binom{n}{r} = 0$(偶大小数 = 奇大小数)。
- AP-feeder Explain $\sum \binom{n}{r} = 2^n$ via a double-counting argument: subsets counted by size on the left, by "in / out per element" on the right.AP 衔接 用双重计数解释 $\sum \binom{n}{r} = 2^n$:左侧按子集大小数,右侧用"每元素取 / 不取"数。
What This Feeds Into本单元的去向
Combinatorics is the gateway to probability. The binomial coefficient $\binom{n}{r}$ becomes the binomial-distribution coefficient in AP Statistics; the Binomial Theorem reappears in Taylor / Maclaurin series at AP Calculus BC level; the counting identities feed into discrete-probability and inclusion-exclusion arguments at the IB Math AA HL Topic A3 level. The cross-references below point at units already shipped in this repo.组合学是通往概率的入口。二项式系数 $\binom{n}{r}$ 在 AP Statistics 中作为二项分布系数登场;二项式定理在 AP Calc BC 的泰勒 / 麦克劳林级数中重现;本节计数恒等式为 IB Math AA HL Topic A3 的离散概率与容斥原理提供基础。下方链接指向本仓库中已有的相关单元。
Within High School Math.在 HS Math 内部。
Unit 13 (Probability and Statistics Foundations) is the natural sequel: the same $\binom{n}{r}$ from §3 becomes the coefficient $P(X = r) = \binom{n}{r} p^r (1-p)^{n-r}$ in the binomial distribution. Unit 6 (Sequences and Series) shares the sigma-notation language used throughout §5-§7. Unit 3 (Polynomial Functions) used the Binomial Theorem implicitly when expanding $(x + h)^n$ for difference-quotient work , this unit gives the closed-form expansion you were using on faith.Unit 13(概率与统计基础)是自然的延续:§3 中的 $\binom{n}{r}$ 在二项分布中成为系数 $P(X = r) = \binom{n}{r} p^r (1-p)^{n-r}$。Unit 6(数列与级数)与本单元 §5-§7 共用 sigma 记号。Unit 3(多项式函数)在展开 $(x + h)^n$ 处理差商时已隐式用过二项式定理 , 本单元给出当时凭直觉接受的封闭式展开。
Across the AP and IB feeders in this repo.本仓库中的 AP 与 IB 衔接单元。
If you are aiming for AP Statistics, expect $\binom{n}{r}$ to appear on the very first day of binomial-distribution work; you need fluency in evaluating it without slowing down. If you are aiming for AP Calculus BC, the Taylor / Maclaurin series for $(1 + x)^n$ uses the same coefficient pattern. For IB Math AA HL, Topic A3 picks up directly where §7 leaves off , extended binomial expansion and combinatorial identities are core HL content.备考 AP Statistics:第一天接触二项分布时 $\binom{n}{r}$ 就登场,要做到不假思索熟练求值。备考 AP Calculus BC:$(1 + x)^n$ 的泰勒 / 麦克劳林级数用相同系数模式。备考 IB Math AA HL:Topic A3 正是从 §7 接续 , 广义二项展开与组合恒等式为 HL 核心内容。