Algebra & Complex Analysis

Complex Number Calculator

Perform complex number addition, subtraction, multiplication, division, and exponentiation. Converts rectangular \(a + bi\) to polar and exponential forms with live Argand plane vector plotting.

Quick Presets:
Operation:
First Complex Number \(z_1 = a + bi\)
+ i
Second Complex Number \(z_2 = c + di\)
+ i
Rectangular Form 4 + 2i \(a + bi\)
Modulus \(|z|\) 4.4721 Magnitude \(r = \sqrt{a^2 + b^2}\)
Argument \(\theta\) 26.57° 0.4636 rad
Conjugate \(z^*\) 4 - 2i Reflected over Re-axis
Polar Trigonometric Form:

4.4721 (cos 26.57° + i sin 26.57°)

Euler's Exponential Form:

4.4721 · e^(i 0.4636 rad)

Argand Diagram (Complex Vector Plane)
\(z_1\) \(z_2\) Result \(z\)

Step-by-Step Complex Algebraic Derivation

How to Use the Complex Number Calculator

1

Enter Components

Input the real and imaginary parts of \(z_1 = a + bi\) (and \(z_2 = c + di\) or power \(n\)).

2

Select Operation

Toggle between addition, subtraction, multiplication, division, or integer powers.

3

View Argand Vector

Inspect the rectangular result, modulus \(r\), argument \(\theta\), polar form, and vector on the Argand plane.

Key Problems This Tool Solves

1. Electrical AC Impedance & Phasors

In electrical engineering, AC circuits represent voltage, current, and impedance as complex phasors \(Z = R + jX\). Multiplication computes voltage \(V = I \cdot Z\).

2. Complex Conjugate Rationalization

Eliminates manual division errors by automating the multiplication of numerator and denominator by the complex conjugate \((c - di)\).

3. Instant Rectangular to Polar Conversion

Computes the exact quadrant-aware angle using \(\operatorname{atan2}(b, a)\), avoiding the classic 180-degree quadrant ambiguity.

4. High-Power Exponentiation via De Moivre

Expanding \((1 + i)^8\) by hand requires repeated binomial multiplication; De Moivre's theorem computes \(r^n e^{i n \theta}\) instantaneously.

Features & Capabilities

Multi-Mode Arithmetic

Seamlessly add, subtract, multiply, divide, and exponentiate complex numbers in real time.

Interactive Argand Plane

Auto-scaling vector diagram showing the real and imaginary axes, operands, and resulting vector.

Euler & Polar Forms

Displays magnitude, angle in degrees and radians, polar notation \(r\operatorname{cis}\theta\), and Euler exponential \(r e^{i\theta}\).

Deep Dive: The Beautiful Reality of Complex Numbers

Despite the unfortunate historical name "imaginary", complex numbers are as real and physical as negative numbers. They provide the complete two-dimensional language of modern electronics, aerodynamics, and quantum mechanics.

The Intuitive Mental Model

Multiplication by \(i\) is a 90° Turn on a Map

On a standard 1D number line, multiplying by \(-1\) flips your direction by \(180^\circ\) (facing East to facing West). What operation done twice in a row flips you by \(180^\circ\)? Two successive 90° counter-clockwise turns! That is exactly what \(i\) is: a \(90^\circ\) rotation into the second dimension. Multiplying by \(i\) once turns you North. Multiplying by \(i\) a second time turns you West: \(i \times i = i^2 = -1\). It's geometry, not magic!

Level 1: Beginner

Cartesian Coordinates \((a + bi)\)

Treat complex numbers like 2D vectors: \(a\) steps East/West along the real axis, \(b\) steps North/South along the imaginary axis. Adding complex numbers is just adding like terms: \((a + c) + (b + d)i\).

Level 2: Intermediate

The Polar Secret: De Moivre

In polar form \(r e^{i\theta}\), complex multiplication reveals its true elegance: multiply the magnitudes, add the angles! \((r_1 e^{i\theta_1})(r_2 e^{i\theta_2}) = (r_1 r_2)e^{i(\theta_1 + \theta_2)}\). Powers and roots become simple arithmetic.

Level 3: Advanced STEM

AC Circuits & Quantum Waves

Electrical engineers represent alternating voltage and current as rotating phasors, unifying resistance and reactance into complex impedance \(Z = R + jX\). In quantum physics, particle states are complex wavefunctions \(\psi(x, t)\).

Common Traps & Exam Pitfalls to Avoid

1. The \(i^2 = -1\) Sign Slip

When expanding \((3 + 2i)(4 - 5i)\), the last product is \(-10i^2\). Because \(i^2 = -1\), this becomes \(-10(-1) = +10\). Forgetting to flip the negative sign is the #1 mistake students make.

2. Division Conjugate Omission

You cannot divide directly by \(c + di\). You must "rationalize" the denominator by multiplying both top and bottom by the complex conjugate \(c - di\), creating a purely real number \(c^2 + d^2\) in the denominator.

3. The Quadrant II/III Tangent Trap

Blindly computing \(\theta = \arctan(b/a)\) fails when \(a < 0\). For \(-1 + i\), \(\arctan(1/-1) = -45^\circ\), which points in Quadrant IV! You must add \(180^\circ\) (\(\pi\) radians) to land in the true Quadrant II (\(135^\circ\)).

Comparison of Complex Number Representations

Form Standard Notation Best Used For Geometric Intuition
Rectangular (Cartesian) \(z = a + bi\) Addition and Subtraction Grid displacement \((x, y)\) along horizontal & vertical axes
Polar (Trigonometric) \(z = r(\cos\theta + i\sin\theta)\) Multiplication, Division, De Moivre roots Radius distance \(r\) and counter-clockwise rotation angle \(\theta\)
Exponential (Euler) \(z = r e^{i\theta}\) Calculus, Signal Processing, AC circuit analysis Continuous rotation phasor on the complex unit circle

Worked Step-by-Step Examples

Example 1

Multiply \((2 + 3i)(4 - 5i)\)

Step 1: FOIL expansion: \(2(4) + 2(-5i) + 3i(4) + 3i(-5i)\).

Step 2: Simplify terms: \(8 - 10i + 12i - 15i^2\).

Step 3: Since \(i^2 = -1\), \(-15i^2 = +15\).

Step 4: Combine like terms: \((8 + 15) + (-10i + 12i) = 23 + 2i\).

Example 2

Divide \((1 + i) / (1 - i)\)

Step 1: Conjugate of denominator \(1 - i\) is \(1 + i\).

Step 2: Multiply numerator & denominator by \((1 + i)\): \(\frac{(1 + i)(1 + i)}{(1 - i)(1 + i)}\).

Step 3: Numerator: \(1 + 2i + i^2 = 1 + 2i - 1 = 2i\).

Step 4: Denominator: \(1^2 - i^2 = 1 - (-1) = 2\).

Result: \(\frac{2i}{2} = i\) (or \(0 + 1i\)).

Frequently Asked Questions

What is a complex number?
A complex number is a number that can be expressed in the form z = a + bi, where a is the real part, b is the imaginary part, and i is the imaginary unit satisfying the fundamental identity i² = -1.
How do you multiply two complex numbers?
To multiply (a + bi)(c + di), expand using FOIL: ac + adi + bci + bdi². Since i² = -1, this simplifies to (ac - bd) + (ad + bc)i.
How do you divide two complex numbers?
To divide (a + bi) / (c + di), multiply both the numerator and denominator by the complex conjugate of the denominator (c - di). The denominator becomes the real number c² + d², resulting in [(ac + bd) + (bc - ad)i] / (c² + d²).
What is the modulus and argument of a complex number?
The modulus r = |z| = √(a² + b²) represents the distance from the origin to z in the complex plane. The argument θ = arg(z) = atan2(b, a) is the angle in radians or degrees formed with the positive real axis.
What is Euler's formula and exponential form?
Euler's formula states that e^(iθ) = cos(θ) + i sin(θ). Therefore, any complex number can be written in exponential form z = r * e^(iθ), where r is the modulus and θ is the argument.
What is De Moivre's Theorem?
De Moivre's Theorem states that for any real number θ and integer n, [r(cos θ + i sin θ)]^n = r^n [cos(nθ) + i sin(nθ)]. This allows rapid calculation of large powers and n-th roots of complex numbers.