Quaternions: Difference between revisions
imported>Ragnar Schroder (→Related topics: Added links) |
imported>Ragnar Schroder (→Applications: removing unnecessary links) |
||
Line 21: | Line 21: | ||
Given an ordinary 3-dimensional vector u<sub>1</sub> of unit length and an angle <math>\alpha _1</math>, the quaternion | Given an ordinary 3-dimensional vector u<sub>1</sub> of unit length and an angle <math>\alpha _1</math>, the quaternion | ||
:<math>q_1 = \cos \left( \frac{\alpha_1}{2} \right) + u_1 \sin \left( \frac{\alpha_1}{2} \right)</math> | :<math>q_1 = \cos \left( \frac{\alpha_1}{2} \right) + u_1 \sin \left( \frac{\alpha_1}{2} \right)</math> | ||
then represents a | then represents a rotation over an angle <math>\alpha_1</math> around the axis defined by the unit vector <math>u_1</math>. | ||
Given a similarly defined quaternion | Given a similarly defined quaternion | ||
Line 33: | Line 33: | ||
:<math>\cos \left( \frac{\alpha_3}{2} \right) + u_3 \sin \left( \frac{\alpha_3}{2} \right)</math>. | :<math>\cos \left( \frac{\alpha_3}{2} \right) + u_3 \sin \left( \frac{\alpha_3}{2} \right)</math>. | ||
It represents a | It represents a rotation over an angle <math>\alpha_3</math> around the axis defined by the unit vector <math>u_3</math>, with | ||
:<math>\cos \left( \frac{\alpha_3}{2} \right) = \cos \left( \frac{\alpha_1}{2} \right) \cos \left( \frac{\alpha_2}{2} \right) - u_1 \bullet u_2 </math>, and | :<math>\cos \left( \frac{\alpha_3}{2} \right) = \cos \left( \frac{\alpha_1}{2} \right) \cos \left( \frac{\alpha_2}{2} \right) - u_1 \bullet u_2 </math>, and | ||
Revision as of 15:52, 28 November 2007
Quaternions are a non-commutative extension of the complex numbers. They were first described by Sir William Rowan Hamilton in 1843. He famously inscribed their defining equation on Broom Bridge in Dublin when walking with his wife on 16 October 1843. They have many possible applications, including in computer graphics, but have during their history proved comparatively unpopular, with vectors being preferred instead.
Definition & basic operations
The quaternions, , form a four-dimensional normed division algebra over the real numbers.
Properties
Applications
In 3-dimensional space, any sequence of rotations around any number of different axes intersecting the origin can be represented by a single rotation - the set of all such rotations form a group.
The set of unit quaternions under quaternion multiplication also form a group, which can be used to model the three-dimensional rotation group.
A unit quaternion then represents a rotation, multiplying two quaternions represents performing two rotations in sequence, the resulting quaternion represents the equivalent single rotation.
Given an ordinary 3-dimensional vector u1 of unit length and an angle , the quaternion
then represents a rotation over an angle around the axis defined by the unit vector .
Given a similarly defined quaternion
one can compute their product quaternion
This quaternion can be rewritten in the form
- .
It represents a rotation over an angle around the axis defined by the unit vector , with
- , and
Note that each of the quaternion units (i,j,k) in this model represents a 180 degree rotation, and the quaternion -1 represents a full rotation. The quaternion representation thus keeps track of rotations, in addition to a fermionic phase factor of +-1.
See also
Related topics
References
- Henry Baker. Quaternion references. Electronic document.
- Simon Altmann (2005). Rotations, Quaternions, and Double Groups. Dover Publications. ISBN 978-0486445182. (First edition appeared in 1977).
External links
- Quaternion at MathWorld