Solving Systems of Equations by Graphing: Definition, Method and Examples

MathPublished

Solving Systems of Equations by Graphing

To solve a linear system by graphing, draw both equations accurately on the same coordinate plane and read their intersection. One intersection gives one solution, parallel distinct lines give no solution, and coincident lines give infinitely many solutions.

What does the intersection mean?

A point on a graphed line represents a pair of values that makes that specific equation true. When two lines intersect, the intersection point lies on both lines at the same time.


The coordinates of the intersection point satisfy both equations simultaneously.


Because this single coordinate pair works for both equations, it is the exact solution to the systems of equations.

Graph both equations accurately

To find the correct solution, you must graph both equations exactly. You can draw lines on a coordinate plane by plotting points, identifying the axis intercepts, or using the slope of a line and the yy-intercept.


Mastering graphing linear equations is essential. If a line is drawn with the wrong steepness or starts at the wrong intercept, the lines will intersect in the wrong place, leading to an incorrect answer.

Read an ordered-pair solution

Once both lines are drawn on the grid, identify the exact point where they cross. Read the xx-coordinate by looking straight down to the horizontal xx-axis, and read the yy-coordinate by looking directly across to the vertical yy-axis.

A coordinate plane showing two lines intersecting at the point 4 comma 2. Dashed lines connect the intersection point to 4 on the x-axis and 2 on the y-axis.

Write this final location as an ordered pair (x,y)(x, y). For the graph above, the correct solution is (4,2)(4, 2).

Recognise no solution and infinite solutions

Not all systems have exactly one solution. The total number of solutions depends entirely on how the lines interact on the graph.

  • One solution: The lines intersect at exactly one point, meaning the equations share one coordinate pair.
  • No solution: The lines are perfectly parallel. They have the same slope but different yy-intercepts, so they will never cross.
  • Infinitely many solutions: The equations describe the exact same line, known as coincident lines. Every point on the line solves both equations.

Parallel lines yield no solution, while coincident lines yield infinitely many solutions.

Three coordinate planes side by side. The first shows one intersection point, labeled One Solution. The second shows distinct parallel lines, labeled No Solution. The third shows one thick line representing both equations, labeled Infinite Solutions.

Check a graphical answer

Graphing by hand can be prone to small drawing errors, especially if a ruler shifts slightly. Always verify your solution algebraically to ensure it is accurate.


Substitute the xx- and yy-values from your intersection point back into both original equations. If the resulting statements are mathematically true for both equations, your graphical solution is perfectly correct.


Always substitute your graphical solution into both original equations to verify it.

Worked examples


Example 1: Solving a linear system with one solution


Question: Solve the system of equations by graphing y=2x−1y = 2x - 1 and y=−x+5y = -x + 5.


Method:

  1. Graph the first equation on a coordinate plane using its yy-intercept and slope.
  2. Graph the second equation accurately on the same grid.
  3. Identify the exact coordinate where the two lines cross.

Answer: The intersection is (2,3)(2, 3).


Check: Substitute x=2x = 2 and y=3y = 3 into both equations. Both 3=2(2)−13 = 2(2) - 1 and 3=−2+53 = -2 + 5 are true statements.

A coordinate grid displaying the lines y equals 2x minus 1 and y equals negative x plus 5. The lines intersect exactly at the integer coordinates 2 comma 3.


Example 2: Solving a linear system with parallel lines


Question: Solve the system of equations by graphing y=3x+2y = 3x + 2 and y=3x−4y = 3x - 4.


Method:

  1. Graph the first line using a slope of 33 and a yy-intercept of 22.
  2. Graph the second line using a slope of 33 and a yy-intercept of −4-4.
  3. Observe the geometric relationship between the lines.

Answer: The lines are completely parallel and never intersect, so there is no solution.


Check: Both equations have an identical slope of 33 but different yy-intercepts, confirming algebraically that they represent distinct parallel lines.


A coordinate grid displaying two parallel lines, y equals 3x plus 2 and y equals 3x minus 4. The lines have the exact same steepness and do not cross.


Example 3: Identifying a fractional intersection


Question: Solve the system of equations by graphing y=2x+1y = 2x + 1 and y=−x+2y = -x + 2.


Method:

  1. Graph the first line using its intercepts or slope.
  2. Graph the second line precisely.
  3. Locate the intersection point, observing that it does not fall on the integer grid lines.

Answer: The lines intersect at approximately (0.33,1.67)(0.33, 1.67). Since the exact mathematical coordinate is the fraction (13,53)(\dfrac{1}{3}, \dfrac{5}{3}), graphing only gives a strong visual estimate.


Check: When a graph yields a fractional intersection that is difficult to read, use an algebraic method such as the substitution method to find the precise solution.


A coordinate grid showing two lines, y equals 2x plus 1 and y equals negative x plus 2, intersecting in the open space between the integer grid lines.

Common mistakes

  • Not extending the lines far enough: Lines often intersect far from the origin. If you draw short line segments, they might appear parallel even when they are not. Always extend lines entirely across the coordinate grid.
  • Misreading the scale: Assuming every grid square is 11 unit when the axis is actually scaled by 22s or 55s will lead you to extract an incorrect coordinate.
  • Assuming no solution for coincident lines: When you graph the second equation and it falls directly on top of the first, the lines are not missing an intersection. They intersect everywhere, meaning there are infinitely many solutions.

A coordinate grid with two lines drawn only in the negative x area, making them appear parallel. Dashed extensions show that if the lines were drawn further across the grid, they would intersect at 4 comma 3.

Frequently asked questions

Can a system of equations have a fraction for a solution?

Yes. Lines intersect at fractional coordinates when the mathematical solution is not a whole number. While a graph gives a helpful visual estimate, you must use algebraic equation solving to calculate exact fractional solutions.


Can you solve non-linear systems by graphing?

Yes. You can graph systems containing curves, such as parabolas or circles. Because these shapes bend, a straight line and a parabola might intersect at zero, one, or even two distinct points.


How is graphing inequalities different from graphing equations?

When graphing an equation, the solution is the specific line itself. For an inequality, you graph the boundary line and shade an entire region. The overall solution to a system of inequalities is the overlapping shaded area, representing many possible valid coordinates.

Practice questions

Question

A coordinate plane showing a red line and a blue line intersecting in the first quadrant. Grid lines are marked with integers to allow reading the exact coordinates of the intersection point.

What is the solution to the system of equations shown in the graph?

  • (1,3)(1, 3)

  • (3,1)(3, 1)

  • (0,2)(0, 2)

  • (2.5,0)(2.5, 0)

Answer:

(1,3)(1, 3)

Question

A coordinate grid displaying two distinct lines that have the exact same upward slant, maintaining a constant distance apart across the entire graph.

The equations y=12x+1y = \dfrac{1}{2}x + 1 and y=12x−3y = \dfrac{1}{2}x - 3 are graphed above. How many solutions does this system have?

  • Zero

  • One

  • Two

  • Infinitely many

Answer:

Zero

Question

A student graphs the system of equations y=2x+4y = 2x + 4 and 2y=4x+82y = 4x + 8. What will the graph look like, and what does it mean?

  • The lines perfectly overlap, meaning there are infinitely many solutions.

  • The lines will be parallel, meaning there is no solution.

  • The lines will intersect at one point, meaning there is exactly one solution.

  • The lines will intersect at two points, meaning there are two solutions.

Answer:

The lines perfectly overlap, meaning there are infinitely many solutions.

Question

A student graphs two linear equations with different slopes, but only draws short segments that do not cross on the paper. What is the correct conclusion about the system?

  • The system has exactly one solution because lines with different slopes will eventually cross.

  • The system has no solution because the segments do not cross on the paper.

  • The system has infinitely many solutions because the lines can be extended forever.

  • The system cannot be solved graphically; an algebraic method is strictly required.

Answer:

The system has exactly one solution because lines with different slopes will eventually cross.

Question

A coordinate grid showing two intersecting lines. One line passes through 0 comma 4 and 2 comma 0. The other line passes through 0 comma negative 2 and 2 comma 0.

Which system of equations is represented by the graph below?

  • y=−2x+4y = -2x + 4, y=x−2y = x - 2

  • y=2x+4y = 2x + 4, y=−x−2y = -x - 2

  • y=−2x+4y = -2x + 4, y=−x−2y = -x - 2

  • y=2x−4y = 2x - 4, y=x+2y = x + 2

Answer:

y=−2x+4y = -2x + 4, y=x−2y = x - 2