← Guides · Home

Polar coordinates: distance and direction

A grounded way to locate a point when “how far?” and “which way?” matter more than a street grid.

Imagine a radar operator. A plane is reported as 12 km away at a certain bearing. Nobody says “9 km east and 8 km north” in the first radio call. They lead with distance from the tower and direction from a reference ray. That is polar thinking.

The two numbers

In polar form a point is written (r, θ):

x y θ r P Origin O — the radar / center
Point P is fixed by walking distance r from O, then facing angle θ from the positive x-axis.

When polar feels more natural than x and y

Street grids love Cartesian coordinates. Anything organized around a center often loves polar.

Connecting to the map: x and y

Once you know r and θ, the usual plane coordinates are:

x = r · cos θ     y = r · sin θ

Read that in words: cosine picks the east–west share of the distance; sine picks the north–south share.

θ r x = r cos θ y = r sin θ
Drop a perpendicular from P to the x-axis: the horizontal leg is x, the vertical leg is y.

Check with a special angle. If r = 2 and θ = 0 (straight along the positive x-axis), then cos 0 = 1 and sin 0 = 0, so the point is (2, 0). All of the distance is “east”; none is “north.”

Going the other way

If you already have Cartesian (x, y):

r = √(x² + y²)

That is the same formula as the length of a vector from the origin — a straight-line distance. The angle θ is chosen so that it matches the quadrant (atan2 in programming languages handles this carefully).

Common trap: r is distance when r ≥ 0. Negative r is allowed in some textbooks (it means “go the opposite direction”), but for first intuition, treat r as a nonnegative distance from the center.

The circle r = constant

If every point has the same r, you are describing a circle centered at the origin. Polar equation r = 6 means “everything 6 units from O” — the kind of track a robot follows if it keeps a fixed distance from a beacon.

Practice in the lab

AP → Polar Coordinates: radar distances, kite strings, and converting between r, θ and x, y.

Open Hyper-Scale Lab

Related guides