Linear equations

A linear equation has an unknown, usually x, with no powers — like 3x + 5 = 20. Solving it means finding the value that makes both sides equal. Think of a balance: whatever you do to one side, you must do to the other.

Key facts

  • Do the same thing to both sides to keep the equation balanced.
  • Undo the operations in reverse order: for 3x + 5 = 20, subtract 5 first, then divide by 3.
  • If x is on both sides, subtract the smaller x term from both sides first.
  • With brackets, expand first (or divide both sides by the number outside).
  • With fractions, multiply every term by the denominator (or the LCM of the denominators).
  • Check your answer by substituting it back into the original equation.

Worked examples

Example 1

Solve 4x − 7 = 21.

  1. Add 7 to both sides. 4x = 28
  2. Divide both sides by 4. x = 7

Answer: x = 7

Example 2

Solve 5x + 3 = 2x + 18.

  1. Take 2 bags (2x) off both sides: the scales still balance. 3x + 3 = 18
  2. Take 3 off both sides. 3x = 15
  3. Divide by 3: three bags weigh 15, so one bag weighs 5. x = 5
  4. Check: both sides equal 28. 5(5) + 3 = 2(5) + 18 = 28

Answer: x = 5

Example 3

Solve 3(2x − 1) = 4(x + 2).

  1. Expand both brackets. 6x − 3 = 4x + 8
  2. Subtract 4x. 2x − 3 = 8
  3. Add 3. 2x = 11
  4. Divide by 2. x = 11/2 = 5.5

Answer: x = 5.5

Example 4

Solve (x + 4)/3 = (2x − 1)/5.

  1. Multiply both sides by 15 (or cross-multiply). 5(x + 4) = 3(2x − 1)
  2. Expand. 5x + 20 = 6x − 3
  3. Take 5x from both sides and add 3. x = 23
  4. Check: both sides equal 9. 27/3 = 45/5 = 9

Answer: x = 23

Example 5

Solve x + 9 = 23.

  1. Take 9 from both sides. x = 14

Answer: x = 14

Example 6

Solve 3x = 27.

  1. Divide both sides by 3. x = 9

Answer: x = 9

Example 7

Solve x/4 = 7.

  1. Multiply both sides by 4. x = 28

Answer: x = 28

Example 8

Solve 2x + 5 = 17.

  1. Take 5 from both sides. 2x = 12
  2. Divide both sides by 2. x = 6

Answer: x = 6

Example 9

Solve (3x − 1)/2 = x + 4.

  1. Multiply both sides by 2. 3x − 1 = 2x + 8
  2. Take 2x from both sides and add 1. x = 9

Answer: x = 9

Questions about linear equations