Grade 7Mathematics

Linear Equations

Forming and solving linear equations in one and two variables using the balance method — the KJSEA workhorse.

📖 3 min read · 5 worked examples · 7 practice questions

📚 Practise Linear Equations with the AI tutor
Free email sign-in · AI tutor in English, Kiswahili or Sheng
Get started →

The lesson

A linear equation is an equation in which the variable (usually x or y) is raised only to the power of one — never squared, cubed or under a root sign. Examples: x + 5 = 12, 3y − 7 = 8, 2x + 3y = 12. The word linear comes from the fact that, when graphed, every linear equation produces a straight line.

Linear equations are everywhere in real life: working out how many minutes of M-Pesa airtime you can afford, calculating distances with rate × time, sharing a bill between friends. The CBC Mathematics syllabus from Grade 7 onwards spends a lot of time on this skill because it is the foundation for every other algebraic technique that follows.

Standard form of a linear equation:

  • One variable: ax + b = c (where a, b, c are constants and x is the variable). Example: 3x − 5 = 7.
  • Two variables: ax + by = c. Example: 2x + 3y = 12.

The balance method (one variable):

Treat the equation as a balance scale. Whatever you do to one side, you MUST do to the other to keep it balanced. The aim is to isolate the variable on one side.

Step-by-step rules:

  1. Remove brackets by expanding (distributive property).
  2. Combine like terms on each side.
  3. Add or subtract the same number from both sides to move constants to one side.
  4. Multiply or divide both sides by the same number to isolate the variable.
  5. Write the answer and check by substituting back.

Solving simultaneous equations (two variables):

When you have two equations in two unknowns, you need both to find unique values for x and y. Three common methods:

  • Substitution — solve one equation for one variable, then substitute into the other.
  • Elimination — add or subtract the two equations to eliminate one variable.
  • Graphical — draw both lines on a graph and find the intersection point.

Word problems — three-step pattern:

  1. Define the variable. "Let x = the number of mangoes."
  2. Form the equation. Translate the word problem into algebra.
  3. Solve and interpret in the context of the question.

Common mistakes to avoid:

  • Sign errors when moving terms. x + 5 = 12 becomes x = 12 − 5, not x = 12 + 5. Always change the sign when crossing the equals sign.
  • Dividing only part of one side. In 2x + 4 = 10, you cannot just divide everything by 2 — you must subtract 4 first (so 2x = 6), then divide (x = 3).
  • Forgetting to apply the operation to BOTH sides. Whatever you subtract from the left, you MUST subtract from the right.
  • Treating 2x as 2 + x. 2x means 2 multiplied by x. It is x + x, not x + 2.
  • Not checking the answer. Substitute your answer back into the original equation. If both sides match, you're correct.

CBC Grade 4–5 introduces the use of letters in number sentences; Grade 6 covers simple linear equations with one variable; Grade 7 covers linear equations and linear inequalities in one variable, balance method, and word problems; Grade 8 introduces simultaneous equations in two variables; Grade 9 extends to graphical solutions and the equation of a straight line — material that appears in KJSEA and senior school Mathematics.

Worked examples

Solve a one-step equation

Solve x − 9 = 14.

Add 9 to both sides: x − 9 + 9 = 14 + 9, so x = 23.

Check: 23 − 9 = 14. ✓

Solve a two-step equation

Solve 3x + 7 = 22.

Step 1 — subtract 7 from both sides: 3x = 15. Step 2 — divide both sides by 3: x = 5.

Check: 3(5) + 7 = 15 + 7 = 22. ✓

Equation with brackets

Solve 2(x + 3) = 14.

Step 1 — expand the bracket: 2x + 6 = 14. Step 2 — subtract 6 from both sides: 2x = 8. Step 3 — divide by 2: x = 4.

Word problem — sharing a bill

Three friends shared a meal of KES 1,200 equally. One of them, Ali, also paid an extra KES 150 for soda. How much did Ali pay altogether?

Let each person's share = x. Then 3x = 1,200, so x = 400. Ali paid *400 + 150 = KES 550.

Simultaneous equations by elimination

Solve: x + y = 10 and x − y = 4.

Add the two equations: 2x = 14, so x = 7. Substitute into x + y = 10: 7 + y = 10, so y = 3.

Answer: x = 7, y = 3.

Practice questions

  • Solve: x + 11 = 19.
  • Solve: 5y = 35.
  • Solve: 2x − 3 = 9.
  • Solve: 4(n + 2) = 24.
  • If 3x + 2y = 13 and x = 1, find y.
  • The sum of two consecutive numbers is 47. Find the numbers.
  • A boda fare is KES 60 plus KES 25 per km. If the total fare was KES 235, how far was the trip?

Ask the tutor

  • Walk me through solving a linear equation step by step.
  • What's the difference between an expression and an equation?
  • How do I solve simultaneous equations?
  • Give me 5 KJSEA-style word problems on linear equations.
  • Why do we need to do the same thing to both sides of an equation?
Sign up for a CBC AI tutor →

Free email sign-up — the tutor answers in English, Kiswahili or Sheng and walks you through linear equations step by step.

Keep going in Mathematics5 more