Locus and the Equation of a Locus

A locus is the path traced by a moving point P(x, y) that satisfies a given condition. To find the equation of a locus, let P = (x, y), write the condition with the distance formula, square both sides and simplify. In HKDSE the answer is almost always a straight line, a pair of lines or a circle.

Solve Locus questions with AIPractise 42 DSE-style questions

Click the graph to explore it interactively →

Locus Formulas: Standard Loci and Their Equations

Distance formulaPA = √((x − x₁)² + (y − y₁)²) — write every condition with it, then square both sides
Equidistant from A and BPA = PB ⟹ perpendicular bisector of AB
Fixed distance r from C(h, k)(x − h)² + (y − k)² = r² (a circle)
Fixed distance d from a line Ax + By + C = 0|Ax + By + C| / √(A² + B²) = d (a pair of parallel lines)
Distance from a point to a lined = |Ax₀ + By₀ + C| / √(A² + B²)
Equidistant from two intersecting lines|A₁x + B₁y + C₁| / √(A₁² + B₁²) = |A₂x + B₂y + C₂| / √(A₂² + B₂²) (a pair of angle bisectors)

How to Find the Equation of a Locus (Step by Step)

  1. Let the moving point be P(x, y).
  2. Translate the condition into an equation with the distance formula, e.g. PA = PB or PA = 2PB; for a distance to a line use |Ax + By + C| / √(A² + B²).
  3. Square both sides to remove square roots, or split |…| = |…| into the + and − cases.
  4. Expand and simplify. If the x² and y² terms cancel, the locus is a straight line; if they remain with equal coefficients, it is a circle, so find its centre and radius.
  5. Describe the locus in words if the question asks, for example "the perpendicular bisector of AB".

The Core Concept

What is a Locus? A locus is simply a path traced by a moving point P(x, y) that must follow a specific rule (condition). In the DSE, this path always turns into either a straight line (Ax + By + C = 0) or a circle (x² + y² + Dx + Ey + F = 0).

DSE Locus Cheat Sheet — 5 Key Topics

Scan this compact reference table to review every essential concept, step, and shortcut in under 10 seconds.

TopicKey Concept & StepsExam Shortcuts & Tips
1. Equidistant from 2 points A and BPerpendicular bisector of ABMidpoint of AB + negative reciprocal slope:
mbisector = −1 / mAB
2. Fixed distance r from a point C(h, k)CircleStandard Form:
(x − h)² + (y − k)² = r²
3. Fixed distance d from a straight line LA pair of parallel lines on both sidesSame slope as L, distance calculated via point-to-line formula.
4. Equidistant from 2 intersecting linesA pair of angle bisectorsPoint-to-line distance equation:
|A₁x + B₁y + C₁| / √(A₁² + B₁²) = |A₂x + B₂y + C₂| / √(A₂² + B₂²)
5. Combined Conditions (Section B)Intersection points of a circle & a lineSubstitute y = mx + c into the circle equation and solve using the discriminant (Δ).

Worked Examples — Locus

Example 1: Equidistant from two points (perpendicular bisector)

Find the equation of the locus of P(x, y) which is equidistant from A(−2, 3) and B(4, 1).

  1. Write the condition and square both sides: PA² = PB², so (x + 2)² + (y − 3)² = (x − 4)² + (y − 1)².
  2. Expand: x² + 4x + 4 + y² − 6y + 9 = x² − 8x + 16 + y² − 2y + 1.
  3. The x² and y² terms cancel: 12x − 4y − 4 = 0, i.e. 3x − y − 1 = 0.
  4. Check: the mid-point of AB, (1, 2), satisfies it, and the slope 3 is the negative reciprocal of mAB = −1/3 ✓

Answer: 3x − y − 1 = 0, the perpendicular bisector of AB.

Example 2: A distance ratio that gives a circle

P(x, y) moves so that its distance from A(1, 0) is twice its distance from B(4, 0). Find the equation of the locus of P and describe it.

  1. Condition: PA = 2PB, so PA² = 4PB².
  2. (x − 1)² + y² = 4[(x − 4)² + y²].
  3. Expand: x² − 2x + 1 + y² = 4x² − 32x + 64 + 4y².
  4. Rearrange: 3x² + 3y² − 30x + 63 = 0, i.e. x² + y² − 10x + 21 = 0.
  5. Centre (5, 0), radius √(25 − 21) = 2. Check: (3, 0) gives PA = 2 = 2 × PB ✓

Answer: x² + y² − 10x + 21 = 0: a circle with centre (5, 0) and radius 2.

Example 3: Equidistant from two lines (angle bisectors)

Find the locus of P equidistant from L₁: 3x − 4y + 1 = 0 and L₂: 4x + 3y − 2 = 0.

  1. Both lines have √(A² + B²) = 5, so the condition is |3x − 4y + 1| = |4x + 3y − 2|.
  2. Case +: 3x − 4y + 1 = 4x + 3y − 2 gives x + 7y − 3 = 0.
  3. Case −: 3x − 4y + 1 = −(4x + 3y − 2) gives 7x − y − 1 = 0.
  4. Check: the slopes −1/7 and 7 multiply to −1, so the two bisectors are perpendicular ✓

Answer: The pair of lines x + 7y − 3 = 0 and 7x − y − 1 = 0.

💡 Exam Traps & Secrets

⚠️ The "Pair of Lines" TrapFor Case 3 (fixed distance from a line) and Case 4 (angle bisectors), the locus is always a pair of lines. If you only write one equation in your Paper 1 exam, you will lose half the marks.
⚠️ The "Does Not Exist" TrapSometimes Section B questions ask for the intersection of two loci. If the straight line does not touch the circle (i.e., Δ < 0), the locus of the combined condition does not exist. You must explicitly state this to secure the final mark.

✏️ Self-Test: Quick Interactive Practice

How to study: Click any question below to instantly load it on the coordinate grid and check your steps.

(Perpendicular Bisector)Find the locus of P(x, y) equidistant from A(−2, 3) and B(4, 1).
(Circle Equation)Find the locus of P(x, y) always at distance 5 from the origin (0, 0).
(Angle Bisector)Find the locus of P equidistant from 3x − 4y + 1 = 0 and x + 2y − 5 = 0.

Locus Exercises: DSE-Style Practice

DSE-style practice sets from the SketchMath question bank, with solutions for every MC and long question.

Equations of Circles and Locus · Form 5
32 MC questions · 10 long questions

Frequently Asked Questions

Related Topics

Equations of Straight LinesEquations of CirclesHKDSE Math: all topicsHKDSE Maths Formula SheetDSE Maths Practice by Form
Try a Locus DSE Practice Question