High School Math

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)证明。

7 sections7 节内容 US CCSSM · ON MHF4U / MDM4U · BC PC 12 · AB Math 30-1US CCSSM · ON MHF4U / MDM4U · BC PC 12 · AB Math 30-1 Honors / AP-feeder for USUS:荣誉级 / AP 衔接

The Fundamental Counting Principle Honors: US Alg 2 / AP-feeder基本计数原理 荣誉:US Alg 2 / AP 衔接

Learning objectives学习目标
  • State the fundamental counting principle and explain why the numbers of choices at independent stages are multiplied, not added.
  • Calculate the number of outcomes of a multi-stage task, with and without repetition.
  • Draw a tree diagram for a two-stage task and count its leaves.
  • Count a task with a restriction by splitting it into separate cases, multiplying within each case and adding the cases.
  • 陈述基本计数原理(fundamental counting principle),并解释为何独立阶段的方式数应相乘而不是相加。
  • 计算多阶段任务的结果数(calculate),分有重复和无重复两种情形。
  • 为两阶段任务画树状图(tree diagram),并数出叶节点。
  • 对带限制条件的任务,分成互斥的情形计数:情形内相乘,情形之间相加。
Multiplication rule, the engine of all counting.乘法原理,一切计数的引擎。

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 同样点名树状图)。
Shirt: 2 choices上衣:2 种 Pants: 3 choices裤子:3 种 Start开始 Red红衣 Blue蓝衣 1. Red, Jeans1. 红衣,牛仔裤 2. Red, Shorts2. 红衣,短裤 3. Red, Slacks3. 红衣,长裤 4. Blue, Jeans4. 蓝衣,牛仔裤 5. Blue, Shorts5. 蓝衣,短裤 6. Blue, Slacks6. 蓝衣,长裤 2 × 3 = 6 outfits2 × 3 = 6 套搭配
Figure 1. Tree diagram for $2$ shirts and $3$ pants. Each shirt branch splits into the same $3$ pants branches, so the tree has $2 \cdot 3 = 6$ leaves. Count the labelled leaves, then check that the product $2 \cdot 3$ gives the same total.图 1. $2$ 件上衣、$3$ 条裤子的树状图。每条上衣分支都分出相同的 $3$ 条裤子分支,所以树有 $2 \cdot 3 = 6$ 个叶节点。先数出有编号的叶节点,再核对乘积 $2 \cdot 3$ 得到同一总数。
Worked Example 1: License plate count例题 1:车牌号计数

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.无放回应少于有放回:$78.6$ 百万 $< 175.8$ 百万 ✓。比值 $N_b / N_a \approx 0.447$,约 $45\%$ 车牌字母与数字均无重复。

Worked Example 2: Even 3-digit numbers with no repeated digit例题 2:无重复数字的三位偶数

How many $3$-digit numbers (from $100$ to $999$) are even and have no repeated digit?有多少个 $3$ 位数($100$ 至 $999$)是偶数且数字互不重复?

Split into two cases.分成两种情形。 The last digit is the restricted stage, and $0$ behaves differently from $2, 4, 6, 8$ because the first digit cannot be $0$. The cases cannot overlap, so their counts will be added.末位是有限制的阶段,而 $0$ 与 $2, 4, 6, 8$ 的处理不同,因为首位不能为 $0$。两种情形互斥,所以最后把结果相加。

Case 1: last digit $0$.情形 1:末位为 $0$。 Fill the last digit first ($1$ way). The first digit has $9$ choices (not $0$), the middle digit has $8$ (not used yet and not the first digit):先填末位($1$ 种)。首位有 $9$ 种(非 $0$),中间位有 $8$ 种(排除已用的两个数字):

$$ 9 \cdot 8 \cdot 1 = 72. $$

Case 2: last digit $2, 4, 6$ or $8$.情形 2:末位为 $2, 4, 6$ 或 $8$。 Last digit: $4$ ways. First digit: not $0$ and not the last digit, so $8$ ways. Middle digit: not the two used, so $8$ ways:末位:$4$ 种。首位:非 $0$ 且不同于末位,$8$ 种。中间位:排除已用的两个数字,$8$ 种:

$$ 4 \cdot 8 \cdot 8 = 256. $$

Add the cases.把两种情形相加。

$$ 72 + 256 = 328. $$

Why this works.为何成立。 Within a case the stages multiply; between disjoint cases the counts add. Filling the restricted last digit first keeps every later count a single number.同一情形内各阶段相乘;互斥情形之间结果相加。先填有限制的末位,可使后面每一步的方式数都是确定的数。

Exam tip考试提示

Command words such as determine and how many expect the stages written out as a product before any arithmetic, for example $3 \cdot 4 \cdot 2$. Common errors: adding the stage counts, and filling the unrestricted stage first. Start with the most restricted stage (a leading digit that cannot be $0$, a last digit that must be even).

determine、how many 一类指令词要求先把各阶段写成乘积(如 $3 \cdot 4 \cdot 2$),再做算术。常见错误:把各阶段方式数相加;先填没有限制的阶段。应先处理限制最多的阶段(不能为 $0$ 的首位、必须为偶数的末位)。

Check your understanding自我检测
A menu has $3$ soups, $4$ mains and $2$ drinks. How many meals of one soup, one main and one drink are possible? Explain why $3 + 4 + 2$ is not the answer.菜单有 $3$ 种汤、$4$ 种主菜、$2$ 种饮料。一份汤、一份主菜、一份饮料的套餐共有多少种?解释为何 $3 + 4 + 2$ 不是答案。

$3 \cdot 4 \cdot 2 = 24$ meals. Adding counts the number of single items; it ignores that every soup can be paired with every main and every drink.

$3 \cdot 4 \cdot 2 = 24$ 种。相加只数出了单品的个数,忽略了每种汤可与每种主菜、每种饮料搭配。

How many $3$-letter strings can be made from the $26$ letters if no letter is repeated?用 $26$ 个字母组成 $3$ 个字母的字符串,字母不得重复,共有多少个?

Three stages with one fewer choice each time: $26 \cdot 25 \cdot 24 = 15\,600$.

三个阶段,每次少一种选择:$26 \cdot 25 \cdot 24 = 15\,600$。

How many odd $4$-digit numbers (from $1000$ to $9999$) are there?$1000$ 到 $9999$ 之间有多少个奇数的 $4$ 位数?

Fill the restricted stages first. First digit: $9$ choices ($1$ to $9$). Middle two digits: $10$ each. Last digit: $5$ choices ($1, 3, 5, 7, 9$). Total $9 \cdot 10 \cdot 10 \cdot 5 = 4500$.

先填有限制的位。首位:$9$ 种($1$ 至 $9$)。中间两位:各 $10$ 种。末位:$5$ 种($1, 3, 5, 7, 9$)。共 $9 \cdot 10 \cdot 10 \cdot 5 = 4500$。

A 4-digit PIN is chosen from $\{0,1,2,\ldots,9\}$. How many PINs are possible if (i) repetition is allowed, and (ii) repetition is not allowed?从 $\{0,1,2,\ldots,9\}$ 中取一个 4 位 PIN:(i) 允许重复、(ii) 不允许重复时,分别有多少种?
§1 · Q1
$10\,000$ and与 $5\,040$
$10\,000$ and与 $24$
$40$ and与 $40$
$9\,000$ and与 $5\,040$
(i) $10 \cdot 10 \cdot 10 \cdot 10 = 10\,000$. (ii) $10 \cdot 9 \cdot 8 \cdot 7 = 5\,040$.(i) $10 \cdot 10 \cdot 10 \cdot 10 = 10\,000$。(ii) $10 \cdot 9 \cdot 8 \cdot 7 = 5\,040$。
With replacement: every slot has $10$ options $\Rightarrow 10^4$. Without replacement: subtract one per slot $\Rightarrow 10 \cdot 9 \cdot 8 \cdot 7$.有放回:每位 $10$ 种 $\Rightarrow 10^4$。无放回:每位减一 $\Rightarrow 10 \cdot 9 \cdot 8 \cdot 7$。
A restaurant offers $5$ appetisers, $7$ mains, and $4$ desserts. How many distinct three-course meals are possible?某餐厅提供 $5$ 道前菜、$7$ 道主菜、$4$ 道甜点。可组成多少种不同的三道菜套餐?
§1 · Q2
$16$
$35$
$140$
$455$
Three independent stages: $5 \cdot 7 \cdot 4 = 140$. Multiply, not add (adding would give $16$, the wrong choice).三个独立阶段:$5 \cdot 7 \cdot 4 = 140$。乘而非加(相加得 $16$,错)。
The fundamental counting principle says: independent stages multiply. Adding the counts misses the cross-combinations.基本计数原理:独立阶段相乘。相加会漏掉交叉组合。

Factorials and Permutations: ordered selection Honors: US Alg 2 / AP-feeder阶乘与排列:有序选取 荣誉:US Alg 2 / AP 衔接

Learning objectives学习目标
  • Evaluate factorial expressions and simplify quotients such as $\dfrac{9!}{7!}$.
  • Calculate ${}_nP_r$ and decide that a permutation is needed because order matters.
  • Determine the number of arrangements of $n$ objects when some of them are identical.
  • 求阶乘(factorial)的值,并化简如 $\dfrac{9!}{7!}$ 的商。
  • 计算 ${}_nP_r$,并说明因顺序要紧而需要用排列(permutation)。
  • 求含相同元素的 $n$ 个物体的排列数(determine)。
Definitions in two lines.两行说清定义。 $$ n! \;=\; n(n-1)(n-2)\cdots 2 \cdot 1, \qquad 0! \;=\; 1. $$ $$ {}_nP_r \;=\; \frac{n!}{(n-r)!} \;=\; n(n-1)(n-2)\cdots(n-r+1) \quad \text{($r$ factors)}. $$
  • 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!}. $$
Worked Example 3: Arranging distinct objects例题 3:排列不同物体

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$ ✓。

Worked Example 4: MISSISSIPPI例题 4:MISSISSIPPI

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! = 39.9$ 百万。除以重复 I、S、P 造成的重复计数约 $1\,150$ 倍,与 $24 \cdot 24 \cdot 2$ 一致。

Exam tip考试提示

For how many arrangements, state $n$ and $r$ (or the repeat counts) before you compute. Common errors: using ${}_nP_r$ when order does not matter, forgetting to divide by the factorial of each repeated letter, and treating $0!$ as $0$ (it is $1$). A calculator factorial key overflows quickly; cancel first, as in $\dfrac{9!}{7!} = 9 \cdot 8$.

对“有多少种排列”,先写出 $n$ 与 $r$(或各重复次数)再计算。常见错误:顺序不要紧时仍用 ${}_nP_r$;忘记除以每个重复字母次数的阶乘;把 $0!$ 当成 $0$(实为 $1$)。计算器的阶乘键很快溢出,应先约分,如 $\dfrac{9!}{7!} = 9 \cdot 8$。

Check your understanding自我检测
Evaluate $\dfrac{9!}{7!}$ and state the value of $0!$.求 $\dfrac{9!}{7!}$ 的值,并写出 $0!$ 的值。

$\dfrac{9!}{7!} = 9 \cdot 8 = 72$. By definition $0! = 1$ (this keeps ${}_nP_n = \dfrac{n!}{0!} = n!$ correct).

$\dfrac{9!}{7!} = 9 \cdot 8 = 72$。按定义 $0! = 1$(这样 ${}_nP_n = \dfrac{n!}{0!} = n!$ 才成立)。

In a race with $8$ runners, in how many ways can gold, silver and bronze be awarded?$8$ 名选手比赛,金、银、铜牌共有多少种颁发方式?

The medals are different, so order matters: ${}_8P_3 = 8 \cdot 7 \cdot 6 = 336$.

奖牌不同,顺序要紧:${}_8P_3 = 8 \cdot 7 \cdot 6 = 336$。

How many distinguishable arrangements are there of the letters of STATISTICS? ($10$ letters: $3$ S, $3$ T, $1$ A, $2$ I, $1$ C.)单词 STATISTICS($10$ 个字母:$3$ 个 S、$3$ 个 T、$1$ 个 A、$2$ 个 I、$1$ 个 C)有多少种不同排列?

$\dfrac{10!}{3! \cdot 3! \cdot 1! \cdot 2! \cdot 1!} = \dfrac{3\,628\,800}{72} = 50\,400$.

$\dfrac{10!}{3! \cdot 3! \cdot 1! \cdot 2! \cdot 1!} = \dfrac{3\,628\,800}{72} = 50\,400$。

Compute $_8P_3$.求 $_8P_3$。
§2 · Q1
$56$
$336$
$512$
$40\,320$
$_8P_3 = 8!/(8-3)! = 8 \cdot 7 \cdot 6 = 336$. (Option (a) is $\binom{8}{3} = 56$, the corresponding combination, see §3.)$_8P_3 = 8!/(8-3)! = 8 \cdot 7 \cdot 6 = 336$。(选项 (a) 是 $\binom{8}{3} = 56$,相应的组合,见 §3。)
$_nP_r = n(n-1)(n-2)\cdots$ for $r$ factors. Three falling factors starting at $8$: $8 \cdot 7 \cdot 6$.$_nP_r = n(n-1)(n-2)\cdots$(共 $r$ 项)。从 $8$ 起的三连降乘:$8 \cdot 7 \cdot 6$。
How many distinguishable letter arrangements does BANANA have? ($6$ letters: $1$ B, $3$ A, $2$ N.)单词 BANANA($6$ 字母:$1$ 个 B、$3$ 个 A、$2$ 个 N)有多少种不同排列?
§2 · Q2
$720$
$120$
$60$
$30$
$\dfrac{6!}{1! \cdot 3! \cdot 2!} = \dfrac{720}{1 \cdot 6 \cdot 2} = \dfrac{720}{12} = 60$.$\dfrac{6!}{1! \cdot 3! \cdot 2!} = \dfrac{720}{1 \cdot 6 \cdot 2} = \dfrac{720}{12} = 60$。
Divide $n!$ by the factorial of each repeat count: $6! / (3! \cdot 2!)$. Don't forget the $1!$ for B, which equals $1$ and is silent.用 $n!$ 除以各重复数的阶乘:$6! / (3! \cdot 2!)$。B 出现 $1$ 次的 $1!$ 为 $1$,写不写都行。

Combinations: unordered selection Honors: US Alg 2 / AP-feeder组合:无序选取 荣誉:US Alg 2 / AP 衔接

Learning objectives学习目标
  • Explain, using an example, the difference between a permutation and a combination.
  • Calculate $\binom{n}{r}$ by the formula and by dividing ${}_nP_r$ by $r!$.
  • Count selections made from several groups by multiplying combinations.
  • Count "at least one" selections by subtracting the complement from the total.
  • 用例子解释排列与组合(combination)的区别(explain)。
  • 用公式以及 ${}_nP_r$ 除以 $r!$ 两种方式计算 $\binom{n}{r}$。
  • 对从多个组中取人或取物的选法,用组合相乘计数。
  • 对“至少一个”的选法,用总数减去对立情形计数。
Combination formula in one line.一行公式说清组合。 $$ {}_nC_r \;=\; \binom{n}{r} \;=\; \frac{n!}{r! \, (n-r)!} \;=\; \frac{{}_nP_r}{r!}. $$
  • 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$ 是计算器按键形式。两者相同。
Permutations: 6排列:6 种 Combinations: 3组合:3 种 ABAB BABA {A, B}{A, B} ACAC CACA {A, C}{A, C} BCBC CBCB {B, C}{B, C} Each set appears in 2! = 2 orders, so 6 ÷ 2 = 3.每个集合对应 2! = 2 种顺序,所以 6 ÷ 2 = 3。
Figure 2. Choosing $2$ of the letters $A, B, C$. Order matters on the left: $AB$ and $BA$ are different, giving $6$ permutations. Order is ignored on the right: each set such as $\{A, B\}$ collects its $2! = 2$ orderings, giving $3$ combinations. Read the lines to see which pairs merge.图 2. 从字母 $A, B, C$ 中选 $2$ 个。左侧顺序要紧:$AB$ 与 $BA$ 不同,共 $6$ 种排列。右侧忽略顺序:每个集合如 $\{A, B\}$ 收拢它的 $2! = 2$ 种顺序,共 $3$ 种组合。沿连线看哪些有序对合并为同一组合。
Worked Example 5: Choosing a committee例题 5:选委员会

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 3 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 $3$-person set.例 3 中有序版本 $_{10}P_3 = 720$。除以 $3! = 6$ 得 $120$,与本题一致。$6$ 倍即固定 $3$ 人集合的 $3! = 6$ 种排列。

Worked Example 6: Choosing a team with conditions例题 6:有条件地选队

A class has $7$ boys and $5$ girls. A team of $4$ is chosen. (a) How many teams have exactly $2$ girls? (b) How many teams have at least $1$ girl?某班有 $7$ 名男生、$5$ 名女生,选出 $4$ 人组队。(a) 恰有 $2$ 名女生的队有多少种?(b) 至少有 $1$ 名女生的队有多少种?

(a) Exactly $2$ girls.(a) 恰有 $2$ 名女生。 Order does not matter inside a team. Choose the girls and the boys separately, then multiply:队内顺序不要紧。分别选女生和男生,再相乘:

$$ \binom{5}{2} \cdot \binom{7}{2} = 10 \cdot 21 = 210. $$

(b) At least $1$ girl.(b) 至少 $1$ 名女生。 Subtract the complement (no girls, so all $4$ are boys) from all possible teams:用全部队伍数减去对立情形(没有女生,即 $4$ 人全是男生):

$$ \binom{12}{4} - \binom{7}{4} = 495 - 35 = 460. $$

Why this works.为何成立。 "At least $1$ girl" would need the cases $1, 2, 3, 4$ girls added together; the complement needs one subtraction and gives the same $460$.“至少 $1$ 名女生”若直接算需把女生为 $1, 2, 3, 4$ 名的情形相加;用对立情形只需一次减法,同样得 $460$。

Exam tip考试提示

When a question says justify or explain, write one sentence on whether order matters before choosing ${}_nP_r$ or $\binom{n}{r}$. For "at least one", an answer that adds up many cases is slow and error-prone; compute the total minus the "none" case. Common error: adding the group counts instead of multiplying them in an "exactly $k$ of each type" selection.

题目出现 justify 或 explain 时,先用一句话说明顺序是否要紧,再选 ${}_nP_r$ 或 $\binom{n}{r}$。“至少一个”类题若逐个情形相加,既慢又易错;改用总数减去“一个也没有”的情形。常见错误:在“每类恰取 $k$ 个”的选法中把各组的方式数相加而不是相乘。

Check your understanding自我检测
From $9$ books, (i) $3$ are chosen to take on holiday and (ii) $3$ are arranged on a shelf in order. State whether each is a permutation or a combination, justify it, and calculate it.从 $9$ 本书中,(i) 选 $3$ 本带去度假;(ii) 取 $3$ 本在书架上按顺序排列。判断各为排列还是组合,说明理由并计算。

(i) Order does not matter, so a combination: $\binom{9}{3} = \dfrac{9 \cdot 8 \cdot 7}{3!} = 84$. (ii) The positions on the shelf differ, so a permutation: ${}_9P_3 = 9 \cdot 8 \cdot 7 = 504$. Note $504 / 3! = 84$.

(i) 顺序不要紧,是组合:$\binom{9}{3} = \dfrac{9 \cdot 8 \cdot 7}{3!} = 84$。(ii) 书架上的位置不同,是排列:${}_9P_3 = 9 \cdot 8 \cdot 7 = 504$。注意 $504 / 3! = 84$。

A pizza shop offers $8$ toppings. How many $3$-topping pizzas are possible, and how many of them include pepperoni?披萨店提供 $8$ 种配料。$3$ 种配料的披萨共有多少种?其中含意式香肠的有多少种?

Total: $\binom{8}{3} = 56$. With pepperoni fixed, choose the other $2$ toppings from the remaining $7$: $\binom{7}{2} = 21$.

总数:$\binom{8}{3} = 56$。固定含意式香肠,其余 $2$ 种配料从剩下的 $7$ 种中选:$\binom{7}{2} = 21$。

How many $5$-card hands from a standard $52$-card deck contain exactly $2$ hearts? (There are $13$ hearts and $39$ other cards.)标准 $52$ 张牌中,恰含 $2$ 张红桃的 $5$ 张手牌有多少种?(红桃 $13$ 张,其他牌 $39$ 张。)

Choose the hearts and the other cards separately and multiply: $\binom{13}{2} \cdot \binom{39}{3} = 78 \cdot 9139 = 712\,842$.

分别选红桃和其他牌,再相乘:$\binom{13}{2} \cdot \binom{39}{3} = 78 \cdot 9139 = 712\,842$。

Compute $\binom{8}{3}$.求 $\binom{8}{3}$。
§3 · Q1
$336$
$56$
$24$
$84$
$\binom{8}{3} = \dfrac{8 \cdot 7 \cdot 6}{3 \cdot 2 \cdot 1} = \dfrac{336}{6} = 56$. (Choice (a) $336$ is the corresponding permutation $_8P_3$.)$\binom{8}{3} = \dfrac{8 \cdot 7 \cdot 6}{3 \cdot 2 \cdot 1} = \dfrac{336}{6} = 56$。(选项 (a) $336$ 是相应的排列 $_8P_3$。)
$\binom{n}{r} = \dfrac{n(n-1)\cdots(n-r+1)}{r!}$. Falling factors in the numerator, $r!$ in the denominator.$\binom{n}{r} = \dfrac{n(n-1)\cdots(n-r+1)}{r!}$。分子为降乘,分母为 $r!$。
A standard $52$-card deck. How many distinct $5$-card poker hands are possible?标准 $52$ 张扑克牌。问可组成多少种不同的 $5$ 张手牌?
§3 · Q2
$311\,875\,200$
$380\,204\,032$
$2\,598\,960$
$25\,989\,600$
Order in a poker hand does not matter, so $\binom{52}{5} = \dfrac{52 \cdot 51 \cdot 50 \cdot 49 \cdot 48}{5!} = \dfrac{311\,875\,200}{120} = 2\,598\,960$. (Choice (a) $_{52}P_5 = 311.9$ M is the permutation, before dividing by $5!$.)手牌中顺序不要紧,$\binom{52}{5} = \dfrac{52 \cdot 51 \cdot 50 \cdot 49 \cdot 48}{5!} = \dfrac{311\,875\,200}{120} = 2\,598\,960$。(选项 (a) $_{52}P_5 = 3.119$ 亿是排列,未除以 $5!$。)
In a poker hand the cards are unordered, so you want a combination, not a permutation. Divide $_{52}P_5$ by $5!$.扑克手牌无序,应用组合而非排列。把 $_{52}P_5$ 除以 $5!$。

Symmetry and Pascal's Triangle Honors: US Alg 2 / AP-feeder对称性与帕斯卡三角形 荣誉:US Alg 2 / AP 衔接

Learning objectives学习目标
  • Build rows of Pascal's triangle by addition and read $\binom{n}{r}$ from row $n$, position $r$ (counting from $0$).
  • State and use the symmetry $\binom{n}{r} = \binom{n}{n-r}$ to simplify a coefficient.
  • Use Pascal's rule to combine two neighbouring coefficients and to verify an identity numerically.
  • Solve $\binom{n}{a} = \binom{n}{b}$ for $n$.
  • 用加法构造帕斯卡三角形各行,并从第 $n$ 行、第 $r$ 位(从 $0$ 起数)读出 $\binom{n}{r}$。
  • 陈述并运用对称性 $\binom{n}{r} = \binom{n}{n-r}$ 化简系数。
  • 用帕斯卡规则合并相邻两个系数,并用数值验证恒等式(verify)。
  • 解方程 $\binom{n}{a} = \binom{n}{b}$ 求 $n$。
Two identities that build Pascal's triangle.构造帕斯卡三角形的两个恒等式。 $$ \binom{n}{r} \;=\; \binom{n}{n-r} \qquad \text{(symmetry)}, $$ $$ \binom{n}{r} + \binom{n}{r+1} \;=\; \binom{n+1}{r+1} \qquad \text{(Pascal's rule)}. $$
  • 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$,中间项由上一行相邻两数相加而得。
Row 0第 0 行 11 Row 1第 1 行 11 11 Row 2第 2 行 11 22 11 Row 3第 3 行 11 33 33 11 Row 4第 4 行 11 44 66 44 11 Row 5第 5 行 11 55 1010 1010 55 11 (a + b)⁴ = 1a⁴ + 4a³b + 6a²b² + 4ab³ + 1b⁴(a + b)⁴ = 1a⁴ + 4a³b + 6a²b² + 4ab³ + 1b⁴
Figure 3. Pascal's triangle, rows $0$ to $5$. Each entry is the sum of the two above it (for example $4 + 6 = 10$ in row $5$). The circled row $4$ entries $1, 4, 6, 4, 1$ are the coefficients, in order, of $(a + b)^4$ written underneath.图 3. 帕斯卡三角形第 $0$ 至第 $5$ 行。每个数等于其正上方两数之和(例如第 $5$ 行的 $4 + 6 = 10$)。圈出的第 $4$ 行 $1, 4, 6, 4, 1$ 依次就是下方 $(a + b)^4$ 的系数。
Worked Example 7: Build rows $0$ through $5$ of Pascal's triangle例题 7:构造帕斯卡三角形第 $0$ 至第 $5$ 行

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$ 行两端起第三项,三角形的左右对称。

Worked Example 8: Symmetry and Pascal's rule例题 8:对称性与帕斯卡规则

(a) Evaluate $\binom{50}{48}$. (b) Find $n$ if $\binom{n}{2} = \binom{n}{5}$. (c) Verify that $\binom{9}{3} + \binom{9}{4} = \binom{10}{4}$.(a) 求 $\binom{50}{48}$。(b) 若 $\binom{n}{2} = \binom{n}{5}$,求 $n$。(c) 验证 $\binom{9}{3} + \binom{9}{4} = \binom{10}{4}$。

(a) Use symmetry.(a) 用对称性。 Replace $48$ by $50 - 48 = 2$:把 $48$ 换成 $50 - 48 = 2$:

$$ \binom{50}{48} = \binom{50}{2} = \frac{50 \cdot 49}{2} = 1225. $$

(b) Two lower numbers, one total.(b) 两个下标,一个总数。 The lower numbers $2$ and $5$ differ, so they must add to $n$:下标 $2$ 与 $5$ 不同,所以它们的和必为 $n$:

$$ n = 2 + 5 = 7. $$

Check (b).核验 (b)。 $\binom{7}{2} = 21$ and $\binom{7}{5} = 21$ ✓.$\binom{7}{2} = 21$,$\binom{7}{5} = 21$ ✓。

(c) Pascal's rule.(c) 帕斯卡规则。 Left side: $\binom{9}{3} = 84$ and $\binom{9}{4} = 126$. Right side: $\binom{10}{4} = 210$.左边:$\binom{9}{3} = 84$,$\binom{9}{4} = 126$。右边:$\binom{10}{4} = 210$。

$$ 84 + 126 = 210 = \binom{10}{4}. \;\checkmark $$

Why this works.为何成立。 Symmetry says choosing $r$ to take is the same as choosing $n - r$ to leave. Pascal's rule says each entry of row $n + 1$ is the sum of the two entries above it in row $n$.对称性说明“选 $r$ 个取走”与“选 $n - r$ 个留下”是同一决定。帕斯卡规则说明第 $n + 1$ 行每个数等于第 $n$ 行中其正上方两数之和。

Exam tip考试提示

For show that or verify, evaluate both sides and state that they agree, or give the counting argument; a single side is incomplete. Common errors: counting rows from $1$ instead of $0$ (row $n$ has $n + 1$ entries, and the first entry is position $0$), and missing the second case when solving $\binom{n}{a} = \binom{n}{b}$ (either $a = b$ or $a + b = n$).

遇到 show that 或 verify,应算出两边并说明相等,或给出计数论证;只算一边是不完整的答案。常见错误:行从 $1$ 而不是 $0$ 开始数(第 $n$ 行有 $n + 1$ 个数,第一个数是第 $0$ 位);解 $\binom{n}{a} = \binom{n}{b}$ 时漏掉第二种情形($a = b$ 或 $a + b = n$)。

Check your understanding自我检测
Starting from row $5$ (1, 5, 10, 10, 5, 1), write out row $6$ of Pascal's triangle.从第 $5$ 行(1, 5, 10, 10, 5, 1)出发,写出帕斯卡三角形第 $6$ 行。

Add neighbours: $1 + 5 = 6$, $5 + 10 = 15$, $10 + 10 = 20$, $10 + 5 = 15$, $5 + 1 = 6$. Row $6$ is $1, 6, 15, 20, 15, 6, 1$.

相邻相加:$1 + 5 = 6$、$5 + 10 = 15$、$10 + 10 = 20$、$10 + 5 = 15$、$5 + 1 = 6$。第 $6$ 行为 $1, 6, 15, 20, 15, 6, 1$。

Use symmetry to evaluate $\binom{100}{98}$.用对称性求 $\binom{100}{98}$ 的值。

$\binom{100}{98} = \binom{100}{2} = \dfrac{100 \cdot 99}{2} = 4950$.

$\binom{100}{98} = \binom{100}{2} = \dfrac{100 \cdot 99}{2} = 4950$。

Find $n$ if $\binom{n}{3} = \binom{n}{8}$.若 $\binom{n}{3} = \binom{n}{8}$,求 $n$。

Since $3 \ne 8$, the two lower numbers must add to $n$: $n = 3 + 8 = 11$. Check: $\binom{11}{3} = 165 = \binom{11}{8}$.

因 $3 \ne 8$,两个下标之和必为 $n$:$n = 3 + 8 = 11$。核验:$\binom{11}{3} = 165 = \binom{11}{8}$。

Which combination is equal to $\binom{12}{5}$?$\binom{12}{5}$ 与下列哪个相等?
§4 · Q1
$\binom{12}{6}$
$\binom{5}{12}$
$\binom{12}{0}$
$\binom{12}{7}$
By symmetry $\binom{n}{r} = \binom{n}{n-r}$, so $\binom{12}{5} = \binom{12}{12-5} = \binom{12}{7}$. (Choice (b) is undefined, $r > n$ is not allowed.)由对称性 $\binom{n}{r} = \binom{n}{n-r}$,得 $\binom{12}{5} = \binom{12}{12-5} = \binom{12}{7}$。(选项 (b) 无定义,不允许 $r > n$。)
Symmetry: choosing $r$ is the same as choosing the $n - r$ to omit. So $\binom{12}{5} = \binom{12}{12-5}$.对称性:选 $r$ 等同于选剩下 $n - r$ 不取。故 $\binom{12}{5} = \binom{12}{12-5}$。
Using only Pascal's rule (no factorial), find $\binom{6}{3}$ from row $5$ of Pascal's triangle ($1, 5, 10, 10, 5, 1$).仅用帕斯卡规则(不用阶乘),由第 $5$ 行($1, 5, 10, 10, 5, 1$)求 $\binom{6}{3}$。
§4 · Q2
$10$
$20$
$15$
$6$
By Pascal's rule, $\binom{6}{3} = \binom{5}{2} + \binom{5}{3} = 10 + 10 = 20$. (Row $6$ is then $1, 6, 15, 20, 15, 6, 1$, reading off the middle entry gives the same $20$ as a cross-check.)由帕斯卡规则,$\binom{6}{3} = \binom{5}{2} + \binom{5}{3} = 10 + 10 = 20$。(第 $6$ 行为 $1, 6, 15, 20, 15, 6, 1$,中间项亦为 $20$,互相印证。)
Pascal's rule: $\binom{n+1}{r+1} = \binom{n}{r} + \binom{n}{r+1}$. Match $n+1 = 6$ and $r+1 = 3$, then add the two row-$5$ entries above.帕斯卡规则:$\binom{n+1}{r+1} = \binom{n}{r} + \binom{n}{r+1}$。令 $n+1 = 6$、$r+1 = 3$,再把第 $5$ 行上方两项相加。

The Binomial Theorem Honors: US Alg 2 / AP-feeder二项式定理 荣誉:US Alg 2 / AP 衔接

Learning objectives学习目标
  • State the Binomial Theorem and explain why its coefficients are combinations.
  • Expand $(a + b)^n$ in full, including cases where $a$ has a coefficient or $b$ is negative.
  • Check an expansion by substituting a value such as $x = 1$.
  • Find an unknown constant from a given coefficient of an expansion.
  • 陈述二项式定理(Binomial Theorem),并解释其系数为何是组合数。
  • 完整展开(expand)$(a + b)^n$,包括 $a$ 带系数或 $b$ 为负的情形。
  • 代入如 $x = 1$ 的值核验展开式。
  • 由展开式中给定的系数求未知常数。
Binomial Theorem, for any positive integer $n$.二项式定理,对任意正整数 $n$。 $$ (a + b)^n \;=\; \sum_{r=0}^{n} \binom{n}{r} a^{n-r} b^r \;=\; \binom{n}{0} a^n + \binom{n}{1} a^{n-1} b + \binom{n}{2} a^{n-2} b^2 + \cdots + \binom{n}{n} b^n. $$
  • 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$" 编号。
Worked Example 9: Full expansion of $(2x + 3)^4$例题 9:完整展开 $(2x + 3)^4$

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$ ✓。

Worked Example 10: Expanding with a negative term例题 10:含负项的展开

Expand $(x - 2)^5$ in full and check the result with $x = 1$.完整展开 $(x - 2)^5$,并用 $x = 1$ 检验结果。

Row $5$ and the two terms.第 $5$ 行与两项。 Row $5$ of Pascal's triangle is $1, 5, 10, 10, 5, 1$. Take $a = x$ and $b = -2$, keeping the sign inside $b$:帕斯卡三角形第 $5$ 行为 $1, 5, 10, 10, 5, 1$。取 $a = x$、$b = -2$,符号保留在 $b$ 内:

$$ (x - 2)^5 = x^5 + 5x^4(-2) + 10x^3(-2)^2 + 10x^2(-2)^3 + 5x(-2)^4 + (-2)^5. $$

Evaluate the powers.化简各幂。

$$ = x^5 - 10x^4 + 40x^3 - 80x^2 + 80x - 32. $$

Check with $x = 1$.用 $x = 1$ 检验。 Left side: $(1 - 2)^5 = -1$. Right side:左边:$(1 - 2)^5 = -1$。右边:

$$ 1 - 10 + 40 - 80 + 80 - 32 = -1. \;\checkmark $$

Why this works.为何成立。 The signs alternate because $(-2)^r$ is negative for odd $r$; the check value $x = 1$ makes every power of $x$ equal to $1$, so only the coefficients remain.符号交替,因为 $r$ 为奇数时 $(-2)^r$ 为负;取 $x = 1$ 时 $x$ 的各次幂都等于 $1$,只剩系数,便于核对。

Exam tip考试提示

For expand, write the unevaluated terms first, for example $1 \cdot (2x)^4 + 4 \cdot (2x)^3 \cdot 3 + \cdots$, then simplify. Common errors: raising only $x$ and not its coefficient (so $(2x)^4$ is $16x^4$, not $2x^4$), and dropping the sign of a negative $b$. A quick check with $x = 1$ catches both.

对 expand,先写出未化简的各项,如 $1 \cdot (2x)^4 + 4 \cdot (2x)^3 \cdot 3 + \cdots$,再化简。常见错误:只对 $x$ 乘方而不对其系数乘方($(2x)^4$ 是 $16x^4$,不是 $2x^4$);丢掉负的 $b$ 的符号。用 $x = 1$ 快速检验即可发现这两种错误。

Check your understanding自我检测
(a) How many terms are in the expansion of $(2x + y)^9$? (b) Write the first three terms of $(x + 2)^6$ in descending powers of $x$.(a) $(2x + y)^9$ 的展开式有多少项?(b) 按 $x$ 的降幂写出 $(x + 2)^6$ 展开式的前三项。

(a) $9 + 1 = 10$ terms. (b) $\binom{6}{0} x^6 + \binom{6}{1} x^5 \cdot 2 + \binom{6}{2} x^4 \cdot 2^2 = x^6 + 12x^5 + 60x^4$.

(a) $9 + 1 = 10$ 项。(b) $\binom{6}{0} x^6 + \binom{6}{1} x^5 \cdot 2 + \binom{6}{2} x^4 \cdot 2^2 = x^6 + 12x^5 + 60x^4$。

Expand $(2 - x)^3$.展开 $(2 - x)^3$。

Row $3$ is $1, 3, 3, 1$ with $a = 2$, $b = -x$: $8 + 3 \cdot 4 \cdot (-x) + 3 \cdot 2 \cdot x^2 + (-x)^3 = 8 - 12x + 6x^2 - x^3$. Check at $x = 1$: $(2 - 1)^3 = 1$ and $8 - 12 + 6 - 1 = 1$.

第 $3$ 行为 $1, 3, 3, 1$,$a = 2$、$b = -x$:$8 + 3 \cdot 4 \cdot (-x) + 3 \cdot 2 \cdot x^2 + (-x)^3 = 8 - 12x + 6x^2 - x^3$。检验 $x = 1$:$(2 - 1)^3 = 1$,且 $8 - 12 + 6 - 1 = 1$。

The coefficient of $x^3$ in the expansion of $(x + k)^4$ is $12$. Find $k$.$(x + k)^4$ 展开式中 $x^3$ 的系数为 $12$,求 $k$。

The $x^3$ term is $\binom{4}{1} x^3 k = 4k\,x^3$. Then $4k = 12$, so $k = 3$.

$x^3$ 项为 $\binom{4}{1} x^3 k = 4k\,x^3$。于是 $4k = 12$,故 $k = 3$。

How many terms appear in the expansion of $(x - 2y)^{15}$ after collecting like powers?合并同类项后,$(x - 2y)^{15}$ 的展开共有多少项?
§5 · Q1
$15$
$16$
$30$
$32\,768$
$(a + b)^n$ has $n + 1$ terms. With $n = 15$, that gives $16$ terms (one for each $r = 0, 1, \ldots, 15$). The negative sign on $-2y$ alternates the signs but does not change the term count.$(a + b)^n$ 共 $n + 1$ 项。$n = 15$ 时为 $16$ 项($r = 0, 1, \ldots, 15$)。$-2y$ 的负号会让符号交替,但不改变项数。
Count carefully: $r$ ranges from $0$ to $n$, giving $n + 1$ terms, not $n$.数清:$r$ 从 $0$ 到 $n$,共 $n + 1$ 项,不是 $n$ 项。
What is the coefficient of $x^3$ in the expansion of $(x + 2)^5$?$(x + 2)^5$ 展开中 $x^3$ 的系数是多少?
§5 · Q2
$10$
$20$
$40$
$80$
General term $T_{r+1} = \binom{5}{r} x^{5-r} \cdot 2^r$. For $x^3$, set $5 - r = 3 \Rightarrow r = 2$. Coefficient $= \binom{5}{2} \cdot 2^2 = 10 \cdot 4 = 40$.通项 $T_{r+1} = \binom{5}{r} x^{5-r} \cdot 2^r$。$x^3$ 要求 $5 - r = 3 \Rightarrow r = 2$。系数 $= \binom{5}{2} \cdot 2^2 = 10 \cdot 4 = 40$。
Set the exponent on $x$ equal to $3$ to find $r$, then multiply the Pascal-triangle coefficient $\binom{n}{r}$ by the appropriate power of the constant.令 $x$ 的指数等于 $3$ 求出 $r$,再把帕斯卡系数 $\binom{n}{r}$ 乘以常数的对应次幂。

Applications: Finding a Specific Term Honors: US Alg 2 / AP-feeder应用:求指定项 荣誉:US Alg 2 / AP 衔接

Learning objectives学习目标
  • Write the general term $T_{r+1}$ of a binomial expansion.
  • Find the value of $r$ that gives a required power of $x$, and hence the coefficient or term.
  • Find the constant term, and state when no such term exists.
  • 写出二项展开式的通项 $T_{r+1}$(general term)。
  • 求出使 $x$ 取指定次幂的 $r$ 值,进而求该项的系数或该项。
  • 求常数项,并说明何时不存在这样的项(state)。
Three-step routine for specific-term problems.求指定项的三步法。
  1. 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$ 取自括号。
  2. Simplify the powers and isolate the exponent on $x$.化简各幂,整理出 $x$ 的总指数。
  3. Set the exponent equal to the target value and solve for $r$. Substitute that $r$ back into the general term.把 $x$ 指数等于目标值,解出 $r$,再代回通项。
AB Math 30-1 indicator 4.6 ("determine a specific term in the expansion of $(x + y)^n$") names this skill directly.AB Math 30-1 指标 4.6("求 $(x + y)^n$ 展开中的指定项")直接点名此技能。
Worked Example 11: Coefficient of $x^7$ in $(2x - 3)^{12}$例题 11:$(2x - 3)^{12}$ 中 $x^7$ 的系数

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$ 为正,系数为负,与预期一致。

Worked Example 12: Constant term in $(x + 1/x)^{10}$例题 12:$(x + 1/x)^{10}$ 中的常数项

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 $-r$ to the running exponent on $x$, not $+r$. 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 \Rightarrow r = 20/3$,无整数解,该括号无常数项。

Exam tip考试提示

For find the coefficient of $x^k$, show the general term, the exponent equation and the value of $r$ in that order. Common errors: reporting $r$ as the term number (the term is $T_{r+1}$), ignoring the sign of a negative $b$, and forgetting that a constant term needs the exponent of $x$ to be exactly $0$, which can have no whole-number solution for $r$.

对 find the coefficient of $x^k$,依次写出通项、指数方程和 $r$ 的值。常见错误:把 $r$ 当作项数(该项是 $T_{r+1}$);忽略负的 $b$ 的符号;忘记常数项要求 $x$ 的指数恰为 $0$,此时 $r$ 可能没有整数解。

Check your understanding自我检测
Find the coefficient of $x^3$ in the expansion of $(x + 2)^7$.求 $(x + 2)^7$ 展开式中 $x^3$ 的系数。

$T_{r+1} = \binom{7}{r} x^{7-r} 2^r$. Set $7 - r = 3$, so $r = 4$. Coefficient: $\binom{7}{4} \cdot 2^4 = 35 \cdot 16 = 560$.

$T_{r+1} = \binom{7}{r} x^{7-r} 2^r$。令 $7 - r = 3$,得 $r = 4$。系数:$\binom{7}{4} \cdot 2^4 = 35 \cdot 16 = 560$。

Find the term containing $x^4$ in the expansion of $(3x - 1)^6$.求 $(3x - 1)^6$ 展开式中含 $x^4$ 的项。

$T_{r+1} = \binom{6}{r} (3x)^{6-r} (-1)^r$. Set $6 - r = 4$, so $r = 2$. Term: $\binom{6}{2} \cdot 3^4 x^4 \cdot (-1)^2 = 15 \cdot 81\,x^4 = 1215\,x^4$.

$T_{r+1} = \binom{6}{r} (3x)^{6-r} (-1)^r$。令 $6 - r = 4$,得 $r = 2$。该项:$\binom{6}{2} \cdot 3^4 x^4 \cdot (-1)^2 = 15 \cdot 81\,x^4 = 1215\,x^4$。

Find the constant term in the expansion of $\left(x^2 + \dfrac{1}{x}\right)^9$.求 $\left(x^2 + \dfrac{1}{x}\right)^9$ 展开式中的常数项。

$T_{r+1} = \binom{9}{r} (x^2)^{9-r} (x^{-1})^r = \binom{9}{r} x^{18-3r}$. Set $18 - 3r = 0$, so $r = 6$. Constant term: $\binom{9}{6} = 84$.

$T_{r+1} = \binom{9}{r} (x^2)^{9-r} (x^{-1})^r = \binom{9}{r} x^{18-3r}$。令 $18 - 3r = 0$,得 $r = 6$。常数项:$\binom{9}{6} = 84$。

Find the coefficient of $x^4$ in $(x + 3)^9$.求 $(x + 3)^9$ 中 $x^4$ 的系数。
§6 · Q1
$126$
$3\,402$
$10\,206$
$30\,618$
General term $\binom{9}{r} x^{9-r} \cdot 3^r$. For $x^4$, $9 - r = 4 \Rightarrow r = 5$. Coefficient $= \binom{9}{5} \cdot 3^5 = 126 \cdot 243 = 30\,618$. (Choice (a) $126$ is $\binom{9}{5}$ alone, forgetting the $3^5$.)通项 $\binom{9}{r} x^{9-r} \cdot 3^r$。$x^4$ 要 $9 - r = 4 \Rightarrow r = 5$。系数 $= \binom{9}{5} \cdot 3^5 = 126 \cdot 243 = 30\,618$。(选项 (a) $126$ 仅为 $\binom{9}{5}$,漏掉 $3^5$。)
Use the general term, set exponent on $x$ to $4$, solve for $r$, then evaluate $\binom{n}{r} \cdot \text{(constant)}^r$.用通项,令 $x$ 指数等于 $4$ 求 $r$,再算 $\binom{n}{r} \cdot \text{const}^r$。
Find the constant term in the expansion of $(x^2 + 1/x^4)^9$.求 $(x^2 + 1/x^4)^9$ 展开中的常数项。
§6 · Q2
$36$
$84$
$126$
No constant term exists不存在常数项
General term: $\binom{9}{r} (x^2)^{9-r} (x^{-4})^r = \binom{9}{r} x^{2(9-r) - 4r} = \binom{9}{r} x^{18 - 6r}$. Constant: $18 - 6r = 0 \Rightarrow r = 3$. Term $= \binom{9}{3} = 84$.通项:$\binom{9}{r} (x^2)^{9-r} (x^{-4})^r = \binom{9}{r} x^{2(9-r) - 4r} = \binom{9}{r} x^{18 - 6r}$。常数项:$18 - 6r = 0 \Rightarrow r = 3$。该项 $= \binom{9}{3} = 84$。
Combine the exponents of $x$ across both pieces of the bracket: $2(n - r) + (-4)r$. Set the total to $0$ and check the resulting $r$ is a valid integer between $0$ and $n$.把括号两部分对 $x$ 的指数合并:$2(n - r) + (-4)r$,令总指数为 $0$,并验证所得 $r$ 是 $0$ 到 $n$ 之间的整数。

Counting Subsets and Combinatorial Identities Honors: US Alg 2 / AP-feeder子集计数与组合恒等式 荣誉:US Alg 2 / AP 衔接

Learning objectives学习目标
  • State that a set with $n$ elements has $2^n$ subsets and justify it with the in/out argument.
  • Use $\sum \binom{n}{r} = 2^n$ to count subsets of a given size, including "at least" conditions.
  • Show that the even-size and odd-size subsets are equally many.
  • 指出 $n$ 元集合有 $2^n$ 个子集,并用“取 / 不取”论证说明理由(justify)。
  • 用 $\sum \binom{n}{r} = 2^n$ 计数给定大小的子集,包括“至少”的条件。
  • 说明偶数大小与奇数大小的子集一样多。
Curriculum note.课纲提示。 This section sits beyond the four core syllabi (no direct CCSSM, MHF4U, MDM4U, PC 12, or Math 30-1 indicator). It is included because both identities ($\sum \binom{n}{r} = 2^n$ and $\sum (-1)^r \binom{n}{r} = 0$) appear without warning on AP Statistics distribution problems, IB Math AA HL Topic A3 (counting principles), and Putnam-style competitions. Treat it as enrichment if your row in the «How to use» table does not require it.本节超出四套核心大纲的覆盖范围(CCSSM、MHF4U、MDM4U、PC 12、Math 30-1 均无对应指标)。收录原因:两个恒等式 $\sum \binom{n}{r} = 2^n$ 与 $\sum (-1)^r \binom{n}{r} = 0$ 在 AP Statistics 概率分布题、IB Math AA HL Topic A3(计数原理)以及 Putnam 风格竞赛题中常出现。若你在《如何使用本指南》表中行不要求,可作为拓展。
Two row-sum identities from the Binomial Theorem.由二项式定理得到的两个行求和恒等式。 $$ \sum_{r=0}^{n} \binom{n}{r} \;=\; 2^n, \qquad \sum_{r=0}^{n} (-1)^r \binom{n}{r} \;=\; 0 \quad (n \ge 1). $$
  • 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\}$ 配对,这是偶 / 奇大小子集间的双射。)
Worked Example 13: Counting subsets of a $6$-element set two ways例题 13:用两种方法计数 $6$ 元集合的子集数

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}$ ✓。

Worked Example 14: Counting subsets by size例题 14:按大小计数子集

A set has $5$ elements. How many of its subsets (a) are there in total, (b) are neither empty nor the whole set, (c) have at least $2$ elements, and (d) have an even number of elements?某集合有 $5$ 个元素。它的子集中:(a) 共有多少个?(b) 既不是空集也不是全集的有多少个?(c) 至少含 $2$ 个元素的有多少个?(d) 含偶数个元素的有多少个?

(a) In or out.(a) 取或不取。 Each of the $5$ elements is in or out of a subset:$5$ 个元素中每个“在”或“不在”子集中:

$$ 2^5 = 32. $$

(b) Remove two subsets.(b) 去掉两个子集。 Take away the empty set and the whole set:去掉空集和全集:

$$ 32 - 2 = 30. $$

(c) At least $2$ elements.(c) 至少 $2$ 个元素。 Remove the sizes $0$ and $1$ ($\binom{5}{0} = 1$ and $\binom{5}{1} = 5$):去掉大小为 $0$ 和 $1$ 的子集($\binom{5}{0} = 1$,$\binom{5}{1} = 5$):

$$ 32 - 1 - 5 = 26. $$

(d) Even size.(d) 偶数大小。 Add the even sizes $0, 2, 4$ and compare with half of $32$:把大小为 $0, 2, 4$ 的子集数相加,并与 $32$ 的一半比较:

$$ \binom{5}{0} + \binom{5}{2} + \binom{5}{4} = 1 + 10 + 5 = 16 = \frac{32}{2}. \;\checkmark $$

Why this works.为何成立。 Part (a) is the multiplication rule, and (c) and (d) use the row sum $\sum \binom{5}{r} = 32$; the equal even and odd counts are the second identity of this section.(a) 用乘法原理;(c) 与 (d) 用行和 $\sum \binom{5}{r} = 32$;偶数与奇数大小子集一样多正是本节的第二个恒等式。

Exam tip考试提示

For justify, quote the identity and its source: setting $a = b = 1$ in the Binomial Theorem gives $2^n$. Common errors: forgetting that the empty set and the whole set are both subsets, and writing $2n$ for $2^n$. For "at least $k$ elements", subtract the small sizes from $2^n$.

对 justify,应写出恒等式及其来源:在二项式定理中令 $a = b = 1$ 得 $2^n$。常见错误:忘记空集和全集都是子集;把 $2^n$ 写成 $2n$。对“至少 $k$ 个元素”,用 $2^n$ 减去较小的几种大小。

Check your understanding自我检测
A pizza shop has $6$ toppings. How many different pizzas can be made if any selection of toppings is allowed, including none?披萨店有 $6$ 种配料。若允许任意选择配料(包括不加),共有多少种不同披萨?

Each topping is in or out: $2^6 = 64$ pizzas (the plain pizza is the empty subset).

每种配料“加或不加”:$2^6 = 64$ 种披萨(不加配料的是空子集)。

Evaluate $\binom{8}{0} + \binom{8}{1} + \cdots + \binom{8}{8}$ and justify your answer.求 $\binom{8}{0} + \binom{8}{1} + \cdots + \binom{8}{8}$ 的值并说明理由。

The sum counts all subsets of an $8$-element set grouped by size, so it equals $2^8 = 256$. (Algebraically: set $a = b = 1$ in $(a + b)^8$.)

该和按大小分组数出 $8$ 元集合的全部子集,所以等于 $2^8 = 256$。(代数上:在 $(a + b)^8$ 中令 $a = b = 1$。)

A set has $7$ elements. How many of its subsets have an odd number of elements?某集合有 $7$ 个元素。其子集中有多少个含奇数个元素?

Even-size and odd-size subsets are equally many, and together they make $2^7 = 128$. So the odd-size subsets number $128 / 2 = 64$.

偶数大小与奇数大小的子集一样多,合计 $2^7 = 128$ 个。所以奇数大小的子集有 $128 / 2 = 64$ 个。

How many subsets does a $10$-element set have?$10$ 元集合共有多少子集?
§7 · Q1
$100$
$3\,628\,800$
$1\,024$
$45$
$2^{10} = 1\,024$. Each of the $10$ elements is independently in or out of a chosen subset. (Choice (b) is $10!$, the count of orderings of the elements, not subsets.)$2^{10} = 1\,024$。$10$ 个元素中每个独立"取或不取"。(选项 (b) $10!$ 是元素的排列数,不是子集数。)
In / out per element, $2$ choices each, $10$ elements: $2^{10}$. Equivalently $\sum_{r=0}^{10} \binom{10}{r} = 2^{10}$.每元素"取 / 不取"两种,$10$ 元素:$2^{10}$。等价于 $\sum_{r=0}^{10} \binom{10}{r} = 2^{10}$。
Use the identity $\sum_{r=0}^{n} \binom{n}{r} = 2^n$ to evaluate $\binom{8}{0} + \binom{8}{1} + \binom{8}{2} + \cdots + \binom{8}{8}$.用恒等式 $\sum_{r=0}^{n} \binom{n}{r} = 2^n$ 求 $\binom{8}{0} + \binom{8}{1} + \binom{8}{2} + \cdots + \binom{8}{8}$。
§7 · Q2
$256$
$128$
$70$
$255$
By the identity with $n = 8$, the sum equals $2^8 = 256$. (Choice (c) $70$ is the centre entry $\binom{8}{4}$, not the row sum.)由恒等式 $n = 8$:求和 $= 2^8 = 256$。(选项 (c) $70$ 是 $\binom{8}{4}$ 即第 $8$ 行中项,不是行总和。)
The full row sum of Pascal's triangle in row $n$ is $2^n$, including the leading $\binom{n}{0} = 1$ and the trailing $\binom{n}{n} = 1$.帕斯卡三角形第 $n$ 行的完整行和为 $2^n$,含首项 $\binom{n}{0} = 1$ 与末项 $\binom{n}{n} = 1$。

Exam Strategy and Common Pitfalls考试策略与常见陷阱

Setup discipline解题前的纪律
  • 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$ 较大时熟练使用这些键。
Permutation / combination problems (§1-§3)排列 / 组合问题(§1-§3)
  • "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 要求"用例子解释排列与组合的区别"。
Binomial Theorem problems (§4-§6)二项式定理问题(§4-§6)
  • 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{positive})^{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 要求熟练编号。
Identities and applications (§7) AP-feeder恒等式与应用(§7)AP 衔接
  • 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闪卡

0 / 14 flipped0 / 14 已翻
Fundamental counting principle?基本计数原理?
$$N = n_1 \cdot n_2 \cdots n_k$$ independent stages multiply独立阶段相乘
$n!$ definition?$n!$ 定义?
$$n! = n(n-1)(n-2) \cdots 2 \cdot 1$$ with $0! = 1$ by convention约定 $0! = 1$
Permutation formula?排列公式?
$${}_nP_r = \frac{n!}{(n-r)!}$$
Combination formula?组合公式?
$$\binom{n}{r} = \frac{n!}{r!(n-r)!}$$
Permutations of $n$ objects with $k_i$ identical of type $i$?$n$ 个含每类 $k_i$ 个相同元素的排列?
$$\frac{n!}{k_1! \, k_2! \cdots k_m!}$$ MISSISSIPPI: $\dfrac{11!}{4! \, 4! \, 2!} = 34\,650$MISSISSIPPI:$\dfrac{11!}{4! \, 4! \, 2!} = 34\,650$
Symmetry of $\binom{n}{r}$?$\binom{n}{r}$ 的对称性?
$$\binom{n}{r} = \binom{n}{n-r}$$
Pascal's rule?帕斯卡规则?
$$\binom{n}{r} + \binom{n}{r+1} = \binom{n+1}{r+1}$$
Row $5$ of Pascal's triangle?帕斯卡三角形第 $5$ 行?
$$1, \;\; 5, \;\; 10, \;\; 10, \;\; 5, \;\; 1$$
Binomial Theorem?二项式定理?
$$(a+b)^n = \sum_{r=0}^{n} \binom{n}{r} a^{n-r} b^r$$
General term in $(a+b)^n$?$(a+b)^n$ 的通项?
$$T_{r+1} = \binom{n}{r} a^{n-r} b^r$$ first term is $T_1$ ($r=0$)首项 $T_1$($r=0$)
Number of terms in $(a+b)^n$?$(a+b)^n$ 的项数?
$$n + 1$$ indexed by $r = 0, 1, \ldots, n$$r = 0, 1, \ldots, n$
Row-sum identity?行求和恒等式?
$$\sum_{r=0}^{n} \binom{n}{r} = 2^n$$ "$n$-set has $2^n$ subsets""$n$ 元集有 $2^n$ 个子集"
Alternating-sum identity?交替求和恒等式?
$$\sum_{r=0}^{n} (-1)^r \binom{n}{r} = 0 \;\; (n \ge 1)$$
Permutation or combination?排列还是组合?
Order matters $\Rightarrow$ permutation $_nP_r$.
Order doesn't matter $\Rightarrow$ combination $\binom{n}{r}$.
顺序要紧 $\Rightarrow$ 排列 $_nP_r$。
顺序不要紧 $\Rightarrow$ 组合 $\binom{n}{r}$。

Practice Quiz综合测验

A cafeteria sells $4$ kinds of sandwich, $3$ kinds of drink, and $5$ kinds of cookie. How many different sandwich-drink-cookie combos are possible?某食堂卖 $4$ 种三明治、$3$ 种饮料、$5$ 种饼干。三件套共有几种?
Q1
$12$
$15$
$60$
$120$
Three independent stages: $4 \cdot 3 \cdot 5 = 60$.三个独立阶段:$4 \cdot 3 \cdot 5 = 60$。
Multiplication rule: independent stages multiply.乘法原理:独立阶段相乘。
Compute $\binom{7}{3}$.求 $\binom{7}{3}$。
Q2
$21$
$35$
$42$
$210$
$\binom{7}{3} = \dfrac{7 \cdot 6 \cdot 5}{3 \cdot 2 \cdot 1} = \dfrac{210}{6} = 35$. (Choice (d) $210$ is the permutation $_7P_3$.)$\binom{7}{3} = \dfrac{7 \cdot 6 \cdot 5}{3 \cdot 2 \cdot 1} = \dfrac{210}{6} = 35$。(选项 (d) $210$ 是排列 $_7P_3$。)
Combination: $\dfrac{n(n-1)\cdots}{r!}$ with $r$ falling factors in the numerator.组合:$\dfrac{n(n-1)\cdots}{r!}$,分子为 $r$ 项降乘。
How many distinguishable letter arrangements does STATISTICS have? ($10$ letters: $3$ S, $3$ T, $1$ A, $2$ I, $1$ C.)单词 STATISTICS($10$ 字母:$3$ S、$3$ T、$1$ A、$2$ I、$1$ C)有多少不同排列?
Q3
$3\,628\,800$
$10!/(3! \cdot 3!) = 100\,800$
$50\,400$
$362\,880$
$\dfrac{10!}{3! \cdot 3! \cdot 2!} = \dfrac{3\,628\,800}{6 \cdot 6 \cdot 2} = \dfrac{3\,628\,800}{72} = 50\,400$.$\dfrac{10!}{3! \cdot 3! \cdot 2!} = \dfrac{3\,628\,800}{6 \cdot 6 \cdot 2} = \dfrac{3\,628\,800}{72} = 50\,400$。
Divide $10!$ by the factorial of each repeat-count: $3$ S, $3$ T, $2$ I. The singletons A and C contribute $1!$, which is $1$.用 $10!$ 除以各重复数的阶乘:$3$ S、$3$ T、$2$ I。单字母 A、C 的 $1!$ 为 $1$。
A committee of $4$ is to be chosen from $6$ men and $5$ women, with the requirement that the committee includes exactly $2$ men and $2$ women. How many committees are possible?从 $6$ 男 $5$ 女中选 $4$ 人组成委员会,要求恰 $2$ 男 $2$ 女。共有几种?
Q4
$110$
$150$
$330$
$5\,940$
Two independent stages, both combinations: $\binom{6}{2} \cdot \binom{5}{2} = 15 \cdot 10 = 150$. Multiply, not add, that's the multiplication rule applied to two combination counts.两个独立阶段,均为组合:$\binom{6}{2} \cdot \binom{5}{2} = 15 \cdot 10 = 150$。乘而非加,即对两组合数应用乘法原理。
Choose the $2$ men ($\binom{6}{2}$), choose the $2$ women ($\binom{5}{2}$), and multiply the counts together.选 $2$ 男($\binom{6}{2}$)、选 $2$ 女($\binom{5}{2}$)后相乘。
Expand row $6$ of Pascal's triangle.写出帕斯卡三角形第 $6$ 行。
Q5
$1, 6, 12, 20, 12, 6, 1$
$1, 5, 10, 10, 5, 1$
$1, 6, 15, 20, 15, 6, 1$
$1, 7, 21, 35, 35, 21, 7, 1$
Add adjacent entries of row $5$ ($1, 5, 10, 10, 5, 1$): $1+5 = 6$, $5+10 = 15$, $10+10 = 20$, $10+5 = 15$, $5+1 = 6$. Cap with $1$s: $1, 6, 15, 20, 15, 6, 1$.把第 $5$ 行 $1, 5, 10, 10, 5, 1$ 相邻相加:$1+5 = 6$、$5+10 = 15$、$10+10 = 20$、$10+5 = 15$、$5+1 = 6$。首尾补 $1$:$1, 6, 15, 20, 15, 6, 1$。
Pascal's rule: each entry is the sum of the two directly above. Row $6$ has $7$ entries; rows $5$ and $7$ are wrong by entry count.帕斯卡规则:每项是其正上方两项之和。第 $6$ 行共 $7$ 项;第 $5$ 行、第 $7$ 行项数不对。
Find the coefficient of $x^5$ in the expansion of $(2x + 1)^8$.求 $(2x + 1)^8$ 中 $x^5$ 的系数。
Q6
$1\,792$
$448$
$56$
$3\,584$
General term $\binom{8}{r} (2x)^{8-r} \cdot 1^r = \binom{8}{r} 2^{8-r} x^{8-r}$. For $x^5$: $8 - r = 5 \Rightarrow r = 3$. Coefficient $= \binom{8}{3} \cdot 2^5 = 56 \cdot 32 = 1\,792$.通项 $\binom{8}{r} (2x)^{8-r} \cdot 1^r = \binom{8}{r} 2^{8-r} x^{8-r}$。$x^5$ 要 $r = 3$。系数 $= \binom{8}{3} \cdot 2^5 = 56 \cdot 32 = 1\,792$。
Match exponents, solve for $r$, then multiply $\binom{n}{r}$ by the appropriate constant power. Don't forget the $2^{n-r}$ from $(2x)^{n-r}$.匹配指数求 $r$,再把 $\binom{n}{r}$ 乘以对应常数次幂。不要漏掉 $(2x)^{n-r}$ 中的 $2^{n-r}$。
Find the term containing $x^6$ in $(x^2 - 2)^7$.求 $(x^2 - 2)^7$ 中含 $x^6$ 的项。
Q7
$280 x^6$
$-280 x^6$
$560 x^6$
$-560 x^6$
General term $\binom{7}{r} (x^2)^{7-r} (-2)^r = \binom{7}{r} (-2)^r x^{14 - 2r}$. For $x^6$: $14 - 2r = 6 \Rightarrow r = 4$. Term $= \binom{7}{4} \cdot (-2)^4 x^6 = 35 \cdot 16 \cdot x^6 = 560 x^6$. Note: $(-2)^4 = +16$ (even power $\Rightarrow$ positive), so the term is $+560 x^6$.通项 $\binom{7}{r} (x^2)^{7-r} (-2)^r = \binom{7}{r} (-2)^r x^{14 - 2r}$。$x^6$:$14 - 2r = 6 \Rightarrow r = 4$。该项 $= \binom{7}{4} \cdot (-2)^4 x^6 = 35 \cdot 16 \cdot x^6 = 560 x^6$。$(-2)^4 = +16$(偶次幂 $\Rightarrow$ 正),故该项为 $+560 x^6$。
General term $\binom{7}{r} (x^2)^{7-r} (-2)^r$. Find $r$ so the exponent on $x$ is $6$, then evaluate. Watch the sign of $(-2)^r$, even $r$ gives positive, odd $r$ gives negative.通项 $\binom{7}{r} (x^2)^{7-r} (-2)^r$。求使 $x$ 指数为 $6$ 的 $r$,再求值。注意 $(-2)^r$ 的符号:偶 $r$ 为正,奇 $r$ 为负。
Find the constant term in the expansion of $(2x + 1/x)^6$.求 $(2x + 1/x)^6$ 展开中的常数项。
Q8
$160$
$160$ via $r = 3$由 $r = 3$
$240$
$320$
General term $\binom{6}{r} (2x)^{6-r} (x^{-1})^r = \binom{6}{r} 2^{6-r} x^{6 - 2r}$. Constant: $6 - 2r = 0 \Rightarrow r = 3$. Term $= \binom{6}{3} \cdot 2^3 = 20 \cdot 8 = 160$.通项 $\binom{6}{r} (2x)^{6-r} (x^{-1})^r = \binom{6}{r} 2^{6-r} x^{6 - 2r}$。常数项:$6 - 2r = 0 \Rightarrow r = 3$。该项 $= \binom{6}{3} \cdot 2^3 = 20 \cdot 8 = 160$。
Combine exponents: $(2x)$ contributes $+1$ per factor used, $(1/x)$ contributes $-1$. Total exponent $= (6-r) - r = 6 - 2r$. Set to $0$.合并指数:$(2x)$ 每次贡献 $+1$,$(1/x)$ 贡献 $-1$。总指数 $= (6-r) - r = 6 - 2r$,令为 $0$。
Use the identity $\sum \binom{n}{r} = 2^n$ to evaluate $\binom{12}{0} + \binom{12}{1} + \cdots + \binom{12}{12}$. AP-feeder用恒等式 $\sum \binom{n}{r} = 2^n$ 求 $\binom{12}{0} + \binom{12}{1} + \cdots + \binom{12}{12}$。AP 衔接
Q9
$924$
$2\,048$
$4\,096$
$8\,192$
$2^{12} = 4\,096$. (Choice (a) $924$ is the central entry $\binom{12}{6}$, the row's maximum.)$2^{12} = 4\,096$。(选项 (a) $924$ 是行中项 $\binom{12}{6}$,本行最大。)
Full row $n$ of Pascal's triangle sums to $2^n$. With $n = 12$ that gives $2^{12}$.帕斯卡三角形第 $n$ 行总和为 $2^n$。$n = 12$ 时为 $2^{12}$。
From a $52$-card deck, how many $5$-card hands contain exactly $3$ aces? AB Math 30-1 SO 3$52$ 张扑克中,恰含 $3$ 张 A 的 $5$ 张手牌有多少?AB Math 30-1 SO 3
Q10
$24$
$1\,128$
$4\,512$
$28\,224$
Choose the $3$ aces from $4$ ($\binom{4}{3} = 4$), then choose the remaining $2$ cards from the $48$ non-aces ($\binom{48}{2} = 1\,128$). Multiply: $4 \cdot 1\,128 = 4\,512$.从 $4$ A 中选 $3$($\binom{4}{3} = 4$),再从 $48$ 张非 A 中选 $2$($\binom{48}{2} = 1\,128$)。相乘:$4 \cdot 1\,128 = 4\,512$。
Two independent combination stages: aces ($\binom{4}{3}$) and non-aces ($\binom{48}{2}$). Multiply the counts.两个独立的组合阶段:A 牌($\binom{4}{3}$)与非 A 牌($\binom{48}{2}$)。相乘。

Readiness Checklist准备就绪清单

Tick each item when you can do it cold, without notes, on a first attempt.能在无笔记、首次尝试下完成,再勾选每一项。

0 / 12 mastered已掌握 0 / 12

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 衔接单元。

IB Math HL A3 · Counting Principles and Binomial Theorem (the HL-depth extension: extended $\binom{n}{r}$ for rational $n$ via Newton's generalised binomial)IB Math HL A3 · 计数原理与二项式定理(HL 深度拓展:通过牛顿广义二项式将 $\binom{n}{r}$ 推广至有理 $n$) IB Math HL A1 · Sequences and Series (sigma notation, geometric series, the same $\sum$ tooling)IB Math HL A1 · 数列与级数($\sum$ 记号、几何级数,同样的求和工具) AP Calculus Unit 2 · Differentiation (the $\binom{n}{r}$ expansion of $(x+h)^n$ powers the limit definition of $\frac{d}{dx}x^n = n x^{n-1}$)AP Calculus Unit 2 · 微分($(x+h)^n$ 的 $\binom{n}{r}$ 展开支撑极限定义 $\frac{d}{dx}x^n = n x^{n-1}$) AP CSA Unit 1 · Using Objects and Methods (algorithmic counting and combinatorial enumeration both rest on the multiplication rule)AP CSA Unit 1 · 使用对象和方法(算法计数与枚举均以乘法原理为基础)

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 核心内容。

This is the ladder we coach students up: from these high school foundations into AP and IB, and on to first-year university. If you would rather have a guide for the next step than take it on trust, Dingrui Scholars tutors teach exactly this path in one-on-one sessions and small-group classes. A free assessment is the place to start.这正是我们陪伴学生攀登的阶梯:从这些高中基础,迈入 AP 与 IB,再走向大学一年级。如果你希望在下一步有人引路,而不是凭感觉前行,Dingrui Scholars 的导师正是沿着这条路径,以一对一辅导与小班课授课。欢迎从免费评估开始。

Common Questions常见问题

What is the difference between a permutation and a combination?排列和组合有什么区别?

A permutation counts ordered selections where the arrangement matters, while a combination counts unordered selections where only the group chosen matters.排列计算有序的选取,顺序很重要;组合计算无序的选取,只看所选的这一组本身。

How does the binomial theorem expand (a + b) to the n?二项式定理如何展开 (a + b) 的 n 次方?

The binomial theorem writes the expansion as a sum of terms, each using a combination coefficient with decreasing powers of a and increasing powers of b.二项式定理把展开式写成若干项之和,每一项带有一个组合系数,a 的幂次递减而 b 的幂次递增。

How do I find a specific term in a binomial expansion?如何求二项式展开中的指定项?

Use the general term formula with the combination coefficient n choose k, raising a to the power n minus k and b to the power k for the term you want.使用含组合系数 n 选 k 的通项公式,对所求项把 a 取 n 减 k 次方、b 取 k 次方即可。

Syllabus alignment & how to use this guide大纲对照与使用说明

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 内。下面四行表告诉你当前大纲下应重点学习哪些节;每行都注明对应的课纲依据。

US students, read this.美国学生,必读。 CCSSM is the lightest of the four syllabi on combinatorics. The entire unit is plus-cluster content (HSS-CP.B.9 for $_nP_r$ / $_nC_r$ via probability of compound events; HSA-APR.C.5 for the Binomial Theorem). At a typical US high school you will see this material in Pre-Calculus / Honors Algebra II or skip straight to AP Pre-Calc / AP Statistics. Treat the whole unit as Honors, we mark it as such on every section header, and the §7 identities and proofs lean further into AP-feeder territory.CCSSM 是四套大纲中对组合学覆盖最轻的:整单元都是 plus 簇内容(HSS-CP.B.9 通过复合事件概率涉及 $_nP_r$ / $_nC_r$;HSA-APR.C.5 二项式定理)。普通美高一般在 Pre-Calculus / 荣誉 Algebra II 中接触,或直接跳到 AP Pre-Calc / AP Statistics。整单元都按 Honors 对待,我们在每节标题上都加此标记;§7 的恒等式与证明更接近 AP 衔接内容。
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.找到所在行后,用下面两张卡片决定推进速度。

!
If you are cramming the night before如果你在临阵磨枪

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 的深入恒等式。

*
If you are going for the top mark如果你目标顶分

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 反复考点。