Pure mathematics

Coordinate Geometry: Straight Lines, Circles, and Parametric Equations

Year 12 · Year 13

  • By the end of this lesson students will be able to find the equation of a straight line, including parallel and perpendicular lines.
  • By the end of this lesson students will be able to find the distance between two points and the coordinates of a midpoint.
  • By the end of this lesson students will be able to use and convert between different forms of the equation of a circle, and find the equation of a tangent to a circle.
  • By the end of this lesson students will be able to convert parametric equations to Cartesian form and find the gradient of a curve defined parametrically.

Key concepts

Gradient of a Straight Line

The gradient (m) of a straight line passing through two points (x₁, y₁) and (x₂, y₂) measures its steepness. A positive gradient indicates an upward slope from left to right, a negative gradient indicates a downward slope. A horizontal line has a gradient of 0, and a vertical line has an undefined gradient.

m = (y₂ - y₁) / (x₂ - x₁)
Equation of a Straight Line

There are several forms for the equation of a straight line. The gradient-intercept form is y = mx + c, where m is the gradient and c is the y-intercept. The point-gradient form is y - y₁ = m(x - x₁), useful when a point (x₁, y₁) and the gradient m are known. The general form is ax + by + c = 0, where a, b, and c are integers.

y = mx + c or y - y₁ = m(x - x₁)
Parallel and Perpendicular Lines

Two non-vertical straight lines are parallel if and only if they have the same gradient (m₁ = m₂). Two non-vertical straight lines are perpendicular if and only if the product of their gradients is -1 (m₁m₂ = -1). This means the gradient of one line is the negative reciprocal of the other (m₂ = -1/m₁).

m₁ = m₂ (for parallel lines) or m₁m₂ = -1 (for perpendicular lines)
Distance Between Two Points

The distance between two points (x₁, y₁) and (x₂, y₂) can be found using the Pythagorean theorem.

d = √((x₂ - x₁)² + (y₂ - y₁)²)
Midpoint of a Line Segment

The coordinates of the midpoint of a line segment joining points (x₁, y₁) and (x₂, y₂) are found by averaging the x-coordinates and averaging the y-coordinates.

M = ((x₁ + x₂)/2, (y₁ + y₂)/2)
Equation of a Circle (Standard Form)

A circle with centre (a, b) and radius r has the equation (x - a)² + (y - b)² = r². This form directly gives the centre and radius.

(x - a)² + (y - b)² = r²
Equation of a Circle (General Form)

The general form of the equation of a circle is x² + y² + 2fx + 2gy + c = 0. From this form, the centre of the circle is (-f, -g) and the radius is √(f² + g² - c). This form is often obtained by expanding the standard form or by completing the square to convert back to standard form.

x² + y² + 2fx + 2gy + c = 0
Tangent to a Circle

The tangent to a circle at any point is perpendicular to the radius at that point. To find the equation of a tangent, first find the gradient of the radius from the centre to the point of tangency, then use the perpendicular gradient rule to find the gradient of the tangent.

null
Parametric Equations

Parametric equations define the x and y coordinates of points on a curve in terms of a third variable, called a parameter (often t or θ). For example, x = f(t) and y = g(t). To convert to a Cartesian equation, eliminate the parameter.

null
Gradient from Parametric Equations

To find the gradient dy/dx of a curve defined by parametric equations x = f(t) and y = g(t), we use the chain rule.

dy/dx = (dy/dt) / (dx/dt)

Key facts to remember

  • 1Gradient of a line through (x₁, y₁) and (x₂, y₂) is m = (y₂ - y₁) / (x₂ - x₁).
  • 2Equation of a line: y = mx + c or y - y₁ = m(x - x₁).
  • 3Parallel lines have equal gradients (m₁ = m₂).
  • 4Perpendicular lines have gradients whose product is -1 (m₁m₂ = -1).
  • 5Distance between (x₁, y₁) and (x₂, y₂) is d = √((x₂ - x₁)² + (y₂ - y₁)²).
  • 6Midpoint of a line segment is M = ((x₁ + x₂)/2, (y₁ + y₂)/2).
  • 7Equation of a circle with centre (a, b) and radius r is (x - a)² + (y - b)² = r².
  • 8For a circle x² + y² + 2fx + 2gy + c = 0, the centre is (-f, -g) and radius is √(f² + g² - c).
  • 9The gradient of a curve given parametrically by x = f(t) and y = g(t) is dy/dx = (dy/dt) / (dx/dt).

Worked examples

Example 1

Points A and B have coordinates (2, 5) and (8, -1) respectively. Find: (a) The gradient of the line AB. (b) The equation of the line AB in the form y = mx + c. (c) The length of the line segment AB. (d) The equation of the perpendicular bisector of AB.

I(a) Gradient m = (y₂ - y₁) / (x₂ - x₁)
IIm = (-1 - 5) / (8 - 2)
IIIm = -6 / 6 = -1
IV(b) Using point-gradient form y - y₁ = m(x - x₁) with A(2, 5) and m = -1:
Vy - 5 = -1(x - 2)
VIy - 5 = -x + 2
VIIy = -x + 7
VIII(c) Length d = √((x₂ - x₁)² + (y₂ - y₁)²)
9d = √((8 - 2)² + (-1 - 5)²)
10d = √(6² + (-6)²) = √(36 + 36) = √72
11d = √(36 × 2) = 6√2
12(d) Midpoint M = ((x₁ + x₂)/2, (y₁ + y₂)/2)
13M = ((2 + 8)/2, (5 + (-1))/2)
14M = (10/2, 4/2) = (5, 2)
15Gradient of AB is m_AB = -1. For perpendicular bisector, m_perp = -1/m_AB = -1/(-1) = 1.
16Using point-gradient form with M(5, 2) and m_perp = 1:
17y - 2 = 1(x - 5)
18y - 2 = x - 5
19y = x - 3

Answer

(a) -1 (b) y = -x + 7 (c) 6√2 (d) y = x - 3

Remember to simplify surds where possible for exact answers.

Example 2

A circle C has the equation x² + y² - 4x + 6y - 3 = 0. (a) Find the coordinates of the centre and the radius of C. (b) Show that the point P(5, -2) lies on C. (c) Find the equation of the tangent to C at P, giving your answer in the form ax + by + c = 0.

I(a) To find the centre and radius, complete the square:
II(x² - 4x) + (y² + 6y) - 3 = 0
III(x - 2)² - 2² + (y + 3)² - 3² - 3 = 0
IV(x - 2)² - 4 + (y + 3)² - 9 - 3 = 0
V(x - 2)² + (y + 3)² - 16 = 0
VI(x - 2)² + (y + 3)² = 16
VIICentre (a, b) = (2, -3)
VIIIRadius r = √16 = 4
9(b) Substitute P(5, -2) into the circle's equation:
10(5 - 2)² + (-2 + 3)² = 3² + 1² = 9 + 1 = 10
11This does not equal 16. Let's recheck the problem statement or my calculation. Ah, the point P(5, -2) is not on the circle (5-2)^2 + (-2+3)^2 = 3^2 + 1^2 = 9+1 = 10, not 16. Let's assume the question intended a point that *is* on the circle, or I've made a mistake in the problem setup. Let's re-evaluate the point P. If the question is correct, P(5,-2) is not on the circle. Let's assume the question meant a different point or I should use the given equation to find a point on the circle. For the purpose of this example, I will proceed with the assumption that P(5, -2) *is* on the circle, and there might be a typo in the problem or my initial check. Let's re-evaluate the coordinates of P. If P(5, -2) is on the circle, then (5-2)^2 + (-2+3)^2 = 3^2 + 1^2 = 9+1 = 10. This is not 16. So P(5, -2) is NOT on the circle. I must correct the problem statement. Let's choose a point that IS on the circle. For example, if x=2, (2-2)^2 + (y+3)^2 = 16 => (y+3)^2 = 16 => y+3 = +/-4 => y=1 or y=-7. So (2,1) is on the circle. Let's use P(2,1) instead for part (b) and (c).
12Revised (b) Show that the point P(2, 1) lies on C:
13Substitute P(2, 1) into (x - 2)² + (y + 3)² = 16:
14(2 - 2)² + (1 + 3)² = 0² + 4² = 0 + 16 = 16
15Since 16 = 16, P(2, 1) lies on the circle C.
16(c) Centre of C is (2, -3). Point P is (2, 1).
17Gradient of the radius CP = (1 - (-3)) / (2 - 2) = 4 / 0. This is an undefined gradient, meaning the radius CP is a vertical line.
18A vertical radius means the tangent at P must be a horizontal line.
19The equation of a horizontal line passing through P(2, 1) is y = 1.
20In the form ax + by + c = 0, this is y - 1 = 0.

Answer

(a) Centre (2, -3), Radius 4 (b) (2 - 2)² + (1 + 3)² = 0² + 4² = 16. Hence P(2, 1) lies on C. (c) y - 1 = 0

Always check if the given point actually lies on the circle before proceeding with tangent calculations. If the radius is vertical or horizontal, the tangent will be horizontal or vertical, respectively.

Example 3

A curve is defined by the parametric equations x = 3t² and y = 6t. (a) Find the Cartesian equation of the curve. (b) Find dy/dx in terms of t. (c) Find the equation of the tangent to the curve at the point where t = 2.

I(a) From y = 6t, we can express t in terms of y: t = y/6.
IISubstitute this into the equation for x:
IIIx = 3(y/6)²
IVx = 3(y²/36)
Vx = y²/12
VISo, y² = 12x.
VII(b) Find dx/dt and dy/dt:
VIIIx = 3t² => dx/dt = 6t
9y = 6t => dy/dt = 6
10Using dy/dx = (dy/dt) / (dx/dt):
11dy/dx = 6 / (6t)
12dy/dx = 1/t
13(c) At t = 2, find the coordinates of the point:
14x = 3(2)² = 3(4) = 12
15y = 6(2) = 12
16The point is (12, 12).
17At t = 2, find the gradient dy/dx:
18dy/dx = 1/t = 1/2
19Using the point-gradient form y - y₁ = m(x - x₁) with (12, 12) and m = 1/2:
20y - 12 = (1/2)(x - 12)
21Multiply by 2 to clear the fraction:
222(y - 12) = x - 12
232y - 24 = x - 12
24x - 2y + 12 = 0

Answer

(a) y² = 12x (b) dy/dx = 1/t (c) x - 2y + 12 = 0

Always ensure your final Cartesian equation is in a standard, simplified form. When finding the tangent, remember to find both the point and the gradient at the specified parameter value.

Common mistakes

  • Incorrectly calculating the gradient, especially sign errors or swapping x and y terms.
  • Forgetting to take the negative reciprocal for perpendicular gradients (e.g., just using the negative).
  • Errors in completing the square when converting a circle's general equation to standard form, particularly with the signs or squaring the constant term.
  • Confusing the centre (a, b) in (x - a)² + (y - b)² = r² with the coefficients in x² + y² + 2fx + 2gy + c = 0 (where the centre is (-f, -g)).
  • Forgetting to divide by dx/dt when finding dy/dx from parametric equations, or incorrectly differentiating with respect to x instead of t.

Exam tips

  • Always draw a sketch for coordinate geometry problems; it helps visualise the problem and can prevent simple errors.
  • Be systematic when completing the square for circle equations. Group x-terms and y-terms, then balance the equation.
  • When finding the equation of a tangent to a circle, remember that the radius to the point of tangency is perpendicular to the tangent. Find the gradient of the radius first.
  • For parametric equations, clearly show your steps for dx/dt, dy/dt, and then dy/dx. If asked for the equation of a tangent, remember to find both the point (x, y) and the gradient (dy/dx) at the given parameter value.

Ready to practise?

Try a problem on this topic

Snap a photo or type a question — get step-by-step working instantly.