MATHEMATICS • ALGEBRA
Complex Numbers Lab
Connect rectangular arithmetic to polar geometry by adding, subtracting, multiplying, dividing and rotating vectors on the complex plane.
Arithmetic as geometry
Vectors make complex arithmetic visible: addition is vector combination, multiplication scales and rotates, division subtracts angles, and multiplication by a unit complex number creates a pure rotation.
LEARN WITH THE SIMULATION
Understand Complex Numbers Lab by experimenting.
Complex numbers become much easier to reason about when rectangular and polar forms are visible at the same time. A value z = a+bi is both a point/vector in the Argand plane and a magnitude-angle pair |z|∠arg(z). This laboratory compares addition, subtraction, multiplication, division and rotation while the premium inspector tracks both operands and the result in polar form. Multiplication and division are especially revealing because their geometry is governed by magnitude scaling and angle combination.
BUILD THE IDEA
What you should understand first
- Convert between rectangular coordinates and magnitude/argument.
- Interpret addition and subtraction as vector operations in the Argand plane.
- Explain multiplication as multiplying magnitudes and adding arguments.
- Recognize rotation by an angle as multiplication by a unit-magnitude complex number.
TRY IT YOURSELF
Why does complex multiplication look like scaling plus rotation rather than component-by-component multiplication?
- Choose two nonzero complex numbers and record their magnitudes and arguments.
- Select Multiply and compare |result| with |z₁||z₂|.
- Compare arg(result) with arg(z₁)+arg(z₂), allowing for angle wrapping.
- Switch to Rotate and verify that |z₁| stays fixed while the argument changes by the selected rotation angle.
Multiplication obeys a polar rule: magnitudes multiply and arguments add. A pure rotation uses a multiplier of magnitude one, so it changes direction without changing length.
WHY IT WORKS 01
Polar form exposes the structure hidden in rectangular algebra
Writing z = r(cosθ+i sinθ) separates size r from direction θ. When two such forms are multiplied, trigonometric identities combine the angles into θ₁+θ₂ while the scalar factors become r₁r₂. The rectangular expansion ac−bd + i(ad+bc) is the same operation expressed in coordinates rather than geometry.
WHY IT WORKS 02
Rotation is multiplication by a point on the unit circle
The complex number cosφ+i sinφ has magnitude one and argument φ. Multiplying z by this number leaves |z| unchanged and adds φ to its argument, which is exactly a planar rotation about the origin. This provides a compact algebraic representation of repeated rotations without a 2×2 matrix.
WHY IT WORKS 03
Division reverses the multiplication rules
For nonzero z₂, the quotient z₁/z₂ has magnitude |z₁|/|z₂| and argument arg(z₁)−arg(z₂). In rectangular form this is usually computed by multiplying numerator and denominator by the complex conjugate of the divisor, which converts the denominator into the real quantity |z₂|².
DO NOT MIX THESE UP
Common misconception
Complex multiplication is not performed by multiplying real parts together and imaginary parts together independently. Arguments are also defined modulo 360°, so two angles that differ by a full turn represent the same direction. Division by zero remains undefined even though the geometric formulas may look symmetric.
PRACTICE CHALLENGE
Can you hit a target result magnitude and explain which operation-specific magnitude rule produced it?
- Choose a target result magnitude in the premium controls.
- Use multiplication first and adjust the operand magnitudes until the target is reached.
- Switch to division or rotation and predict the new result magnitude before checking.
- Use the inspector's magnitude and argument values to explain the geometric transformation.
Reveal the reasoning
For multiplication, |z₁z₂|=|z₁||z₂|; for division, |z₁/z₂|=|z₁|/|z₂| when z₂≠0; for rotation by a unit complex number, magnitude is unchanged. Addition and subtraction do not have an equivalent simple product rule because the relative vector directions matter.
MODEL BOUNDARIES
What this simulation assumes
Every simulation simplifies reality or a mathematical system. These are the assumptions and limits to keep in mind while interpreting the results.
Model assumptions
- Complex values are represented by finite real and imaginary components in the ordinary complex plane.
- Angles use the principal argument returned by atan2 and are displayed in degrees for interpretation.
- Arithmetic follows exact complex-number identities up to browser floating-point precision.
Model limitations
- Division by zero is undefined and is reported as an invalid result rather than approximated.
- Branch-cut issues for multivalued complex functions such as logarithms and roots are outside this simulator.
CONNECT IT
Where this matters
- AC phasors and impedance
- 2D rotations and graphics
- Control and signal processing
- Quantum amplitudes and wave mathematics
WORDS THAT MATTER
Key vocabulary
- Complex modulus
- Magnitude |z| = √(a²+b²) of z=a+bi.
- Argument
- Direction angle of a complex number measured from the positive real axis.
- Argand plane
- Coordinate plane whose horizontal axis is real and vertical axis is imaginary.
- Complex conjugate
- For a+bi, the number a−bi, useful in division and magnitude calculations.
- Unit complex number
- Complex number of magnitude one, used naturally to represent rotations.
NEXT STEP