Have I understood Quaternions correctly?

In summary, the quaternion represents a rotational vector that is related to the rotation axis and the new x-axis.
  • #1
H_man
145
0
Have I understood Quaternions correctly?

Hi all,

I have been trying to understand how quaternions work when rotating coordinate axes in 3-D. I think I may have finally succeeded but I would appreciate if someone who really knows how to use them could confirm if I am correct.

I think that the 3 vector coordinates represent a single point in space and so represent a vector coming from the origin to the point.

This vector actually represents an axis which coincides I suspect with the NEW x axis.

Finally, the real component of the quaternion represents the angle through which the coordinate axes is rotated about the NEW x-axis.

The thing which worries me about the way I understand it is that its too simple. Surely of all the dozens of sites I looked at someone would have put in a diagram to express it this way if it were this simple?

Thanks for any help,

H_man

:smile:
 
Physics news on Phys.org
  • #2
One typically uses unit quaternions to represent rotations of coordinate axes in 3-space. Such quaternions are closely related to eigenrotations. An eigenrotation is a rotation about some rotation axis [itex]\hat n[/itex] by some angle [itex]\theta[/itex]. The unit quaternion corresponding to such an eigenrotation is
[tex]q = \cos\frac\theta 2 \pm \sin\frac\theta 2 \hat n[/tex]
The reason for the uncertainty in the sign of the "imaginary" part is that the sign differs depending on whether one uses left or right quaternions to represent the rotation.

Your thinking regarding the use of unit quaternions for representing the rotation of coordinate axes in [itex]\mathbb{R}^3[/itex] is thus partially correct. The real part of a unit quaternion does indeed represent the angle through which the axes are rotated, but not directly. Instead, [itex]\operatorname{Re} q = \cos\frac\theta 2[/itex].

However, the vector or imaginary part of a unit quaternion used to represent a rotation does not represent the new X axis. The imaginary part instead represents the rotation axis but scaled such that the resulting quaternion is indeed a unit quaternion.

Unit quaternions are but a subset of the quaternions. It is helpful to understand the quaternions in their entirety. One is otherwise left with a bunch of plug-and-chug formulae without this understanding.
 
  • #3
Thanks for the explanation!

I think based on what you have said that I now understand it. BUT, could you confirm that what I now picture in my mind is correct...

The unit vector (represented by the complex components) is a rotation axis. Thus all 3 of the coordinate axis are transformed simultaneously by being rotated about this axis. And that they are rotated by an amount "theta".

I know it may seem that I am stating the obvious but I want to make sure that I do understand it correctly.

Cheers.
 
Last edited:

Related to Have I understood Quaternions correctly?

1. What are quaternions?

Quaternions are a four-dimensional mathematical concept that extends the idea of complex numbers. They are used to represent rotations in three-dimensional space.

2. How are quaternions different from other methods of representing rotations?

Unlike other methods, such as Euler angles or rotation matrices, quaternions do not suffer from gimbal lock. This means they can represent any possible rotation without ambiguity or singularities.

3. How do I perform calculations using quaternions?

To multiply two quaternions, you can use the Hamilton product, which involves multiplying the coefficients and adding cross-products of the vector components. Rotation can be achieved by converting the quaternion into a rotation matrix and applying it to a vector.

4. What are some real-world applications of quaternions?

Quaternions are commonly used in computer graphics and animation, robotics, and aerospace engineering. They are also used in computer vision for object recognition and tracking.

5. Are quaternions difficult to understand?

Quaternions may seem intimidating at first, but with some study and practice, they can be understood and applied effectively. It is important to have a solid understanding of complex numbers and vector math before tackling quaternions.

Similar threads

Replies
3
Views
805
  • Advanced Physics Homework Help
Replies
1
Views
685
  • Calculus and Beyond Homework Help
Replies
1
Views
5K
  • Calculus and Beyond Homework Help
Replies
1
Views
4K
Replies
2
Views
2K
  • Special and General Relativity
Replies
5
Views
376
  • Classical Physics
Replies
6
Views
744
Replies
1
Views
2K
  • Introductory Physics Homework Help
Replies
2
Views
821
  • Mechanics
Replies
11
Views
2K
Back
Top