4 Triangles › Worksheets › Horizontal and vertical lines: x = a and y = b

Horizontal and vertical lines: x = a and y = b

KS3Year 8 · 56 questions · about 50 minutes · start at A and work through as far as you can · no calculator

NameDate

Ready? You need these first.

✓1Write down the coordinates of the point 3 across and 2 up
✓2Which number comes first in (4, 7): x or y?
✓3Which is further left: −2 or 1?

Stuck on these? Start with plot and read coordinates first.

A. Same x or same y Fluency A, B and C are in a straight line. Write down the coordinates of A, B and C. Then say which number is the same in all three, x or y.

↗ Read each point: across, then up. Look for the number that never changes.

A1x12345678y123456780ABC
A2x12345678y123456780ABC
A3x12345678y123456780ABC
A4x12345678y123456780ABC
A5x12345678y123456780ABC
A6x12345678y123456780ABC

B. Name the line Fluency Write down the equation of each line. A vertical line has an equation like x = 3. A horizontal line has an equation like y = 2.

↗ Read the coordinates of two points on the line. Which number is always the same?

B1x12345678y123456780
B2x12345678y123456780
B3x−5−4−3−2−112345y−5−4−3−2−1123450
B4x−5−4−3−2−112345y−5−4−3−2−1123450
B5x−5−4−3−2−112345y−5−4−3−2−1123450
B6x−5−4−3−2−112345y−5−4−3−2−1123450

C. Draw the line Fluency Draw the line on the grid. Then write down the coordinates of the point where your line crosses the axis it meets.

↗ x = 4: put a dot at 4 on the x-axis and go straight up. y = 3: put a dot at 3 on the y-axis and go straight across.

C1x12345678y123456780Draw the line x = 2. Where does it cross the x-axis?
C2x12345678y123456780Draw the line y = 3. Where does it cross the y-axis?
C3x12345678y123456780Draw the line x = 3. Where does it cross the x-axis?
C4x12345678y123456780Draw the line y = 2. Where does it cross the y-axis?
C5x−5−4−3−2−112345y−5−4−3−2−1123450Draw the line x = −3. Where does it cross the x-axis?
C6x−5−4−3−2−112345y−5−4−3−2−1123450Draw the line y = −2. Where does it cross the y-axis?

D. Points on the line Fluency Two of the four points are on the line. Write them down, in the order they are listed.

↗ On x = 2, the x-coordinate must be 2. On y = 2, the y-coordinate must be 2.

D1The line is x = 6.
(6, 7)   (6, 2)   (−3, 6)   (−1, 6)
D2The line is y = 3.
(−1, 3)   (3, 7)   (3, −4)   (−3, 3)
D3The line is x = 0.
(0, −2)   (3, 0)   (4, 0)   (0, 7)
D4The line is y = −1.
(0, −1)   (−3, −1)   (−1, 6)   (−1, 5)
D5The line is x = 0.
(0, 8)   (2, 0)   (−1, 0)   (0, 4)
D6The line is y = 5.
(5, 1)   (−2, 5)   (4, 5)   (5, 0)

E. Two lines Fluency Write down the equation of line A and the equation of line B. Then write down the point where they cross.

↗ The crossing point has the x from the vertical line and the y from the horizontal line.

E1x12345678y123456780AB
E2x12345678y123456780AB
E3x−5−4−3−2−112345y−5−4−3−2−1123450AB
E4x−5−4−3−2−112345y−5−4−3−2−1123450AB

F. Worked examples Worked examples Read the first one. Fill the gaps in the second. Do the third on your own the same way.

↗ Each example does a little less for you.

F1Read this onex−5−4−3−2−112345y−5−4−3−2−1123450Three points on the line: (4, 1), (4, 3), (4, 5)
The x-coordinate is always 4, and the y-coordinate changes.
The line is vertical: x = 4
F2Fill the gapsx−5−4−3−2−112345y−5−4−3−2−1123450Three points on the line: (6, 1), (6, 3), (6, 5)
The -coordinate is always , and the y-coordinate changes.
The line is =
F3On your ownx−5−4−3−2−112345y−5−4−3−2−1123450Write down the equation of the line. Find a point on it, then say which coordinate stays the same.

G. Spot the pattern Spot the pattern Write down the equation of the straight line through each pair of points. What stays the same? What changes?

↗ The first four all have y = 3: the x-coordinates change but the y never does. The last one is different: now x stays the same.

G1(1, 3) and (2, 3)
G2(4, 3) and (7, 3)
G3(−2, 3) and (5, 3)
G4(0, 3) and (−4, 3)
G5(3, 1) and (3, 5)

H. Which is right? Which is right? Choose A, B, C or D. Then say what mistake each wrong answer makes.

↗ Hold up A, B, C or D.

H1x−5−4−3−2−112345y−5−4−3−2−1123450What is the equation of the line?Ax = −3B(3, 0)Cx = 3Dy = 3
H2x−5−4−3−2−112345y−5−4−3−2−1123450What is the equation of the line?Ax = −3By = 3C(0, −3)Dy = −3
H3Which of these is a vertical line?Ax = 5By = 5Cy = xDx + y = 5

I. Spot the mistake Reasoning Each pupil has made a mistake. Say what it is, then give the right answer.

I1Zara says: "The line through (4, 1) and (4, 5) is y = 4."
I2Leo says: "The x-axis is the line x = 0."
I3Ollie says: "y = 5 is a vertical line, because 5 is going up."
I4Amira says: "The point (6, 2) is on the line x = 2."

J. Problems Problem solving Show your working.

J1A vertical line goes through the point (5, 2). Write down its equation.
J2A horizontal line goes through the point (3, −2). Write down its equation.
J3Write down the equation of the y-axis.
J4Where do the lines x = −6 and y = 1 cross? Write down the coordinates.
J5The lines x = 1, x = 7, y = 3 and y = 6 make a rectangle. What is the area of the rectangle?
J6Which of these points is on the line y = 5? (5, 0)   (0, 5)   (5, 6)

K. Exam style Exam style Questions like these come up in the GCSE. Show your working.

K1x−5−4−3−2−112345y−5−4−3−2−1123450AB(a) Write down the equation of line A. [1]
(b) Write down the equation of line B. [1]
(c) Write down the coordinates of the point where A and B cross. [1]
K2Here are four lines: x = 5,   y = 2,   y = x,   x = −2.
(a) Which of them are vertical? [1]
(b) Write down the coordinates of the point where x = 5 and y = 2 cross. [1]
K3A is the point (−4, 4) and B is the point (5, 4).
(a) Write down the equation of the line through A and B. [1]
(b) The line x = 0 crosses AB at C. Write down the coordinates of C. [1]
(c) Is C the midpoint of AB? Give a reason. [1]

L. Deeper Deeper For when you have finished.

L1The lines x = 1, x = 6, y = 2 and y = 5 make a rectangle. Write down the coordinates of its four corners. Find its perimeter.
L2A point is on the line x = 4 and on the line y = −2. Write down the point. Is it on the line y = x?
L3Write down the equation of a line that has no points in the first quadrant. Then one that has no points in the first or second quadrant.

M. Make your own Open task Everyone can start this. How far can you take it?

M1Draw four lines of the form x = a or y = b that make a square on a grid. Write down their equations and the coordinates of the corners. How many different squares can you find?

✓ Every answer on every version is worked out by the computer and checked again a second way. Last checked 3 December 2026. Report a problem · Pupils: check your answers · Teachers: a do now from this sheet, with new numbers, for checking back in a week or two