Binomial Expansion Calculator
Expand (a + b)ⁿ, find any term, the middle term or the coefficient of xᵏ (including the term independent of x), with exact coefficients.
About the Binomial Expansion Calculator
The binomial theorem expands (a + b)ⁿ into n + 1 terms. The general term is Tᵣ₊₁ = ⁿCᵣ aⁿ⁻ʳ bʳ, where ⁿCᵣ comes from Pascal's triangle.
To find the coefficient of a particular power, write down the power of x in the general term, set it equal to the power you want and solve for r; r must be a whole number from 0 to n, or there's no such term.
The formula
- ⁿCᵣ
- n! ÷ (r!(n − r)!)
- Middle term
- T(n/2 + 1) for even n; T((n+1)/2) and T((n+3)/2) for odd n
Worked example
Term independent of x in (2x + 3/x)⁶
- Power of x: (6 − r) − r = 0, so r = 3
- T₄ = ⁶C₃ × 2³ × 3³ = 20 × 8 × 27 = 4320
Questions people ask
How do I expand (a − b)ⁿ?
Make b negative: enter −3/x as the second term.
What's the sum of the coefficients?
Put x = 1: it's (a + b)ⁿ with x = 1.