Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Q&A

Post History

75%
+4 −0
Q&A How $ijk=\sqrt{1}$?

posted 2y ago by Tim Pederick‭  ·  edited 2y ago by Tim Pederick‭

Answer
#2: Post edited by user avatar Tim Pederick‭ · 2022-05-27T19:32:10Z (almost 2 years ago)
Fixed my mistake regarding rotations about axes: my assumption doesn’t hold in 4D!
  • First, there’s a couple of algebraic errors in your question:
  • * $\sqrt{a} \sqrt{b} = \sqrt{ab}$ is only true for real numbers, not complex numbers or quaternions
  • * $x^2 = y$ does **not** necessarily imply that $x = \sqrt{y}$
  • Keep in mind that the radical sign $\surd$ means the *principal* root. Even when just dealing with real numbers, there are **two** solutions to (e.g.) $x^2 = 4$, and $\sqrt{4}$ denotes only one of them. (Which one this is, is a matter of convention rather than necessity.)
  • Now, in contrast to [the perfectly reasonable answer](https://math.codidact.com/posts/285984/285986#answer-285986) by [whybecause](https://math.codidact.com/users/55022), I’m going to say that we *can*, in fact, treat quaternion-$i$ as imaginary-unit-$i$. I think this is helpful because it lets us use some of the ways of thinking about complex numbers to look at quaternions and see how they’re similar… and more importantly, how they’re different.
  • Specifically, I’m quite fond of the geometric interpretation of multiplying by a complex number—that is, scaling by its magnitude and rotating by its argument. Since we’re dealing solely with unit-magnitude quantities, we can ignore the former and look purely at rotations. And if multiplying by a quantity is a rotation, then finding its square root means finding *half* of that rotation.
  • In the one-dimensional real number line, there are no square roots of −1. In the two-dimensional complex number plane, there are two roots; we call them $i$ and $-i$ and designate the former as the principal root. There are two, because in the plane there are two ways to rotate by a half-turn (clockwise and anti-clockwise), and so there are two different ways to halve it:
  • ![A complex plane showing i and −i as quarter-turn rotations on the way to −1, which is a half-turn away from 1.](https://math.codidact.com/uploads/GyXsJpr8mJLwk3a1nFW8xdAD)
  • Now, if we move from the complex plane to a three-dimensional space, we add two more roots. We can call them $j$ and $-j$. We have two orthogonal axes of rotation, and we can do a quarter-turn around both, either clockwise or anti-clockwise:
  • ![A 3D space showing j and −j as quarter-turn rotations on the way to −1, which is a half-turn away from 1. These rotations are in a plane orthogonal to the one where i and −i are found.](https://math.codidact.com/uploads/YutLdsJFeiAjtbdK63D8iJTJ)
  • And if we add yet another dimension, we get the four-dimensional quaternion space. This adds *another* orthogonal axis of rotation, with both clockwise and anti-clockwise directions, so we have two more roots of −1. We can call these $k$ and $-k$.
  • I’m not even going to try to draw this, by the way; there’s [a decent (albeit simple) drawing](https://en.wikipedia.org/wiki/File:Quaternion_2.svg) on the Wikipedia page [“Quaternion”](https://en.wikipedia.org/wiki/Quaternion) if you want one. What I *will* draw is the three-dimensional space of the three non-real quaternion axes:
  • ![A 3D space showing i and −i on the right/left axis, j and −j on the up/down axis, and k and −k on the out/in axis.](https://math.codidact.com/uploads/ivUopPKvxPKPcLpPWi6msivL)
  • In this view, we can treat multiplication by each unit as a quarter-turn rotation about its own axis—a turn to the right, if your head is at the unit in question and your feet are at the origin.
  • Finally, this also shows why quaternion multiplication is non-commutative. If you stand up along the $j$ axis (head at $j$, feet at origin), look at $i$, and rotate a quarter-turn to the right, you’re looking at $k$: $ij = k$. But if you lay along the $i$ axis (head at $i$, feet at origin), look at $j$, and rotate a quarter-turn to the right, now you’re looking at $-k$ instead: $ji = -k$.
  • (As for why multiplications like $ii$ and $ijk$ take us back to real numbers, clearly it’s because you’re trying to look at your own head and then rotate it, at which point your brain implodes and you revert to elementary mathematics. 😉)
  • First, there’s a couple of algebraic errors in your question:
  • * $\sqrt{a} \sqrt{b} = \sqrt{ab}$ is only true for real numbers, not complex numbers or quaternions
  • * $x^2 = y$ does **not** necessarily imply that $x = \sqrt{y}$
  • Keep in mind that the radical sign $\surd$ means the *principal* root. Even when just dealing with real numbers, there are **two** solutions to (e.g.) $x^2 = 4$, and $\sqrt{4}$ denotes only one of them. (Which one this is, is a matter of convention rather than necessity.)
  • Now, in contrast to [the perfectly reasonable answer](https://math.codidact.com/posts/285984/285986#answer-285986) by [whybecause](https://math.codidact.com/users/55022), I’m going to say that we *can*, in fact, treat quaternion-$i$ as imaginary-unit-$i$. I think this is helpful because it lets us use some of the ways of thinking about complex numbers to look at quaternions and see how they’re similar… and more importantly, how they’re different.
  • Specifically, I’m quite fond of the geometric interpretation of multiplying by a complex number—that is, scaling by its magnitude and rotating by its argument. Since we’re dealing solely with unit-magnitude quantities, we can ignore the former and look purely at rotations. And if multiplying by a quantity is a rotation, then finding its square root means finding *half* of that rotation.
  • In the one-dimensional real number line, there are no square roots of −1. In the two-dimensional complex number plane, there are two roots; we call them $i$ and $-i$ and designate the former as the principal root. There are two, because in the plane there are two ways to rotate by a half-turn (clockwise and anti-clockwise), and so there are two different ways to halve it:
  • ![A complex plane showing i and −i as quarter-turn rotations on the way to −1, which is a half-turn away from 1.](https://math.codidact.com/uploads/GyXsJpr8mJLwk3a1nFW8xdAD)
  • Now, if we move from the complex plane to a three-dimensional space, we add two more roots. We can call them $j$ and $-j$. We have two orthogonal planes we can rotate through, and we can do a quarter-turn in either, going either clockwise or anti-clockwise:
  • ![A 3D space showing j and −j as quarter-turn rotations on the way to −1, which is a half-turn away from 1. These rotations are in a plane orthogonal to the one where i and −i are found.](https://math.codidact.com/uploads/YutLdsJFeiAjtbdK63D8iJTJ)
  • And if we add yet another dimension, we get the four-dimensional quaternion space. This adds *another* orthogonal plane to rotate in, with both clockwise and anti-clockwise directions, so we have two more roots of −1. We can call these $k$ and $-k$.
  • *(Note: Originally I described the rotations as being about axes, not in planes. In 3D, these are equivalent, because any given plane has just one perpendicular axis through the origin. In 4D, this is no longer true!)*
  • I’m not even going to try to draw this four-dimensional space, by the way; there’s [a decent (albeit simple) drawing](https://en.wikipedia.org/wiki/File:Quaternion_2.svg) on the Wikipedia page [“Quaternion”](https://en.wikipedia.org/wiki/Quaternion) if you want one. What I *will* draw is the three-dimensional space of the three non-real quaternion axes:
  • ![A 3D space showing i and −i on the right/left axis, j and −j on the up/down axis, and k and −k on the out/in axis.](https://math.codidact.com/uploads/ivUopPKvxPKPcLpPWi6msivL)
  • In this view, we can treat multiplication by each unit as a quarter-turn rotation about its own axis—a turn to the right, if your head is at the unit in question and your feet are at the origin.
  • Finally, this also shows why quaternion multiplication is non-commutative. If you stand up along the $j$ axis (head at $j$, feet at origin), look at $i$, and rotate a quarter-turn to the right, you’re looking at $k$: $ij = k$. But if you lay along the $i$ axis (head at $i$, feet at origin), look at $j$, and rotate a quarter-turn to the right, now you’re looking at $-k$ instead: $ji = -k$.
  • (As for why multiplications like $ii$ and $ijk$ take us back to real numbers, clearly it’s because you’re trying to look at your own head and then rotate it, at which point your brain implodes and you revert to elementary mathematics. 😉)
#1: Initial revision by user avatar Tim Pederick‭ · 2022-02-26T13:56:37Z (about 2 years ago)
First, there’s a couple of algebraic errors in your question:
* $\sqrt{a} \sqrt{b} = \sqrt{ab}$ is only true for real numbers, not complex numbers or quaternions
* $x^2 = y$ does **not** necessarily imply that $x = \sqrt{y}$

Keep in mind that the radical sign $\surd$ means the *principal* root. Even when just dealing with real numbers, there are **two** solutions to (e.g.) $x^2 = 4$, and $\sqrt{4}$ denotes only one of them. (Which one this is, is a matter of convention rather than necessity.)

Now, in contrast to [the perfectly reasonable answer](https://math.codidact.com/posts/285984/285986#answer-285986) by [whybecause](https://math.codidact.com/users/55022), I’m going to say that we *can*, in fact, treat quaternion-$i$ as imaginary-unit-$i$. I think this is helpful because it lets us use some of the ways of thinking about complex numbers to look at quaternions and see how they’re similar… and more importantly, how they’re different.

Specifically, I’m quite fond of the geometric interpretation of multiplying by a complex number—that is, scaling by its magnitude and rotating by its argument. Since we’re dealing solely with unit-magnitude quantities, we can ignore the former and look purely at rotations. And if multiplying by a quantity is a rotation, then finding its square root means finding *half* of that rotation.

In the one-dimensional real number line, there are no square roots of −1. In the two-dimensional complex number plane, there are two roots; we call them $i$ and $-i$ and designate the former as the principal root. There are two, because in the plane there are two ways to rotate by a half-turn (clockwise and anti-clockwise), and so there are two different ways to halve it:

![A complex plane showing i and −i as quarter-turn rotations on the way to −1, which is a half-turn away from 1.](https://math.codidact.com/uploads/GyXsJpr8mJLwk3a1nFW8xdAD)

Now, if we move from the complex plane to a three-dimensional space, we add two more roots. We can call them $j$ and $-j$. We have two orthogonal axes of rotation, and we can do a quarter-turn around both, either clockwise or anti-clockwise:

![A 3D space showing j and −j as quarter-turn rotations on the way to −1, which is a half-turn away from 1. These rotations are in a plane orthogonal to the one where i and −i are found.](https://math.codidact.com/uploads/YutLdsJFeiAjtbdK63D8iJTJ)

And if we add yet another dimension, we get the four-dimensional quaternion space. This adds *another* orthogonal axis of rotation, with both clockwise and anti-clockwise directions, so we have two more roots of −1. We can call these $k$ and $-k$.

I’m not even going to try to draw this, by the way; there’s [a decent (albeit simple) drawing](https://en.wikipedia.org/wiki/File:Quaternion_2.svg) on the Wikipedia page [“Quaternion”](https://en.wikipedia.org/wiki/Quaternion) if you want one. What I *will* draw is the three-dimensional space of the three non-real quaternion axes:

![A 3D space showing i and −i on the right/left axis, j and −j on the up/down axis, and k and −k on the out/in axis.](https://math.codidact.com/uploads/ivUopPKvxPKPcLpPWi6msivL)

In this view, we can treat multiplication by each unit as a quarter-turn rotation about its own axis—a turn to the right, if your head is at the unit in question and your feet are at the origin.

Finally, this also shows why quaternion multiplication is non-commutative. If you stand up along the $j$ axis (head at $j$, feet at origin), look at $i$, and rotate a quarter-turn to the right, you’re looking at $k$: $ij = k$. But if you lay along the $i$ axis (head at $i$, feet at origin), look at $j$, and rotate a quarter-turn to the right, now you’re looking at $-k$ instead: $ji = -k$.

(As for why multiplications like $ii$ and $ijk$ take us back to real numbers, clearly it’s because you’re trying to look at your own head and then rotate it, at which point your brain implodes and you revert to elementary mathematics. 😉)