Before you get started, take this readiness quiz.
Solving systems of linear equations by graphing is a good way to visualize the types of solutions that may result. However, there are many cases where solving a system by graphing is inconvenient or imprecise. If the graphs extend beyond the small grid with x and y both between −10 and 10, graphing the lines may be cumbersome. And if the solutions to the system are not integers, it can be hard to read their values precisely from a graph.
In this section, we will solve systems of linear equations by the substitution method.
We will use the same system we used first for graphing.
We will first solve one of the equations for either x or y. We can choose either equation and solve for either variable—but we’ll try to make a choice that will keep the work easy.
Then we substitute that expression into the other equation. The result is an equation with just one variable—and we know how to solve those!
After we find the value of one variable, we will substitute that value into one of the original equations and solve for the other variable. Finally, we check our solution and make sure it makes both equations true.
We’ll fill in all these steps now in Example \(\PageIndex\).
Solution
into one of the original quaitons to find the other variable.” Then, “We’ll use the first equation and replace x with 4.” Then it shows that 2x + y = 7 becomes 2(4) + y = 7. This becomes 8 + y = 7, and thus y = −1." />
Answer