The Binomial Theorem
How many ways can you expand 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 , whether to take an or a , how many ways give exactly copies of ? 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 . On the other side sit Combinations, the counts of -element subsets of an -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 means picking, from each factor, an or a . Every term of the expansion corresponds to one such sequence of choices. Grouping the resulting monomials by how many '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.
- The Binomial Theorem expands as a sum of over .
- The coefficients are exactly the counts of -subsets from Combinations — no coincidence, a proof.
- The cleanest proof is combinatorial: track, for each term, which factors contributed an versus a .
- Pascal's Triangle displays these coefficients and encodes the recurrence .
- The theorem requires to be a nonnegative integer; for other exponents the sum becomes an infinite series.
- Key idea: expanding a product of identical binomials is the same act as choosing, for each factor, whether it contributes to the -side or the -side of a term.
Where this lives today
The Binomial Theorem is the seed of an entire branch of enumerative combinatorics. Setting gives , the fact that a set of size has subsets, unifying two seemingly different counting facts. Setting 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 is literally a term of the expansion of , and the theorem guarantees these probabilities sum to . In algebra and calculus, the theorem underlies finite-difference calculus and the expansion of derivatives of products (Leibniz's rule for has the identical coefficient pattern). In computer science, binomial coefficients count subsets in algorithm analysis (e.g., the number of size- 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 is the generating function whose coefficient sequence is exactly the row of Pascal's Triangle , 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 with ?
Let be elements of a commutative ring (for concreteness, real or complex numbers, or formal variables) and let be a nonnegative integer. Define the binomial coefficient
the number of -element subsets of an -element set (from Combinations), with for or . The Binomial Theorem states that for all such ,
Intuition
Think of not as a formula to expand, but as physical boxes lined up in a row, box through box , each containing a copy of . To expand the product, you must reach into every box and pull out either its or its , then multiply your 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 ways of making these choices produces a monomial where is the number of boxes from which you drew a . Many different choice-sequences produce the same monomial: any sequence with drawn from exactly the same boxes gives , and swapping which boxes contributed the 's (among the same total count ) does not change the monomial at all, since multiplication is commutative. So the coefficient of in the fully expanded, un-simplified sum is the number of ways to choose which of the boxes contribute a — precisely .
The picture makes the coefficient tangible: there are rows with exactly one , giving coefficient on , and rows with exactly two 's, giving coefficient on , matching .
Pascal's Triangle
Arranging the coefficients by row and position 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.
Let be a nonnegative integer, and let be elements of any commutative ring (in particular, real or complex numbers, or independent formal variables). Then
where is the number of -element subsets of a set of size .
For all integers and ,
with the convention handled consistently (i.e. and are boundary cases verified directly).
(Combinatorial proof of Pascal's Rule, by a bijective/counting argument.) Fix a set of elements and distinguish one element . We count the -element subsets of in two ways. Directly, there are such subsets, by definition. Alternatively, partition the -subsets of into two disjoint classes: those containing , and those not containing . A -subset containing is determined by choosing the remaining elements from , a set of size ; there are ways to do this. A -subset not containing is a -element subset of directly, giving ways. Since every -subset falls into exactly one of these two classes, the total count is . Equating the two counts of the same quantity gives . The boundary cases (where and the identity reads ) and (symmetric) are checked directly from the factorial formula and are consistent with this convention.
∎Proof of the Binomial Theorem (combinatorial argument). Fix a nonnegative integer . Write
and label the factors . 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 , either or , and multiplying the chosen symbols together. Formally, the unsimplified expansion is the sum, over all functions , of the product ; this is a direct consequence of applying the distributive law times to expand a product of binomials into monomial terms, one for each choice-function . (This step uses only associativity, commutativity, and distributivity in the ring, and is easily formalized by induction on : the case is trivial, and the inductive step multiplies the terms of the expansion of by , again by distributivity, doubling the number of terms.) Each choice-function corresponds bijectively to the subset of factor-indices where was chosen; the remaining factors, indexed by , contributed . Since the ring is commutative, the product depends only on how many factors contributed and how many contributed — that is, only on — and not on the specific identities of the indices in . Concretely, if , then
Therefore, collecting like terms, the coefficient of in the fully simplified expansion of equals the number of choice-functions with , which equals the number of -element subsets of — that is, exactly by the definition of the binomial coefficient (the count of -subsets of an -set, from Combinations). Since every term in the unsimplified expansion has some well-defined number of -factors, summing over all possible values of accounts for every term exactly once, giving
Alternative proof (induction on , using Pascal's Rule). As a second, independent verification, we induct on . Base case : both sides equal , since by convention (empty product) and the right side is . Inductive step: suppose the theorem holds for some , i.e.
Multiply both sides by :
Reindex the second sum by letting (so , and ranges from to ):
Renaming back to , the right side of the multiplied equation becomes
The first sum's term is , and the second sum's term is ; for the shared range , combine the two sums termwise:
By Pascal's Rule (proved above), for . Also and , so the whole expression is exactly
which is the statement of the theorem for . By the principle of mathematical induction, the theorem holds for all nonnegative integers . Note that this second proof is entirely independent of the first: it never assumes the theorem for the value of 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 . We apply the theorem with , , . The coefficients for are (row 4 of Pascal's Triangle). Then
Compute each term explicitly:
- : .
- : .
- : .
- : .
- : .
Summing,
As a sanity check, substitute : the right side gives , matching . Substitute : right side gives , matching . Substitute : right side gives , matching exactly — a strong consistency check since it exercises every term with cancellation.
Example 2 — extracting one coefficient from without full expansion. Suppose we only want the coefficient of in . Apply the theorem with the roles , , :
We need , i.e. . The coefficient is
Double-check by the symmetry identity (itself an immediate consequence of the bijection "complement a -subset to get an -subset," which will be revisited under Binomial Identities). So the coefficient of in is exactly , and this required no other term of the expansion — a genuine payoff of having the closed-form term rather than needing the full product.
Drop the hypothesis that is a nonnegative integer, and try . The finite sum does not even make sense as written, because the upper limit of summation, , is smaller than the lower limit ; there is no finite set of terms to add, since a "-element subset" of an -set is not defined, and the factorial formula breaks down since is undefined. If instead one extends the definition using (which makes sense for any real , including negative or non-integer , and any nonnegative integer ), then for one gets , and the "expansion"
is now an infinite series, not a finite polynomial identity, and it is only valid as an equality of functions for (it is the geometric series for ), not for all . This is the Newton generalization (a topic for Ordinary Generating Functions), and it demonstrates precisely what is lost without the "nonnegative integer " hypothesis: the combinatorial proof breaks entirely (there is no set of " factors" to make choices from when ), and the clean finite, all- 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
| Situation | What happens | Why |
|---|---|---|
| Empty product convention; single term | ||
| All terms with vanish since | ||
| Counts all subsets of an -set by size | ||
| , | Even and odd subsets of a nonempty set balance | |
| negative or non-integer | Theorem does not apply; infinite series (Newton's generalization) replaces it | No finite " factors" to choose from |
| Non-commutative ring (e.g. matrices with ) | Theorem generally fails | Proof needs commutativity to collect regardless of order of choices |
The mathematician behind it
The binomial coefficients and the expansion of for integer 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
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 , proved its recursive rule (Pascal's Rule), and connected it to combinations, gambling problems, and the coefficients of .
Why is called a "binomial coefficient" if it's defined purely by counting subsets?
Historically, was named for its role as the coefficient of in the expansion of the binomial — the algebraic context came first in common usage, even though the counting interpretation (choosing -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 or is zero, or if both are zero?
Yes, with the standard convention used when needed. If , every term with contains a factor and vanishes, leaving only the term , matching . If both and , every term vanishes (each term has with , so at least one factor is a positive power of ), giving , matching . The edge case with relies on the convention , consistent with the empty-product definition for all including .
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 in a commutative ring and every nonnegative integer ; it has no convergence conditions because it is a finite sum. The binomial series replaces with an arbitrary real or complex exponent , defines generalized coefficients , and produces an infinite series that equals only for (with boundary behavior depending on ). The finite theorem is a special case in the sense that when is a nonnegative integer, the generalized coefficients vanish for , 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 -th term of (counting from ) is always , a closed-form expression depending only on and , not on the other terms. As shown in the second worked example, this lets you extract a single coefficient — say, of in — by solving for the matching 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 for square matrices ?
The theorem's combinatorial proof crucially uses that the underlying ring is commutative, so that a product like equals regardless of the order of the factors. For matrices, in general, so expanding cannot be simplified to unless is specifically known. The formula is valid if and only if and commute; this restricted case is sometimes called the "commuting binomial theorem" and is used, for instance, when and 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 ?
Yes — this generalization is the Multinomial Theorem, which states , summed over all nonnegative integer tuples with , where the multinomial coefficient counts the ways to partition labeled factors into groups of sizes contributing respectively. The proof is a direct extension of the combinatorial argument given here, replacing "choose a subset for " with "partition the factor-indices into labeled groups," and it specializes exactly to the Binomial Theorem when .
Why does the alternating sum equal zero for ?
Substitute into the theorem: . Since , the left side is , so the alternating sum of an entire row of Pascal's Triangle (for ) is exactly zero. Combinatorially, this says the number of even-sized subsets of an -element set () equals the number of odd-sized subsets, a fact used repeatedly in inclusion–exclusion arguments and explored further under Binomial Identities.