Skip to main content

Binomial Theorem Calculator – Expand (a+b)ⁿ

Quick answer

(a+b)ⁿ=Σ C(n,k)aⁿ⁻ᵏbᵏ: expand (x+2)⁵=x⁵+10x⁴+40x³+80x²+80x+32 using Pascal row 1 5 10 10 5 1.

  • Term finder included.
  • Instant and free.

Figures are estimates from this calculator’s standard formula — adjust the inputs in the tool below for your exact number.

How the Binomial Theorem Calculator Works

(a+b)ⁿ = Σ C(n,k)·aⁿ⁻ᵏ·bᵏ for k = 0…n

The binomial theorem expands a power of a two-term sum into a polynomial whose coefficients are the combinations C(n,k). Expanding (x+2)⁵ pulls coefficients from Pascal’s triangle row 1, 5, 10, 10, 5, 1: the result is x⁵ + 5·2x⁴ + 10·4x³ + 10·8x² + 5·16x + 32, which simplifies to x⁵ + 10x⁴ + 40x³ + 80x² + 80x + 32. The calculator prints the raw term C(5,k)·xⁿ⁻ᵏ·2ᵏ before simplification so the structure is visible, plus a specific-term finder: the x² coefficient of (x+3)⁴ is C(4,2)·3² = 6×9 = 54 without expanding anything. Special cases fall out instantly — (a+b)² = a²+2ab+b² and (1+x)⁶ has coefficients 1, 6, 15, 20, 15, 6, 1. The symmetric coefficient pattern and the sum of all coefficients, 2ⁿ = 32 for n = 5, are shown as built-in sanity checks.

  1. 1

    Enter a, b and n

    For example x, 2 and 5 to expand (x+2)⁵

  2. 2

    Fetch the coefficients

    Pascal’s triangle row n or C(n,k) values are listed

  3. 3

    Build each term

    C(n,k)·aⁿ⁻ᵏ·bᵏ terms are shown before simplification

  4. 4

    Sum and verify

    Coefficients total 2ⁿ; substitute a=b=1 as a numeric check

Use Cases

Algebra Expansion

Expand (x+2)⁵ fully instead of multiplying five times

Specific Coefficient Queries

Find the x³ term of (2x+1)⁷: C(7,3)·2³ = 280

Probability Foundations

Binomial distribution probabilities reuse the same C(n,k) weights

Tips

  • 1

    Pascal’s triangle row n lists exactly the C(n,k) coefficients

  • 2

    The k-th term is C(n,k)·aⁿ⁻ᵏ·bᵏ — no expansion needed

  • 3

    Sum of coefficients = (1+1)ⁿ = 2ⁿ

Common Mistakes

  • Using permutations nPr instead of combinations C(n,k) for coefficients

  • Forgetting the bᵏ power on the second term of each coefficient pair

  • Sign slips with (a−b)ⁿ — odd k terms flip sign

  • Stopping one term early; the expansion has n+1 terms

FAQs

What is (x+2)⁵?

x⁵ + 10x⁴ + 40x³ + 80x² + 80x + 32, using coefficients 1, 5, 10, 10, 5, 1.

What is the x² coefficient of (x+3)⁴?

C(4,2)·3² = 6×9 = 54 — no full expansion required.

How does Pascal’s triangle help?

Row n gives the coefficients: row 5 is 1, 5, 10, 10, 5, 1, exactly the (a+b)⁵ weights.

What is the sum of coefficients of (a+b)⁵?

Set a=b=1: (1+1)⁵ = 32 = 2⁵.

How many terms does (a+b)ⁿ have?

n+1 terms, from k=0 to k=n — (a+b)⁵ has 6.