Locus

Every line, circle, and curve you have ever drawn in coordinate geometry is secretly the same kind of object: a locus, the complete set of points obeying one algebraic rule. A locus problem hands you a condition in words — "equidistant from two points," "twice as far from one point as another" — and asks you to turn it into an equation by letting a general point P(x,y)P(x,y) stand in for every point on the path, writing the condition down using tools you already know (distance, slope, section formula), and simplifying. This is less a new topic than a new skill laid on top of the distance formula: recognising that a geometric sentence and an algebraic equation are two descriptions of the same picture. Master the translation step and the perpendicular bisector, the circle, and the angle bisector all fall out as special cases of one method, rather than three formulas to memorise separately.

The core insight

A locus is the equation satisfied by a general point P(x,y)P(x,y) that obeys a stated geometric condition, found by translating that condition into algebra (usually via the distance formula) and simplifying.

The core idea

What a locus is. A locus is the path traced by a point moving under a rule, or equivalently the set of all points in the plane satisfying a given condition — no more, no fewer. The defining property runs both ways: every point that satisfies the equation lies on the locus, and every point on the locus satisfies the equation. Getting the algebra to match the geometry exactly, in both directions, is the entire point of the topic.

The four-step method. Every locus problem follows the same template.

  • Let P(x,y)P(x,y) be a general point assumed to lie on the locus.
  • Translate the stated condition into an equation in xx and yy, using the distance formula, slope, or section formula as needed.
  • Simplify the equation as far as it will go.
  • Sanity-check with a point that must lie on the locus by the geometry of the situation (a mid-point, for instance).

The distance between two points (x1,y1)(x_1,y_1) and (x2,y2)(x_2,y_2) is the workhorse tool behind almost every locus condition:

d=(x2−x1)2+(y2−y1)2d = \sqrt{(x_2-x_1)^2 + (y_2-y_1)^2}

where: dd is the distance between the two points and (x1,y1)(x_1,y_1), (x2,y2)(x_2,y_2) are their coordinates. Squaring both sides of a distance equation is always legitimate here, since a distance is never negative — squaring loses no solutions and introduces none, so it is the standard way to clear the square root before expanding.

Three conditions you already know the answer to. Certain wordings are common enough to recognise on sight, though a locus problem still expects the full algebraic derivation:

  • Equidistant from two fixed points →\to the perpendicular bisector of the segment joining them (a straight line).
  • A fixed distance rr from a fixed centre →\to a circle of radius rr (the standard circle equation is exactly this locus, derived the same way).
  • Equidistant from two fixed lines →\to one of the angle bisectors of those lines.

Recognising the pattern is a useful check on your final simplified equation, but it is never a substitute for doing the algebra — problems routinely disguise a simple condition (like "twice as far") that produces something other than a line.

Beyond distance. Not every locus condition is stated purely in terms of distance. Some conditions are naturally phrased using slope — for instance, a point moving so that the line joining it to a fixed point always makes a fixed angle with the x-axis — while others involve the section formula, when a moving point is defined as dividing a segment between two other moving or fixed points in a given ratio. The four-step method still applies unchanged; only the specific tool used in Step 2 to convert words into algebra differs. This is why locus sits at the end of the Straight Lines unit rather than as a standalone topic — it deliberately calls back on everything else the chapter has already built.

Figure
Two labelled points A and B with their perpendicular bisector drawn as a dashed line through the midpoint, and a general point P on that line joined to both A and B by equal-length segments
Equidistant from A and B locates the perpendicular bisector A (3, 4) B (-1, 2) midpoint (1, 3) 2x + y - 5 = 0 P(x, y) PA PB Every point on the red line satisfies PA = PB
Derivation AEquidistant from two fixed points gives a straight line

Derive the equation of the locus of a point P(x,y)P(x,y) that stays equidistant from two given fixed points A(x1,y1)A(x_1,y_1) and B(x2,y2)B(x_2,y_2), showing along the way why the result must be a straight line rather than a curve, and why squaring the distance condition is a safe algebraic move rather than a shortcut that risks losing solutions.

Step 1. State the condition algebraically. Equidistant means PA=PBPA = PB. Since both sides are non-negative distances, this is equivalent to PA2=PB2PA^2 = PB^2, which avoids carrying square roots through the rest of the derivation.

Step 2. Write both sides using the distance formula:

(x−x1)2+(y−y1)2=(x−x2)2+(y−y2)2(x-x_1)^2+(y-y_1)^2 = (x-x_2)^2+(y-y_2)^2

Step 3. Expand every squared bracket on both sides. Each side produces an x2x^2 term, a y2y^2 term, and linear terms:

x2−2x1x+x12+y2−2y1y+y12=x2−2x2x+x22+y2−2y2y+y22x^2-2x_1x+x_1^2+y^2-2y_1y+y_1^2 = x^2-2x_2x+x_2^2+y^2-2y_2y+y_2^2

Step 4. Cancel the matching x2x^2 and y2y^2 terms from both sides — this cancellation is precisely why the result collapses from a quadratic-looking setup to a linear equation:

−2x1x+x12−2y1y+y12=−2x2x+x22−2y2y+y22-2x_1x+x_1^2-2y_1y+y_1^2 = -2x_2x+x_2^2-2y_2y+y_2^2

Step 5. Collect all terms on one side and simplify. The xx-coefficient becomes 2(x2−x1)2(x_2-x_1), the yy-coefficient becomes 2(y2−y1)2(y_2-y_1), and the constant collects the remaining squared terms, giving a linear equation in xx and yy: 2(x2−x1)x+2(y2−y1)y+(x12+y12−x22−y22)=02(x_2-x_1)x + 2(y_2-y_1)y + (x_1^2+y_1^2-x_2^2-y_2^2) = 0. This is a straight line, and it can be shown to pass through the midpoint of ABAB and to be perpendicular to ABAB — the perpendicular bisector, exactly as the geometric picture demands.

Worked example

Find the equation of the locus of a point PP equidistant from A(3,4)A(3,4) and B(−1,2)B(-1,2), then verify it.

Step 1. Set up the condition. Let P(x,y)P(x,y) satisfy PA=PBPA = PB, so PA2=PB2PA^2=PB^2:

(x−3)2+(y−4)2=(x+1)2+(y−2)2(x-3)^2+(y-4)^2 = (x+1)^2+(y-2)^2

Step 2. Expand both sides:

x2−6x+9+y2−8y+16=x2+2x+1+y2−4y+4x^2-6x+9+y^2-8y+16 = x^2+2x+1+y^2-4y+4

Step 3. Cancel x2x^2 and y2y^2, then collect terms onto one side:

−6x−8y+25=2x−4y+5  ⟹  −8x−4y+20=0-6x-8y+25 = 2x-4y+5 \implies -8x-4y+20=0

Step 4. Divide through by −4-4 to reach the simplest form: 2x+y−5=02x+y-5=0.

Step 5. Verify using the midpoint of ABAB, which must lie on the locus since it is equidistant from both endpoints by construction: midpoint =(3−12,4+22)=(1,3)=\left(\frac{3-1}{2},\frac{4+2}{2}\right)=(1,3), and 2(1)+3−5=02(1)+3-5=0 ✓. The locus is the line 2x+y−5=02x+y-5=0, the perpendicular bisector of ABAB.

Competitive stretch

A point PP moves so its distance from (2,0)(2,0) is always twice its distance from (0,1)(0,1): writing PA2=4 PB2PA^2=4\,PB^2 and expanding gives x2−4x+4+y2=4(x2+y2−2y+1)x^2-4x+4+y^2 = 4(x^2+y^2-2y+1), which simplifies to 3x2+3y2+4x−8y=03x^2+3y^2+4x-8y=0, or x2+y2+43x−83y=0x^2+y^2+\frac{4}{3}x-\frac{8}{3}y=0 after dividing by 3 — a circle, since the x2x^2 and y2y^2 terms no longer cancel once the ratio is unequal.

Common traps

  • Squaring only one side, or squaring before isolating the distances. Both sides of PA=PBPA=PB (or PA=k PBPA=k\,PB) must be squared together to clear all square roots cleanly in one step.
  • Sign errors expanding (x−a)2(x-a)^2 or (y−b)2(y-b)^2. A dropped negative sign inside one of several expansions in the same problem is the single most common cause of a wrong final line or circle.
  • Stopping before full simplification. An unsimplified but correct locus equation can look "wrong" next to a textbook answer even though the two are algebraically identical — always divide out common factors.
  • Swapping which point carries the multiplier in an unequal-ratio condition. PA=2PBPA=2PB and PB=2PAPB=2PA describe two different circles; misreading which distance is doubled changes the entire answer.

Ask the tutor: If a worded locus condition is confusing you, describe it to the AI tutor and ask for help writing the very first equation — that translation step is where most of the difficulty lives.

Why does squaring PA = PB not introduce extra or lost points?

Because both PAPA and PBPB are distances, they are already non-negative by definition. Squaring a non-negative equation is a reversible step here — there is no sign ambiguity to worry about, unlike squaring an equation that could involve negative quantities. That is exactly why every locus derivation in this topic squares the distance condition first, before doing any expansion.

How do I know if a locus condition will give a line or a circle?

Expand the squared distance terms and watch the x2x^2 and y2y^2 coefficients. If the condition is a plain equidistance (PA=PBPA=PB), those coefficients are identical on both sides and cancel, leaving a linear equation — a line. If the condition has an unequal ratio (like PA=2PBPA=2PB), the coefficients no longer match after expanding, so x2x^2 and y2y^2 survive with equal coefficients — a circle.

Do I always need to verify the final locus equation?

It is good practice and often expected in exams, since it catches expansion or sign errors cheaply. Pick a point that the geometry guarantees lies on the locus — for an equidistance condition, the midpoint of the two given points always works, since it is trivially equidistant from both by definition.

Before this

Where this leads