Quantcast
Loading [MathJax]/jax/output/CommonHTML/fonts/TeX/SansSerif-Italic.js

Vector Rotation

vCalc Reviewed
Last modified by
on
Jun 14, 2023, 4:57:54 PM
Created by
on
Sep 2, 2016, 2:38:17 PM
V=rotate(V around U by α)
(V)Vector V
(U)Vector U (Rotation Axis)
(α)Rotation Angle
(n)Round to n Digits
Tags
UUID
e2fac0fd-711a-11e6-9770-bc764e2038f2

The Vector Rotation calculator computes the resulting 3D vector created by rotating a base vector (V) about a rotation vector (U) by an angle(α)./attachments/e2fac0fd-711a-11e6-9770-bc764e2038f2/V3 - Vector Rotation.png

INSTRUCTIONS: Enter the following:

  • (V):  Base vector (V) to be rotated
  • (U):  Rotation axis vector (U) 
  • (α):  Rotation angle
  • (n):  Number of Significant Digits

Rotated Vector (V'): The calculator returns the resultant vector (V') 

The Math / Science

The Vector Rotation formula uses quaternions to compute the resulting vector from the specified rotation.  It uses the rotation of axis (U) and the rotation angle (α) to compute the quaternion of rotation (q).  It then uses the quaternion vector rotation formula as follows:

           V' = q⋅V⋅q*
where:


3D Vector Functions


Quaternion Calculators

The Quaternion Calculator includes functions associated with quaternion mathematics. The quaternions are in the form of "scalar first" (q4,q1,q2,q3).  The quaternion arithmetic functions include the following:

Quaternions

Quaternions can be represented in several ways. One of the ways is similar to the way complex numbers are represented:
               q ≡ q4 + q1i + q2j + q3k,

in which q1 , q2 , q3 and q4 , are real numbers, and i, j, and k, are unit “vectors” which obey similar rules to the vectors of the same names found in vector analysis, but with an additional similarity to the i of complex arithmetic which equals -1 . The multiplication rules for i , j , and k are depicted
conceptually as follows:Quaternion multiplication rules.

That is, i j = + k, j k = + i, etc. , from figure 1(a) , and j i = - k, i k = -j , etc., from figure 1(b) . Expressed
in this form, the multiplication rules are very easy to remember. Note that the cross products of i, j , and
k obey the rules of vector cross product multiplication, where, for example, given the orthogonal axes,
x, y, and z: x × y = z, y × z = x , and z × x = y .

Note: Quaternions are not commutative, and the following should be noted:

             q1*q2 ≠ q2 * q1
                   q1*q2
-q2 * q1, but
      (q1 * q2) * q3 = q1 * (q2 * q3)

Use of Quaternions in Aerospace

Quaternions are very good for defining the rotation between two coordinate frames.  For this reason, time tagged quaternions are used to indicate the attitude (orientation) of a satellite at a specific moment.  With an attitude quaternion, satellite mission planners can determine the rotations it takes to go from one attitude to another.  This is how sensors on board of satellites are modeled and moved.  The same is true for other fixed components such as solar arrays and communication antennae. 

Vector Matrix and Quaternion Calculators

References


This equation, Vector Rotation, is used in 7 pages
  • Comments
  • Attachments
  • Stats
on
Oct 12, 2022 07:09 PM
if the angle of rotation is positive, (for example +30 degrees), then is the rotation clockwise or counterclockwise ? thanks in advance

on
Oct 12, 2022 08:07 PM
It obeys, the right and rule. That means that it goes counter clockwise. I suggest you do this experiment. Use vector V = 1,0,0 and vector U = 0,0,1 and rotate by 45 degrees. You'll see the result is still in the X,Y plain and positive.

This site uses cookies to give you the best, most relevant experience. By continuing to browse the site you are agreeing to our use of cookies.