A-level Mathematics

2.5 Simultaneous equations by elimination and substitution — Learn

Prerequisites: solving a linear equation; expanding and factorising from 2.3; solving quadratics from 2.4; plotting a straight line and a curve.

By the end of this section you can: solve two linear equations by elimination; solve one linear and one quadratic equation by substitution; and interpret the solution as the point or points where the graphs meet.

1. Two equations at once

Two equations are simultaneous when they must be true at the same time. A solution is a pair of values (x,y)(x, y) that satisfies both equations. On a graph, each equation is a curve or a line, and each solution is a point where the two meet.

two straight lines⇒0,1 or infinitely many meetings.\text{two straight lines} \quad \Rightarrow \quad 0, 1 \text{ or infinitely many meetings.} a line and a curve⇒0,1 or 2 meetings.\text{a line and a curve} \quad \Rightarrow \quad 0, 1 \text{ or } 2 \text{ meetings.}

A line and a parabola can meet twice, touch once, or miss each other. This is the same discriminant idea as 2.3, seen on a graph.

2. Elimination

Use elimination when both equations are linear. Scale one or both equations so that one variable has the same coefficient in each, then add or subtract to remove it.

Example 1. Solve 3x+2y=163x + 2y = 16 and 2x−y=62x - y = 6.

The second equation has a single yy, so multiply it by 22 to match the 2y2y in the first:

4x−2y=12.4x - 2y = 12.

Now the yy terms have the same size and opposite signs. Add the equations to remove yy:

(3x+2y)+(4x−2y)=16+12,(3x + 2y) + (4x - 2y) = 16 + 12, 7x=28.7x = 28.

So x=4x = 4. Substitute into 2x−y=62x - y = 6:

8−y=6,y=2.8 - y = 6, \qquad y = 2.

The solution is (4,2)(4, 2). Check it in the other equation: 3×4+2×2=163 \times 4 + 2 \times 2 = 16.

3. Substitution

Use substitution when one equation is linear and the other is quadratic. Rearrange the linear equation to make one variable the subject, substitute it into the quadratic, and solve the resulting quadratic.

Example 2. Solve y=x+1y = x + 1 and x2+y2=25x^2 + y^2 = 25.

The first equation already gives yy in terms of xx. Substitute x+1x + 1 for yy:

x2+(x+1)2=25.x^2 + (x + 1)^2 = 25.

Expand the bracket:

x2+x2+2x+1=25.x^2 + x^2 + 2x + 1 = 25.

Collect terms and move 2525 to the left:

2x2+2x−24=0.2x^2 + 2x - 24 = 0.

Divide by 22, then factorise:

x2+x−12=0,(x+4)(x−3)=0.x^2 + x - 12 = 0, \qquad (x + 4)(x - 3) = 0.

So x=3x = 3 or x=−4x = -4. Find yy from y=x+1y = x + 1 each time:

x=3⇒y=4,x=−4⇒y=−3.x = 3 \Rightarrow y = 4, \qquad x = -4 \Rightarrow y = -3.

The two solutions are (3,4)(3, 4) and (−4,−3)(-4, -3): the points where the line meets the circle.

4. A line and a parabola

Example 3. Solve y=x2y = x^2 and y=2x+3y = 2x + 3.

Both expressions equal yy, so set them equal to each other:

x2=2x+3.x^2 = 2x + 3.

Rearrange to a quadratic in standard form:

x2−2x−3=0.x^2 - 2x - 3 = 0.

Factorise:

(x−3)(x+1)=0,(x - 3)(x + 1) = 0,

so x=3x = 3 or x=−1x = -1. Use y=x2y = x^2 to find each yy:

x=3⇒y=9,x=−1⇒y=1.x = 3 \Rightarrow y = 9, \qquad x = -1 \Rightarrow y = 1.

The solutions are (3,9)(3, 9) and (−1,1)(-1, 1).

5. A symmetric pair

Example 4. Solve x+y=5x + y = 5 and xy=6xy = 6.

Rearrange the linear equation to make yy the subject:

y=5−x.y = 5 - x.

Substitute into the second equation:

x(5−x)=6.x(5 - x) = 6.

Expand and rearrange:

5x−x2=6,x2−5x+6=0,(x−2)(x−3)=0.5x - x^2 = 6, \qquad x^2 - 5x + 6 = 0, \qquad (x - 2)(x - 3) = 0.

So x=2x = 2 or x=3x = 3. From y=5−xy = 5 - x, the pairs are (2,3)(2, 3) and (3,2)(3, 2). The two answers are the same pair written in the two orders, because both equations treat xx and yy in the same way.

Watch out. Three slips cost marks here.

A sign error when subtracting. Multiplying an equation by a negative number changes every term. Write the scaled equation on its own line and check it before you add or subtract.

Stopping at xx. A solution to two equations is a pair, so a value of xx is not an answer on its own. Find the value of yy for each xx.

Dividing by a variable. Dividing by xx can remove the solution x=0x = 0. Factorise instead. Re-check: substitute both coordinates into both of the original equations, not into the rearranged one.

Progress check

A straight service pipe runs through the tunnel along the line y=x2+1y = \frac{x}{2} + 1. The arch is y=4−x24y = 4 - \frac{x^2}{4}.

  1. Write the two equations as a system and substitute the first into the second.
  2. Solve the resulting quadratic.
  3. The tunnel exists only for −4≤x≤4-4 \le x \le 4. Decide which solution lies inside the tunnel, and explain what happens to the other one.
  4. Solve x+y=3x + y = 3 and xy=2xy = 2 to check the method from Example 4.

You should now be able to

Settings

Colour scheme

Applies to every book you read here.

Reading theme

Applies to every book you read here.