Expression Simplifier

Combine like terms, expand brackets and evaluate expressions with step-by-step working
5a + 3b - 2a + 7b
3(2x - 5) - 4(x + 1)
Evaluate 2x^2 - 3x + 4 when x = -3
7 - 2(x - 6) + 4x

Simplify Is Not Solve

An expression is a piece of algebra with no equals sign: 3(2x5)4(x+1)3(2x - 5) - 4(x + 1). An equation has one: 3x=123x = 12.

That difference decides what you are allowed to do. An equation is a balance, so you can subtract the same thing from both sides. An expression has no sides — every move must leave its value unchanged for every xx. So you may rewrite 3x+2x3x + 2x as 5x5x, but you may never "divide both sides by 3", because there is nothing to divide.

Simplifying therefore means one thing: rewrite the expression in the shortest equivalent form. The finished form has no brackets left, and no two terms that could still be combined. "Solve" the same expression and there is nothing to find — an expression has no answer until you supply a value for the variable.

The Two Moves: Distribute, Then Collect

1. Distribute. Multiply the term outside the brackets by every term inside:

3(2x5)=6x153(2x - 5) = 6x - 15

A minus sign in front of a bracket is a 1-1 being distributed, so it flips every sign inside: 4(x+1)=4x4-4(x + 1) = -4x - 4.

2. Collect like terms. Terms are like only when their variable parts are identical, letters and exponents. So 6x6x and 4x-4x combine to 2x2x; 3x3x and 3x23x^2 never do, and neither do 5a5a and 5b5b. Add the coefficients and keep the variable part unchanged.

Evaluating is a separate job: substitute the number for the variable and follow the order of operations. Put brackets around any negative substitution — 2x22x^2 at x=3x = -3 is 2(3)2=2×9=182(-3)^2 = 2 \times 9 = 18, not 18-18. Simplify first when you can; there is less to evaluate.

Common Mistakes to Avoid

  • Distributing to the first term only. 3(2x5)3(2x - 5) is 6x156x - 15, not 6x56x - 5.
  • Losing the sign after a subtracted bracket. 72(x6)=72x+12=192x7 - 2(x - 6) = 7 - 2x + 12 = 19 - 2x. The 2-2 times 6-6 is +12+12.
  • Combining unlike terms. 3a+4b3a + 4b stays as it is; there is no shorter form.
  • Adding the exponents when collecting. x2+x2=2x2x^2 + x^2 = 2x^2, not x4x^4. Exponents add when you multiply powers, not when you add terms.
  • Multiplying the exponent by the coefficient. In 2x32x^3 only the xx is cubed; at x=2x = 2 that is 2×8=162 \times 8 = 16, not 636^3.
  • Missing brackets on a negative substitution. x2-x^2 at x=3x = -3 is 9-9, while (x)2(-x)^2 is 99.

示例题目

Step 1: Group the like terms: (5a2a)+(3b+7b)(5a - 2a) + (3b + 7b).
Step 2: The aa terms: 52=35 - 2 = 3, giving 3a3a.
Step 3: The bb terms: 3+7=103 + 7 = 10, giving 10b10b.
Step 4: aa and bb are different variables, so 3a3a and 10b10b cannot be combined further.
Answer: 3a+10b3a + 10b

Step 1: Distribute the 3: 3×2x=6x3 \times 2x = 6x and 3×(5)=153 \times (-5) = -15, giving 6x156x - 15.
Step 2: Distribute the 4-4: 4×x=4x-4 \times x = -4x and 4×1=4-4 \times 1 = -4, giving 4x4-4x - 4.
Step 3: Write it all out: 6x154x46x - 15 - 4x - 4.
Step 4: Collect: (6x4x)+(154)=2x19(6x - 4x) + (-15 - 4) = 2x - 19.
Step 5: Check at x=1x = 1: original =3(3)4(2)=98=17= 3(-3) - 4(2) = -9 - 8 = -17; simplified =219=17= 2 - 19 = -17
Answer: 2x192x - 19

Step 1: Substitute with brackets: 2(3)23(3)+42(-3)^2 - 3(-3) + 4.
Step 2: Powers first: (3)2=9(-3)^2 = 9, so the first term is 2(9)=182(9) = 18.
Step 3: Second term: 3(3)=+9-3(-3) = +9.
Step 4: Add everything: 18+9+4=3118 + 9 + 4 = 31.
Answer: 3131

常见问题

Simplifying rewrites an expression in a shorter but equivalent form, and the result is still an expression. Solving finds the values of the variable that make an equation true, and the result is a number. If there is no equals sign, there is nothing to solve.

No. Like terms must have exactly the same variable raised to exactly the same power. 3x and 3x squared represent different quantities for every x except 0 and 1, so 3x + 3x squared is already fully simplified.

Yes, and it applies to every term inside. Think of a leading minus as multiplying by -1, so -(x - 4) becomes -x + 4. Skipping the sign on the second term is the single most common error in simplifying.

When no brackets remain and no two terms share the same variable part. A quick verification is to pick a value such as x = 2, evaluate both the original and your simplified version, and confirm they give the same number.

相关求解器

相关学习指南

免费试用 AI-Math

任何数学问题都能获得分步解答。拍照上传或输入问题即可。

开始解题