Algebraic Thinking Before Formal Algebra: What P4-P5 Students Need to Build First
Formal algebra starts in secondary school, but the thinking patterns that make algebra natural — or terrifying — are built in P4 and P5. Here's what to develop now.

One of the clearest signals I could read when a student started secondary school maths was whether they had developed what I call algebraic thinking in upper primary. Not algebra itself — not equations with x — but the habits of mind that make algebra feel natural rather than arbitrary.
Students who had these habits moved smoothly into S1 algebra. Students who hadn't often described it as "a completely different language" — which, without the right preparation, it effectively is.
Here's what algebraic thinking actually consists of, and how to build it in a P4 or P5 student.
What Is Algebraic Thinking?
Algebraic thinking involves four interconnected abilities:
1. Generalising patterns Seeing that 2 + 4 = 6, 4 + 6 = 10, 6 + 8 = 14 and recognising: "I'm always adding two even numbers and getting an even number." Moving from specific cases to a general rule.
2. Reasoning about unknowns Being comfortable with "I don't know what the number is, but I know something about it." This is the foundation of equations.
3. Inverse thinking Understanding that operations can be undone. If 7 × 4 = 28, then 28 ÷ 4 = 7. If adding 5 gives 12, subtracting 5 gives the original. This is the core of solving equations.
4. Functional thinking Understanding that input-output relationships can be described by rules: "Whatever number I put in, I multiply by 3 and add 2 to get the output." This is a pre-algebra function.
All four of these appear in the HK P4–P5 curriculum in informal ways — but they often aren't named or consolidated as algebraic thinking. Students practise the skills without realising they're building toward algebra.
The Problems That Develop Algebraic Thinking
Problem Type 1: Find the Missing Number
These appear on every P4 and P5 exam:
"□ × 6 = 42. What is □?"
Most students approach this by trying numbers until one works. Students with stronger algebraic thinking use inverse: "To find □, I calculate 42 ÷ 6 = 7." They're treating the unknown as something to isolate — exactly the algebra mindset.
Home practice: When your child encounters a missing-number question, ask: "What operation is the inverse of multiplication?" Build the inverse-reasoning habit explicitly.
Problem Type 2: Number Patterns
"The sequence is 3, 7, 11, 15... What is the 20th term?"
The procedural approach: keep adding 4 until you reach the 20th term (tedious and error-prone).
The algebraic approach: "I start at 3. Each step adds 4. The nth term = 3 + (n−1) × 4." For the 20th term: 3 + 19 × 4 = 79.
P5 students who develop this reasoning are building the explicit formula concept that becomes central to S2 algebra.
Home practice: After finding a pattern, ask: "Can you tell me the 100th term without listing all of them?" This forces generalisation.
Problem Type 3: "Think of a Number" Puzzles
"I think of a number, multiply it by 3, and add 5. I get 20. What is my number?"
This is a word-problem equation. Students without algebraic thinking try to guess-and-check, which works for simple cases but fails on more complex ones.
Students with algebraic thinking work backwards: "20 − 5 = 15. 15 ÷ 3 = 5. The number is 5."
Home practice: Make up "think of a number" puzzles at dinner. Start simple (one operation) and gradually add steps. Let your child make up puzzles too — the creation process deepens understanding.
Problem Type 4: Function Machines
An input-output table:
| Input | Output |
|---|---|
| 2 | 8 |
| 5 | 17 |
| 7 | 23 |
| 10 | ? |
"What rule does this machine follow?"
The rule: multiply by 3, add 2. (2 × 3 + 2 = 8; 5 × 3 + 2 = 17; 7 × 3 + 2 = 23) Output for 10: 10 × 3 + 2 = 32
This is an introduction to functions without the formal notation. Students who are comfortable with function machines understand the f(x) concept before ever seeing it written that way.
Warning Signs of Missing Algebraic Thinking
Your P5 child may be missing the foundational thinking if:
- They can solve "□ + 7 = 15" but not "2 × □ + 7 = 15" — the extra step breaks their approach
- They struggle to explain why a pattern continues the way it does
- "Think of a number" puzzles cause them to guess randomly
- They know that 8 × 7 = 56 but don't instantly know that 56 ÷ 8 = 7
These aren't P5 failures — they're P4–P5 gaps that are straightforward to address with targeted practice.
A Word About Formulas
The HK primary curriculum includes formulas (area of rectangle = length × width, perimeter = 2 × (length + width)). Students who have developed algebraic thinking can rearrange these: "If area = 48 and width = 6, what's the length?" This is routine for them because they understand that formulas express relationships that can be read in any direction.
Students without algebraic thinking treat formulas as one-directional instructions: "area = length × width" means "multiply length and width to get area." Full stop. Any other use is confusing.
This is the difference I saw most consistently between students who succeeded at S1 algebra and those who struggled — and it was almost always visible in how they handled P5 formula questions.
Build the thinking now. The algebra, when it arrives, will feel like the natural next step.

Former Hong Kong primary maths teacher with 15 years in the classroom. Built Tutor Wong after seeing the same homework mistakes thousands of times. Believes every error is a learning opportunity — if you know where to look.
All articles by Wong SirGet Wong's Tips Weekly
One practical tip every week — no spam, just useful stuff.
We'll only send tips. Unsubscribe anytime.
Disclaimer: The opinions expressed in this article are those of the author alone and do not represent the views or positions of 補習天王 (Tutor Wong), its founders, staff, or team. This article is provided for informational purposes only and does not constitute professional advice.
Keep Reading
5 Fun Ways to Master Times Tables
Help your child memorise multiplication facts with games, songs, and visual tricks.
Ms. Wong5 minThe P3 Maths Mistakes You're Not Catching (And the Ones That Actually Matter)
Not all P3 maths errors are equal. Our data reveals which mistakes predict future struggle — and which ones you can safely ignore.
Wong Sir7 minWhat Your Child's Wrong Answers Are Trying to Tell You
Wrong answers aren't random — they're diagnostic. Here's how to read specific error patterns as a map of your child's mathematical thinking.
Wong Sir7 min