Algebraic Expression Simplifier
Simplify Algebraic Expression P(x)
Enter a polynomial in x. The tool expands special products, multiplies terms, and combines like terms step-by-step.
The calculator above expands brackets, collects like terms, and simplifies algebraic expressions while listing each transformation.
Formulas used
(a + b)² = a² + 2ab + b²
(a − b)² = a² − 2ab + b²
a² − b² = (a − b)(a + b)
- Like terms have the same variables raised to the same powers.
- Expand products first, then combine like terms.
Worked example
Simplify (x + 2)² − (x − 1)(x + 1):
x² + 4x + 4 − (x² − 1) = 4x + 5
Enter the same values in the calculator above to see every step of the solution.
How to use the calculator
- Type the expression, for example (x + 2)^2 − (x − 1)(x + 1).
- Press the calculate button. The result appears instantly.
- Read the step-by-step solution, rendered with KaTeX, to check your own work.