How to add, subtract, multiply, and divide complex numbers

Complex-number arithmetic uses the algebra we already know, together with the rule that i squared equals negative 1. We combine real parts with real parts and imaginary parts with imaginary parts. For division, a conjugate lets us turn the denominator into a real number.

Add and subtract matching parts

(-2+17i)+(6-8i)=(-2+6)+(17-8)i=4+9i

For subtraction, distribute the negative sign across both parts of the second number.

(13+4i)-(5+9i)=(13-5)+(4-9)i=8-5i

The sum of 21+16i and -9+4i is 12+20i. Their difference is (21+16i)-(-9+4i)=30+12i.

Multiply the binomials and simplify i squared

(-6+2i)(4-5i)=-24+30i+8i-10i2=-24+38i+10=-14+38i

The product of two imaginary terms is real: (3i)(4i)=12i2=-12. Multiplication by a real number works by distributing, and multiplication by zero gives zero.

Use a conjugate to make the denominator real

The conjugate of a+bi is a-bi. Their product is a2+b2, because the imaginary middle terms cancel. To divide by a nonzero complex number, multiply both numerator and denominator by its conjugate.

Divide seven plus three i by nine minus four i

7+3i9-4i=(7+3i)(9+4i)(9-4i)(9+4i)=63+55i+12i281-16i2=51+55i97=5197+5597i

The result is back in standard form, with a real coefficient for each part.