Complex Addition
With the geometric interpretation of the addition of two complex numbers, in Remark 5.3 Item iii, clarifies the notion of the “triangle inequality”. In Figure 5.1, the length of the edges of the parallelogram in blue are given by and , whereas the length of the diagonal in red is given by . Hence, as the figure shows, the triangle inequality says that the length of the two shortest edges of a triangle is at least the length of the longest edge.
How to use the applet
- Drag the two blue points to change the complex numbers
- The axes are the complex plane: horizontal , vertical .
- The blue arrows from the origin represent the vectors and .
- The red arrow represents the sum
- The dashed light-blue arrows show the parallelogram rule:
- the arrow is a translated copy of ,
- the arrow is a translated copy of .
The picture forms a triangle (or parallelogram) with side lengths , , and .
This illustrates the triangle inequality:
Equality happens when and point in the same direction (same argument).
- Hold Shift + scroll to zoom
- Hold Shift + drag to move
- Points shaped like <> act as sliders
Description
Reference: Lecture Notes Calculus 1 ( May22,2022 ) Figure5.1. page 75
This applet visualizes addition of two complex numbers as vectors in the complex plane (horizontal axis , vertical axis ) and illustrates the geometric idea behind the triangle inequality. The origin is the point , and two draggable points represent the complex numbers and .
The two complex numbers are represented by blue arrows from the origin
to the draggable points (board.create("arrow", [O, z1]) and board.create("arrow", [O, z2])).
Their sum is represented by the red arrow from the origin to the point , where is defined dynamically as
z3 = (z1.X() + z2.X(), z1.Y() + z2.Y())
in the code:
const z3 = board.create("point", [() => z1.X() + z2.X(), () => z1.Y() + z2.Y()], ...).
To help students see the parallelogram (and hence the triangle inequality),
the applet also draws two dashed light-azure translated arrows:
z2 → z3 is a translated copy of , and it is labeled z₁;
z1 → z3 is a translated copy of , and it is labeled z₂.
These auxiliary arrows make it clear that the diagonal of the parallelogram corresponds to .