In order to solve two equations with multiple variables simultaneously, we need a way to combine the information in both equations into a single equation with only one variable.
The substitution method achieves this by setting the values of the variables to be equal across both equations and then substituting the value of one variable into the other.
Another way to achieve this is using the elimination method, which combines the two equations by adding or subtracting them, such that all but one variable is eliminated.
Combining equations relies on the fact that the left and right-hand sides of any given equation are equal. Because they are equal, we can make expressions out of the two equations that still hold true.
For example: if we know that:
Then we can combine these two equations to also know that:
We made these two new equations by adding or subtracting one equation from the other.
As well as simply adding or subtracting equations from each other, we can also take multiples of equations before combining them. As such, these equations must also hold true:
To solve equations simultaneously, we want to combine equations such that the new equation only has one variable.
Consider the equations:
In this case, we can see that the coefficients of the $y$y-terms in the equations are equal but with opposite signs. As such, adding the equations together would eliminate the variable $y$y like so:
$3x+2y+2x-2y$3x+2y+2x−2y | $=$= | $6+14$6+14 |
Equation 1 $+$+ Equation 2 |
$3x+2x+2y-2y$3x+2x+2y−2y | $=$= | $20$20 |
Collect constant terms |
$5x$5x | $=$= | $20$20 |
Collect like terms |
$x$x | $=$= | $4$4 |
Solve for $x$x |
As we saw in the second line of working out, the $y$y-terms cancelled each other out to give us an equation in terms of only $x$x. This allowed us to solve for the value of $x$x, which we can then substitute back into either equation to solve for the value of $y$y.
$3\times4+2y$3×4+2y | $=$= | $6$6 |
Substitute $x=4$x=4 into Equation 1 |
$12+2y$12+2y | $=$= | $6$6 |
Perform the multiplication |
$2y$2y | $=$= | $-6$−6 |
Subtract $12$12 from both sides |
$y$y | $=$= | $-3$−3 |
Divide both sides by $2$2 |
By adding the two equations together, we could eliminate the $y$y-terms, allowing us to solve for $x$x, which we substituted back in to solve for $y$y.
However, not every pair of equations will have coefficients that nicely match up for easy elimination of variables. In some cases, we will need to also multiply the equations before combining them.
Solve the equations simultaneously using the elimination method:
Think: We want eliminate either the $x$x or $y$y-terms when combining the equations. Since neither has matching coefficients, we will need to multiply the equations before combining them.
Suppose we want to eliminate the $y$y-terms. We can make the coefficients match if we multiply Equation 1 by $3$3 and Equation 2 by $2$2.
Do: Multiplying the equations by the required values gives us:
Now the $y$y-terms have equal coefficients with the same sign. As such, we can eliminate them by subtracting one equation from the other.
$15x-6y-\left(4x-6y\right)$15x−6y−(4x−6y) | $=$= | $21-\left(-12\right)$21−(−12) |
$3$3$\times$×Equation 1$-$− $2$2$\times$×Equation 2 |
$15x-6y-4x+6y$15x−6y−4x+6y | $=$= | $21+12$21+12 |
Remove the brackets |
$11x$11x | $=$= | $33$33 |
Collect like terms |
$x$x | $=$= | $3$3 |
Divide both sides by $11$11 |
Now that we know the value for $x$x, we can substitute it back into one of our starting equations and solve for $y$y.
$5\times3-2y$5×3−2y | $=$= | $7$7 |
Substitute $x=3$x=3 into Equation 1 |
$15-2y$15−2y | $=$= | $7$7 |
Perform the multiplication |
$-2y$−2y | $=$= | $-8$−8 |
Subtract $15$15 from both sides |
$y$y | $=$= | $4$4 |
Divide both sides by $-2$−2 |
Therefore, the solution to Equations 1 and 2 simultaneously is:
$x=3,y=4$x=3,y=4
Given the following equations, we want to solve for $x$x and $y$y using the elimination method.
Equation 1 | $12x+3y=-30$12x+3y=−30 |
Equation 2 | $10x-6y=-76$10x−6y=−76 |
Notice that Equation 1 has a $3y$3y term and Equation 2 has a $-6y$−6y term. How can we combine the equations to eliminate the $y$y-terms?
Equation 1 $-$−$2$2$\times$× Equation 2
$2$2$\times$× Equation 1 $-$− Equation 2
$2$2$\times$× Equation 1 $+$+ Equation 2
Equation 1 $+$+ Equation 2
Solve for $x$x by adding Equation 2 to $2$2 times Equation 1.
Enter each line of working as an equation.
Substitute $x=-4$x=−4 into either of the equations and solve for $y$y.
Enter each line of working as an equation.
Given the following equations, we want to solve for $x$x and $y$y using the elimination method.
Equation 1 | $3x+11y=-108$3x+11y=−108 |
Equation 2 | $-2x+7y=-57$−2x+7y=−57 |
Notice that Equation 1 has a $3x$3x term and Equation 2 has a $-2x$−2x term. How can we combine the equations to eliminate the $x$x-terms?
$2$2$\times$× Equation 1 $+$+ $3$3$\times$×Equation 2
Equation 1 $+$+ $3$3$\times$× Equation 2
$2$2$\times$× Equation 1 $-$− Equation 2
$2$2$\times$× Equation 1 $-$− $3$3$\times$×Equation 2
Solve for $y$y by adding $2$2 times Equation 1 to $3$3 times Equation 2.
Enter each line of working as an equation.
Substitute $y=-9$y=−9 into either of the equations and solve for $x$x.
Enter each line of working as an equation.
For two numbers, $x$x and $y$y:
We want to find the values of these two numbers.
Set up two equations by letting $x$x and $y$y be the two numbers.
Use $x$x as the first of the two numbers.
Sum equation: | $\editable{}$ |
Difference equation: | $\editable{}$ |
First solve for $x$x by eliminating the $y$y-terms.
Equation 1 | $2x+y=27$2x+y=27 |
Equation 2 | $5x-y=43$5x−y=43 |
Now solve for $y$y.