Skip to content
All apps

Complex addition

About this app

Add two complex numbers and understand the sum as the parallelogram rule.

The idea

A complex number z = a + bi is a point or arrow in the complex plane: the real part a points right, the imaginary part b points up. Addition works component by component: (a + bi) + (c + di) = (a + c) + (b + d)i. Geometrically this is the same rule as for vectors in the plane. You attach the arrow z₂ to the tip of z₁, and the end of the chain is the sum. The arrows z₁ and z₂ span a parallelogram whose diagonal is z₁ + z₂.

What the app shows

Two arrows z₁ and z₂ start at the origin, dashed lines complete them into a parallelogram, and the sum arrow points to the opposite corner. Next to each point the number appears in Cartesian form and as r·e^{iφ} with magnitude and angle in degrees. A formula line works out the sum live, adding real and imaginary parts separately.

Things to try

Drag the tips of z₁ and z₂ with mouse or finger. Notice that real and imaginary parts simply add up, while magnitudes and angles do not: the magnitude of the sum is at most |z₁| + |z₂|. Point z₂ in the opposite direction to z₁ and the sum shrinks. Use “Pan” and the zoom slider to adjust the visible part of the plane.

Frequently asked questions

How do you add two complex numbers?
Add the real parts and the imaginary parts separately: (a + bi) + (c + di) = (a + c) + (b + d)i. For example, (2 + 3i) + (1 − i) = 3 + 2i. Cartesian form is the most convenient form for addition.
What does complex addition mean geometrically?
It is vector addition in the plane. Place the arrow for z₂ at the tip of z₁ and the chain ends at z₁ + z₂. The two arrows form a parallelogram, and the sum is its diagonal.
Is the magnitude of a sum the sum of the magnitudes?
Not in general. The triangle inequality says |z₁ + z₂| ≤ |z₁| + |z₂|. Equality holds only when both arrows point in the same direction or one of them is zero.
What can I do in this app?
You drag the tips of z₁ and z₂ directly in the plane and the parallelogram, the sum and the calculation update immediately. A pan mode and a zoom slider change the view.

Subject: Complex numbers

More from Complex numbers

A VisuApp by heyprof: interactive, free in your browser, no sign-up. What is a VisuApp? · All apps