I'm a chemist lost in the captivating world of mathematics thus if you could keep your answers simple it would be awesome!
Here is my problem: I have two mobiles (A,B) in 3D. Ideally, I would like to obtain a set of quaternions discretizing the transformation from A to B. If I am right one can define an axis and an angle of rotation around this axis that defines any rotation in space from A to B.
To give an example, lets say I have a rotation of 90 deg for going from A to B around the axis e, how to I get the quaternion corresponding to 1/10th,2/10th,3/10th, ..., 1 of this transformation ?
I'm very willing to rephrase and try to explain my problem better if it's not clear enough! Just ask.
Thanks in advance for you help,
Nicolas
If I get the description on the wikipedia site right. First build a quaternion $${\bf q} = \underset{\text{"real" part}}{\underbrace{\cos(\theta/2)}} + (e_x{\bf i} + e_y{\bf j} + e_z{\bf k})\sin(\theta/2)$$ where vector for the axis of rotation is $[e_x,e_y,e_z]$.
Now stuff the point you want to rotate into another quaternion, like this:
$${\bf p} = 0 + (p_x {\bf i} + p_y{\bf j} + p_z{\bf k})$$
That is put x,y and z coordinates of the point into ${\bf i,j,k}$ components and let the "real part" stay 0.
Then to perform the rotation, do ${\bf qpq}^{-1}$ then just extract the coordinates (what is in front of ${\bf i,j,k}$). Please note that it is important with the order of multiplication for quaternions. You can not switch place of the factors left-to-right like you can with complex, real and integer numbers.
Here you can choose $\theta$ to be any angle, for example $90/10=9$ deg if you want.
If you already have a $\bf q$ for one angle and want "shorter" rotations you can use formula for multiple-angles for sine and cos or just arcsin / arccos. Extract $\cos(\theta/2)$ as the "real part" from your $\bf q$, do arc cosine, divide the angle by the factor you want and then do sine and cosine and adjust.
EDIT: Also This will be a particular root (can you guess which?) to the quaternion polynomial:
$${\bf q}^{10} = {\bf q}_0 \Leftrightarrow {\bf q}^{10} - {\bf q}_0 = {\bf 0}$$
If the answer to this question is affirmative, we can implement a root-finding algorithm by stuffing matrix representations of the quaternions into the Characteristic polynomial using Kronecker products in the same way as is done for the complex numbers in the question.