Algebra

How to Solve Linear Equations: A Beginner's Guide

By math_person · · 2 min read

On this page
  1. One-step equations
  2. Two-step equations
  3. Equations with brackets
  4. x on both sides
  5. Equations with fractions
  6. Always check your answer
  7. Special cases
  8. Common mistakes
  9. Practice questions
  10. Frequently asked questions
  11. Try these calculators

A linear equation is an equation like $3x + 5 = 20$, where $x$ has no powers. To solve it, you get $x$ on its own by doing the same thing to both sides. Think of the equation as a balanced scale: whatever you do to one side, do to the other.

One-step equations

Undo the operation with its opposite.

Equation Do this Answer
$x + 7 = 12$ Subtract 7 $x = 5$
$x - 4 = 9$ Add 4 $x = 13$
$5x = 30$ Divide by 5 $x = 6$
$\frac{x}{3} = 4$ Multiply by 3 $x = 12$

Two-step equations

Undo adding or subtracting first, then multiplying or dividing.

Example: $3x + 5 = 20$

$$3x = 15 \quad (\text{subtract } 5)$$
$$x = 5 \quad (\text{divide by } 3)$$

Check: $3(5) + 5 = 20$. ✓

Equations with brackets

Expand the brackets first.

Example: $2(x - 3) = 10$

$$2x - 6 = 10 \quad\Rightarrow\quad 2x = 16 \quad\Rightarrow\quad x = 8$$

(You could also divide both sides by 2 first: $x - 3 = 5$, so $x = 8$.)

x on both sides

Move all the $x$ terms to one side and the numbers to the other.

Example: $5x - 2 = 3x + 8$

$$5x - 3x = 8 + 2 \quad\Rightarrow\quad 2x = 10 \quad\Rightarrow\quad x = 5$$

Equations with fractions

Multiply everything by the denominator to clear the fraction.

Example: $\frac{x + 1}{4} = 3$

$$x + 1 = 12 \quad\Rightarrow\quad x = 11$$

Example: $\frac{x}{2} + \frac{x}{3} = 10$

Multiply every term by 6 (the lowest common denominator):

$$3x + 2x = 60 \quad\Rightarrow\quad 5x = 60 \quad\Rightarrow\quad x = 12$$

Always check your answer

Put your answer back into the original equation. If both sides match, it is right. This takes 10 seconds and catches most mistakes.

Special cases

  • $2x + 4 = 2x + 4$ is true for every $x$ (infinitely many solutions).
  • $2x + 4 = 2x + 9$ is never true (no solution), because $4 \neq 9$.

Common mistakes

Mistake Fix
Doing something to one side only Always do it to both sides.
Sign errors when moving terms Moving $+3x$ to the other side makes it $-3x$.
Expanding $2(x - 3)$ as $2x - 3$ Multiply both terms: $2x - 6$.

Practice questions

  1. $4x - 7 = 13$
  2. $3(x + 2) = 21$
  3. $7x + 1 = 4x + 13$
  4. $\frac{x}{5} - 2 = 1$

Answers: 1) $x = 5$ 2) $x = 5$ 3) $x = 4$ 4) $x = 15$

Frequently asked questions

What makes an equation linear?

The variable only appears to the power 1: no x², no square roots of x, and no x on the bottom of a fraction. Its graph is a straight line.

Can the answer be a fraction or negative?

Yes. For example, 2x = 3 gives x = 3/2, and x + 5 = 1 gives x = −4.

What is the difference between an expression and an equation?

An equation has an equals sign and can be solved. An expression, like 3x + 5, has no equals sign.

Open the calculator →

#algebra basics#linear equations#solving equations