FT FreeToolHub
All Tools Guides About Privacy Terms

Binomial expander: expand (ax + by)ⁿ in one click

This binomial expander, also called a binomial expansion calculator, expands an expression of the form (a·xᵖ + b·yᵠ)ⁿ and writes out every term with its binomial coefficient. Enter the coefficients a and b, the powers of x and y, and the exponent n from 0 to 20. You also get a term by term table and the matching row of Pascal's triangle. Coefficients can be negative or decimal.

How to use the binomial expander

  1. Enter a and b. For (x + y)ⁿ use a = 1 and b = 1; for (2x + 3y)ⁿ use a = 2 and b = 3.
  2. Leave the x and y powers at 1 unless your terms look like x² or y³.
  3. Set n, the exponent of the whole bracket.
  4. Click Expand to see the full expansion, each term's coefficient C(n, k) and Pascal's row.

The binomial theorem formula

(a + b)n = Σ C(n, k) · an−k · bk, for k = 0 to n

C(n, k) = n! ÷ (k! × (n − k)!) is the binomial coefficient. The expansion always has n + 1 terms, the powers of a fall from n to 0 while the powers of b rise from 0 to n, and the general term is T(k+1) = C(n, k) · an−k · bk. When a = b = 1 all the coefficients add up to 2ⁿ.

The coefficients are exactly a row of Pascal's triangle, where each number is the sum of the two above it: row 4 is 1 4 6 4 1, row 5 is 1 5 10 10 5 1 and row 6 is 1 6 15 20 15 6 1.

Worked binomial expansion examples

  • (x + y)⁴ = x⁴ + 4x³y + 6x²y² + 4xy³ + y⁴ (coefficients 1, 4, 6, 4, 1).
  • (2x + 3y)³: the terms are C(3,k)·(2x)3−k·(3y)k, which gives 8x³ + 36x²y + 54xy² + 27y³. Enter a = 2, b = 3, n = 3.
  • (x − y)⁵ = x⁵ − 5x⁴y + 10x³y² − 10x²y³ + 5xy⁴ − y⁵. Enter a = 1, b = −1, n = 5 and the signs alternate automatically.

Where binomial expansion is used

It is a core chapter of Class 11 algebra and of competitive exam syllabi, and it shows up in probability, since binomial probabilities use the same coefficients C(n, k). It is also handy for quick approximations such as (1 + x)ⁿ when x is small. If you are working on related topics, try the polynomial solver, the sequence and series tool, the statistics calculator or the matrix calculator.

Frequently asked questions

How many terms does a binomial expansion have?

The expansion of (a + b)ⁿ has n + 1 terms. For example (x + y)⁶ has 7 terms.

How do I find a specific term of a binomial expansion?

Use the general term T(k+1) = C(n, k) · a^(n−k) · b^k. Run the expander and read row k of the term table, where k starts at 0 for the first term.

What is the maximum value of n?

This binomial expander accepts n from 0 to 20. Coefficients grow very quickly, and keeping n at 20 or below keeps every value exact.

Can I expand a difference such as (x − y)ⁿ?

Yes. Enter a negative b, for example b = −1. The calculator applies the sign to each term, so the signs alternate.

What is the link between Pascal's triangle and the binomial theorem?

Row n of Pascal's triangle lists the binomial coefficients C(n, 0) to C(n, n), which are the coefficients in the expansion of (a + b)ⁿ.

Related keywords

binomial expanderbinomial expansion calculatorbinomial theorem calculator(a+b)^n expansionpascal triangle rowbinomial coefficientsgeneral term of binomial expansion

Related tools

Number Base ConverterMolecular Weight CalculatorChemical Equation BalancerMatrix CalculatorCGPA → Percentage