Allday Education

Solving Systems of Equations by Graphing

A system of equations asks for the point that satisfies both equations at once. Graphed, that is exactly where the two lines cross.

Graphing makes the solution visible and also shows the special cases: parallel lines never cross (no solution), and identical lines overlap everywhere (infinitely many).

The intersection is the solution

Graph both lines on the same axes. The coordinates of their crossing point satisfy both equations, so that point is the solution.

Check it by substituting back into both equations — a correct solution makes both true. Graphing is quickest when the intersection lands on clean integer coordinates.

The two lines below cross at a single point (2,2)(2, 2); because that point lies on both lines, its coordinates are the one solution that satisfies both equations.

-4-3-2-11234-4-3-2-11234xy
(2,2)(2, 2)

How many solutions?

Two lines that cross once give exactly one solution. Parallel lines (same slope, different intercept) never meet, so there is no solution.

If the two equations describe the same line, they overlap at every point — infinitely many solutions. Comparing slopes and intercepts predicts which case you are in.

Worked examples

Example 1: reading the intersection

Lines y=x+1y = x + 1 and y=x+5y = -x + 5 cross where?

Set them equalx+1=x+5x + 1 = -x + 5
Solve for x2x=4x=22x = 4 \Rightarrow x = 2
Find yy=2+1=3y = 2 + 1 = 3

Answer: (2,3)(2, 3)

Example 2: no solution

How many solutions does y=2x+1y = 2x + 1, y=2x4y = 2x - 4 have?

Same slope, different interceptparallel\text{parallel}
Parallel lines never meetno solution\text{no solution}

Answer: No solution

Example 3: infinitely many solutions

How many solutions does y=3x2y = 3x - 2, 2y=6x42y = 6x - 4 have?

Divide the second equation by 2y=3x2y = 3x - 2
Same slope and same interceptone line\text{one line}
The graphs overlap at every pointinfinitely many\text{infinitely many}

Answer: Infinitely many solutions

Try one yourself

Common questions

What does the intersection point represent?

The one (x, y) pair that satisfies both equations simultaneously — the system's solution.

When is there no solution?

When the lines are parallel: same slope, different yy-intercepts. They never cross, so no point works for both.

What does 'infinitely many solutions' mean?

The two equations are really the same line. Every point on it satisfies both, so there are infinitely many solutions.

Want the video version?

Allday Everyday Math has video lessons, practice, and an AI tutor for every topic, Pre-Algebra through Algebra 2.

Try it for $1