Simplify Expression Calculator

Simplify an algebraic expression and see each group of like terms collected.

Use letters, brackets, + − × ÷ and whole powers.

Give each letter a value, separated by commas.

Try

Result

You enteredx2−3x+2x^{2} - 3x + 2

12\displaystyle 12
Show the work
  1. Substitution

    Replace each letter with its value (x=5x = 5), putting a negative value in brackets so its sign is not lost.

    x2−3x+2=52−3×5+2x^{2} - 3x + 2 = 5^{2} - 3 \times 5 + 2
  2. Order of operations

    Work out the powers first, then the multiplications, and finally add and subtract from left to right.

    25−15+2=1225 - 15 + 2 = 12
  3. Result

    So the value of the expression is 1212 when x=5x = 5.

Worked examples