Questions tagged [quaternions]

For questions about the quaternions: a noncommutative four dimensional division algebra over the real numbers. Also for questions about quaternion algebras.

The ring of quaternions is a four dimensional division algebra over the real numbers. They are usually denoted as $\Bbb H$ in honor of the discoverer, William Rowan Hamilton.

The construction of the quaternions was given by Hamilton as follows: take three symbols $\mathrm{i},\mathrm{j},\mathrm{k}$ as imaginary units and define $\mathrm{i}^2=\mathrm{j}^2=\mathrm{k}^2=\mathrm{i}\mathrm{j}\mathrm{k}=-1$. As a result, $\mathrm{i}\mathrm{j}=\mathrm{k}$, and $\mathrm{j}\mathrm{k}=\mathrm{i}$ and $\mathrm{k}\mathrm{i}=\mathrm{j}$. Furthermore, $\mathrm{j}\mathrm{i}=-\mathrm{k}$ and $\mathrm{k}\mathrm{j}=-\mathrm{i}$ and $\mathrm{i}\mathrm{k}=-\mathrm{j}$, so $\mathrm{k}\mathrm{j}\mathrm{i}=1$.

Another construction of the quaternions was given by Carl Friedrich Gauß as follows: take three symbols $\mathrm{i},\mathrm{j},\mathrm{k}$ as imaginary units and define $\mathrm{i}\circ\mathrm{i}=\mathrm{j}\circ\mathrm{j}=\mathrm{k}\circ\mathrm{k}=\mathrm{k} \circ \mathrm{j} \circ \mathrm{i}=-1$. As a result, $\mathrm{i}\circ\mathrm{j}=-\mathrm{k}$, and $\mathrm{j}\circ\mathrm{k}=-\mathrm{i}$ and $\mathrm{k}\circ\mathrm{i}=-\mathrm{j}$. Furthermore, $\mathrm{j}\circ\mathrm{i}=\mathrm{k}$ and $\mathrm{k}\circ\mathrm{j}=\mathrm{i}$ and $\mathrm{i}\circ\mathrm{k}=\mathrm{j}$, so $\mathrm{i}\circ\mathrm{j}\circ\mathrm{k}=1$.

A quaternion is a linear combination and can represented as versor

$q=q_{0} + q_{1} \mathrm{i} + q_{2} \mathrm{j} + q_{3} \mathrm{k} ~ \widehat{=} ~ \left[\begin{matrix} q_{0} \\ q_{1}\\ q_{2}\\ q_{3} \end{matrix}\right]\in \mathbb{R}^{4} $ where $q_{0}, q_{1},q_{2},q_{3}\in \Bbb R$

Multiplication between quaternions is carried out by using the distributive rule and the rules for $\mathrm{i}$, $\mathrm{j}$ and $\mathrm{k}$.

The quaternions turn out to be a noncommutative division ring. In fact, $\Bbb R$ and $\Bbb C$ and $\Bbb H$ are the only associative finite dimensional division rings over $\Bbb R$. They are also the only normed division algebras over $\Bbb R$.

1656 questions
2
votes
5 answers

Why is it that with quaternions $ij \neq ji$?

I've been using rotations in 3d space lately for simulations. Today I came across the quaternion, which from what I understand will be a much better alternative to my cross/dot product methods. Now I was messing with the algebra, and I can't seem to…
bob
  • 21
  • 2
2
votes
0 answers

Grothendieck group of a quaternion algebra

Let $\mathcal{O}$ be a maximal order in a quaternion algebra over a number field. Then there is a notion of similarity of (left) $\mathcal{O}$-modules, and similarity classes. The set $S$ of such classes is like a class group of a number field,…
AMS
  • 141
2
votes
2 answers

The major differences between dual-quaternions and screw theory

I am working on a project involving the motion of rigid body. From the literatures, I found two main tools, namely the dual-quaternions and screw theory. May I ask what are the major differences between them? It is appreciated that if some documents…
Ben
  • 205
2
votes
2 answers

Why is this algebraic manipulation of quaternions incorrect?

I know that for quaternions, $$i^2=j^2=k^2=ijk=-1$$ I've tried to understand this intuitively as having $i$, $j$ and $k$ represent a rotation about each of three axes. But when I do a bit of manipulation with the quaternions, I ran into a problem.…
HDE 226868
  • 2,354
1
vote
1 answer

Error performing multiplication of Quaternions

Alright I'm going to try one last time to explain my problem with quaternions and multiplication of two quaternions in specific. This time hopefully I'll get an explanation that makes sense. (I posted 2 other versions of this question before that I…
user3002473
  • 8,943
1
vote
2 answers

Isn't it cheating to consider an $ \mathbb{R}^3 $ vector as a "pure quaternion"?

In Jack Kuipers' book he says (p 114): How can a quaternion, which lives in $\mathbb{R}^4$ operate on a vector, which lives in $\mathbb{R}^3$ ? His answer: A vector v $\in$ $\mathbb{R}^3$ can simply be treated as though it were a quaternion q…
bobobobo
  • 9,502
1
vote
1 answer

How can I find a unit velocity vector between two quaternions?

I have two quaternions, $Q_0$ and $Q_1$. I want to find the unit angular velocity vector $w$ that rotates $Q_0$ in the direction of $Q_1$ (shortest path). How can I do this? The analog of what I want in terms of linear velocity is to take points…
1
vote
0 answers

Handedness Convention for Pauli Matrices/Quaternions as rotations in 3-space

Its a fairly standard result that one can represent rotations in 3-space with unit quaternions (or pauli matrices which can be mapped to the unit-quaternions). Working through a related quantum mechanics problem (where we derive the pauli matrices…
crasic
  • 4,849
1
vote
1 answer

Quaternion between 2 3D planes

I have 2 vectors, U1 and V1 (from origin) in 3D space, together forming a plane P1. The vectors then both changes to U2 and V2 (still from origin) forming a new plane P2. Is there there a way to obtain the quaternion representing the rotation…
Imbrondir
  • 131
1
vote
1 answer

conditions for quaternions to be valid

I have begun reading about quaternions after a long time. However I should answer this soon to other members of my work group. My understanding of quaternions is composed of four values w,x,y and z and that they can be used to represent rotations. I…
1
vote
2 answers

Why is $(-1) \cdot j = j \cdot (-1)$ for quaternions?

I'm currently trying to understand the following part of a script (translated from German to English). It is the first part where quaternions get introduced, so I don't know anything about them except what is written there: Quaternions are an…
Martin Thoma
  • 9,821
1
vote
0 answers

Confusion regarding definition of quaternions

I am reading about quaternions and their basic properties from this article Algebra and Geometry of Hamilton’s Quaternions quaternions are quadruples of real numbers $q = (α, β, γ, δ)$ forming a four dimensional real vector space $H$ (named after…
1
vote
0 answers

Is the computation of quaternions faster and less prone to rounding errors than the computation of attitude matrices?

I am having trouble understanding this, I hope you guys can help: Is the computation of quaternions faster and less prone to rounding errors than the computation of attitude matrices, due to the absence of trigonometrical functions (sine, cosine.)?…
Defrans
  • 11
1
vote
0 answers

why are negative quaternions the same as positive quaternions?

From what I understand, quaternions are a way to represent a rotation In this formula, n is the axis of rotation and theta is the angle. So if I'm trying to represent the following rotation The quaternion, q, would be [0, 0, sin(pi/4),…
1
vote
1 answer

How to factor a rotation fixing the origin into 2 reflects with quaternion?

In $\mathbb R^4$ a reflect in a hyperplane through the origin $O$ is, $\forall q \in \mathbb R^4$ $$q \mapsto -u\overline{q}u$$ , where $u$ is a unit quaternion. In $\mathbb R^3$ a rotation fixing the origin $O$ is $$p \mapsto x^{-1}px$$ , where $p$…
athos
  • 5,177