Understanding Complex Number Representations
Complex numbers can be expressed in two fundamentally different ways, each revealing distinct geometric and practical properties.
Rectangular form (also called Cartesian form) writes a complex number as z = a + bi, where a is the real component and b is the imaginary component. This representation aligns naturally with an x-y coordinate system and is intuitive for addition and subtraction operations.
Polar form describes the same number using z = r × exp(iφ), where:
- r (magnitude or modulus) represents the straight-line distance from the origin to the point
- φ (phase or argument) is the counterclockwise angle measured from the positive real axis
Polar representation excels at multiplication, division, and understanding oscillatory behaviour in circuits and wave phenomena.
Conversion Formulas
Converting from rectangular coordinates (a, b) to polar form requires two straightforward calculations:
r = √(a² + b²)
φ = atan2(b, a)
a— Real component of the complex numberb— Imaginary component of the complex numberr— Magnitude: distance from the origin to the point in the complex planeφ— Phase angle in radians, measured counterclockwise from the positive real axis
How to Use the Calculator
Enter your complex number's real and imaginary parts into the input fields. The calculator immediately computes the magnitude using the Pythagorean theorem and determines the phase angle using the two-argument arctangent function (atan2), which correctly handles all four quadrants of the complex plane.
Results appear in both rectangular notation (a + bi) and polar notation (r × exp(iφ)), often with the phase available in both radians and degrees. This dual representation helps you verify conversions and choose whichever form suits your application.
Trigonometric and Exponential Forms
Once you have the polar coordinates, you can express the complex number in additional equivalent forms:
- Trigonometric form: z = r(cos φ + i sin φ) — useful when computing roots or powers
- Exponential form: z = r × eiφ — the most compact notation, leveraging Euler's identity
All three forms—rectangular, trigonometric, and exponential—represent identical numbers; choose based on your calculation needs. Exponential form is particularly powerful for multiplication and division because magnitudes multiply and phases add.
Common Pitfalls and Practical Notes
Pay attention to these details when converting complex numbers to polar form.
- Quadrant Ambiguity with Simple Arctangent — The standard arctangent function can't distinguish between opposite quadrants. Always use the two-argument arctangent (atan2), which takes both the imaginary and real parts separately and returns the correct angle between −π and π. This prevents errors when a is negative.
- Phase Angle Units — Phase angle is typically returned in radians, ranging from −π to π (or 0 to 2π depending on convention). When working in engineering contexts, convert to degrees by multiplying by 180/π. Many calculators and software switch between conventions, so always check which your tool outputs.
- Magnitude Is Always Non-Negative — The magnitude r is by definition a non-negative real number. Even if both a and b are negative, r ≥ 0. Negative magnitudes have no physical meaning in polar form; instead, a negative phase angle or a phase shifted by π conveys the direction.
- Zero and Negative Real Axis Cases — The number 0 + 0i has magnitude zero but undefined phase (the angle is indeterminate). Pure negative real numbers like −5 + 0i have magnitude 5 and phase π (or 180°), not 0. Double-check these edge cases manually if your input involves these special values.