Expression Simplifier
Simplify a linear algebraic expression by distributing parentheses and combining like terms. Supports one variable, constant multiplication, addition and subtraction.
Use one variable (x). Example: 3(x - 2) + 4(x + 1)
How this calculator works
The Expression Simplifier takes a linear algebraic expression in a single variable and rewrites it in a shorter, equivalent form by distributing parentheses and combining like terms. It is designed for expressions such as 2(x + 4) + 3x, not for equations (which need an equals sign) or for products of variables like x·x.
Distribution applies the rule a(b + c) = ab + ac to remove parentheses. A negative sign or coefficient in front of the parentheses is applied to every term inside, so −(x − 3) becomes −x + 3. After distributing, the expression is a flat list of terms.
Like terms share the same variable part — for instance 2x and 3x are like terms, but 2x and 5 are not. The tool adds the coefficients of like terms and combines constant terms separately, then writes the result in a tidy order. The steps panel shows the distributed form and each combination so you can follow the simplification.
If you enter a different single letter such as a, it is treated as the same variable as x so the tool can still combine terms. Expressions containing exponents above 1 or two different variables are rejected with a clear explanation, because they fall outside linear simplification.
Worked example
2(x + 4) + 3x: distribute → 2x + 8 + 3x, combine → 5x + 8.
Common uses
- Tidying up algebra before solving
- Checking distribution
- Combining like terms quickly
Common mistakes
- Including products of variables (e.g. x·x) which are not linear
- Forgetting to distribute a negative sign
- Mixing two different variables
Frequently asked questions
Which expressions are supported?
Linear expressions in a single variable with like terms, parentheses, distribution and constant multipliers.
Why was my expression rejected?
It likely contained an unsupported operation such as multiplying two variables or an exponent above 1.
Does it handle different variable letters?
Enter your expression using x. A single alternative letter is treated as the same variable.