Have I understood Quaternions correctly?

  • Thread starter Thread starter H_man
  • Start date Start date
  • Tags Tags
    Quaternions
Click For Summary
SUMMARY

The discussion centers on the understanding of quaternions for 3D rotations, specifically unit quaternions. The user, H_man, correctly identifies that the three vector coordinates represent a rotation axis and that the real component of the quaternion corresponds to the angle of rotation about this axis. The clarification provided emphasizes that while the real part indicates the angle, the imaginary part represents the rotation axis, not the new x-axis. This distinction is crucial for accurately applying quaternion mathematics in 3D transformations.

PREREQUISITES
  • Understanding of quaternion mathematics
  • Familiarity with 3D coordinate systems
  • Knowledge of unit quaternions and their properties
  • Basic concepts of rotation in three-dimensional space
NEXT STEPS
  • Study the mathematical properties of unit quaternions in 3D rotations
  • Learn about eigenrotations and their relationship with quaternions
  • Explore quaternion representation in computer graphics and robotics
  • Investigate the differences between left and right quaternion representations
USEFUL FOR

Mathematicians, computer graphics developers, game developers, and anyone involved in 3D modeling or simulations who seeks to deepen their understanding of quaternion rotations.

H_man
Messages
143
Reaction score
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
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.
 
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:

Similar threads

  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 1 ·
Replies
1
Views
6K
  • · Replies 1 ·
Replies
1
Views
4K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 8 ·
Replies
8
Views
4K
  • · Replies 11 ·
Replies
11
Views
3K
  • · Replies 10 ·
Replies
10
Views
9K