6 min read · Math Help
Three Methods Can Solve Two Equations With Two Unknowns
-
You can solve a system of equations by graphing, substitution or elimination. Each method finds the pair of numbers that makes both equations true at the same time.
-
The equations themselves tell you which method to pick. If one letter is already alone, substitute. If the letters line up in matching columns, eliminate.
-
Graphing shows you the picture, and algebra gives you the exact answer. A sketch is the best way to see why a system has one answer, none or endlessly many.
-
Checking your answer in both original equations tells you for certain whether you are done. It is a short step that catches sign slips and arithmetic errors.
It is Sunday night at the kitchen table, and the homework sheet asks you to solve two equations that share the same two letters. Your student is stuck, and you remember the words from school but not the steps.
This article shows how to solve systems of equations with the three standard methods, works each one through an example, and gives you a quick way to choose between them. It also shows how to spot a system that has no answer at all.
What Are the Three Ways to Solve a System of Equations?
The Short Answer
The three ways to solve a system of equations are graphing, substitution and elimination. Graphing draws both equations as lines and reads the point where they cross. Substitution solves one equation for a letter and places that expression into the other equation. Elimination adds the equations so one letter cancels. All three find the same solution.
Graphing: Read Where the Lines Cross
A system is two equations that must both be true at once, and a solution is the pair of numbers that makes both work. Graphing treats each equation as a line. Wherever the lines cross, both equations hold.
Take y = x + 1 and y = -x + 5. The first line rises one step for every step to the right. The second falls one step for every step to the right. They meet at the point (2, 3). Check it: 3 = 2 + 1, and 3 = -2 + 5. Both are true.
According to OpenStax, the open textbook project, intersecting lines give one solution, parallel lines give no solution, and two equations that draw the same line give infinitely many. You can tell which case you have without graphing by comparing slopes and y-intercepts (the height where a line crosses the vertical axis). Different slopes mean one crossing. The same slope with different intercepts means parallel lines. The same slope and the same intercept mean one line drawn twice. Writing both equations as y = mx + b makes that comparison quick.
Substitution: Replace One Letter
Substitution turns two equations into one. Say the system is y = 2x + 1 and 3x + y = 11. The first equation already says what y equals, so you put 2x + 1 in place of y in the second equation.
OpenStax lists the steps in this order:
-
Solve one equation for either letter.
-
Put that expression into the other equation.
-
Solve the resulting equation, which now has one letter.
-
Put the answer back into an original equation to find the other letter.
-
Write the pair of numbers and check it in both original equations.
Here that gives 3x + (2x + 1) = 11, so 5x + 1 = 11, so 5x = 10 and x = 2. Then y = 2(2) + 1 = 5. The solution is x = 2 and y = 5, and the second equation confirms it: 3(2) + 5 = 11.
Elimination: Cancel One Letter
Elimination suits systems where the letters already line up in columns, such as 3x + 2y = 16 and x – y = 2. The goal is to make the numbers in front of one letter opposites, so adding the equations removes that letter. Multiply the second equation by 2 to get 2x – 2y = 4. Now the y terms are 2y and -2y.
Add the equations and you get 5x = 20, so x = 4. Put 4 into x – y = 2 and y = 2. Check the first equation: 3(4) + 2(2) = 16. Dana Mosely works through substitution and elimination on video in the Cool Math Guy Algebra 1 course, so a learner can watch each step happen before trying their own.
Elimination also exposes the special cases. The University of Nebraska PreCalculus text explains that if the letters cancel and leave a false statement such as 0 = -10, the system has no solution. If they cancel and leave a true statement such as 6 = 6, every point on the line works, and the system has infinitely many solutions.
How Do You Pick the Right Method Every Time?
Matching the Method to the System
Knowing how to solve systems of equations in three ways only helps if you can pick one fast, so start by looking at how the equations are written. Krista King Math notes that substitution is a natural choice when one variable is already isolated, and that graphing may show only an approximate point. The University of Nebraska text adds that substitution is particularly useful when a letter has a coefficient of 1 (a plain 1 in front of it), and that elimination is usually best when no letter does.
Use this short list to decide:
-
If one letter is already alone, substitute.
-
If both equations look like 3x + 2y = 16 and no letter stands alone, eliminate.
-
If you want to see why the answer is what it is, graph both lines.
When two methods both fit, pick the one with the fewest fractions. OpenStax Contemporary Mathematics points out that substitution works well when one equation is easy to solve for a letter without producing many fractions.
Graphing shows you why a system has the answer it does, and the algebra methods hand you the exact numbers.
Putting a Word Problem Into Two Equations
Word problems are a natural home for systems. Say a player makes 10 shots in a game, some worth 2 points and some worth 3, for 24 points in all. Let t stand for the two-point shots and h for the three-point shots.
Two facts give two equations: t + h = 10 for the count and 2t + 3h = 24 for the points. Multiply the first equation by 2 to get 2t + 2h = 20, then subtract it from the second. That leaves h = 4, so t = 6. Six two-point shots make 12 points, four three-point shots make 12 more, and the total is 24.
A frequent slip is forgetting to multiply every term, including the number on the right side, or losing a minus sign when subtracting. Before you call any answer final, ask these questions:
-
Does your pair make the first original equation true?
-
Does it make the second one true as well?
-
Does your answer give a value for each of the two letters?
-
Does the answer make sense in the story, such as a whole number of shots?
When This Advice Doesn’t Apply
These three methods are for systems of straight-line equations with two unknowns. Equations with squared terms, or systems with three unknowns, use the same ideas in more steps, and they belong to a later topic. Graphing by hand also stops being useful when the crossing point falls between the grid marks, because a sketch can only estimate it.
If a learner can follow the steps only when someone shows them, spend more time on why each move keeps both equations true. The math study skills course covers how to practice so the method sticks, the homeschool Algebra 1 course suits families teaching at home, and the full course list shows where each topic sits.
Back at the kitchen table, the homework sheet now looks like a choice between three tools. Look at how the equations are written, pick the method that fits, and check the answer in both.
See Each Method on Video
If you would like to watch these methods worked step by step at your own pace, the Algebra 1 course walks through them
External References
-
National Council of Teachers of Mathematics, the professional organization for math teachers
-
American Mathematical Society, a professional society for mathematics research and education





