terican

Last verified · v1.0

Calculator · math

Complex Number To Trigonometric Form Calculator

Convert a complex number a + bi to trigonometric form r(cosθ + i sinθ). Instantly computes modulus and argument for any real and imaginary input.

FreeInstantNo signupOpen source

Inputs

Trigonometric Form Component

Explain my result

0/3 free

Get a plain-English breakdown of your result with practical next steps.

Trigonometric Form Component

The formula

How the
result is
computed.

Converting Complex Numbers to Trigonometric Form

Every complex number z = a + bi can be expressed in trigonometric (polar) form as z = r(cosθ + i sinθ), where r is the modulus and θ is the argument. This representation separates a complex number's magnitude from its direction, making multiplication, division, exponentiation, and root extraction far more efficient than working in rectangular form.

The Core Formula

The conversion from rectangular to trigonometric form rests on two calculations:

  • Modulus (r): r = √(a² + b²) — the Euclidean distance from the origin to the point (a, b) in the complex plane.
  • Argument (θ): θ = atan2(b, a) — the angle measured counterclockwise from the positive real axis, correctly resolved across all four quadrants.

The complete trigonometric form is written z = r(cosθ + i sinθ), sometimes abbreviated as r cis θ.

Variable Definitions

Real part (a): The horizontal coordinate in the complex plane. For z = 3 + 4i, a = 3.

Imaginary part (b): The vertical coordinate. For z = 3 + 4i, b = 4.

Modulus (r): Always non-negative. For z = 3 + 4i: r = √(9 + 16) = √25 = 5.

Argument (θ): Expressed in the range (−π, π] radians or (−180°, 180°]. For z = 3 + 4i: θ = atan2(4, 3) ≈ 0.9273 rad ≈ 53.13°.

Geometric Derivation

Plotting z = a + bi as a point in the complex plane creates a right triangle with legs of length |a| and |b| and hypotenuse r. The angle θ satisfies cosθ = a/r and sinθ = b/r. Substituting a = r cosθ and b = r sinθ back into a + bi yields z = r cosθ + i(r sinθ) = r(cosθ + i sinθ).

The atan2(b, a) function is essential because the simpler arctan(b/a) only returns values in (−90°, 90°) and cannot distinguish quadrant I from quadrant III. For example, z = 1 + i and z = −1 − i both produce arctan(1) = 45°, but their correct arguments are 45° and −135° respectively. According to Paul Dawkins, Polar and Exponential Forms (Lamar University), correctly identifying the quadrant is essential for an unambiguous argument value.

Worked Examples

Example 1 — First quadrant: z = 1 + i. r = √2 ≈ 1.414; θ = atan2(1, 1) = 45°. Result: z = √2(cos 45° + i sin 45°).

Example 2 — Second quadrant: z = −3 + 4i. r = √(9 + 16) = 5; θ = atan2(4, −3) ≈ 126.87°. Result: z = 5(cos 126.87° + i sin 126.87°).

Example 3 — Third quadrant: z = −1 − i. r = √2; θ = atan2(−1, −1) = −135°. Result: z = √2(cos(−135°) + i sin(−135°)).

Example 4 — Purely imaginary: z = 5i. r = 5; θ = atan2(5, 0) = 90°. Result: z = 5(cos 90° + i sin 90°).

Practical Applications

  • AC circuit analysis: Impedance Z = R + jX converts to polar form Z = |Z|∠φ, directly revealing magnitude and phase angle for power factor calculations.
  • De Moivre theorem: z^n = r^n(cos nθ + i sin nθ) reduces computing powers like z^10 to simple arithmetic on r and θ.
  • nth roots: The k-th root is r^(1/n)(cos((θ + 2πk)/n) + i sin((θ + 2πk)/n)) for k = 0, 1, ..., n−1, yielding exactly n distinct complex values.
  • 2D rotation: Multiplying any complex number by cosα + i sinα rotates its corresponding point by α radians around the origin.

The Thiel College Mathematics Project (Trigonometry Using Complex Numbers) and Palomar College (Complex Numbers and Trigonometric Identities) both demonstrate that trigonometric form is indispensable for proving angle-addition identities and for applying Fourier analysis methods in signal processing.

Converting Back to Rectangular Form

To recover a + bi from r(cosθ + i sinθ), compute a = r cosθ and b = r sinθ. For z = 5(cos 53.13° + i sin 53.13°): a = 5 × 0.6 = 3 and b = 5 × 0.8 = 4, recovering z = 3 + 4i.

Reference

Frequently asked questions

What is the trigonometric form of a complex number?
The trigonometric form expresses a complex number z = a + bi as z = r(cosθ + i sinθ), where r = √(a² + b²) is the modulus (the distance from the origin in the complex plane) and θ = atan2(b, a) is the argument (the angle from the positive real axis). This form separates the magnitude from the directional component, making operations like exponentiation, root extraction, and multiplication significantly simpler than working in rectangular a + bi form.
How do you calculate the modulus of a complex number?
The modulus r equals √(a² + b²), applying the Pythagorean theorem to the right triangle formed by the real part a and imaginary part b. For z = 5 + 12i, r = √(25 + 144) = √169 = 13. For z = −3 + 4i, r = √(9 + 16) = 5. The modulus is always non-negative and equals zero only when both a and b equal zero, that is, when z = 0 + 0i.
Why use atan2(b, a) instead of arctan(b/a) to find the argument?
The arctan(b/a) function only returns values in the range (−90°, 90°), so it cannot distinguish quadrant I from quadrant III or quadrant II from quadrant IV. For example, z = 1 + i and z = −1 − i both give arctan(1) = 45°, yet their true arguments are 45° and −135° respectively. The atan2(b, a) function uses the signs of both a and b to return the correct angle across the full range (−180°, 180°], uniquely identifying the correct quadrant every time.
When should trigonometric form be used instead of rectangular form?
Trigonometric form is the better choice for multiplying and dividing complex numbers (multiply or divide moduli, add or subtract arguments), for applying De Moivre theorem to compute powers such as z³ or z^(1/4), and for AC circuit analysis where phase angles determine power factor and impedance. Rectangular form a + bi remains more practical for addition and subtraction. Engineers and physicists routinely convert between both forms to match the most efficient method for each specific operation.
What is the difference between trigonometric form and Euler exponential form?
Trigonometric form writes z = r(cosθ + i sinθ) explicitly with sine and cosine functions. Euler exponential form writes z = re^(iθ), derived directly from Euler formula e^(iθ) = cosθ + i sinθ. Both representations encode the same information — modulus r and argument θ — but exponential form is more compact. The multiplication rule becomes immediately clear in exponential form: multiplying two complex numbers multiplies their moduli and adds their arguments.
How does the calculator handle complex numbers in all four quadrants?
The calculator uses the atan2(b, a) function, which returns angles across the full range (−π, π] radians. Quadrant I inputs (a > 0, b > 0) produce θ between 0° and 90°. Quadrant II inputs (a < 0, b > 0) yield 90° to 180°. Quadrant III inputs (a < 0, b < 0) return −180° to −90°. Quadrant IV inputs (a > 0, b < 0) give −90° to 0°. Boundary cases such as z = 5i giving θ = 90°, z = −3 giving θ = 180°, and z = −2i giving θ = −90° are all resolved correctly.