The binomial theorem is the formula that expands any power of a two-term expression — a binomial such as (a + b) — into a sum of individual terms, without multiplying the expression by itself over and over. For (a + b)ⁿ, it states that the expansion equals the sum, over k = 0 up through n, of C(n, k) times a raised to (n − k) times b raised to k, where C(n, k) is the binomial coefficient and n is any non-negative integer. Those coefficients are exactly the numbers in row n of Pascal’s triangle, so you can read them straight off the triangle instead of computing a single factorial. The result always has n + 1 terms, running from a raised to the full power n down to b raised to the full power n.

Key takeaways

Point Details
The theorem expands any binomial power Expanding (a + b)ⁿ equals the sum of C(n, k)·a^(n−k)·b^k for k running from 0 to n, replacing repeated multiplication with one formula.
Binomial coefficients count choices C(n, k), computed as n! divided by k!(n − k)!, counts how many of the n factors of (a + b) contribute a b rather than an a.
Pascal's triangle hands you the coefficients Row n of the triangle lists C(n, 0) through C(n, n) in order, and each entry is just the sum of the two entries above it — no factorials required.
Every expansion has n + 1 terms The exponent on a runs from n down to 0 while the exponent on b runs from 0 up to n, so the count of terms is always one more than n.
Binomial theorem is not the binomial distribution The theorem expands an algebraic expression into a polynomial; the distribution reuses the same coefficient to compute a probability — related by notation, not by purpose.

Quick Checklist: Expanding a Binomial With Pascal’s Triangle

Before expanding anything, lock down which letter is a, which is b, and what n is. These six checks cover the steps that trip people up most often, from a dropped sign to an off-by-one term count.

Quick checklist: expanding a binomial with the theorem

  • Identify a, b, and n Write down which term is a, which is b, and the power n before touching the formula.
  • Get the coefficients Read row n of Pascal's triangle, or compute C(n, k) = n! / (k!(n − k)!) for each k from 0 to n.
  • Write every term in order Each term is C(n, k) times a raised to (n − k) times b raised to k, for k = 0 up through n.
  • Watch the sign on a negative term For (a − b)ⁿ, treat it as a + (−b) and let the sign alternate by (−1)^k as k increases.
  • Count the terms you produced A correct expansion always has exactly n + 1 terms — recount if you land on n instead.
  • Sanity-check the coefficients Add up just the C(n, k) values from Pascal’s triangle (not the full expanded terms with a and b plugged in) — that sum must equal 2ⁿ. If it doesn’t, a coefficient is wrong.

Treat this as a pre-flight check, not a substitute for understanding why the formula works — that’s what the rest of this guide covers.

What Is the Binomial Theorem?

The binomial theorem states that for any real numbers a and b and any non-negative integer n, (a + b)ⁿ expands into a sum of n + 1 terms, each of the form C(n, k)·a^(n−k)·b^k, with k running from 0 to n. Written out:

(a + b)^n = C(n,0)·a^n        + C(n,1)·a^(n-1)·b
          + C(n,2)·a^(n-2)·b^2 + ... + C(n,n)·b^n

The first term carries a to the full power n and b to the power 0; each later term shifts one power from a to b; the last term carries b to the full power n. NIST’s Digital Library of Mathematical Functions states the same identity in its section on binomial coefficients, where it defines the coefficient and the expansion together as one of the handbook’s core algebraic formulas — see the NIST DLMF, §1.2 Elementary Algebra. OpenStax Precalculus 2e states the same sum formula in its chapter on the binomial theorem, alongside the same Pascal’s-triangle shortcut for reading off the coefficients.

A binomial is simply any expression with exactly two terms — a + b, x − y, 2p + 3 — and the prefix bi- signals that count. The coefficient on each term counts the number of ways to choose which k of the n factors of (a + b) contribute a b instead of an a. Each of the n factors makes an independent a-or-b choice, the same independent-choice structure covered by the fundamental counting principle; the binomial theorem is what happens once you tally up every way those n independent choices can land.

How Do You Calculate a Binomial Coefficient?

A binomial coefficient C(n, k) — read “n choose k” — counts the number of ways to pick k items out of n without caring about order, and its value is n! divided by k! times (n − k)!.

C(n, k) = n! / ( k! · (n - k)! )

C(4, 2) = 4! / (2! · 2!) = 24 / 4 = 6

Order doesn’t matter here: choosing factors 1 and 3 of (a + b)⁴ to supply the b is the same selection as choosing factors 3 and 1, which is exactly why this is a combination count and not a permutation count — see permutations vs. combinations for the general rule that separates the two, or the combination formula for the full derivation of C(n, k) on its own.

Two properties matter most for the binomial theorem specifically: C(n, 0) = C(n, n) = 1 (there’s exactly one way to choose nothing, and exactly one way to choose everything), and C(n, k) = C(n, n − k), since choosing k items to include is the same act as choosing n − k items to leave out.

To compute C(n, k) by hand or verify a row of Pascal’s triangle, the combination calculator runs the factorial arithmetic for you.

How Does Pascal’s Triangle Generate the Binomial Coefficients?

Pascal’s triangle is a triangular array of numbers in which every interior entry equals the sum of the two entries directly above it, and row n of the triangle lists C(n, 0) through C(n, n) in order — exactly the coefficients the binomial theorem needs for (a + b)ⁿ.

Row 0:              1
Row 1:            1   1
Row 2:          1   2   1
Row 3:        1   3   3   1
Row 4:      1   4   6   4   1
Row 5:    1   5  10  10   5   1
Row 6:  1   6  15  20  15   6   1
Pascal's triangle, rows 0 through 6
Row (n) Binomial coefficients C(n, 0) … C(n, n)
0 1
1 1, 1
2 1, 2, 1
3 1, 3, 3, 1
4 1, 4, 6, 4, 1
5 1, 5, 10, 10, 5, 1
6 1, 6, 15, 20, 15, 6, 1

For (a + b)⁴, row 4 gives 1, 4, 6, 4, 1 — the same five coefficients the factorial formula produces for C(4,0) through C(4,4). To build row 5 from row 4, place a 1 at each end, then sum each adjacent pair above it: 1+4 = 5, 4+6 = 10, 6+4 = 10, 4+1 = 5, giving 1, 5, 10, 10, 5, 1.

Why Each Entry Is a Sum of the Two Above It

The rule — each entry equals the sum of its two parents — is Pascal’s identity:

C(n, k) = C(n-1, k-1) + C(n-1, k)

The combinatorial reason is a fixed-item argument. Pick one specific factor out of the n factors of (a + b) and call it the “marked” one. Any way of choosing k factors to supply a b either includes the marked factor or it doesn’t: if it does, you still need to choose k − 1 more b’s from the remaining n − 1 factors (that’s C(n−1, k−1) ways); if it doesn’t, you need to choose all k b’s from the remaining n − 1 factors (that’s C(n−1, k) ways). Adding those two mutually exclusive cases gives every way to choose k b’s from n factors, which is exactly C(n, k). NIST’s handbook frames this same recurrence through lattice-path counting in its chapter on combinatorial analysis — see the NIST DLMF, §26.3 Lattice Paths: Binomial Coefficients.

That same fixed-item logic is why the small cases work out the way they do. For (a + b)² = (a + b)(a + b), each factor independently contributes an a or a b, giving a², ab, ba, and b² before combining like terms — the single ab-type term appears twice, so its coefficient is 2 = C(2,1), matching row 2 of the triangle.

Although Pascal was not the first to study the Pascal triangle, his work on the topic in Treatise on the Arithmetical Triangle was the most important on this topic and, through the work of Wallis, Pascal’s work on the binomial coefficients was to lead Newton to his discovery of the general binomial theorem for fractional and negative powers.

MacTutor History of Mathematics, University of St Andrews — Blaise Pascal biography

Pascal’s Treatise on the Arithmetical Triangle is the work the quote above credits, and the pattern had already been studied by earlier mathematicians elsewhere; what made Pascal’s treatment lasting was tying the triangle explicitly to the binomial coefficients and to the emerging theory of probability. That link to Newton’s later work matters for this article too — it resurfaces below when the theorem is extended past whole-number powers.

For small n, reading a row off the triangle is faster than running the factorial formula k + 1 times; for large n or symbolic work, the factorial formula C(n, k) = n! / (k!(n − k)!) is easier to apply directly without building six or seven rows by hand.

How Do You Expand a Binomial Step by Step?

Expanding (a + b)ⁿ comes down to four repeatable steps: identify a, b, and n; list the coefficients C(n, 0) through C(n, n); write each term C(n, k)·a^(n−k)·b^k for k = 0 through n; then simplify the numbers.

Each step narrows the work. Step 1 fixes what you’re plugging in, so a mislabeled a and b cannot propagate through the rest of the calculation. Step 2 produces a short list of n + 1 numbers you can double-check against Pascal’s triangle before writing a single term. Step 3 is mechanical once the coefficients are in hand — the exponents on a and b always sum to n, so a quick check that each term’s exponents add up correctly catches most transcription errors immediately. Step 4 is where constants get multiplied together and like powers get combined into the final polynomial.

The factorial calculator is useful here if you’d rather verify n! by hand before cancelling it against (n − k)!.

Handling a Minus Sign: Expanding (x − 3)³

When the second term is negative, rewrite (a − b)ⁿ as (a + (−b))ⁿ and apply the same four steps — the only change is that powers of (−b) alternate in sign. Take a = x, b = −3, n = 3:

k=0: C(3,0) · x^3 · (-3)^0 = 1 · x^3 · 1    =  x^3
k=1: C(3,1) · x^2 · (-3)^1 = 3 · x^2 · (-3) = -9x^2
k=2: C(3,2) · x^1 · (-3)^2 = 3 · x   · 9    = 27x
k=3: C(3,3) · x^0 · (-3)^3 = 1 · 1   · (-27)= -27

So (x − 3)³ = x³ − 9x² + 27x − 27. The signs alternate because odd powers of −3 are negative and even powers are positive — that pattern holds for every (a − b)ⁿ expansion, which is why the checklist above calls out tracking (−1)^k separately from the numeric magnitude.

How Is the Binomial Theorem Different From the Binomial Distribution?

The binomial theorem is an algebraic identity that expands (a + b)ⁿ into a polynomial; the binomial distribution is a probability model that uses the same coefficient to compute the chance of exactly k successes in n independent trials. They share the name and the coefficient C(n, k), but they produce different kinds of answers.

Binomial theorem vs. binomial distribution
Aspect Binomial theorem Binomial distribution
What it is An algebraic identity for expanding (a + b)ⁿ A probability model for counting successes across independent trials
Formula Sum over k of C(n, k)·a^(n−k)·b^k P(X = k) = C(n, k)·p^k·(1 − p)^(n−k)
Inputs Any real numbers a and b, non-negative integer n A trial count n and a fixed success probability p
Output A polynomial with n + 1 terms A probability for each possible count of successes, k = 0 to n
Field Algebra and combinatorics Probability and statistics

If you need to expand (2x + 3)⁵ into a polynomial, that’s the binomial theorem. If you need the probability of exactly 3 heads in 5 fair coin flips, that’s the binomial distribution, which OpenStax Introductory Statistics defines over a fixed number of independent trials with the same success probability p on each trial. The NIST/SEMATECH e-Handbook of Statistical Methods gives the same P(X = k) formula along with its mean (np) and standard deviation (√(np(1 − p))) for that distribution. For the full probability treatment — mean, variance, and when the binomial distribution applies — see binomial distribution: formula and examples.

What Patterns and Extensions Does the Binomial Theorem Have?

A handful of substitutions and special cases turn the general formula into quick identities worth recognizing on sight.

Setting a = b = 1 collapses the formula to the sum of a full row of Pascal’s triangle:

(1 + 1)^n = Σ C(n, k) = 2^n

Row 4 sums to 1 + 4 + 6 + 4 + 1 = 16 = 2⁴, which matches the combinatorial fact that a 4-element set has 2⁴ = 16 subsets in total, including the empty set and the full set. Setting a = 1, b = −1 instead gives the alternating sum of any row (for n ≥ 1):

(1 - 1)^n = 0 = Σ (-1)^k · C(n, k)

Row 4 again: 1 − 4 + 6 − 4 + 1 = 0. That alternating-sum identity underlies inclusion–exclusion arguments throughout combinatorics and probability.

For even n, the single largest coefficient sits in the middle of the row, at C(n, n/2). Row 6’s middle entry, C(6, 3) = 20, is larger than any of its neighbors, and that same middle-heavy, symmetric shape is what makes the binomial distribution’s probability bars look bell-shaped for large n — the coefficients are the same numbers driving both pictures.

Finding one term without expanding everything. The (r + 1)-th term of (a + b)ⁿ is C(n, r)·a^(n−r)·b^r, so you can isolate a single term by exponent instead of writing out the whole expansion. To find the term containing x² in (x + 3)⁵, set b = x and look for b raised to the power 2, so r = 2:

T(3) = C(5, 2) · 3^(5-2) · x^2 = 10 · 27 · x^2 = 270x^2

Beyond two terms. The same lattice-path counting argument extends past binomials: expanding (a + b + c)ⁿ distributes the n factors across three outcomes instead of two, producing multinomial coefficients that generalize C(n, k) — covered in the NIST DLMF, §26.4 Multinomial Coefficients.

Beyond whole-number powers. The plain binomial theorem only covers non-negative integer n, where the sum terminates after n + 1 terms. Isaac Newton extended it to an infinite series valid for any real exponent, provided the second term is small enough for the series to converge:

(1 + x)^a = 1 + ax + a(a-1)/2! · x^2 + a(a-1)(a-2)/3! · x^3 + ...   for |x| < 1

OpenStax Calculus Volume 2 covers this generalized binomial series as part of writing Taylor series for functions like (1 + x)^(1/2). Truncating that infinite series after its first two terms gives the approximation (1 + x)^a ≈ 1 + ax, which engineers and physicists lean on whenever x is small enough that the higher-order terms barely move the answer — a shortcut that only works because the series converges for |x| < 1 in the first place. The connection to Pascal runs through this same history: as the MacTutor Pascal biography quoted above states, it was Pascal’s work on binomial coefficients, carried forward through Wallis, that led Newton to the fractional- and negative-exponent version.

A Worked Example: Expanding (x + 2)⁴

Expand (x + 2)⁴ using the binomial theorem, with a = x, b = 2, n = 4.

Expanding (x + 2)^4 Four connected steps: identify a as x, b as 2, and n as 4; read Pascal's triangle row 4 for the coefficients 1, 4, 6, 4, 1; write each of the five terms; then simplify to the final polynomial. 1 Identify a, b, n a = x, b = 2, n = 4. 2 Read Pascal's row4 Coefficients: 1, 4, 6,4, 1. 3 Write each term C(4,k)·x^(4−k)·2^k for k= 0 to 4. 4 Simplify x^4 + 8x^3 + 24x^2 + 32x+ 16.
Figure 1. The four-step method applied to (x + 2)⁴, from identifying a, b, and n through the simplified result.
  1. Identify the pieces. a = x, b = 2, n = 4.
  2. List the coefficients. Row 4 of Pascal’s triangle gives C(4,0)=1, C(4,1)=4, C(4,2)=6, C(4,3)=4, C(4,4)=1.
  3. Write each term:
k=0: C(4,0) · x^4 · 2^0 = 1 · x^4 · 1  =  x^4
k=1: C(4,1) · x^3 · 2^1 = 4 · x^3 · 2  =  8x^3
k=2: C(4,2) · x^2 · 2^2 = 6 · x^2 · 4  = 24x^2
k=3: C(4,3) · x^1 · 2^3 = 4 · x   · 8  = 32x
k=4: C(4,4) · x^0 · 2^4 = 1 · 1   · 16 = 16
  1. Simplify and combine:
(x + 2)^4 = x^4 + 8x^3 + 24x^2 + 32x + 16

Verify each coefficient: the x³ coefficient is C(4,1)×2¹ = 4×2 = 8; the x² coefficient is C(4,2)×2² = 6×4 = 24; the x coefficient is C(4,3)×2³ = 4×8 = 32; the constant term is C(4,4)×2⁴ = 1×16 = 16. All four match the expansion above.

Common Mistakes With the Binomial Theorem

  • Forgetting to raise b to its power. In C(n, k)·a^(n−k)·b^k, the b must be raised to k, not left as a bare coefficient. In (x + 2)⁴, the k = 2 term is C(4,2) × 2² = 6 × 4 = 24, not just 6 — always multiply by the full b^k factor.
  • Dropping the alternating sign in (a − b)ⁿ. Writing b as (−b) from the start and tracking (−1)^k separately from the magnitude avoids the sign slip that produces a plausible-looking but wrong polynomial.
  • Applying the finite formula to a non-integer n. The n + 1-term expansion only holds for non-negative integer n. Fractional or negative exponents require Newton’s infinite generalized binomial series instead, which converges only when the second term’s magnitude is below 1.
  • Confusing C(n, k) with nᵏ. C(4, 2) = 6, while 4² = 16 — completely different quantities computed by completely different formulas. Reach for n!/(k!(n−k)!) or Pascal’s triangle, never a plain exponent.
  • Miscounting the number of terms. (a + b)ⁿ always has n + 1 terms, not n, because k runs from 0 through n inclusive. Missing either the k = 0 or k = n term is the most common way to come up one term short.

Statohub’s Take on the Binomial Theorem

Statohub’s position is that Pascal’s triangle should be the default tool for any expansion with n under about 8 or 9 — it’s faster, it’s visual, and the symmetry is obvious on sight, so errors are easier to catch. Reach for the factorial formula C(n, k) = n!/(k!(n−k)!) once n gets large or you’re working symbolically rather than numerically, since building a dozen rows of the triangle by hand stops being faster than it looks. And keep the theorem and the distribution mentally filed apart: one produces a polynomial, the other a probability, and conflating them is the single most common mix-up this topic produces.

Put the Binomial Theorem to Work With Statohub’s Tools

Reading the formula is the easy part; computing a coefficient correctly under time pressure is where Pascal’s triangle earns its place. Statohub’s Combinatorics hub builds on the counting ideas this article leans on, starting with the fundamental counting principle and the full combination formula walkthrough. When you’re ready to compute, the combination calculator handles C(n, k) directly, and the factorial calculator shows the n! arithmetic step by step. The full calculators hub lists every tool on the site, and the Learn section is the place to branch out into the rest of combinatorics and probability from here.

Sources

Sources

  1. NIST Digital Library of Mathematical Functions — §1.2 Elementary Algebra (binomial coefficients and the binomial theorem) NIST
  2. NIST Digital Library of Mathematical Functions — §26.3 Lattice Paths: Binomial Coefficients NIST
  3. NIST Digital Library of Mathematical Functions — §26.4 Lattice Paths: Multinomial Coefficients and Set Partitions NIST
  4. OpenStax — "11.6 Binomial Theorem," Precalculus 2e OpenStax
  5. OpenStax — "6.4 Working with Taylor Series" (the binomial series), Calculus Volume 2 OpenStax
  6. OpenStax — "4.3 Binomial Distribution," Introductory Statistics 2e OpenStax
  7. NIST/SEMATECH e-Handbook of Statistical Methods — 1.3.6.6.18. Binomial Distribution NIST
  8. MacTutor History of Mathematics, University of St Andrews — Blaise Pascal biography University of St Andrews

FAQ

Frequently asked questions

What Is the Binomial Theorem?
The binomial theorem is the formula (a + b)ⁿ = Σ C(n, k)·a^(n−k)·b^k for k from 0 to n. It expands any power of a two-term sum into a polynomial with n + 1 terms, where each coefficient is a binomial coefficient C(n, k) that can be read directly off row n of Pascal’s triangle.
What Is a Binomial Coefficient?
A binomial coefficient C(n, k), read "n choose k," counts the number of ways to select k elements from a set of n without regard to order. Its value is n! divided by k! times (n − k)!. In the binomial theorem, C(n, k) is the coefficient on the term containing a raised to (n − k) and b raised to k.
How Does Pascal's Triangle Relate to the Binomial Theorem?
Row n of Pascal's triangle lists the coefficients C(n, 0) through C(n, n) in the exact order the binomial theorem needs them for (a + b)ⁿ. Each entry in the triangle is the sum of the two entries directly above it, a recurrence called Pascal's identity, which lets you build a new row without computing a single factorial.
How Many Terms Does (a + b)ⁿ Have?
Exactly n + 1 terms, because the exponent k on b runs from 0 through n inclusive, which is n + 1 values. For n = 4 there are 5 terms; for n = 10 there are 11. Landing on only n terms usually means the k = 0 or the k = n term was dropped.
What Is the Difference Between the Binomial Theorem and the Binomial Distribution?
The binomial theorem is an algebraic identity that expands (a + b)ⁿ into a polynomial; the binomial distribution is a probability model that gives P(X = k), the chance of exactly k successes across n independent trials with success probability p. Both use the coefficient C(n, k), but one produces a polynomial and the other produces probabilities.
Does the Binomial Theorem Work for Negative or Fractional Powers?
Not as the finite n + 1-term sum, which only holds for non-negative integer n. For fractional or negative exponents, Newton's generalized binomial series applies instead — an infinite series that converges when the second term's magnitude is below 1. It is the same coefficient idea extended into calculus, used for approximations like (1 + x) raised to one-half.