Free Algebra Guide

Systems of Linear Equations

Learn how to solve systems of equations using substitution, elimination, and graphing, understand what the solution means, and choose the best method for each system.

A system of linear equations contains two or more equations involving the same variables. Solving the system means finding values that make all of the equations true at the same time. For a system of two linear equations in x and y, the solution is usually written as an ordered pair (x, y).

Two Equations Working Together

What Is a System of Linear Equations?

A system is a group of equations that must be considered together. A common Algebra 1 system has two linear equations and two variables.

{
y = 2x + 1 x + y = 7

The goal is not to solve each equation independently. Instead, you are looking for a single pair of values for x and y that works in both equations.

Think of a system as asking: “Where are both equations true at the same time?”

One Ordered Pair, Two True Equations

What Does the Solution of a System Mean?

Suppose the solution to a system is (2, 5). That means x = 2 and y = 5 make both original equations true.

Equation 1
y = 2x + 1

Substitute x = 2 and y = 5: 5 = 2(2) + 1, which is true.

Equation 2
x + y = 7

Substitute x = 2 and y = 5: 2 + 5 = 7, which is also true.

Why the Ordered Pair Matters

The solution is written (x, y), so the x-value comes first and the y-value comes second.

Three Possible Outcomes

One Solution, No Solution, or Infinitely Many Solutions

Two linear equations do not always intersect exactly once. A system can have one solution, no solution, or infinitely many solutions.

One Solution

The lines have different slopes and intersect at exactly one point.

No Solution

The lines have the same slope but different y-intercepts, so they are parallel.

Infinitely Many

Both equations represent the same line, so every point on one line is also on the other.

Type Graph Algebra Clue Solution
Intersecting Lines cross once Different slopes One ordered pair
Parallel Lines never meet Same slope, different intercept No solution
Same line Lines completely overlap Equivalent equations Infinitely many solutions

Replace One Variable

Solving Systems by Substitution

Substitution is especially useful when one equation already has x or y isolated. You replace that variable in the other equation with its equivalent expression.

{
y = 2x + 3 3x + y = 13
1. Find the isolated variable
The first equation already tells us that y = 2x + 3.
2. Substitute
Replace y in the second equation: 3x + (2x + 3) = 13.
3. Solve
5x + 3 = 13 → 5x = 10 → x = 2.
4. Substitute back
y = 2(2) + 3 = 7.
5. Write the solution
The solution is (2, 7).

When Is Substitution Usually Best?

Look for an equation such as y = 3x − 4 or x = 2y + 5. An already-isolated variable makes substitution especially efficient.

Make One Variable Cancel

Solving Systems by Elimination

Elimination works by adding or subtracting equations so one variable disappears. Sometimes the coefficients are already opposites; other times you must multiply one or both equations first.

{
2x + 3y = 12 4x − 3y = 6
1. Choose a variable
The y-coefficients are +3 and −3, so y can be eliminated immediately.
2. Add the equations
(2x + 3y) + (4x − 3y) = 12 + 6, giving 6x = 18.
3. Solve
x = 3.
4. Substitute back
2(3) + 3y = 12 → 3y = 6 → y = 2.
5. Write the solution
The solution is (3, 2).

Sometimes You Must Multiply First

Consider:

2x + 3y = 12
x − y = 1

Multiply the second equation by 3 to get 3x − 3y = 3. Now the y-terms are opposites and disappear when the equations are added.

Find Where the Lines Cross

Solving Systems by Graphing

Graphing gives a visual interpretation of a system. Each linear equation produces a line, and any point shared by both lines satisfies both equations.

{
y = 2x + 1 x + y = 7
1. Rewrite if necessary
Convert the equations to slope-intercept form. The second becomes y = −x + 7.
2. Graph Line 1
For y = 2x + 1, start at the y-intercept (0, 1) and use slope 2.
3. Graph Line 2
For y = −x + 7, start at (0, 7) and use slope −1.
4. Find the intersection
The lines intersect at (2, 5).
5. Verify
Check that x = 2 and y = 5 satisfy both original equations.

What the Intersection Means

The intersection is not just where the pictures happen to cross. Its coordinates are the values of x and y that make both equations true simultaneously.

Work Smarter

How to Choose the Best Method

Substitution, elimination, and graphing all solve the same mathematical problem. The best method usually depends on how the equations are written.

Method Usually Best When... Main Idea Watch For
Substitution One variable is already isolated Replace a variable with an equivalent expression Parentheses and negative signs
Elimination Coefficients already match or can match easily Add or subtract equations to remove a variable Multiplying every term in an equation
Graphing The equations are easy to graph or a visual solution is useful Find the intersection of the two lines Accurate slope, intercepts, and coordinates
You do not have to use the same method every time. Choose the method that makes the particular system easiest.

See Each Method in Action

Worked Systems of Linear Equations Examples

Substitution

y = x + 4
2x + y = 10

  1. Substitute x + 4 for y.
  2. 2x + (x + 4) = 10.
  3. 3x = 6, so x = 2.
  4. y = 2 + 4 = 6.
  5. Solution: (2, 6).
Elimination

x + 2y = 8
−x + y = 1

  1. Add the equations.
  2. 3y = 9.
  3. y = 3.
  4. x + 2(3) = 8, so x = 2.
  5. Solution: (2, 3).
Graphing

y = 2x + 1
y = −x + 7

  1. Graph y = 2x + 1.
  2. Graph y = −x + 7.
  3. The lines meet at (2, 5).
  4. Check the point in both equations.
  5. Solution: (2, 5).
No Solution

y = 2x + 3
y = 2x − 4

  1. Both lines have slope 2.
  2. The y-intercepts are different.
  3. The lines are parallel.
  4. They never intersect.
  5. The system has no solution.
Infinitely Many

x + y = 4
2x + 2y = 8

  1. Divide the second equation by 2.
  2. It becomes x + y = 4.
  3. The equations are equivalent.
  4. They graph as the same line.
  5. There are infinitely many solutions.
Multiply Then Eliminate

2x + 3y = 12
x − y = 1

  1. Multiply the second equation by 3.
  2. 3x − 3y = 3.
  3. Add to get 5x = 15.
  4. x = 3 and y = 2.
  5. Solution: (3, 2).

Watch for These Errors

Common Systems of Equations Mistakes

Reversing the Ordered Pair

If x = 3 and y = 2, the solution is (3, 2), not (2, 3).

Forgetting Parentheses During Substitution

If y = 2x + 3 is substituted into 4x − y = 5, write 4x − (2x + 3) = 5 so the negative sign applies to the entire expression.

Multiplying Only Part of an Equation

When preparing for elimination, a multiplier must apply to every term on both sides of the equation.

Adding When You Should Subtract

Check the coefficients you want to eliminate. Opposites cancel by addition; matching coefficients can cancel by subtraction.

Reading the Graph Inaccurately

The intersection represents an exact coordinate pair. Use the grid carefully, especially when the solution contains fractions.

Stopping After Finding One Variable

Solving for x alone does not finish a two-variable system. Substitute back to find y and write the ordered pair.

A Reliable Process

A Reliable Strategy for Solving Systems

1. Study the equations
Look for an isolated variable, convenient coefficients, or equations that are already easy to graph.
2. Choose a method
Use substitution, elimination, or graphing based on the structure of the system.
3. Solve carefully
Keep equations balanced, preserve signs, and show complete algebra steps.
4. Find both variables
Once one variable is known, use an original equation to determine the other.
5. Write the ordered pair
State the solution in the form (x, y).
6. Verify
Substitute the values into both original equations. Both equations must be true.
A solution belongs to the system only if it satisfies every equation in the system.

Practice Systems of Linear Equations

Work through systems one step at a time using substitution, elimination, or graphing. The interactive tool provides immediate feedback and keeps your previous work visible as you move through each solution.

Open the Systems of Equations Tool

Personalized Math Support

Need Help Making Sense of the Math?

If a concept still feels confusing, you do not have to work through it alone. Tell me what you are studying and where you are getting stuck, and I will help you determine the best next step.