Skip to content
SPM Tuition
Additional Mathematics · Systems of equations

One linear and one nonlinear equation

One equation is a line and the other has a square, so the usual methods fail.

When one equation is linear and the other has a squared term or a product xy, use substitution. Make one variable the subject of the linear equation, substitute it, and solve the quadratic that results.

This lesson is part of systems of equations. It needs quadratic factorising, so revisit that if it feels slow.

What is the routine?

  1. Rearrange the linear equation so that y (or x) stands alone.
  2. Substitute into the nonlinear equation, using brackets.
  3. Expand and collect terms into a quadratic equal to zero.
  4. Solve for the first variable, usually two values.
  5. Find the partner of each value from the linear equation, then check both equations.

Worked example 1: a circle and a line

Solve x + y = 5 and x² + y² = 13.

From the linear equation, y = 5 − x. Substitute: x² + (5 − x)² = 13.

Expand: x² + 25 − 10x + x² = 13, so 2x² − 10x + 12 = 0, which simplifies to x² − 5x + 6 = 0 and factorises as (x − 2)(x − 3) = 0.

So x = 2 or x = 3. The linear equation gives y = 3 when x = 2 and y = 2 when x = 3. The answers are (2, 3) and (3, 2). Check (3, 2): 3 + 2 = 5 and 9 + 4 = 13.

Worked example 2: a product and a fractional root

Solve y = 2x − 1 and xy = 15.

Substitute: x(2x − 1) = 15, so 2x² − x − 15 = 0, which factorises as (2x + 5)(x − 3) = 0.

So x = 3 or x = −5/2. The partners are y = 2(3) − 1 = 5 and y = 2(−5/2) − 1 = −6. The answers are (3, 5) and (−2.5, −6).

Check the second pair: xy = (−2.5)(−6) = 15, and 2(−2.5) − (−6) = 1. The negative pair is valid, even though it looks unusual.

The mistake that costs marks

The common slip is to expand (5 − x)² as 25 − x² or as 25 + x², losing the middle term −10x. The quadratic then has the wrong coefficients and the roots are wrong.

Step Wrong Right
Expand (5 − x)² 25 − x² 25 − 10x + x²
Collect terms x² + 25 − x² = 13, no x² left 2x² − 10x + 12 = 0
Result No quadratic to solve x = 2 or 3

If the x² terms cancel completely, stop. A genuine quadratic should remain, so recheck the expansion.

Check yourself

Solve x − y = 2 and x² + y² = 10.

Answer

From the first equation, x = y + 2, so (y + 2)² + y² = 10, which gives 2y² + 4y − 6 = 0, or y² + 2y − 3 = 0. Then (y + 3)(y − 1) = 0, so y = 1 or y = −3.

The partners are x = 3 and x = −1. The answers are (3, 1) and (−1, −3). Check (−1, −3): −1 − (−3) = 2 and 1 + 9 = 10.

What to study next

Next, learn how to pick the quickest method in choosing substitution or elimination. Then see when answers must be rejected in rejecting invalid solutions in contextual systems.

If you want a teacher to work through these with you, see online one-to-one Additional Mathematics tuition.

Common questions

Which variable should I substitute?

Rearrange the linear equation to make one variable the subject, then put that expression into the nonlinear equation. Choose the variable that gives the simplest expression, ideally one with no fractions.

Why do I get two pairs of answers?

Substitution leaves a quadratic equation, which can have two roots. Each root gives its own partner from the linear equation, so the answers come as two coordinate pairs.

What if the quadratic does not factorise?

Use the quadratic formula. Keep the roots in surd form until the last step, then round only at the end.

How do I know the pairs are correct?

Substitute each pair into the nonlinear equation as well as the linear one. A pair that fits only the linear equation is usually paired with the wrong partner.

If the quadratic after substitution always comes out wrong, one-to-one Add Maths lessons let a teacher check each expansion on your own questions until it is reliable.

  • Online one-to-one lessons for your child with an experienced teacher.
  • Your first class is a one-hour trial, from RM50. The fee is agreed before you book.
  • Happy with the teacher? Continue with lessons of about 1.5 hours. If not, ask for another teacher.