[Math] Is the quaternion obtained from Hamilton product a rotated quaternion

quaternions

I'm currently working on a Quaternion Neural Network and I was wondering if a Quaternion rotation was only defined when a Quaternion $q$ is rotated using an unit quaternion $u$ ($uqu^{-1}$), or if the Hamilton product between two Quaternions was a kind of rotation ? The point is to understand how the Hamilton product can be seen in a 3D space to finally understand how Quaternion Neural Networks can perform better.

Thanks a lot !

Best Answer

In simple terms, a quaternion does not need to be a unit quaternion in order to rotate another quaternion (e.g. by calculating the Hamilton product). But if it is not a unit quaternion, it will cause scaling in addition to rotation, so this will not be a pure rotation.

So, for example, if you want to apply several rotations $q_1,q_2,...$ to a quaternion $p$ (which might represent a point in 3D space), the quaternions $q_i$ representing the individual rotations do not need to be normalized in advance. You can simply multiply all of them, then normalize the result (thus eliminating the unwanted scaling) before using it to rotate the quaternion $p$.

Related Question