← AS & A Level Mathematics

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

  1. Use Cartesian co-ordinates in two dimensions, and say the difference between plot, sketch and draw.
  2. Find the gradient of a line from two points, and read what its sign and size mean.
  3. Recognise parallel lines (m₁ = m₂) and perpendicular lines (m₁m₂ = −1).
  4. Find the distance between two points and the mid-point of a line joining them.
  5. Write and draw straight lines in every standard form, and find the equation of a line from given information.
  6. Find where two lines meet, sketch polynomial and reciprocal curves, and use the circle (x − a)² + (y − b)² = r².
  7. 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.
−4−3−2−11234−4−3−2−11234xy(3, 2)along 3up 2I (+, +)II (−, +)III (−, −)IV (+, −)
Two dimensions: the point (3, 2) is 3 along and 2 up from the origin. The axes split the plane into four quadrants.
(3, 4, 5) yzx 453
Three dimensions: add a z axis. The point (3, 4, 5) is 3 along x, 4 along y and 5 up z. (You only need two dimensions in this chapter.)
QuadrantSign of xSign of yExample
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).
Plot mark points exactlyjoin as accurately as you cangraph paper; read valuesmost accurate Sketch right general shapelabel axis interceptsand turning pointsno graph paper Draw accuracy to suit the questionanything from a roughsketch to an exact plotyour judgement
Plot is the most exact, sketch is a shape with key points marked, draw is somewhere in between.

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.
1234567812345678xyA (2, 4)B (6, 7)run = 6 − 2 = 4rise = 7 − 4 = 3
A(2, 4) and B(6, 7): the line rises 3 while it runs 4, so m = 3/4.

📘 Example 1 · Gradient of the line through A(2, 4) and B(6, 7)

  1. Choose (x₁, y₁) = (2, 4) and (x₂, y₂) = (6, 7).
  2. Increase in y: y₂ − y₁ = 7 − 4 = 3.
  3. Increase in x: x₂ − x₁ = 6 − 2 = 4.
  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

  1. First way: m = (−2 − 4) ÷ (5 − (−3)) = −6 ÷ 8.
  2. Simplify: m = −3/4.
  3. Swap the points: m = (4 − (−2)) ÷ (−3 − 5) = 6 ÷ (−8) = −3/4. The same. ✔
  4. 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).
m > 0 m < 0 m = 0 m infinite uphilldownhillhorizontalvertical
Reading left to right: uphill is positive, downhill is negative, horizontal is 0 and vertical has no (infinite) gradient.
  • 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.
−1123456123456xy(0, 2)(4, 4)L₁: m₁ = ½L₂: m₂ = −2
Activity 2.2: L₁ joins (0, 2) to (4, 4) so m₁ = 2/4 = ½. A line perpendicular to it has m₂ = −2. Check: ½ × (−2) = −1.

Why m₁m₂ = −1 (Activity 2.3)

1234561234567xyABCEDAE = 3BE = 2BD = 2CD = 3
AB and BC are equal and perpendicular. Triangles ABE and BCD are congruent: one is the other turned through 90°.
  1. AB = BC (given) and the angles at B make AB ⟂ BC, so the right-angled triangles ABE and BCD are congruent.
  2. Congruent means the legs swap: AE = BD and BE = CD. Here AE = 3, BE = 2, BD = 2, CD = 3.
  3. Gradient of AB: m₁ = BE/AE = 2/3 (going up as you go right).
  4. Gradient of BC: m₂ = CD/(−BD) = 3/(−2) = −3/2 (going up as you go left, so the run is negative).
  5. 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.

Both lines pass through the origin. Whatever m₁ is, the right-angle marker stays right-angled and m₁m₂ stays −1.

    📘 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

    1. (a) Rearrange: 2x + y = 1 gives y = −2x + 1, so m₁ = −2.
    2. (a) x − 2y = 1 gives 2y = x − 1, so y = ½x − ½ and m₂ = ½.
    3. (a) m₁m₂ = −2 × ½ = −1, so the lines are perpendicular.
    4. (b) y = 2x + 3 has m₁ = 2. 4x − y + 1 = 0 gives y = 4x + 1, so m₂ = 4.
    5. (b) m₁ ≠ m₂ and m₁m₂ = 8 ≠ −1, so the lines are neither.

    ✏️ Try it

    1. Find the gradient of the line through (−1, 5) and (3, −3).
    2. Are y = 3x − 1 and 6x − 2y = 5 parallel, perpendicular or neither?
    3. 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 ✔.

    Next: distance and mid-point →

    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.
    1234567812345678xyA (2, 4)B (6, 7)C (6, 4)AC = 6 − 2 = 4BC = 7 − 4 = 3AB = 5
    AC = 6 − 2 = 4 and BC = 7 − 4 = 3, so AB² = 4² + 3² = 25 and AB = 5.
    A (x₁, y₁) B (x₂, y₂) C (x₂, y₁) AC = x₂ − x₁ BC = y₂ − y₁ AB AB² = (x₂ − x₁)² + (y₂ − y₁)²
    The general case. C has co-ordinates (x₂, y₁), so the two legs are x₂ − x₁ and y₂ − y₁.

    🔑 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

    123456789123456xyA (2, 1)B (8, 5)M (5, 3)332223
    A(2, 1) and B(8, 5): M is halfway across (3 + 3) and halfway up (2 + 2). M = (5, 3).
    • 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

    1. Take (x₁, y₁) = (2, 5) and (x₂, y₂) = (6, 3).
    2. (i) Gradient = (3 − 5)/(6 − 2) = −2/4 = −½.
    3. (ii) Length AB = √[(6 − 2)² + (3 − 5)²] = √(16 + 4) = √20 = 2√5.
    4. (iii) Mid-point = ((2 + 6)/2, (5 + 3)/2) = (4, 4).
    5. (iv) m₁ = −½. Perpendicular: m₁m₂ = −1, so −½ × m₂ = −1.
    6. m₂ = 2. Check: −½ × 2 = −1. ✔

    Proving a shape: two methods for a right angle

    −1123412345678xyP (2, 7)Q (3, 2)R (0, 5)RP: m = 1RQ: m = −1
    P(2, 7), Q(3, 2), R(0, 5): is there a right angle at R?

    📘 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

    1. Method 1 (gradients). Gradient RP = (7 − 5)/(2 − 0) = 1.
    2. Gradient RQ = (2 − 5)/(3 − 0) = −1.
    3. Product = 1 × (−1) = −1, so RP ⟂ RQ: a right angle at R.
    4. Method 2 (Pythagoras). PQ² = (3 − 2)² + (2 − 7)² = 1 + 25 = 26.
    5. RP² = (2 − 0)² + (7 − 5)² = 4 + 4 = 8, and RQ² = (3 − 0)² + (2 − 5)² = 9 + 9 = 18.
    6. 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°.
    1234567123456xyA (1, 1)B (5, 2)C (6, 5)D (2, 4)M (3.5, 3)
    ABCD with A(1, 1), B(5, 2), C(6, 5), D(2, 4): opposite sides are parallel and the diagonals share the mid-point (3.5, 3).

    📘 Example 6 · Show that A(1, 1), B(5, 2), C(6, 5), D(2, 4) is a parallelogram

    1. AB: gradient = (2 − 1)/(5 − 1) = ¼. DC: gradient = (5 − 4)/(6 − 2) = ¼. So AB ∥ DC.
    2. AD: gradient = (4 − 1)/(2 − 1) = 3. BC: gradient = (5 − 2)/(6 − 5) = 3. So AD ∥ BC.
    3. Both pairs of opposite sides are parallel.
    4. Check with diagonals. Mid-point of AC = ((1 + 6)/2, (1 + 5)/2) = (3.5, 3).
    5. 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

    1. Gradient PQ = (5 − 2)/(4 − 1) = 1.
    2. Gradient QR = (k − 5)/(7 − 4) = (k − 5)/3.
    3. Collinear, so the gradients are equal: (k − 5)/3 = 1.
    4. 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

    1. Gradient BA = (1 − 2)/(1 − 4) = 1/3.
    2. Gradient BC = (k − 2)/(3 − 4) = 2 − k.
    3. Right angle at B: (1/3)(2 − k) = −1.
    4. 2 − k = −3, so k = 5.
    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)

    1. A point on the y axis is (0, y).
    2. Distance² = (3 − 0)² + (−1 − y)² = 9 + (y + 1)² = 25.
    3. (y + 1)² = 16, so y + 1 = 4 or y + 1 = −4.
    4. y = 3 or y = −5. The points are (0, 3) and (0, −5).
    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

    Solid: line AB. Dashed: the rise and run triangle and the perpendicular bisector (through the mid-point M). The grey square is M.

      ✏️ Try it

      1. A(−2, 3) and B(4, −5). Find the length AB and the mid-point of AB.
      2. 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.
      3. 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 ✔.

      Next: the equation of a straight line →

      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)

      1. Take a general point (x, y) on the line.
      2. Gradient of the line from (0, −5) to (x, y) = (y − (−5))/(x − 0) = (y + 5)/x.
      3. The gradient must be 2, so (y + 5)/x = 2.
      4. Multiply by x: y + 5 = 2x.
      5. 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.
      FormWhat it isHow to draw itExample
      x = aparallel to the y axisvertical line through (a, 0)x = 3
      y = bparallel to the x axishorizontal line through (0, b)y = 2
      y = mxthrough the origin, gradient mstart at (0, 0); go 1 along, m upy = ½x, y = −4x
      y = mx + cgradient m, y-intercept cstart at (0, c); follow the gradienty = x − 1
      px + qy + r = 0the “tidy” general formfind both axis intercepts, or rearrange to y = mx + c2x + 3y − 6 = 0
      −112345−11234xy(3, 0)(0, 2)x = 3y = 2
      (a), (b) Lines parallel to the axes: x = 3 is vertical through (3, 0), y = 2 is horizontal through (0, 2).
      −4−3−2−11234−4−3−2−11234xyy = ½xy = −4x
      (c) y = mx: lines through the origin. y = ½x climbs gently; y = −4x falls steeply.
      −4−3−2−11234−4−3−2−11234xy(0, −1)(1, 0)(0, 1)y = x − 1y = ⅓x + 1
      (d) y = mx + c: gradient m, crossing the y axis at (0, c). y = x − 1 has c = −1; y = ⅓x + 1 has c = 1.
      −112345−11234xy(0, 2)(3, 0)2x + 3y − 6 = 0
      (e) px + qy + r = 0: for 2x + 3y − 6 = 0, put x = 0 to get (0, 2), and put y = 0 to get (3, 0).

      📘 Example 2 (book Example 2.4) · Sketch x = 5, y = 0 and y = x. Describe the triangle they form

      1. x = 5 is parallel to the y axis and passes through (5, 0).
      2. y = 0 is the x axis itself.
      3. y = x has gradient 1 and passes through the origin.
      4. 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).
      5. OA = 5 and AB = 5, and the angle at A is 90° (a vertical line meets the x axis).
      6. The triangle is an isosceles right-angled triangle.
      −11234567−1123456xyOA (5, 0)B (5, 5)y = 0x = 5y = x
      The three lines make an isosceles right-angled triangle OAB with OA = AB = 5.

      📘 Example 3 (book Example 2.5) · Draw y = x − 1 and 3x + 4y = 24 on the same axes

      1. y = x − 1 has gradient 1 and passes through (0, −1).
      2. Put y = 0: x = 1, so it also passes through (1, 0).
      3. For 3x + 4y = 24, put x = 0: 4y = 24, so y = 6. The point (0, 6).
      4. Put y = 0: 3x = 24, so x = 8. The point (8, 0).
      5. Draw a line through each pair of points. They are the lines in the figure.
      −1123456789−2−11234567xy(0, −1)(1, 0)(0, 6)(8, 0)y = x − 13x + 4y = 24
      y = x − 1 through (0, −1) and (1, 0); 3x + 4y = 24 through (0, 6) and (8, 0).

      Finding the equation of a line

      • The easiest method depends on the information you are given.
      gradient m and a point (x₁, y₁)most useful general form y − y₁ = m(x − x₁) gradient m and the y-intercept cthe point is (0, c) y = mx + c two points (x₁, y₁) and (x₂, y₂)find m first, then use a point (y − y₁)/(y₂ − y₁) = (x − x₁)/(x₂ − x₁)or m = (y₂ − y₁)/(x₂ − x₁) both intercepts (a, 0) and (0, b)a special pair of points x/a + y/b = 1
      Which formula to use. All four come from the single idea “gradient between any two points on the line is m”.

      (i) Given the gradient m and one point (x₁, y₁)

      (x₁, y₁) (x, y) x − x₁ y − y₁ gradient m m = (y − y₁)/(x − x₁)
      Take a general point (x, y) on the line. Its gradient to (x₁, y₁) is m, so y − y₁ = m(x − x₁).
      • 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)

      1. Use y − y₁ = m(x − x₁) with m = 3, (x₁, y₁) = (2, −4).
      2. y − (−4) = 3(x − 2), so y + 4 = 3(x − 2).
      3. Expand: y + 4 = 3x − 6.
      4. 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)

      1. (x₁, y₁) = (2, 4) and (x₂, y₂) = (5, 3).
      2. Gradient m = (3 − 4)/(5 − 2) = −1/3.
      3. Use y − 4 = −⅓(x − 2).
      4. Multiply by 3: 3y − 12 = −(x − 2) = −x + 2.
      5. Collect terms: x + 3y − 14 = 0.
      6. 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

      1. Take (x₁, y₁) = (0, b) and (x₂, y₂) = (a, 0).
      2. The formula gives (y − b)/(0 − b) = (x − 0)/(a − 0).
      3. So (y − b)/(−b) = x/a. Multiply both sides by −1: (y − b)/b = −x/a.
      4. Split the left side: y/b − 1 = −x/a.
      5. Add x/a and 1 to both sides: x/a + y/b = 1.
      6. 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

      1. (a) passes through (0, 2) with gradient 1: y = x + 2.
      2. (b) is parallel to the x axis through (0, 4): y = 4.
      3. (c) is parallel to the y axis through (−3, 0): x = −3.
      4. (d) passes through the origin with gradient −2: y = −2x.
      5. (e) passes through (0, −1) with gradient −⅕: y = −⅕x − 1.
      6. Multiply by 5: 5y = −x − 5, so x + 5y + 5 = 0.
      −4−3−2−11234−3−2−112345xy(a) y = x + 2(b) y = 4(c) x = −3(d) y = −2x(e)
      Five lines: a general slope, horizontal, vertical, through the origin, and a gentle downhill line.

      📘 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

      1. Divide 2y = x + 12 by 2: y = ½x + 6. Gradient ½, through (0, 6).
      2. y = 4x − 10 has gradient 4 and passes through (0, −10).
      3. Opposite sides of a parallelogram are parallel, so the other sides have gradients ½ and 4.
      4. Both pass through the origin (the vertex), so they are y = ½x and y = 4x.
      5. Check by finding the fourth vertex: ½x + 6 = 4x − 10 gives x = 32/7, which lies on both given sides.
      −1123456−2−112345678910xy2y = x + 12y = 4x − 10y = ½xy = 4x
      The given sides (solid) and the new sides y = ½x and y = 4x (dashed) from the origin close up the parallelogram.

      📘 Example 9 (book Example 2.10) · The perpendicular bisector of P(−4, 5) and Q(2, 3)

      1. Gradient PQ = (3 − 5)/(2 − (−4)) = −2/6 = −⅓.
      2. Perpendicular gradient: −⅓ × m = −1, so m = 3.
      3. The bisector passes through the mid-point R = ((−4 + 2)/2, (5 + 3)/2) = (−1, 4).
      4. Use y − y₁ = m(x − x₁): y − 4 = 3(x − (−1)) = 3x + 3.
      5. y = 3x + 7. Check R: 3(−1) + 7 = 4. ✔
      −5−4−3−2−1123−112345678xyP (−4, 5)Q (2, 3)R (−1, 4)y = 3x + 7
      The perpendicular bisector cuts PQ at its mid-point R(−1, 4) at a right angle.
      • 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

      1. (Parallel.) 5x + 2y = 7 gives 2y = −5x + 7, so the gradient is −5/2.
      2. Parallel means the same gradient. y − 3 = −5/2 (x + 2).
      3. Multiply by 2: 2y − 6 = −5x − 10. 5x + 2y + 4 = 0. Check (−2, 3): −10 + 6 + 4 = 0 ✔.
      4. (Perpendicular.) x − 3y + 6 = 0 gives 3y = x + 6, so the gradient is 1/3.
      5. Perpendicular gradient = −3 (since 1/3 × (−3) = −1).
      6. y − (−1) = −3(x − 4), so y + 1 = −3x + 12. y = −3x + 11, or 3x + y − 11 = 0.

      ✏️ Try it

      1. Find the equation of the line through (−1, 4) with gradient −2.
      2. Find the equation of the line through (2, −3) and (6, 5).
      3. 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 ✔.

      Next: where two lines meet →

      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).
      parallelno solution intersectone solution same lineinfinitely many
      Three possibilities for two straight lines. (“Same line” is the case of one equation being a multiple of the other.)

      📘 Example 1 (book Example 2.11) · Sketch x + 2y = 1 and 2x + 3y = 4 and find where they meet

      1. x + 2y = 1 passes through (0, ½) and (1, 0). 2x + 3y = 4 passes through (0, 4/3) and (2, 0).
      2. Label the equations: (1) x + 2y = 1 and (2) 2x + 3y = 4.
      3. Make the x coefficients match. (1) × 2: 2x + 4y = 2.
      4. Subtract (2): (2x + 4y) − (2x + 3y) = 2 − 4, so y = −2.
      5. Substitute into (1): x + 2(−2) = 1, so x − 4 = 1.
      6. x = 5. The lines meet at (5, −2).
      7. Check in (2): 2(5) + 3(−2) = 10 − 6 = 4. ✔
      −2−11234567−4−3−2−1123xy(5, −2)x + 2y = 12x + 3y = 4
      The point where the two lines cross, (5, −2), is the solution of the simultaneous equations.

      📘 Example 2 (book Example 2.12) · Vertices of the triangle with sides x + y = 4, 2x − y = 8 and x + 2y = −1

      1. Label: (1) x + y = 4, (2) 2x − y = 8, (3) x + 2y = −1. Sketch using the axis crossings.
      2. (1) crosses at (0, 4) and (4, 0). (2) crosses at (0, −8) and (4, 0). (3) crosses at (0, −½) and (−1, 0).
      3. (1) and (2) both pass through (4, 0), so that is a vertex. A = (4, 0).
      4. B: solve (2) and (3). (2) × 2: 4x − 2y = 16. Add (3): 5x = 15, so x = 3.
      5. Substitute x = 3 into (2): 6 − y = 8, so y = −2. B = (3, −2).
      6. C: solve (1) and (3). Subtract: (x + y) − (x + 2y) = 4 − (−1), so −y = 5, y = −5.
      7. Substitute y = −5 into (1): x − 5 = 4, so x = 9. C = (9, −5).
      8. The vertices are A(4, 0), B(3, −2), C(9, −5).
      −2−112345678910−6−5−4−3−2−112345xyA (4, 0)B (3, −2)C (9, −5)x + y = 42x − y = 8x + 2y = −1
      Three lines, three crossing points: the vertices A, B and C.

      When there is no intersection

      📘 Example 3 (book “?” question) · Line l: 2x − y = 4. Line m: y = 2x − 3. What do you notice?

      1. Substitute y = 2x − 3 into line l: 2x − (2x − 3) = 4.
      2. Simplify: 2x − 2x + 3 = 4, so 3 = 4.
      3. That is false, so no values of x and y satisfy both equations.
      4. Check the gradients: l is y = 2x − 4 (gradient 2) and m has gradient 2.
      5. Same gradient, different intercepts, so the lines are parallel and never meet.
      −2−112345−5−4−3−2−11234xyy = 2x − 4y = 2x − 3(0, −3)(0, −4)
      Same gradient 2, y-intercepts −4 and −3: parallel, so “3 = 4” has no solution.

      📘 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

      1. The line has gradient 2, so the perpendicular has gradient −½.
      2. The perpendicular through P(0, 7): y = −½x + 7.
      3. Where they meet: 2x + 1 = −½x + 7.
      4. 2½x = 6, so x = 2.4. Then y = 2(2.4) + 1 = 5.8. The foot is F(2.4, 5.8).
      5. Distance PF = √[(2.4 − 0)² + (5.8 − 7)²] = √(5.76 + 1.44) = √7.2.
      6. √7.2 = (6√5)/5 ≈ 2.68. This is the shortest distance from P to the line.
      −112345612345678xyP (0, 7)F (2.4, 5.8)y = 2x + 1y = −½x + 7
      The shortest route from P to the line is the perpendicular, meeting it at F.

      📘 Example 5 · The medians of the triangle A(1, 1), B(7, 1), C(4, 7) meet at one point. Find it

      1. A median joins a vertex to the mid-point of the opposite side.
      2. Mid-point of BC = (5.5, 4). Median from A: gradient = (4 − 1)/(5.5 − 1) = 3/4.5 = ⅔. Line: y − 1 = ⅔(x − 1).
      3. Mid-point of AC = (2.5, 4). Median from B: gradient = (4 − 1)/(2.5 − 7) = 3/(−4.5) = −⅔. Line: y − 1 = −⅔(x − 7).
      4. Set equal: ⅔(x − 1) = −⅔(x − 7), so x − 1 = −x + 7.
      5. 2x = 8, so x = 4. Then y = 1 + ⅔(3) = 3. The medians meet at (4, 3).
      6. 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). ✔
      7. 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

        1. Solve 3x + 2y = 13 and x − y = 1.
        2. The lines y = 0, y = x and x + y = 6 form a triangle. Find its vertices and area.
        3. 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.

        Next: drawing curves →

        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ⁿ

        −2−112−4−3−2−11234xyy = xy = x³
        Odd n (1, 3, …): the curve goes from bottom-left to top-right through the origin. It has rotational symmetry about O.
        −2−112−1123456xyy = x²y = x⁴
        Even n (2, 4, …): a U shape. All y values are ≥ 0 and the y axis is a line of symmetry.
        • 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.
        minQuadratic1 turning pointmaxQuadratic1 turning pointmaxminCubicup to 2minmaxminQuarticup to 3
        Quadratics have one turning point, cubics up to two, quartics up to three.
        • Not every stationary point must appear. y = x⁴ − 4x³ + 5x² could have 3 but has only one, at the origin.
        −1123−2−1123456789101112xy(0, 0) the only stationary pointy = x⁴ − 4x³ + 5x²
        A quartic with a single turning point: the curve flattens near x = 2 but does not turn there.

        Behaviour for large x

        • For f(x) = x³ + 2x² + 3x + 9, take 1000 as a “large” number.
        xx³2x²3x+9f(x)
        10001 000 000 0002 000 000300091 002 003 009
        −1000−1 000 000 0002 000 000−30009−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?
        n even, coefficient +both ends upn even, coefficient −both ends downn odd, coefficient +down left, up rightn odd, coefficient −up left, down right
        The four end behaviours of a polynomial. Only the highest power decides them.

        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)

        1. Order 3, so at most 2 stationary points.
        2. The x³ term has coefficient +1 and n = 3 is odd: the curve goes from bottom-left to top-right.
        3. y axis: the constant term is 3, so it crosses at (0, 3).
        4. x axis: the factors give (−1, 0), (1, 0) and (3, 0).
        5. Join up: up through (−1, 0), over a maximum above the axis, down through (1, 0), under a minimum, up through (3, 0).
        −2−11234−6−5−4−3−2−1123456xy(−1, 0)(1, 0)(3, 0)(0, 3)
        y = (x + 1)(x − 1)(x − 3): crosses the x axis three times.

        📘 Example 2 · Sketch y = −(x + 2)(x − 1)(x − 4)

        1. Roots: x = −2, 1 and 4, so it crosses the x axis at (−2, 0), (1, 0) and (4, 0).
        2. y axis: put x = 0. y = −(2)(−1)(−4) = −8. So (0, −8).
        3. Leading term: −(x)(x)(x) = −x³. n = 3 is odd and the coefficient is negative: top-left to bottom-right.
        4. 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).
        5. Check one value: x = −3 gives −(−1)(−4)(−7) = 28 > 0, high on the left. ✔
        −3−2−112345−12−11−10−9−8−7−6−5−4−3−2−1123456789101112xy(−2, 0)(1, 0)(4, 0)(0, −8)
        A negative cubic: falls from top-left to bottom-right.

        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.
        Three roots(x + 1)(x − 1)(x − 3)One real rootx³ − x² − 4x + 6Two double rootsx²(x − 4)²A double root(x − 1)(x − 3)²
        Distinct roots cross the axis. A double root touches it and the curve turns back.

        📘 Example 3 · Sketch y = (x + 2)(x − 1)²

        1. x = −2 is a single root: the curve crosses the axis there.
        2. x = 1 is a double root: the curve touches the axis there and turns.
        3. y axis: y = (2)(1)² = 2. So (0, 2).
        4. Leading term x³ (positive, odd): bottom-left to top-right.
        5. 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.
        −3−2−1123−6−5−4−3−2−112345678xy(−2, 0)(1, 0)(0, 2)
        The turning point on the axis at (1, 0) is where the squared factor is zero.
        • 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.

        The curve always crosses the x axis at single roots and touches it at double roots.

          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.
          −4−3−2−11234−4−3−2−11234xyy = 1/xasymptote x = 0asymptote y = 0
          y = 1/x (n = 1): two branches in opposite quadrants (I and III). Odd n.
          −4−3−2−11234−4−3−2−11234xyy = 1/x²asymptote x = 0asymptote y = 0
          y = 1/x² (n = 2): both branches above the x axis (quadrants I and II), symmetric about the y axis. Even n.
          WordMeaning
          Asymptotea line the curve approaches but never reaches
          Vertical, horizontal, obliquethe three directions an asymptote can have (here the axes x = 0 and y = 0)
          Discontinuousa curve with separate branches, like y = 1/x
          Continuousa curve with no breaks, like y = x²

          ✏️ Try it

          1. Describe a sketch of y = x(x − 2)(x + 3).
          2. Describe y = −(x − 2)²(x + 1): intercepts and shape.
          3. 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.

          Next: the circle →

          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²

          −4−3−2−11234−4−3−2−11234xy(x, y) = (1.8, 2.4)r = 31.82.4x² + y² = 9
          Radius 3, centre O. Every point (x, y) on the circle is 3 from O: for example (1.8, 2.4), since 1.8² + 2.4² = 3.24 + 5.76 = 9.
          1. Take any point (x, y) on the circle of radius 3, centre (0, 0).
          2. Its distance from the origin is √[(x − 0)² + (y − 0)²].
          3. That distance is 3, so √(x² + y²) = 3.
          4. Square both sides: x² + y² = 9.
          5. In general, centre (0, 0) and radius r: x² + y² = r².

          Any centre: (x − a)² + (y − b)² = r²

          C (a, b) (x, y) x − ay − b r distance from C is r: √[(x − a)² + (y − b)²] = r square both sides (x − a)² + (y − b)² = r² centre (a, b), radius r
          The same derivation with the centre at C(a, b): the legs of the triangle are x − a and y − b.

          🔑 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

          1. a = 2, b = −3, r = 4, so r² = 16.
          2. (x − 2)² + (y − (−3))² = 16, that is (x − 2)² + (y + 3)² = 16.
          3. Expand: x² − 4x + 4 + y² + 6y + 9 = 16.
          4. Collect: x² + y² − 4x + 6y + 13 = 16.
          5. x² + y² − 4x + 6y − 3 = 0.
          −3−2−11234567−8−7−6−5−4−3−2−112xyC (2, −3)r = 4
          Centre (2, −3), radius 4: it reaches from x = −2 to x = 6 and from y = −7 to y = 1.

          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.
          1. Groupx terms, y terms,constant to the right 2. Completex² + px → (x + p/2)²add (p/2)² both sides 3. Same for yy² + qy → (y + q/2)²add (q/2)² both sides 4. Read offcentre (−p/2, −q/2)r² = right-hand side
          Completing the square to find a circle's centre and radius.

          📘 Example 2 · Find the centre and radius of x² + y² − 6x + 4y − 12 = 0

          1. Group: (x² − 6x) + (y² + 4y) = 12.
          2. Half of −6 is −3. Complete the x bracket: x² − 6x = (x − 3)² − 9.
          3. Half of 4 is 2. Complete the y bracket: y² + 4y = (y + 2)² − 4.
          4. Substitute: (x − 3)² − 9 + (y + 2)² − 4 = 12.
          5. (x − 3)² + (y + 2)² = 12 + 9 + 4 = 25.
          6. Compare with (x − a)² + (y − b)² = r²: centre (3, −2), radius 5.
          7. 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?

            1. P: (0 − 3)² + (2 + 2)² = 9 + 16 = 25 = r². On the circle.
            2. Q: (4 − 3)² + (−1 + 2)² = 1 + 1 = 2 < 25. Inside.
            3. 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

            1. The centre is the mid-point of the diameter: ((−1 + 5)/2, (2 + (−6))/2) = (2, −2).
            2. The radius is the distance from the centre to A: √[(−1 − 2)² + (2 − (−2))²] = √(9 + 16) = 5.
            3. Check with the diameter: AB = √(6² + 8²) = 10 = 2r. ✔
            4. (x − 2)² + (y + 2)² = 25.
            −4−3−2−112345678−8−7−6−5−4−3−2−11234xyA (−1, 2)B (5, −6)C (2, −2)r = 5
            The centre of a circle is the mid-point of any diameter.

            📘 Example 5 · Find the circle through O(0, 0), A(8, 0) and B(0, 6)

            1. The centre is equidistant from O and A, so it lies on the perpendicular bisector of the chord OA: the line x = 4.
            2. It is also equidistant from O and B: the perpendicular bisector of OB is y = 3.
            3. They meet at the centre C(4, 3).
            4. Radius = distance CO = √(16 + 9) = 5.
            5. (x − 4)² + (y − 3)² = 25.
            6. Check B: (0 − 4)² + (6 − 3)² = 16 + 9 = 25. ✔ (AB is a diameter, since the angle at O is 90°.)
            −2−112345678−2−112345678xyOA (8, 0)B (0, 6)C (4, 3)x = 4y = 3
            The perpendicular bisectors of two chords meet at the centre.
            • 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)

            1. Centre C(3, −2). Check P lies on the circle: 9 + 16 = 25. ✔
            2. Gradient of the radius CP = (2 − (−2))/(6 − 3) = 4/3.
            3. Tangent gradient = −1 ÷ (4/3) = −3/4.
            4. Use y − y₁ = m(x − x₁): y − 2 = −¾(x − 6).
            5. Multiply by 4: 4y − 8 = −3x + 18.
            6. 3x + 4y − 26 = 0. Check P: 18 + 8 − 26 = 0. ✔
            −3−2−1123456789−8−7−6−5−4−3−2−11234xyC (3, −2)P (6, 2)tangentr = 5
            The tangent at P meets the radius CP at 90°.

            🧪 Simulation: move a circle

            Set the centre (a, b) and radius r. The equation updates in standard and expanded form.

            The circle with centre (a, b), radius r. The dashed segment is a radius.

              ✏️ Try it

              1. Write the equation of the circle with centre (−1, 4) and radius 6, and expand it.
              2. Find the centre and radius of x² + y² + 8x − 2y − 8 = 0.
              3. 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.

              Next: where a line meets a curve →

              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.
              −3−2−1123−112345xyy = x²x + 4y = 4two distinct points
              (i) All intersections distinct: y = x² and x + 4y = 4 meet twice.
              −4−22−8−6−4−224681012141618202224xy(−2, 8) tangent(3, 18)y = x³ + x² − 6xy = 2x + 12
              (ii) Tangent: y = 2x + 12 touches y = x³ + x² − 6x at (−2, 8) and also crosses it at (3, 18).
              −3−2−11234−6−5−4−3−2−112345678xyy = x²y = x − 5no points of intersection
              (iii) No intersection: y = x − 5 stays below y = x².

              The method

              1. Eliminatemake y (or x) thesubject of the line,substitute in the curve 2. Quadraticrearrange toax² + bx + c = 0 3. Discriminantb² − 4ac> 0 = 0 < 0 4. Concludetwo pointstangent (one point)no intersection
              Solving a line and a curve gives a quadratic, and its discriminant counts the intersections.
              b² − 4acRootsLine and curve
              > 0two distinct real rootstwo distinct points of intersection
              = 0one repeated rootthe line is a tangent
              < 0no real rootsno intersection

              📘 Example 1 (book Example 2.14) · Where does y − 3x = 2 meet y = 2x²?

              1. (1) y − 3x = 2 and (2) y = 2x².
              2. Make y the subject of (1): y = 3x + 2. Call this (3).
              3. Substitute (3) into (2): 3x + 2 = 2x².
              4. Rearrange: 2x² − 3x − 2 = 0.
              5. Factorise: (2x + 1)(x − 2) = 0, so x = 2 or x = −½.
              6. Find y from the line y = 3x + 2: x = 2 gives y = 8; x = −½ gives y = ½.
              7. The points are (2, 8) and (−½, ½). Check (2, 8) in y = 2x²: 2 × 4 = 8. ✔
              −2−1123−2−112345678910xy(2, 8)(−½, ½)y = 2x²y − 3x = 2
              The line cuts the parabola at (−½, ½) and (2, 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. (1) 2y = x + k and (2) y² = 2x. A tangent meets the curve at one point only.
              2. Make x the subject of (1): x = 2y − k. Call this (3).
              3. Substitute (3) into (2): y² = 2(2y − k) = 4y − 2k.
              4. Rearrange: y² − 4y + 2k = 0. Call this (4). It has a = 1, b = −4, c = 2k.
              5. One repeated root means b² − 4ac = 0: (−4)² − 4(1)(2k) = 0.
              6. 16 − 8k = 0, so k = 2.
              7. (ii) Put k = 2 in (4): y² − 4y + 4 = 0, so (y − 2)² = 0 and y = 2 (repeated root, as expected).
              8. Put y = 2 in 2y = x + 2: 4 = x + 2, so x = 2. The tangent touches the curve at (2, 2).
              −3−2−11234567−4−3−2−11234xy(2, 2)y² = 2x2y = x + 2
              2y = x + 2 just touches the sideways parabola y² = 2x 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.
              c = 3two pointsc = 5√2tangent: one pointc = 9no points
              x² + y² = 25 and y = x + c: for c = 3 the line cuts the circle twice, for c = 5√2 it is a tangent, for c = 9 it misses.

              📘 Example 3 · Where does y = x + 1 meet x² + y² = 25? Find the distance between the points

              1. Substitute y = x + 1: x² + (x + 1)² = 25.
              2. Expand: x² + x² + 2x + 1 = 25, so 2x² + 2x − 24 = 0.
              3. Divide by 2: x² + x − 12 = 0.
              4. Factorise: (x + 4)(x − 3) = 0, so x = −4 or x = 3.
              5. y = x + 1: x = −4 gives y = −3; x = 3 gives y = 4.
              6. Points: (−4, −3) and (3, 4). Check: 16 + 9 = 25 and 9 + 16 = 25. ✔
              7. Distance = √[(3 − (−4))² + (4 − (−3))²] = √(49 + 49) = √98 = 7√2.
              −6−5−4−3−2−1123456−6−5−4−3−2−1123456xy(−4, −3)(3, 4)x² + y² = 25y = x + 1
              The line y = x + 1 cuts the circle at (−4, −3) and (3, 4).

              📘 Example 4 · For which values of k is y = x + k a tangent to x² + y² = 25?

              1. Substitute: x² + (x + k)² = 25.
              2. Expand: 2x² + 2kx + k² − 25 = 0. Here a = 2, b = 2k, c = k² − 25.
              3. Tangent: b² − 4ac = 0, so (2k)² − 4(2)(k² − 25) = 0.
              4. 4k² − 8k² + 200 = 0, so 200 − 4k² = 0 and k² = 50.
              5. k = ±5√2 (≈ ±7.07).
              6. 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. ✔
              7. 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

              1. Substitute: x² = 2x + k, so x² − 2x − k = 0. Here a = 1, b = −2, c = −k.
              2. Discriminant = (−2)² − 4(1)(−k) = 4 + 4k.
              3. No intersection: 4 + 4k < 0, so k < −1.
              4. Tangent (one point): 4 + 4k = 0, so k = −1. The contact is at x = 1: (1, 1).
              5. 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

              1. From the line y = k − x. Substitute into xy = 4: x(k − x) = 4.
              2. Rearrange: kx − x² = 4, so x² − kx + 4 = 0. Here a = 1, b = −k, c = 4.
              3. Discriminant = (−k)² − 4(1)(4) = k² − 16.
              4. Tangent: k² − 16 = 0, so k = 4 or k = −4. (For k = 4: x² − 4x + 4 = 0, x = 2, y = 2.)
              5. No intersection: k² − 16 < 0, so (k − 4)(k + 4) < 0.
              6. 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.

              Dots mark the points of intersection. When the discriminant is 0 the two dots merge into the point of contact.

                ✏️ Try it

                1. Find where y = x + 3 meets y = x² + 1.
                2. Find the values of k for which y = 2x + k is a tangent to x² + y² = 5.
                3. 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 < −¼.

                Next: summary and quiz →

                Chapter summary

                IdeaRule
                Gradientm = (y₂ − y₁)/(x₂ − x₁); m = tan θ with equal scales
                Parallel / perpendicularm₁ = m₂ / m₁m₂ = −1
                Distance AB√[(x₂ − x₁)² + (y₂ − y₁)²]
                Mid-point((x₁ + x₂)/2, (y₁ + y₂)/2)
                Forms of a linex = 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 linessolve simultaneously; parallel lines never meet
                Polynomial sketchy-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 curvesubstitute, 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

                1. What is the gradient of the line through (2, −1) and (6, 7)?
                2. What is the distance between (−1, 2) and (4, 14)?
                3. What is the mid-point of the line joining (−3, 8) and (7, −2)?
                4. A line is perpendicular to 3x + 2y = 6. What is its gradient?
                5. Which is the line through (1, 5) with gradient −2?
                6. Where do the lines x + y = 7 and 2x − y = 2 meet?
                7. How does the curve y = (x − 2)²(x + 1) meet the x axis?
                8. What happens to y = −3x⁴ + 2x as x → ∞ and as x → −∞?
                9. What are the centre and radius of (x + 2)² + (y − 3)² = 49?
                10. What are the centre and radius of x² + y² − 10x + 4y + 13 = 0?
                11. The line y = 2x + k is a tangent to y = x² + 3. What is k?
                12. A circle has centre O and passes through (3, 4). What is the gradient of the tangent at (3, 4)?

                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.