Physlib

Physlib.Mathematics.CrossProductMatrix

The hat map on three-dimensional vectors

The hat map sends a vector `ω : Fin 3 → ℝ` to the skew-symmetric matrix `[ω]ₓ` characterised by `[ω]ₓ *ᵥ v = ω ⨯₃ v`. It realises the correspondence between `ℝ³` and the skew-symmetric `3 × 3` matrices (the Lie algebra `𝖘𝖔(3)`), and underlies the angular velocity of a rigid body.

6 declarations

definition

Cross product matrix [ω]×[\omega]_{\times}

Given a vector ω=(ω0,ω1,ω2)R3\omega = (\omega_0, \omega_1, \omega_2) \in \mathbb{R}^3, the cross product matrix (also known as the hat map and denoted by [ω]×[\omega]_{\times}) is the 3×33 \times 3 skew-symmetric matrix defined as: [ω]×=(0ω2ω1ω20ω0ω1ω00) [\omega]_{\times} = \begin{pmatrix} 0 & -\omega_2 & \omega_1 \\ \omega_2 & 0 & -\omega_0 \\ -\omega_1 & \omega_0 & 0 \end{pmatrix} This matrix is characterized by the property that for any vector vR3v \in \mathbb{R}^3, the matrix-vector product [ω]×v[\omega]_{\times} v is equal to the cross product ω×v\omega \times v.

theorem

[ω]×v=ω×v[\omega]_\times v = \omega \times v

For any vectors ω,vR3\omega, v \in \mathbb{R}^3, the product of the cross product matrix [ω]×[\omega]_{\times} and the vector vv is equal to the cross product ω×v\omega \times v. Here, [ω]×[\omega]_{\times} (the hat map) is the 3×33 \times 3 skew-symmetric matrix associated with ω\omega.

theorem

[ω]×=[ω]×[\omega]_\times^\top = -[\omega]_\times

For any vector ωR3\omega \in \mathbb{R}^3, let [ω]×[\omega]_\times denote the cross product matrix (also known as the hat map). The transpose of this matrix is equal to its negative, i.e., [ω]×=[ω]× [\omega]_\times^\top = -[\omega]_\times This property characterizes the cross product matrix as a skew-symmetric matrix.

definition

The vee map AA^\vee for 3×33 \times 3 matrices

The vee map takes a 3×33 \times 3 real matrix AA and returns a vector in R3\mathbb{R}^3 defined by (A2,1,A0,2,A1,0)(A_{2,1}, A_{0,2}, A_{1,0}). This operation is the left inverse of the hat map (cross-product matrix map); specifically, it satisfies (ω×)=ω(\omega_\times)^\vee = \omega for any vector ωR3\omega \in \mathbb{R}^3, where ω×\omega_\times is the skew-symmetric cross-product matrix.

theorem

([ω]×)=ω([\omega]_\times)^\vee = \omega

For any vector ωR3\omega \in \mathbb{R}^3, applying the vee map ()(\cdot)^\vee to the cross product matrix (the hat map) [ω]×[\omega]_\times returns the original vector ω\omega. That is, ([ω]×)=ω ([\omega]_\times)^\vee = \omega where [ω]×[\omega]_\times is the skew-symmetric matrix such that [ω]×v=ω×v[\omega]_\times v = \omega \times v for any vR3v \in \mathbb{R}^3. This demonstrates that the vee map is a left inverse of the hat map.

theorem

[A]×=A[A^\vee]_\times = A for skew-symmetric matrices AA

For any 3×33 \times 3 real matrix AA that is skew-symmetric (i.e., AT=AA^T = -A), applying the vee map ()(\cdot)^\vee followed by the hat map []×[\cdot]_\times returns the original matrix. That is, [A]×=A [A^\vee]_\times = A where the vee map is defined as A=(A2,1,A0,2,A1,0)A^\vee = (A_{2,1}, A_{0,2}, A_{1,0}) and the hat map (cross product matrix) is defined as [ω]×=(0ω2ω1ω20ω0ω1ω00) [\omega]_{\times} = \begin{pmatrix} 0 & -\omega_2 & \omega_1 \\ \omega_2 & 0 & -\omega_0 \\ -\omega_1 & \omega_0 & 0 \end{pmatrix} This result establishes that the hat map is a right inverse of the vee map on the space of skew-symmetric matrices so(3)\mathfrak{so}(3).