In short

A locus is the complete set of points in the plane that satisfy a given geometric condition. Finding the equation of a locus means translating the geometric condition into an algebraic equation in x and y. Every curve you meet in coordinate geometry — every line, circle, parabola, ellipse — is a locus: the set of points obeying some rule.

Tie a goat to a peg in the ground with a rope that is 5 metres long. The goat wanders around, eating grass. What is the shape traced out by every point the goat can reach?

You already know the answer: a circle centred at the peg with radius 5 metres. The goat can reach any point that is exactly 5 metres from the peg, and no point that is farther. The boundary of its grazing area — the circle — is the set of all points at distance 5 from a fixed point.

That set of points has a name. It is called a locus.

The word comes from Latin, meaning "place." A locus is a place in the plane — not a single point, but an entire collection of points — defined by a rule. "All points at distance 5 from the peg" is a rule. The locus of that rule is a circle.

Here is why this idea matters. In coordinate geometry, every curve is secretly a locus. A circle is the locus of points equidistant from a centre. A parabola is the locus of points equidistant from a fixed point (the focus) and a fixed line (the directrix). A straight line is the locus of points satisfying a linear relation between x and y. Learning to find the equation of a locus is learning to build the equation of any curve from a geometric description.

From geometric rule to algebraic equation

The power of coordinate geometry is that you can take a geometric sentence — "all points equidistant from A and B" — and convert it, step by step, into an equation in x and y. Once you have the equation, you can plot it, differentiate it, find intersections with other curves, and do everything algebra allows.

Here is the general method. It works for every locus problem you will encounter.

Step 1. Let P(x, y) be an arbitrary point on the locus. You do not know what x and y are — that is the whole point. You are naming the unknown coordinates so you can set up an equation.

Step 2. Write the geometric condition in terms of x and y. If the condition says "distance from P to A equals distance from P to B," write out the distance formula for each side. If it says "the angle at P is 90°," use the slope condition for perpendicularity. Translate the English (or the diagram) into algebra.

Step 3. Simplify the equation. Square both sides if there are square roots. Expand. Cancel. Collect terms. The goal is a clean equation in x and y — ideally one you recognise as a line, a circle, a parabola, or some other familiar curve.

Step 4. Verify. Pick a point that obviously belongs to the locus (from the geometry), and check that it satisfies the equation. Pick a point that obviously does not belong, and check that it fails.

That is the entire method. The difficulty in locus problems is never the method — it is always the algebra in Step 3. The method itself is the same every time: name the point, write the condition, simplify.

The simplest locus: equidistant from two points

Start with the most basic locus problem. Given two fixed points A(1, 2) and B(5, 4), find the locus of a point P that is equidistant from A and B.

Before computing, think about what the answer should be. The set of all points equidistant from two fixed points is the perpendicular bisector of the segment joining them. That is a fact from pure geometry — every point on the perpendicular bisector is equidistant from the two endpoints, and no other point has that property. So the locus should be a straight line, perpendicular to AB and passing through the midpoint of AB.

Now derive it.

Let P(x, y) be a point on the locus. The condition is PA = PB.

PA = \sqrt{(x - 1)^2 + (y - 2)^2}, \qquad PB = \sqrt{(x - 5)^2 + (y - 4)^2}

Set them equal: PA = PB. Square both sides to remove the square roots (squaring is safe here because both sides are non-negative distances):

(x - 1)^2 + (y - 2)^2 = (x - 5)^2 + (y - 4)^2

Expand each side:

x^2 - 2x + 1 + y^2 - 4y + 4 = x^2 - 10x + 25 + y^2 - 8y + 16

The x^2 and y^2 terms appear on both sides — cancel them:

-2x + 1 - 4y + 4 = -10x + 25 - 8y + 16

Collect terms:

-2x - 4y + 5 = -10x - 8y + 41
8x + 4y = 36
2x + y = 9

That is the equation of the locus. It is a straight line, just as the geometric intuition predicted.

Verification. The midpoint of A(1,2) and B(5,4) is M(3, 3). Does M satisfy 2x + y = 9? Check: 2(3) + 3 = 9. Yes. The slope of AB is (4-2)/(5-1) = 1/2. The slope of the locus line 2x + y = 9 is -2/1 = -2. The product of slopes is (1/2)(-2) = -1, confirming perpendicularity. Everything checks out.

The locus of points equidistant from $A(1,2)$ and $B(5,4)$ is the line $2x + y = 9$ — the perpendicular bisector of segment $AB$. The midpoint $M(3,3)$ sits on the line, and the line is perpendicular to $AB$.

Notice how the x^2 and y^2 terms cancelled. That always happens in an equidistant-from-two-points problem, and it is why the result is always a line (degree one), never a curve (degree two or higher). The squared terms are the same on both sides because both distance expressions have the same x^2 + y^2 at their core.

The formal definition

With a concrete example done, here is the precise statement.

Locus

The locus of a point satisfying a given geometric condition is the set of all positions of that point for which the condition holds. The equation of the locus is the algebraic equation in x and y that is satisfied by every point on the locus and by no point off the locus.

Two things to note about this definition.

First, the word "all" is doing heavy lifting. A locus is not some points that satisfy the condition — it is every point that satisfies it. The equation of a circle x^2 + y^2 = 25 is not a claim about any particular point; it is a complete description of every point on the circle.

Second, the equation must work in both directions. Every point on the locus satisfies the equation, and every point off the locus does not. If your equation is satisfied by extra points that don't belong to the locus, you have introduced an extraneous curve — usually by squaring both sides carelessly. Always verify.

Worked examples

Example 1: Locus at a fixed distance from a point

Find the equation of the locus of a point P that moves so that its distance from A(3, -1) is always 4 units.

Step 1. Let P(x, y) be on the locus. The condition is PA = 4.

Why: the geometric rule is "distance from P to A equals 4." Naming P as (x,y) lets us write this as an equation.

Step 2. Write the distance condition using the distance formula.

\sqrt{(x - 3)^2 + (y + 1)^2} = 4

Why: the distance from (x,y) to (3,-1) is \sqrt{(x-3)^2 + (y-(-1))^2}, and setting this equal to 4 gives the condition.

Step 3. Square both sides.

(x - 3)^2 + (y + 1)^2 = 16

Why: squaring eliminates the square root. Since both sides are non-negative, this step introduces no extraneous solutions.

Step 4. Expand if you want the general form, or leave as-is.

x^2 - 6x + 9 + y^2 + 2y + 1 = 16
x^2 + y^2 - 6x + 2y - 6 = 0

Why: expanding gives the general-form equation. The unexpanded form (x-3)^2 + (y+1)^2 = 16 is often more useful because it directly shows the centre (3,-1) and radius 4.

Step 5. Verify. The point (7, -1) is at distance \sqrt{(7-3)^2 + 0^2} = 4 from A — it should satisfy the equation. Check: (7-3)^2 + (-1+1)^2 = 16 + 0 = 16. Correct. The point (0,0) is at distance \sqrt{9+1} = \sqrt{10} \neq 4 from A — it should fail. Check: (0-3)^2 + (0+1)^2 = 9 + 1 = 10 \neq 16. Correct.

Result: The locus is a circle: (x - 3)^2 + (y + 1)^2 = 16, centre (3, -1), radius 4.

The locus of points at distance $4$ from $A(3,-1)$ is a circle of radius $4$ centred at $A$. Every point on this circle — like $P_1(7,-1)$ and $P_2(3,3)$ — is exactly $4$ units from $A$.

This is the simplest locus in all of coordinate geometry: the definition of a circle. Every circle is a locus — the set of all points at a fixed distance (the radius) from a fixed point (the centre). That is not a theorem; it is a definition expressed in the language of loci.

Example 2: A ratio condition on distances

Find the equation of the locus of a point P that moves so that PA:PB = 2:1, where A(1, 0) and B(4, 0).

Step 1. Let P(x, y) be on the locus. The condition is PA = 2 \cdot PB.

Why: "ratio PA:PB = 2:1" means PA/PB = 2, which rearranges to PA = 2 \cdot PB.

Step 2. Write both distances.

PA = \sqrt{(x-1)^2 + y^2}, \qquad PB = \sqrt{(x-4)^2 + y^2}

The condition becomes:

\sqrt{(x-1)^2 + y^2} = 2\sqrt{(x-4)^2 + y^2}

Why: direct substitution into the distance formula, then setting PA = 2 \cdot PB.

Step 3. Square both sides.

(x-1)^2 + y^2 = 4\left[(x-4)^2 + y^2\right]

Expand the left side:

x^2 - 2x + 1 + y^2

Expand the right side:

4(x^2 - 8x + 16 + y^2) = 4x^2 - 32x + 64 + 4y^2

Set them equal:

x^2 - 2x + 1 + y^2 = 4x^2 - 32x + 64 + 4y^2

Bring everything to one side:

0 = 3x^2 - 30x + 63 + 3y^2

Divide by 3:

x^2 + y^2 - 10x + 21 = 0

Why: dividing by 3 simplifies the coefficients and makes it easier to identify the curve.

Step 4. Complete the square to identify the curve.

(x^2 - 10x + 25) + y^2 = 25 - 21
(x - 5)^2 + y^2 = 4

Why: completing the square on x reveals this as the equation of a circle with centre (5, 0) and radius 2.

Result: The locus is a circle: (x-5)^2 + y^2 = 4, centre (5,0), radius 2.

The locus of points $P$ with $PA:PB = 2:1$, where $A(1,0)$ and $B(4,0)$, is a circle centred at $(5,0)$ with radius $2$. This is called the **Apollonius circle** for the ratio $2:1$ with respect to $A$ and $B$. At $P_1(3,0)$: $PA = 2$, $PB = 1$, ratio $= 2:1$. At $P_2(7,0)$: $PA = 6$, $PB = 3$, ratio $= 2:1$.

This result is surprising. A ratio condition on distances produces a circle — not a line, not a parabola, but a circle. The centre of this circle is not the midpoint of AB; it is at (5, 0), offset to the far side of B. This type of circle — the locus of points whose distances from two fixed points have a constant ratio — is called an Apollonius circle. It appears naturally in optics, navigation, and many competition-level geometry problems. The only ratio that gives a line instead of a circle is 1:1 — the perpendicular bisector, the case you saw earlier.

Standard locus problems and their results

The method is always the same — name the point, write the condition, simplify — but certain conditions appear again and again. Here are the most important ones, and the curves they produce.

1. Fixed distance from a point. Condition: PA = r, where A is a fixed point and r > 0. Locus: a circle with centre A and radius r. You derived this in Example 1.

2. Equidistant from two fixed points. Condition: PA = PB. Locus: the perpendicular bisector of segment AB. A straight line. You derived this in the section above.

3. Fixed ratio of distances from two points. Condition: PA/PB = k, where k > 0 and k \neq 1. Locus: a circle (the Apollonius circle). You derived this in Example 2. When k = 1, the circle degenerates into the perpendicular bisector.

4. Equidistant from a point and a line. Condition: the distance from P to a fixed point F equals the perpendicular distance from P to a fixed line \ell. Locus: a parabola with focus F and directrix \ell. This is the definition of a parabola — you will see the full derivation in the article on Conic Sections.

5. Sum of distances from two fixed points is constant. Condition: PA + PB = 2a (where 2a > distance between A and B). Locus: an ellipse with foci at A and B. The derivation is in Ellipse.

6. Difference of distances from two fixed points is constant. Condition: |PA - PB| = 2a (where 2a < distance between A and B). Locus: a hyperbola with foci at A and B.

Gallery of standard loci: circle, line, parabola, ellipseFour small diagrams showing the four most common loci: a circle (fixed distance from a point), a line (equidistant from two points), a parabola (equidistant from a point and a line), and an ellipse (constant sum of distances from two points). circle PA = r line PA = PB parabola PF = Pd ellipse PA + PB = k
The four most common loci in coordinate geometry. Each curve is defined by a single geometric condition on distances. The equation of each curve is what you get when you write that condition algebraically and simplify.

Every one of these can be derived using the same four-step method. The shapes are different because the conditions are different — but the process of finding the equation is identical every time.

A parametric approach: when the point depends on a parameter

Not every locus problem gives you a distance condition. Sometimes the problem says: "A point P has coordinates that depend on some parameter t. As t varies, what curve does P trace out?"

Here the approach is different. You are given x and y each as a function of t, and you need to eliminate t to find a direct relation between x and y.

Take this problem: a point P has coordinates (2t, t^2) for all real values of t. Find the equation of the locus.

Set x = 2t and y = t^2. From the first equation, t = x/2. Substitute into the second:

y = \left(\frac{x}{2}\right)^2 = \frac{x^2}{4}

The locus is y = x^2/4 — a parabola, opening upward, with vertex at the origin.

Verification. At t = 3: P = (6, 9). Check: 9 = 36/4 = 9. Correct. At t = -2: P = (-4, 4). Check: 4 = 16/4 = 4. Correct.

The locus of the point $(2t, t^2)$ as $t$ varies is the parabola $y = x^2/4$. The labelled points show specific values of $t$. The parabola is traced out smoothly as $t$ runs from $-\infty$ to $+\infty$.

Here is another, slightly trickier. A point P has coordinates (a\cos\theta, b\sin\theta) as \theta varies from 0 to 2\pi, with a = 5 and b = 3. Find the equation of the locus.

Set x = 5\cos\theta and y = 3\sin\theta. Then \cos\theta = x/5 and \sin\theta = y/3. Use the identity \cos^2\theta + \sin^2\theta = 1:

\frac{x^2}{25} + \frac{y^2}{9} = 1

The locus is an ellipse with semi-major axis 5 (along the x-axis) and semi-minor axis 3 (along the y-axis). This is the standard parametric representation of an ellipse, and the elimination of the parameter \theta is exactly how you go from the parametric form to the Cartesian equation.

The locus of $(5\cos\theta, 3\sin\theta)$ is the ellipse $x^2/25 + y^2/9 = 1$. As $\theta$ runs from $0$ to $2\pi$, the point traces the entire ellipse once.

Applications: loci in real problems

Locus thinking appears everywhere — not just in textbook exercises, but in real-world problems and in competition mathematics.

Cell tower coverage. A cell tower at location T covers all phones within a radius r. The boundary of the coverage area is a circle — the locus of points at distance r from T. If two towers need to share coverage, the handoff boundary is the locus of points equidistant from both towers — the perpendicular bisector of the segment joining them. The entire theory of Voronoi diagrams, used in network planning across India's telecom infrastructure, rests on this locus.

Satellite dishes. A parabolic dish antenna has the property that incoming parallel signals all reflect to a single point — the focus. This works because the dish is shaped as a parabola, which is the locus of points equidistant from the focus and the directrix. The equal-distance property is what makes all the reflected paths converge. The same principle is at work in the parabolic reflectors of car headlights, where a bulb at the focus sends light out in parallel rays.

Navigation (LORAN). Before GPS, ships determined their position using LORAN — a system based on measuring the difference in arrival times of signals from two fixed radio stations. A constant time difference means a constant distance difference, and the locus of constant distance difference from two fixed points is a hyperbola. By using two pairs of stations, a ship could find two hyperbolas; its position was where they crossed.

Common confusions

Going deeper

If you came here to learn what a locus is and how to find its equation, you have it — you can stop here. The rest of this section is for readers who want to see a more involved derivation, and some connections to the broader theory.

Deriving the parabola as a locus

Take the standard parabola problem: find the locus of a point P equidistant from the point F(0, a) and the line y = -a, where a > 0.

Let P(x, y) be on the locus. The distance from P to F(0, a) is:

PF = \sqrt{x^2 + (y - a)^2}

The perpendicular distance from P(x, y) to the line y = -a is:

d = |y - (-a)| = |y + a|

Set them equal:

\sqrt{x^2 + (y - a)^2} = |y + a|

Square both sides:

x^2 + (y - a)^2 = (y + a)^2

Expand both sides:

x^2 + y^2 - 2ay + a^2 = y^2 + 2ay + a^2

Cancel y^2 and a^2 from both sides:

x^2 - 2ay = 2ay
x^2 = 4ay

This is the standard equation of a parabola with vertex at the origin, focus at (0, a), and directrix y = -a. The locus approach has just derived the equation from pure geometry — no formula was assumed, only the equal-distance condition.

For a concrete case, set a = 2. The focus is at (0, 2), the directrix is y = -2, and the equation is x^2 = 8y.

The parabola $x^2 = 8y$, derived as a locus. The point $P(4,2)$ is at distance $4$ from both the focus $F(0,2)$ and the directrix $y = -2$. Every point on the curve has this equal-distance property — that is what *makes* it a parabola.

Verification at P(4, 2). Distance from P to F(0,2): \sqrt{16 + 0} = 4. Distance from P to the directrix y = -2: |2 - (-2)| = 4. Equal. The point satisfies the locus condition.

The Apollonius circle — a closer look

In Example 2 you found that the locus of PA:PB = 2:1 with A(1,0) and B(4,0) is the circle (x-5)^2 + y^2 = 4. Here is the general result.

Given two fixed points A and B separated by distance d, and a ratio k:1 with k > 0 and k \neq 1, the locus of points P with PA:PB = k:1 is a circle. Its centre lies on the line AB, and there is a clean formula for its radius.

The two points where the locus meets line AB divide segment AB internally and externally in the ratio k:1. If A and B have coordinates such that A is at the origin and B is at (d, 0), the internal division point is at \left(\frac{kd}{k+1}, 0\right) and the external division point is at \left(\frac{kd}{k-1}, 0\right).

For k = 2 and d = 3 (the distance from A(1,0) to B(4,0) in Example 2): shifting to A at origin, the internal point is at \frac{2 \cdot 3}{3} = 2 from A, i.e., at (3, 0) in the original coordinates. The external point is at \frac{2 \cdot 3}{1} = 6 from A, i.e., at (7, 0). The centre of the Apollonius circle is the midpoint of these two points: ((3+7)/2, 0) = (5, 0), and the radius is half the distance between them: (7-3)/2 = 2. This matches the equation (x-5)^2 + y^2 = 4 found in Example 2.

The Apollonius circle is one of the oldest constructions in geometry — it appears in Book VI of the Collections of Pappus, building on ideas that go back to Apollonius of Perga. The same construction appears in Indian mathematics through the study of harmonic division, and in modern physics through problems involving inverse-square-law fields.

Loci as level sets

There is a more general way to think about loci. Given any function f(x, y) of two variables, the set of points where f(x, y) = c for some constant c is called a level set (or level curve) of f. Every locus you have seen in this article is a level set:

Thinking of curves as level sets is central to multivariable calculus and to the study of surfaces and manifolds. The gradient of f at any point on the level set is perpendicular to the curve at that point — a fact that connects loci directly to the theory of derivatives.

Where this leads next

The locus idea is the foundation of everything that follows in coordinate geometry. Every curve you will study is a locus defined by a geometric condition.