Complex numbers – Argand diagram

Complex numbers – interactive Argand diagram

DISPLAY
OPERATION   z₁ ○ z₂
CIRCLES   |z|
z₁  —  blue
z₂  —  red
VALUES

                    

Complex numbers and the Argand diagram

What is a complex number?

A complex number extends the real numbers with the imaginary unit \(j\) (in electrical engineering) or \(i\) (in mathematics), where \(j^2 = -1\). Every complex number \(\underline{z}\) can be written in algebraic (Cartesian) form:

\[ \underline{z} = a + j\,b, \qquad a,\, b \in \mathbb{R} \]

where \(a = \mathrm{Re}(\underline{z})\) is the real part and \(b = \mathrm{Im}(\underline{z})\) is the imaginary part. Real numbers are a special case of complex numbers with \(b = 0\).

Argand diagram (complex plane)

A complex number can be shown as a point or a phasor (vector) in a two-dimensional plane, the Argand diagram (also called the complex plane or Gaussian plane). The horizontal axis is the real axis and the vertical axis is the imaginary axis.

  • Real axis (horizontal): values \(a = \mathrm{Re}(\underline{z})\)
  • Imaginary axis (vertical): values \(b = \mathrm{Im}(\underline{z})\)
  • The complex number \(\underline{z} = a + jb\) is shown as a point with coordinates \((a,\, b)\) and as an arrow (vector) from the origin to this point.
  • The grey dashed lines show the projections of the vector onto both axes. Their lengths are exactly the real part \(a\) and the imaginary part \(b\).

Absolute value (modulus) and argument (angle)

Every complex number can also be described in polar form by two quantities, the absolute value \(|\underline{z}|\) (length of the vector) and the argument \(\varphi\) (angle from the positive real axis):

\[ |\underline{z}| = \sqrt{a^2 + b^2}, \qquad \varphi = \arg(\underline{z}) = \mathrm{atan2}(b,\, a) \]

The link between the algebraic and the polar form is given by Euler's formula:

\[ \underline{z} = |\underline{z}|\, e^{j\varphi} = |\underline{z}|\,(\cos\varphi + j\sin\varphi) \]

In the diagram the angle \(\varphi\) is shown as an arc between the positive real axis and the vector, labelled \(\varphi\). The absolute value \(|\underline{z}|\) is shown as a label along the vector.

Sum and difference of complex numbers

Complex numbers are added and subtracted separately by their real and imaginary parts:

\[ \underline{z}_1 + \underline{z}_2 = (a_1 + a_2) + j\,(b_1 + b_2) \]
\[ \underline{z}_1 - \underline{z}_2 = (a_1 - a_2) + j\,(b_1 - b_2) \]

Geometric interpretation of the sum, the parallelogram rule: The resulting vector \(\underline{z}_3 = \underline{z}_1 + \underline{z}_2\) is the diagonal of the parallelogram constructed on the vectors \(\underline{z}_1\) and \(\underline{z}_2\). In the diagram this is shown by the dashed line from the tip of \(\underline{z}_1\) to the tip of \(\underline{z}_3\), which represents the shifted vector \(\underline{z}_2\).

For the difference \(\underline{z}_3 = \underline{z}_1 - \underline{z}_2\) we can write \(\underline{z}_1 + (-\underline{z}_2)\), so \(\underline{z}_1\) is added to the opposite vector, that is \(\underline{z}_2\) rotated by \(180°\).

Circle of constant absolute value

All complex numbers with the same absolute value \(|\underline{z}| = r\) lie on a circle centred at the origin with radius \(r\). If only the angle \(\varphi\) changes (with constant \(r\)), the point moves along this circle. By turning on the Circles |z| option in the tool you can see on which circle each of the complex numbers lies.

\[ \bigl\{\, \underline{z} \in \mathbb{C} \;\big|\; |\underline{z}| = r \,\bigr\} \quad \Leftrightarrow \quad a^2 + b^2 = r^2 \]

Complex exponential and rotation

Multiplying a complex number \(\underline{z}\) by \(e^{j\alpha}\) rotates it by the angle \(\alpha\) in the complex plane without changing its absolute value. It is a pure rotation:

\[ \underline{z}' = \underline{z}\cdot e^{j\alpha} = |\underline{z}|\, e^{j(\varphi + \alpha)} \]

This principle is essential in the theory of AC circuits, where the voltage or current phasor rotates at the angular frequency \(\omega = 2\pi f\). Impedances (resistance, reactance) are also complex numbers, and multiplying a phasor by an impedance produces a phase shift.

Complex numbers in electrical engineering

In electrical engineering complex numbers are used to describe AC quantities in steady state (phasor calculus). The voltage \(\underline{U}\), the current \(\underline{I}\) and the impedance \(\underline{Z}\) are complex quantities that satisfy Ohm's law in complex form:

\[ \underline{U} = \underline{Z} \cdot \underline{I}, \qquad \underline{Z} = R + j\,X \]

where \(R\) is the resistance and \(X\) is the reactance. The absolute value \(|\underline{Z}| = \sqrt{R^2 + X^2}\) is the circuit impedance and \(\varphi = \arg(\underline{Z})\) is the phase angle between voltage and current.

How to use the interactive tool

  • Display: Use the switch to choose what is shown. One point shows only z₁, Two points adds z₂, Mathematical operation also shows the result z₃ = z₁ ○ z₂ including the geometric construction (dashed line from the tip of z₁ to z₃).
  • Operation z₁ ○ z₂: Choose whether the sum \(\underline{z}_3 = \underline{z}_1 + \underline{z}_2\) or the difference \(\underline{z}_3 = \underline{z}_1 - \underline{z}_2\) is calculated. The operation can always be selected, but the result is shown only in Mathematical operation mode.
  • Circles |z|: When turned on, circles with radius equal to the absolute value of each vector are shown, so you can see along which circle the point would move if only the angle \(\varphi\) changed.
  • Sliders |z| and φ [°]: They control the absolute value (vector length) and the angle of each complex number in polar form. Range of |z| is 0 to 141.4 (diagonal of a 100×100 square), range of φ is −180° to +180°.
  • Projections: The grey dashed lines and dots on the axes show the projections of the vector, the real part \(a\) (on the real axis) and the imaginary part \(b\) (on the imaginary axis).
  • Values: The Values panel shows the current \(a\), \(b\), \(|\underline{z}|\) and \(\varphi\) for each visible complex number.
  • Dragging points with the mouse: Click and hold a coloured point (the tip of vector z₁ or z₂) and drag it directly in the diagram. The sliders update automatically. The cursor changes to ✋ over a point that can be dragged.
  • Hovering over points: When you hover over the tip of a vector (coloured point), a tooltip shows the values \(a\), \(b\), \(|\underline{z}|\) and \(\varphi\).