Quaternion Math_1

The beauty of math is it taught me to view things in various ways. Even the foundation of mathematical description can be different. Brought up in rigid Descartes coordinate system, my mind is so liberated to learn complex number, dot product, inner product, vector space to now Geometric Algebra and Quaternion system.

It was invented by an Irish mathematician Hamilton in the 18th century, follows exact same logic as we learn matrix, but instead of in 2 or 3 dimension, it sets 4D. Any quaternion can be expressed as q = (a, b, c, d) or = (scalar a, vector formed by (bi, cj, dk)).

Then we can deduce the multiplication of quaternions. From observation below, mathematicians naturally tends to put this quaternion into matrix (4×4) form as laid out below:

so the unit quaternion is

Dot product of two quaternions:

And the below part really is a genius’s work to make that insightful observation and summarize to

Rewritten as

If we rid of the scalar part, then

quaternion multiplication connects both dot and cross product here

Some further manipulation can be done to draw connections

v1v2 – v2v1 is also called commutator

Quaternion is very important in solving problems such as 3D rotations.

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.