• Foundation
  • About 12 min
  • 5 practice questions

Variables, expressions and linear equations

Understand variables and expressions, and solve linear equations in one unknown by balancing both sides.

If something looks wrong, please tell us.

Algebra uses letters to stand for unknown numbers. Instead of guessing, you write a rule about the unknown and solve it. This lesson covers the simplest case: a linear equation in one variable.

Key words

  • Variable: a letter such as x that stands for a number.
  • Expression: a combination of numbers and variables, like 3x + 7.
  • Equation: two expressions joined by an equals sign, like 3x + 7 = 22.
  • Solution: the value of the variable that makes the equation true.

The balancing rule

An equation is like a balanced scale. Whatever you do to one side (add, subtract, multiply, divide), you must do to the other. The aim is to get x alone.

Worked example 1

Solve 3x + 7 = 22. Subtract 7 from both sides: 3x = 15. Divide both sides by 3: x = 5. Check: 3 × 5 + 7 = 22.

Worked example 2: x on both sides

Solve 5x - 3 = 2x + 12. Subtract 2x from both sides: 3x - 3 = 12. Add 3: 3x = 15. Divide by 3: x = 5. Check: left = 25 - 3 = 22; right = 10 + 12 = 22.

Solving 5x - 3 = 2x + 12 by balancing

  1. Subtract 2x from both sides 3x - 3 = 12
  2. Add 3 to both sides 3x = 15
  3. Divide both sides by 3 x = 5
  4. Check by substitution Left = 25 - 3 = 22; right = 10 + 12 = 22.

Do the same thing to both sides. Collect x terms on one side and numbers on the other. Always check by substitution.

— Rule

Key takeaways

  • Treat an equation as a balance.
  • Move x terms together and numbers together.
  • Substitute your answer back to check.

Check your understanding

  1. 1. Solve 2x + 5 = 17.

    1. 5
    2. 6
    3. 7
    4. 11
    Show answer

    Answer: B. Subtract 5 from both sides: 2x = 12. Divide both sides by 2: x = 6. Check: 2 × 6 + 5 = 17.

  2. 2. Solve x/3 + 2 = 6.

    1. 4
    2. 8
    3. 24
    4. 12
    Show answer

    Answer: D. Subtract 2: x/3 = 4. Multiply both sides by 3: x = 12. Check: 12/3 + 2 = 4 + 2 = 6.

  3. 3. Solve 7x − 4 = 3x + 16.

    1. 5
    2. 3
    3. 4
    4. 6
    Show answer

    Answer: A. Subtract 3x from both sides: 4x − 4 = 16. Add 4: 4x = 20. Divide by 4: x = 5. Check: 35 − 4 = 31 and 15 + 16 = 31.

  4. 4. Solve 4(x − 2) = 20.

    1. 5
    2. 6
    3. 7
    4. 8
    Show answer

    Answer: C. Divide both sides by 4: x − 2 = 5. Add 2: x = 7. Check: 4 × (7 − 2) = 4 × 5 = 20.

  5. 5. Which of these is an equation (not just an expression)?

    1. 3x + 7
    2. 4(x − 2)
    3. 3x + 7 = 22
    4. 5x − 2y
    Show answer

    Answer: C. An equation is two expressions joined by an equals sign. Only 3x + 7 = 22 has one; the others are expressions with no equals sign, so there is nothing to solve.

Sign in to keep track of the lessons you finish.

Next lesson → Forming equations from word problems

Privacy · Terms · Refunds · Delivery