Expand and Simplify Calculator
Multiply out brackets and collect like terms, with the grid method drawn for each product of brackets.
Your Values
Try an example
Visualization
Results
Step-by-Step Solution
How Expand and Simplify Calculator Works?
The expand and simplify calculator parses the expression, multiplies every term of each bracket by every term of the next, and collects like terms into 1 polynomial.
- Type the expression in x
- Parse brackets, powers and signs
- Multiply each pair of terms
- Collect like terms
- Order the terms by power
- Show the grid for each product
The grid places 1 bracket along the top and the other down the side. Each cell holds 1 product: blue cells are positive and red cells are negative. The calculator supports powers up to 12, such as (x + 1)³ or (2x − 1)⁴.
Expand and Simplify Formula
The expand formula for 2 brackets is (a + b)(c + d) = ac + ad + bc + bd, which multiplies every term in the first bracket by every term in the second.
(a + b)(c + d) = ac + ad + bc + bd
- (x + p)²
- x² + 2px + p²
- (x − p)²
- x² − 2px + p²
- (x + p)(x − p)
- x² − p²
- (x + p)³
- x³ + 3px² + 3p²x + p³
Worked Example: (2x + 3)(x − 4)
- 2x · x = 2x².
- 2x · (−4) = −8x.
- 3 · x = 3x.
- 3 · (−4) = −12.
- 2x² − 5x − 12 after collecting −8x + 3x.
Expand and Simplify Calculator FAQ
What Does FOIL Mean?
FOIL stands for First, Outer, Inner, Last, the 4 products in the expansion of 2 binomials: (a + b)(c + d) = ac + ad + bc + bd.
How Do I Expand (x + 1)³?
Multiply (x + 1)(x + 1) first, then multiply the result by (x + 1). (x + 1)³ = x³ + 3x² + 3x + 1.
What Is the Difference Between Expanding and Factoring?
Expanding removes brackets, and factoring puts them back. (x + 2)(x + 3) expands to x² + 5x + 6, and x² + 5x + 6 factors to (x + 2)(x + 3).
Which Symbols Can I Type in the Expression?
The calculator accepts x, numbers, +, −, *, ^ and brackets, with implicit multiplication such as 3(x + 2) or (x − 1)(x + 5).
What Are Like Terms?
Like terms have the same power of x, such as −8x and 3x, and they combine into 1 term: −5x.