Rectangular–Polar Conversion
Every point in the plane can be described in more than one way. The rectangular (Cartesian) coordinate system locates a point by measuring its horizontal distance x and vertical distance y from the origin. The polar coordinate system, by contrast, locates the same point by specifying how far it is from the origin (the radial distance r) and the angle θ that the line from the origin to the point makes with the positive x-axis. Both systems are equally valid; the choice of which to use depends on what kind of problem you are solving. Converting between these two systems is an essential skill in trigonometry and precalculus. Polar form is often more natural for circular motion, spirals, and many physical phenomena such as electromagnetic waves or planetary orbits. Rectangular form is more convenient for linear equations, matrix calculations, and most algebraic manipulations. Being able to move fluently from one representation to the other allows you to pick whichever system makes a given problem easier. The conversion formulas come directly from the definitions of sine and cosine in a right triangle formed by dropping a perpendicular from the point to the x-axis. This connection means that mastering rectangular–polar conversion deepens your understanding of trigonometric functions themselves, showing how they link distances, angles, and coordinates in a unified framework.
- Build the right triangle
- Polar → Rectangular
- Rectangular → Polar: finding r
- Rectangular → Polar: finding θ
- Quadrant check — the most important step
Build the right triangle
Place a point P at rectangular coordinates (x, y). Drop a perpendicular from P to the x-axis. The resulting right triangle has a horizontal leg of length |x|, a vertical leg of length |y|, and a hypotenuse from the origin to P of length r. This triangle is the geometric heart of every conversion formula.
Polar → Rectangular
Given polar coordinates (r, θ), recover rectangular coordinates using the definitions of cosine and sine: x = r cos θ and y = r sin θ. These two equations always work for any angle θ and any real value of r. For example, if r = 4 and θ = π/3, then x = 4 cos(π/3) = 4 · (1/2) = 2 and y = 4 sin(π/3) = 4 · (√3/2) = 2√3, giving the point (2, 2√3).
Rectangular → Polar: finding r
Given rectangular coordinates (x, y), find r using the Pythagorean theorem: r = √(x² + y²). Since r represents a distance, we typically take the non-negative square root unless the problem specifically requires a negative r convention. For example, the point (3, 4) gives r = √(9 + 16) = √25 = 5.
Rectangular → Polar: finding θ
Find θ using the inverse tangent: θ = arctan(y/x). However, arctan only returns values in (−π/2, π/2), so you must adjust for the correct quadrant. If (x, y) is in Quadrant II or III (x < 0), add π to the arctan result. If (x, y) is in Quadrant IV (x > 0, y < 0), you may add 2π to keep θ in [0, 2π). When x = 0, θ is π/2 or 3π/2 depending on the sign of y. Many calculators use the two-argument function atan2(y, x) to handle this automatically.
Quadrant check — the most important step
Always verify that the signs of x = r cos θ and y = r sin θ match the original point. A common error is to use arctan(y/x) blindly and land in the wrong quadrant. For instance, the points (1, 1) and (−1, −1) both have y/x = 1, but they are in opposite quadrants. The correct angles are π/4 and 5π/4 (or equivalently −3π/4), respectively.
The Key Equation
- r — Radial distance (same units as x and y): The non-negative distance from the origin to the point P.
- \theta — Polar angle (radians (or degrees)): The angle measured counter-clockwise from the positive x-axis to the line segment OP.
- x — Horizontal coordinate (length units): The signed horizontal displacement of the point from the origin.
- y — Vertical coordinate (length units): The signed vertical displacement of the point from the origin.
- \operatorname{atan2}(y,x) — Two-argument arctangent (radians): Returns the angle in the correct quadrant by checking the individual signs of y and x, not just their ratio.
Worked Example
Problem. Convert the rectangular point (−3, 3) to polar coordinates, with r ≥ 0 and θ ∈ [0, 2π).
Answer. Polar coordinates: (3√2, 3π/4)
Origins · 1 minRené Descartes and how this was discovered
Descartes invented the rectangular coordinate system in his 1637 appendix 'La Géométrie,' which unified algebra and geometry by allowing geometric curves to be described with equations. This foundational work made the rectangular system — now called Cartesian in his honor — the standard reference frame from which polar coordinates are defined and measured. Descartes spent most of his adult life in the Netherlands, preferring to sleep until 11 a.m. each day to protect his morning hours for deep thinking. He attributed many of his key insights to long periods of late-morning reflection in bed.
Related Concepts
- Introduction to Polar Coordinates — Understanding what polar coordinates (r, θ) represent is a prerequisite before converting between systems.
- Unit Circle and Trigonometric Definitions — The conversions x = r cos θ and y = r sin θ are direct applications of the unit-circle definitions of cosine and sine.
- Inverse Trigonometric Functions — Finding θ from (x, y) requires the inverse tangent function (arctan), making familiarity with inverse trig essential.
- Graphing Polar Equations — Converting curves between rectangular and polar form is needed to recognize and sketch common polar graphs such as roses and limaçons.
- Complex Numbers in Polar Form — The polar form of a complex number z = r(cos θ + i sin θ) uses exactly the same rectangular–polar conversion relationships.