Mathwords logoMathwords

Trilateration — Definition, Formula & Example

Trilateration is a way to find where something is by measuring how far it is from three points whose locations you already know. Each distance puts the object somewhere on a circle, and the one spot shared by all three circles is the answer.

Given three non-collinear points (xi,yi)(x_i, y_i) in the plane and distances di>0d_i > 0, trilateration determines the point (x,y)(x, y) that satisfies all three circle equations (x−xi)2+(y−yi)2=di2(x - x_i)^2 + (y - y_i)^2 = d_i^2. Subtracting one equation from another cancels the x2x^2 and y2y^2 terms. The result is a system of two linear equations, and it has a unique solution exactly when the three centers are not collinear.

Key Formula

(x−xi)2+(y−yi)2=di2,i=1,2,3(x - x_i)^2 + (y - y_i)^2 = d_i^2, \qquad i = 1, 2, 3
Where:
  • (x,y)(x, y) = the unknown position you want to find
  • (xi,yi)(x_i, y_i) = the known location of reference point i
  • did_i = the measured distance from the unknown position to reference point i

Worked Example

Problem: A phone is near three cell towers. On a map grid measured in miles, the towers are at A(0, 0), B(12, 0), and C(0, 8). Signal timing shows the phone is 10 miles from A, 10 miles from B, and 6 miles from C. Where is the phone?
Step 1: Write one circle equation for each tower. The center is the tower's location, and the radius is the measured distance.
x2+y2=100,(x−12)2+y2=100,x2+(y−8)2=36x^2 + y^2 = 100, \quad (x-12)^2 + y^2 = 100, \quad x^2 + (y-8)^2 = 36
Step 2: Subtract the A equation from the B equation. The x2x^2 and y2y^2 terms cancel, which leaves a linear equation in xx.
(x−12)2−x2=100−100  ⟹  −24x+144=0  ⟹  x=6(x-12)^2 - x^2 = 100 - 100 \implies -24x + 144 = 0 \implies x = 6
Step 3: Subtract the A equation from the C equation. This time the result is a linear equation in yy.
(y−8)2−y2=36−100  ⟹  −16y+64=−64  ⟹  y=8(y-8)^2 - y^2 = 36 - 100 \implies -16y + 64 = -64 \implies y = 8
Answer: The phone is at (6, 8). Check: its distance to A is 36+64=10\sqrt{36 + 64} = 10 miles, its distance to B is 36+64=10\sqrt{36 + 64} = 10 miles, and its distance to C is 36+0=6\sqrt{36 + 0} = 6 miles. All three distances match the measurements.

Why It Matters

Earth science classes use trilateration to locate an earthquake's epicenter. Each of three seismograph stations converts the delay between P-waves and S-waves into a distance, and the epicenter is where the three circles meet. GPS receivers apply the same idea in three dimensions. They use at least four satellites: three to fix the position and one more to correct the receiver's clock error.

Common Mistakes

Mistake: Thinking two distances are enough to pin down a location in the plane.
Correction: Two circles usually cross at two points, so two distances leave you with two possible locations. The third distance, measured from a point that is not on the same line as the first two, picks out the correct one.

Related Terms