Let \(z\) be a complex number, let \(x=\re(z)\text{,}\) \(y=\im(z)\text{,}\) \(r=|z|\) and \(\theta = \arg(z)\text{.}\) The pair \((r,\theta)\) is called the polar coordinates for \(z\text{,}\) while the expression \(re^{i\theta}\) is called the polar form for \(z\text{.}\) The pair \((x,y)\) is called the rectangular coordinates for \(z\text{,}\) while the expression \(x+iy\) is called the rectangular form for \(z\text{.}\)
To convert from polar to rectangular, use the equations \(x=r\cos \theta,
y=r\sin \theta\) (show sketches to explain these formulas). To convert from rectangular to polar, use \(r=\sqrt{x^2+y^2}\) and \(\tan \theta =
y/x\text{.}\) For the last equation, you must use judgment when \(x=0\) to decide whether \(\theta\) should be \(\pi/2\) or \(-\pi/2\text{.}\) You must also use judgment when calculating \(\theta = \arctan (y/x)\text{.}\) The standard codomain for \(\arctan\) is the interval \((-\pi/2,\pi/2)\text{,}\) so you need to use \(\theta = \arctan (y/x) + \pi\) for \(x\lt 0\text{.}\)