Using the substitution method
To solve a system of two variables using the substitution method, follow these steps:- Solve one or both equations for one of the variables.
- Substitute what one variable equals into the other equation.
- Solve the resulting equation for that one variable.
- Substitute the found value back into either original equation to solve for the second value.
Try this example:
y = 2x + 5
3x – 4y = 10
Because the first equation is already solved for y, you substitute what y equals into the second equation.
Now that you have a value for x, you can substitute it into either of the original equations.
So the solution to the system is (–6, –7). You can check this solution by substituting both values into both original equations.
Using the elimination method
To solve a system with two variables using the elimination method, follow these steps:- Rewrite both equations so their variables are in the same order.
- One pair of variables must have the same coefficients but with opposite signs. For example, if one equation has 2x, then the other equation needs to have –2x. If there isn't an existing pair of coefficients that meet this requirement, you must multiply or divide one or both equations.
- Add the equations together; the pair identified in Step 2 should cancel.
- Solve the produced equation for the remaining variable.
- Substitute the value obtained in Step 4 back into one of the original equations.
- Solve for the other variable.
Notice how the y's fit the requirement in Step 2. Add the two equations together.
Now that you have a value for x, you can substitute it back into either of the original equations.
The solution to the system is (3, –1/3).