How to solve systems of equations: substitution, elimination, and graphing
A solution to a system has to satisfy both equations at the same time. Substitution, elimination, and graphing give us three common ways to find that shared solution. Let’s choose a method from the way the equations are written and then check the result.
Choose a method from the equations
Substitution is a natural choice when one variable is already isolated. Elimination is useful when multiplying or combining the equations can cancel a variable. Graphing shows the solution as the intersection of the two lines.
Example: Solve by substitution
The first equation already gives in terms of . Substitute for in the second equation, then solve for .
Put into to get . The solution checks in both equations: and .
Example: Solve by elimination
Multiply the first equation by , then add the equations. The terms cancel.
Substitute that value into the first equation to find .
The solution is . We could also multiply the second equation by and add, which would cancel instead. The choice changes the arithmetic, not the solution.
Solve the same system by graphing
Write the two equations in slope-intercept form.
The first line starts at the -intercept and falls one unit for every three units to the right. The second starts at and rises two units for every unit to the right.
The graph shows an intersection near . Elimination gives the exact coordinates . Substituting them into both original equations gives in the first and in the second, which confirms the shared solution.
When two lines are parallel and distinct, the system has no solution. When they are the same line, every point on that line satisfies both equations, giving infinitely many solutions.