Resources For Teachers For Tutors For Students & Parents AI New Pricing
Year 9 Maths Linear Relations

Graphing Straight Lines Using Intercepts

20 practice questions 1 video lesson Theory + worked examples
Practice 20 questions
Practice questions

Every question with a fully worked solution.

Start practising
Watch 1 video(s)
  • Graphing Straight Lines Using Intercepts - Video - Finding intercepts from an equation Watch
Create a free accountTrack your progress and save your work as you go.
Create free account

Theory

A linear equation such as \(y=-2x+3\) or \(3x-4y=12\) graphs as a straight line. Plot points from a table of values, or find where the line crosses the axes: the intercepts. It covers the equations of the axes, testing points by substitution, finding a missing coordinate or coefficient, and what intercepts mean in real problems.

A linear equation in \(x\) and \(y\) has no powers, products or roots of the variables. Its graph is a straight line, and every point on the line makes the equation true.

A table of values gives points to plot. For a line, equal steps in \(x\) give equal steps in \(y\). Plot at least three points: the third is a check.

The \(x\)-intercept is where the line crosses the \(x\)-axis, so \(y=0\) there. The \(y\)-intercept is where it crosses the \(y\)-axis, so \(x=0\). Two intercepts are enough to rule the line.

The line \(x=k\) is vertical and the line \(y=c\) is horizontal. The \(x\)-axis itself is \(y=0\) and the \(y\)-axis is \(x=0\).

A point lies on a line if its coordinates satisfy the equation: substitute and check that the left-hand side equals the right-hand side.

Vertical and horizontal linesThe vertical line x = -2 and the horizontal line y = 3 meet at the point (-2, 3). x y βˆ’5 βˆ’4 βˆ’3 βˆ’1 1 2 3 4 βˆ’3 βˆ’2 1 2 4 5 (βˆ’2, 3) x = βˆ’2 y = 3
Every point on \(x=-2\) has \(x\)-coordinate \(-2\), so the line is vertical. Every point on \(y=3\) has \(y=3\), so the line is horizontal. They meet at \((-2,3)\).
Intercepts of 2x + 3y = 6The line 2x + 3y = 6 crosses the x-axis at (3, 0) and the y-axis at (0, 2). x y βˆ’2 βˆ’1 1 2 4 5 βˆ’2 βˆ’1 1 3 4 0 (3, 0) (0, 2)
For \(2x+3y=6\): put \(y=0\) to get the \(x\)-intercept \(3\), and put \(x=0\) to get the \(y\)-intercept \(2\). Join the two points.
To findDo this
\(x\)-interceptput \(y=0\) and solve for \(x\)
\(y\)-interceptput \(x=0\) and solve for \(y\)
a point is on the linesubstitute; LHS must equal RHS
a missing coefficientsubstitute a known point and solve

Special lines:

\[x = k \ \ (\text{vertical}) \qquad y = c \ \ (\text{horizontal})\]
x=k,y=c
Intercepts that are not whole numbers. For \(y=2x-7\), put \(y=0\): \(2x=7\), so the \(x\)-intercept is \(\dfrac{7}{2}\). For \(y=\dfrac{x}{3}+2\), put \(y=0\): \(\dfrac{x}{3}=-2\), so \(x=-6\). Leave a fraction as a fraction; do not round it to a whole number.
Everything on one side. For \(x+2y-6=0\) the method is the same. Put \(y=0\): \(x-6=0\), so \(x=6\). Put \(x=0\): \(2y-6=0\), so \(y=3\).
Triangle with the axes. A line with intercepts \(a\) and \(b\) cuts off a right-angled triangle with the axes. Its area is \(\dfrac{1}{2}\times|a|\times|b|\).
Intercept form. \(\dfrac{x}{a}+\dfrac{y}{b}=1\) has \(x\)-intercept \(a\) and \(y\)-intercept \(b\). Multiplying through gives a form such as \(bx+ay=ab\).

How to graph a straight line

  1. Choose a method: a table of values for \(y = \ldots\), or the two intercepts for a form such as \(ax+by=c\).
  2. Calculate at least three points, or the two intercepts plus one check point.
  3. Plot the points on a number plane with labelled, evenly scaled axes.
  4. Rule a straight line through them, extended past the points, and label it with its equation.

Problems built on graphs of lines

  1. Is the point on the line? Substitute both coordinates (Example 2). One mismatch is enough to say no.
  2. Missing coordinate or coefficient: substitute the point and solve for the unknown (Example 3).
  3. Area with the axes: find both intercepts, then use half base times height with positive lengths (Example 1). If the area is given, work backwards to the unknown.
  4. Equation from intercepts: two intercepts give two points; find the gradient, then write the equation. Clear fractions to reach integer form \(ax+by=c\).
  5. Context: an intercept on the time axis is when the quantity reaches zero; the intercept on the other axis is the starting value (Example 4).
  6. Table with an unknown: for a straight line the \(y\)-values change in equal steps for equal steps in \(x\). Set two steps equal and solve.
Example 1 β€” Intercepts and the triangle they make
For the line \(3x-4y=12\):
(i) find the \(x\)- and \(y\)-intercepts
(ii) sketch the line
(iii) find the area of the triangle it makes with the axes.
Solution

(i) The equation is not in the form \(y=mx+c\), so substitute. Zero the other letter each time.

\(y=0:\quad 3x\)\(=\)\(12\)
\(x\)\(=\)\(4\)
\(x=0:\quad -4y\)\(=\)\(12\)
\(y\)\(=\)\(-3\)
3x−4y=12

(ii) Plot \((4,0)\) and \((0,-3)\) and rule a line through them.

Graph of 3x - 4y = 12The line 3x - 4y = 12 through (4, 0) and (0, -3). The triangle it makes with the axes is shaded. x y 6 O (4, 0) (0, βˆ’3)

(iii) The triangle has a right angle at the origin, a base of \(4\) and a height of \(3\). Lengths are positive, even though the intercept is \(-3\).

\(\text{area}\)\(=\)\(\dfrac{1}{2}\times 4\times 3\)
\(\)\(=\)\(\mathbf{6}\text{ square units}\)
Example 2 β€” Table of values and a point test

(i) Complete a table of values for \(y=-2x+3\) for \(x=-1,0,1,2,3\) and graph the line.
(ii) Does the point \((4,-6)\) lie on the line?
Solution

(i) Substitute each \(x\)-value.

\(x\)\(-1\)\(0\)\(1\)\(2\)\(3\)
\(y\)\(5\)\(3\)\(1\)\(-1\)\(-3\)

Each step of \(1\) in \(x\) changes \(y\) by \(-2\): equal steps mean a straight line.

Graph of y = -2x + 3The line y = -2x + 3 drawn through the plotted points from the table. The point (4, -6) in red is just below the line, which passes through (4, -5). x y O (βˆ’1, 5) (3, βˆ’3) (4, βˆ’6) (4, βˆ’5)

(ii) Substitute \(x=4\) and compare with \(y=-6\).

\(\text{RHS}\)\(=\)\(-2\times 4+3 = -5\)
\(\text{LHS}\)\(=\)\(-6\)
\(-6\)\(\ne\)\(-5\)
−2×4+3=−5

The two sides are not equal, so \((4,-6)\) is not on the line. The point on the line at \(x=4\) is \((4,-5)\).

Example 3 β€” A point gives a coefficient
The line \(ax-2y=10\) passes through \((4,-1)\).
(i) Find \(a\).
(ii) Find the intercepts of the line.
Solution

(i) The point is on the line, so its coordinates make the equation true.

\(a(4)-2(-1)\)\(=\)\(10\)
\(4a+2\)\(=\)\(10\)
\(4a\)\(=\)\(8\)
\(a\)\(=\)\(\mathbf{2}\)
4a+2=10

(ii) The line is \(2x-2y=10\).

\(y=0:\quad 2x\)\(=\)\(10,\ \ x = 5\)
\(x=0:\quad -2y\)\(=\)\(10,\ \ y = -5\)

The \(x\)-intercept is \(5\) and the \(y\)-intercept is \(-5\).

Graph of 2x - 2y = 10The line 2x - 2y = 10 passes through (4, -1), (5, 0) and (0, -5). x y O (4, βˆ’1) (5, 0) (0, βˆ’5)
Example 4 β€” Intercepts in a context
A car's tank holds \(52\) L of fuel. On a long drive it uses fuel at a steady \(6.5\) L per hour, so the fuel left after \(t\) hours is \(F = 52-6.5t\).
(i) What does the \(F\)-intercept mean?
(ii) Find the \(t\)-intercept and say what it means.
Solution

(i) At \(t=0\), \(F=52\). The \(F\)-intercept is the fuel in the tank at the start: a full \(52\) L.

(ii) The \(t\)-intercept is where \(F=0\).

\(0\)\(=\)\(52-6.5t\)
\(6.5t\)\(=\)\(52\)
\(t\)\(=\)\(\mathbf{8}\)
6.5t=52

The tank runs empty after \(8\) hours of driving.

Fuel left against timeA straight line from 52 litres at time 0 down to 0 litres at 8 hours. t (h) F (L) 1 2 3 4 5 6 7 8 9 10 20 30 40 50 60 0 (0, 52) (8, 0)

Only the part of the line from \(t=0\) to \(t=8\) makes sense here: time cannot be negative and the tank cannot hold less than nothing.

Common pitfalls

Zero the other letter. For the \(x\)-intercept put \(y=0\), not \(x=0\). Mixing them up swaps the two intercepts.
\(x=k\) is vertical. \(x=-2\) is a vertical line through \(-2\) on the \(x\)-axis, not a horizontal one. Every point on it has \(x=-2\).
Lengths are positive. An intercept of \(-3\) gives a side of length \(3\). Use positive lengths for the area of a triangle.
Check both coordinates. A point is on the line only if substituting both \(x\) and \(y\) makes the equation true. Checking only \(x\) proves nothing.

Frequently asked questions

How do you find the x- and y-intercepts of a line?

For the \(x\)-intercept put \(y=0\) and solve for \(x\). For the \(y\)-intercept put \(x=0\) and solve for \(y\).

How many points do you need to graph a straight line?

Two points fix a straight line, but plot a third as a check. If the three points are not in line, there is a mistake.

What does the graph of x = 3 look like?

A vertical line crossing the \(x\)-axis at \(3\). Every point on it has \(x\)-coordinate \(3\), whatever its \(y\)-coordinate.

How do you check if a point is on a line?

Substitute the point's \(x\) and \(y\) into the equation. If the left side equals the right side, the point is on the line; if not, it is not.

What is the equation of the x-axis?

\(y=0\), because every point on the \(x\)-axis has a \(y\)-coordinate of \(0\). The \(y\)-axis is \(x=0\).