01 / 20
\((\)
\(n\)
\(k\)
\()\)

Binomial Theorem
& Binomial Coefficients

Master the art of expanding \((a + b)^n\) using binomial coefficients, Pascal's Triangle, and the Binomial Theorem.

Discrete Math

What Are Binomial Coefficients?

A binomial coefficient counts the number of ways to choose \(k\) items from a set of \(n\) items, regardless of order. It is written as \(\binom{n}{k}\) and read as "n choose k."

For example, \(\binom{5}{2} = \frac{5!}{2!\,3!} = \frac{120}{2 \cdot 6} = 10\). There are 10 ways to choose 2 items from 5.

Pascal's Triangle: A Visual Map

1 1 1 1 2 1 1 3 3 1 1 4 6 4 1 1 5 10 10 5 1
\(n=0\)
\(n=1\)
\(n=2\)
\(n=3\)
\(n=4\)
\(n=5\)
Each entry = sum of the two entries directly above it

Why Do Binomial Coefficients Matter?

Combinatorics
\(\binom{n}{k}\) counts the number of subsets of size \(k\) from \(n\) elements.
Probability
They appear in the binomial distribution: the probability of \(k\) successes in \(n\) trials.
Algebra
They are the coefficients when you expand \((a+b)^n\) into a sum of terms.

From counting committee selections to modeling coin flips, binomial coefficients are one of the most versatile tools in discrete mathematics.

The Binomial Theorem

Each term in the expansion has three parts:

1
Binomial coefficient \(\binom{n}{k}\): how many times this term appears.
2
Power of \(a\): starts at \(a^n\) and decreases to \(a^0\).
3
Power of \(b\): starts at \(b^0\) and increases to \(b^n\).

Anatomy of Each Term

\(\binom{n}{k}\) \(a^{n-k}\) \(b^k\)
Coefficient "n choose k" Power of a decreases Power of b increases

Key Properties of \(\binom{n}{k}\)

1
Symmetry: \(\binom{n}{k} = \binom{n}{n-k}\). Choosing \(k\) items is the same as leaving out \(n-k\) items.
2
Pascal's Identity: \(\binom{n}{k} = \binom{n-1}{k-1} + \binom{n-1}{k}\). Each entry is the sum of its two parents.
3
Row Sum: \(\displaystyle\sum_{k=0}^{n} \binom{n}{k} = 2^n\). Set \(a=b=1\) in the Binomial Theorem.
4
Boundary Values: \(\binom{n}{0} = \binom{n}{n} = 1\). There is exactly one way to choose nothing or everything.

Permutations vs Combinations

Permutations \(P(n,k)\) Combinations \(\binom{n}{k}\)
Order Matters Does not matter
Formula \(\frac{n!}{(n-k)!}\) \(\frac{n!}{k!(n-k)!}\)
Relationship \(P(n,k) = k! \cdot \binom{n}{k}\)
Example: choose 2 from {A,B,C} 6 (AB, BA, AC, CA, BC, CB) 3 ({A,B}, {A,C}, {B,C})

How to Apply the Binomial Theorem

1
Identify \(a\), \(b\), and \(n\) from the expression \((a + b)^n\).
2
Write out each term for \(k = 0, 1, 2, \ldots, n\): the general term is \(\binom{n}{k} a^{n-k} b^k\).
3
Compute each coefficient using the formula or Pascal's Triangle.
4
Simplify each term by evaluating the powers and multiplying.
5
Combine all terms into the final expanded polynomial.

Example 1: Expand \((x + y)^3\)

Here \(a = x\), \(b = y\), \(n = 3\). The coefficients from row 3 of Pascal's Triangle are 1, 3, 3, 1.

\(k=0\)
\(\binom{3}{0}x^3y^0 = x^3\)
\(k=1\)
\(\binom{3}{1}x^2y^1 = 3x^2y\)
\(k=2\)
\(\binom{3}{2}x^1y^2 = 3xy^2\)
\(k=3\)
\(\binom{3}{3}x^0y^3 = y^3\)

Example 2: Expand \((2x - 3)^4\)

Here \(a = 2x\), \(b = -3\), \(n = 4\). The coefficients from row 4 are 1, 4, 6, 4, 1. Watch the signs from \((-3)^k\).

0
\(\binom{4}{0}(2x)^4(-3)^0 = 1 \cdot 16x^4 \cdot 1 = \) \(16x^4\)
1
\(\binom{4}{1}(2x)^3(-3)^1 = 4 \cdot 8x^3 \cdot (-3) = \) \(-96x^3\)
2
\(\binom{4}{2}(2x)^2(-3)^2 = 6 \cdot 4x^2 \cdot 9 = \) \(216x^2\)
3
\(\binom{4}{3}(2x)^1(-3)^3 = 4 \cdot 2x \cdot (-27) = \) \(-216x\)
4
\(\binom{4}{4}(2x)^0(-3)^4 = 1 \cdot 1 \cdot 81 = \) \(81\)

Example 3: Find the Specific Term

Problem: Find the coefficient of \(x^3\) in the expansion of \((x + 2)^5\).

1
Set the exponent of \(x\) equal to 3: \(5 - k = 3 \implies k = 2\).
2
Compute the coefficient: \(\binom{5}{2} \cdot 2^2 = 10 \cdot 4 = \) 40.
3
The term is: \(40x^3\). The coefficient of \(x^3\) is \(40\).

Special Cases of the Theorem

\(a = b = 1\)
\((1+1)^n = 2^n = \sum_{k=0}^{n}\binom{n}{k}\)
Sum of all coefficients in row \(n\).
\(a=1,\, b=-1\)
\((1-1)^n = 0 = \sum_{k=0}^{n}(-1)^k\binom{n}{k}\)
Alternating sum of coefficients is 0.

Another useful identity: \(\displaystyle\sum_{k=0}^{n} k\binom{n}{k} = n \cdot 2^{n-1}\). This is found by differentiating \((1+x)^n\) and setting \(x = 1\).

Visualizing \((a+b)^4\)

1 4 6 4 1
\(k=0\)
\(k=1\)
\(k=2\)
\(k=3\)
\(k=4\)
Binomial coefficients for \(n = 4\)
Sum: \(1+4+6+4+1 = 16 = 2^4\)

Common Mistakes to Avoid

✕ Forgetting the Negative Sign
In \((a - b)^n\), the \(b\) term is \((-b)\). Odd powers of \(k\) produce negative terms: \((-b)^k = (-1)^k b^k\).
✕ Ignoring Coefficients Inside
In \((2x+3)^5\), the \(a = 2x\), not \(x\). You must raise the entire \(2x\) to the power: \((2x)^{5-k} = 2^{5-k}x^{5-k}\).
✕ Off-by-One on Term Count
\((a+b)^n\) has \(n+1\) terms (from \(k=0\) to \(k=n\)), not \(n\) terms. Don't forget the last (or first) term.

Summary Reference Table

Concept Formula / Rule Key Note
Binomial Coefficient \(\binom{n}{k} = \frac{n!}{k!(n-k)!}\) Always a positive integer
Binomial Theorem \((a+b)^n = \sum \binom{n}{k}a^{n-k}b^k\) Produces \(n+1\) terms
Symmetry \(\binom{n}{k} = \binom{n}{n-k}\) Pascal's Triangle is symmetric
Pascal's Identity \(\binom{n}{k} = \binom{n-1}{k-1}+\binom{n-1}{k}\) Builds each row from the previous
Row Sum \(\sum_{k=0}^{n}\binom{n}{k} = 2^n\) Set \(a = b = 1\)

Question 1 of 5

What is the value of \(\binom{6}{2}\)?

Question 2 of 5

How many terms are in the expansion of \((a + b)^7\)?

Question 3 of 5

What is the coefficient of \(x^2y^3\) in the expansion of \((x + y)^5\)?

Question 4 of 5

In the expansion of \((3x - 1)^4\), what is the coefficient of \(x^3\)?

Question 5 of 5

What is the value of \(\displaystyle\sum_{k=0}^{6}\binom{6}{k}\)?