What if you were given a system of linear equations like and ? How could you solve for one of the variables by eliminating the other? After completing this Concept, you'll be able to solve a system of linear equations by elimination.
In this lesson, we’ll see how to use simple addition and subtraction to simplify our system of equations to a single equation involving a single variable. Because we go from two unknowns ( and ) to a single unknown (either or ), this method is often referred to by solving by elimination . We eliminate one variable in order to make our equations solvable! To illustrate this idea, let’s look at the simple example of buying apples and bananas.
If one apple plus one banana costs $1.25 and one apple plus 2 bananas costs $2.00, how much does one banana cost? One apple?
It shouldn’t take too long to discover that each banana costs $0.75. After all, the second purchase just contains 1 more banana than the first, and costs $0.75 more, so that one banana must cost $0.75.
Here’s what we get when we describe this situation with algebra:
Now we can subtract the number of apples and bananas in the first equation from the number in the second equation, and also subtract the cost in the first equation from the cost in the second equation, to get the difference in cost that corresponds to the difference in items purchased.
That gives us the cost of one banana. To find out how much one apple costs, we subtract $0.75 from the total cost of one apple and one banana.
So an apple costs 50 cents.
To solve systems using addition and subtraction, we’ll be using exactly this idea – by looking at the sum or difference of the two equations we can determine a value for one of the unknowns.
Solving Linear Systems Using Addition of Equations
Often considered the easiest and most powerful method of solving systems of equations, the addition (or elimination) method lets us combine two equations in such a way that the resulting equation has only one variable. We can then use simple algebra to solve for that variable. Then, if we need to, we can substitute the value we get for that variable back into either one of the original equations to solve for the other variable.
Solve this system by addition:
We will add everything on the left of the equals sign from both equations, and this will be equal to the sum of everything on the right:
A simpler way to visualize this is to keep the equations as they appear above, and to add them together vertically, going down the columns. However, just like when you add units, tens and hundreds, you MUST be sure to keep the s and s in their own columns. You may also wish to use terms like as a placeholder!
Again we get , or . To find a value for , we simply substitute our value for back in.
Substitute into the second equation:
The reason this method worked is that the coefficients of the two equations were opposites of each other: 2 and -2. Because they were opposites, they canceled each other out when we added the two equations together, so our final equation had no term in it and we could just solve it for .
Solving Linear Systems Using Subtraction of Equations
Another, very similar method for solving systems is subtraction. When the or coefficients in both equations are the same (including the sign) instead of being opposites, you can subtract one equation from the other.
If you look again at Example 3, you can see that the coefficient for in both equations is +1. Instead of adding the two equations together to get rid of the s, you could have subtracted to get rid of the s:
So again we get , and we can plug that back in to determine .
The method of subtraction is just as straightforward as addition, so long as you remember the following:
- Always put the equation you are subtracting in parentheses, and distribute the negative.
- Don’t forget to subtract the numbers on the right-hand side.
- Always remember that subtracting a negative is the same as adding a positive.
Peter examines the coins in the fountain at the mall. He counts 107 coins, all of which are either pennies or nickels. The total value of the coins is $3.47. How many of each coin did he see?
We have 2 types of coins, so let’s call the number of pennies and the number of nickels . The total value of all the pennies is just , since they are worth each. The total value of the nickels is . We are given two key pieces of information to make our equations: the number of coins and their value in cents.
We’ll jump straight to subtracting the two equations:
Substituting this value back into the first equation:
So Peter saw 47 pennies (worth 47 cents) and 60 nickels (worth $3.00) making a total of $3.47.
Watch this video for help with the Examples above.
- The purpose of the elimination method to solve a system is to cancel, or eliminate, a variable by either adding or subtracting the two equations. Sometimes the equations must be multiplied by scalars first, in order to cancel out a variable.
Andrew is paddling his canoe down a fast-moving river. Paddling downstream he travels at 7 miles per hour, relative to the river bank. Paddling upstream, he moves slower, traveling at 1.5 miles per hour. If he paddles equally hard in both directions, how fast is the current? How fast would Andrew travel in calm water?
First we convert our problem into equations. We have two unknowns to solve for, so we’ll call the speed that Andrew paddles at , and the speed of the river . When traveling downstream, Andrew speed is boosted by the river current, so his total speed is his paddling speed plus the speed of the river . Traveling upstream, the river is working against him, so his total speed is his paddling speed minus the speed of the river .
Next we’ll eliminate one of the variables. If you look at the two equations, you can see that the coefficient of is +1 in the first equation and -1 in the second. Clearly , so this is the variable we will eliminate. To do this we simply add equation 1 to equation 2. We must be careful to collect like terms, and make sure that everything on the left of the equals sign stays on the left, and everything on the right stays on the right:
Or, using the column method we used in example 2:
Again we get , or . To find a corresponding value for , we plug our value for into either equation and isolate our unknown. In this example, we’ll plug it into the first equation:
Andrew paddles at 4.25 miles per hour. The river moves at 2.75 miles per hour.
- Solve the system:
- Solve the system:
- Solve the system:
- Solve the system:
- Nadia and Peter visit the candy store. Nadia buys three candy bars and four fruit roll-ups for $2.84. Peter also buys three candy bars, but can only afford one additional fruit roll-up. His purchase costs $1.79. What is the cost of a candy bar and a fruit roll-up individually?
- A small plane flies from Los Angeles to Denver with a tail wind (the wind blows in the same direction as the plane) and an air-traffic controller reads its ground-speed (speed measured relative to the ground) at 275 miles per hour. Another, identical plane, moving in the opposite direction has a ground-speed of 227 miles per hour. Assuming both planes are flying with identical air-speeds, calculate the speed of the wind.
An airport taxi firm charges a pick-up fee, plus an additional per-mile fee for any rides taken. If a 12-mile journey costs $14.29 and a 17-mile journey costs $19.91, calculate:
- the pick-up fee
- the per-mile rate
- the cost of a seven mile trip
- Calls from a call-box are charged per minute at one rate for the first five minutes, then a different rate for each additional minute. If a 7-minute call costs $4.25 and a 12-minute call costs $5.50, find each rate.
- A plumber and a builder were employed to fit a new bath, each working a different number of hours. The plumber earns $35 per hour, and the builder earns $28 per hour. Together they were paid $330.75, but the plumber earned $106.75 more than the builder. How many hours did each work?
- Paul has a part time job selling computers at a local electronics store. He earns a fixed hourly wage, but can earn a bonus by selling warranties for the computers he sells. He works 20 hours per week. In his first week, he sold eight warranties and earned $220. In his second week, he managed to sell 13 warranties and earned $280. What is Paul’s hourly rate, and how much extra does he get for selling each warranty?