Complex Number vs. Quaternion
Complex numbers and quaternions both extend the real numbers by adding square roots of $-1$, and both can be multiplied and divided. A complex number $a + b i$ has one imaginary unit $i$, and multiplication of complex numbers is commutative. A quaternion $a + b \, \mathbf{i} + c \, \mathbf{j} + d \, \mathbf{k}$ has three imaginary units, and multiplication of quaternions is not commutative, because $\mathbf{i} \mathbf{j} = \mathbf{k}$ but $\mathbf{j} \mathbf{i} = -\mathbf{k}$.
real numbers ⊂ complex numbers ⊂ quaternions
Definitions
A complex number is a number of the form
\[z = a + b i,\]where $a$ and $b$ are real numbers and $i$ is the imaginary unit, which satisfies $i^2 = -1$.
The number $a$ is the real part of $z$, and the number $b$ is the imaginary part of $z$.
A complex number is an ordered pair $(a, b)$ of real numbers. The set $\complexes$ of complex numbers has the addition $(a, b) + (c, d) = (a + c, b + d)$ and the multiplication
\[(a, b)(c, d) = (ac - bd, \; ad + bc).\]Writing $i = (0, 1)$ and identifying each real number $a$ with $(a, 0)$, each complex number $(a, b)$ is equal to $a + b i$.
Examples
-
The number $0 = 0 + 0i$ is a complex number with real part $0$ and imaginary part $0$.
-
The number $3 + 4 i$ is a complex number with real part $3$ and imaginary part $4$.
-
The number $-1$ is a complex number with real part $-1$ and imaginary part $0$.
-
$2 + 5 \, \mathbf{i} + 0 \, \mathbf{j} + 0 \, \mathbf{k}$ is the complex number $2 + 5 i$, because its $\mathbf{j}$ and $\mathbf{k}$ parts $c$ and $d$ are $0$, and quaternions of the form $a + b \, \mathbf{i}$ multiply like the complex numbers $a + b i$.
Non-examplesThings that may be mistaken for examples of this term.
-
$1 + 2 \, \mathbf{i} + 3 \, \mathbf{j} + 4 \, \mathbf{k}$ is not a complex number, because its $\mathbf{j}$ and $\mathbf{k}$ parts are not $0$.
Properties
- The complex numbers form a field: multiplication is commutative, and every nonzero complex number has a multiplicative inverse.
- Every nonconstant polynomial with complex coefficients has a complex root (the fundamental theorem of algebra).
- In the complex plane, multiplying by a complex number $z$ with $\abs{z} = 1$ rotates the plane about $0$ by the angle of $z$.
A quaternion is a number of the form
\[q = a + b \, \mathbf{i} + c \, \mathbf{j} + d \, \mathbf{k},\]where $a$, $b$, $c$, and $d$ are real numbers, and $\mathbf{i}$, $\mathbf{j}$, and $\mathbf{k}$ are symbols with products defined by the following rule:
\[\mathbf{i}^2 = \mathbf{j}^2 = \mathbf{k}^2 = \mathbf{i} \mathbf{j} \mathbf{k} = -1.\]Quaternions are added term by term and multiplied by distributing, using this rule.
Examples
-
The complex number $3 + 4 i$ is the quaternion $3 + 4 \, \mathbf{i} + 0 \, \mathbf{j} + 0 \, \mathbf{k}$, because each complex number $a + b i$ is the quaternion $a + b \, \mathbf{i}$ (with $\mathbf{i}$ in the role of $i$).
-
$1 + 2 \, \mathbf{i} + 3 \, \mathbf{j} + 4 \, \mathbf{k}$ is a quaternion, with scalar part $1$ and vector part $(2, 3, 4)$.
-
$2 + 5 \, \mathbf{i} + 0 \, \mathbf{j} + 0 \, \mathbf{k}$ is a quaternion, with $a = 2$, $b = 5$, $c = 0$, and $d = 0$.
Properties
- Multiplication of quaternions is not commutative: $\mathbf{i} \mathbf{j} = \mathbf{k}$, but $\mathbf{j} \mathbf{i} = -\mathbf{k}$.
- Every nonzero quaternion $q$ has a multiplicative inverse \[q^{-1} = \frac{\conj{q}}{\norm{q}^2},\] where $\conj{q} = a - b \, \mathbf{i} - c \, \mathbf{j} - d \, \mathbf{k}$ is the conjugate of $q$ and $\norm{q}^2 = a^2 + b^2 + c^2 + d^2$. So the quaternions form a division ring, but not a field.
- The norm of quaternions is multiplicative: $\norm{p q} = \norm{p} \norm{q}$.
- The quaternions $a + b \, \mathbf{i}$ (with $c = d = 0$) multiply like the complex numbers $a + b i$, so the complex numbers are part of the quaternions.
- The unit quaternions, which have norm $1$, represent the rotations of $\reals^3$.
Examples
| Example | complex number | quaternion | Why |
|---|---|---|---|
| The complex number $3 + 4 i$ | ✓ | ✓ | complex number: The number $3 + 4 i$ is a complex number with real part $3$ and imaginary part $4$.
quaternion: The complex number $3 + 4 i$ is the quaternion $3 + 4 \, \mathbf{i} + 0 \, \mathbf{j} + 0 \, \mathbf{k}$, because each complex number $a + b i$ is the quaternion $a + b \, \mathbf{i}$ (with $\mathbf{i}$ in the role of $i$).
|
| $1 + 2 \, \mathbf{i} + 3 \, \mathbf{j} + 4 \, \mathbf{k}$ | ✗ | ✓ | complex number: $1 + 2 \, \mathbf{i} + 3 \, \mathbf{j} + 4 \, \mathbf{k}$ is not a complex number, because its $\mathbf{j}$ and $\mathbf{k}$ parts are not $0$.
quaternion: $1 + 2 \, \mathbf{i} + 3 \, \mathbf{j} + 4 \, \mathbf{k}$ is a quaternion, with scalar part $1$ and vector part $(2, 3, 4)$.
|
Missing example: multiplying_i_and_j_in_both_orders | |||
Notes
- Unit complex numbers rotate the plane by multiplication: $z \mapsto e^{i \theta} z$. Unit quaternions rotate space by conjugation: $\vect{v} \mapsto q \vect{v} q^{-1}$, where the vector $\vect{v}$ is written as the quaternion $v_1 \mathbf{i} + v_2 \mathbf{j} + v_3 \mathbf{k}$.
- The real numbers, the complex numbers, and the quaternions are the only associative division algebras over the real numbers (Frobenius’s theorem). Each step loses a property: the complex numbers are not ordered, and the quaternions are not commutative.