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

Lines with One Intercept

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)
  • Lines with One Intercept - Video - Lines with only one intercept Watch
Create a free accountTrack your progress and save your work as you go.
Create free account

Theory

Most straight lines cross both axes at different points, but some do not. A horizontal line \(y = b\) crosses only the \(y\)-axis, a vertical line \(x = a\) crosses only the \(x\)-axis, and a line through the origin, \(y = mx\), has both intercepts at \((0, 0)\). This Year 9 maths page shows how to write and sketch these lines, find the gradient of a line through the origin, and work with shapes they enclose.

A horizontal line has an equation \(y = b\). Every point on it has the same \(y\)-coordinate, \(b\). It is parallel to the \(x\)-axis, crosses the \(y\)-axis at \((0, b)\) and never meets the \(x\)-axis (unless it is the \(x\)-axis, \(y = 0\)). Its gradient is \(0\).

A vertical line has an equation \(x = a\). Every point on it has the same \(x\)-coordinate, \(a\). It is parallel to the \(y\)-axis and crosses the \(x\)-axis at \((a, 0)\). Its gradient is undefined. The \(y\)-axis is \(x = 0\).

A line through the origin has an equation \(y = mx\), with no number added on. Both of its intercepts are the origin \((0, 0)\), so the intercept method gives only one point. Find a second point by choosing another \(x\)-value.

In \(y = mx\), \(m\) is the gradient. For any point \((x, y)\) on the line other than the origin, \(m = \dfrac{y}{x}\).

A vertical line and a horizontal lineThe vertical line x = -3, in red, crosses only the x-axis, at (-3, 0). The horizontal line y = 2, in navy, crosses only the y-axis, at (0, 2). x y βˆ’5 βˆ’4 βˆ’2 βˆ’1 1 2 3 4 βˆ’3 βˆ’2 βˆ’1 1 3 4 (βˆ’3, 0) (0, 2) x = βˆ’3 y = 2
A vertical line \(x = a\) meets only the \(x\)-axis; a horizontal line \(y = b\) meets only the \(y\)-axis.
Three lines through the originThe lines y = 2x, y = one third x and y = -x all pass through the origin. y = 2x is steep and rising, y = one third x rises gently, and y = -x falls. x y βˆ’4 βˆ’3 2 3 4 βˆ’4 βˆ’3 βˆ’2 2 3 4 y = 2x y = β…“x y = βˆ’x
Lines of the form \(y = mx\) all pass through the origin. The gradient \(m\) sets how steep the line is and which way it slopes.
The lineEquationCrosses
horizontal, through \((a, b)\)\(y = b\)\(y\)-axis at \((0, b)\)
vertical, through \((a, b)\)\(x = a\)\(x\)-axis at \((a, 0)\)
through the origin, gradient \(m\)\(y = mx\)both axes at \((0, 0)\)
the \(x\)-axis\(y = 0\)(it is an axis)
the \(y\)-axis\(x = 0\)(it is an axis)
\[m = \dfrac{y}{x} \quad \text{for a point } (x, y) \text{ on } y = mx\]
m=yx
Rearrange first. \(y - 5 = 0\) is the horizontal line \(y = 5\). \(2x + 6 = 0\) gives \(x = -3\), a vertical line. \(4x - y = 0\) gives \(y = 4x\), a line through the origin with gradient \(4\).
Gradient from one point. If \(y = mx\) passes through \((4, -10)\), then \(m = \dfrac{-10}{4} = -\dfrac{5}{2}\), so the line is \(y = -\dfrac{5}{2}x\). The origin is the second point, so one more point is enough.
Shapes made by these lines. The distance between the vertical lines \(x = -2\) and \(x = 3\) is \(3 - (-2) = 5\). With the horizontal lines \(y = -1\) and \(y = 4\) (also \(5\) apart) they enclose a square of area \(5 \times 5 = 25\) square units. To find where two lines meet, substitute one equation into the other.

How to sketch a line with one intercept

  1. Rearrange the equation to \(x = a\), \(y = b\) or \(y = mx\).
  2. \(x = a\): rule a vertical line through \(a\) on the \(x\)-axis.
  3. \(y = b\): rule a horizontal line through \(b\) on the \(y\)-axis.
  4. \(y = mx\): plot the origin, then substitute another \(x\)-value (such as \(x = 1\) or \(x = 2\)) to get a second point. Rule the line through both.
  5. Label each line with its equation.

How to write the equation

  1. Parallel to the \(x\)-axis (horizontal): use the point's \(y\)-coordinate, \(y = b\).
  2. Parallel to the \(y\)-axis (vertical): use the point's \(x\)-coordinate, \(x = a\).
  3. Through the origin and \((x, y)\): work out \(m = \dfrac{y}{x}\) and write \(y = mx\).
Example 1 β€” Horizontal and vertical lines
A point has coordinates \((-4, 1)\).
(i) Write the equation of the line through the point that is parallel to the \(y\)-axis.
(ii) Write the equation of the line through the point that is parallel to the \(x\)-axis.
(iii) Sketch both lines.
Solution

(i) A line parallel to the \(y\)-axis is vertical. Every point on it has the same \(x\)-coordinate as \((-4, 1)\).

\(x\)\(=\)\(\mathbf{-4}\)

(ii) A line parallel to the \(x\)-axis is horizontal. Every point on it has the same \(y\)-coordinate.

\(y\)\(=\)\(\mathbf{1}\)
x=−4,y=1
The lines x = -4 and y = 1The vertical line x = -4, in red, and the horizontal line y = 1, in navy, meet at the point (-4, 1). x y βˆ’6 βˆ’5 βˆ’3 βˆ’2 βˆ’1 1 2 3 βˆ’3 βˆ’2 2 3 4 (βˆ’4, 1) x = βˆ’4 y = 1

(iii) The two lines cross at \((-4, 1)\), the point they were built from.

Example 2 β€” A line through the origin
A straight line passes through the origin and the point \((6, 4)\).
(i) Find its equation.
(ii) Find \(y\) when \(x = 9\).
(iii) The point \((k, -10)\) is on the line. Find \(k\).
Solution

(i) The line passes through the origin, so it has the form \(y = mx\). Use the point to find \(m\).

\(m\)\(=\)\(\dfrac{y}{x} = \dfrac{4}{6} = \dfrac{2}{3}\)
\(y\)\(=\)\(\boldsymbol{\dfrac{2}{3}x}\)

(ii)

\(y\)\(=\)\(\dfrac{2}{3} \times 9 = \mathbf{6}\)

(iii) Substitute \(y = -10\) and solve.

\(-10\)\(=\)\(\dfrac{2}{3}k\)
\(-30\)\(=\)\(2k\)
\(k\)\(=\)\(\mathbf{-15}\)
y=23x
The line y = two thirds x through the origin and (6, 4)The line y = two thirds x passes through the origin and the point (6, 4), both marked. The point (9, 6) is also on the line. x y βˆ’1 1 2 3 4 5 7 8 10 1 2 3 5 7 (6, 4) (9, 6)
Example 3 β€” Rearranging, then sketching
On the same number plane, sketch
(i) \(y + 3 = 0\)
(ii) \(x + 2y = 0\)
and find where the two lines meet.
Solution

(i) Subtract \(3\) from both sides: \(y = -3\), a horizontal line.

(ii) Make \(y\) the subject.

\(2y\)\(=\)\(-x\)
\(y\)\(=\)\(-\dfrac{1}{2}x\)

Putting \(x = 0\) or \(y = 0\) gives only \((0, 0)\), so choose \(x = 2\): \(y = -1\). Rule the line through \((0, 0)\) and \((2, -1)\).

The lines y = -3 and x + 2y = 0The horizontal line y = -3, in red, and the line x + 2y = 0, in navy, which passes through the origin and (2, -1). They meet at (6, -3). x y βˆ’3 βˆ’2 βˆ’1 1 8 βˆ’5 βˆ’4 1 2 3 4 (2, βˆ’1) (6, βˆ’3) y = βˆ’3 x + 2y = 0

The lines meet where \(y = -3\) on the second line.

\(-\dfrac{1}{2}x\)\(=\)\(-3\)
\(x\)\(=\)\(6\)
(6,−3)

They meet at \(\mathbf{(6, -3)}\).

Example 4 β€” The area a set of lines encloses
The lines \(y = 5\), \(x = -1\) and \(y = x\) form a triangle.
(i) Find the coordinates of its three vertices.
(ii) Find its area.
Solution

(i) Each vertex is where two of the lines meet. Substitute one equation into the other.

\(y = 5,\ x = -1\)\(:\)\((-1, 5)\)
\(y = 5,\ y = x\)\(:\)\((5, 5)\)
\(x = -1,\ y = x\)\(:\)\((-1, -1)\)
The triangle made by y = 5, x = -1 and y = xThe horizontal line y = 5, the vertical line x = -1 and the line y = x enclose a shaded right-angled triangle with vertices (-1, 5), (5, 5) and (-1, -1). x y 1 2 3 4 6 7 βˆ’3 βˆ’2 1 2 3 4 6 7 (βˆ’1, 5) (5, 5) (βˆ’1, βˆ’1)

(ii) The sides along \(y = 5\) and \(x = -1\) meet at a right angle at \((-1, 5)\).

\(\text{base}\)\(=\)\(5 - (-1) = 6\)
\(\text{height}\)\(=\)\(5 - (-1) = 6\)
\(\text{area}\)\(=\)\(\dfrac{1}{2} \times 6 \times 6\)
\(\)\(=\)\(\mathbf{18} \text{ square units}\)
area=12×6×6=18

Common pitfalls

x = a is vertical, y = b is horizontal. Reading them the other way round is the most common mistake. \(x = 4\) is every point with \(x\)-coordinate \(4\): a vertical line.
Parallel to the x-axis means horizontal. A line parallel to the \(x\)-axis through \((3, -5)\) is \(y = -5\), not \(x = 3\).
A line through the origin needs a second point. For \(y = mx\) both intercepts are \((0, 0)\). Substitute another \(x\)-value before you rule the line.
Keep the sign of m. Through the origin and \((2, -6)\), \(m = \dfrac{-6}{2} = -3\), so the line is \(y = -3x\) and it slopes downwards.

Frequently asked questions

What does the graph of y = 5 look like?

A horizontal line through \(5\) on the \(y\)-axis. Every point on it has \(y\)-coordinate \(5\), whatever its \(x\)-coordinate.

Why is x = 2 a vertical line?

Every point on it has \(x\)-coordinate \(2\), so the points stack straight up and down above and below \(2\) on the \(x\)-axis.

How do you graph a line like y = 4x?

It passes through the origin. Substitute another \(x\)-value, such as \(x = 1\), to get a second point \((1, 4)\), then rule the line through both points.

How do you find the equation of a line through the origin and a point?

The equation is \(y = mx\). Divide the point's \(y\)-coordinate by its \(x\)-coordinate to get \(m\).

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