1. Home
  2. Explore
  3. Mathematics
  4. Quaternion Multiplication

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Quaternion Multiplication

Speaker 1Speaker 2

Quaternion Multiplication

3:51
0:00-3:51
  1. Hope

    Corey, have you ever thought about numbers that have more than two dimensions? I mean, we all know complex numbers, but there's a whole four-dimensional number system called quaternions that's actually incredibly useful.

  2. Corey

    I've heard the name, but I always thought they were just a mathematical curiosity. What makes them so special?

  3. Hope

    Well, they're a four-dimensional extension of complex numbers. And the story of their discovery is amazing. The Irish mathematician William Rowan Hamilton spent years trying to figure out how to multiply triples, you know, a three-dimensional number system. His son would ask him every morning if he'd figured it out, and he'd say no. Then one day in 1843, while crossing a bridge in Dublin, he realized he needed not one extra imaginary dimension, but three!

  4. Corey

    Wait, three imaginary dimensions? So a quaternion has a real part and three imaginary parts, like i, j, and k? That's wild. But how do you even visualize something like that?

  5. Hope

    That's the tricky part. But there's a clever way to build up intuition. Start by imagining a one-dimensional being, Linus the Linelander. We try to teach him complex numbers, which live in the plane. We can't show him the whole plane, but we can stereographically project the unit circle onto a line, so he can see a kind of weird morphing when we multiply by i.

  6. Corey

    Right, the stereographic projection maps points on the circle to a line by drawing lines from -1 through the point. So a rotation of the circle looks like a strange sliding on the line. That gives him a feel for rotation even though he only has one dimension.

  7. Hope

    Exactly. Then we move to Felix the Flatlander. He lives in a plane, and we try to teach him rotations of a sphere. Again, we stereographically project the sphere onto his plane. The north pole goes to the center, the equator stays fixed as a circle, and the south pole goes to infinity. So rotating the sphere looks like a fancy transformation of his plane.

  8. Corey

    And I'm guessing that's exactly how we're going to understand quaternions. We're like Felix, trying to see a four-dimensional hypersphere projected into our three-dimensional space.

  9. Hope

    Precisely. The unit quaternions live on a 4D hypersphere. We stereographically project that into 3D, from the point -1 on the real axis. So what we see is a 3D ball: the point 1 is at the center, the sphere of pure imaginary quaternions, like i, j, k, stays fixed as the unit sphere, and -1 is at infinity.

  10. Corey

    Okay, so that's the picture. But what does multiplication by a quaternion look like? For complex numbers, multiplying by a unit complex number is a rotation. What happens in 4D?

  11. Hope

    It's like a double rotation. When you multiply by i from the left, you're rotating two perpendicular circles in sync. The circle through 1 and i, which we see as a line, rotates by 90 degrees: 1 goes to i, i goes to -1 off to infinity, -1 comes back to -i, and -i to 1. Meanwhile, the perpendicular circle through j and k also rotates 90 degrees, but according to a right-hand rule: point your thumb from 1 to i, and your fingers curl the direction j goes to k.

  12. Corey

    So that gives us i times j equals k, and j times i equals negative k. I've seen those rules before. So the right-hand rule is built into the geometry of the perpendicular circles.

  13. Hope

    Right. And for any unit quaternion q, you'd look at the circle through 1 and q, which we see as a line, and the perpendicular circle on the unit sphere. You rotate the first circle so that 1 maps to q, and rotate the perpendicular circle by the same angle with the right-hand rule. That completely defines the left multiplication by q.

  14. Corey

    And what about multiplication on the right? I've heard that order matters in quaternions.

  15. Hope

    It's non-commutative, yes. If you multiply by q from the right, it's the same idea but with a left-hand rule instead. That symmetry is important because when you combine left and right multiplication, you get the conjugation action that actually describes 3D rotations. But that's for the next video.

  16. Corey

    So quaternions are a way to represent 3D rotations without gimbal lock or other numerical errors. They're used in graphics and robotics, right? And even in quantum mechanics for spin systems.

  17. Hope

    Exactly. Their utility is huge, and once you have this 4D visual intuition, the formulas for concatenating rotations become much more natural. Hamilton would be proud that we're still talking about his discovery two centuries later.

Ask anything

We've read this whole study set, so questions about it get the best answers.

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent