Grade 7Mathematics

Algebra

Variables, expressions, equations and the balance method — the foundation of KJSEA Mathematics.

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

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

The lesson

Algebra is the part of mathematics where we use letters to stand in for numbers. Once you can do that, you can write rules that work for ANY number — which is how everything from M-Pesa fees to building plans to scientific formulas is calculated.

Variables and constants:

  • A variable is a letter that stands for a number whose value can change. The most common letters are x, y, n. In x + 5 = 12, the variable x can be solved to find its value (here, 7).
  • A constant is a fixed number. In 2x + 3, the 3 is a constant; x is the variable.
  • A coefficient is the number multiplying a variable. In 2x, the 2 is the coefficient. If you just write x, the coefficient is understood to be 1.

Algebraic expressions:

An expression is a combination of numbers, variables and operations — but with NO equals sign. Examples: 3x + 5, 2a − b, x² + 4x − 7. You cannot "solve" an expression; you can only simplify it.

Algebraic equations:

An equation has an equals sign. The left side equals the right side. Examples: x + 7 = 10, 3y = 21, 2x − 1 = 9. The job in an equation is to find the value(s) of the variable that make the two sides equal.

Like terms:

Terms with the SAME variable raised to the SAME power are like terms and can be added or subtracted. 3x and 5x are like terms (sum: 8x). 3x and 5x² are NOT like terms — different powers. 3x and 5y are NOT like terms — different variables.

Solving equations using the balance method:

Think of an equation as a balance scale. Whatever you do to one side, you MUST do to the other. Steps:

  1. Get the variable on one side; numbers on the other.
  2. Add or subtract the same number from BOTH sides to move terms.
  3. Multiply or divide BOTH sides by the same number to isolate the variable.
  4. Write the answer.

Substitution:

If you know the value of a variable, you can substitute it into an expression to evaluate. If x = 4, then 2x + 3 = 2(4) + 3 = 8 + 3 = 11.

Common mistakes to avoid:

  • Treating x and 2x as the same thing. 2x means "2 times x", not "the number 2x".
  • Forgetting to apply an operation to BOTH sides of an equation. Whatever you subtract from the left, you must subtract from the right.
  • Combining unlike terms. 3x + 5y cannot be simplified — they're different variables.
  • Sign errors when moving terms across the equals sign. x + 5 = 12 becomes x = 12 − 5, not x = 12 + 5.
  • Dividing only part of one side. In 2x + 4 = 10, you can subtract 4 first (then divide by 2); you cannot just divide by 2 because the 4 isn't being multiplied.

CBC Grade 4 introduces using letters to represent numbers; Grade 5–6 covers simple equations and patterns; Grade 7 introduces algebraic expressions, like terms, linear equations and inequalities; Grade 8 extends to factorising and simultaneous equations; Grade 9 covers matrices, straight-line equations and graphical solutions — the foundation for KJSEA and senior school Mathematics.

Worked examples

Simplify an algebraic expression

Simplify 3x + 5 + 2x − 1.

Combine like terms:

  • x terms: 3x + 2x = 5x
  • Constants: 5 − 1 = 4

Answer: 5x + 4.

Solve a one-step equation

Solve x + 7 = 10.

Subtract 7 from both sides: x + 7 − 7 = 10 − 7 x = 3

Answer: x = 3.

Solve a two-step equation

Solve 2x − 1 = 9.

Step 1 — add 1 to both sides: 2x = 10. Step 2 — divide both sides by 2: x = 5.

Answer: x = 5.

Substitution

If a = 3 and b = 4, find the value of 2a + 3b − 1.

Substitute: 2(3) + 3(4) − 1 = 6 + 12 − 1 = 17.

Word problem to equation

Wanjiru is three times as old as her younger brother. The sum of their ages is 24. How old is each?

Let the brother's age = x. Then Wanjiru = 3x. Equation: x + 3x = 24, so 4x = 24, so x = 6.

Brother is 6 years, Wanjiru is 18 years.

Form an algebraic expression

A boda boda charges KES 50 plus KES 30 per km. Write an expression for the cost of a trip of k km.

Cost = 50 + 30k → 30k + 50 (or 50 + 30k — both are correct).

Practice questions

  • Simplify: 4x + 7 − x + 2.
  • Solve: x − 6 = 11.
  • Solve: 3y = 21.
  • Solve: 2x + 5 = 13.
  • If n = 5, find the value of 4n − 7.
  • A trader buys n kilograms of sugar at KES 120 per kg. Write an expression for the total cost.
  • The sum of three consecutive numbers is 36. Find the numbers.

Ask the tutor

  • Explain algebra like I've never seen it before.
  • Why do we use letters in mathematics?
  • How do I solve an equation step by step?
  • Give me 5 KJSEA-style algebra word problems.
  • What's the difference between an expression and 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 algebra step by step.

Keep going in Mathematics5 more