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

learn more… | top users | synonyms

1
vote
2answers
194 views

How to calculate the quaternion from/and axis angle having parent and target position (camera and its target)?

I want to calculate the orientation (quaternion) of the virtual 3d camera that is looking at some point in 3d space. The illustration: According to this explanation the quaternion be calculated ...
-1
votes
2answers
48 views

Can I write an expression that enters the quaternion space without expressing the variables associated?

First of all, forgive my little knowledge on the subject. I can enter the complex space by just using an expression only having real numbers, for example: ...
0
votes
2answers
66 views

Quaternion Multiplication: What is the correct way of doing it?

I am not very familiar with quaternions, I was just doing a programming homework were I had to implement quaternions' arithmetic, however I got puzzled by the multiplication of 2 quaternions. Let's ...
1
vote
0answers
82 views

Slerp formula interpretation

I have a problem about spherical linear interpolation, or slerp for short. As linked, Wikipedia gives the following formula for an interpolation between quaternions ...
0
votes
1answer
155 views

How are Quaternions derived from Complex numbers or Real numbers?

I understand how complex numbers are derived from real numbers. Namely when you have a sqrt of a negative number you must have an answer of some kind, but this answer cannot be in the real number ...
0
votes
1answer
40 views

What is the perspective projection of a 3d point relative to a quarternion encoded camera?

I'm representing a camera on the cartesian space as a tuple of a 3d point (position) and a quarternion (rotation). I get the front, right and up vectors of the camera by applying the quaternion to the ...
26
votes
6answers
5k views

Why should quaternions exist?

Why do quaternions exist? I want to believe they exist, but all I can think of are reasons they should not exist. These are my reasons. The quaternions are defined by the following equation: $$i^...
0
votes
0answers
66 views

Angular Velocity calculation

I am trying to calculate the time derivative of the quaternion from the following paper: Robotics and Biomimetics (ROBIO) See equation 1 below: $\displaystyle{\dot{q}(t)=\frac{1}{2}q(t)\circ\vec{\...
1
vote
1answer
67 views

Calculate hand position from upper-and lower arm's orientation

I've got two unit quaternions in world space representing the lower- and upper arms orientation. The lengths of upper- and lower arm are known. How can i calculate the hand-position relative to the ...
8
votes
0answers
96 views

Does the exceptional Lie algebra $\mathfrak{g}_2$ arise from the isometry group of any projective space?

I learned from Baez's notes on octonions that the classical simple Lie algebras can be identified with the Lie algebras of isometry groups of projective spaces over $\mathbb{R}, \mathbb{C}$ and $\...
3
votes
1answer
192 views

Rotation in 4D?

Rotation in 2D by an angle $t$ can be performed using $$R=\begin{pmatrix}\cos(t) &-\sin(t) \\ \sin(t) & \cos(t)\end{pmatrix}$$ matrix. But, if I want to rotate a point or vector in 4D, is ...
2
votes
1answer
110 views

Expressing unit quaternions in three degrees of freedom

Short version of question: I am trying to use quaternions to avoid gimbal-lock, but I don't know how to express unit quaternions using three degrees of freedom without re-introducing Euler angles and (...
0
votes
0answers
12 views

How to compute angular velocity given a set of unevenly spaced quaternions/direction cosine matrices

I have the time evolution (unevenly spaced) of around 1000 quaternions which provides the transformation from an inertial coordinate system to a body fixed. My goal is to obtain the angular velocity ...
5
votes
1answer
174 views

Quaternion rotation intuition

Say the quaternions real and imaginary part are written as $(q_1, \vec q)$. One useful multiplication property is $qr=(q_1r_1 - \langle\vec q, \vec r\rangle, q_1\vec r + r_1\vec q + \vec q \times \vec ...
2
votes
1answer
89 views

Does symplectic K-theory $KSp$ have products?

The real and unitary topological $K$-theories are cohomology theories defined by the $\Omega$-spectra $KO$ and $K$ respectively. These are multiplicative theories with products deriving from the ...
3
votes
0answers
24 views

Constructing a coset representative of $SO(n,4)/(SO(n) \times SO(4))$.

In $\mathcal N = 2$ Supergravity the scalar components of Hypermultiplets form a quaternionic Kaehler manifold. Only isometries of this so-called target manifold can be gauged. I am interested in ...
2
votes
2answers
165 views

Concise description of why rotation quaternions use half the angle

I'm currently writing the report on my master thesis project, where I use Android sensors to perform inertial navigation in a heavy industrial environment. In my application, I make use of quaternions ...
1
vote
1answer
54 views

Could someone explain the notation of the average of quaternions equation?

The equation has some notation that is difficult to find the meaning for. It is equation (3) in the paper 'Quaternion Averaging' by F. Landis Markley, et al. on page 3 under 'The Average Quaternion'. ...
2
votes
1answer
52 views

What does the subspace of SO(3) corresponding to zero yaw look like

Background : I'm solving an engineering problem where I have to estimate the orientation of a body in 3D space. Usually, I use quaternions to do this, but I have to consider a special case where I ...
4
votes
1answer
145 views

Symplectic group and Quaternion Inner product

I have a problem understanding a passage from "Naive Lie theory"(by John Stillwell), here is the passage from section $3.9$ ,page $71$: The idea of treating orthogonal, unitary, and symplectic ...
0
votes
0answers
28 views

Constructing a periodic function around $f(t): R \to R^3$

Definitions: $f(t): R \to R^3$ $\hat{\bigtriangledown}f(t) := \frac{df(t)}{dt} \frac{1}{|\frac{df(t)}{dt}|}$ $\vec{a}e^{\vec{b}x} := \vec{a}\cos(x) + \vec{b}\sin(x)$ $\vec{a}, \vec{b} \in H$ Is ...
0
votes
1answer
71 views

Quaternions and rotation

Basically, I am programming an iOS application where I use attitude of the device in quaternion format. Problem is following: Practically: I have a device that does a measurement #1 of magnetic ...
0
votes
2answers
341 views

Clarification of definition of “inverse” with quaternions

From what I understand, the inverse of a matrix only exists if the matrix is square. I recently learned however that the inverse of a quaternion is the quaternion vector (1xn dimensions) where each ...
1
vote
3answers
53 views

Multiplication of quaternion vectors

Upon watching a lecture on quaternions (Youtube link), I came across the following math: $$(a,\vec{v})(a,- \vec{v})=(a^2+(\vec{v}\cdot \vec{v}),-a\vec{v}+a\vec{v}+(\vec{v}\times \vec{v}))$$ where $a$ ...
2
votes
4answers
115 views

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 ...
0
votes
0answers
33 views

quaternions are less versatile than matrix?

I am doing some research looking should I implement quaternions or matrices. What I've seem to come across is that while quaternions can be better for doing smooth rotations and dual quaternions can ...
1
vote
1answer
73 views

why is representing rotations through quaternions more compact and quicker than using matrices??

According to the wikipedia page on Quaternions: The representations of rotations by quaternions are more compact and quicker to compute than the representations by matrices. However, I have to admit,...
2
votes
1answer
77 views

Why is it so that a unit quaternion $t$ can be written as $t=\cos(\theta)+u\sin(\theta)$?

Why is it so that a unit quaternion $t$ can be written as $t=\cos(\theta)+u\sin(\theta)$? This question stems from Stillwell's Naive Lie Theory where he states that a quaternion $t$ of absolute value ...
0
votes
1answer
49 views

Equivalance form for Slerp in quaternions interpolation

In all the books I have found that Slerp have two forms: A B I know that all the forms from A are equivalent but I don't know why the forms from A are equivalent with the form from B. Can ...
0
votes
1answer
54 views

Quaternion - trigonometric form - $q=\cos \theta +u \sin \theta$ Components for $u$?

It is proven that a quaternion has the following trigonometric form: $$q=\cos \theta +u \sin \theta.$$ My question is: Which are the components of the $u$? Thanks!
0
votes
2answers
65 views

Quaternion and Euler angles small angle proof

Let's start with a quaternion $q = \begin{bmatrix} q1 & q2 & q3 & q4 \end{bmatrix}^T$. Where $q_4$ is the scalar part, which is equal to: \begin{equation} q_4 = cos(\frac{\alpha}{2}) \end{...
0
votes
1answer
85 views

Scalar triple product of quaternion scalar parts

I'm reading this paper about quaternion and 3D rotation with unit quaternions, \begin{eqnarray*} && \dot{q} = (q, {\bf q}) \\ && \dot{r} = (r, {\bf r}) \\ && \dot{r'} = \dot{q}...
2
votes
1answer
114 views

General Linear Group over the quaternions is a topological group

How to show that General Linear Group over the quaternions is a a topological group?
1
vote
1answer
136 views

The “argument” of a quaternion

My question is pretty simple. I've been trying to read a pretty introductory text on Clifford algebras, and I encountered how they define the "argument" of a quaternion as an ordered quadruple ...
2
votes
1answer
170 views

Advanced calculus: Solving quaternion differential equations

I have a system of two differential equations $$\frac{\partial X(t)}{\partial t}=a_1 A X(t)+a_2X(t) B+a_3 C Y(t)+a_4Y(t) D+a_5$$ $$\frac{\partial Y(t)}{\partial t}=b_1 E X(t)+b_2X(t) F+b_3 G Y(t)+...
1
vote
1answer
60 views

Dot product of of quaternion-rotated vectors

I'm reading http://people.csail.mit.edu/bkph/articles/Quaternions.pdf and it says "it is easy to show that the operation preserves dot-products." on the page 3. But how is it done? I tried to make a ...
3
votes
1answer
235 views

Why is '1' the multiplicative identity of complex numbers and quaternions?

I am not a mathematician. I studied electrical engineering. I encountered quaternions while trying to understand motion of mobile robots and how rotations are achieved. This question occurred to me ...
0
votes
0answers
221 views

Calculating two rotation angles from xyz coordinates for dummies

This post is a bit verbose so that others who come later may benefit from my thick headedness. I am attempting to construct a primitives composition and constructed solids geometry parser/processor ...
1
vote
1answer
234 views

Multiplication of a quaternion and a scalar to produce a vector?

I am looking at someone else's code, and in it they have a quaternion multiplied with a scalar in order to produce a vector. He used the boost library, and can't find exactly where they defined the ...
0
votes
1answer
41 views

Geometric significance of map, quaternions.

Let $u, v, w \in \mathbb{R}^3$ be a triple of vectors which form an orthonormal basis in $\mathbb{R}^3$ (with the standard orientation). Identify $u, v, w$ with quaternions in the $\mathbb{R}$-linear ...
7
votes
2answers
96 views

Clarify: “$S^0$, $S^1$ and $S^3$ are the only spheres which are also groups”

The zero, one, and three dimensional spheres $S^0$, $S^1$ and $S^3$ are in bijection with the sets $\{a\in \mathbb{K}:|a|=1\}$ for $\mathbb{K} = \mathbb{R}, \mathbb{C}, \mathbb{H}$ respectively. The ...
2
votes
0answers
56 views

Factoring quaternion into three parts

I am faced with a problem where I have a quaternion which represents rotation and three arbitrary axis about which I can make rotations, thus three unit vectors. What I would like to know is angles (...
2
votes
1answer
48 views

Hasse invariant of quaternions over $\mathbb{Q}_p$

I am trying to compute the Hasse invariant of the quaternion algebra over $\mathbb{Q}_p$. I denote this algebra by $H$, and I'm assuming $p\equiv 3\pmod{4}$. So, $\mathbb{Q}_p(i)$ is an unramified ...
3
votes
1answer
74 views

Why multiplying those 2 quaternions doesn't give the expected result?

Using a left-handed coordinate system, let Q = axisAngle({0,0,1}, 1/4*pi) * axisAngle({0,1,0}, 1/4*pi) be the quaternion representing the rotation "1/8 circle ...
0
votes
1answer
99 views

understanding quaternions - spatial rotations

I would like to know if my understanding about quaternions is correct please: lets say you have a vector in 3d space. You could rotate the x,y and-z frame on a fixed point so that it is parallel with ...
1
vote
1answer
61 views

quaternions - understanding a formula

Quaternions are new for me. I am trying to understand the following formula: What are: $\large{q^x}$ ? I don't think it is a power. $\large{q^t}$ ? just a transposition of the quaternion $q$? ...
0
votes
1answer
60 views

what represents this strange matrix [closed]

But I just encountered a very strange type of matrix. What is the name of this type of matrix? How can it be solved? The final result should be a $4\times 4$ matrix, but I only see $5$ elements on ...
0
votes
0answers
81 views

How do I get the rotation between two rotationmatrices?

I am stuck on a little rotation problem. The problem: I have 2 rotation matrices $A$ and $B$. $A$ and $B$ are relative to the coordinate system O. $A$ and $B$ are Quaternion rotation matrices. I am ...
9
votes
1answer
129 views

Eigenvalues of Group Elements and Quaternions

The quaternion algebra is given by $\mathbb{H}$ = $\{a+bi+cj+dk \mid a, b, c, d \in \mathbb{R}, i^2 = j^2 = k^2 = -1, ij = k = -ji\} := \{z_1+z_2j \mid z_1, z_2 \in \mathbb{C}\}.$ I consider the 3-...
2
votes
1answer
38 views

Question about Eigenvalues of group elements

The quaternion algebra is given by $\mathbb{H}$ = $\{a+bi+cj+dk \mid a, b, c, d \in \mathbb{R}, i^2 = j^2 = k^2 = -1, ij = k = -ji\} := \{z_1+z_2j \mid z_1, z_2 \in \mathbb{C}\}.$ I consider the 3-...