Skip to content
Graph with Intercepts

Graph with Intercepts

By the end of this section, you will be able to: identify the xx- and yy-intercepts on a graph, find the xx- and yy-intercepts from an equation of a line, and graph a line using the intercepts.

Identify the xx- and yy-intercepts on a graph

Every linear equation can be represented by a unique line that shows all the solutions of the equation. We have seen that when graphing a line by plotting points, you can use any three solutions. This means that two people graphing the line might use different sets of three points.

At first glance, their two lines might not appear to be the same, since they would have different points labeled. But if all the work was done correctly, the lines should be exactly the same line. One way to recognize that they are indeed the same line is to look at where the line crosses the xx-axis and the yy-axis. These points are called the intercepts of the line.

Intercepts of a line. The points where a line crosses the xx-axis and the yy-axis are called the intercepts of a line.

Let’s look at the graphs of the lines in the figure below.

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

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

FigureThe line crosses the xx-axis atOrdered pair of this point
(a)33(3,0)(3, 0)
(b)44(4,0)(4, 0)
(c)55(5,0)(5, 0)
(d)00(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 a line. The xx-intercept occurs when yy is zero.

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

FigureThe line crosses the yy-axis atOrdered pair for this point
(a)66(0,6)(0, 6)
(b)3-3(0,3)(0, -3)
(c)5-5(0,5)(0, -5)
(d)00(0,0)(0, 0)

What is the pattern here? In each row, the xx-coordinate of the point where the line crosses the yy-axis is zero. The point where the line crosses the yy-axis has the form (0,b)(0, b) and is called the yy-intercept of the line. The yy-intercept occurs when xx is zero.

xx-intercept and yy-intercept of a line. The xx-intercept is the point (a,0)(a, 0) where the line crosses the xx-axis. The yy-intercept is the point (0,b)(0, b) where the line crosses the yy-axis.

  • The xx-intercept occurs when yy is zero.
  • The yy-intercept occurs when xx is zero.

Example. Find the xx- and yy-intercepts on each graph.

a)xy(4, 0)(0, 2)
b)xy(2, 0)(0, −6)
c)xy(−5, 0)(0, −5)

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

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

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

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

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

Find the xx- and yy-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 of the line. 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.

We will let y=0y = 0 to find the xx-intercept, and let x=0x = 0 to find the yy-intercept. We fill in a table, which reminds us of what we need to find.

2x+y=62x + y = 6
xxyy
00xx-intercept
00yy-intercept

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), as shown in the table below.

2x+y=62x + y = 6
xxyy
3300
0066

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

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

Find the intercepts of the line: x+4y=8x + 4y = 8. Give the x-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 x-intercept as an ordered pair.

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

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

Graph a line using the intercepts

To graph a linear equation by plotting points, you need to find three points whose coordinates are solutions to the equation. You can use the xx- and yy-intercepts as two of your three points. Find the intercepts, and then find a third point to ensure accuracy. Make sure the points line up — then draw the line. This method is often the quickest way to graph a line.

Graph a linear equation 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 check that they line up.
  4. Draw the line.

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

Step 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.

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).

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).

Step 2. Find another solution to the equation. 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 point is (2,4)(2, 4).

Step 3. Plot the three points. Check that the points line up.

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

Step 4. Draw the line.

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

Graph the line using the intercepts: x2y=4x - 2y = 4. What is the x-intercept?

Graph the line using the intercepts: x2y=4x - 2y = 4. What is the y-intercept?

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

Find the intercepts and a third point.

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).

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).

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 point is (6,4)(6, 4).

We list the points in the table below and show the graph.

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 x-intercept?

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

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

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

yy-intercept, let x=0x = 0: y=50y = 5 \cdot 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).

To ensure accuracy we need to plot three points. Since the xx- and yy-intercepts are the same point, we need two more points to graph the line.

Let x=1x = 1: y=5(1)=5y = 5(1) = 5. Let x=1x = -1: y=5(1)=5y = 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 x-intercept?

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

When an equation has both xx and yy on the same side, as in Ax+By=CAx + By = C, finding the intercepts is often the fastest way to graph the line — but it’s not the only method. If yy is already isolated, plotting points directly is usually quicker; if the equation has only one variable, its graph is a vertical or horizontal line. Choosing the intercept method makes the most sense when the equation is already written with both variables on one side, since setting x=0x = 0 or y=0y = 0 in turn makes the arithmetic simple.

Key terms

intercepts of a line — the points where a line crosses the xx-axis and the yy-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 Elementary Algebra 2e, Section 4.3: Graph 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, media links, and end-of-section exercises; and converted the practice problems (“Try Its”) into interactive exercises with instant feedback.