Solving Systems of Linear Equations by Addition
When we have two equations, we can add them together to get a new equation. We don't even need to ask for their permission. Let's say we're trying to solve the following system:
a = b
c = d
We can add the left-hand sides of the equations and the right-hand sides of the equations to get:
a + c = b + d
When we do this, we say we're adding the equations. Come to think of it, that term may be too self-explanatory for bolding. Oh well, too late now.
We can also add more complicated equations. If we've got this system:
3x + 2y = 7
y = 3x – 2
...then we can add 'em up vertically to get:
3x + 2y + y = 7 + 3x – 2
We'll use this concept to solve systems of linear equations.
Solve the system of linear equations:
We add the equations to find that
y + x – y = 3x + 2 + 4.
This simplifies to x = 3x + 6.
All of a sudden the variable y is gone. We don't know where it went, but hopefully it's in a better place. We now have an equation we can solve for x. Doing this yields x = -3. Now we can put -3 in for x in the first equation to find y:
y = 3(-3) + 2 = -7
The solution to the system appears to be (-3, -7). Let's check this answer in the original equations. We want to check it before we wreck it.
For the first equation, when x = -3 and y = -7, the left-hand side is -7 and the right-hand side is 3(-3) + 2, which also happens to be -7. These values work in the first equation.
For the second equation, when x = -3 and y = -7, the left-hand side of the equation is x – y = (-3) – (-7), which is 4, the same as the right-hand side of the equation.
These values work in both the equations, so the solution really is (-3, -7).
The previous example worked because the the coefficients of y in the two different equations were additive inverses of each other. The first equation had a positive y, and the second equation had a negative y.
When we added the equations, we eliminated the variable y. Now y sleeps with the fishes.
This example was one of the kindest ones we could have given you, because the coefficients of y in the two equations were already additive inverses. In general, we need to do much more legwork to get coefficients that are additive inverses. Once we're done with our legwork, we can focus on our glutes.
Solve the system of equations:
The coefficients of x aren't additive inverses, but we can be sneaky and mold them into what we want them to be. Take the first equation and multiply each side by -2. This gives us
-2(x + 5y) = -2(11),
which simplifies to
-2x – 10y = -22.
Write this on top of the second equation:
Now the coefficients of x are additive inverses of each other, so we can work our system-solving magic. Nothing up our sleeves here...
Add the equations to eliminate the x:
-10y – 3y = -18
Then solve to get:
Now we can stick that value in for y in the first original equation to find x:
We think the solution to the system of equations is .
As always, we're going to cover our hineys and double-check this in the original equations. For the first equation, when and , the left-hand side is
which is 11, exactly as it should be.
For the second equation, when and the left-hand side is
This agrees with the right-hand side of the second equation, so we've got it. Man, being right never gets old.
When we solve a system by addition, we could also say we're solving by elimination. We eliminate one variable, find the value of the other, and then find the value of the variable we eliminated. It's like the NFL playoffs. These variables are one and done.
The general steps we're using here are similar to the ones we used with the substitution method.
- Eliminate a variable to get an equation in one variable.
- Solve the equation from step 1.
- Use one of the original equations to find the value of the other variable.
- Check your answer in both original equations.
So far, the first step ("Eliminate a variable'') hasn't been too difficult. We've only needed to multiply one equation in the system by a number in order to eliminate a variable. Now it's time to up the ante. Of course, we don't mean "ante" in the poker sense. We can't condone gambling, unless it's on the stock market.
We frequently need to multiply both equations by something in order to eliminate a variable.
Eliminate the variable x from the following system of equations to get an equation in terms of y.
The coefficients on the x are 3 and 2, which have a common multiple of 6. If we multiply the first equation by 2 and the second equation by 3, we're almost there:
Now the coefficients on x in the two equations are the same, which is close, but no cigar. Again, we're not referring to a literal cigar. We can't condone smoking.
We want our coefficients to be additive inverses, so we can multiply either equation by -1. In other words, we need to flip all the signs in one equation. We could flip a coin to determine which one we should choose, but how do we decide which coin to flip?
We'll make things easy on ourselves and go chronologically. Emphasis on "logically." If we pick the first equation, we have
Now we add the equations to find -7y = 7, and the x has been eliminated.
There's one other thing that can happen: our linear system can contain fractions. When this happens, we just get rid of the fractions first and then solve the system as we've been doing. If they don't go quietly, don't be afraid to get a bit rough. Show those fractions who's boss.
Solve the system of equations:
First, we get rid of the fractions. Multiply the first equation through by 6 and the second equation through by 5 to find
We know what to do from here. In this case, we can eliminate either variable without too much trouble, assuming they don't get frisky. Let's eliminate y, since its coefficients already have opposite signs. Thank you, y, for cooperating.
Multiply the second equation by 2, so now we're looking at the system of equations
We add these equations to find 33x = 26, which means, unfortunately, that .
Use the first original equation to find y. We plug in our value of x into , which gives us
This simplifies to
and then we multiply both sides by the reciprocal of y's coefficient to get
Now we think the solution to the system is , but we need to check our answer in the other equation, which was .
Let's plug in the values we found for x and y and see if they work. If they don't, we'll try to keep from throwing a hissy fit. Look at things through a clean pair of perspectacles.
Yep, that's the same thing as 2. These values work, so we found the solution to the system of equations. Yeesh, finally.