

Let the complex number is a + ib
The polar form of a complex number is represented as
a + ib = r(cosθ + isinθ)
Where r*cosθ = a .............1
and r*sinθ = b...............2
Now square both the equations and add them then we get
r2 *cos2 θ + r2 *sin2 θ = a2 + b2
=> r2 (cos2 θ + sin2 θ) = a2 + b2
=>r2 = a2 + b2
=> r = √(a2 + b2)
Now divide equation 2 by equation 1, we get
(r*sinθ)/(r*cosθ) = b/a
=> tanθ = b/a
=> θ = tan-1 (b/a)
