Last verified · v1.0
Calculator · math
A+Bi Form Complex Number Calculator
Calculate modulus, argument, conjugate, and polar form of any complex number in a+bi form by entering real part a and imaginary part b.
Inputs
Computed Value
—
Explain my result
Get a plain-English breakdown of your result with practical next steps.
The formula
How the
result is
computed.
Understanding Complex Numbers in A+Bi Form
A complex number in a+bi form — also called rectangular or standard form — expresses any complex number z as the sum of a real component and an imaginary component. The notation z = a + bi defines two distinct values: the real part a and the imaginary part b, where i is the imaginary unit satisfying i² = −1. This representation forms the cornerstone of complex analysis, electrical engineering, signal processing, and applied mathematics.
The Standard Form: z = a + bi
In the expression z = a + bi, both a and b are real numbers. The term a positions the number on the horizontal (real) axis of the complex plane, while b specifies its coordinate on the vertical (imaginary) axis. When b = 0 the result is a purely real number; when a = 0 it becomes purely imaginary. According to West Texas A&M University's College Algebra Tutorial 12, complex numbers were introduced to provide solutions to equations like x² + 1 = 0 — equations with no real solutions — making the a+bi form indispensable in modern mathematics.
Calculating the Modulus |z|
The modulus (absolute value) of a complex number measures its straight-line distance from the origin in the complex plane. For z = a + bi, the modulus formula is derived directly from the Pythagorean theorem, treating a and b as the legs of a right triangle:
- Formula: |z| = √(a² + b²)
- Example 1: For z = 3 + 4i, |z| = √(9 + 16) = √25 = 5
- Example 2: For z = −5 + 12i, |z| = √(25 + 144) = √169 = 13
- Example 3: For z = 1 + 1i, |z| = √(1 + 1) = √2 ≈ 1.4142
The modulus is always a non-negative real number and equals zero only when a = 0 and b = 0 simultaneously (the complex number at the origin).
Calculating the Argument arg(z)
The argument is the angle θ measured counterclockwise from the positive real axis to the vector representing z. The two-argument arctangent function atan2(b, a) correctly resolves all four quadrants — unlike the single-argument arctan, which cannot distinguish between z = 1 + i and z = −1 − i:
- Formula: arg(z) = atan2(b, a)
- Quadrant I (a > 0, b > 0): θ ∈ (0°, 90°) — e.g., z = 1 + i gives θ = 45°
- Quadrant II (a < 0, b > 0): θ ∈ (90°, 180°) — e.g., z = −1 + i gives θ = 135°
- Quadrant III (a < 0, b < 0): θ ∈ (−180°, −90°)
- Quadrant IV (a > 0, b < 0): θ ∈ (−90°, 0°)
The principal argument always falls in the interval (−π, π], or equivalently (−180°, 180°]. For a purely real positive number like z = 5 + 0i, arg(z) = 0°; for a purely imaginary number like z = 0 + 3i, arg(z) = 90°.
Converting to Polar Form
With modulus r = |z| and argument θ = arg(z) established, the polar form is r(cos θ + i sin θ), abbreviated r∠θ, or expressed via Euler's formula as re^(iθ). As detailed in Thiel College's geometric analysis of complex numbers, polar form greatly simplifies multiplication and division: multiplying two complex numbers multiplies their moduli and adds their arguments, while dividing them divides moduli and subtracts arguments.
Full Conversion Example
For z = 3 + 4i: r = √(9 + 16) = 5 and θ = atan2(4, 3) ≈ 53.13°. The polar form is 5∠53.13°. Verification: 5 × cos(53.13°) ≈ 3 and 5 × sin(53.13°) ≈ 4. For z = −2 + 2i: r = √(4 + 4) = 2√2 ≈ 2.828 and θ = atan2(2, −2) = 135°, giving polar form 2√2∠135°.
The Complex Conjugate
The conjugate of z = a + bi is z̄ = a − bi, formed by negating the imaginary part. The product z × z̄ = a² + b² = |z|² is always a non-negative real number — a property exploited when dividing complex numbers to eliminate imaginary denominators. The sum z + z̄ = 2a extracts twice the real part.
Real-World Applications
Electrical engineers express impedance as Z = R + jX (using j in place of i), where R is resistance in ohms and X is reactance. Signal processing relies on Fourier transforms built from complex exponentials. Quantum mechanics describes particle wave functions using complex-valued probability amplitudes. Control system engineers analyze stability by locating complex poles and zeros of transfer functions in the s-plane.
Reference