The two descriptions of a point, polar and Cartesian, are converted into each other using sine, cosine and the arctangent.
Property — Conversion polar ↔ Cartesian
\text{(polar} \to \text{Cartesian)}\quad & x = \rho\cos\theta, & y = \rho\sin\theta. \\ \text{(Cartesian} \to \text{polar)}\quad & \rho = \sqrt{x^2+y^2}, & \theta = \arctan\!\left(\frac{y}{x}\right)\ \text{(with a choice of quadrant)}. \end{aligned}$$
Warning — The quadrant in the inversion
returns an angle in : it must be corrected by looking at the signs of and . In many languages (Python, C, MATLAB) there is the function
atan2which does the right thing, returning .
Example — Conversion both ways
in polar: , (first quadrant). Polar coordinates: .
in Cartesian: , . So .
Links
Topics: Trigonometry
Concepts: Arctangent · Cartesian coordinates · Polar coordinates · Cartesian plane
Methods: Polar-Cartesian conversion
Skills: Calculating · Reasoning by cases · Using formulae