Visualize complex numbers as points on the complex plane. Compute modulus, argument, sum, and product. Discover geometric meaning of addition (parallelogram law) and multiplication (rotation + scaling).
The complex plane (or Argand diagram) is a two‑dimensional Cartesian coordinate system where the horizontal axis represents the real part and the vertical axis the imaginary part of a complex number. This elegant representation bridges algebra and geometry: every complex number \(z = x + iy\) corresponds uniquely to a point \((x, y)\).
Addition of complex numbers corresponds to vector addition (parallelogram law). Multiplication by a complex number scales the modulus and rotates by its argument – a cornerstone of phasors in electrical engineering, quantum mechanics, and control theory.
In electrical engineering, a sinusoidal voltage \(V(t) = V_0 \cos(\omega t + \phi)\) is represented by the phasor \(V_0 e^{j\phi}\). Using our plotter, set \(Z_1 = 5\angle 30^\circ\) (≈ 4.33 + 2.5i) and \(Z_2 = 3\angle 60^\circ\) (1.5 + 2.598i). The product \(Z_1\cdot Z_2\) gives a new phasor with magnitude 15 and phase 90°, representing voltage amplification and phase shift in a cascaded system. The sum represents superposition of two AC signals.
Modulus: \(|z| = \sqrt{x^2+y^2}\) – Euclidean distance from origin.
Argument: \(\arg(z) = \arctan2(y,x)\) – angle with positive real axis.
Polar form: \(z = r(\cos\theta + i\sin\theta) = r e^{i\theta}\). Multiplication: \(r_1 e^{i\theta_1} \cdot r_2 e^{i\theta_2} = (r_1 r_2) e^{i(\theta_1+\theta_2)}\).
Geometric addition: The sum corresponds to vector addition; the difference \(Z_1 - Z_2\) corresponds to the vector from \(Z_2\) to \(Z_1\).
The conjugate \(\bar{z} = x - iy\) is a reflection across the real axis – useful for computing modulus \(|z|^2 = z\bar{z}\).
The canvas automatically adjusts the viewing window to include all plotted points (Z₁, Z₂, Sum, Product) plus the origin. Dashed lines from origin to each point can be optionally visualized — we draw subtle light gray lines for clarity. The grid and labeled axes reinforce the Cartesian‑to‑complex mapping.