Quaternions

A quaternion is often represented as q=a+bi+cj+dk, where a,b,c, and d are real numbers, and i,j, and k are the fundamental quaternion units. These units have the following multiplication rules:

Quaternions are often written as H. If we have an unitary quaternion u we have:
- The transformation:
$$
\begin{array}{ccl}
\mathbb{H}& \longrightarrow & \mathbb{H}\
q & \longrightarrow & u \cdot q\
\end

isanisometry,since$|uqup|=|u||qp|=|qp|$.Thetransformation:

\begin{array}{ccl}
P& \longrightarrow & P\
q & \longrightarrow & u \cdot q\cdot u^{-1}\
\end

isarotationinthepureimaginaryquaternions$P=Ri+Rj+RkR3$Thetransformation:

\begin{array}{ccl}
\mathbb{H}& \longrightarrow & \mathbb{H}\
q & \longrightarrow & -u \cdot \bar{q}\cdot u\
\end

isareflectionin$H$andviceversa.Anyrotationin$H=R4$hastheform:

\begin{array}{ccl}
\mathbb{H}& \longrightarrow & \mathbb{H}\
q & \longrightarrow & v \cdot q\cdot w\
\end

for $v, w$ unitary quaternions. Unitary quaternions are equivalent to the special unitary group SU(2). Related: quaternions in Geometric Algebra. As Clifford algebras: Observe that $\text{Cl}_{0,2}(\mathbb{R})$ is a four-dimensional algebra spanned by $\{1, e_1, e_2, e_1e_2\}$ which behave like quaternions. Also quaternions can be understood as the even subalgebra of $Cl(3,0)$.