Use the substitution method to find solution(s) to a system of two linear equations
Use the addition method to find solution(s) to a system of linear equations
Solving Systems of Equations by Substitution
Solving a linear system in two variables by graphing works well when the solution consists of integer values, but if our solution contains decimals or fractions, it is not the most precise method. We will consider two more methods of solving a system of linear equations that are more precise than graphing. One such method is solving a system of equations by the substitution method, in which we solve one of the equations for one variable and then substitute the result into the second equation to solve for the second variable. Recall that we can solve for only one variable at a time, which is the reason the substitution method is both valuable and practical.
How To: Given a system of two equations in two variables, solve using the substitution method.
Solve one of the two equations for one of the variables in terms of the other.
Substitute the expression for this variable into the second equation, then solve for the remaining variable.
Substitute that solution into either of the original equations to find the value of the first variable. If possible, write the solution as an ordered pair.
Check the solution in both equations.
Example: Solving a System of Equations in Two Variables by Substitution
Solve the following system of equations by substitution.
Now enter [latex]x-3=\frac{3}{2}x - 2[/latex] into Desmos. You will see that Desmos has provided you with [latex]x = -2[/latex].
You now can substitute [latex]x = -2[/latex] into both equations. If you get the same result for both, you have found an ordered pair solution. Give it a try.
Solution
[latex]\left(-2,-5\right)[/latex]
Q & A
Can the substitution method be used to solve any linear system in two variables?
Yes, but the method works best if one of the equations contains a coefficient of 1 or –1 so that we do not have to deal with fractions.
Solving Systems of Equations in Two Variables by the Addition Method
A third method of solving systems of linear equations is the addition method, this method is also called the elimination method. In this method, we add two terms with the same variable, but opposite coefficients, so that the sum is zero. Of course, not all systems are set up with the two terms of one variable having opposite coefficients. Often we must adjust one or both of the equations by multiplication so that one variable will be eliminated by addition.
How To: Given a system of equations, solve using the addition method.
Write both equations with x– and y-variables on the left side of the equal sign and constants on the right.
Write one equation above the other, lining up corresponding variables. If one of the variables in the top equation has the opposite coefficient of the same variable in the bottom equation, add the equations together, eliminating one variable. If not, use multiplication by a nonzero number so that one of the variables in the top equation has the opposite coefficient of the same variable in the bottom equation, then add the equations to eliminate the variable.
Solve the resulting equation for the remaining variable.
Substitute that value into one of the original equations and solve for the second variable.
Check the solution by substituting the values into the other equation.
Both equations are already set equal to a constant. Notice that the coefficient of [latex]x[/latex] in the second equation, –1, is the opposite of the coefficient of [latex]x[/latex] in the first equation, 1. We can add the two equations to eliminate [latex]x[/latex] without needing to multiply by a constant.
Then, we substitute this value for [latex]y[/latex] into one of the original equations and solve for [latex]x[/latex].
[latex]\begin{array}{l}\text{ }-x+y=3\hfill \\ \text{ }-x+\frac{2}{3}=3\hfill \\ \text{ }-x=3-\frac{2}{3}\hfill \\ \text{ }-x=\frac{7}{3}\hfill \\ \text{ }x=-\frac{7}{3}\hfill \end{array}[/latex]
The solution to this system is [latex]\left(-\frac{7}{3},\frac{2}{3}\right)[/latex].
We gain an important perspective on systems of equations by looking at the graphical representation. See the graph below to find that the equations intersect at the solution. We do not need to ask whether there may be a second solution because observing the graph confirms that the system has exactly one solution.
Example: Using the Addition Method When Multiplication of One Equation Is Required
Solve the given system of equations by the addition method.
[latex]\begin{array}{l}3x+5y=-11\hfill \\ \hfill \\ x - 2y=11\hfill \end{array}[/latex]
Solution
Adding these equations as presented will not eliminate a variable. However, we see that the first equation has [latex]3x[/latex] in it and the second equation has [latex]x[/latex]. So if we multiply the second equation by [latex]-3,\text{}[/latex] the x-terms will add to zero.
One equation has [latex]2x[/latex] and the other has [latex]5x[/latex]. The least common multiple is [latex]10x[/latex] so we will have to multiply both equations by a constant in order to eliminate one variable. Let’s eliminate [latex]x[/latex] by multiplying the first equation by [latex]-5[/latex] and the second equation by [latex]2[/latex].