Quaternion Calculator
Add, subtract, multiply or divide two quaternions in w, x, y, z order.
Formula
q=w+xi+yj+zk; i²=j²=k²=ijk=−1; A/B=A·conj(B)/|B|².
w ≈ (0)×(0)-(1)×(0)-(0)×(1)-(0)×(0) · x ≈ (0)×(0)+(1)×(0)+(0)×(0)-(0)×(1) · y ≈ (0)×(1)-(1)×(0)+(0)×(0)+(0)×(0) · z ≈ (0)×(0)+(1)×(1)-(0)×(0)+(0)×(0)
How to use
- Choose the operation.
- Enter A and B as w, x, y, z.
- Read w+xi+yj+zk.
Examples
- i×j=k; j×i=−k.
Frequently asked questions
Does order matter?
Yes. ij=k, but ji=−k.
What does division mean?
Right division A/B=A·B⁻¹; B must be nonzero.
Which component is real?
w is real; x, y, z multiply i, j, k.
Sources
Updated: