Complex Number to Polar Form Converter
Convert complex numbers between rectangular form (a + bi) and polar form (r ∠ θ, r e^(iθ)) with exact modulus, quadrant-aware argument proofs, and interactive Argand projection triangle.
Step-by-Step Rectangular ↔ Polar Derivation Proof
The modulus represents the absolute Euclidean distance from the origin to (a, b):
Evaluate the acute angle formed with the real axis using absolute values:
Adjust the reference angle based on signs of a and b:
How to Convert Complex Numbers Between Rectangular and Polar Form
To convert a complex number z = a + bi into polar form, calculate the modulus r = √(a² + b²) using the Pythagorean theorem, and the argument angle θ = atan2(b, a). The polar form is written as r ∠ θ, in trigonometric form as r(cos θ + i sin θ), or in Euler exponential form as r · e^(iθ). Conversely, to convert from polar (r, θ) to rectangular (a + bi), use a = r · cos(θ) and b = r · sin(θ).
1. Rectangular vs. Polar Form of Complex Numbers
Every complex number represents a unique point on the two-dimensional Argand plane. Just as a point in the Cartesian plane can be identified either by grid coordinates (x, y) or circular coordinates (r, θ), a complex number can be expressed in two primary mathematical representations:
1. Rectangular (Cartesian) Form
Expresses the number as horizontal displacement a = Re(z) along the real axis and vertical displacement b = Im(z) along the imaginary axis. Ideal for addition and subtraction: (a + bi) + (c + di) = (a + c) + (b + d)i.
2. Polar (Trigonometric / Euler) Form
Expresses the number as straight-line distance r = |z| from the origin and directional angle θ = Arg(z) measured counter-clockwise from the positive real axis. Ideal for multiplication, division, and powers.
2. Modulus & Argument Formulas: The Trigonometric Foundation
The transformation between rectangular and polar form is founded entirely on the right triangle formed by projecting the point (a, b) onto the real axis:
By the Pythagorean theorem, r is the length of the hypotenuse. The modulus is always non-negative: r ≥ 0, with r = 0 if and only if z = 0 + 0i.
From right-triangle trigonometry, tan θ = opposite / adjacent = b / a. Because the single-argument tangent inverse cannot distinguish between opposite quadrants, the quadrant-aware function atan2(b, a) must be employed.
3. Quadrant Rules & The atan2 Function (Overcoming Arc-Tangent Ambiguity)
Because the standard inverse tangent function arctan(x) only outputs values in (−90°, +90°), relying on arctan(b/a) alone yields incorrect answers for any complex number where a < 0.
| Location | Signs of (a, b) | Reference Angle α | Principal Argument θ | Angle Range |
|---|---|---|---|---|
| Quadrant I | a > 0, b > 0 | arctan(|b|/|a|) | θ = α | 0° to 90° |
| Quadrant II | a < 0, b > 0 | arctan(|b|/|a|) | θ = 180° − α (π − α) | 90° to 180° |
| Quadrant III | a < 0, b < 0 | arctan(|b|/|a|) | θ = −180° + α (−π + α) | −180° to −90° |
| Quadrant IV | a > 0, b < 0 | arctan(|b|/|a|) | θ = −α | −90° to 0° |
| Axes | a = 0 or b = 0 | — | 0°, 90°, 180°, −90° | Coordinate axes |
4. Euler's Formula & Exponential Notation (r e^(iθ))
Leonhard Euler established what is widely regarded as one of the most profound connections in all of mathematics, linking trigonometry directly to exponential calculus:
Multiplying both sides by the modulus r immediately yields:
In physics and engineering, the compact abbreviation r cis θ (standing for r[cos θ + i sin θ]) or the phasor symbol r ∠ θ is standard notation.
5. Step-by-Step Worked Manual Examples (All 4 Quadrants)
Below are four complete manual conversions illustrating calculations across each quadrant of the complex plane.
1. Modulus: r = √(1² + (√3)²) = √(1 + 3) = √4 = 2.
2. Reference angle: α = arctan(√3 / 1) = 60° (π/3 rad).
3. Quadrant rule: Since a > 0, b > 0, θ = 60°.
&implies; Polar Form: 2 ∠ 60° = 2 e^(iπ/3)
1. Modulus: r = √((−1)² + 1²) = √(1 + 1) = √2 ≈ 1.4142.
2. Reference angle: α = arctan(1 / 1) = 45° (π/4 rad).
3. Quadrant rule: Since a < 0, b > 0, θ = 180° − 45° = 135° (3π/4 rad).
&implies; Polar Form: √2 ∠ 135° = √2 e^(i 3π/4)
1. Modulus: r = √((−√3)² + (−1)²) = √(3 + 1) = 2.
2. Reference angle: α = arctan(1 / √3) = 30° (π/6 rad).
3. Quadrant rule: Since a < 0, b < 0, principal θ = −180° + 30° = −150° (−5π/6 rad) or 210°.
&implies; Polar Form: 2 ∠ −150° = 2 e^(−i 5π/6)
1. Modulus: r = √(1² + (−1)²) = √2 ≈ 1.4142.
2. Reference angle: α = arctan(1 / 1) = 45° (π/4 rad).
3. Quadrant rule: Since a > 0, b < 0, θ = −45° (−π/4 rad) or 315°.
&implies; Polar Form: √2 ∠ −45° = √2 e^(−iπ/4)
6. Reverse Conversion: Polar to Rectangular Form
Converting from polar form r ∠ θ back to standard rectangular form a + bi requires evaluating standard trigonometric projections:
For example, converting 4 ∠ 120°: a = 4 cos(120°) = 4(−0.5) = −2, and b = 4 sin(120°) = 4(√3/2) = 2√3 ≈ 3.464. Thus, z = −2 + 2i√3.
7. Common Pitfalls & Sign Traps
⚠ Pitfall 1: Relying on Simple arctan(b/a) Without Quadrant Checks
Evaluating arctan((−4)/(−3)) = arctan(4/3) = 53.13° assigns a point in Quadrant III to Quadrant I! Always sketch the point or use the atan2 quadrant rules.
⚠ Pitfall 2: Degree vs. Radian Angle Mode Errors
In Euler form e^(iθ), the angle θ must be in radians. Writing 5 e^(53.13i) implies 53.13 radians (over 8 full revolutions!), not 53.13 degrees.
⚠ Pitfall 3: Negative Modulus Fallacy
The modulus r is an absolute geometric distance and must satisfy r ≥ 0. If an expression yields −r ∠ θ, you must absorb the negative sign into the angle: −r ∠ θ = r ∠ (θ ± 180°).
8. Engineering Applications in AC Phasors & Control Systems
AC Circuit Analysis (Phasors)
AC circuit components (resistors, inductors, capacitors) have complex impedances. Adding series components requires rectangular form (R + jX), while finding overall voltage drop requires polar multiplication: V = I × Z.
Control Systems & Bode Plots
In feedback control theory, open-loop transfer functions G(s) evaluated at s = jω generate gain margins from |G(jω)| and phase margins from ∠G(jω).
Radar & RF Wave Propagation
Electromagnetic waves travelling through varying media suffer attenuation and phase delay. Polar representation isolates signal amplitude decay from wave phase shifts cleanly.
Lead Developer & Founder of Basic Math Tools. Specializes in browser-native computational algorithms and applied mathematics.
Mathematics & curriculum specialists. Audited against standard algebraic and arithmetic principles.