Logo

MonoCalc

/

Binomial Expansion Calculator

Math

Enter your binomial expression

^

(x + 1)⁴

e.g. x = 2, y = 3 — evaluates the expansion numerically

Full Expansion

5 terms

About This Tool

🔢 Binomial Expansion Calculator – Full Polynomial Expansion Using the Binomial Theorem

The Binomial Expansion Calculator instantly expands expressions of the form (a + b)ⁿ and (a − b)ⁿ into a complete polynomial using the Binomial Theorem. Whether you need the full expansion, a specific term, the binomial coefficient row from Pascal's triangle, or a step-by-step derivation, this tool handles it all.

📐 The Binomial Theorem

For any real numbers a and b and a non-negative integer n, the Binomial Theorem states:

(a + b)ⁿ = Σ[k=0 to n] C(n,k) · a^(n−k) · b^k

where C(n,k) = n! / (k! · (n−k)!)

Each term in the expansion is determined by three factors: the binomial coefficient C(n,k), the power of the first term a^(n−k), and the power of the second term b^k. For a difference expression (a − b)ⁿ, odd-indexed terms carry a negative sign because (−b)^k = −b^k for odd k.

🧮 Quick Example: (x + 2)⁴

Applying the Binomial Theorem with a = x, b = 2, and n = 4:

TermkC(4,k)Expression
T₁01x⁴
T₂148x³
T₃2624x²
T₄3432x
T₅4116

Result: x⁴ + 8x³ + 24x² + 32x + 16

🔍 General Term Formula (Specific Term Finder)

You don't always need the entire expansion. The general term T(k+1) is:

T(k+1) = C(n,k) · a^(n−k) · b^k

Enable the "Find specific term" toggle and enter the term number to extract exactly one term — useful for exam problems that ask "find the coefficient of x³" without requiring the full expansion.

🔺 Pascal's Triangle and Binomial Coefficients

The binomial coefficients for any exponent n form one row of Pascal's triangle. Each value C(n,k) is the sum of the two values directly above it in the triangle. For n = 5, the row is:

1  5  10  10  5  1

A useful property: the sum of all binomial coefficients in row n always equals 2ⁿ. This follows from setting a = b = 1 in the Binomial Theorem.

➖ Difference Expansions: (a − b)ⁿ

For difference expressions, substitute −b for b. The sign of each term alternates: positive for even k, negative for odd k. Example: (x − y)³ = x³ − 3x²y + 3xy² − y³.

Tip: Numeric Evaluation
After expanding, enter variable values (e.g. x = 2, y = 3) in the substitutions field to evaluate the polynomial numerically. This is especially useful for verifying expansions like (1 + 0.1)¹⁰ ≈ 2.5937.

📚 Common Applications

  • Algebra & Calculus — Expanding products, simplifying expressions, and deriving derivatives of polynomial powers.
  • Probability & Statistics — The binomial coefficients C(n,k) directly give the number of ways to choose k successes from n trials in a binomial distribution.
  • Number Theory — Proving divisibility results, e.g. showing that (1 + p)ⁿ ≡ 1 (mod p²).
  • Approximations — For small x, (1 + x)ⁿ ≈ 1 + nx provides a first-order approximation widely used in physics and engineering.

⚙️ Supported Input Formats

The calculator accepts simple monomial terms for both a and b:

  • Constants: 3, -2, 0.5
  • Single variables: x, y, a
  • Monomials: 2x, 3y, x^2, 2x^3
  • Multi-variable monomials: xy, 2x^2y

The exponent n can be any non-negative integer from 0 to 30. Larger exponents are capped to avoid generating polynomials with billions of terms.

💡 Accuracy and Limitations

Binomial coefficients are computed exactly using integer arithmetic, so there is no floating-point rounding for the combinatorial values. However, when the input terms contain decimal coefficients (e.g. 1.5x), the resulting term coefficients are floating-point numbers. For exponents above 20, some coefficient values may exceed the safe integer range of JavaScript, so results are rounded to the nearest integer.

Pro tip: Use the Steps tab to see every C(n,k) value and how each term is constructed — great for exam preparation and checking textbook work.

Frequently Asked Questions

Is the Binomial Expansion Calculator free?

Yes, Binomial Expansion Calculator is totally free :)

Can I use the Binomial Expansion Calculator offline?

Yes, you can install the webapp as PWA.

Is it safe to use Binomial Expansion Calculator?

Yes, any data related to Binomial Expansion Calculator only stored in your browser (if storage required). You can simply clear browser cache to clear all the stored data. We do not store any data on server.

What is the Binomial Theorem?

The Binomial Theorem states that (a + b)ⁿ = Σ[k=0 to n] C(n,k) · aⁿ⁻ᵏ · bᵏ, where C(n,k) = n! / (k!(n-k)!) is the binomial coefficient. It lets you expand any power of a two-term expression into a sum of terms without multiplying repeatedly.

How does this Binomial Expansion Calculator work?

Enter the first term (e.g. x or 2x), choose + or −, enter the second term (e.g. 3y or 2), and set the exponent n. The calculator applies the Binomial Theorem to generate every term T(k+1) = C(n,k) · a^(n-k) · b^k, assembles the full expanded polynomial, and displays binomial coefficients from Pascal's triangle.

How do I find just one specific term without expanding everything?

Enable the 'Find specific term' toggle and enter the term number k (1-indexed). The calculator computes only T(k) = C(n,k-1) · a^(n-k+1) · b^(k-1) using the general-term formula, so you don't need the full expansion.

Does the calculator handle (a − b)ⁿ with alternating signs correctly?

Yes. For a difference expression (a − b)ⁿ, terms with odd k values receive a negative sign because (−b)ᵏ = −bᵏ when k is odd. The calculator automatically applies this alternating-sign rule and displays the correct signs throughout.

What types of terms can I enter?

You can enter constants (e.g. 3, -2), single-variable monomials (e.g. x, y), or coefficient-variable products (e.g. 2x, 3y^2, x^2). Both terms can share or use different variable names — the calculator merges variable powers correctly in each expanded term.

Is there a limit on the exponent n?

The calculator supports exponents from 0 to 30. Exponents beyond 30 produce extremely long polynomials with very large coefficients that are impractical to display. For most algebra and probability work, exponents up to 10–15 are typical.