Difference between revisions of "Addition of quaternions"

From Robotics
Jump to: navigation, search
Line 21: Line 21:
 
:<math>
 
:<math>
 
\begin{align}
 
\begin{align}
q+p &= q_0+p_0 \oplus \vec{\mathbf{q}}+\vec{\mathbf{p}}
+
q+p &= q_0+p_0 \oplus \vec{\mathbf{q}}+\vec{\mathbf{p}} = (q_0+p_0,\vec{\mathbf{q}}+\vec{\mathbf{p}})
 
\end{align}
 
\end{align}
 
</math>
 
</math>

Revision as of 16:22, 1 September 2015

← Back: Pure and unit quaternions Overview: Quaternions Next: Multiplication of quaternions

Two quaternions can easily be added by adding their components.

Assume two quaternions:


\begin{align}
q &= q_0 + q_1i + q_2j + q_3k \\
p &= p_0 + p_1i + p_2j + p_3k
\end{align}

The quaternions q and p can just be replaced by these equations in their addition q+p and then be summarized as the individual four components:


\begin{align}
q+p &= q_0 + q_1i + q_2j + q_3k + p_0 + p_1i + p_2j + p_3k \\
&= (q_0+p_0) + (q_1+p_1)i + (q_2+p_2)j + (q_3+p_3)k
\end{align}

So the addition in vector notation can be written as:


\begin{align}
q+p &= q_0+p_0 \oplus \vec{\mathbf{q}}+\vec{\mathbf{p}} = (q_0+p_0,\vec{\mathbf{q}}+\vec{\mathbf{p}})
\end{align}