+ learner first aid

Context: This page is part of the 2023 Mathematics syllabus transition.

Chapter-level learner page for forming, simplifying, evaluating, and solving basic algebraic expressions and equations in one unknown.

Before this

First aid: read the overview, copy one worked example by hand, then try explaining the key rule without looking.

+ Math syllabus context

Current Mathematics path is the active Basic Mathematics syllabus. The 2023 Mathematics syllabus is a transition path expected to take effect from January 2027; this wiki will update the lead path in late 2026.

Algebraic expressions and equations

Overview

Algebra uses letters to stand for numbers. An algebraic expression such as $3x + 5$ describes a quantity whose value depends on $x$, while an equation such as $3x + 5 = 20$ says that two quantities are equal and asks for the value that makes the statement true.

This topic is the doorway into later algebra. It helps learners translate words into symbols, simplify repeated patterns, and solve simple unknowns in everyday contexts such as prices, ages, lengths, rates, and number puzzles.

A good way to study this chapter is to move slowly from meaning to method. First ask, "What does the letter represent?" Then ask, "Is this an expression to simplify, a value to evaluate, or an equation to solve?" Many mistakes happen when learners rush to calculate before deciding which kind of algebra object they are handling.

+ Syllabus Alignment

This page expands the official Form I Mathematics syllabus topic Algebraic expressions and equations. The syllabus remains the authority for topic placement and scope. Exam-format records and extracted question mappings are used only as assessment signals until reviewed against original papers.

Prerequisites

Learning Scope

This chapter covers variables, constants, coefficients, like terms, simplifying expressions, expanding simple brackets, substituting values, forming equations from words, and solving linear equations in one unknown.

This page does not fully teach simultaneous equations, inequalities, quadratic equations, graphs of equations, or matrix methods. Those ideas are linked later once the basic language of algebra is secure.

Subtopics

Variables, Constants, And Terms

A variable is a letter that represents a number. In the expression $4x + 7$, the letter $x$ is a variable. The number $4$ is the coefficient of $x$, and $7$ is a constant term.

An algebraic term is a part of an expression separated by addition or subtraction signs. In $5a - 3b + 9$, the terms are $5a$, $-3b$, and $9$.

Key insight: A letter does not mean a fixed object. It stands for a number, and the value of the expression can change when the number changes.

Read terms together with their signs. In $6x - 4$, the second term is $-4$, not just $4$. In $2a - 5b + 1$, the coefficient of $b$ is $-5$. This habit makes simplifying and expanding much safer.

Misconception note: The letter $x$ does not automatically mean multiplication. In $4x$, the $4$ and $x$ are multiplied. In $x + 4$, they are added. The operation comes from the expression around the letter.

Writing Expressions From Words

Many algebra questions begin in words. The important move is to identify the unknown and choose a letter for it.

If a number is represented by $n$, then:

  • five more than the number is $n + 5$
  • three times the number is $3n$
  • the number decreased by $8$ is $n - 8$
  • half of the number is $\frac{n}{2}$

Key insight: Word order matters. "A number subtracted from $10$" is $10 - n$, not $n - 10$.

When translating, underline the unknown first. If the problem says "Asha has $3$ more mangoes than Juma", do not start with the $3$. Let Juma's mangoes be $j$. Then Asha's mangoes are $j + 3$. The comparison is built around the unknown quantity.

Some phrases are direct:

  • "the sum of a number and $6$" means $n + 6$
  • "the product of $5$ and a number" means $5n$
  • "twice a number decreased by $7$" means $2n - 7$

Some phrases reverse the order:

  • "$9$ less than a number" means $n - 9$
  • "a number less than $9$" means $9 - n$
  • "$4$ subtracted from a number" means $n - 4$

Like Terms And Simplifying

Like terms have the same variable part. The terms $3x$ and $8x$ are like terms. The terms $4a$ and $4b$ are not like terms because their letters are different.

For example:

$$ 3x + 8x - 2x = 9x $$

Constants can also be collected:

$$ 5a + 6 - 2a + 9 = 3a + 15 $$

Key insight: Combine only the coefficients of like terms. The variable part remains unchanged.

It can help to circle the terms with the same variable part:

$$ 8p - 3q + 5p + 2q = (8p + 5p) + (-3q + 2q) $$

Then simplify each group:

$$ 13p - q $$

Misconception note: $3x + 2x$ becomes $5x$, not $5x^2$. Adding like terms changes the number of $x$ terms, not the power of $x$.

Expanding Simple Brackets

To expand a bracket, multiply each term inside the bracket by the factor outside.

$$ 3(x + 4) = 3x + 12 $$

If the sign is negative, every term inside the bracket is affected:

$$ -2(a - 5) = -2a + 10 $$

Key insight: The sign before the bracket travels with the multiplier.

A careful expansion has two small steps: multiply the first term inside the bracket, then multiply the second term inside the bracket. For example:

$$ \begin{aligned} -3(2x - 5) &= (-3)(2x) + (-3)(-5) \\ &= -6x + 15 \end{aligned} $$

Misconception note: A minus sign outside a bracket changes every term inside. So $-(x + 7) = -x - 7$, not $-x + 7$.

Substitution

Substitution means replacing a variable with a given number. If $x = 4$, then:

$$ 2x + 7 = 2(4) + 7 = 15 $$

For expressions with powers, substitute first and then follow the order of operations:

$$ x^2 + 3x = 4^2 + 3(4) = 16 + 12 = 28 $$

Key insight: Use brackets when substituting negative numbers, such as $(-3)^2$.

Substitution should keep the original expression's structure. If $a = -2$ and the expression is $5 - 3a$, write:

$$ 5 - 3(-2) $$

Then calculate:

$$ 5 + 6 = 11 $$

Misconception note: $-3^2$ and $(-3)^2$ are different. The first means $-(3^2)=-9$, while the second means $(-3)(-3)=9$.

Equations And Balance

An equation says that two expressions are equal. Solving an equation means finding the value of the unknown that makes both sides equal.

The equality sign works like a balance. Whatever operation is done to one side must also be done to the other side.

For example:

$$ x + 7 = 12 $$

Subtract $7$ from both sides:

$$ x = 5 $$

Key insight: The aim is to isolate the variable while keeping the equation balanced.

The equality sign does not mean "the answer comes next". It means the left side and right side have the same value. Each step should produce another true equality. A neat layout helps learners see this:

$$ \begin{aligned} x + 7 &= 12 \\ x + 7 - 7 &= 12 - 7 \\ x &= 5 \end{aligned} $$

Solving Linear Equations

A linear equation in one unknown can be solved by undoing operations in a sensible order.

For example:

$$ 3x - 4 = 11 $$

Add $4$ to both sides, then divide by $3$:

$$ \begin{aligned} 3x - 4 &= 11 \\ 3x &= 15 \\ x &= 5 \end{aligned} $$

Key insight: Check the answer by substituting it into the original equation.

For equations with the unknown on both sides, collect variable terms on one side and constants on the other. For example:

$$ \begin{aligned} 5x + 2 &= 2x + 14 \\ 5x - 2x &= 14 - 2 \\ 3x &= 12 \\ x &= 4 \end{aligned} $$

Check:

$$ 5(4)+2=22,\quad 2(4)+14=22 $$

Both sides match, so $x=4$ is correct.

Forming Equations From Context

Some problems ask for an equation before solving. If a pen costs $p$ shillings and $3$ pens plus a book costing $800$ shillings cost $2,300$ shillings, then:

$$ 3p + 800 = 2,300 $$

Solving gives:

$$ \begin{aligned} 3p + 800 &= 2,300 \\ 3p &= 1,500 \\ p &= 500 \end{aligned} $$

Key insight: Define the variable before forming the equation, especially in word problems.

For word problems, use this routine:

  1. State the unknown with units.
  2. Translate each phrase into algebra.
  3. Write the equation.
  4. Solve.
  5. Check whether the answer makes sense in the context.

For example, if $5$ identical notebooks and a ruler costing $300$ shillings cost $4,300$ shillings, let $n$ be the cost of one notebook in shillings:

$$ 5n + 300 = 4,300 $$

So:

$$ \begin{aligned} 5n &= 4,000 \\ n &= 800 \end{aligned} $$

Key Terms

  • Variable: A letter used to represent an unknown or changeable number.
  • Constant: A fixed number in an expression or equation.
  • Coefficient: The number multiplying a variable, such as $6$ in $6x$.
  • Term: A single part of an expression, such as $4x$, $-3y$, or $9$.
  • Like terms: Terms with the same variable part, such as $2a$ and $7a$.
  • Expression: A mathematical phrase without an equality sign, such as $5x - 1$.
  • Equation: A mathematical statement with an equality sign, such as $5x - 1 = 14$.
  • Substitute: Replace a variable with a given value.
  • Expand: Remove brackets by multiplying each term inside.
  • Solve: Find the value that makes an equation true.

Worked Examples

Example 1: Simplify An Expression

Simplify $7x + 4 - 2x + 9$.

Collect like terms:

$$ \begin{aligned} 7x + 4 - 2x + 9 &= (7x - 2x) + (4 + 9) \\ &= 5x + 13 \end{aligned} $$

The simplified expression is $5x + 13$.

Example 2: Expand And Simplify

Expand and simplify $4(2a - 3) + 5a$.

$$ \begin{aligned} 4(2a - 3) + 5a &= 8a - 12 + 5a \\ &= 13a - 12 \end{aligned} $$

The answer is $13a - 12$.

Example 3: Evaluate By Substitution

Find the value of $2x^2 - 3x + 1$ when $x = -2$.

$$ \begin{aligned} 2x^2 - 3x + 1 &= 2(-2)^2 - 3(-2) + 1 \\ &= 2(4) + 6 + 1 \\ &= 15 \end{aligned} $$

The value is $15$.

Example 4: Solve A Linear Equation

Solve $5x + 6 = 31$.

$$ \begin{aligned} 5x + 6 &= 31 \\ 5x &= 25 \\ x &= 5 \end{aligned} $$

Check:

$$ 5(5) + 6 = 25 + 6 = 31 $$

So $x = 5$.

Example 5: Form And Solve An Equation

A number is multiplied by $4$ and then $9$ is added. The result is $45$. Find the number.

Let the number be $n$.

$$ \begin{aligned} 4n + 9 &= 45 \\ 4n &= 36 \\ n &= 9 \end{aligned} $$

The number is $9$.

Example 6: Solve An Equation With Unknowns On Both Sides

Solve $7x - 5 = 3x + 19$.

Collect the $x$ terms on the left and the number terms on the right:

$$ \begin{aligned} 7x - 5 &= 3x + 19 \\ 7x - 3x &= 19 + 5 \\ 4x &= 24 \\ x &= 6 \end{aligned} $$

Check in the original equation:

$$ 7(6)-5=37,\quad 3(6)+19=37 $$

So $x=6$.

Example 7: Form An Equation From A Perimeter Context

A rectangle has length $x + 4$ cm and width $x$ cm. Its perimeter is $32$ cm. Find $x$.

Perimeter of a rectangle is:

$$ 2(\text{length}+\text{width}) $$

Substitute the given expressions:

$$ \begin{aligned} 2((x+4)+x) &= 32 \\ 2(2x+4) &= 32 \\ 4x+8 &= 32 \\ 4x &= 24 \\ x &= 6 \end{aligned} $$

The width is $6$ cm and the length is $10$ cm. The perimeter check is $2(10+6)=32$ cm.

Example 8: Simplify With Fractions

Simplify $\frac{1}{2}x + \frac{3}{4}x - \frac{1}{4}x$.

All terms are like terms because each has the variable part $x$:

$$ \begin{aligned} \frac{1}{2}x + \frac{3}{4}x - \frac{1}{4}x &= \frac{2}{4}x + \frac{3}{4}x - \frac{1}{4}x \\ &= \frac{4}{4}x \\ &= x \end{aligned} $$

The simplified expression is $x$.

Common Mistakes

  • Combining unlike terms: $3x + 4y$ cannot become $7xy$ because $x$ and $y$ are different variable parts.
  • Losing a negative sign: $-2(x - 5)$ expands to $-2x + 10$, not $-2x - 10$.
  • Treating an expression as an equation: $4x + 7$ can be simplified or evaluated, but it cannot be solved unless it is equal to something.
  • Dividing only one side of an equation: In $3x = 12$, dividing by $3$ must apply to both sides.
  • Substituting negative numbers without brackets: If $x = -4$, then $x^2 = (-4)^2 = 16$.
  • Reversing word order: "Eight less than a number" is $n - 8$, while "a number less than eight" is $8 - n$.

Practice Tasks

Foundation

  1. Identify the variable, coefficient, and constant in $6x + 11$.
  2. Write an expression for "seven less than twice a number".
  3. Write an expression for "$12$ less a number".
  4. State whether $4x + 7$ is an expression or an equation. Explain.

Build Fluency

  1. Simplify $9a - 4a + 6 + 2$.
  2. Simplify $3x + 5y - x + 2y$.
  3. Simplify $8p - 3q - 5p + 7q$.
  4. Expand $5(p + 3)$.
  5. Expand and simplify $2(3m - 4) + m$.
  6. Expand and simplify $-3(2x - 5) + 4x$.

Apply And Check

  1. Evaluate $4x - 7$ when $x = 6$.
  2. Evaluate $x^2 - 5x$ when $x = -3$.
  3. Solve $x + 12 = 30$.
  4. Solve $4x - 9 = 27$.
  5. Solve $5x + 6 = 2x + 24$.
  6. A number is divided by $5$ and the result is $8$. Form and solve an equation.
  7. The total cost of $6$ exercise books and a pen costing $500$ shillings is $3,500$ shillings. If one exercise book costs $b$ shillings, form and solve an equation for $b$.
  8. A rectangle has width $w$ cm and length $w+5$ cm. Its perimeter is $50$ cm. Form and solve an equation for $w$.

Generated Question Layer

  • Direct understanding questions: Ask learners to identify variables, coefficients, constants, terms, expressions, and equations.
  • Skill questions: Generate simplification, expansion, substitution, and one-step or two-step equation tasks.
  • Word-to-symbol questions: Use classroom, market, transport, and measurement contexts to form expressions and equations.
  • Progressive sets: Start with one unknown and whole-number coefficients, then introduce negative numbers, brackets, and fractions.
  • Edge cases: Include unlike terms, negative substitutions, brackets with negative multipliers, and word-order traps.
  • LLM tutor: Ask for hints that first identify the unknown, then translate the words, before revealing algebraic steps.

Learner Aid Opportunities

  • diagram: A balance-scale diagram showing equal operations on both sides of an equation.
  • diagram: A balance-scale diagram showing $x+7=12$, then matching subtraction of $7$ from both pans.
  • chart: A table separating variables, coefficients, constants, terms, expressions, and equations, with one correct example and one non-example for each.
  • animation: Step-by-step collection of like terms with $x$ terms and constants moving into separate groups before coefficients are added.
  • interactive: Expression builder where learners drag phrases such as "twice", "less than", "sum", and "product" into symbolic forms and receive word-order feedback.
  • interactive: Equation-step checker that accepts one operation at a time and warns when only one side of the equation has been changed.
  • video: Short worked walkthrough on forming equations from market-price contexts, including variable definition, equation formation, solution, and reasonableness check.
  • LLM tutor: Conversational checker that asks, "What does the letter stand for?" and "Is this an expression or an equation?" before solving a word problem.

Exam-Derived Signals

The first automatic 2021-2025 Paper 1 mapping counted 2 primary Algebraic expressions and equations records, both in 2022. These records are unreviewed extraction signals, not verified official past-question links.

The 2022 examination format crosswalk maps the format group Algebra/Quadratic equations to this topic, together with quadratic equations, simultaneous equations, and inequalities. The crosswalk record is marked official, but the mapping is broad and should not be read as a topic-specific frequency guarantee.

Recent unreviewed extracted signals include:

| Year | Question ID | Signal | | ---: | --- | --- | | 2022 | csee_041_2022_p1_q06_b_ii | Forming an equation relating cost price and selling price from a previous proportionality result. | | 2022 | csee_041_2022_p1_q10_a | Rewriting an equation using a substituted variable. |

Secondary unreviewed mappings also connect this topic to exponents, coordinate geometry, variation, and matrices because many later topics use algebraic equation language. Those secondary records require manual review before being presented as past-question examples for this page.

Source And Review Notes

  • Official syllabus status: The topic identity, form placement, competence, source topic ID, and hub come from the 2023 CSEE Mathematics syllabus through data/curriculum_map.json.
  • Official source reference: The cited syllabus file is raw/syllabuses/csee/2023/csee_mathematics_syllabus_2023.pdf.
  • Exam signal status: The 2021-2025 signals come from data/topic_frequency_2021_2025.json and data/question_map_2021_2025.jsonl; they are unreviewed and should not be treated as audited past-question references.
  • Exam format status: The 2022 format crosswalk maps Algebra/Quadratic equations to this page as one member of a broader algebra group.
  • Content authorship status: Explanations, worked examples, and practice tasks are original learner-facing prose written from the syllabus topic and assessment signals, not copied from textbooks, Wikipedia, or extracted solutions.
  • Renderer QA: This page uses $...$ and $$...$$ math notation for compatibility with Obsidian, KaTeX, and MathJax. Some plain Markdown viewers may show the raw delimiters.
+ Related Pages