AS & A Level Mathematics · Pure Mathematics 1 · Chapter 2
Co-ordinate geometry
- Algebra and geometry meet here: every point is a pair of numbers, every line or curve an equation.
- You will find gradients, lengths, mid-points and equations of lines, then solve for where graphs cross.
- The circle (x − a)² + (y − b)² = r² and the discriminant link this chapter to Chapter 1.
Learning objectives
- Use Cartesian co-ordinates in two dimensions, and say the difference between plot, sketch and draw.
- Find the gradient of a line from two points, and read what its sign and size mean.
- Recognise parallel lines (m₁ = m₂) and perpendicular lines (m₁m₂ = −1).
- Find the distance between two points and the mid-point of a line joining them.
- Write and draw straight lines in every standard form, and find the equation of a line from given information.
- Find where two lines meet, sketch polynomial and reciprocal curves, and use the circle (x − a)² + (y − b)² = r².
- Find where a line meets a curve, and use the discriminant to detect tangents.
Book exercises: Exercises 2A, 2B, 2C, 2D, 2E and 2F, and the Key points at the end of the chapter.
Co-ordinates
- Co-ordinates describe a position relative to a fixed point called the origin.
- In two dimensions you need two numbers; in three dimensions you need three.
- The Cartesian system (René Descartes) gives position along perpendicular axes: (x, y), or (x, y, z).
- This chapter is about two dimensions only. Always give the x co-ordinate first: along, then up.
| Quadrant | Sign of x | Sign of y | Example |
|---|---|---|---|
| I (top right) | + | + | (3, 2) |
| II (top left) | − | + | (−2, 4) |
| III (bottom left) | − | − | (−3, −1) |
| IV (bottom right) | + | − | (1, −5) |
Plotting, sketching and drawing
- Three different instructions in an exam ask for three different levels of accuracy.
- Know which one you are being asked for, so you do not waste time (or lose marks).
The gradient of a line
- In mathematics a “line” usually means a straight line. Two points are enough to draw it.
- The slope of a line is its gradient, usually written m.
- Gradient = (increase in y) ÷ (increase in x), going from one point to the other.
- For A(x₁, y₁) and B(x₂, y₂): m = .
- When both axes use the same scale, m = tan θ, where θ is the angle the line makes with the positive x direction.
📘 Example 1 · Gradient of the line through A(2, 4) and B(6, 7)
- Choose (x₁, y₁) = (2, 4) and (x₂, y₂) = (6, 7).
- Increase in y: y₂ − y₁ = 7 − 4 = 3.
- Increase in x: x₂ − x₁ = 6 − 2 = 4.
- m = 3 ÷ 4 = 3/4. Check: m > 0 and the line goes uphill. ✔
📘 Example 2 · Gradient through (−3, 4) and (5, −2), taken both ways round
- First way: m = (−2 − 4) ÷ (5 − (−3)) = −6 ÷ 8.
- Simplify: m = −3/4.
- Swap the points: m = (4 − (−2)) ÷ (−3 − 5) = 6 ÷ (−8) = −3/4. The same. ✔
- Why: top and bottom both change sign, so the quotient is unchanged. It does not matter which point you call (x₁, y₁) (Activity 2.1).
- Vertical line: x₂ − x₁ = 0, so you would divide by zero. Say the gradient is infinite (undefined).
- The bigger |m| is, the steeper the line.
Parallel and perpendicular lines
🔑 Key ideas
- Parallel lines have the same slope: m₁ = m₂.
- Perpendicular lines: m₁m₂ = −1. Flip the fraction and change the sign: m₂ = −1/m₁.
- Horizontal and vertical lines are perpendicular too, but the product rule does not apply (one gradient is infinite).
- Lines with m₁m₂ = −1 only look perpendicular if both axes use the same scale.
Why m₁m₂ = −1 (Activity 2.3)
- AB = BC (given) and the angles at B make AB ⟂ BC, so the right-angled triangles ABE and BCD are congruent.
- Congruent means the legs swap: AE = BD and BE = CD. Here AE = 3, BE = 2, BD = 2, CD = 3.
- Gradient of AB: m₁ = BE/AE = 2/3 (going up as you go right).
- Gradient of BC: m₂ = CD/(−BD) = 3/(−2) = −3/2 (going up as you go left, so the run is negative).
- m₁m₂ = (2/3) × (−3/2) = −1. In general m₁ = p/q gives m₂ = −q/p, so m₁m₂ = −1.
🧪 Simulation: perpendicular gradients
Drag the slider. Line 1 (solid) has gradient m₁. Line 2 (grey) is always perpendicular to it.
📘 Example 3 · Are these lines parallel, perpendicular or neither? (a) 2x + y = 1 and x − 2y = 1 (b) y = 2x + 3 and 4x − y + 1 = 0
- (a) Rearrange: 2x + y = 1 gives y = −2x + 1, so m₁ = −2.
- (a) x − 2y = 1 gives 2y = x − 1, so y = ½x − ½ and m₂ = ½.
- (a) m₁m₂ = −2 × ½ = −1, so the lines are perpendicular.
- (b) y = 2x + 3 has m₁ = 2. 4x − y + 1 = 0 gives y = 4x + 1, so m₂ = 4.
- (b) m₁ ≠ m₂ and m₁m₂ = 8 ≠ −1, so the lines are neither.
✏️ Try it
- Find the gradient of the line through (−1, 5) and (3, −3).
- Are y = 3x − 1 and 6x − 2y = 5 parallel, perpendicular or neither?
- The line through (1, 2) and (k, 8) is perpendicular to a line of gradient 2. Find k.
Answers
1. Step 1: m = (−3 − 5) ÷ (3 − (−1)). Step 2: = −8 ÷ 4. m = −2.
2. Step 1: y = 3x − 1 has gradient 3. Step 2: 6x − 2y = 5 gives 2y = 6x − 5, y = 3x − 5/2, gradient 3. Step 3: equal gradients, different intercepts: parallel.
3. Step 1: gradient of the line = (8 − 2)/(k − 1) = 6/(k − 1). Step 2: perpendicular to gradient 2, so 6/(k − 1) × 2 = −1. Step 3: 12 = −(k − 1), so k − 1 = −12. k = −11. Check: 6/(−12) = −½ and −½ × 2 = −1 ✔.
The distance between two points
- Draw a right-angled triangle on the line, with the line as the hypotenuse.
- The legs are the difference in x and the difference in y.
- Pythagoras gives the length.
🔑 Key ideas
- Distance AB = √[(x₂ − x₁)² + (y₂ − y₁)²].
- Squaring removes the sign, so the order of the points does not matter.
- Leave answers as exact surds (√20 = 2√5) unless asked for a decimal.
The mid-point of a line joining two points
- The mid-point has co-ordinates equal to the means of the co-ordinates of A and B.
- Example: x = (2 + 8)/2 = 5 and y = (1 + 5)/2 = 3.
- Mid-point = ( , ).
📘 Example 4 (book Example 2.1) · A(2, 5) and B(6, 3): find the gradient, length, mid-point and the perpendicular gradient
- Take (x₁, y₁) = (2, 5) and (x₂, y₂) = (6, 3).
- (i) Gradient = (3 − 5)/(6 − 2) = −2/4 = −½.
- (ii) Length AB = √[(6 − 2)² + (3 − 5)²] = √(16 + 4) = √20 = 2√5.
- (iii) Mid-point = ((2 + 6)/2, (5 + 3)/2) = (4, 4).
- (iv) m₁ = −½. Perpendicular: m₁m₂ = −1, so −½ × m₂ = −1.
- m₂ = 2. Check: −½ × 2 = −1. ✔
Proving a shape: two methods for a right angle
📘 Example 5 (book Example 2.2) · Show in two ways that P(2, 7), Q(3, 2), R(0, 5) form a right-angled triangle
- Method 1 (gradients). Gradient RP = (7 − 5)/(2 − 0) = 1.
- Gradient RQ = (2 − 5)/(3 − 0) = −1.
- Product = 1 × (−1) = −1, so RP ⟂ RQ: a right angle at R.
- Method 2 (Pythagoras). PQ² = (3 − 2)² + (2 − 7)² = 1 + 25 = 26.
- RP² = (2 − 0)² + (7 − 5)² = 4 + 4 = 8, and RQ² = (3 − 0)² + (2 − 5)² = 9 + 9 = 18.
- 8 + 18 = 26, so RP² + RQ² = PQ². By the converse of Pythagoras the angle at R (opposite the longest side PQ) is a right angle. ✔
- Converse of Pythagoras: if a² = b² + c² for the sides of a triangle, it has a right angle, and a is the hypotenuse.
More shape and unknown-value problems
🔑 Toolkit for shapes
- Parallel sides: equal gradients. Right angle: m₁m₂ = −1 (or Pythagoras).
- Collinear (three points on one line): gradients between pairs are equal.
- Isosceles: two equal lengths (compare squared lengths, no need for roots).
- Parallelogram: the diagonals have the same mid-point. Rhombus: the diagonals also cross at 90°.
📘 Example 6 · Show that A(1, 1), B(5, 2), C(6, 5), D(2, 4) is a parallelogram
- AB: gradient = (2 − 1)/(5 − 1) = ¼. DC: gradient = (5 − 4)/(6 − 2) = ¼. So AB ∥ DC.
- AD: gradient = (4 − 1)/(2 − 1) = 3. BC: gradient = (5 − 2)/(6 − 5) = 3. So AD ∥ BC.
- Both pairs of opposite sides are parallel.
- Check with diagonals. Mid-point of AC = ((1 + 6)/2, (1 + 5)/2) = (3.5, 3).
- Mid-point of BD = ((5 + 2)/2, (2 + 4)/2) = (3.5, 3). The same, so the diagonals bisect each other: ABCD is a parallelogram. ✔
📘 Example 7 · P(1, 2), Q(4, 5) and R(7, k) are collinear. Find k
- Gradient PQ = (5 − 2)/(4 − 1) = 1.
- Gradient QR = (k − 5)/(7 − 4) = (k − 5)/3.
- Collinear, so the gradients are equal: (k − 5)/3 = 1.
- k − 5 = 3, so k = 8. Check: R(7, 8) lies on y = x + 1. ✔
📘 Example 8 · A(1, 1), B(4, 2), C(3, k). Angle ABC = 90°. Find k
- Gradient BA = (1 − 2)/(1 − 4) = 1/3.
- Gradient BC = (k − 2)/(3 − 4) = 2 − k.
- Right angle at B: (1/3)(2 − k) = −1.
- 2 − k = −3, so k = 5.
- Check: gradient BC = (5 − 2)/(3 − 4) = −3 and (1/3)(−3) = −1. ✔
📘 Example 9 · Find the points on the y axis that are 5 units from (3, −1)
- A point on the y axis is (0, y).
- Distance² = (3 − 0)² + (−1 − y)² = 9 + (y + 1)² = 25.
- (y + 1)² = 16, so y + 1 = 4 or y + 1 = −4.
- y = 3 or y = −5. The points are (0, 3) and (0, −5).
- Check (0, 3): √(9 + 16) = 5. ✔
🧪 Simulation: drag two points
Drag A or B on the grid (or type their co-ordinates). Gradient, distance, mid-point and equations update as numbered steps.
A B
✏️ Try it
- A(−2, 3) and B(4, −5). Find the length AB and the mid-point of AB.
- Show that the triangle with vertices A(1, 0), B(4, 1), C(3, 4) has a right angle at B, and find its area.
- Find the points on the x axis that are 5 units from the point (1, 4).
Answers
1. Step 1: x₂ − x₁ = 4 − (−2) = 6 and y₂ − y₁ = −5 − 3 = −8. Step 2: AB = √(36 + 64) = √100 = 10. Step 3: mid-point = ((−2 + 4)/2, (3 + (−5))/2) = (1, −1).
2. Step 1: gradient BA = (0 − 1)/(1 − 4) = 1/3. Step 2: gradient BC = (4 − 1)/(3 − 4) = −3. Step 3: (1/3)(−3) = −1, so the angle at B is 90°. Step 4: AB² = 9 + 1 = 10, BC² = 1 + 9 = 10, so the legs are both √10. Step 5: area = ½ × √10 × √10 = 5.
3. Step 1: a point on the x axis is (x, 0). Step 2: distance² = (x − 1)² + (0 − 4)² = 25. Step 3: (x − 1)² = 9, so x − 1 = 3 or x − 1 = −3. Step 4: x = 4 or x = −2: the points are (4, 0) and (−2, 0). Check (4, 0): √(9 + 16) = 5 ✔.
The equation of a straight line
- “Straight” means a constant direction, that is a fixed gradient.
- So every point (x, y) on the line, joined to a known point, gives the same gradient.
- That condition, written as an equation, is the equation of the line.
📘 Example 1 (book Example 2.3) · The line with gradient 2 through (0, −5)
- Take a general point (x, y) on the line.
- Gradient of the line from (0, −5) to (x, y) = (y − (−5))/(x − 0) = (y + 5)/x.
- The gradient must be 2, so (y + 5)/x = 2.
- Multiply by x: y + 5 = 2x.
- y = 2x − 5. Since (x, y) was any point on the line, this is the equation of the line.
- The same steps work for any gradient m and y-intercept (0, c): the line is y = mx + c.
- Here m = 2 and c = −5.
Drawing a line, given its equation
- First recognise the form of the equation. The form tells you how to draw it quickly.
| Form | What it is | How to draw it | Example |
|---|---|---|---|
| x = a | parallel to the y axis | vertical line through (a, 0) | x = 3 |
| y = b | parallel to the x axis | horizontal line through (0, b) | y = 2 |
| y = mx | through the origin, gradient m | start at (0, 0); go 1 along, m up | y = ½x, y = −4x |
| y = mx + c | gradient m, y-intercept c | start at (0, c); follow the gradient | y = x − 1 |
| px + qy + r = 0 | the “tidy” general form | find both axis intercepts, or rearrange to y = mx + c | 2x + 3y − 6 = 0 |
📘 Example 2 (book Example 2.4) · Sketch x = 5, y = 0 and y = x. Describe the triangle they form
- x = 5 is parallel to the y axis and passes through (5, 0).
- y = 0 is the x axis itself.
- y = x has gradient 1 and passes through the origin.
- Vertices: O(0, 0); A(5, 0) where x = 5 meets y = 0; B where x = 5 meets y = x, so x = y = 5: B(5, 5).
- OA = 5 and AB = 5, and the angle at A is 90° (a vertical line meets the x axis).
- The triangle is an isosceles right-angled triangle.
📘 Example 3 (book Example 2.5) · Draw y = x − 1 and 3x + 4y = 24 on the same axes
- y = x − 1 has gradient 1 and passes through (0, −1).
- Put y = 0: x = 1, so it also passes through (1, 0).
- For 3x + 4y = 24, put x = 0: 4y = 24, so y = 6. The point (0, 6).
- Put y = 0: 3x = 24, so x = 8. The point (8, 0).
- Draw a line through each pair of points. They are the lines in the figure.
Finding the equation of a line
- The easiest method depends on the information you are given.
(i) Given the gradient m and one point (x₁, y₁)
- y − y₁ = m(x − x₁) is the most useful form of all.
- If the point is (0, c) it becomes the familiar y = mx + c.
- If the point is the origin it becomes y = mx.
📘 Example 4 (book Example 2.6) · Gradient 3, through (2, −4)
- Use y − y₁ = m(x − x₁) with m = 3, (x₁, y₁) = (2, −4).
- y − (−4) = 3(x − 2), so y + 4 = 3(x − 2).
- Expand: y + 4 = 3x − 6.
- y = 3x − 10. Check: x = 2 gives 6 − 10 = −4. ✔
(ii) Given two points (x₁, y₁) and (x₂, y₂)
- Find the gradient m = (y₂ − y₁)/(x₂ − x₁), then use y − y₁ = m(x − x₁).
- Written as one formula: = .
📘 Example 5 (book Example 2.7) · The line joining (2, 4) and (5, 3)
- (x₁, y₁) = (2, 4) and (x₂, y₂) = (5, 3).
- Gradient m = (3 − 4)/(5 − 2) = −1/3.
- Use y − 4 = −⅓(x − 2).
- Multiply by 3: 3y − 12 = −(x − 2) = −x + 2.
- Collect terms: x + 3y − 14 = 0.
- Check (5, 3): 5 + 9 − 14 = 0. ✔
(iii) Given both intercepts (a, 0) and (0, b)
📘 Example 6 (book “?” question) · Show that the line through (a, 0) and (0, b) is x/a + y/b = 1
- Take (x₁, y₁) = (0, b) and (x₂, y₂) = (a, 0).
- The formula gives (y − b)/(0 − b) = (x − 0)/(a − 0).
- So (y − b)/(−b) = x/a. Multiply both sides by −1: (y − b)/b = −x/a.
- Split the left side: y/b − 1 = −x/a.
- Add x/a and 1 to both sides: x/a + y/b = 1.
- Use: the line through (4, 0) and (0, 3) is x/4 + y/3 = 1, i.e. 3x + 4y = 12.
Different techniques to solve problems
📘 Example 7 (book Example 2.8) · Find the equations of lines (a) to (e) in the figure
- (a) passes through (0, 2) with gradient 1: y = x + 2.
- (b) is parallel to the x axis through (0, 4): y = 4.
- (c) is parallel to the y axis through (−3, 0): x = −3.
- (d) passes through the origin with gradient −2: y = −2x.
- (e) passes through (0, −1) with gradient −⅕: y = −⅕x − 1.
- Multiply by 5: 5y = −x − 5, so x + 5y + 5 = 0.
📘 Example 8 (book Example 2.9) · Two sides of a parallelogram are 2y = x + 12 and y = 4x − 10. The origin is a vertex. Find the other two sides
- Divide 2y = x + 12 by 2: y = ½x + 6. Gradient ½, through (0, 6).
- y = 4x − 10 has gradient 4 and passes through (0, −10).
- Opposite sides of a parallelogram are parallel, so the other sides have gradients ½ and 4.
- Both pass through the origin (the vertex), so they are y = ½x and y = 4x.
- Check by finding the fourth vertex: ½x + 6 = 4x − 10 gives x = 32/7, which lies on both given sides.
📘 Example 9 (book Example 2.10) · The perpendicular bisector of P(−4, 5) and Q(2, 3)
- Gradient PQ = (3 − 5)/(2 − (−4)) = −2/6 = −⅓.
- Perpendicular gradient: −⅓ × m = −1, so m = 3.
- The bisector passes through the mid-point R = ((−4 + 2)/2, (5 + 3)/2) = (−1, 4).
- Use y − y₁ = m(x − x₁): y − 4 = 3(x − (−1)) = 3x + 3.
- y = 3x + 7. Check R: 3(−1) + 7 = 4. ✔
- Every point on a perpendicular bisector is the same distance from P as from Q.
📘 Example 10 · The line through (−2, 3) parallel to 5x + 2y = 7, and the line through (4, −1) perpendicular to x − 3y + 6 = 0
- (Parallel.) 5x + 2y = 7 gives 2y = −5x + 7, so the gradient is −5/2.
- Parallel means the same gradient. y − 3 = −5/2 (x + 2).
- Multiply by 2: 2y − 6 = −5x − 10. 5x + 2y + 4 = 0. Check (−2, 3): −10 + 6 + 4 = 0 ✔.
- (Perpendicular.) x − 3y + 6 = 0 gives 3y = x + 6, so the gradient is 1/3.
- Perpendicular gradient = −3 (since 1/3 × (−3) = −1).
- y − (−1) = −3(x − 4), so y + 1 = −3x + 12. y = −3x + 11, or 3x + y − 11 = 0.
✏️ Try it
- Find the equation of the line through (−1, 4) with gradient −2.
- Find the equation of the line through (2, −3) and (6, 5).
- Find the perpendicular bisector of A(1, 1) and B(5, 7), in the form ax + by = c.
Answers
1. Step 1: y − 4 = −2(x − (−1)) = −2(x + 1). Step 2: y − 4 = −2x − 2. y = −2x + 2.
2. Step 1: m = (5 − (−3))/(6 − 2) = 8/4 = 2. Step 2: y − (−3) = 2(x − 2), so y + 3 = 2x − 4. y = 2x − 7. Check (6, 5): 12 − 7 = 5 ✔.
3. Step 1: gradient AB = (7 − 1)/(5 − 1) = 6/4 = 3/2. Step 2: perpendicular gradient = −2/3. Step 3: mid-point = (3, 4). Step 4: y − 4 = −⅔(x − 3), so 3y − 12 = −2x + 6. 2x + 3y = 18. Check: (0, 6) is equidistant, √(1 + 25) from A and √(25 + 1) from B ✔.
The intersection of two lines
- Where two lines meet, the point satisfies both equations.
- So you find it by solving the equations simultaneously.
- Two distinct lines either meet at one point or are parallel (no point).
📘 Example 1 (book Example 2.11) · Sketch x + 2y = 1 and 2x + 3y = 4 and find where they meet
- x + 2y = 1 passes through (0, ½) and (1, 0). 2x + 3y = 4 passes through (0, 4/3) and (2, 0).
- Label the equations: (1) x + 2y = 1 and (2) 2x + 3y = 4.
- Make the x coefficients match. (1) × 2: 2x + 4y = 2.
- Subtract (2): (2x + 4y) − (2x + 3y) = 2 − 4, so y = −2.
- Substitute into (1): x + 2(−2) = 1, so x − 4 = 1.
- x = 5. The lines meet at (5, −2).
- Check in (2): 2(5) + 3(−2) = 10 − 6 = 4. ✔
📘 Example 2 (book Example 2.12) · Vertices of the triangle with sides x + y = 4, 2x − y = 8 and x + 2y = −1
- Label: (1) x + y = 4, (2) 2x − y = 8, (3) x + 2y = −1. Sketch using the axis crossings.
- (1) crosses at (0, 4) and (4, 0). (2) crosses at (0, −8) and (4, 0). (3) crosses at (0, −½) and (−1, 0).
- (1) and (2) both pass through (4, 0), so that is a vertex. A = (4, 0).
- B: solve (2) and (3). (2) × 2: 4x − 2y = 16. Add (3): 5x = 15, so x = 3.
- Substitute x = 3 into (2): 6 − y = 8, so y = −2. B = (3, −2).
- C: solve (1) and (3). Subtract: (x + y) − (x + 2y) = 4 − (−1), so −y = 5, y = −5.
- Substitute y = −5 into (1): x − 5 = 4, so x = 9. C = (9, −5).
- The vertices are A(4, 0), B(3, −2), C(9, −5).
When there is no intersection
📘 Example 3 (book “?” question) · Line l: 2x − y = 4. Line m: y = 2x − 3. What do you notice?
- Substitute y = 2x − 3 into line l: 2x − (2x − 3) = 4.
- Simplify: 2x − 2x + 3 = 4, so 3 = 4.
- That is false, so no values of x and y satisfy both equations.
- Check the gradients: l is y = 2x − 4 (gradient 2) and m has gradient 2.
- Same gradient, different intercepts, so the lines are parallel and never meet.
📘 Example 4 · The foot of the perpendicular from P(0, 7) to the line y = 2x + 1, and the distance from P to the line
- The line has gradient 2, so the perpendicular has gradient −½.
- The perpendicular through P(0, 7): y = −½x + 7.
- Where they meet: 2x + 1 = −½x + 7.
- 2½x = 6, so x = 2.4. Then y = 2(2.4) + 1 = 5.8. The foot is F(2.4, 5.8).
- Distance PF = √[(2.4 − 0)² + (5.8 − 7)²] = √(5.76 + 1.44) = √7.2.
- √7.2 = (6√5)/5 ≈ 2.68. This is the shortest distance from P to the line.
📘 Example 5 · The medians of the triangle A(1, 1), B(7, 1), C(4, 7) meet at one point. Find it
- A median joins a vertex to the mid-point of the opposite side.
- Mid-point of BC = (5.5, 4). Median from A: gradient = (4 − 1)/(5.5 − 1) = 3/4.5 = ⅔. Line: y − 1 = ⅔(x − 1).
- Mid-point of AC = (2.5, 4). Median from B: gradient = (4 − 1)/(2.5 − 7) = 3/(−4.5) = −⅔. Line: y − 1 = −⅔(x − 7).
- Set equal: ⅔(x − 1) = −⅔(x − 7), so x − 1 = −x + 7.
- 2x = 8, so x = 4. Then y = 1 + ⅔(3) = 3. The medians meet at (4, 3).
- Check with the third median from C(4, 7) to the mid-point (4, 1) of AB: it is the line x = 4, which passes through (4, 3). ✔
- This point is the centroid. Notice ((1 + 7 + 4)/3, (1 + 1 + 7)/3) = (4, 3): the mean of the vertices.
🧪 Try it: two-line solver (ax + by = c)
Line 1
Line 2
🕰️ Historical note
- René Descartes was born near Tours in France in 1596 and became a soldier, traveller and optical-instrument maker.
- He settled in Holland and wrote on mathematics, science and philosophy; his appendix La Géométrie founded co-ordinate geometry.
- He moved to Sweden in 1649 at the invitation of Queen Christina and died there the next year.
✏️ Try it
- Solve 3x + 2y = 13 and x − y = 1.
- The lines y = 0, y = x and x + y = 6 form a triangle. Find its vertices and area.
- Do the lines 2x + 3y = 6 and 4x + 6y = 7 meet?
Answers
1. Step 1: from x − y = 1, x = y + 1. Step 2: 3(y + 1) + 2y = 13, so 5y = 10. Step 3: y = 2, x = 3. (3, 2). Check: 9 + 4 = 13 ✔.
2. Step 1: y = 0 and y = x meet at (0, 0). Step 2: y = 0 and x + y = 6 meet at (6, 0). Step 3: y = x and x + y = 6 give 2x = 6: (3, 3). Step 4: base 6 along the x axis, height 3. Area = ½ × 6 × 3 = 9.
3. Step 1: (1) × 2 gives 4x + 6y = 12. Step 2: line 2 says 4x + 6y = 7. Step 3: 12 ≠ 7, so no solution. They are parallel (both have gradient −⅔), so they never meet.
Drawing curves
- You can always plot a curve point by point if you know its equation.
- Often all you need is the general shape: a sketch with the key points labelled is enough.
- Key points: where it crosses the axes, and where it turns.
Curves of the form y = xⁿ
- Book question: how do even and odd n differ? Even: y is never negative, and the y axis is a line of symmetry. Odd: the origin is a centre of rotational symmetry (order 2).
- Larger n makes the curve flatter near the origin and steeper beyond x = 1.
Stationary points
- A turning point is where the curve changes from increasing to decreasing (a maximum) or from decreasing to increasing (a minimum).
- Turning points are stationary points: the gradient is zero there.
- A polynomial of order n has at most n − 1 stationary points.
- Not every stationary point must appear. y = x⁴ − 4x³ + 5x² could have 3 but has only one, at the origin.
Behaviour for large x
- For f(x) = x³ + 2x² + 3x + 9, take 1000 as a “large” number.
| x | x³ | 2x² | 3x | +9 | f(x) |
|---|---|---|---|---|---|
| 1000 | 1 000 000 000 | 2 000 000 | 3000 | 9 | 1 002 003 009 |
| −1000 | −1 000 000 000 | 2 000 000 | −3000 | 9 | −998 002 991 |
- The x³ term is by far the biggest: it is the dominant term.
- For a polynomial of order n, the term in xⁿ dominates as x → ±∞.
- So f(x) → +∞ or f(x) → −∞ at each end. Ask two questions about the xⁿ term: is n even or odd? Is its coefficient positive or negative?
Intersections with the axes
- y axis: the constant term. y = x⁸ + 5x⁶ + 17x³ + 23 crosses at (0, 23); y = x³ + x crosses at the origin.
- x axis: if the polynomial is factorised, each factor (x − r) gives a crossing at x = r.
- y = (x − 2)(x − 8)(x − 9) crosses the x axis at x = 2, 8 and 9 (each makes one bracket zero).
📘 Example 1 (book Example 2.13) · Sketch y = x³ − 3x² − x + 3 = (x + 1)(x − 1)(x − 3)
- Order 3, so at most 2 stationary points.
- The x³ term has coefficient +1 and n = 3 is odd: the curve goes from bottom-left to top-right.
- y axis: the constant term is 3, so it crosses at (0, 3).
- x axis: the factors give (−1, 0), (1, 0) and (3, 0).
- Join up: up through (−1, 0), over a maximum above the axis, down through (1, 0), under a minimum, up through (3, 0).
📘 Example 2 · Sketch y = −(x + 2)(x − 1)(x − 4)
- Roots: x = −2, 1 and 4, so it crosses the x axis at (−2, 0), (1, 0) and (4, 0).
- y axis: put x = 0. y = −(2)(−1)(−4) = −8. So (0, −8).
- Leading term: −(x)(x)(x) = −x³. n = 3 is odd and the coefficient is negative: top-left to bottom-right.
- Start high on the left, down through (−2, 0) to a minimum below the axis, up through (1, 0) to a maximum, then down through (4, 0).
- Check one value: x = −3 gives −(−1)(−4)(−7) = 28 > 0, high on the left. ✔
Roots, factors and repeated factors
- Each factor (x − r) is a root of f(x) = 0 and a crossing of the x axis.
- A polynomial of degree n crosses the x axis at most n times, and f(x) = 0 has at most n roots.
- A cubic may cross fewer than three times: f(x) = x³ − x² − 4x + 6 crosses once.
- A repeated factor (x − r)² makes the curve touch the x axis at r, without crossing.
📘 Example 3 · Sketch y = (x + 2)(x − 1)²
- x = −2 is a single root: the curve crosses the axis there.
- x = 1 is a double root: the curve touches the axis there and turns.
- y axis: y = (2)(1)² = 2. So (0, 2).
- Leading term x³ (positive, odd): bottom-left to top-right.
- Up through (−2, 0), a maximum (at x = −1, y = 4), down to touch the axis at (1, 0) (a minimum there), then up again.
- Book question: what about (x − a)³ or (x − a)⁴? (x − a)³ crosses the axis at (a, 0) but is flat there. (x − a)⁴ touches the axis at (a, 0) and is flat there.
- The same pattern holds for any odd or even power: odd power crosses, even power touches.
🧪 Simulation: build a cubic from its roots
y = ± (x − r₁)(x − r₂)(x − r₃). Slide the roots together to see a double or triple root.
Curves of the form y = 1/xⁿ (for x ≠ 0)
- x = 0 is excluded because 1/0 is undefined.
- n = 3, 5, … behave like n = 1; n = 4, 6, … behave like n = 2.
- The curve gets closer and closer to both axes but never reaches them. These lines are asymptotes.
| Word | Meaning |
|---|---|
| Asymptote | a line the curve approaches but never reaches |
| Vertical, horizontal, oblique | the three directions an asymptote can have (here the axes x = 0 and y = 0) |
| Discontinuous | a curve with separate branches, like y = 1/x |
| Continuous | a curve with no breaks, like y = x² |
✏️ Try it
- Describe a sketch of y = x(x − 2)(x + 3).
- Describe y = −(x − 2)²(x + 1): intercepts and shape.
- What happens to f(x) = −2x⁴ + x³ + 5 as x → ±∞? How many stationary points at most?
Answers
1. Step 1: roots x = −3, 0, 2: crosses at (−3, 0), (0, 0) and (2, 0). Step 2: y axis at (0, 0). Step 3: cubic with positive x³: bottom-left to top-right. It crosses the axis three times.
2. Step 1: x = −1 is a single root (crosses); x = 2 is a double root (touches). Step 2: y axis: −(4)(1) = −4, so (0, −4). Step 3: the leading term is −x³ (odd, negative): top-left to bottom-right. It crosses at (−1, 0), touches at (2, 0), and meets the y axis at (0, −4).
3. Step 1: the dominant term is −2x⁴ (even power, negative coefficient). Step 2: f(x) → −∞ as x → +∞ and as x → −∞. Step 3: order 4, so at most 4 − 1 = 3 stationary points.
The circle
- A circle is the locus (path) of all points in a plane at a fixed distance (the radius) from a fixed point (the centre).
- You already know the distance formula, so you can turn that definition into an equation.
Centre at the origin: x² + y² = r²
- Take any point (x, y) on the circle of radius 3, centre (0, 0).
- Its distance from the origin is √[(x − 0)² + (y − 0)²].
- That distance is 3, so √(x² + y²) = 3.
- Square both sides: x² + y² = 9.
- In general, centre (0, 0) and radius r: x² + y² = r².
Any centre: (x − a)² + (y − b)² = r²
🔑 Key ideas
- (x − a)² + (y − b)² = r² has centre (a, b) and radius r.
- Take care with the signs: (x + 3) means a = −3, and (y − 2) means b = 2.
- The right-hand side is r², not r: 25 means radius 5.
- When a = b = 0 you get x² + y² = r².
📘 Example 1 · Write the equation of the circle with centre (2, −3) and radius 4, and expand it
- a = 2, b = −3, r = 4, so r² = 16.
- (x − 2)² + (y − (−3))² = 16, that is (x − 2)² + (y + 3)² = 16.
- Expand: x² − 4x + 4 + y² + 6y + 9 = 16.
- Collect: x² + y² − 4x + 6y + 13 = 16.
- x² + y² − 4x + 6y − 3 = 0.
The general (expanded) form and completing the square
- Expanding always gives x² + y² + px + qy + k = 0 (the x² and y² have the same coefficient 1).
- To find the centre and radius, complete the square in x and in y.
- Halve the coefficient of x, halve the coefficient of y.
📘 Example 2 · Find the centre and radius of x² + y² − 6x + 4y − 12 = 0
- Group: (x² − 6x) + (y² + 4y) = 12.
- Half of −6 is −3. Complete the x bracket: x² − 6x = (x − 3)² − 9.
- Half of 4 is 2. Complete the y bracket: y² + 4y = (y + 2)² − 4.
- Substitute: (x − 3)² − 9 + (y + 2)² − 4 = 12.
- (x − 3)² + (y + 2)² = 12 + 9 + 4 = 25.
- Compare with (x − a)² + (y − b)² = r²: centre (3, −2), radius 5.
- Check: the point (6, 2) is 3 right and 4 up from the centre: distance √(9 + 16) = 5. ✔
- Need the radius to exist: the right-hand side must be positive. If it is 0 the “circle” is a single point; if negative there is no circle at all.
- Shortcut: for x² + y² + px + qy + k = 0, centre (−p/2, −q/2) and r² = p²/4 + q²/4 − k.
🧪 Try it: completing the square for a circle x² + y² + px + qy + k = 0
Is a point on, inside or outside the circle?
| Compare the distance² from the centre with r² | Position |
|---|---|
| (x − a)² + (y − b)² = r² | on the circle |
| (x − a)² + (y − b)² < r² | inside |
| (x − a)² + (y − b)² > r² | outside |
📘 Example 3 · For the circle (x − 3)² + (y + 2)² = 25, are P(0, 2), Q(4, −1), R(7, 3) on, inside or outside?
- P: (0 − 3)² + (2 + 2)² = 9 + 16 = 25 = r². On the circle.
- Q: (4 − 3)² + (−1 + 2)² = 1 + 1 = 2 < 25. Inside.
- R: (7 − 3)² + (3 + 2)² = 16 + 25 = 41 > 25. Outside.
Finding a circle from given information
📘 Example 4 · A(−1, 2) and B(5, −6) are the ends of a diameter. Find the equation of the circle
- The centre is the mid-point of the diameter: ((−1 + 5)/2, (2 + (−6))/2) = (2, −2).
- The radius is the distance from the centre to A: √[(−1 − 2)² + (2 − (−2))²] = √(9 + 16) = 5.
- Check with the diameter: AB = √(6² + 8²) = 10 = 2r. ✔
- (x − 2)² + (y + 2)² = 25.
📘 Example 5 · Find the circle through O(0, 0), A(8, 0) and B(0, 6)
- The centre is equidistant from O and A, so it lies on the perpendicular bisector of the chord OA: the line x = 4.
- It is also equidistant from O and B: the perpendicular bisector of OB is y = 3.
- They meet at the centre C(4, 3).
- Radius = distance CO = √(16 + 9) = 5.
- (x − 4)² + (y − 3)² = 25.
- Check B: (0 − 4)² + (6 − 3)² = 16 + 9 = 25. ✔ (AB is a diameter, since the angle at O is 90°.)
- Touching the axes. A circle with centre (a, b) touches the y axis if r = |a| and the x axis if r = |b|.
- Example: centre (4, 3) and radius 3 touches the x axis at (4, 0).
Tangent and radius
🔑 Key idea
- A tangent touches a circle at exactly one point.
- The tangent is perpendicular to the radius drawn to the point of contact.
- So: gradient of tangent = −1 ÷ (gradient of the radius).
📘 Example 6 · The tangent to (x − 3)² + (y + 2)² = 25 at P(6, 2)
- Centre C(3, −2). Check P lies on the circle: 9 + 16 = 25. ✔
- Gradient of the radius CP = (2 − (−2))/(6 − 3) = 4/3.
- Tangent gradient = −1 ÷ (4/3) = −3/4.
- Use y − y₁ = m(x − x₁): y − 2 = −¾(x − 6).
- Multiply by 4: 4y − 8 = −3x + 18.
- 3x + 4y − 26 = 0. Check P: 18 + 8 − 26 = 0. ✔
🧪 Simulation: move a circle
Set the centre (a, b) and radius r. The equation updates in standard and expanded form.
✏️ Try it
- Write the equation of the circle with centre (−1, 4) and radius 6, and expand it.
- Find the centre and radius of x² + y² + 8x − 2y − 8 = 0.
- A circle has centre (1, 2) and passes through (4, 6). Find its equation and the tangent at (4, 6).
Answers
1. Step 1: a = −1, b = 4, r² = 36. Step 2: (x + 1)² + (y − 4)² = 36. Step 3: x² + 2x + 1 + y² − 8y + 16 = 36. x² + y² + 2x − 8y − 19 = 0.
2. Step 1: (x² + 8x) + (y² − 2y) = 8. Step 2: (x + 4)² − 16 + (y − 1)² − 1 = 8. Step 3: (x + 4)² + (y − 1)² = 25. Centre (−4, 1), radius 5.
3. Step 1: r² = (4 − 1)² + (6 − 2)² = 9 + 16 = 25. Step 2: (x − 1)² + (y − 2)² = 25. Step 3: radius gradient = (6 − 2)/(4 − 1) = 4/3, so tangent gradient = −¾. Step 4: y − 6 = −¾(x − 4), so 4y − 24 = −3x + 12. 3x + 4y = 36.
The intersection of a line and a curve
- A line and a curve in the same plane can meet in three ways: distinct points, tangent, or not at all.
- A tangent touches the curve at a point of contact: two coincident points of intersection.
- A tangent may also cross the curve somewhere else.
The method
| b² − 4ac | Roots | Line and curve |
|---|---|---|
| > 0 | two distinct real roots | two distinct points of intersection |
| = 0 | one repeated root | the line is a tangent |
| < 0 | no real roots | no intersection |
📘 Example 1 (book Example 2.14) · Where does y − 3x = 2 meet y = 2x²?
- (1) y − 3x = 2 and (2) y = 2x².
- Make y the subject of (1): y = 3x + 2. Call this (3).
- Substitute (3) into (2): 3x + 2 = 2x².
- Rearrange: 2x² − 3x − 2 = 0.
- Factorise: (2x + 1)(x − 2) = 0, so x = 2 or x = −½.
- Find y from the line y = 3x + 2: x = 2 gives y = 8; x = −½ gives y = ½.
- The points are (2, 8) and (−½, ½). Check (2, 8) in y = 2x²: 2 × 4 = 8. ✔
📘 Example 2 (book Example 2.15) · (i) Find k for which 2y = x + k is a tangent to y² = 2x. (ii) Find the point of contact
- (1) 2y = x + k and (2) y² = 2x. A tangent meets the curve at one point only.
- Make x the subject of (1): x = 2y − k. Call this (3).
- Substitute (3) into (2): y² = 2(2y − k) = 4y − 2k.
- Rearrange: y² − 4y + 2k = 0. Call this (4). It has a = 1, b = −4, c = 2k.
- One repeated root means b² − 4ac = 0: (−4)² − 4(1)(2k) = 0.
- 16 − 8k = 0, so k = 2.
- (ii) Put k = 2 in (4): y² − 4y + 4 = 0, so (y − 2)² = 0 and y = 2 (repeated root, as expected).
- Put y = 2 in 2y = x + 2: 4 = x + 2, so x = 2. The tangent touches the curve at (2, 2).
Line and circle
- The method is identical: substitute the line into the circle to get a quadratic, then use b² − 4ac.
- Two points: a chord. One point: a tangent. No points: the line misses the circle.
📘 Example 3 · Where does y = x + 1 meet x² + y² = 25? Find the distance between the points
- Substitute y = x + 1: x² + (x + 1)² = 25.
- Expand: x² + x² + 2x + 1 = 25, so 2x² + 2x − 24 = 0.
- Divide by 2: x² + x − 12 = 0.
- Factorise: (x + 4)(x − 3) = 0, so x = −4 or x = 3.
- y = x + 1: x = −4 gives y = −3; x = 3 gives y = 4.
- Points: (−4, −3) and (3, 4). Check: 16 + 9 = 25 and 9 + 16 = 25. ✔
- Distance = √[(3 − (−4))² + (4 − (−3))²] = √(49 + 49) = √98 = 7√2.
📘 Example 4 · For which values of k is y = x + k a tangent to x² + y² = 25?
- Substitute: x² + (x + k)² = 25.
- Expand: 2x² + 2kx + k² − 25 = 0. Here a = 2, b = 2k, c = k² − 25.
- Tangent: b² − 4ac = 0, so (2k)² − 4(2)(k² − 25) = 0.
- 4k² − 8k² + 200 = 0, so 200 − 4k² = 0 and k² = 50.
- k = ±5√2 (≈ ±7.07).
- Check the contact point for k = 5√2: x = −b/(2a) = −2k/4 = −5√2/2 and y = x + k = 5√2/2. Distance from O: √(25/2 + 25/2) = 5. ✔
- Two points need 200 − 4k² > 0, i.e. −5√2 < k < 5√2; no points when |k| > 5√2.
Finding a set of values
📘 Example 5 · The line y = 2x + k and the curve y = x². Find the values of k giving 0, 1 or 2 intersections
- Substitute: x² = 2x + k, so x² − 2x − k = 0. Here a = 1, b = −2, c = −k.
- Discriminant = (−2)² − 4(1)(−k) = 4 + 4k.
- No intersection: 4 + 4k < 0, so k < −1.
- Tangent (one point): 4 + 4k = 0, so k = −1. The contact is at x = 1: (1, 1).
- Two points: 4 + 4k > 0, so k > −1.
📘 Example 6 · The line x + y = k and the curve xy = 4. Find k when the line is a tangent, and the values for which they do not meet
- From the line y = k − x. Substitute into xy = 4: x(k − x) = 4.
- Rearrange: kx − x² = 4, so x² − kx + 4 = 0. Here a = 1, b = −k, c = 4.
- Discriminant = (−k)² − 4(1)(4) = k² − 16.
- Tangent: k² − 16 = 0, so k = 4 or k = −4. (For k = 4: x² − 4x + 4 = 0, x = 2, y = 2.)
- No intersection: k² − 16 < 0, so (k − 4)(k + 4) < 0.
- Sketch the U shape: negative between the roots. −4 < k < 4.
🧪 Simulation: slide a line across a curve
Choose a curve and drag the slider: the line moves, and the working shows the discriminant deciding 2, 1 or 0 intersections.
✏️ Try it
- Find where y = x + 3 meets y = x² + 1.
- Find the values of k for which y = 2x + k is a tangent to x² + y² = 5.
- For which values of k does y = 3x + k not meet y = x² + 2x?
Answers
1. Step 1: x² + 1 = x + 3. Step 2: x² − x − 2 = 0, so (x − 2)(x + 1) = 0. Step 3: x = 2 gives y = 5; x = −1 gives y = 2. (2, 5) and (−1, 2).
2. Step 1: x² + (2x + k)² = 5, so 5x² + 4kx + k² − 5 = 0. Step 2: discriminant = 16k² − 20(k² − 5) = 100 − 4k². Step 3: tangent means 100 − 4k² = 0, so k² = 25. k = 5 or k = −5. (Check k = 5: x = −4k/10 = −2, y = 1; 4 + 1 = 5 ✔.)
3. Step 1: x² + 2x = 3x + k, so x² − x − k = 0. Step 2: discriminant = 1 + 4k. Step 3: no intersection needs 1 + 4k < 0. k < −¼.
Chapter summary
| Idea | Rule |
|---|---|
| Gradient | m = (y₂ − y₁)/(x₂ − x₁); m = tan θ with equal scales |
| Parallel / perpendicular | m₁ = m₂ / m₁m₂ = −1 |
| Distance AB | √[(x₂ − x₁)² + (y₂ − y₁)²] |
| Mid-point | ((x₁ + x₂)/2, (y₁ + y₂)/2) |
| Forms of a line | x = a · y = b · y = mx · y = mx + c · y − y₁ = m(x − x₁) · (y − y₁)/(y₂ − y₁) = (x − x₁)/(x₂ − x₁) · px + qy + r = 0 |
| Meeting of two lines | solve simultaneously; parallel lines never meet |
| Polynomial sketch | y-intercept, x-intercepts (factors), end behaviour from the xⁿ term, repeated factors touch |
| Circle | (x − a)² + (y − b)² = r²; centre (a, b), radius r; tangent ⟂ radius |
| Line meets curve | substitute, get ax² + bx + c = 0; b² − 4ac > 0, = 0, < 0 gives 2, 1 (tangent), 0 points |
- Always sketch first: a diagram catches wrong signs.
- Substitution always turns “line meets curve” into a quadratic, so Chapter 1 (the discriminant) does the work.
- Check answers by substituting back into both equations.
📄 Practice questions
The book's Exercises 2A to 2F, three activities, and a Check yourself set are in the printable assignment for this chapter (download card below the page).
Mini-quiz
Source: Pure Mathematics 1 (Cambridge International AS & A Level Mathematics, Hodder Education, Sophie Goldie), Chapter 2 (Co-ordinate geometry). The explanations, extra examples, diagrams, simulations, tool, Try it answers and quiz are Guru Jazzy's own. This page is not made or endorsed by Cambridge or Hodder Education.