The binomial coefficient was defined to count subsets — the number of k-element selections from an n-element set. The same coefficient also organizes the algebraic expansion of (a+b)n, and the binomial theorem makes that organization explicit.
The connection is not a coincidence. When (a+b)n is written out as the product of n copies of (a+b), each term in the expansion is built by choosing either a or b from each factor and multiplying the choices together. A term of the form an−kbk arises whenever exactly k of the n factors contribute a b, and the number of ways to make that choice is (kn).
Counting subsets and expanding powers turn out to be the same problem viewed from two sides.
The Theorem
For any non-negative integer n and any values a and b,
The expansion has exactly n+1 terms, indexed by k from 0 through n. The coefficients (0n),(1n),…,(nn) are precisely the entries of row n of Pascal's triangle — so the row of the triangle reads as the row of coefficients in the expansion. The ∑ summation sign and the rest of the theorem's notation are collected among the combinatorics symbols.
Combinatorial Proof
Write (a+b)n as the product
n factors(a+b)(a+b)⋯(a+b).
Expanding the product means forming every possible term by choosing either a or b from each factor and multiplying the selections. A term equal to an−kbk arises whenever exactly k of the n factors contribute a b, and there are (kn) ways to make that selection. Summing over all k gives the theorem.
This is a double counting argument in its purest form: the product (a+b)n, viewed both as an algebraic expression and as an enumeration of choice-sequences, has the same value either way.
Algebraic Proof
An induction on n also works, using Pascal's rule to advance from row n to row n+1. Both proofs are standard; the combinatorial one is the more direct explanation of why binomial coefficients appear.
Every pick, sorted by its b's
Multiplying out (a + b)(a + b)(a + b) means taking a or b from each of the three factors, 2 × 2 × 2 = 8 picks in all. Sort the picks by how many b’s they take: one pick has none, three have one, three have two, one has three. Each column is a set of positions chosen for the b’s, so its size is C(3, k), and all its picks multiply to the same a³⁻ᵏbᵏ — which is why that binomial coefficient becomes the term’s coefficient.
The coefficients 1, 3, 3, 1 are row 3 of Pascal's triangle; with four factors the same sorting gives 1, 4, 6, 4, 1.
The General Term
The term corresponding to a specific power of b in the expansion appears often enough to deserve its own formula. The (k+1)-th term is
The terms are numbered starting from T1=(0n)an — the term with no b. Under this convention, the term containing bk is Tk+1, not Tk.
Uses
The general term is the tool for problems that ask about one specific term rather than the whole expansion. Three standard problem types use it directly:
• Finding the coefficient of a specific power of one variable • Identifying the middle term of the expansion • Finding the term independent of a variable (when one of a or b involves that variable in the numerator and the other in the denominator)
The Middle Term
When n is even, the expansion has n+1 terms with a unique middle term
Its coefficient (n/2n) is the maximum binomial coefficient in row n — the entries grow from the edges toward the middle of each row of Pascal's triangle.
Special Cases
Specific substitutions for a and b convert the theorem into useful identities.
Setting a=1,b=1
(1+1)n=2n=k=0∑n(kn).
This is the algebraic counterpart of the row-sum identity from Pascal's triangle: the entries of row n sum to 2n, which is also the number of subsets of an n-set.
Setting a=1,b=−1
(1−1)n=0=k=0∑n(−1)k(kn)for n≥1.
The alternating row sum is zero, which means the number of even-sized subsets of an n-set equals the number of odd-sized subsets.
Setting a=1,b=x
(1+x)n=k=0∑n(kn)xk.
This is the form most commonly encountered in algebra. The right side is the generating function for the binomial coefficients of row n — a polynomial whose coefficients encode the entire row.
Derived Identities
Operations on the polynomial form produce further identities. Differentiating (1+x)n with respect to x and substituting x=1 gives
Multiplying by x and differentiating again, or integrating and substituting, produces a family of related sums. These substitutions are the standard route for converting algebraic facts about (a+b)n into combinatorial identities about binomial coefficients.
Substitution
Identity produced
Combinatorial meaning
a = 1, b = 1
Σk=0n C(n, k) = 2n
row sum = total number of subsets of an n-set
a = 1, b = −1
Σk=0n (−1)k C(n, k) = 0 for n ≥ 1
even-sized subsets are as numerous as odd-sized ones
a = 1, b = x
(1 + x)n = Σk=0n C(n, k) xk
generating function for row n of Pascal's triangle
Differentiate, then x = 1
Σk=1n k · C(n, k) = n · 2n−1
weighted row sum; combinatorial proofs by double counting also work
Row 4 sums to 16 = 2⁴
The whole of row 4 is highlighted and its entries total 16, which is the substitution a = b = 1 carried out in the array instead of in the algebra. Reading the same row as a count of subsets explains why the total is a power of two: each of the 4 items is independently either in or out. Highlight any row and watch its total double on the Pascal’s triangle visualizer.
The other substitutions work the same way: each one turns a free choice of a and b into a statement about the coefficients themselves.
The Multinomial Theorem
The binomial theorem expands a sum of two terms raised to a power. When the base has more than two terms, the generalization is the multinomial theorem.
Statement
For a non-negative integer n and any values x1,x2,…,xr,
which counts the number of ways to partition n items into r labeled groups of the specified sizes. The binomial theorem is the case r=2: the coefficient (k,n−kn) collapses to the ordinary binomial coefficient (kn).
Number of Terms
The number of distinct terms in the multinomial expansion equals the number of tuples of non-negative integers summing to n, which is a weak composition count:
(r−1n+r−1).
For the binomial case r=2 this gives (1n+1)=n+1, matching the count from the binomial theorem.
Four items into boxes of 2, 1 and 1
The coefficient of x₁²x₂x₃ in (x₁ + x₂ + x₃)⁴ counts the ways to hand the 4 factors to three labelled groups: two factors give x₁, one gives x₂, one gives x₃. Filling Box A with 2 of the 4 items, then Box B and Box C with 1 each, gives 4!/(2!·1!·1!) = 12 partitions, so the term is 12x₁²x₂x₃. Try other group sizes on the partition into groups visualizer.
With only two boxes, of sizes k and n - k, the same count is the binomial coefficient: the binomial theorem is the two-group case.
Binomial Expansion Notation
Notation
Binomial Expansion Notation
The theorem's machinery in three marks: the sigma that folds an expansion into one expression, the term labels with their built-in shift, and the sum whose subscript is an equation.
The expansion compressor: capital sigma with its counter declared below and its stopping point above — n+1 terms folded into one expression in The Theorem above. The letter is an operator, not a quantity.
CasesThe counter k is a bound (dummy) variable — the sum's value never mentions it, the same disappearing act as the dummy variable of integration; renaming k to j changes nothing.
Do not confuseA product of sigma and its neighbors. Nothing multiplies — everything to the right of the sigma sits inside its scope; how far the scope reaches is convention, and brackets settle any dispute.
Tk+1
the k-plus-first term
Term labels with a built-in shift: numbering starts at T1 — the term with no b — so the term containing bk is Tk+1, never Tk; the Index Convention of The General Term above.
CasesThe middle term inherits the shift — even n puts it at Tn/2+1; every "find the 7th term" problem is really a k=6 computation, and writing that translation down first prevents the classic slip.
Do not confuseZero-based counting. The exponent k runs from 0, the label T from 1 — two counters one step apart riding the same term; conflating them is the standard error of expansion problems.
∑k1+⋯+kr=n
the sum over all splittings of n
Summation with an equation for a subscript: the index set is every non-negative solution of k1+⋯+kr=n — one term per way of splitting n, as The Multinomial Theorem above deploys it.
CasesThe constraint replaces bounds entirely — no corners, just a membership condition under the sigma, with extra conditions stacked beneath (ki≥0): a miniature set-builder doing index duty.
Do not confuseA single running index. No one counter exists here — the sum ranges over tuples; expanding it as if one k walks from somewhere to n produces phantom terms and misses most of the real ones.
Substitute the first base as 2a and the second as −3b. Row 3 coefficients are 1,3,3,1:
(2a−3b)3=(2a)3+3(2a)2(−3b)+3(2a)(−3b)2+(−3b)3.
Simplifying each term:
(2a−3b)3=8a3−36a2b+54ab2−27b3.
The alternating signs come directly from the powers of −3b.
Single Coefficient: x5 in (1+x)8
The general term of (1+x)8 is Tk+1=(k8)xk. The coefficient of x5 comes from k=5:
(58)=56.
No need to expand the full polynomial.
Term Independent of x in (x+x1)10
The general term is
Tk+1=(k10)x10−k(x1)k=(k10)x10−2k.
The term is independent of x when 10−2k=0, i.e. k=5. The constant term is
(510)=252.
Multinomial Expansion: (a+b+c)3
The tuples (k1,k2,k3) of non-negative integers summing to 3 are: (3,0,0), (0,3,0), (0,0,3), (2,1,0), (2,0,1), (1,2,0), (0,2,1), (1,0,2), (0,1,2), (1,1,1). The corresponding coefficients are 1,1,1,3,3,3,3,3,3,6:
The number of terms, (3−13+3−1)=(25)=10, matches the count of distinct monomials above.
Problem type
Setup
Key step
Answer
Full expansion
(x + 2)4; row 4 = 1, 4, 6, 4, 1
substitute b = 2 into each term
x4 + 8x3 + 24x2 + 32x + 16
Expansion with signs
(2a − 3b)3; row 3 = 1, 3, 3, 1
track the sign of (−3b)k in each term
8a3 − 36a2b + 54ab2 − 27b3
One specific coefficient
coefficient of x5 in (1 + x)8
general term gives k = 5; compute C(8, 5)
56
Term independent of x
(x + 1⁄x)10
solve 10 − 2k = 0 → k = 5
C(10, 5) = 252
Multinomial expansion
(a + b + c)3
enumerate all (k₁, k₂, k₃) with k₁+k₂+k₃ = 3
10 distinct monomials including 6abc
Related Concepts
• Polynomials — polynomial identities, factoring, and the structure of expansions in algebra rest on the binomial theorem and its generalizations.
• Binomial Distribution — the binomial distribution in probability is constructed directly from the binomial theorem; the probabilities of all possible outcome counts sum to 1 by the substitution a=p, b=1−p.
Binomial Theorem at a Glance
The page covered the theorem statement, the general-term formula, useful substitutions that yield combinatorial identities, the multinomial generalization, and the standard problem types. The table below collects the structural facts about (a+b)n in one reference card.
Concept
Statement
Example
The theorem
(a + b)n = Σk=0n C(n, k) · an−k · bk
(x + y)3 = x3 + 3x2y + 3xy2 + y3
Number of terms
exactly n + 1, one for each k from 0 to n
(a + b)5 has 6 terms
General term
Tk+1 = C(n, k) · an−k · bk; indexing starts at T1 = an
distinct monomials = C(n + r − 1, r − 1) — a weak-composition count
(a+b+c)3: C(5, 2) = 10
Where it appears
polynomial expansions, binomial distribution (substitute a = p, b = 1−p), Newton's generalized binomial series for non-integer n
(p + (1−p))n = 1 sums all binomial probabilities
Binomial Theorem FAQ
How many terms does the expansion of (a + b) to the n have?
+
One more than the exponent. The powers of the first term run from n down to zero, giving n plus one values in total, and each contributes exactly one term. Squaring gives three terms, cubing gives four. Terms only merge if the two parts happen to be equal, which the general form does not assume.Read more →
How do you find one specific term without expanding everything?
+
Use the general term formula, which gives any term directly from its position. Be careful with indexing: the term numbered r plus one carries the exponent r, so asking for the fifth term means setting r to four. Off-by-one errors here are the most common mistake in the whole topic.Read more →
How do you find the middle term of a binomial expansion?
+
When the exponent is even there is a single middle term, sitting at position n over two plus one. When the exponent is odd the count of terms is even and there are two middle terms instead. Checking the parity of the exponent before hunting for the position avoids looking for a term that does not exist.Read more →
What happens to the signs when you expand (a − b) to the n?
+
They alternate, starting positive. Treating the expression as a plus negative b means each term picks up a factor of negative one raised to the term's index, so odd-numbered powers of b come out negative. The coefficients themselves are unchanged; only the signs differ from the sum case.Read more →