For a point x0∈R4, the rotation is a transformation defined as
x(Δt)=R(Δt)x0
where R(Δt)∈SO(3).
Then, through the transformation through time t will create a trajectory. We come up with the velocity of x as
x˙(Δt)=R˙(Δt)x0
So that the velocity is the time derivative of the rotation matrix.
Angular Velocity
Without loss of generality, assume x is rotated along the rotation with the axis of rotation a∈R3. Therefore, x is travel in a circle. Let θ˙ be the change in angle. Let v:R→R3 be the velocity of x, decompose v(t)=a(t)d(t) where a is the magnitude and d is the direction.
Since we are rotating around a, i.e. the plane that contains the circle is orthogonal to a. Hence d⊥a. In addition, a rotation is orthogonal matrix so that v⊥x, since a,v,x are mutually orthogonal, we can uniquely determine d from
d=∥x∥a×x
Then, consider the magnitude a, let y=x+Δtv. The angle formed by y and x is θ˙Δt. So that we can have
aΔt=∥x∥tan(θ˙)=∥x∥cos(θ˙Δt)sin(θ˙Δt)
Therefore, we can have
Δt→0lim∥x∥cos(θ˙Δt)sin(θ˙Δt)=∥x∥1θ˙Δt=∥x∥θ˙Δt
so that
a=∥x∥θ˙
and then
v=ad=θ˙∥x∥∥x∥a×x=(θ˙a)×x=ω×x
Therefore, we obtain the angular velocity ω, which includes the velocity of angle and the rotation direction.
Rotation Matrix
Since cross product can be written into cross matrix form as matrix multiplication, $v=\omega\times x $ can then be understood as
dtdx=[ω]×x
which is a linear ODE, and has analytical solution
x(t)=exp([ω]×t)x
where exp(M) is the matrix exponential.
Matrix Exponential
For an invertible matrix A∈Rn×n. the matrix exponential exp(A) is given as
exp(A)=Veλ1⋮0⋯⋱⋯0⋮eλnV−1
Where A=VΛA−1 is the Eigen decomposition. However, as we did the decomposition, it is not very efficient.
For our problem, since [ω]× is a cross product matrix, hence 3×3 skew-symmetric, we can use Rodrigues' Rotation Formula. First, we can break ωt into the axis of rotation and angle of rotation, as a and θ
ωt=∥ω∥ω∥ω∥t=aθ
then Rodrigues' Rotation Formula gives
R(t)=I+sin(θ)[a]×+(1−cos(θ))[a]×2
Relationship between R and w
Note that we have x˙(t)=R˙(t)x0 and the equation above gives x˙(t)=[ω]×x, therefore, we have found the relation that
R˙=[ω]×
General Equation
Consider the explicit equation with a fixed t0
x(t0+Δt)=ΔR(Δt)R(t0)x0
and its time derivative is
v=dΔtdx=ΔR˙(Δt)R(t0)x0
Note that from the derivations above, since R(t0)x0 is a fixed point, v is just the time derivative of rotation at time t0 so that