A simultaneous linear equation is a set of two or more equations that have two or more unknowns (letters), and we must find the values of those unknowns that make both equations true at the same time.
The word “simultaneous” means “together” or “at the same time”.
So, simultaneous equations are solved together, not one after another.
Let us look at these two equations:
2x + y = 7
x + y = 5
Here, we have two equations and two unknowns (x and y). We must find values of x and y that make both equations true at the same time.
There are two main methods that we use at the Junior Secondary level:
Let us learn them one by one.
This method means that we remove (or “eliminate”) one of the unknowns so that we can find the other one.
Solve these equations:
2x + y = 7
x + y = 5
Step 1: Make the coefficients of y the same (they are already the same).
Step 2: Subtract equation (2) from equation (1):
(2x + y) − (x + y) = 7 − 5
2x − x + y − y = 2
x = 2
Step 3: Put x = 2 into any of the equations (let us use equation 2).
x + y = 5
2 + y = 5
y = 3
Final Answer: x = 2, y = 3
Solve:
3x + 2y = 12
2x + 2y = 10
Step 1: The y coefficients are already the same (2).
Step 2: Subtract equation (2) from equation (1):
(3x + 2y) − (2x + 2y) = 12 − 10
x = 2
Step 3: Substitute x = 2 into equation (2):
2(2) + 2y = 10
4 + 2y = 10
2y = 6
y = 3
Final Answer: x = 2, y = 3
This method means we find one unknown in terms of the other, and then substitute (replace) it in the second equation.
Solve:
x + y = 6
2x − y = 4
Step 1: From equation (1), make y the subject.
y = 6 − x
Step 2: Substitute y = 6 − x into equation (2):
2x − (6 − x) = 4
2x − 6 + x = 4
3x = 10
x = 10 ÷ 3
x = 3⅓
Step 3: Substitute x = 3⅓ into y = 6 − x
y = 6 − 3⅓ = 2⅔
Final Answer: x = 3⅓, y = 2⅔
Solve:
4x + y = 11
x − y = 1
Step 1: From equation (2), make x the subject.
x = 1 + y
Step 2: Substitute x = 1 + y into equation (1):
4(1 + y) + y = 11
4 + 4y + y = 11
5y + 4 = 11
5y = 7
y = 7 ÷ 5
y = 1.4
Step 3: Substitute y = 1.4 into x = 1 + y
x = 1 + 1.4 = 2.4
Final Answer: x = 2.4, y = 1.4
After solving, you can check your answers by substituting x and y back into both equations. If both sides of each equation are equal, then your answers are correct.
Simultaneous equations are useful in solving real-life problems such as:
The sum of two numbers is 20, and their difference is 4. Find the two numbers.
Step 1: Let the numbers be x and y.
x + y = 20 …(1)
x − y = 4 …(2)
Step 2: Add both equations:
(x + y) + (x − y) = 20 + 4
2x = 24
x = 12
Step 3: Substitute x = 12 into equation (1):
12 + y = 20
y = 8
Final Answer: The two numbers are 12 and 8.
Two pens and one pencil cost ₦50, while one pen and two pencils cost ₦40. Find the cost of one pen and one pencil.
Step 1: Let the cost of a pen = x and pencil = y.
Equation 1: 2x + y = 50
Equation 2: x + 2y = 40
Step 2: Multiply equation (2) by 2 to make the coefficients of x the same:
2x + 4y = 80
Now subtract equation (1):
(2x + 4y) − (2x + y) = 80 − 50
3y = 30
y = 10
Step 3: Substitute y = 10 into equation (1):
2x + 10 = 50
2x = 40
x = 20
Final Answer: One pen costs ₦20, one pencil costs ₦10.
A table of values is a list that shows the different values of two variables, usually x and y, that make an equation true. It helps us to see how x and y are related and to draw their graphs easily.
When we have two linear equations, we can make a table of values for each of them. The point where the two graphs meet gives the solution of the two equations (that is, the values of x and y that satisfy both equations at the same time).
A linear equation is an equation whose highest power of the variable is 1.
Examples:
y = 2x + 3
3x + 2y = 6
x – y = 4
When we draw a graph for a linear equation, it always forms a straight line.
Follow these steps carefully:
Use a table of values to represent these two equations:
y = 2x + 1
y = x + 4
Let us choose x = −2, −1, 0, 1, 2
For y = 2x + 1
| x | Calculation | y |
|---|---|---|
| -2 | 2(-2) + 1 = -4 + 1 | -3 |
| -1 | 2(-1) + 1 = -2 + 1 | -1 |
| 0 | 2(0) + 1 = 1 | 1 |
| 1 | 2(1) + 1 = 2 + 1 | 3 |
| 2 | 2(2) + 1 = 4 + 1 | 5 |
Table 1 (for y = 2x + 1)
| x | -2 | -1 | 0 | 1 | 2 |
|---|---|---|---|---|---|
| y | -3 | -1 | 1 | 3 | 5 |
For y = x + 4
| x | Calculation | y |
|---|---|---|
| -2 | (-2) + 4 = 2 | 2 |
| -1 | (-1) + 4 = 3 | 3 |
| 0 | 0 + 4 = 4 | 4 |
| 1 | 1 + 4 = 5 | 5 |
| 2 | 2 + 4 = 6 | 6 |
Table 2 (for y = x + 4)
| x | -2 | -1 | 0 | 1 | 2 |
|---|---|---|---|---|---|
| y | 2 | 3 | 4 | 5 | 6 |
If we draw both lines on the same graph using the (x, y) points:
The line for y = 2x + 1 will rise faster because its slope (2) is greater.
The line for y = x + 4 rises more gently.
The two lines will meet (intersect) at a point — that point is the solution of the two equations.
We can also solve the equations algebraically to confirm.
y = 2x + 1
y = x + 4
Since both equal y, we can set them equal to each other:
2x + 1 = x + 4
2x − x = 4 − 1
x = 3
Substitute x = 3 into y = x + 4:
y = 3 + 4 = 7
Therefore, the two lines meet at (3, 7).
Complete the table of values for these equations:
y = 3x − 2
y = −x + 4
Let x = −1, 0, 1, 2, 3
For y = 3x − 2
| x | Calculation | y |
|---|---|---|
| -1 | 3(-1) − 2 = -3 − 2 | -5 |
| 0 | 3(0) − 2 = 0 − 2 | -2 |
| 1 | 3(1) − 2 = 3 − 2 | 1 |
| 2 | 3(2) − 2 = 6 − 2 | 4 |
| 3 | 3(3) − 2 = 9 − 2 | 7 |
Table 1
| x | -1 | 0 | 1 | 2 | 3 |
|---|---|---|---|---|---|
| y | -5 | -2 | 1 | 4 | 7 |
For y = −x + 4
| x | Calculation | y |
|---|---|---|
| -1 | −(−1) + 4 = 1 + 4 | 5 |
| 0 | −(0) + 4 = 4 | 4 |
| 1 | −(1) + 4 = 3 | 3 |
| 2 | −(2) + 4 = 2 | 2 |
| 3 | −(3) + 4 = 1 | 1 |
Table 2
| x | -1 | 0 | 1 | 2 | 3 |
|---|---|---|---|---|---|
| y | 5 | 4 | 3 | 2 | 1 |
To find where the lines meet, solve:
3x − 2 = −x + 4
3x + x = 4 + 2
4x = 6
x = 1.5
Substitute into y = 3x − 2
y = 3(1.5) − 2 = 4.5 − 2 = 2.5
The two lines meet at (1.5, 2.5)
A graphical solution of simultaneous linear equations means finding the point where the two straight lines representing the equations meet (intersect) on a graph.
That point of intersection gives the values of x and y that satisfy both equations at the same time.
The word graphical comes from the word graph, which means drawing or plotting points on a coordinate plane (x-axis and y-axis).
Solve graphically:
y = 2x + 1
y = x + 4
| x | -2 | -1 | 0 | 1 | 2 |
|---|---|---|---|---|---|
| y | -3 | -1 | 1 | 3 | 5 |
| x | -2 | -1 | 0 | 1 | 2 |
|---|---|---|---|---|---|
| y | 2 | 3 | 4 | 5 | 6 |
y
|
7 | /
6 | /
5 |-----------/---- y = x + 4
4 | /
3 | /
2 | /
1 | / y = 2x + 1
------------------------ x
1 2 3 4
Point of Intersection: (3, 7)
Solution: x = 3, y = 7
Solve graphically:
y = 3x - 2
y = -x + 4
| x | -1 | 0 | 1 | 2 | 3 |
|---|---|---|---|---|---|
| y | -5 | -2 | 1 | 4 | 7 |
| x | -1 | 0 | 1 | 2 | 3 |
|---|---|---|---|---|---|
| y | 5 | 4 | 3 | 2 | 1 |
y
|
7 | /
6 | /
5 | / y = -x + 4
4 | / /
3 |/ /
2 | /
1 | / y = 3x - 2
----------------------- x
1 2 3
Point of Intersection: (1.5, 2.5)
Solution: x = 1.5, y = 2.5
Solve graphically:
2x + y = 7
x + y = 5
First, make y the subject:
y = 7 - 2x
y = 5 - x
| x | 0 | 1 | 2 | 3 | 4 |
|---|---|---|---|---|---|
| y | 7 | 5 | 3 | 1 | -1 |
| x | 0 | 1 | 2 | 3 | 4 |
|---|---|---|---|---|---|
| y | 5 | 4 | 3 | 2 | 1 |
y
|
7 |\
6 | \
5 |--\---------- y = 5 - x
4 | \
3 |----\---- y = 7 - 2x
2 | \
1 | \
----------------- x
1 2 3
Point of Intersection: (2, 3)
Solution: x = 2, y = 3
Solve graphically:
x + 2y = 8
2x + y = 10
Make y the subject:
y = 4 - 0.5x
y = 10 - 2x
| x | 0 | 2 | 4 | 6 | 8 |
|---|---|---|---|---|---|
| y | 4 | 3 | 2 | 1 | 0 |
| x | 0 | 1 | 2 | 3 | 4 |
|---|---|---|---|---|---|
| y | 10 | 8 | 6 | 4 | 2 |
y
|
10 |\
8 | \
6 | \
4 |----\---------- y = 4 - 0.5x
2 | \
0 | \
----------------- x
1 2 3 4
Point of Intersection: (2, 6)
Solution: x = 2, y = 6
Problem: The sum of two numbers is 20, and their difference is 4. Find the two numbers using the graphical method.
Let the two numbers be x and y.
x + y = 20 …(1) x − y = 4 …(2)
From (1): y = 20 − x From (2): y = x − 4
Table 1 (for y = 20 − x)
| x | 10 | 12 | 14 | 16 | 18 |
|---|---|---|---|---|---|
| y | 10 | 8 | 6 | 4 | 2 |
Table 2 (for y = x − 4)
| x | 6 | 8 | 10 | 12 | 14 |
|---|---|---|---|---|---|
| y | 2 | 4 | 6 | 8 | 10 |
y
|
12 |\
10 | \
8 |--\------ y = 20 - x
6 | \
4 |----\------ y = x - 4
2 | \
------------------- x
8 10 12 14
The two lines meet at (12, 8).
Solution: x = 12, y = 8
Problem: Two pens and one pencil cost ₦50. One pen and two pencils cost ₦40. Find the cost of one pen and one pencil.
Let cost of pen = x, cost of pencil = y. 2x + y = 50 …(1) x + 2y = 40 …(2)
From (1): y = 50 − 2x From (2): y = (40 − x)/2
Table 1 (for y = 50 − 2x)
| x | 10 | 15 | 20 | 25 |
|---|---|---|---|---|
| y | 30 | 20 | 10 | 0 |
Table 2 (for y = (40 − x)/2)
| x | 10 | 15 | 20 | 25 |
|---|---|---|---|---|
| y | 15 | 12.5 | 10 | 7.5 |
y
|
30 |\
25 | \
20 |--\------ y = 50 - 2x
15 | \
10 |----\------ y = (40 - x)/2
5 | \
--------------------- x
10 15 20 25
They meet at (20, 10).
Solution: Pen = ₦20, Pencil = ₦10
Problem: Solve graphically:
2x + 3y = 12 x + y = 4
From (1): 3y = 12 − 2x → y = (12 − 2x)/3 From (2): y = 4 − x
Table 1 (for y = (12 − 2x)/3)
| x | 0 | 1 | 2 | 3 | 4 |
|---|---|---|---|---|---|
| y | 4 | 3.33 | 2.67 | 2 | 1.33 |
Table 2 (for y = 4 − x)
| x | 0 | 1 | 2 | 3 | 4 |
|---|---|---|---|---|---|
| y | 4 | 3 | 2 | 1 | 0 |
y
|
5 |\
4 |--\------- y = 4 - x
3 | \
2 |---\----- y = (12 - 2x)/3
1 | \
----------------- x
1 2 3 4
They meet around (1.5, 2.5).
Solution: x = 1.5, y = 2.5
Problem: Solve graphically:
x + 2y = 6 3x − y = 3
From (1): y = (6 − x)/2 From (2): y = 3x − 3
Table 1 (for y = (6 − x)/2)
| x | 0 | 2 | 4 | 6 |
|---|---|---|---|---|
| y | 3 | 2 | 1 | 0 |
Table 2 (for y = 3x − 3)
| x | 0 | 1 | 2 | 3 |
|---|---|---|---|---|
| y | -3 | 0 | 3 | 6 |
y
|
6 | /
4 | /
2 | / y = 3x - 3
0 |/---\
-2 | \
-4 | \
----------------- x
1 2 3 4
Lines meet at (1.5, 1.5).
Solution: x = 1.5, y = 1.5
Problem: Solve graphically:
2x + y = 10 x − y = 2
From (1): y = 10 − 2x From (2): y = x − 2
Table 1 (for y = 10 − 2x)
| x | 2 | 3 | 4 | 5 |
|---|---|---|---|---|
| y | 6 | 4 | 2 | 0 |
Table 2 (for y = x − 2)
| x | 2 | 3 | 4 | 5 |
|---|---|---|---|---|
| y | 0 | 1 | 2 | 3 |
y
|
6 |\
5 | \
4 | \------ y = 10 - 2x
3 | \
2 |----\------ y = x - 2
1 | \
-------------------- x
2 3 4 5
Lines meet at (4, 2).
Solution: x = 4, y = 2
Problem: Solve graphically:
3x + y = 12 x + 2y = 8
From (1): y = 12 − 3x From (2): y = (8 − x)/2
Table 1 (for y = 12 − 3x)
| x | 2 | 3 | 4 |
|---|---|---|---|
| y | 6 | 3 | 0 |
Table 2 (for y = (8 − x)/2)
| x | 0 | 2 | 4 |
|---|---|---|---|
| y | 4 | 3 | 2 |
y
|
6 |\
5 | \
4 |--\------- y = (8 - x)/2
3 | \
2 |----\------ y = 12 - 3x
--------------------- x
1 2 3 4
Lines meet at (2, 3).
Solution: x = 2, y = 3
The elimination method is a way of solving two linear equations by removing (eliminating) one of the unknowns so that we can find the value of the other one easily. We do this by adding or subtracting the equations so that one variable disappears. After that we solve for the remaining variable and then use its value to find the other one.
When we have two equations like:
2x + y = 10 x + y = 7
We can make one letter disappear by subtracting or adding the equations. That is why it is called elimination — because we eliminate (remove) one letter.
Solve by elimination:
2x + y = 10 x + y = 7
Answer: x = 3, y = 4
Solve:
3x + 2y = 12 x + 2y = 8
Answer: x = 2, y = 3
Solve:
4x − y = 11 2x + y = 9
Answer: x = 10/3, y = 7/3
Solve:
4x + 5y = 9 2x + 3y = 5
Answer: x = 1, y = 1
Solve:
7x − 2y = 3 3x + 4y = 11
Answer: x = 1, y = 2
The substitution method is a way of solving two linear equations by making one variable the subject of one equation, then substituting that expression into the other equation. This removes one variable and lets us solve for the other.
For example, if y = 10 − x, then wherever we see y in the other equation we replace it with (10 − x). This gives one equation with one unknown and we can solve it.
Solve:
x + y = 8 2x − y = 4
Answer: x = 4, y = 4
Solve:
3x + 2y = 12 x = 2y
Answer: x = 3, y = 1.5
Solve:
2x + 3y = 12 x − y = 1
Answer: x = 3, y = 2
Solve:
y = 5 − x 2x + 3y = 13
Answer: x = 2, y = 3
Solve:
x = y + 4 3x − 2y = 5
Answer: x = −3, y = −7
Both methods let us solve pairs of equations. Use elimination when it is easy to line up and remove one variable (by adding or subtracting). Use substitution when one equation already gives one variable in terms of the other.
| Method | What it does | When to use |
|---|---|---|
| Elimination | Removes one variable by adding or subtracting equations | When both equations are neatly arranged with similar terms |
| Substitution | Replaces one variable using another equation | When one equation is already written in terms of x or y |