Coordinate Geometry – IGCSE Mathematics (0580) Notes
On this page
This page covers syllabus topic 3: coordinates, drawing straight-line graphs, gradient, the equation of a line, and parallel lines. Extended candidates also need the length and midpoint of a line segment and perpendicular lines.
1. Coordinates
A point is given by its coordinates (x, y): x is the horizontal position and y is the vertical position, both measured from the origin (0, 0). Always write x first – x comes before y in the alphabet too. The axes divide the plane into four quadrants; for example (−3, 2) is to the left of the y-axis and above the x-axis.
2. Drawing straight-line graphs
To draw a line such as y = −2x + 5, choose at least three x-values, work out y, plot the points and join them with a ruled line across the whole grid. The third point is a check: if the three points are not in a line, there is a mistake.
| x | −1 | 0 | 1 | 2 | 3 |
|---|---|---|---|---|---|
| y = −2x + 5 | 7 | 5 | 3 | 1 | −1 |
Extended – For a line written as ax + by = c, such as 3x + 2y = 12, the quickest method is to find where it crosses the axes: x = 0 gives y = 6, and y = 0 gives x = 4. Plot (0, 6) and (4, 0) and join them. (Core questions give equations in the form y = mx + c, or give a table of values.)
Special lines: x = k is a vertical line through (k, 0); y = k is a horizontal line through (0, k). The x-axis is the line y = 0 and the y-axis is the line x = 0.
Common mistake: students often mix up x = 3 and y = 3. Remember: on the line x = 3, every point has x-coordinate 3, so the line is vertical.
3. Gradient
Gradient measures how steep a line is:
- A line going up from left to right has a positive gradient; going down, a negative gradient.
- A horizontal line has gradient 0. A vertical line has no defined gradient.
From a grid: choose two points on the line where it crosses grid corners, as far apart as possible. Count the squares across and up (or down), using the scale on each axis – the scales are often different.
Extended – Gradient from two points
For points (x1, y1) and (x2, y2): .
Example: A(−1, 4) and B(3, −8). = −3.
Keep the same order in the top and the bottom – if you start with B on top, start with B on the bottom.
4. The equation of a straight line
Every non-vertical straight line can be written as y = mx + c, where m is the gradient and c is the y-intercept (the line crosses the y-axis at (0, c)).
Example: y = 6x + 3 has gradient 6 and y-intercept 3. y = 7 − 4x has gradient −4 and y-intercept 7.
Finding the equation from a graph: read c where the line crosses the y-axis; work out m from two points; write y = mx + c.
Worked example 1 – Find the equation of the line with gradient 3 that passes through (2, 7).
y = 3x + c. Substitute x = 2, y = 7: 7 = 6 + c, so c = 1.
Equation: y = 3x + 1.
Extended – Other forms and more examples
Worked example 2 – Find the equation of the line through (1, 5) and (4, −1).
= −2. So y = −2x + c.
Use (1, 5): 5 = −2 + c, c = 7. Equation: y = −2x + 7. Check with (4, −1): −8 + 7 = −1 ✓.
Worked example 3 – Find the gradient and y-intercept of the line 3x + 2y = 12.
Rearrange to y = mx + c: 2y = −3x + 12, so y = −1.5x + 6.
Gradient = , y-intercept = 6, i.e. the point (0, 6).
You must give equations in a fully simplified form, for example y = −1.5x + 6, or 2y = −3x + 12, or 3x + 2y = 12. If a question asks for a particular form (such as ax + by = c with integers), give that form.
Extended – Length and midpoint of a line segment
For A(x1, y1) and B(x2, y2) (learn these – they are not on the formula list):
- Length: (this is Pythagoras’ theorem).
- Midpoint: (the mean of the x’s and the mean of the y’s).
Worked example 4 – A is (−2, 1) and B is (4, 9). Find the length of AB and the midpoint of AB.
Change in x = 4 − (−2) = 6. Change in y = 9 − 1 = 8.
AB = √(62 + 82) = √(36 + 64) = √100 = 10 units.
Midpoint = = (1, 5).
5. Parallel lines
Parallel lines have the same gradient. So y = 5x + 3 and y = 5x − 11 are parallel. To find the equation of a parallel line, keep m and find the new c.
Worked example 5 – Find the equation of the line parallel to y = 5x + 3 that passes through (2, −1).
Gradient = 5, so y = 5x + c. Substitute (2, −1): −1 = 10 + c, so c = −11.
Equation: y = 5x − 11.
Extended – Exam tip: before finding the gradient of a line like 2y = 4x + 7, divide everything by 2: y = 2x + 3.5. The gradient is 2, not 4. This is a very common mistake.
Extended – Perpendicular lines
Two lines are perpendicular (meet at 90°) when the product of their gradients is −1: m1 × m2 = −1. So the perpendicular gradient is the negative reciprocal: turn the fraction upside down and change the sign.
- Gradient 4 → perpendicular gradient .
- Gradient → perpendicular gradient .
- 2y = 3x + 1 has gradient , so a perpendicular line has gradient .
The perpendicular bisector of AB is the line that cuts AB in half at 90°. It passes through the midpoint of AB and is perpendicular to AB.
Worked example 6 – Find the equation of the perpendicular bisector of P(−4, 3) and Q(6, −1).
Midpoint of PQ = = (1, 1).
Gradient of PQ = . Perpendicular gradient = .
y = x + c through (1, 1): 1 = 2.5 + c, c = −1.5.
Equation: y = 2.5x − 1.5 (or 2y = 5x − 3).
6. Where two lines meet
The point where two lines cross satisfies both equations, so solve them as simultaneous equations (or read the point from an accurate graph). Example: y = 2x + 1 and y = −x + 7 meet where 2x + 1 = −x + 7, so 3x = 6, x = 2 and y = 5. The point is (2, 5).
To find where a line crosses the x-axis, put y = 0; to find where it crosses the y-axis, put x = 0. To test whether a point lies on a line, substitute its coordinates: (3, 10) is on y = 3x + 1 because 3 × 3 + 1 = 10.
Formula summary for this topic – none of these are on the formula list, so you must learn them: gradient = rise ÷ run; y = mx + c; parallel lines have equal gradients; (Extended) length by Pythagoras, midpoint as the mean of the coordinates, perpendicular gradients multiply to −1.
Check yourself
- Write down the gradient and y-intercept of y = 4 − 3x.
Answer
Gradient −3, y-intercept 4.
- Find the equation of the line parallel to y = 2x − 7 passing through (0, 3).
Answer
y = 2x + 3
- Which line is vertical: x = −2 or y = −2?
Answer
x = −2
- (Extended) Find the gradient of the line through (2, 3) and (6, 11).
Answer
= 2
- (Extended) Find the length of the line joining (1, 2) and (4, 6).
Answer
√(32 + 42) = √25 = 5
- (Extended) Write down the gradient of a line perpendicular to y = x + 2.
Answer
−3