Free math tool

Linear Equation Solver

Solve one-variable linear equations in x, show the balancing steps, and catch no-solution and infinite-solution cases.

Reset

Direct answer

Solution

The solution is x = 4.

x 4
Decimal 4

Steps

  1. Start with 2(x+3)=14.
  2. Move everything to one side to get 2x = 8.
  3. Add or subtract the constant term so 2x = 8.
  4. Divide by 2 to get x = 4.

Why it works

A linear equation is balanced as long as you do the same operation to both sides. Combining like terms and isolating x makes the balance explicit.

Common mistakes

  • Distributing incorrectly before combining like terms.
  • Moving a term across the equals sign without changing its sign.
  • Treating identity or contradiction cases as if they had one numeric answer.

Worked examples

Solve 2(x + 3) = 14

Distribute to get 2x + 6 = 14, then subtract 6 and divide by 2 to get x = 4.

Solve 4x + 3 = 4x + 3

Both sides are identical, so every x-value works.