O Level Maths 4024 · Area 3 · Coordinate geometry

Coordinates and Drawing Linear Graphs

Every point on a grid is named by an ordered pair (x,y), with the horizontal distance first. A linear equation is drawn by making a short table of values, plotting the points and joining them with a ruler, or more quickly by using the intercepts. The same skills let you read a point off a line, check whether a point lies on it, and handle the special lines x=k and y=k.

Not started

Syllabus coverage

  • Use and interpret Cartesian coordinates in two dimensions
  • Draw straight-line graphs for linear equations
  • Use and request lines in different forms, including y=mx+c, ax+by=c and x=k

Part of the O Level Maths syllabus 4024.

The graph of y = 2x - 3123456-4-3-2-1123456781 across2 upgradient = 2(0, -3)y = mx + c: m is the gradient, c is the y-intercept. From (0, -3), one step right and two up lands on the line again.
A straight-line graph on a coordinate grid, with the y-intercept marked and the gradient shown as a step right and a step up between two points.

The coordinate plane and the order of the pair

Two number lines crossing at right angles make the coordinate plane. The horizontal line is the x-axis, the vertical line is the y-axis, and the point where they cross is the origin (0,0). Distances right and up are positive; distances left and down are negative.

A point is named by an ordered pair (x,y), and the order is part of the name. (3,5) is 3 right and 5 up, while (5,3) is 5 right and 3 up, a different point. Reading a grid means going along the corridor before going up the stairs: x first, always.

The axes divide the plane into four regions. In the top right both coordinates are positive, top left has negative x and positive y, bottom left has both negative, and bottom right has positive x and negative y. A point on an axis has one coordinate equal to zero, which is a useful check when you plot.

PointHow to get therePosition
(4,3)4 right, 3 uptop right region
(−4,3)4 left, 3 uptop left region
(−4,−3)4 left, 3 downbottom left region
(4,−3)4 right, 3 downbottom right region
(0,5)on the y-axisx=0
(−2,0)on the x-axisy=0

Plotting points and reading them back

To plot, start at the origin, move along the x-axis by the first number, then move parallel to the y-axis by the second. Mark the position with a small cross and write the coordinates beside it if the grid is crowded. A dot with no cross is hard to see and easy to misread.

To read a point, drop a vertical line to the x-axis for the first coordinate and a horizontal line to the y-axis for the second. Read both before writing anything, and check the sign against which region the point is in.

Plotting the coordinates in the wrong order is the single commonest error in this topic. If a point should be in the top left but you have placed it in the bottom right, the pair has been read or written the wrong way round, and no amount of accurate drawing will rescue it.

Drawing y=mx+c from a table of values

Choose three or four convenient values of x, usually including 0, and work out y for each. For y=2x−3 the table gives (0,−3), (1,−1), (2,1) and (3,3). Three points are enough to draw the line and the fourth checks the arithmetic.

Plot the points, then lay a ruler through them and draw one straight line across the whole grid, not just from the first point to the last. Extend the line to the edges of the grid and label it with its equation, because the examiner marks the line, not the dots.

If the three points do not lie in a straight line, one of them is wrong. Recalculate the value that is off the line rather than adjusting the line to fit the points; a straight line through two good points and one bad one is still the wrong graph.

x0123
2x0246
-3-3-3-3-3
y=2x−3-3-113

Using m and c to draw the line quickly

In y=mx+c the number c is the y-intercept: the line crosses the y-axis at (0,c). The number m is the gradient: for every 1 step right, the line moves m steps up, or m steps down if m is negative.

For y=2x−3, start at (0,−3), go 1 right and 2 up to (1,−1), then repeat to (2,1). Two points from this stepping method fix the line, and a third confirms it. For y=7−4x the intercept is 7 and the gradient is −4, so the line falls steeply: from (0,7) go 1 right and 4 down to (1,3).

A fractional gradient is read as a fraction of a step: a gradient of 12 means 2 right and 1 up, which keeps the point on a grid intersection. This is faster and more accurate than plotting a point at x=1 with a fractional y.

  • y=2x−3: intercept −3, gradient 2
  • y=7−4x: intercept 7, gradient −4
  • y=12x+1: intercept 1, gradient 12, so 2 right and 1 up
  • start at the intercept, step across and up, repeat

Equations given as ax+by=c

There are two reliable ways to draw a line written as ax+by=c. The first is to rearrange it into the form y=mx+c and then use the intercept and gradient. The second is the intercept method: put x=0 to find where the line crosses the y-axis, then put y=0 to find where it crosses the x-axis, and join those two points.

For 3x+2y=12: setting x=0 gives 2y=12, so (0,6); setting y=0 gives 3x=12, so (4,0). Join them and the line is drawn. A third point such as (2,3) checks it, since 6+6=12.

The intercept method is usually quicker, but it fails when the line passes through the origin, because both intercepts are then (0,0). In that case rearrange to y=mx+c and use the gradient instead, or find one other point by choosing a value of x.

EquationPut x=0Put y=0Two points
3x+2y=12y=6x=4(0,6) and (4,0)
5x+4y=8y=2x=1.6(0,2) and (1.6,0)
2x+5y=20y=4x=10(0,4) and (10,0)

The special lines x=k and y=k

An equation with only x in it describes a vertical line. Every point on x=3 has x-coordinate 3, whatever its y-coordinate, so the line runs straight up and down through (3,0) and is parallel to the y-axis.

An equation with only y in it describes a horizontal line. Every point on y=−2 has y-coordinate −2, so the line runs straight across through (0,−2) and is parallel to the x-axis.

A vertical line has no gradient in the usual sense, because the change in x is zero and division by zero is undefined. Do not try to write x=3 in the form y=mx+c; it cannot be done, and a question that asks for the gradient of a vertical line is not asking for a number.

  • x=3: vertical, through (3,0), parallel to the y-axis
  • x=−1.5: vertical, through (−1.5,0)
  • y=−2: horizontal, through (0,−2), parallel to the x-axis
  • y=4: horizontal, through (0,4)
x=3 is a vertical line and y=3 is a horizontal line. Mixing them up is worth checking every time, because both contain the number 3 and only the letter tells you which way the line runs.

Checking whether a point lies on a line

A point lies on a line when its coordinates satisfy the equation. Substitute the x value and the y value into the equation and see whether the two sides are equal. For y=2x−7 and the point (5,3): the right side is 10−7=3, which equals the y value, so the point is on the line.

With the form ax+by=c the same substitution applies to both terms. For 5x+4y=8 and the point (4,−3): 20−12=8, so the point is on the line. For (1,1) the left side is 5+4=9, which is not 8, so that point is not on the line.

The same idea finds a missing coordinate. If a point (k,6) lies on y=4−2x, then 6=4−2k, so 2k=−2 and k=−1. Substituting the known coordinate and solving for the other is all that is needed.

PointEquationSubstitutionOn the line?
(2,3)3x+2y=126+6=12yes
(4,0)3x+2y=1212+0=12yes
(1,1)5x+4y=85+4=9no
(4,−3)5x+4y=820−12=8yes

Drawing accurately enough to score

Use a sharp pencil, a ruler for every straight line, and a scale that lets the line cross the grid. Label the line with its equation near one end and label the axes with their letters. A line that stops short at the outermost plotted point is drawn too short, since the graph of a linear equation continues for ever.

Choose values of x that keep the points on the paper. Look at the range of the axes first, then pick three values inside it, including one negative if the axes allow. Plotting a point at y=27 when the grid stops at 10 wastes time and gains nothing.

When the question asks you to use your graph, read the answer from the drawn line rather than from the algebra. A graph question about where a line crosses another, or about a value at a given x, expects a reading from the grid, usually to one decimal place or the nearest half square.

  • sharp pencil, ruler, line extended across the grid
  • label the line with its equation
  • pick x values that fit inside the axes
  • read answers from the line, not from a mental calculation

Key terms you must be able to define

Coordinates
The ordered pair (x,y) that names a point's position on the grid.
Origin
The point (0,0) where the two axes cross.
x-axis
The horizontal number line; every point on it has y=0.
y-axis
The vertical number line; every point on it has x=0.
Linear equation
An equation whose graph is a straight line, such as y=3x−2 or 2x+5y=20.
y-intercept
The value of y where the line crosses the y-axis; in y=mx+c it is c.
Gradient
The steepness of a line: the change in y for each 1 unit of change in x.
Intercept method
Drawing a line by finding where it crosses each axis: put x=0, then put y=0.
Vertical line
A line of the form x=k, parallel to the y-axis, with no finite gradient.
Table of values
A short table of x values and the matching y values, used to plot a graph.

In context

Cambridge sets 4024 in real situations - a recipe, a bank statement, a map, a garden, a graph of a car's journey. These show how the mathematics appears in a question, then you write your own working for the numbers you are given.

Drawing a line from a table

For y=2x−3, the values at x=0,1,2,3 are −3,−1,1,3. Plot (0,−3), (1,−1), (2,1) and (3,3), then draw one straight line through all four with a ruler, extending it to the edges of the grid. The intercept −3 and the gradient 2 agree with the equation, which is the check that the table is right.

Drawing with the intercept method

Draw 3x+2y=12. Put x=0: 2y=12, so (0,6). Put y=0: 3x=12, so (4,0). Join the two intercepts with a ruler. The point (2,3) lies on the line as a check, since 6+6=12.

The two special lines

On the same grid, x=−2 is a vertical line through (−2,0), parallel to the y-axis and passing through (−2,5) and (−2,−1). The line y=3 is horizontal through (0,3), parallel to the x-axis and passing through (4,3) and (−5,3). Both are drawn with a ruler and labelled with their equations.

Checking a point

Does (4,−3) lie on 5x+4y=8? Substituting gives 5(4)+4(−3)=20−12=8, so yes. Does (1,1) lie on it? Substituting gives 5+4=9, which is not 8, so no. The point that fails is above the line, since 9 is greater than 8.

Where a line crosses the axes

For y=7−4x: putting x=0 gives the y-intercept 7, so (0,7). Putting y=0 gives 4x=7, so x=1.75 and the line crosses the x-axis at (1.75,0). The gradient is −4, so from (0,7) the line falls 4 for every 1 to the right, reaching (1,3) and then (2,−1).

Flashcards

Click a card to flip it. Mark honestly — the tracker uses this.

Q1In the point (4,−3), which coordinate is horizontal?
The 4: the first number is always the x-coordinate.
Q2What are the coordinates of the origin?
(0,0).
Q3What is the y-intercept of y=3x−4?
-4, so the line crosses the y-axis at (0, -4).
Q4What is the gradient of y=7−4x?
-4: the line falls 4 for every 1 to the right.
Q5How do you draw 3x+2y=12 quickly?
Put x = 0 to get (0, 6), put y = 0 to get (4, 0), then join them.
Q6What does the graph of x=5 look like?
A vertical line through (5, 0), parallel to the y-axis.
Q7What does the graph of y=−2 look like?
A horizontal line through (0, -2), parallel to the x-axis.
Q8How many points are needed to draw a straight line?
Two, but plot three so the third checks the other two.
Q9How do you test whether (3,4) lies on 2x+3y=18?
Substitute: 6+12=18, so the point is on the line.
Q10How many times does the line y=2x+1 cross the x-axis?
Once, at x = -0.5, since a straight line not parallel to the axis crosses it once.
Q11Why can x=4 not be written as y=mx+c?
It is vertical, so its gradient is undefined and it cannot be put in that form.
Q12What is the gradient of the line through (0,2) and (3,8)?
6÷3=2.
Q13A point (k,5) lies on y=2x−1. What is k?
5=2k−1, so k=3.
0 of 13 marked as known

Exam-style questions

8 questions, 18 marks. Write your answer and press Mark my answer — it is marked against the scheme and tells you which points you made and what would gain the next mark. You can still reveal the scheme and mark it yourself instead.

Work outAO12 marks
Work out the coordinates of the point where the line y=2x+6 crosses the x-axis.
Write a number, a fraction such as 3/4, or an expression such as 3x+2.

Mark scheme — tick each point you actually made

  • M1
  • A1(−3,0)not checked yet
Examiner tip: Every point on the x-axis has y = 0, so substitute 0 for y and solve for x.
Work outAO11 mark
Work out the value of y when x=−2 for the line y=5−2x.
Write a number, a fraction such as 3/4, or an expression such as 3x+2.

Mark scheme — tick each point you actually made

  • B15−2(−2)=5+4=9not checked yet
Examiner tip: Multiplying a negative by a negative gives a positive, so the -2x term adds 4.
Work outAO14 marks
The line y=3x−5 and the line y=x+3 are drawn on the same grid. Work out the coordinates of the point where the two lines meet.
Write a number, a fraction such as 3/4, or an expression such as 3x+2.

Mark scheme — tick each point you actually made

  • M1
  • M1
  • M1
  • A1(4,7)not checked yet
Examiner tip: Both lines give the same y at the meeting point, so set the two expressions equal and solve for x first.
Work outAO12 marks
Work out the coordinates of the point where the line 3x+4y=24 crosses the y-axis.
Write a number, a fraction such as 3/4, or an expression such as 3x+2.

Mark scheme — tick each point you actually made

  • M1
  • A1(0,6)not checked yet
Examiner tip: On the y-axis x = 0, so the 3x term disappears and the equation is easy to solve.
Show (that)AO12 marks
Show that the point (3,−1) lies on the line y=2x−7.

Mark scheme — tick each point you actually made

  • M1
  • A1
Examiner tip: Substitute the x-coordinate and show the result equals the y-coordinate. The comparison is the point of the proof.
Work outAO23 marks
The point (3,k) lies on the line 4x+3y=30. Work out the value of k.
Write a number, a fraction such as 3/4, or an expression such as 3x+2.

Mark scheme — tick each point you actually made

  • M1
  • M1
  • A1k=6not checked yet
Examiner tip: Substitute the known coordinate, then solve the resulting equation for the unknown one.
Work outAO12 marks
The line y=4−3x is drawn on a grid. Work out the value of y when x=0 and the value of y when x=2.
Write a number, a fraction such as 3/4, or an expression such as 3x+2.

Mark scheme — tick each point you actually made

  • B1
  • B1when x=2, y=4−6=−2not checked yet
Examiner tip: Give the two values in the order the question asks: the value at x = 0 first.
StateAO12 marks
State the equations of the vertical line and the horizontal line that both pass through the point (5,−2).
Write a number, a fraction such as 3/4, or an expression such as 3x+2.

Mark scheme — tick each point you actually made

  • B1
  • B1the horizontal line is y=−2not checked yet
Examiner tip: The vertical line takes its value from the x-coordinate and the horizontal line from the y-coordinate.

Exam technique for this topic

  • Write the ordered pairs as you calculate them, then plot from the list. Working straight from the equation to the grid invites a swapped pair.
  • For ax+by=c, the intercept method gives two points in two short lines; use it unless the line passes through the origin.
  • Extend every straight line across the whole grid and label it with its equation; a line that stops at the last plotted point loses presentation marks.
  • Read x before y every time, both when plotting and when reading a point off the grid.
  • When a question says use your graph, give the reading from the line, not the value you could get by solving the equation.

Why students lose marks here

A student wrotePlotting (3,5) as 3 up and 5 right
Why it loses marksThe first coordinate is always the horizontal one. The pair has been read in the order (y,x).
The answer that scores(3,5) is 3 right and 5 up; (5,3) is the other point.
A student wroteDrawing x=3 as a horizontal line
Why it loses marksThe equation fixes x and leaves y free, so the line runs vertically at x=3.
The answer that scoresx=3 is vertical through (3,0); y=3 is the horizontal one.
A student wroteJoining (0,−3) and (1,−1) and stopping there for y=2x−3
Why it loses marksA linear graph continues beyond the plotted points, and a short line loses marks and cannot be read at other values of x.
The answer that scoresExtend the line with a ruler to both edges of the grid and label it.
A student wrotePutting x=0 and y=0 to draw y=3x
Why it loses marksBoth substitutions give the origin, so only one point is found and the line cannot be fixed.
The answer that scoresUse the gradient instead: from (0,0) go 1 right and 3 up to (1,3).
A student wroteChecking (2,3) on 3x+2y=12 by writing 3×2+2×3=12 and stopping
Why it loses marksThe substitution is right but the conclusion needs the comparison: 6+6=12 does equal 12, so the point is on the line.
The answer that scores6+6=12, so (2,3) lies on the line.

Where this fits in O Level Maths 4024

This page is one topic of Cambridge O Level Maths 4024. O Level Maths 4024 is the course home: every area and every topic in Cambridge's own order, the papers you sit and what each one tests, and the exam-practice tools. The full topic list, with each topic linked to its revision page, is on the O Level Maths 4024 syllabus page.