How to solve simultaneous equations by substitution.
Goal:
Theory:
Part 1
In the ‘elimination’ method for solving simultaneous equations, two equations are simplified by adding them or subtracting them. This eliminates one of the variables so that the other variable can be found.
To add two equations, add the left hand expressions and right hand expressions separately. Similarly, to subtract two equations, subtract the left hand expressions from each other, and subtract the right hand expressions from each other. The following examples will make this clear.
Example 1: Consider these equations:
2x – 5y = 1
3x + 5y = 14
The first equation contains a ‘-5y’ term, while the second equation contains a ‘+5y’ term. These two terms will cancel if added together, so we will add the equations to eliminate ‘y’.
To add the equations, add the left side expressions and the right side expressions separately.
2x – 5y = 1
+
3x + 5y = +14
(2x – 5y) + (3x + 5y) = 1 + 14
Simplifying, -5y and +5y cancel out, so we have:
5x = 15
Therefore ‘x’ is 3.
By substituting 3 for ‘x’ into either of the two original equations we can find ‘y’.
Example 2:
The elimination method will only work if you can eliminate one of the variables by adding or subtracting the equations as in example 1 above. But for many simultaneous equations, this is not the case.
For example, consider these equations:
2x + 3y = 4
x – 2y = -5
Adding or subtracting these equations will not cancel out the ‘x’ or ‘y’ terms.
Before using the elimination method you may have to multiply every term of one or both of the equations by some number so that equal terms can be eliminated.
We could eliminate ‘x’ for this example if the second equation had a ‘2x’ term instead of an ‘x’ term. By multiplying every term in the second equation by 2, the ‘x’ term will become ‘2x’, like this:
x*2 – 2y*2 = -5*2
giving:
2x – 4y = -10
Now the ‘x’ term in each equation is the same, and the equations can be subtracted to eliminate ‘x’:
2x + 3y = 4
–
2x – 4y = – -10
(2x + 3y) – (2x – 4y) = 4 – -10
Removing the brackets and simplifying, the ‘2x’ terms cancel out, so we have:
7y = 14
So
y = 2
The other variable, ‘x’, can now be found by substituting 2 for ‘y’ into either of the original equations.
Sometimes both equations must be modified in order to cancel a variable. For example, to cancel the ‘y’ terms for this example, we could multiply the first equation by 4, and the second equation by 3. Then there would be a ’12y’ term in the first equation and a ‘-12y’ term in the second equation. Adding the equations would then eliminate ‘y’
The steps in the ‘Method’ section below demonstrate how to use Algematics to solve simultaneous equations using the elimination method.
Download Free Support File
Method:
Part 2
IMPORTANT: This topic assumes that you know how to enter mathematical formulas into Algematics. Find out how by completing the three simple tutorials in the ‘Getting Started’ section of the Algematics program ‘Help’.
To solve two equations by the elimination method:
– enter the equations,
– prepare them if necessary so that one of the variables will cancel,
– add or subtract them to eliminate one of the variables, then
– substitute to find the second variable.
We will use example 2 from the ‘Theory’ section above in this demonstration.
Step 1 Enter the equations to solve
Click and type your first equation into the maths box in the data entry dialog box.
If the ‘EMPTY’ message is not displayed between the blue buttons, click the button until the message: ‘INSERT’ appears.
If necessary, use the ‘ * ‘ symbol for multiply and the ‘ / ‘ symbol for divide.
Maths…
2x + 3y = 4
Click the button, then type the second equation into the maths box:
Maths…
x – 2y = -5
Check the ‘Rule Of Line …’ check box so that the two initial equations will stand out at the top of all the working.
and then click
Step 2 If necessary, prepare either or both equations for eliminating a variable.
Decide which variable you are going to eliminate from the equations and whether you are going to add the equations or subtract them.
For the example equations,
2x + 3y = 4
x – 2y = -5
we will multiply the second equation through by 2 and eliminate variable ‘x’ by subtracting the second equation from the first.
To modify an equation, use a copy of the original equation.
To copy an equation, hold down the Ctrl key on the keyboard while you click on the equation with the mouse and drag it down below the others. The copy will appear when you release the mouse button.
For the example, copy the equation:
x – 2y = -5
below the others, so that the display looks like this:
(The newly copied equation is shown here in red)
2x + 3y = 4
x – 2y = -5
x – 2y = -5
To multiply the bottom equation by 2:
Click on the input box and type ‘2’:
Input: 2
Click
Multiplying by ‘2’, both sides …
(x – 2y)*2 = -5*2
Click (expand, this removes the brackets)
Expanding, both sides …
x*2 – 2y*2 = -5*2
Click (simplify all)
Simplifying, both sides …
2x – 4y = -10
RULE OFF: Double click the mouse on this last data set to open the data entry dialog box. Check the ‘Rule Off Line …’ check box so that the two initial equations will stand out at the top of all the working.
click
NOTE: If you need to modify the other equation as well, copy it to the bottom and follow the same procedure, ending with another rule off line.
-
Step 3 Eliminate the first variable
Copy the two equations that you are going to add or subtract to the bottom of the working page, using the copying technique described above.
For the example, the last few lines of the display will now look like this:
Simplifying, both sides …
2x – 4y = -10
2x – 4y = -10
2x + 3y = 4
Click on the bottom equation to make it the target.
2x + 3y = 4
Click on the input box arrow and select the other equation.
For the example, select: ‘2x – 4y = -10’ in the input box.
Input: 2x – 4y = -10
Click to add the equations, or
to subtract them.
(For the example, we are subtracting the equations to eliminate ‘2x’, so click )
Click (simplify all). You will now have an equation in only one variable.
For the example, the last few lines of the display will now look like this:
2x – 4y = -10
2x + 3y = 4
Subtracting ‘2x – 4y = -10’ …
(2x + 3y) – (2x – 4y) = 4 – -10
Simplifying, both sides …
7y = 14 ο Solve this equation to find ‘y’.
For the example, we just divide both sides by 7 and simplify. Click on the input box, type 7, then click , then
. This gives the result:
y = 2
Make a rule off line under this last step as explained above.
Step 4 Substitute to find the other variable
Copy either of the original equations to the bottom of the working page, using the copying technique described earlier in this article.
For the example, we will copy the equation:
x – 2y = -5
Click on the input box, and type or select the equation for the known variable.
For the example, select or type: y = 2
Input: y = 2
Click (substitute) then
(simplify all).
You will now have an equation in the other variable. Solve this equation to find the value of this other variable.
For the example, the equation is:
x – 4 = -5
In this case, we add 4 to both sides and simplify:
Click on the input box, type 4,click , then
. This gives the result:
x = -1
Step 5 [OPTIONAL] Validate the solutions by substitution
You can test your answers to make sure they are correct. Click on the input box, and type both solutions with a comma between them:
For the example, type: x = -1, y = 2
Input: x = -1, y = 2
Click on one of the original equations to make it the target data set
2x + 3y = 4
Click (substitute)
2*-1 + 3*2 = 4
Click (simplify all)
4 = 4
Click on the other original equation to make it the target data set
x – 2y = -5
Click (substitute)
-1 – 2*2 = -5
Click (simplify all)
-5 = -5
If you get equations that are true in both cases, then your solutions are correct !
For the example, we get these equations:
-5 = -5
and
4 = 4
so the solutions: x = -1, y = 2 are correct.
Download Free Support File
0
+
Students Enrolled
0
+
Courses Uploaded
0
+
People Certifie
0
+
Global Teachers