Polar Coordinates

In polar coordinates, points in a plane are defined by radial distance rr and angular coordinate θ\theta (Figure 1). The radial direction measures the point's distance from the origin, while the angular direction corresponds to the counterclockwise angle from the positive x-axis. These two dimensions together specify any point in the plane.

When transitioning from Cartesian coordinates (xx, yy) to polar coordinates (rr, θ\theta), we calculate the radial distance and angle using equation (1). Conversely, when converting from polar back to Cartesian coordinates, we use equation (2).

Loading...

Figure 1:Polar coordinate system

Animations
<IPython.core.display.Image object>

Figure 2:Radial direction

<IPython.core.display.Image object>

Figure 3:Angular direction

Equations

To convert from Cartesian coordinates (x,y)(x, y) to polar coordinates (r,θ)(r, \theta):

[rθ]=[x2+y2atan2(y,x)]\begin{bmatrix}r \\ \theta \end{bmatrix} = \begin{bmatrix} \sqrt{x^2 + y^2} \\ \text{atan2}(y, x) \end{bmatrix}

To convert from polar coordinates (r,θ)(r, \theta) to Cartesian coordinates (x,y)(x, y):

[xy]=r[cos(θ)sin(θ)]\begin{bmatrix}x \\ y \end{bmatrix} = r \cdot \begin{bmatrix} \cos(\theta) \\ \sin(\theta) \end{bmatrix}