The Binomial Theorem

How many ways can you expand (x+y)10(x+y)^{10} without multiplying out ten factors by hand? The answer is hidden in a simple counting question. When you choose, from each of the ten copies of (x+y)(x+y), whether to take an xx or a yy, how many ways give exactly kk copies of xx? This question is the entire content of the Binomial Theorem, one of the oldest and most load-bearing results in combinatorics. The theorem matters because it is the bridge between algebra and counting. On one side sits a purely algebraic object, the expanded polynomial (x+y)n(x+y)^n. On the other side sit Combinations, the counts (nk)\binom{n}{k} of kk-element subsets of an nn-element set. The Binomial Theorem asserts these are exactly the same numbers. The proof of that fact is a masterclass in combinatorial reasoning: instead of grinding through algebra, we simply count. The big picture is that expansion and selection are two descriptions of one process. Multiplying out (x+y)(x+y)⋯(x+y)(x+y)(x+y)\cdots(x+y) means picking, from each factor, an xx or a yy. Every term of the expansion corresponds to one such sequence of choices. Grouping the resulting monomials by how many xx's they contain converts a multiplication problem into a subset-counting problem. That is precisely what binomial coefficients count. This article gives the precise statement of the theorem, a full combinatorial proof, and an independent algebraic/inductive proof as well. It also offers a geometric picture via Pascal's Triangle, and two fully worked non-symmetric expansions. It includes a careful discussion of what breaks without integer exponents. Finally, it looks at where the theorem resurfaces — from probability to Binomial Identities to Ordinary Generating Functions.

Key takeaways
  • The Binomial Theorem expands (x+y)n(x+y)^n as a sum of (nk)xn−kyk\binom{n}{k}x^{n-k}y^k over k=0,…,nk=0,\dots,n.
  • The coefficients (nk)\binom{n}{k} are exactly the counts of kk-subsets from Combinations — no coincidence, a proof.
  • The cleanest proof is combinatorial: track, for each term, which factors contributed an xx versus a yy.
  • Pascal's Triangle displays these coefficients and encodes the recurrence (nk)=(n−1k−1)+(n−1k)\binom{n}{k}=\binom{n-1}{k-1}+\binom{n-1}{k}.
  • The theorem requires nn to be a nonnegative integer; for other exponents the sum becomes an infinite series.
  • Key idea: expanding a product of nn identical binomials is the same act as choosing, for each factor, whether it contributes to the xx-side or the yy-side of a term.

Where this lives today

The Binomial Theorem is the seed of an entire branch of enumerative combinatorics. Setting x=y=1x=y=1 gives 2n=∑k(nk)2^n = \sum_k \binom{n}{k}, the fact that a set of size nn has 2n2^n subsets, unifying two seemingly different counting facts. Setting x=1,y=−1x=1,y=-1 produces the alternating-sum identity used constantly in inclusion–exclusion arguments. These specializations, and dozens more (Vandermonde's identity, the hockey-stick identity, generating-function derivatives), form the subject of Binomial Identities. In probability and statistics, the binomial distribution's probability mass function (nk)pk(1−p)n−k\binom{n}{k}p^k(1-p)^{n-k} is literally a term of the expansion of (p+(1−p))n=1(p+(1-p))^n = 1, and the theorem guarantees these probabilities sum to 11. In algebra and calculus, the theorem underlies finite-difference calculus and the expansion of derivatives of products (Leibniz's rule for dndxn(fg)\frac{d^n}{dx^n}(fg) has the identical coefficient pattern). In computer science, binomial coefficients count subsets in algorithm analysis (e.g., the number of size-kk combinations tried by brute-force search) and appear in the analysis of binomial heaps and random binary structures. The theorem is also the first and simplest instance of the theory of Ordinary Generating Functions: the polynomial (1+y)n(1+y)^n is the generating function whose coefficient sequence is exactly the row of Pascal's Triangle (n0),(n1),…,(nn)\binom{n}{0},\binom{n}{1},\dots,\binom{n}{n}, and this viewpoint scales up to encode far more complex counting sequences (partitions, compositions, recurrences) as coefficients of more elaborate power series. In cryptography and coding theory, binomial coefficients count error patterns of fixed weight, central to the analysis of Hamming and Reed–Solomon codes' error-correcting capacity.

Ask the tutor: How does the Binomial Theorem generalize when you replace (x+y)n(x+y)^n with (x1+x2+⋯+xm)n(x_1+x_2+\cdots+x_m)^n?

DefinitionThe Binomial Theorem

Let x,yx,y be elements of a commutative ring (for concreteness, real or complex numbers, or formal variables) and let nn be a nonnegative integer. Define the binomial coefficient

(nk)=n!k! (n−k)!,k=0,1,…,n,\binom{n}{k} = \frac{n!}{k!\,(n-k)!}, \qquad k = 0,1,\dots,n,

the number of kk-element subsets of an nn-element set (from Combinations), with (nk)=0\binom{n}{k}=0 for k<0k<0 or k>nk>n. The Binomial Theorem states that for all such x,y,nx,y,n,

(x+y)n  =  ∑k=0n(nk) xn−kyk  =  (n0)xn+(n1)xn−1y+⋯+(nn−1)xyn−1+(nn)yn.(x+y)^n \;=\; \sum_{k=0}^{n} \binom{n}{k}\, x^{n-k} y^{k} \;=\; \binom{n}{0}x^n + \binom{n}{1}x^{n-1}y + \cdots + \binom{n}{n-1}xy^{n-1} + \binom{n}{n}y^n.

Intuition

Think of (x+y)n(x+y)^n not as a formula to expand, but as nn physical boxes lined up in a row, box 11 through box nn, each containing a copy of x+yx+y. To expand the product, you must reach into every box and pull out either its xx or its yy, then multiply your nn choices together. Doing this for every possible combination of choices and adding up all the resulting products is exactly what "expanding" means — there is no other operation happening. Every one of the 2n2^n ways of making these choices produces a monomial xn−kykx^{n-k}y^k where kk is the number of boxes from which you drew a yy. Many different choice-sequences produce the same monomial: any sequence with yy drawn from exactly the same kk boxes gives xn−kykx^{n-k}y^k, and swapping which boxes contributed the yy's (among the same total count kk) does not change the monomial at all, since multiplication is commutative. So the coefficient of xn−kykx^{n-k}y^k in the fully expanded, un-simplified sum is the number of ways to choose which kk of the nn boxes contribute a yy — precisely (nk)\binom{n}{k}.

Figure
Choosing which factors contribute yy, for (x+y)3(x+y)^3: each row is one term before simplification
(x+y)(x+y)(x+y): choose x or y from each factor Box1Box2Box3productgrouped term xxxx·x·xx³ xxyx·x·yx²y (3 rows) xyxx·y·x yxxy·x·x xyyx·y·yxy² (3 rows) yxyy·x·y yyxy·y·x

The picture makes the coefficient tangible: there are (31)=3\binom{3}{1}=3 rows with exactly one yy, giving coefficient 33 on x2yx^2y, and (32)=3\binom{3}{2}=3 rows with exactly two yy's, giving coefficient 33 on xy2xy^2, matching (x+y)3=x3+3x2y+3xy2+y3(x+y)^3 = x^3+3x^2y+3xy^2+y^3.

Pascal's Triangle

Arranging the coefficients (nk)\binom{n}{k} by row nn and position kk produces the classical triangular array, where each entry is the sum of the two entries diagonally above it — this is the content of Binomial Identities such as Pascal's Rule, which we prove below as a lemma en route to (and independently of) the main theorem.

Figure
Pascal's Triangle, rows n=0n=0 to 55, entries (nk)\binom{n}{k}
1 11 121 1331 14641 15101051 Row n: coefficients of (x+y)^n. Row 5: 1,5,10,10,5,1 — matches (x+y)^5 expansion below.
TheoremThe Binomial Theorem

Let nn be a nonnegative integer, and let x,yx,y be elements of any commutative ring (in particular, real or complex numbers, or independent formal variables). Then

(x+y)n=∑k=0n(nk)xn−kyk,(x+y)^n = \sum_{k=0}^{n} \binom{n}{k} x^{n-k} y^k,

where (nk)=n!k!(n−k)!\binom{n}{k} = \dfrac{n!}{k!(n-k)!} is the number of kk-element subsets of a set of size nn.

LemmaPascal's Rule

For all integers n≥1n \ge 1 and 0≤k≤n0 \le k \le n,

(nk)=(n−1k−1)+(n−1k),\binom{n}{k} = \binom{n-1}{k-1} + \binom{n-1}{k},

with the convention (n−1−1)=(n−1n)=0\binom{n-1}{-1} = \binom{n-1}{n} = 0 handled consistently (i.e. k=0k=0 and k=nk=n are boundary cases verified directly).

Proof

(Combinatorial proof of Pascal's Rule, by a bijective/counting argument.) Fix a set SS of nn elements and distinguish one element a∈Sa \in S. We count the kk-element subsets of SS in two ways. Directly, there are (nk)\binom{n}{k} such subsets, by definition. Alternatively, partition the kk-subsets of SS into two disjoint classes: those containing aa, and those not containing aa. A kk-subset containing aa is determined by choosing the remaining k−1k-1 elements from S∖{a}S \setminus \{a\}, a set of size n−1n-1; there are (n−1k−1)\binom{n-1}{k-1} ways to do this. A kk-subset not containing aa is a kk-element subset of S∖{a}S\setminus\{a\} directly, giving (n−1k)\binom{n-1}{k} ways. Since every kk-subset falls into exactly one of these two classes, the total count is (n−1k−1)+(n−1k)\binom{n-1}{k-1} + \binom{n-1}{k}. Equating the two counts of the same quantity gives (nk)=(n−1k−1)+(n−1k)\binom{n}{k} = \binom{n-1}{k-1}+\binom{n-1}{k}. The boundary cases k=0k=0 (where (n−1−1):=0\binom{n-1}{-1}:=0 and the identity reads (n0)=(n−10)=1\binom{n}{0}=\binom{n-1}{0}=1) and k=nk=n (symmetric) are checked directly from the factorial formula and are consistent with this convention. ■\blacksquare

∎
Proof

Proof of the Binomial Theorem (combinatorial argument). Fix a nonnegative integer nn. Write

(x+y)n=(x+y)(x+y)⋯(x+y)⏟n factors,(x+y)^n = \underbrace{(x+y)(x+y)\cdots(x+y)}_{n \text{ factors}},

and label the factors 1,2,…,n1,2,\dots,n. By the distributive law applied repeatedly, expanding this product (before any simplification or collection of like terms) produces exactly one term for every way of choosing, from each factor i∈{1,…,n}i \in \{1,\dots,n\}, either xx or yy, and multiplying the nn chosen symbols together. Formally, the unsimplified expansion is the sum, over all functions f:{1,…,n}→{x,y}f : \{1,\dots,n\} \to \{x,y\}, of the product ∏i=1nf(i)\prod_{i=1}^n f(i); this is a direct consequence of applying the distributive law n−1n-1 times to expand a product of nn binomials into 2n2^n monomial terms, one for each choice-function ff. (This step uses only associativity, commutativity, and distributivity in the ring, and is easily formalized by induction on nn: the case n=1n=1 is trivial, and the inductive step multiplies the 2n−12^{n-1} terms of the expansion of (x+y)n−1(x+y)^{n-1} by (x+y)(x+y), again by distributivity, doubling the number of terms.) Each choice-function ff corresponds bijectively to the subset Tf=f−1(y)⊆{1,…,n}T_f = f^{-1}(y) \subseteq \{1,\dots,n\} of factor-indices where yy was chosen; the remaining factors, indexed by {1,…,n}∖Tf\{1,\dots,n\}\setminus T_f, contributed xx. Since the ring is commutative, the product ∏i=1nf(i)\prod_{i=1}^n f(i) depends only on how many factors contributed xx and how many contributed yy — that is, only on ∣Tf∣|T_f| — and not on the specific identities of the indices in TfT_f. Concretely, if ∣Tf∣=k|T_f| = k, then

∏i=1nf(i)=xn−kyk.\prod_{i=1}^n f(i) = x^{n-k} y^{k}.

Therefore, collecting like terms, the coefficient of xn−kykx^{n-k}y^k in the fully simplified expansion of (x+y)n(x+y)^n equals the number of choice-functions ff with ∣Tf∣=k|T_f| = k, which equals the number of kk-element subsets TfT_f of {1,…,n}\{1,\dots,n\} — that is, exactly (nk)\binom{n}{k} by the definition of the binomial coefficient (the count of kk-subsets of an nn-set, from Combinations). Since every term in the unsimplified expansion has some well-defined number k∈{0,1,…,n}k \in \{0,1,\dots,n\} of yy-factors, summing over all possible values of kk accounts for every term exactly once, giving

(x+y)n=∑k=0n(nk)xn−kyk.■(x+y)^n = \sum_{k=0}^n \binom{n}{k} x^{n-k}y^k. \qquad \blacksquare

Alternative proof (induction on nn, using Pascal's Rule). As a second, independent verification, we induct on nn. Base case n=0n=0: both sides equal 11, since (x+y)0=1(x+y)^0 = 1 by convention (empty product) and the right side is (00)x0y0=1\binom{0}{0}x^0y^0 = 1. Inductive step: suppose the theorem holds for some n≥0n \ge 0, i.e.

(x+y)n=∑k=0n(nk)xn−kyk.(x+y)^n = \sum_{k=0}^n \binom{n}{k} x^{n-k}y^k.

Multiply both sides by (x+y)(x+y):

(x+y)n+1=(x+y)∑k=0n(nk)xn−kyk=∑k=0n(nk)xn+1−kyk+∑k=0n(nk)xn−kyk+1.(x+y)^{n+1} = (x+y)\sum_{k=0}^n \binom{n}{k}x^{n-k}y^k = \sum_{k=0}^n \binom{n}{k}x^{n+1-k}y^k + \sum_{k=0}^n \binom{n}{k}x^{n-k}y^{k+1}.

Reindex the second sum by letting j=k+1j = k+1 (so k=j−1k = j-1, and jj ranges from 11 to n+1n+1):

∑k=0n(nk)xn−kyk+1=∑j=1n+1(nj−1)xn+1−jyj.\sum_{k=0}^n \binom{n}{k}x^{n-k}y^{k+1} = \sum_{j=1}^{n+1}\binom{n}{j-1}x^{n+1-j}y^{j}.

Renaming jj back to kk, the right side of the multiplied equation becomes

∑k=0n(nk)xn+1−kyk+∑k=1n+1(nk−1)xn+1−kyk.\sum_{k=0}^{n}\binom{n}{k}x^{n+1-k}y^k + \sum_{k=1}^{n+1}\binom{n}{k-1}x^{n+1-k}y^k.

The first sum's k=0k=0 term is (n0)xn+1=xn+1\binom{n}{0}x^{n+1} = x^{n+1}, and the second sum's k=n+1k=n+1 term is (nn)yn+1=yn+1\binom{n}{n}y^{n+1}=y^{n+1}; for the shared range k=1,…,nk=1,\dots,n, combine the two sums termwise:

(x+y)n+1=xn+1+∑k=1n((nk)+(nk−1))xn+1−kyk+yn+1.(x+y)^{n+1} = x^{n+1} + \sum_{k=1}^{n}\Big(\binom{n}{k}+\binom{n}{k-1}\Big)x^{n+1-k}y^k + y^{n+1}.

By Pascal's Rule (proved above), (nk)+(nk−1)=(n+1k)\binom{n}{k}+\binom{n}{k-1} = \binom{n+1}{k} for 1≤k≤n1 \le k \le n. Also xn+1=(n+10)xn+1y0x^{n+1} = \binom{n+1}{0}x^{n+1}y^0 and yn+1=(n+1n+1)x0yn+1y^{n+1} = \binom{n+1}{n+1}x^0y^{n+1}, so the whole expression is exactly

(x+y)n+1=∑k=0n+1(n+1k)xn+1−kyk,(x+y)^{n+1} = \sum_{k=0}^{n+1}\binom{n+1}{k}x^{n+1-k}y^k,

which is the statement of the theorem for n+1n+1. By the principle of mathematical induction, the theorem holds for all nonnegative integers nn. ■\blacksquare Note that this second proof is entirely independent of the first: it never assumes the theorem for the value of nn being proved, uses only Pascal's Rule (proved directly by counting subsets, not by assuming the Binomial Theorem), and uses the standard induction axiom on the natural numbers — so there is no circularity.

∎

Worked examples

Example 1 — expanding (2a−3b)4(2a - 3b)^4. We apply the theorem with x=2ax = 2a, y=−3by=-3b, n=4n=4. The coefficients for n=4n=4 are (40),…,(44)=1,4,6,4,1\binom{4}{0},\dots,\binom{4}{4} = 1,4,6,4,1 (row 4 of Pascal's Triangle). Then

(2a−3b)4=∑k=04(4k)(2a)4−k(−3b)k.(2a-3b)^4 = \sum_{k=0}^4 \binom{4}{k}(2a)^{4-k}(-3b)^k.

Compute each term explicitly:

  • k=0k=0: (40)(2a)4(−3b)0=1⋅16a4⋅1=16a4\binom{4}{0}(2a)^4(-3b)^0 = 1\cdot 16a^4 \cdot 1 = 16a^4.
  • k=1k=1: (41)(2a)3(−3b)1=4⋅8a3⋅(−3b)=−96a3b\binom{4}{1}(2a)^3(-3b)^1 = 4\cdot 8a^3 \cdot(-3b) = -96a^3b.
  • k=2k=2: (42)(2a)2(−3b)2=6⋅4a2⋅9b2=216a2b2\binom{4}{2}(2a)^2(-3b)^2 = 6\cdot 4a^2\cdot 9b^2 = 216a^2b^2.
  • k=3k=3: (43)(2a)1(−3b)3=4⋅2a⋅(−27b3)=−216ab3\binom{4}{3}(2a)^1(-3b)^3 = 4\cdot 2a\cdot(-27b^3) = -216ab^3.
  • k=4k=4: (44)(2a)0(−3b)4=1⋅1⋅81b4=81b4\binom{4}{4}(2a)^0(-3b)^4 = 1\cdot 1\cdot 81b^4 = 81b^4.

Summing,

(2a−3b)4=16a4−96a3b+216a2b2−216ab3+81b4.(2a-3b)^4 = 16a^4 - 96a^3b + 216a^2b^2 - 216ab^3 + 81b^4.

As a sanity check, substitute a=1,b=0a=1,b=0: the right side gives 1616, matching (2⋅1−3⋅0)4=24=16(2\cdot1-3\cdot0)^4 = 2^4=16. Substitute a=0,b=1a=0,b=1: right side gives 8181, matching (−3)4=81(-3)^4=81. Substitute a=1,b=1a=1,b=1: right side gives 16−96+216−216+81=116-96+216-216+81 = 1, matching (2−3)4=(−1)4=1(2-3)^4=(-1)^4=1 exactly — a strong consistency check since it exercises every term with cancellation.

Example 2 — extracting one coefficient from (3+x2)7(3 + x^2)^7 without full expansion. Suppose we only want the coefficient of x10x^{10} in (3+x2)7(3+x^2)^7. Apply the theorem with the roles xthm=3x_{\text{thm}} = 3, ythm=x2y_{\text{thm}} = x^2, n=7n=7:

(3+x2)7=∑k=07(7k)37−k(x2)k=∑k=07(7k)37−kx2k.(3+x^2)^7 = \sum_{k=0}^7 \binom{7}{k} 3^{7-k} (x^2)^k = \sum_{k=0}^7 \binom{7}{k}3^{7-k}x^{2k}.

We need 2k=102k = 10, i.e. k=5k=5. The coefficient is

(75)37−5=(75)⋅32=21⋅9=189.\binom{7}{5}3^{7-5} = \binom{7}{5}\cdot 3^2 = 21 \cdot 9 = 189.

Double-check (75)=(72)=7⋅62=21\binom{7}{5} = \binom{7}{2} = \frac{7\cdot 6}{2} = 21 by the symmetry identity (nk)=(nn−k)\binom{n}{k}=\binom{n}{n-k} (itself an immediate consequence of the bijection "complement a kk-subset to get an (n−k)(n-k)-subset," which will be revisited under Binomial Identities). So the coefficient of x10x^{10} in (3+x2)7(3+x^2)^7 is exactly 189189, and this required no other term of the expansion — a genuine payoff of having the closed-form term (nk)xn−kyk\binom{n}{k}x^{n-k}y^k rather than needing the full product.

CounterexampleWhy nn must be a nonnegative integer

Drop the hypothesis that nn is a nonnegative integer, and try n=−1n = -1. The finite sum ∑k=0n(nk)xn−kyk\sum_{k=0}^{n}\binom{n}{k}x^{n-k}y^k does not even make sense as written, because the upper limit of summation, n=−1n=-1, is smaller than the lower limit 00; there is no finite set of terms to add, since a "(−1)(-1)-element subset" of an nn-set is not defined, and the factorial formula (nk)=n!/(k!(n−k)!)\binom{n}{k} = n!/(k!(n-k)!) breaks down since (−1)!(-1)! is undefined. If instead one extends the definition using (nk)=n(n−1)⋯(n−k+1)k!\binom{n}{k} = \frac{n(n-1)\cdots(n-k+1)}{k!} (which makes sense for any real nn, including negative or non-integer nn, and any nonnegative integer kk), then for n=−1n=-1 one gets (−1k)=(−1)k\binom{-1}{k} = (-1)^k, and the "expansion"

(1+y)−1∑k=0∞(−1k)yk=∑k=0∞(−1)kyk=1−y+y2−y3+⋯(1+y)^{-1} \overset{?}{=} \sum_{k=0}^{\infty} \binom{-1}{k}y^k = \sum_{k=0}^\infty (-1)^k y^k = 1 - y + y^2 - y^3 + \cdots

is now an infinite series, not a finite polynomial identity, and it is only valid as an equality of functions for ∣y∣<1|y|<1 (it is the geometric series for 11+y\frac{1}{1+y}), not for all yy. This is the Newton generalization (a topic for Ordinary Generating Functions), and it demonstrates precisely what is lost without the "nonnegative integer nn" hypothesis: the combinatorial proof breaks entirely (there is no set of "nn factors" to make choices from when n<0n<0), and the clean finite, all-x,yx,y polynomial identity becomes a conditionally convergent infinite series valid only on a restricted domain. The Binomial Theorem as stated is precisely the finite, unconditional case; weakening the integer hypothesis genuinely changes the type of the object, not just its proof.

Scope, edge cases & common traps

SituationWhat happensWhy
n=0n=0(x+y)0=1(x+y)^0 = 1Empty product convention; single term (00)x0y0=1\binom{0}{0}x^0y^0=1
y=0y=0(x)n=xn(x)^n = x^nAll terms with k≥1k\ge1 vanish since yk=0y^k=0
x=1,y=1x=1,y=12n=∑k(nk)2^n = \sum_k \binom{n}{k}Counts all subsets of an nn-set by size
x=1,y=−1x=1,y=-1, n≥1n\ge10=∑k(−1)k(nk)0 = \sum_k (-1)^k\binom{n}{k}Even and odd subsets of a nonempty set balance
nn negative or non-integerTheorem does not apply; infinite series (Newton's generalization) replaces itNo finite "nn factors" to choose from
Non-commutative ring (e.g. matrices with XY≠YXXY\ne YX)Theorem generally failsProof needs commutativity to collect xn−kykx^{n-k}y^k regardless of order of choices

The mathematician behind it

The binomial coefficients and the expansion of (x+y)n(x+y)^n for integer nn were known, in essentially complete generality, well before any single "discoverer": Indian mathematicians (Pingala, and later Halayudha's commentary describing the triangular array), Chinese mathematician Jia Xian and later Yang Hui, and Persian mathematician al-Karaji all worked with these coefficients and their triangular recursive structure centuries before European mathematics did. In Europe the array bears the name of Blaise Pascal, who in 1654 wrote a systematic treatise organizing the triangle's properties, its recursive rule, and its combinatorial meaning, making the connection between the triangle and counting explicit and widely known in the West.

Origins · 1 minBlaise Pascal and how this was discovered
BP
Blaise Pascal
1623–1662 · 17th-century France, mathematics and probability

Pascal was a French mathematician, physicist, and philosopher. Alongside Pierre de Fermat, his correspondence on the "problem of points" helped found the mathematical theory of probability, a subject in which binomial coefficients count outcomes of repeated trials. His Traité du triangle arithmétique (1654) systematically presented the triangular array of (nk)\binom{n}{k}, proved its recursive rule (Pascal's Rule), and connected it to combinations, gambling problems, and the coefficients of (x+y)n(x+y)^n.

History
- c. 200 BCE — Pingala's Chandaḥśāstra implicitly uses binomial-type counts for combinations of syllables in Sanskrit prosody.
- 1050 CE — Jia Xian describes a triangular arrangement of coefficients for extracting roots, an early form of Pascal's Triangle.
- 1261 CE — Yang Hui documents and popularizes the triangle in China, connecting it to the extraction of roots and binomial expansions.
- 1636–1654 CE — European mathematicians including al-Karaji's predecessors and later Pascal formalize the triangle's recursive structure and its role in (x+y)n(x+y)^n.
- 1665 CE — Isaac Newton generalizes the Binomial Theorem to arbitrary real exponents, producing the infinite binomial series discussed above.
Why is (nk)\binom{n}{k} called a "binomial coefficient" if it's defined purely by counting subsets?

Historically, (nk)\binom{n}{k} was named for its role as the coefficient of xn−kykx^{n-k}y^k in the expansion of the binomial (x+y)n(x+y)^n — the algebraic context came first in common usage, even though the counting interpretation (choosing kk-subsets) is equally fundamental and, as the theorem shows, provably equal to it. The name reflects the historically dominant algebraic viewpoint, but the Binomial Theorem itself is precisely the statement that the "algebraic" coefficient and the "combinatorial" count coincide, so neither definition is more correct — they are proven identical.

Does the Binomial Theorem work if xx or yy is zero, or if both are zero?

Yes, with the standard convention 00=10^0=1 used when needed. If y=0y=0, every term with k≥1k\ge 1 contains a factor yk=0y^k=0 and vanishes, leaving only the k=0k=0 term (n0)xn=xn\binom{n}{0}x^n = x^n, matching (x+0)n=xn(x+0)^n=x^n. If both x=y=0x=y=0 and n≥1n\ge1, every term vanishes (each term has xn−kykx^{n-k}y^k with n−k+k=n≥1n-k+k=n\ge1, so at least one factor is a positive power of 00), giving 00, matching (0+0)n=0(0+0)^n=0. The edge case n=0n=0 with x=y=0x=y=0 relies on the convention 00=10^0=1, consistent with the empty-product definition (x+y)0=1(x+y)^0=1 for all x,yx,y including 00.

How is the Binomial Theorem different from the binomial series (Newton's generalization)?

The Binomial Theorem, as stated here, is a finite, exact polynomial identity valid for every x,yx,y in a commutative ring and every nonnegative integer nn; it has no convergence conditions because it is a finite sum. The binomial series replaces nn with an arbitrary real or complex exponent α\alpha, defines generalized coefficients (αk)=α(α−1)⋯(α−k+1)k!\binom{\alpha}{k}=\frac{\alpha(\alpha-1)\cdots(\alpha-k+1)}{k!}, and produces an infinite series ∑k=0∞(αk)yk\sum_{k=0}^\infty \binom{\alpha}{k}y^k that equals (1+y)α(1+y)^\alpha only for ∣y∣<1|y|<1 (with boundary behavior depending on α\alpha). The finite theorem is a special case in the sense that when α=n\alpha=n is a nonnegative integer, the generalized coefficients vanish for k>nk>n, collapsing the infinite series back to the same finite sum — the two results agree exactly where both apply.

Can the Binomial Theorem be used to quickly find just one term of an expansion, without expanding everything?

Yes, and this is one of its most practical uses. The kk-th term of (x+y)n(x+y)^n (counting from k=0k=0) is always (nk)xn−kyk\binom{n}{k}x^{n-k}y^k, a closed-form expression depending only on nn and kk, not on the other terms. As shown in the second worked example, this lets you extract a single coefficient — say, of x10x^{10} in (3+x2)7(3+x^2)^7 — by solving for the matching kk and evaluating just that one term, avoiding the work of expanding all eight terms of the full product.

What goes wrong if someone tries to apply the theorem to (A+B)n(A+B)^n for square matrices A,BA, B?

The theorem's combinatorial proof crucially uses that the underlying ring is commutative, so that a product like x⋅y⋅xx\cdot y\cdot x equals x2yx^2y regardless of the order of the factors. For matrices, AB≠BAAB \ne BA in general, so expanding (A+B)2=A2+AB+BA+B2(A+B)^2 = A^2+AB+BA+B^2 cannot be simplified to A2+2AB+B2A^2+2AB+B^2 unless AB=BAAB=BA is specifically known. The formula (A+B)n=∑k(nk)An−kBk(A+B)^n = \sum_k \binom{n}{k}A^{n-k}B^k is valid if and only if AA and BB commute; this restricted case is sometimes called the "commuting binomial theorem" and is used, for instance, when AA and BB are simultaneously diagonalizable or one is a scalar multiple of the identity.

Is there a version of the Binomial Theorem for more than two terms, like (x+y+z)n(x+y+z)^n?

Yes — this generalization is the Multinomial Theorem, which states (x1+⋯+xm)n=∑(nk1,…,km)x1k1⋯xmkm(x_1+\cdots+x_m)^n = \sum \binom{n}{k_1,\dots,k_m} x_1^{k_1}\cdots x_m^{k_m}, summed over all nonnegative integer tuples (k1,…,km)(k_1,\dots,k_m) with k1+⋯+km=nk_1+\cdots+k_m=n, where the multinomial coefficient (nk1,…,km)=n!k1!⋯km!\binom{n}{k_1,\dots,k_m}=\frac{n!}{k_1!\cdots k_m!} counts the ways to partition nn labeled factors into groups of sizes k1,…,kmk_1,\dots,k_m contributing x1,…,xmx_1,\dots,x_m respectively. The proof is a direct extension of the combinatorial argument given here, replacing "choose a subset for yy" with "partition the nn factor-indices into mm labeled groups," and it specializes exactly to the Binomial Theorem when m=2m=2.

Why does the alternating sum ∑k=0n(−1)k(nk)\sum_{k=0}^n (-1)^k \binom{n}{k} equal zero for n≥1n\ge 1?

Substitute x=1,y=−1x=1, y=-1 into the theorem: (1+(−1))n=∑k(nk)1n−k(−1)k=∑k(−1)k(nk)(1+(-1))^n = \sum_k \binom{n}{k}1^{n-k}(-1)^k = \sum_k (-1)^k\binom{n}{k}. Since n≥1n\ge1, the left side is 0n=00^n=0, so the alternating sum of an entire row of Pascal's Triangle (for n≥1n\ge1) is exactly zero. Combinatorially, this says the number of even-sized subsets of an nn-element set (n≥1n\ge1) equals the number of odd-sized subsets, a fact used repeatedly in inclusion–exclusion arguments and explored further under Binomial Identities.

Before this

Where this leads