Difference between revisions of "Addition of quaternions"
From Robotics
Line 1: | Line 1: | ||
{{Navigation|before=[[Pure and unit quaternions]]|overview=[[Quaternions]]|next=[[Multiplication of quaternions]]}} | {{Navigation|before=[[Pure and unit quaternions]]|overview=[[Quaternions]]|next=[[Multiplication of quaternions]]}} | ||
+ | |||
+ | Two quaternions can easily be added by adding their components. | ||
+ | |||
+ | Assume two quaternions: | ||
+ | :<math> | ||
+ | \begin{align} | ||
+ | q &= q_0 + q_1i + q_2j + q_3k \\ | ||
+ | p &= p_0 + p_1i + p_2j + p_3k | ||
+ | \end{align} | ||
+ | </math> | ||
+ | |||
+ | So the quaternions <math>q</math> and <math>p</math> can just be replaced by these equations in their addition <math>q+p</math> and then be summarized as the individual four components: | ||
+ | :<math> | ||
+ | \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} | ||
+ | </math> | ||
+ | So the addition in vector notation can be written as: | ||
+ | :<math> | ||
+ | \begin{align} | ||
+ | q+p &= q_0+p_0 \oplus \vec{\mathbf{q}}+\vec{\mathbf{p}} | ||
+ | \end{align} | ||
+ | </math> |
Revision as of 15:53, 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:
So the quaternions and can just be replaced by these equations in their addition and then be summarized as the individual four components:
So the addition in vector notation can be written as: