How to calculate
Use component order w + xi + yj + zk. The Hamilton product respects order. For a rotation, normalize the axis and use cos(θ/2) for the scalar component and sin(θ/2) times the unit axis for the vector part.
Worked example
Use Operation Multiply q₁ × q₂ · First quaternion w, x, y, z 0, 1, 0, 0 · Second quaternion w, x, y, z 0, 0, 1, 0. The result is 0 + 0i + 0j + 1k.
Input and result notes
Enter components separated by commas or spaces. The zero quaternion has no inverse. Right division multiplies the first quaternion by the inverse of the second.
Omni on quaternion arithmetic and rotation