Complex numbers: algebraic form

Definition: $\C = \{a+b\ii \mid a,b\in\R\}$, where $\ii^2 = -1$.
Addition: $(a+b\ii) \pm (p+q\ii) = (a\pm p) + (b\pm q)\ii$.
Multiplication: $(a+b\ii)\cdot(p+q\ii) = ap + (aq+bp)\ii + bq\ii^2$
$\phantom{(a+b\ii)\cdot(p+q\ii)} = (ap-bq) + (aq+bp)\ii$.
For $\alpha\in\R$: $\alpha(a+b\ii) = \alpha a + \alpha b\ii$.
Complex conjugation: $\overline{a+b\ii} = a-b\ii$.
Properties: $\overline{\overline{x}} = x$, $\ \overline{x\pm y} = \overline{x}\pm\overline{y}$, $\ \overline{x\cdot y} = \overline{x}\cdot\overline{y}$, $\ x\cdot\overline{x}\in\R$.
Absolute value: $|x| = \sqrt{x\cdot\overline{x}}$, so $|a+b\ii| = \sqrt{a^2+b^2}$.
For $\alpha\in\R$: $|\alpha x| = |\alpha|\cdot|x|$.
Division: $x/y = (x\cdot\overline{y})/(y\cdot\overline{y})$.

The Gaussian plane and the trigonometric form

Geometric view of $\C$:
We associate numbers with points in $\R^2$: $a+b\ii \leftrightarrow (a,b)$.
$|x|$ is the distance from the point $(0,0)$.
$|x| = 1$ for numbers on the unit circle (complex units).
Trigonometric form:
For complex units: $x = \cos\varphi + \ii\sin\varphi$ for some $\varphi\in[0,2\pi)$.
In general: $x = |x|\cdot(\cos\varphi(x) + \ii\sin\varphi(x))$.
The number $\varphi(x)\in[0,2\pi)$ is the argument of $x$ (written $\arg x$).
Moreover, $\varphi(\overline{x}) = -\varphi(x)$ (modulo $2\pi$).

Exponential form

Euler's formula: $\e^{\ii\varphi} = \cos\varphi + \ii\sin\varphi$.
So every $x\in\C$ can be written as $|x|\cdot\e^{\ii\varphi(x)}$.
Multiplication:
$xy = \left(|x|\cdot\e^{\ii\varphi(x)}\right)\cdot\left(|y|\cdot\e^{\ii\varphi(y)}\right) = |x|\cdot|y|\cdot\e^{\ii(\varphi(x)+\varphi(y))}$
(absolute values multiply, arguments add)
Powers: $x^\alpha = \left(|x|\cdot\e^{\ii\varphi(x)}\right)^\alpha = |x|^\alpha\cdot\e^{\ii\alpha\varphi(x)}$.
Roots: $\sqrt[n]{x} = |x|^{1/n}\cdot\e^{\ii\varphi(x)/n}$.
The root is not unique: $1^4 = (-1)^4 = \ii^4 = (-\ii)^4 = 1$.

Roots of unity

If $x\in\C$ is an $n$th root of unity ($x^n = 1$), then:
$|x| = 1$, so $x = \e^{\ii\varphi}$ for some $\varphi$,
$\e^{\ii\varphi n} = \cos\varphi n + \ii\sin\varphi n = 1$,
which happens whenever $\varphi n = 2k\pi$ for some $k\in\Z$.
We get $n$ distinct $n$th roots of unity:
$\e^{2k\pi\ii/n}$ for $k = 0,\dots,n-1$.
General roots: $\sqrt[n]{x} = |x|^{1/n}\cdot\e^{\ii\varphi(x)/n}\cdot\sqrt[n]{1}$.

Primitive roots of unity

Definition: $x\in\C$ is a primitive $n$th root of unity if $x^n = 1$
and none of $x^1, x^2, \dots, x^{n-1}$ equals $1$.
Example: among the 4th roots of unity,
$\ii$ and $-\ii$ are primitive, $1$ and $-1$ are not.
For every $n$, $\omega = \e^{2\pi\ii/n}$ is primitive (and so is $\overline{\omega}$):
$\omega^j = \e^{2\pi\ii j/n}$ equals $1$ exactly when $j$ is a multiple of $n$.
For every primitive $n$th root of unity $\omega$:
$\omega^j \ne \omega^k$ whenever $0 \le j < k < n$:
the ratio $\omega^k/\omega^j = \omega^{k-j}$ is not $1$, because $0 < k-j < n$.
If $n$ is even, then $\omega^{n/2} = -1$:
$(\omega^{n/2})^2 = \omega^n = 1$, so $\omega^{n/2} = \pm 1$, and it is not $1$.