guide

How to Solve Systems of Equations: 3 Methods Explained

Learn substitution, elimination, and graphing methods for solving systems of equations. Includes 3-variable systems and word problems.

How to Solve Systems of Equations: Methods, Examples, and Tips

A system of equations is a set of two or more equations with the same variables. Solving the system means finding the values that satisfy all equations simultaneously. This guide covers every method you need, from basic substitution to three-variable systems and word problems.

For a broader algebra foundation, see our Algebra Guide.

When to Use Which Method

Before diving into the methods, here is a quick decision guide:

SituationBest Method
One variable is already isolated (e.g., y = 3x + 1)Substitution
Coefficients line up for easy cancellationElimination
You need a visual understanding or approximate answerGraphing
Three or more variablesElimination (systematic)
Multiple-choice test and you want to check fastPlug in answers or Math.Photos

Method 1: Substitution

Substitution works by solving one equation for one variable, then plugging that expression into the other equation.

Example 1

Solve the system:

y = 2x + 1

3x + y = 11

Since y is already isolated in the first equation, substitute into the second:

3x + (2x + 1) = 11

5x + 1 = 11

5x = 10

x = 2

Plug back in: y = 2(2) + 1 = 5

Solution: (2, 5)

Example 2

Solve the system:

2x + y = 7

x - y = 2

Solve the second equation for x: x = y + 2

Substitute into the first: 2(y + 2) + y = 7

2y + 4 + y = 7

3y = 3

y = 1, x = 3

Solution: (3, 1)

Got a system of equations on your homework? Screenshot it with Math.Photos and get the full worked solution with every step explained. Install free.

Method 2: Elimination

Elimination (also called the addition method) works by adding or subtracting the equations to cancel out one variable.

Example 3

Solve the system:

3x + 2y = 16

x - 2y = 0

The y terms are already opposites (2y and -2y). Add the equations:

(3x + 2y) + (x - 2y) = 16 + 0

4x = 16

x = 4

Substitute back: 4 - 2y = 0, so y = 2

Solution: (4, 2)

Example 4

Solve the system:

5x + 3y = 7

2x + y = 3

Multiply the second equation by -3 to set up y for cancellation:

5x + 3y = 7

-6x - 3y = -9

Add them:

-x = -2, so x = 2

Substitute: 2(2) + y = 3, so y = -1

Solution: (2, -1)

Tip: Elimination is usually faster than substitution when neither variable is conveniently isolated. Look for coefficients that are multiples of each other.

When elimination gets messy with fractions or large coefficients, do not grind it out by hand. Screenshot the problem with Math.Photos to see the cleanest solution path. Get the extension here.

Method 3: Graphing

Graphing means plotting both equations on a coordinate plane and finding where the lines intersect.

Example 5

Solve by graphing:

y = x + 1

y = -x + 5

Both are in slope-intercept form. The first line has slope 1, y-intercept 1. The second has slope -1, y-intercept 5.

Set them equal: x + 1 = -x + 5

2x = 4

x = 2, y = 3

Solution: (2, 3)

Graphing is great for building intuition. It shows you whether the system has one solution (lines cross), no solution (parallel lines), or infinitely many solutions (same line). However, it is imprecise when solutions involve fractions or decimals, so rely on algebraic methods for exact answers.

Special Cases

No solution (inconsistent system): The lines are parallel. Example: y = 2x + 1 and y = 2x + 4 have the same slope but different intercepts. There is no intersection point.

Infinitely many solutions (dependent system): The equations describe the same line. Example: y = 2x + 1 and 2y = 4x + 2. Every point on the line is a solution.

Solving 3-Variable Systems

For three variables, you need three equations. The strategy is to use elimination twice to reduce the system to two variables, then solve as usual.

Example 6

Solve:

x + y + z = 6 … (1)

2x - y + z = 3 … (2)

x + 2y - z = 5 … (3)

Step 1: Add equations (1) and (3) to eliminate z:

(x + y + z) + (x + 2y - z) = 6 + 5

2x + 3y = 11 … (A)

Step 2: Add equations (1) and (2) to eliminate y… actually, let us add (2) and (3) to eliminate z:

(2x - y + z) + (x + 2y - z) = 3 + 5

3x + y = 8 … (B)

Step 3: Solve the 2-variable system of (A) and (B):

From (B): y = 8 - 3x

Substitute into (A): 2x + 3(8 - 3x) = 11

2x + 24 - 9x = 11

-7x = -13

x = 13/7

This gets messy. Let us re-check. Add (1) and (2):

(x + y + z) + (2x - y + z) = 6 + 3

3x + 2z = 9 … (C)

From (3): z = x + 2y - 5. Let us try a cleaner approach. From (A): 2x + 3y = 11 and (B): 3x + y = 8.

From (B): y = 8 - 3x. Into (A): 2x + 3(8 - 3x) = 11 gives 2x + 24 - 9x = 11, so -7x = -13, x = 13/7.

Hmm, let us pick a cleaner system. Actually, substitute x = 13/7 into y = 8 - 3(13/7) = 8 - 39/7 = 17/7. Then z = 6 - 13/7 - 17/7 = 6 - 30/7 = 12/7.

Solution: x = 13/7, y = 17/7, z = 12/7

The arithmetic can be tedious, but the method always works: eliminate one variable at a time until you can solve directly.

Three-variable systems are where most students lose points to arithmetic errors. Use Math.Photos to check your work or see the solution method when you are stuck. Install free.

Word Problems

The hardest part of word problem systems is translating English into equations. Here is a framework:

  1. Define your variables clearly.
  2. Write one equation per relationship described in the problem.
  3. Solve using substitution or elimination.
  4. Check your answer against the original problem (not just the equations).

Example 7

A movie theater sold 200 tickets. Adult tickets cost $12 and child tickets cost $8. Total revenue was $2,000. How many of each type were sold?

Let a = adult tickets, c = child tickets.

Equation 1 (total tickets): a + c = 200

Equation 2 (total revenue): 12a + 8c = 2000

From equation 1: a = 200 - c

Substitute: 12(200 - c) + 8c = 2000

2400 - 12c + 8c = 2000

-4c = -400

c = 100, a = 100

Answer: 100 adult tickets and 100 child tickets.

Check: 100 + 100 = 200 tickets. 100(12) + 100(8) = 1200 + 800 = 2000. Correct.

Common Mistakes to Avoid

  • Forgetting to distribute when substituting an expression with multiple terms.
  • Sign errors when multiplying an entire equation by a negative number for elimination.
  • Declaring “no solution” too early when you simply made an arithmetic mistake. Always double-check.
  • Not checking your answer in both original equations. A solution that satisfies one equation but not the other means you made an error somewhere.

You can always verify your answers with a free math checker or by screenshotting your work with our math screenshot solver.

FAQ

Can a system of equations have more than one solution?

A system of linear equations in two variables has either zero solutions (parallel lines), exactly one solution (intersecting lines), or infinitely many solutions (same line). Nonlinear systems (involving x², sin, etc.) can have multiple distinct solutions.

What is the fastest method for solving systems of equations?

Elimination is typically the fastest for standard homework problems. Substitution is best when one variable is already isolated. For speed on tests, practice both and use whichever fits the structure of the given problem.

How do I solve systems of equations with fractions?

Multiply every term in each equation by the least common denominator to clear fractions first. Then proceed with substitution or elimination as usual. This single step prevents most arithmetic errors.

Do I need to know all three methods?

Yes. Different problems lend themselves to different methods, and many courses test all three. Graphing builds conceptual understanding, substitution handles problems where a variable is isolated, and elimination handles everything else efficiently.

Ready to try Math.Photos?

Get step-by-step solutions for any math problem. Free to start.

Install Free