Cartesian to Polar Coordinates
The radius comes straight from Pythagoras, but the angle needs care - why the inverse tangent alone is not enough, and the three cases decided by the sign of x.
The radius comes straight from Pythagoras, but the angle needs care - why the inverse tangent alone is not enough, and the three cases decided by the sign of x.
Going from polar to Cartesian is direct: two formulas and you are done. Going the other way is not quite so simple. The radius is easy, but the angle needs care — because a formula alone cannot tell which side of the plane the point is on.
This one rule has no exceptions. It works for positive and negative values alike, and the answer is always positive.
The starting rule for the angle is:
But this is incomplete. Two points on opposite sides of the plane can give the same ratio :
The division throws away the signs, so the calculator cannot tell the two points apart. The fix is to check the sign of first, and let that decide what to do.
Always look at before reaching for the calculator. That single check decides which of the three routes to take.
Convert to polar form.
Convert to polar form.
Notice the radius is the same as the first example — squaring erases the minus sign. Only the angle tells the two points apart.
Convert to polar form.
No inverse tangent is needed here at all. The point is straight up the vertical axis, and the angle is read off directly.