Navigation
Calculators Pricing Blog About Contact
Get Started
Get Started Login
🔢

Imaginary Number Calculator

Calculate complex numbers, imaginary roots, and perform operations with i.

+
i
+
i

What Are Imaginary Numbers?

Imaginary numbers are a fundamental concept in mathematics that extend the real number system to include solutions to equations like x² = -1, which have no real solutions. The imaginary unit i is defined as the square root of -1, written as:

i = √(-1), where i² = -1
The foundation of all imaginary and complex numbers

While called "imaginary," these numbers are very real in applications: electrical engineering (AC circuit analysis), quantum mechanics (wave functions), signal processing (Fourier transforms), and control systems engineering. This calculator helps you perform operations with complex numbers and understand their properties.

Quick definition: A complex number has the form a + bi, where a is the real part, b is the imaginary part, and i = √(-1). For example, 3 + 4i is a complex number with real part 3 and imaginary part 4.

Complex Number Basics

Standard Form (Rectangular Form)

The most common representation: z = a + bi

  • a = real part (Re(z))
  • b = imaginary part (Im(z))
  • i = imaginary unit (√(-1))

Examples: 5 + 3i, -2 + 7i, 4 - 2i, 6 (purely real when b=0), 5i (purely imaginary when a=0)

Polar Form

Complex numbers can also be expressed using magnitude and angle:

z = r(cos θ + i sin θ) = r·e^(iθ)
Where r is magnitude (modulus) and θ is argument (angle)

Converting between forms:

  • Rectangular to Polar: r = √(a² + b²), θ = arctan(b/a)
  • Polar to Rectangular: a = r·cos(θ), b = r·sin(θ)

Important Properties of i

i¹ = i, i² = -1, i³ = -i, i⁴ = 1, i⁵ = i (pattern repeats)
Powers of i cycle every 4 exponents

Operations with Complex Numbers

Addition and Subtraction

Add or subtract the real parts and imaginary parts separately:

(a + bi) + (c + di) = (a + c) + (b + d)i
Example: (3 + 2i) + (1 + 4i) = 4 + 6i
(a + bi) - (c + di) = (a - c) + (b - d)i
Example: (5 + 3i) - (2 + i) = 3 + 2i

Multiplication

Use the distributive property and remember i² = -1:

(a + bi)(c + di) = (ac - bd) + (ad + bc)i
Example: (2 + 3i)(1 + 4i) = 2 + 8i + 3i + 12i² = 2 + 11i - 12 = -10 + 11i

Division

Multiply numerator and denominator by the conjugate of the denominator:

(a + bi)/(c + di) = [(a + bi)(c - di)] / (c² + d²)
The denominator becomes real: (c + di)(c - di) = c² + d²

Example: (3 + 2i) / (1 + i)

  • Multiply by conjugate: [(3 + 2i)(1 - i)] / [(1 + i)(1 - i)]
  • Numerator: 3 - 3i + 2i - 2i² = 3 - i + 2 = 5 - i
  • Denominator: 1 - i² = 1 + 1 = 2
  • Result: (5 - i) / 2 = 2.5 - 0.5i

Conjugate

The complex conjugate of z = a + bi is z̄ = a - bi (flip the sign of the imaginary part):

  • Conjugate of 3 + 4i is 3 - 4i
  • z · z̄ = (a + bi)(a - bi) = a² + b² (always real and non-negative)
  • Used in division and finding magnitude

Magnitude (Modulus)

The distance from origin in the complex plane:

|z| = √(a² + b²)
Example: |3 + 4i| = √(3² + 4²) = √25 = 5

Square Roots of Negative Numbers

One of the most common uses of imaginary numbers is finding square roots of negative numbers:

√(-n) = i√n
Factor out -1 and express as imaginary number

Examples

  • √(-4) = √(4 × -1) = √4 · √(-1) = 2i
  • √(-9) = 3i
  • √(-16) = 4i
  • √(-25) = 5i
  • √(-2) = i√2 ≈ 1.414i

Quadratic Formula with Negative Discriminant

When solving ax² + bx + c = 0 and b² - 4ac < 0, roots are complex:

x = [-b ± √(b² - 4ac)] / 2a
When discriminant is negative, roots are complex conjugates

Example: Solve x² + 2x + 5 = 0

  • a = 1, b = 2, c = 5
  • Discriminant: b² - 4ac = 4 - 20 = -16
  • x = [-2 ± √(-16)] / 2 = [-2 ± 4i] / 2 = -1 ± 2i
  • Roots: x₁ = -1 + 2i, x₂ = -1 - 2i (complex conjugates)

Real-World Applications

1. Electrical Engineering (AC Circuits)

Complex numbers simplify AC circuit analysis using impedance (Z = R + jX):

  • R = resistance (real part, measured in ohms)
  • X = reactance (imaginary part, from capacitors/inductors)
  • j = imaginary unit (engineers use j instead of i to avoid confusion with current)

Ohm's Law for AC: V = I·Z, where voltage, current, and impedance are all complex numbers representing magnitude and phase.

2. Signal Processing (Fourier Transform)

The Fourier Transform decomposes signals into frequency components using complex exponentials:

e^(iωt) = cos(ωt) + i·sin(ωt)
Euler's formula connects complex numbers to sinusoids

Used in audio processing, image compression (JPEG), telecommunications, and radar systems.

3. Quantum Mechanics

Wave functions describing particles are complex-valued functions. The Schrödinger equation, which governs quantum systems, uses complex numbers fundamentally. Probabilities come from the magnitude squared of complex wave functions.

4. Control Systems

Stability analysis of feedback control systems (autopilots, thermostats, robotics) uses complex poles and zeros. The location of poles in the complex plane determines whether a system is stable or unstable.

5. Fractals (Mandelbrot Set)

The famous Mandelbrot set is defined by iterating z → z² + c where both z and c are complex numbers. Points are colored based on whether the iteration stays bounded or escapes to infinity.

Why "imaginary"? The term was coined by René Descartes in the 17th century dismissively, suggesting these numbers were fictitious. Today we understand they're as valid as negative numbers or fractions—just abstract mathematical objects with profound practical uses.

The Complex Plane

Complex numbers can be visualized on a 2D plane (Argand diagram):

  • Horizontal axis (x-axis): Real part
  • Vertical axis (y-axis): Imaginary part
  • Origin (0,0): The number 0 + 0i

Plotting Examples

  • 3 + 2i: Point at (3, 2) in the complex plane
  • -1 + 4i: Point at (-1, 4)
  • 5 (real): Point at (5, 0) on the real axis
  • 3i (imaginary): Point at (0, 3) on the imaginary axis

Geometric Interpretation of Operations

  • Addition: Vector addition (tip-to-tail)
  • Multiplication by i: Rotation by 90° counterclockwise
  • Conjugate: Reflection across the real axis
  • Magnitude: Distance from origin

Common Mistakes with Imaginary Numbers

Mistake 1: Treating i Like a Variable

❌ Wrong: √(-4) × √(-9) = √((-4) × (-9)) = √36 = 6

✅ Correct: √(-4) × √(-9) = 2i × 3i = 6i² = 6(-1) = -6

The rule √(a·b) = √a·√b only works when at least one of a or b is non-negative.

Mistake 2: Forgetting i² = -1

When simplifying, always replace i² with -1:

❌ Wrong: (2i)² = 2i² → leaves i² unsimplified

✅ Correct: (2i)² = 4i² = 4(-1) = -4

Mistake 3: Incorrect Division

Never leave i in the denominator—multiply by the conjugate:

❌ Wrong: 1/(2 + 3i) → leaves imaginary in denominator

✅ Correct: 1/(2 + 3i) × (2 - 3i)/(2 - 3i) = (2 - 3i)/(4 + 9) = (2 - 3i)/13

Mistake 4: Sign Errors with Conjugates

The conjugate of a + bi is a - bi (flip ONLY the imaginary sign):

❌ Wrong: Conjugate of 3 + 4i is -3 - 4i

✅ Correct: Conjugate of 3 + 4i is 3 - 4i

Historical Context

Imaginary numbers emerged in the 16th century when Italian mathematicians like Gerolamo Cardano and Rafael Bombelli encountered square roots of negative numbers while solving cubic equations. Initially dismissed as meaningless, they gained acceptance in the 18th and 19th centuries through the work of Leonhard Euler, Carl Friedrich Gauss, and others.

Key milestones:

  • 1545: Cardano publishes solutions to cubic equations involving √(-15)
  • 1748: Euler introduces the notation i for √(-1)
  • 1799: Gauss proves the Fundamental Theorem of Algebra using complex numbers
  • 1806: Argand develops geometric representation (complex plane)
  • 1893: Steinmetz uses complex numbers for AC circuit analysis

Nomenclature note: Mathematicians use i for the imaginary unit, while electrical engineers use j to avoid confusion with the symbol for electric current (I or i).

Frequently Asked Questions

The imaginary unit i is defined as the square root of -1, written i = √(-1). Its defining property is i² = -1. All imaginary and complex numbers are built from combinations of i with real numbers.
Add the real parts together and the imaginary parts together separately. Example: (3 + 2i) + (1 + 4i) = (3+1) + (2+4)i = 4 + 6i.
Factor out -1 and express using i. For example, √(-16) = √(16 × -1) = √16 · √(-1) = 4i. The square root of any negative number -n is i√n.
Use distributive property (FOIL) and replace i² with -1. Example: (2 + 3i)(1 + 4i) = 2 + 8i + 3i + 12i² = 2 + 11i + 12(-1) = -10 + 11i.
The conjugate of a + bi is a - bi (same real part, opposite imaginary sign). Conjugates are used in division and finding magnitude. The product z·z̄ = a² + b² is always real and non-negative.
Despite the name, imaginary numbers are essential in electrical engineering (AC circuits), quantum mechanics (wave functions), signal processing (Fourier transforms), control systems, and many areas of physics and engineering.
The magnitude (modulus) is the distance from the origin in the complex plane, calculated as |z| = √(a² + b²) for z = a + bi. Example: |3 + 4i| = √(9 + 16) = 5.

Embed this Calculator

Copy the code below and paste it into your website's HTML. Your visitors can use this calculator for free.

px × px
<iframe src="https://calculatorteam.com/embed/imaginary-number-calculator" width="100%" height="600" style="border:none;border-radius:12px;" loading="lazy" title="Imaginary Number Calculator"></iframe>

Report an Issue

Let us know what's wrong with this calculator. We'll review and fix it as soon as possible.