# Lorentz Boosts with Quaternions

A method for using hyperbolic sines and cosines in a real-valued quaternion to generate a Lorentz boost along an axis is shown. Do precisely what one does for a 3D spacial rotation as a first step, substituting the hyperbolic for regular trig functions, B' = H B H*. That creates four terms that are need, adding two extra terms and containing two omissions. A difference between the same three matrices does the job: B' = H B H* + ( (H H B)* - (H* H* B)* )/2. The inverse transform is created by changing the conjugates on the hyperbolic quaternions. Boosts represented with quaternions must form a group, but it is not compact because the operator uses both addition and multiplication.

Start by understanding rotations around the x axis with quaternions.

The first two terms, *c t* and *x*, are unaltered due to a vector identity. The other two terms use the double angle identities to mix the *y* and *z* as happens for a rotation around the *x* axis. Why the factor of 2? My explanation is that one is using the angle and its mirror reflection via the conjugate operator. This pattern of what gets changed versus what does not is flipped for a boost along the *x* axis. In that case, it is the *y* and *z* that are not altered, and the *t* and *x* that mix it up with hyperbolic sines and cosines. Start out by using the same structure used for rotations, but substituting hyperbolic trig functions:

Four of these terms are what is needed for a boost along the *x* axis: the \gamma *ct*, \gamma *x*, *y* and *z*. The gamma beta terms are missing where they are needed (*t, x*), and appear where they should not (*y, z*). To fix these issues, a quaternion must have four gamma betas with just the right combinations of signs. The product must mix the *c t* with the *x*, and the *y* with the *z*. That will not happen with the position quaternion in the middle, so put it on an end:

This product has several problems. The hyperbolic sign in the first term has the right sign, but not in the second. This can be corrected by taking the conjugate. The *t, x, y*, and *z* terms generated by the unitary scalar need to be eliminated. The triple product needs to be twisted just right to keep what is needed. The hyperbolic rotation used one term conjugated, the other not, so subtract the conjugate squared:

This is exactly what is needed! Combine:

Show this does indeed preserve the interval.

Bingo, bingo. The scalar is the Lorentz invariant interval. The 3-vector is Lorentz covariant, we know how it changes. The *y* and *z* are modified by the time dilation. The *x* term is the product of the time dilation and length contraction.

To get the reverse boost, change the mirrors (conjugate operators) systematically.

Just like the spatial rotations, the use of the conjugate operators leads to a factor of 2 for the boosts.

Spatial rotations are a compact group while the Lorentz boosts are not. A justification for the distinction may be found in these quaternion operators: the rotations only use products, while the boosts require both addition and multiplication.