AP® Precalculus · Unit 3 · Topic 3.13
Converting Polar and Rectangular
Converting polar to rectangular uses x = r cos(theta) and y = r sin(theta). Converting back uses r = √(x2 + y2) and theta = arctan(y/x), adjusted for quadrant.
A polar point (r, theta) names a location by how far out you go and which direction you turn. But that same point sits somewhere on the xy-grid too, and a right triangle connects the two pictures. Drop a vertical line from the point down to the x-axis. That triangle has hypotenuse r, and the angle theta is measured from the positive x-axis. The horizontal leg is x, the vertical leg is y. That is the whole idea: one triangle, two coordinate systems.
The unit circle already gives you this triangle at r = 1, where cos(theta) and sin(theta) are defined as the x- and y-coordinates of the point on the circle at angle theta. Scale that triangle by r and the legs scale too: x = r cos(theta), y = r sin(theta). Going the other direction, the Pythagorean theorem gives r = √(x2 + y2), since r is the hypotenuse. For the angle, tan(theta) = y/x, so theta = arctan(y/x) looks tempting, but arctan only returns angles between -π/2 and π/2, the range for a right-facing triangle. If your point actually sits with x negative, the true angle lands on the other side of the circle, and you have to add π to the arctan output to land in the correct quadrant.
This conversion is what lets the rest of the unit move freely between the two descriptions of the same curve. A spiral or rose written in polar form can be checked point by point against a rectangular graph, and equations like x2 + y2 = r2 are exactly this conversion in disguise.
Key terms
- Polar coordinates
- A way to locate a point using distance r from the origin and angle theta from the positive x-axis.
- Rectangular coordinates
- The standard (x, y) description of a point's horizontal and vertical position.
- Reference triangle
- The right triangle formed by a polar point, the origin, and its projection onto the x-axis.
- arctan
- The inverse tangent function, which only outputs angles between -π/2 and π/2.
Watch it explained
Check yourself
End of topic.