Linear Functions and Graphs

Chapter 6 Study Notes · O-Level 4052

Section 7 of 9
Contents

6.6Horizontal and Vertical Lines

A horizontal line has equation y=ky = k: the same yy for every point, so gradient 00. A vertical line has equation x=hx = h: the same xx for every point, so the gradient is undefined, and it cannot be written as y=mx+cy = mx + c at all.

xy-6-5-4-3-2-1123456-6-5-4-3-2-1123456Oy = 3x = -2
A horizontal line and a vertical line. Every point on y=3y = 3 has the same yy; every point on x=2x = -2 has the same xx.

Identifying special lines

State the gradient of the line x=2\displaystyle x = -2 and the gradient of the line y=7\displaystyle y = 7. Which line passes through the point (0,7)\displaystyle (0, 7)?

Show solution
x=2x = -2 is a vertical line.
Its gradient is undefined.
y=7y = 7 is a horizontal line.
Its gradient is 00.
The point (0,7)(0, 7) has yy-coordinate 77, so it lies on the line y=7y = 7.

Now you try

Write down the equation of the straight line shown.

xy-8-6-4-22468-8-6-4-22468O
Show solution
The line is vertical, so every point on it has the same xx-coordinate.
It crosses the xx-axis at 66, so x=6x = 6 for every point.
x=6x = 6

Want it marked, with hints, and a new question each time? Practise this →

Practise this

Questions on Linear Functions and Graphs, marked as you go, with the working shown.

Practise Linear Functions and Graphs