terican

Last verified · v1.0

Calculator · math

Complex Number Multiplication Calculator

Calculate the product of two complex numbers (a+bi)(c+di). Returns the real part, imaginary coefficient, modulus, and argument of the result instantly.

FreeInstantNo signupOpen source

Inputs

Result Component

Explain my result

0/3 free

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

Result Component

The formula

How the
result is
computed.

Complex Number Multiplication: Formula, Derivation, and Applications

Multiplying complex numbers requires a systematic application of the distributive property combined with the defining property of the imaginary unit. Two complex numbers in standard rectangular form, z₁ = a + bi and z₂ = c + di, produce a product that is itself a complex number with distinct real and imaginary parts. Mastering this formula is essential for fields ranging from electrical engineering and signal processing to quantum mechanics and 2D computer graphics.

Deriving the Multiplication Formula via FOIL

Expanding (a + bi)(c + di) using the FOIL method — First, Outer, Inner, Last — generates four terms before simplification:

  • ac — First: product of the two real parts
  • adi — Outer: first real part times second imaginary coefficient
  • bci — Inner: first imaginary coefficient times second real part
  • bdi² — Last: product of both imaginary coefficients; since i² = −1 by definition, this term becomes −bd

Regrouping by collecting real terms (ac and −bd) and imaginary terms (adi and bci) yields the standard multiplication formula: (a + bi)(c + di) = (ac − bd) + (ad + bc)i. This derivation is worked through in detail by Paul Dawkins in Algebra — Complex Numbers at Paul's Online Math Notes and is formalized in the foundational lecture notes from MIT 18.04: Complex Algebra and the Complex Plane.

Input Variable Reference

The calculator accepts four scalar inputs representing the rectangular components of both complex numbers:

  • a — the real part of the first complex number z₁ = a + bi
  • b — the imaginary coefficient of z₁; the number that multiplies i
  • c — the real part of the second complex number z₂ = c + di
  • d — the imaginary coefficient of z₂; the number that multiplies i in the second number

Any real number — positive, negative, integer, or decimal — is valid for each variable. Setting b = 0 reduces z₁ to a purely real number; setting a = 0 produces a purely imaginary number.

Output Options Explained

After computing the product P = (ac − bd) + (ad + bc)i, four output representations are available depending on the application:

  • Real part: ac − bd. The component along the horizontal axis of the complex plane.
  • Imaginary coefficient: ad + bc. The coefficient of i in the product, representing the vertical component in the complex plane.
  • Modulus (magnitude): |P| = √((ac − bd)² + (ad + bc)²). This is the Euclidean distance of the product from the origin and equals |z₁| × |z₂| by the modulus multiplication rule.
  • Argument in degrees: The angle θ that P makes with the positive real axis, computed as atan2(ad + bc, ac − bd) and converted to degrees. By the argument addition property, arg(P) = arg(z₁) + arg(z₂).

Step-by-Step Worked Example

Multiply (3 + 2i)(1 − 4i), where a = 3, b = 2, c = 1, d = −4:

  • Real part: ac − bd = (3)(1) − (2)(−4) = 3 + 8 = 11
  • Imaginary coefficient: ad + bc = (3)(−4) + (2)(1) = −12 + 2 = −10
  • Full product: 11 − 10i
  • Modulus: √(11² + 10²) = √(121 + 100) = √221 ≈ 14.866
  • Argument: atan2(−10, 11) ≈ −42.27° (fourth quadrant, consistent with positive real and negative imaginary parts)

Polar Form and the Geometric Meaning of Multiplication

Every complex number can be expressed in polar form as z = r(cos θ + i sin θ), where r = |z| is the modulus and θ = arg(z) is the argument. In polar form, multiplication becomes geometrically elegant: multiply the moduli and add the arguments. Formally, |z₁ · z₂| = r₁ · r₂ and arg(z₁ · z₂) = θ₁ + θ₂. If z₁ has modulus 5 and argument 30°, and z₂ has modulus 3 and argument 45°, then z₁ · z₂ has modulus 15 and argument 75°. This geometric interpretation — simultaneous scaling and rotation — is developed rigorously in Chapter II: Complex Numbers, A Geometric View. Multiplying any complex number by i (modulus 1, argument 90°) rotates it exactly 90° counterclockwise without changing its distance from the origin.

Real-World Applications

Complex number multiplication appears as a core operation across several engineering and scientific disciplines:

  • AC circuit analysis: Impedance is represented as Z = R + jX ohms. Multiplying impedance Z by a current phasor I = Ire + jIim computes the complex voltage V = IZ, directly separating the resistive (in-phase) and reactive (out-of-phase) voltage components.
  • Fast Fourier Transform (FFT): The FFT algorithm performs O(n log n) complex multiplications to convert n-point time-domain data into a frequency spectrum. A 1024-point FFT requires approximately 5,120 complex multiplications.
  • Quantum mechanics: Transition amplitudes between quantum states are complex numbers. The Born rule states that the transition probability equals the modulus squared of the amplitude — requiring complex multiplication to evaluate.
  • 2D rotation in computer graphics: Multiplying a point p = x + yi by the unit complex number e^(iθ) = cos θ + i sin θ rotates p by angle θ around the origin, offering a compact single-multiplication alternative to a 2×2 rotation matrix.

Reference

Frequently asked questions

What is the formula for multiplying two complex numbers?
The formula for multiplying complex numbers (a + bi) and (c + di) is: (ac − bd) + (ad + bc)i. The real part of the product equals ac − bd, and the imaginary coefficient equals ad + bc. This result comes from applying the FOIL method and substituting i² = −1 to eliminate the squared imaginary term and simplify the four-term expansion into two components.
How do you multiply complex numbers step by step?
Identify a, b, c, and d from the two numbers a + bi and c + di. Compute the real part as ac − bd and the imaginary coefficient as ad + bc. Write the result as (ac − bd) + (ad + bc)i. For example, (2 + 3i)(4 − i): real part = 2×4 − 3×(−1) = 8 + 3 = 11; imaginary coefficient = 2×(−1) + 3×4 = −2 + 12 = 10; result = 11 + 10i.
What does the modulus of a complex number product represent?
The modulus (magnitude) of a complex product equals the product of the individual moduli: |z₁ · z₂| = |z₁| × |z₂|. Geometrically, it represents the distance of the result from the origin in the complex plane. For example, if |z₁| = 5 and |z₂| = 3, the product has modulus 15. In electrical engineering, this corresponds to the magnitude of a resulting phasor, such as the peak voltage across an impedance.
Why does i² equal −1 when multiplying complex numbers?
The imaginary unit i is defined as the principal square root of −1, so i² = −1 by definition. This property is the cornerstone of complex arithmetic: without it, the product of two complex numbers would remain a four-term polynomial. Because the bdi² term collapses to −bd, the expansion (a + bi)(c + di) reduces cleanly to (ac − bd) + (ad + bc)i, enabling consistent algebraic manipulation and all downstream engineering applications.
How is complex number multiplication used in electrical engineering?
In AC circuit analysis, voltages, currents, and impedances are represented as complex phasors in the form a + bj (engineers use j instead of i). Multiplying an impedance Z = R + jX by a current phasor I gives the complex voltage V = IZ. The real part of V represents the in-phase (resistive) voltage component and the imaginary part represents the 90°-out-of-phase (reactive) component. This phasor technique simplifies sinusoidal steady-state circuit analysis significantly compared to differential equation methods.
What is the argument of a complex product and how is it calculated?
The argument (angle) of a complex product equals the sum of the arguments of the two factors: arg(z₁ · z₂) = arg(z₁) + arg(z₂). For a result x + yi, the argument in degrees is computed as atan2(y, x) converted to degrees, which correctly handles all four quadrants. For example, if z₁ has argument 30° and z₂ has argument 45°, the product has argument 75°. This additive property makes polar form especially efficient for repeated or chained complex multiplications.