A Simple Algebraic Way to understand Quaternions and Rotations in 3D

来源:互联网 发布:乌海四中网络选课系统 编辑:程序博客网 时间:2024/05/20 10:54

Before doing this study, using quaternions to represent rotation (v=qvq1) is a magical formula to me.
It’s easy to verify its correctness by expanding the identity to the vector rotation formula simply using the multiplication rule of quaternions in the language of vector cross and dot products : Proof of the quaternion rotation identity.
I can easily understand the vector rotation formula. Because it can be derived from the geometry by very elementary vector operations.
In fact, the proof shows these two formulas are mathematically equivalent. Its reversed process is called Factorization. We can get the “quaternion rotation formula” from the “vector rotation formula” by the factorization. If the factorization is understandable:
For the first time, I can figure out the quaternion rotation formula from the first place.

Created with Raphaël 2.1.0Axis-anglechoose an axis vectorchoose the positive angle of rotationvector algebravector rotation formulaFactorization(vector cross and dot products can be represented in terms of quaternion)quaternion rotation formula

P. S.
There is another method. It uses 2D rotation analogy instead of the pure factorization. See:

  • 3D Rotations and Quaternion Exponentials: Special Case
  • 3D Rotations in General: Rodrigues Rotation Formula and Quaternion Exponentials

The Next: Remake Quaternions

1 0
原创粉丝点击