Worked Example · Simultaneous Equations · Paper 2 · 5 marks

Simultaneous Equations with a Sum of Squares

Rig, founder of IGCSE Add Math Malaysia

Written by Rig, our founder

8 years teaching IGCSE & SPM maths · Updated 16 August 2026

When the second equation is a sum of squares (as in x2+y2=13x^2 + y^2 = 13), the method is unchanged: make a variable the subject of the linear equation and substitute. The care is all in expanding the squared bracket correctly.

Solve the simultaneous equations x+y=5andx2+y2=13.x + y = 5 \qquad \text{and} \qquad x^2 + y^2 = 13. [5]

The working

Step 1, make yy the subject of the linear equation: y=5x(M1)y = 5 - x \quad \text{(M1)}

Step 2, substitute into the quadratic and expand (5x)2=2510x+x2(5 - x)^2 = 25 - 10x + x^2: x2+(5x)2=13    x2+2510x+x2=13(M1)x^2 + (5 - x)^2 = 13 \;\Rightarrow\; x^2 + 25 - 10x + x^2 = 13 \quad \text{(M1)}

Step 3, simplify to a quadratic =0= 0: 2x210x+12=0    x25x+6=0(A1)2x^2 - 10x + 12 = 0 \;\Rightarrow\; x^2 - 5x + 6 = 0 \quad \text{(A1)}

Step 4, factorise and pair up: (x2)(x3)=0    x=2 or x=3(x - 2)(x - 3) = 0 \;\Rightarrow\; x = 2 \text{ or } x = 3 x=2y=3,x=3y=2(A1, A1)x = 2 \Rightarrow y = 3, \qquad x = 3 \Rightarrow y = 2 \quad \text{(A1, A1)}

Solutions (2,3)(2, 3) and (3,2)(3, 2). The symmetry (swapping xx and yy) is expected here, because both original equations are symmetric in xx and yy, a neat self-check.

Where the marks are won and lost

  • Expand (5x)2(5 - x)^2 in full: 2510x+x225 - 10x + x^2. Writing 25x225 - x^2 or 25+x225 + x^2 is the error that sinks this question.
  • Dividing 2x210x+12=02x^2 - 10x + 12 = 0 by 22 gives the clean x25x+6=0x^2 - 5x + 6 = 0.
  • Pair each xx with the correct yy via y=5xy = 5 - x, not by guessing.

Common mistakes

  • Expanding (5x)2(5 - x)^2 incorrectly.
  • Forgetting the second x2x^2 (from the substituted y2y^2), which changes the coefficient.
  • Giving xx-values only, or mispairing the coordinates.

Full method: Points of Intersection notes. Topic home: Simultaneous Equations pillar.

Common questions

How do I substitute into an equation with x² and y²?
Rearrange the linear equation for one variable, then replace that variable everywhere in the quadratic, including inside the squared term. For x + y = 5 write y = 5 − x, then x² + (5 − x)² = 13. Expand the bracket carefully, it produces a middle term, collect like terms into a single quadratic, and solve. The most common error is expanding (5 − x)² as 25 − x² instead of 25 − 10x + x².

Keep going

See the teaching work on your own child. Then decide.

Every student starts with a 1-hour trial class taught by the vetted tutor your child would actually have. Real teaching, a diagnostic on real exam questions, and a straight answer on the gap to target. One hour at your tutor's rate (RM80–90/hr), no package and no deposit, and you decide afterwards whether to book a weekly slot. Online anywhere in Malaysia.