Binomial Theorem Expansion Calculator
MiniWebtool’s Binomial Theorem Expansion Calculator expands (a + b)ⁿ from the two terms and a nonnegative integer power. Worked coefficients and a Pascal’s triangle view explain how the terms arise.
For Gemini, paste the copied question into the chat. You can also copy it below.Need help using this tool? Ask AI
View the question
Enter the two terms and the power below to get the full expansion, each term's binomial coefficient and Pascal's triangle, step by step.
About Binomial Theorem Expansion Calculator
The Binomial Theorem Expansion Calculator expands any binomial expression \((a + b)^n\) using the binomial theorem. Enter your terms and power to get an instant, detailed expansion with step-by-step solutions, an interactive Pascal's triangle visualization, and coefficient distribution analysis.
At a Glance
Binomial Theorem Expansion Calculator expands (a + b)^n for a power n from 1 to 50. It shows each term step by step, with Pascal's triangle and a chart of the coefficients.
| Feature | What you get | Good for |
|---|---|---|
| Flexible terms | Terms a and b can be numbers, variables or expressions like 2x or 3y. Use a minus sign for subtraction, such as -1 for (x - 1)^n. | Expanding expressions from algebra homework |
| Power range | Enter a whole-number power n from 1 to 50. | Small textbook powers and larger expansions |
| Also find | Optionally find the coefficient of a given power, the constant term, the middle term(s) or the r-th term. | Exam questions that ask for one specific term |
| Step-by-step terms | Each term is broken down using the binomial coefficient C(n, k) times a^(n-k) times b^k. | Checking the working for every term |
| Pascal's triangle | Pascal's triangle is shown with the relevant row highlighted. | Linking coefficients to the triangle |
| Coefficient chart | A chart shows how the coefficients are distributed across the terms. | Seeing the symmetry of the coefficients |
| Example buttons | Presets include (x+1)⁴, (2x+3)³ and the constant term of (x²+1/x)⁹. | Trying a worked example first |
How to Use the Binomial Theorem Expansion Calculator
- Enter the first term (a) — This can be a variable like x, a coefficient with a variable like 2x, or just a number like 3.
- Enter the second term (b) — Similar to the first term. Use a minus sign for subtraction, e.g., -1 for \((x - 1)^n\).
- Enter the power (n) — A positive integer from 1 to 50.
- Click "Expand" to compute the full binomial expansion.
- Review the results — See the expanded form, step-by-step breakdown of each term, Pascal's triangle with the relevant row highlighted, and a visual chart of the coefficient distribution.
What Is the Binomial Theorem?
The binomial theorem provides a formula for expanding expressions of the form \((a + b)^n\) where \(n\) is a non-negative integer. It states:
$$(a + b)^n = \sum_{k=0}^{n} \binom{n}{k} a^{n-k} b^k$$
Each term in the expansion involves a binomial coefficient \(\binom{n}{k}\), which determines how many ways to choose \(k\) items from \(n\). The theorem is fundamental in algebra, combinatorics, probability, and calculus.
The Binomial Coefficient Formula
The binomial coefficient \(\binom{n}{k}\), read as "n choose k," is calculated as:
$$\binom{n}{k} = \frac{n!}{k!(n-k)!}$$
For example, \(\binom{5}{2} = \frac{5!}{2! \cdot 3!} = \frac{120}{2 \cdot 6} = 10\).
Pascal's Triangle and Binomial Coefficients
Pascal's triangle is a triangular array where each entry is the sum of the two entries directly above it. Row \(n\) of Pascal's triangle contains exactly the binomial coefficients \(\binom{n}{0}, \binom{n}{1}, \ldots, \binom{n}{n}\).
For example, row 4 is: 1, 4, 6, 4, 1 — these are the coefficients of \((a+b)^4 = a^4 + 4a^3b + 6a^2b^2 + 4ab^3 + b^4\).
Key Properties of Binomial Expansion
- Number of terms: \((a+b)^n\) has exactly \(n + 1\) terms.
- Symmetry: \(\binom{n}{k} = \binom{n}{n-k}\), meaning the coefficients are symmetric.
- Sum of coefficients: Setting \(a = b = 1\) gives \(2^n = \sum_{k=0}^{n} \binom{n}{k}\).
- Alternating sum: Setting \(a = 1, b = -1\) gives \(0 = \sum_{k=0}^{n} (-1)^k \binom{n}{k}\).
- General term: The \((k+1)\)th term is \(T_{k+1} = \binom{n}{k} a^{n-k} b^k\).
- Middle term: If \(n\) is even, the middle term is the \((\frac{n}{2}+1)\)th term. If \(n\) is odd, there are two middle terms.
Common Binomial Expansion Examples
- \((x+1)^2 = x^2 + 2x + 1\)
- \((x+1)^3 = x^3 + 3x^2 + 3x + 1\)
- \((x-1)^4 = x^4 - 4x^3 + 6x^2 - 4x + 1\)
- \((2x+3)^3 = 8x^3 + 36x^2 + 54x + 27\)
Applications of the Binomial Theorem
- Algebra: Simplifying polynomial expressions and solving equations.
- Probability: The binomial distribution uses binomial coefficients to calculate probabilities of outcomes.
- Calculus: Taylor and Maclaurin series expansions are generalizations of the binomial theorem.
- Combinatorics: Counting problems involving selections and arrangements.
- Computer science: Algorithm analysis, error-correcting codes, and cryptography.
FAQ
What is the binomial theorem?
The binomial theorem states that (a + b)^n can be expanded as the sum from k=0 to n of C(n,k) times a^(n-k) times b^k, where C(n,k) is the binomial coefficient "n choose k." It provides a formula for expanding any binomial expression raised to a positive integer power.
How do you expand (a+b)^n?
To expand (a+b)^n, apply the binomial theorem: write n+1 terms where each term k has the form C(n,k) times a^(n-k) times b^k. The binomial coefficients C(n,k) can be found using Pascal's triangle or the formula n! divided by (k! times (n-k)!).
What is Pascal's triangle?
Pascal's triangle is a triangular array where each number is the sum of the two numbers directly above it. Row n of Pascal's triangle contains the binomial coefficients C(n,0), C(n,1), ..., C(n,n), which are exactly the coefficients used in the binomial expansion of (a+b)^n.
What are binomial coefficients?
Binomial coefficients, written as C(n,k) or "n choose k," count the number of ways to choose k items from n items. They equal n! divided by (k! times (n-k)!). In the binomial expansion, C(n,k) gives the coefficient of the term a^(n-k) times b^k.
What is the general term of a binomial expansion?
The general term (the (k+1)th term) of the expansion of (a+b)^n is T(k+1) = C(n,k) times a^(n-k) times b^k, where k ranges from 0 to n. This formula lets you find any specific term without expanding the entire expression.
How do I find the coefficient of x squared in (2x + 3) to the fourth power?
Use the general term C(4,k)(2x)^(4-k)3^k and choose the term where the power of x is 2, so 4-k=2 and k=2. Its coefficient is C(4,2) times 2 squared times 3 squared, or 6 × 4 × 9 = 216. The full expansion is not needed when you only want one coefficient.
Why do the signs alternate when I expand a binomial with subtraction?
A subtraction can be written as addition of a negative term, so each power of that term carries its sign. For example, in (x - 2)^3, the terms involving odd powers of -2 are negative, giving x^3 - 6x^2 + 12x - 8. A common mistake is using the positive Pascal’s triangle coefficients but forgetting that the second term itself is negative.
How many terms are in the expansion of (a + b) to the seventh power?
For a nonnegative integer power n, the binomial expansion has n + 1 terms before any like terms combine. So (a + b)^7 has eight terms, from a^7 through b^7. Their coefficients are the eighth row of Pascal’s triangle: 1, 7, 21, 35, 35, 21, 7, 1. If a and b contain related variables, some resulting terms may combine, so the written expression can look shorter.
Reference this content, page, or tool as:
"Binomial Theorem Expansion Calculator" at https://MiniWebtool.com/binomial-theorem-expansion-calculator/ from MiniWebtool, https://MiniWebtool.com/
Last updated: 2026-09-29
Chat with your favorite AI
For Gemini, paste the copied question into the chat. You can also copy it below.
View the question
Algebra Calculators:
- Absolute Value Equation Solver
- Absolute Value Inequality Solver
- Age Word Problem Solver New
- Algebraic Expression Simplifier
- Binomial Theorem Expansion Calculator Popular
- Coin Word Problem Solver New
- Completing the Square Calculator New
- Cubic Equation Solver New
- Descartes' Rule of Signs Calculator New
- Distance-Speed-Time Triangle Calculator New
- Domain and Range Calculator
- Expand Polynomials Calculator
- Exponential Equation Solver New
- Function Composition Calculator
- Function Grapher
- Function Odd Even Neither Checker
- Inequality Solver Popular
- Inverse Function Calculator
- Linear Equation Solver
- Literal Equation Solver New
- Logarithmic Equation Solver Popular
- Mixture Problem Solver New
- Polar Equation Plotter New
- Polynomial Factoring Calculator
- Polynomial Long Division Calculator
- Quartic Equation Solver New
- Radical Equation Solver
- Radical Simplifier
- Rational Equation Solver New
- Rational Expression Calculator
- Rational Root Theorem Calculator New
- Standard Form to Slope-Intercept Converter New
- Synthetic Division Calculator
- System of Inequalities Grapher
- System of Linear Equations Solver
- System of Nonlinear Equations Solver New
- Train Meeting Problem Solver New
- Trigonometric Equation Solver Popular
- Vertex and Axis of Symmetry Calculator
- Work Rate Problem Solver New
- X and Y Intercept Calculator