I am reading a dissertation where there's a part about quaternion rotation:
Let $w = r_1 e^{\theta _1 i} + r_2 e^{\theta _2 i} j \in \mathbb{H}$ and $q = e^{i \alpha}$
So, the book concludes that:
$r_q \left( w \right) = q w q = r_1 e^{\left(\theta _1 + 2 \alpha \right) i} + r_2 e^{\left(\theta _2 + 2 \alpha \right) i} j$
Wich is a rotation of $w$ by $2\alpha$ in the plane $1i$. But when i try to solve this product, i found:
$r_q \left( w \right) = q w q = r_1 e^{\left(\theta _1 + 2 \alpha \right) i} + r_2 e^{\theta _2 i} j$
Let's correct the source's errors. From the bottom of page 7:
The equation should instead read
$$ \mathbf{r}_q(w):=qwq=r_1e^{i\theta_1+2\alpha}+r_2e^{i\theta_2}j $$
Next, on the bottom of page 10:
For some reason, they decomposed $x$ into planes based on $i$, but used $e^{l\alpha}$ for their rotation. There are two ways to fix this: use $e^{i\alpha}$ instead of $e^{l\alpha}$, or else decompose $x$ into planes based on $l$.
The first way to fix it would look like this:
The second way to fix it would look like this:
In the second case, we're no longer using the privileged copy of $\mathbb{H}\subset\mathbb{O}$ so I see no reason to split angles and coefficients into two pairs. (Arguably, there wasn't much reason to in the first place.)
Note, depending on how you define/introduce the octonions, you are not stuck with just plane rotations based in $i,j,l,$ etc. $-$ using properties of octonions, we can show $ab=ba$ iff $a,b$ have parallel imaginary parts, and $ab=-ba$ iff they are perpendicular and pure imaginary; then we can show the above formulas for any choice of planes containing the real axis without having to decompose into an unnecessary number of parts with respect to a fixed coordinate system. (It is also very interesting to characterize when $(ab)c=-a(bc)$ in $\mathbb{O}$.)