Quaternion subtraction

Online calculator for subtracting quaternions


This page calculates the subtraction of two quaternions.

To calculate, enter the values of the quaternions and then click on the 'Calculate' button.

Empty fields count as 0.

Quaternion subtraction

Input
Quaternion 1 Quaternion 2 Result
X =
Y
Z
W
Decimal places

Description


The quaternion represents a vector used to encode three-dimensional physical rotations. It is used to efficiently rotate an object around the (x,y,z) vector by angle theta, where the following applies:

w = cos(theta/2)

Components

W - The rotation component.
X - The X value of the vector component.
Y - The Y value of the vector component.
Z - The Z value of the vector component.

Subtraction


For subtraction, the individual components of the second quaternion are separated from the corresponding components in the first quaternion are subtracted.

\((w_1-w_2)+i(x_1-x_2)+j(y_1-y_2)+k(z_1-z_2)\)

More Quaternion Functions

AdditionSubtractionDivisionMultiplicationConcatenateLengthInterpolationNormalizeScalar MultiplicationDot ProductYaw-Pitch-Roll


Is this page helpful?            
Thank you for your feedback!

Sorry about that

How can we improve it?