I spent the past couple days reading about Quaternions on various resources and there are just a couple questions that I still do not fully understand, could someone please help me out?
Also, if you find my questions ill posed and believe that I have some deeper misunderstanding, it would be great if you could point me to some resource where I can clear my confusion.
Thanks!
- When representing 2D rotations using complex numbers, we can apply a rotation to an arbitrary vector using the dot product operation. Why does the dot product not work for quaternions as well (and instead we need the Hamilton product $qvq^{-1}$ to apply the 3D rotation represented by $q$ to a vector $v$)?
- When representing two different 3D rotations $r_1$ and $r_2$ using quaternions $q_1$ and $q_2$, one can use the geodesic distance between the two quaternions as a measure of how far apart from each other (different) are those rotations:
$$\alpha=arccos(2*<q_1,q_2>^2 -1).$$
$\alpha$ is the value of the angular arc between the two quaternions in $R^4$ and varies between 0 and 180, and takes into account the fact that two quaternions are the same if the axis and angle are both negated.
- when $\alpha=0$ then $r_1$ and $r_2$ are the same, but when $\alpha=180$ what is the relation between $r_1$ and $r_2$? Are they the inverse of one another?
- I would have hoped that for an arbitrary vector $v$, $\alpha$ represented the angular distance between the rotated vector when rotating using $q_1$ and $q_2$, but that is not the case. Check the example below:
$$ q_1 = (cos(\pi/4), sin(\pi/4) [1,0,0]) $$ $$ q_2 = (cos(\pi/4), sin(\pi/4) [-\frac{\sqrt(3)}{2},-1/2,0]) $$
$$\alpha=arccos(2*<q_1,q_2>^2 -1)=172.318$$
Now say I have a vector $v_1=[1,2,3]$ and apply the two rotations I get the two rotated vectors $v_{11}=q_1 v_1 q_1^*=[1,-3,2]$ and $v_{12}=q_2 v_1 q_2^*=[1.3839,2.6650,-2.2320]$ and if I measure the angle between these two vectors it actually is $\beta_1 = arccos(\frac{<v_{11},v_{12}>}{||v_{11}||\cdot||v_{12}||})=142.287 \neq \alpha$.
Furthermore, for a different vector $v_2=[23,43,-15]$ the final angle (omitting the calculations for brevity) is $\beta_2=162.518$, which is again different from $\alpha$ (and also $\beta_1$).
So what does $\alpha$ represent in term of points in the 3D space? I am having a hard time understanding how does closeness between quaternions translate to closeness in the 3D space.