edubun
English
1 / 18

6 / 6 · Basic

Solving systems by graphing

The point (2, −1) makes both 3x − y = 7 and x − 2y = 4 true, so it is where their two lines cross.

Jump to the 10 practice questions

You will learn

  • Find it as the crossing point of two lines

Before this: Finding the equation of a line

1Explain

Two equations, one ordered pair

A system of linear equations is two or more equations considered together. A solution of a system of two equations is an ordered pair (x, y) that makes both equations true at the same time. To check a pair, substitute it into each equation. OpenStax uses the system 3x − y = 7 and x − 2y = 4 with the pair (2, −1): 3(2) − (−1) = 7 and 2 − 2(−1) = 4. So it works for both and is a solution. A pair that satisfies only one of the equations is not a solution of the system.

2Problem

(2, −1)

Is (2, −1) a solution of the system 3x − y = 7, x − 2y = 4?

Hint

Check both equations.

Solution

Answer: Yes

3(2) − (−1) = 7 and 2 − 2(−1) = 4. Both are true.

3Problem

(1, 4)

Is (1, 4) a solution of the system x + y = 5, 2x − y = 4?

Hint

Does it fit the second one?

Solution

Answer: No

1 + 4 = 5 is true, but 2(1) − 4 = −2, not 4. It satisfies only the first equation.

4Explain

A picture of the solution

Graphing turns this into a picture. Each equation has a line made of all its solutions. A point on both lines is a solution of both equations, so the solution of the system is the point where the lines intersect. To solve by graphing, write each equation in slope-intercept form, graph both lines on the same grid, and read the intersection. For the OpenStax system, 3x − y = 7 becomes y = 3x − 7 and x − 2y = 4 becomes y = (1/2)x − 2. Drawn together, they cross at (2, −1).

y = 3x − 7 and y = (1/2)x − 2 meet at (2, −1), the solution of the system.

5Explore

Move the two lines

Change the slopes and intercepts: different slopes cross once, equal slopes are parallel, and equal slopes with equal intercepts are the same line.

−6−6−4−4−2−2224466
solutionsone
(x, y)(2, −1)

6Problem

y = x + 2 and y = −x + 8

The lines y = x + 2 and y = −x + 8 meet at one point. What is its x-coordinate?

Hint

x + 2 = −x + 8.

Solution

Answer: 3

At the crossing both lines have the same y-value, so set the right sides equal: 1x + 2 = −1x + 8, so x = 3, and y = 5. The point is (3, 5).

7Problem

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

The lines y = 2x + 1 and y = −x + 7 meet at one point. What is its y-coordinate?

Hint

x = 2, then y.

Solution

Answer: 5

At the crossing both lines have the same y-value, so set the right sides equal: 2x + 1 = −1x + 7, so x = 2, and y = 5. The point is (2, 5).

8Problem

y = x − 3 and y = −2x + 3

The lines y = x − 3 and y = −2x + 3 meet at one point. What is its x-coordinate?

Hint

3x = 6.

Solution

Answer: 2

At the crossing both lines have the same y-value, so set the right sides equal: 1x − 3 = −2x + 3, so x = 2, and y = −1. The point is (2, −1).

9Problem

y = 4x − 5 and y = x + 4

The lines y = 4x − 5 and y = x + 4 meet at one point. What is its y-coordinate?

Hint

x = 3, then y.

Solution

Answer: 7

At the crossing both lines have the same y-value, so set the right sides equal: 4x − 5 = 1x + 4, so x = 3, and y = 7. The point is (3, 7).

10Problem

x + y = 5 and 2x − y = 1

Solve the system x + y = 5 and 2x − y = 1 by writing both in slope-intercept form. What is x?

Hint

y = −x + 5 and y = 2x − 1.

Solution

Answer: 2

The lines are y = −x + 5 and y = 2x − 1. At the crossing both lines have the same y-value, so set the right sides equal: −1x + 5 = 2x − 1, so x = 2, and y = 3. The point is (2, 3).

11Explain

One solution, none, or infinitely many

Two lines in a plane can meet in only three ways, and slopes tell you which before you draw. Lines with different slopes cross at exactly one point, so the system has one solution. Lines with the same slope and different y-intercepts are parallel and never cross, so there is no solution. Lines with the same slope and the same y-intercept are the same line, which OpenStax calls coincident lines, and every point on it is a solution, so there are infinitely many.

LinesSolutionsSystem
Intersecting (different slopes)oneconsistent, independent
Parallel (same slope, different intercepts)noneinconsistent, independent
Coincident (same slope and intercept)infinitely manyconsistent, dependent

12Problem

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

How many solutions does the system y = 2x + 1, y = 2x − 3 have?

Hint

Same slope, different intercepts.

Solution

Answer: None

Same slope 2, different intercepts: parallel lines, so the system is inconsistent.

13Problem

y = −x + 4 and 2x + 2y = 8

How many solutions does the system y = −x + 4, 2x + 2y = 8 have?

Hint

Solve the second for y.

Solution

Answer: Infinitely many

2x + 2y = 8 becomes y = −x + 4, the same line. The lines are coincident.

14Problem

Different slopes

Two lines have different slopes. What can you say about the system?

Hint

They must cross.

Solution

Answer: It has exactly one solution

Lines with different slopes always cross at exactly one point, whatever the intercepts.

15Explain

Where graphing falls short

Graphing has a limit. It shows the answer clearly when the intersection lands on grid points, but if the lines cross at (1/3, 5/7) you cannot read that from a drawing with any confidence. The graph lab below computes the intersection exactly, as a fraction, so you can see how far a reading by eye would be off. Substitution and elimination, in the systems course, find such answers with algebra alone. Graphing is still the best way to understand what a system means.

16Explore

Two phone plans again

Systems answer comparison questions. In the linear equations course, two made-up phone plans cost y = 2x + 20 and y = x + 32 dollars for x gigabytes. As a system, the lines meet at (12, 44): at 12 gigabytes both plans cost 44 dollars. To the left of that point the first line is lower, so the first plan is cheaper; to the right the second line is lower. The intersection is the break-even point, and the graph shows at a glance which option wins on each side of it.

Loading

Drag to turn. Scroll or pinch to zoom.

The OpenStax system as y = 3x − 7 and y = (1/2)x − 2. Drag a line up or down, or make the slopes equal to see parallel and coincident lines.

17Explain

Outside the window

Not seeing an intersection in the displayed window does not prove that there is no solution. The lines might meet beyond the visible region. Compare their slopes and intercepts before deciding whether they are parallel or coincident. If a crossing is visible, treat a coordinate read by eye as an estimate until substitution confirms that it satisfies both equations.

18

Summary

  • A solution of a system makes every equation true at once.
  • Graphed, it is the intersection point of the lines.
  • Different slopes: one solution. Parallel: none. Coincident: infinitely many.
  • Exact answers that are not on grid points need algebra: substitution or elimination.

Back to the courseGraphs of lines
Full text · The whole lesson as one text

Two equations, one ordered pair

A system of linear equations is two or more equations considered together. A solution of a system of two equations is an ordered pair (x, y) that makes both equations true at the same time. To check a pair, substitute it into each equation. OpenStax uses the system 3x − y = 7 and x − 2y = 4 with the pair (2, −1): 3(2) − (−1) = 7 and 2 − 2(−1) = 4. So it works for both and is a solution. A pair that satisfies only one of the equations is not a solution of the system.

Graphing turns this into a picture. Each equation has a line made of all its solutions. A point on both lines is a solution of both equations, so the solution of the system is the point where the lines intersect. To solve by graphing, write each equation in slope-intercept form, graph both lines on the same grid, and read the intersection. For the OpenStax system, 3x − y = 7 becomes y = 3x − 7 and x − 2y = 4 becomes y = (1/2)x − 2. Drawn together, they cross at (2, −1).

y = 3x − 7 and y = (1/2)x − 2 meet at (2, −1), the solution of the system.

One solution, none, or infinitely many

Two lines in a plane can meet in only three ways, and slopes tell you which before you draw. Lines with different slopes cross at exactly one point, so the system has one solution. Lines with the same slope and different y-intercepts are parallel and never cross, so there is no solution. Lines with the same slope and the same y-intercept are the same line, which OpenStax calls coincident lines, and every point on it is a solution, so there are infinitely many. The textbook names these cases too: a system with at least one solution is consistent, and one with none is inconsistent.

LinesSolutionsSystem
Intersecting (different slopes)oneconsistent, independent
Parallel (same slope, different intercepts)noneinconsistent, independent
Coincident (same slope and intercept)infinitely manyconsistent, dependent

Graphing has a limit. It shows the answer clearly when the intersection lands on grid points, but if the lines cross at (1/3, 5/7) you cannot read that from a drawing with any confidence. The graph lab below computes the intersection exactly, as a fraction, so you can see how far a reading by eye would be off. Substitution and elimination, in the systems course, find such answers with algebra alone. Graphing is still the best way to understand what a system means.

Systems answer comparison questions. In the linear equations course, two made-up phone plans cost y = 2x + 20 and y = x + 32 dollars for x gigabytes. As a system, the lines meet at (12, 44): at 12 gigabytes both plans cost 44 dollars. To the left of that point the first line is lower, so the first plan is cheaper; to the right the second line is lower. The intersection is the break-even point, and the graph shows at a glance which option wins on each side of it.

The OpenStax system as y = 3x − 7 and y = (1/2)x − 2. Drag a line up or down, or make the slopes equal to see parallel and coincident lines.

Not seeing an intersection in the displayed window does not prove that there is no solution. The lines might meet beyond the visible region. Compare their slopes and intercepts before deciding whether they are parallel or coincident. If a crossing is visible, treat a coordinate read by eye as an estimate until substitution confirms that it satisfies both equations.

Key points
  • A solution of a system makes every equation true at once.
  • Graphed, it is the intersection point of the lines.
  • Different slopes: one solution. Parallel: none. Coincident: infinitely many.
  • Exact answers that are not on grid points need algebra: substitution or elimination.

Practice questions from Solving systems by graphing on edubun

Embed this quiz

Free to embed. Please keep the credit line.

Sources for this course (6)
  • OpenStax, Elementary Algebra 2e , chapter 4 Graphs: 4.1 Use the Rectangular Coordinate System (quadrants numbered from the upper right, counterclockwise; ordered pairs: openstax.org/books/elementary-algebra-2e/pages/4-1-use-the-rectangular-coordinate-system)
  • 4.2 Graph Linear Equations in Two Variables, 4.3 Graph with Intercepts, 4.4 Understand Slope of a Line (m = rise/run, horizontal 0, vertical undefined, roof pitch, road grade as a percent, wheelchair ramp 1-inch rise per 12-inch run: .../pages/4-4-understand-slope-of-a-line)
  • 4.5 Use the Slope-Intercept Form (x + 2y = 6, F = 9/5 C + 32, parallel lines same slope, perpendicular slopes multiply to −1: .../pages/4-5-use-the-slope-intercept-form-of-an-equation-of-a-line)
  • 4.6 Find the Equation of a Line (point-slope form: .../pages/4-6-find-the-equation-of-a-line)
  • 5.1 Solve Systems of Equations by Graphing (3x − y = 7, x − 2y = 4 and (2, −1); consistent, inconsistent, independent, dependent, coincident lines: .../pages/5-1-solve-systems-of-equations-by-graphing)
  • MacTutor, University of St Andrews, René Descartes biography (La Géométrie, published at Leiden in 1637 as an appendix to the Discours de la méthode: mathshistory.st-andrews.ac.uk/Biographies/Descartes).

Checked: 2026-10-17