On the complex plane z1 is navy, z2 is blue and the result is amber.
How it was found shows each step.
Sum
(3+2i)+(1−4i)=4−2i
Real part
3+1=4
Imaginary part
2+(−4)=−2
Modulus of the result
∣z1+z2∣=25≈4.4721
How it was found
Complex numbers are added part by part: real with real, imaginary with imaginary.
Real parts: 3+1=4. Imaginary parts: 2+(−4)=−2.
So z1+z2=4−2i.
On the plane this is the parallelogram rule: draw z1 (navy) and z2 (blue) from the origin, complete the parallelogram, and the sum (amber) is its diagonal.
The sum is never longer than the two together: ∣z1+z2∣=4.4721≤∣z1∣+∣z2∣=7.7287. This is the triangle inequality.
Choose Add and type the two numbers. For z1=a+bi and z2=c+di the sum is
z1+z2=(a+c)+(b+d)i
Real parts are added to real parts, imaginary parts to imaginary parts. Nothing else happens: i behaves like a letter in ordinary algebra, and like terms are collected.
Subtracting two complex numbers
DemoSubtracting two complex numbers
Step 0 of 3
Choose Subtract. The difference is found the same way:
z1−z2=(a−c)+(b−d)i
Take care with the signs when the second number has a negative part: subtracting −4i adds 4i. Subtracting z2 is the same as adding its opposite, −z2=−c−di.
Reading the answer
Sum or Difference is the result, written as a+bi.
Real part and Imaginary part show the two small calculations that produce it.
Modulus of the result is its distance from the origin, exact where possible.
Each box accepts whole numbers, decimals, negative numbers and fractions such as 1/2. A purely real number has imaginary part 0; a purely imaginary one has real part 0.
The parallelogram rule
On the complex plane a number is an arrow from the origin. To add two numbers, place the second arrow at the tip of the first: where it ends is the sum. Doing it in the other order gives the same point, and the two paths form a parallelogram whose diagonal is z1+z2.
This is why addition of complex numbers is the same as addition of vectors, and why the order does not matter: z1+z2=z2+z1.
The sum z1+z2 is the diagonal of the parallelogram built on z1 and z2.
The difference as an arrow
The difference z1−z2 is the arrow that leads from z2 to z1. Moved so that it starts at the origin, it ends at the number z1−z2.
Its length, ∣z1−z2∣, is the distance between the two numbers on the plane.
The dashed arrow from z2 to z1, moved to the origin, is z1−z2.
The triangle inequality
The three arrows z1, z2 and z1+z2 form a triangle, and one side of a triangle is never longer than the other two together:
∣z1+z2∣≤∣z1∣+∣z2∣
Equality holds only when the two numbers point in the same direction. The calculator shows both sides of this inequality for your numbers.
Common mistakes
Adding a real part to an imaginary part.3+2i is not 5i. The two parts stay separate.
Losing a sign in subtraction.(3+2i)−(1−4i) has imaginary part 2−(−4)=6, not −2.
Adding moduli.∣z1+z2∣ is usually smaller than ∣z1∣+∣z2∣.
Adding arguments. Angles add when numbers are multiplied, not when they are added.