Skip to content
Graphing with Intercepts

Graphing with Intercepts

By the end of this section, you will be able to: identify the intercepts on a graph, find the intercepts from an equation of a line, graph a line using the intercepts, and choose the most convenient method to graph a line.

Identify the intercepts on a graph

Every linear equation has a unique line that represents all the solutions of the equation. When graphing a line by plotting points, each person who graphs the line can choose any three points, so two people graphing the line might use different sets of points.

At first glance, their two lines might appear different since they would have different points labeled. But if all the work was done correctly, the lines will be exactly the same line. One way to recognize that they are indeed the same line is to focus on where the line crosses the axes. Each of these points is called an intercept of the line.

Intercepts of a line. Each of the points at which a line crosses the xx-axis and the yy-axis is called an intercept of the line.

Let’s look at the graphs of four lines and see where each one crosses the axes.

a) 2x + y = 6xy(0, 6)(3, 0)
b) 3x − 4y = 12xy(4, 0)(0, −3)
c) x − y = 5xy(5, 0)(0, −5)
d) y = −2xxy(0, 0)

First, notice where each of these lines crosses the xx-axis:

LineCrosses the xx-axis atOrdered pair of this point
a33(3,0)(3, 0)
b44(4,0)(4, 0)
c55(5,0)(5, 0)
d00(0,0)(0, 0)

Do you see a pattern? For each row, the yy-coordinate of the point where the line crosses the xx-axis is zero. The point where the line crosses the xx-axis has the form (a,0)(a, 0) and is called the xx-intercept of the line. The xx-intercept occurs when yy is zero.

Now let’s look at the points where these lines cross the yy-axis:

LineCrosses the yy-axis atOrdered pair of this point
a66(0,6)(0, 6)
b3-3(0,3)(0, -3)
c5-5(0,5)(0, -5)
d00(0,0)(0, 0)
xx-intercept and yy-intercept of a line. The xx-intercept is the point (a,0)(a, 0) where the graph crosses the xx-axis. The xx-intercept occurs when yy is zero. The yy-intercept is the point (0,b)(0, b) where the graph crosses the yy-axis. The yy-intercept occurs when xx is zero.

Example. Find the xx- and yy-intercepts of each line.

a) x + 2y = 4xy(4, 0)(0, 2)
b) 3x − y = 6xy(2, 0)(0, −6)
c) x + y = −5xy(−5, 0)(0, −5)

(a) The graph crosses the xx-axis at the point (4,0)(4, 0), so the xx-intercept is (4,0)(4, 0). The graph crosses the yy-axis at the point (0,2)(0, 2), so the yy-intercept is (0,2)(0, 2).

(b) The graph crosses the xx-axis at the point (2,0)(2, 0), so the xx-intercept is (2,0)(2, 0). The graph crosses the yy-axis at the point (0,6)(0, -6), so the yy-intercept is (0,6)(0, -6).

(c) The graph crosses the xx-axis at the point (5,0)(-5, 0), so the xx-intercept is (5,0)(-5, 0). The graph crosses the yy-axis at the point (0,5)(0, -5), so the yy-intercept is (0,5)(0, -5).

Find the xx-intercept of the graph of xy=2x - y = 2.

Find the yy-intercept of the graph of xy=2x - y = 2.

Find the xx-intercept of the graph of 2x+3y=62x + 3y = 6.

Find the intercepts from an equation of a line

Recognizing that the xx-intercept occurs when yy is zero and that the yy-intercept occurs when xx is zero gives us a method to find the intercepts of a line from its equation. To find the xx-intercept, let y=0y = 0 and solve for xx. To find the yy-intercept, let x=0x = 0 and solve for yy.

Find the xx- and yy-intercepts from the equation of a line. Use the equation to find:

  • the xx-intercept of the line, let y=0y = 0 and solve for xx.
  • the yy-intercept of the line, let x=0x = 0 and solve for yy.

Example. Find the intercepts of 2x+y=62x + y = 6.

To find the xx-intercept, let y=0y = 0:

2x+y=62x+0=62x=6x=3 \begin{aligned} 2x + y &= 6 \\ 2x + 0 &= 6 \\ 2x &= 6 \\ x &= 3 \end{aligned}

The xx-intercept is (3,0)(3, 0).

To find the yy-intercept, let x=0x = 0:

2x+y=62(0)+y=60+y=6y=6 \begin{aligned} 2x + y &= 6 \\ 2(0) + y &= 6 \\ 0 + y &= 6 \\ y &= 6 \end{aligned}

The yy-intercept is (0,6)(0, 6).

The intercepts are the points (3,0)(3, 0) and (0,6)(0, 6).

Find the intercepts of the line: 3x+y=123x + y = 12. Give the xx-intercept as an ordered pair.

Find the intercepts of the line: 3x+y=123x + y = 12. Give the yy-intercept as an ordered pair.

Find the intercepts of the line: x+4y=8x + 4y = 8. Give the xx-intercept as an ordered pair.

Example. Find the intercepts of 4x3y=124x - 3y = 12.

To find the xx-intercept, let y=0y = 0:

4x3y=124x3(0)=124x0=124x=12x=3 \begin{aligned} 4x - 3y &= 12 \\ 4x - 3(0) &= 12 \\ 4x - 0 &= 12 \\ 4x &= 12 \\ x &= 3 \end{aligned}

The xx-intercept is (3,0)(3, 0).

To find the yy-intercept, let x=0x = 0:

4x3y=124(0)3y=1203y=123y=12y=4 \begin{aligned} 4x - 3y &= 12 \\ 4(0) - 3y &= 12 \\ 0 - 3y &= 12 \\ -3y &= 12 \\ y &= -4 \end{aligned}

The yy-intercept is (0,4)(0, -4).

The intercepts are the points (3,0)(3, 0) and (0,4)(0, -4).

Find the intercepts of the line: 3x4y=123x - 4y = 12. Give the xx-intercept as an ordered pair.

Find the intercepts of the line: 3x4y=123x - 4y = 12. Give the yy-intercept as an ordered pair.

Find the intercepts of the line: 2x4y=82x - 4y = 8. Give the xx-intercept as an ordered pair.

Graph a line using the intercepts

To graph a linear equation by plotting points, you can use the intercepts as two of your three points. Find the two intercepts, and then a third point to ensure accuracy, and draw the line. This method is often the quickest way to graph a line.

Graph a line using the intercepts.

  1. Find the xx- and yy-intercepts of the line.
    • Let y=0y = 0 and solve for xx.
    • Let x=0x = 0 and solve for yy.
  2. Find a third solution to the equation.
  3. Plot the three points and then check that they line up.
  4. Draw the line.

Example. Graph x+2y=6-x + 2y = 6 using intercepts.

First, find the xx-intercept. Let y=0y = 0:

x+2y=6x+2(0)=6x=6x=6 \begin{aligned} -x + 2y &= 6 \\ -x + 2(0) &= 6 \\ -x &= 6 \\ x &= -6 \end{aligned}

The xx-intercept is (6,0)(-6, 0).

Now find the yy-intercept. Let x=0x = 0:

x+2y=60+2y=62y=6y=3 \begin{aligned} -x + 2y &= 6 \\ -0 + 2y &= 6 \\ 2y &= 6 \\ y &= 3 \end{aligned}

The yy-intercept is (0,3)(0, 3).

Find a third point. We’ll use x=2x = 2:

x+2y=62+2y=62y=8y=4 \begin{aligned} -x + 2y &= 6 \\ -2 + 2y &= 6 \\ 2y &= 8 \\ y &= 4 \end{aligned}

A third solution to the equation is (2,4)(2, 4).

Summarize the three points in a table:

x+2y=6-x + 2y = 6
xxyy(x,y)(x, y)
6-600(6,0)(-6, 0)
0033(0,3)(0, 3)
2244(2,4)(2, 4)

Plot the three points, check that they line up, and draw the line:

xy(−6, 0)(0, 3)(2, 4)

Graph the line x2y=4x - 2y = 4 using its intercepts.

Example. Graph 4x3y=124x - 3y = 12 using intercepts.

Find the intercepts and a third point.

To find the xx-intercept, let y=0y = 0: 4x3(0)=124x - 3(0) = 12, so 4x=124x = 12 and x=3x = 3. The xx-intercept is (3,0)(3, 0).

To find the yy-intercept, let x=0x = 0: 4(0)3y=124(0) - 3y = 12, so 3y=12-3y = 12 and y=4y = -4. The yy-intercept is (0,4)(0, -4).

For a third point, let y=4y = 4: 4x3(4)=124x - 3(4) = 12, so 4x12=124x - 12 = 12, 4x=244x = 24, and x=6x = 6. A third solution is (6,4)(6, 4).

4x3y=124x - 3y = 12
xxyy(x,y)(x, y)
3300(3,0)(3, 0)
004-4(0,4)(0, -4)
6644(6,4)(6, 4)
xy(3, 0)(0, −4)(6, 4)

Graph the line using the intercepts: 5x2y=105x - 2y = 10. What is the xx-intercept?

Graph the line using the intercepts: 5x2y=105x - 2y = 10. What is the yy-intercept?

Which graph shows the line 5x2y=105x - 2y = 10, whose xx-intercept is (2,0)(2, 0) and yy-intercept is (0,5)(0, -5)?

Example. Graph y=5xy = 5x using the intercepts.

To find the xx-intercept, let y=0y = 0: 0=5x0 = 5x, so x=0x = 0. The xx-intercept is (0,0)(0, 0).

To find the yy-intercept, let x=0x = 0: y=5(0)y = 5(0), so y=0y = 0. The yy-intercept is (0,0)(0, 0).

This line has only one intercept! It is the point (0,0)(0, 0) — the origin.

To ensure accuracy, we still need to plot three points. Since the xx-intercept and yy-intercept are the same point, we need two more points to graph the line. As always, we can choose any values for xx, so let’s use x=1x = 1 and x=1x = -1:

y=5(1)=5y=5(1)=5y = 5(1) = 5 \qquad\qquad y = 5(-1) = -5
y=5xy = 5x
xxyy(x,y)(x, y)
0000(0,0)(0, 0)
1155(1,5)(1, 5)
1-15-5(1,5)(-1, -5)

Plot the three points, check that they line up, and draw the line:

xy(0, 0)(1, 5)(−1, −5)

Graph using the intercepts: y=4xy = 4x. What is the xx-intercept?

Graph using the intercepts: y=4xy = 4x. Give a second point on the line, using x=1x = 1.

Choose the most convenient method to graph a line

While we could graph any linear equation by plotting points, it may not always be the most convenient method. This table shows six equations we’ve graphed in this chapter, and the methods we used to graph them.

EquationMethod
y=2x+1y = 2x + 1Plotting points
y=12x+3y = \tfrac{1}{2}x + 3Plotting points
x=7x = -7Vertical line
y=4y = 4Horizontal line
2x+y=62x + y = 6Intercepts
4x3y=124x - 3y = 12Intercepts

What is it about the form of an equation that can help us choose the most convenient method to graph its line?

Notice that in the first two equations, yy is isolated on one side of the equation, and its coefficient is 11. We found points by substituting values for xx on the right side of the equation and then simplifying to get the corresponding yy-values.

The next two equations each have just one variable. Remember, in this kind of equation the value of that one variable is constant; it does not depend on the value of the other variable. Equations of this form have graphs that are vertical or horizontal lines.

In the last two equations, both xx and yy are on the same side of the equation. These two equations are of the form Ax+By=CAx + By = C. We substituted y=0y = 0 and x=0x = 0 to find the xx- and yy-intercepts, and then found a third point by choosing a value for xx or yy.

This leads to the following strategy for choosing the most convenient method to graph a line.

Choose the most convenient method to graph a line.

  1. If the equation has only one variable, it is a vertical or horizontal line.
    • x=ax = a is a vertical line passing through the xx-axis at aa.
    • y=by = b is a horizontal line passing through the yy-axis at bb.
  2. If yy is isolated on one side of the equation, graph by plotting points. Choose any three values for xx and then solve for the corresponding yy-values.
  3. If the equation is of the form Ax+By=CAx + By = C, find the intercepts. Find the xx- and yy-intercepts and then a third point.

Example. Identify the most convenient method to graph each line: (a) y=3y = -3 (b) 4x6y=124x - 6y = 12 (c) x=2x = 2 (d) y=25x1y = \tfrac{2}{5}x - 1.

(a) y=3y = -3 has only one variable, yy. Its graph is a horizontal line crossing the yy-axis at 3-3.

(b) 4x6y=124x - 6y = 12 is of the form Ax+By=CAx + By = C. Find the intercepts and one more point.

(c) x=2x = 2 has only one variable, xx. The graph is a vertical line crossing the xx-axis at 22.

(d) y=25x1y = \tfrac{2}{5}x - 1 has yy isolated on the left side of the equation, so it will be easiest to graph this line by plotting three points.

The line 3x+2y=123x + 2y = 12 is of the form Ax+By=CAx + By = C, so the most convenient method is to find its intercepts. What is its xx-intercept?

The equation x=7x = -7 has only one variable, so its graph is a vertical line. At what xx-value does that vertical line cross the xx-axis?

For y=34x+1y = -\tfrac{3}{4}x + 1, yy is already isolated, so the most convenient method is plotting points. Using x=4x = 4, what is the corresponding yy-value?

Key terms

intercept of a line — a point where a line crosses an axis. xx-intercept — the point (a,0)(a, 0) where a line crosses the xx-axis; it occurs when yy is zero. yy-intercept — the point (0,b)(0, b) where a line crosses the yy-axis; it occurs when xx is zero.


This section is adapted from Prealgebra 2e, Section 11.3: Graphing with Intercepts by Lynn Marecek, MaryAnne Anthony-Smith, and Andrea Honeycutt Mathis, © OpenStax, licensed under CC BY-NC-SA 4.0. Access the original for free at openstax.org. Changes: recreated the labeled coordinate-grid figures as accessible inline graphics and the intercept summaries as tables; omitted the Be Prepared quiz, Self Check checklist, Manipulative Mathematics and media links, and end-of-section exercises; converted the practice problems (“Try Its”) into interactive exercises with instant feedback, including a graph-it-yourself exercise and a match-the-graph multiple-choice question.