Algorithm Search⌘K

Definitioncore

Special orthogonal group SO(3)

Also called SO(3), 3D rotation group.

The group of 3 by 3 real matrices R with R^T R = I and det R = 1: the rotations of space about the origin, with matrix product as composition.

The special orthogonal group SO(3) is the set of 3×33 \times 3 real matrices RR with RTR=IR^{\mathsf T}R = I and det⁡R=1\det R = 1. These matrices are exactly the rotations of three-dimensional space about the origin: they keep lengths, angles and the handedness of a frame. With the matrix product as the operation, they form a group, and with its smooth structure it is a Lie group of dimension 3. In robotics a rotation matrix describes the orientation of one frame relative to another, and it maps coordinates in the second frame to coordinates in the first. Every element is a rotation by an angle about one axis, by Euler's rotation theorem, and Rodrigues' formula builds the matrix from the axis and the angle.

Definition

SO(3)={R∈R3×3:RTR=I, det⁡R=1}.SO(3) = \{ R \in \mathbb{R}^{3 \times 3} : R^{\mathsf T}R = I,\ \det R = 1 \}.

The group of all orthogonal matrices, with det⁡R=±1\det R = \pm 1, is O(3)O(3); SO(3) is the part with det⁡R=+1\det R = +1. The condition RTR=IR^{\mathsf T}R = I says that the columns of RR are orthonormal; it gives six independent equations on nine entries, so three numbers are left free. The condition det⁡R=1\det R = 1 excludes the reflections, which reverse handedness.

Frames. Let {s}\{s\} and {b}\{b\} be two right-handed orthonormal frames with a common origin. The rotation matrix RsbR_{sb} has as its columns the unit axes of {b}\{b\}, written in the coordinates of {s}\{s\}. For a point with coordinates xbx_b in {b}\{b\}, its coordinates in {s}\{s\} are xs=Rsbxbx_s = R_{sb} x_b. The rules of composition are Rac=RabRbcR_{ac} = R_{ab}R_{bc} and Rba=Rab−1=RabTR_{ba} = R_{ab}^{-1} = R_{ab}^{\mathsf T}.

Properties, all proved from the definition:

  • Group. The product of two rotations is a rotation, and R−1=RTR^{-1} = R^{\mathsf T} is a rotation. Matrix multiplication is associative.
  • Not commutative. In general R1R2≠R2R1R_1 R_2 \ne R_2 R_1.
  • Isometry. ∣Rx∣=∣x∣|Rx| = |x| and Rx⋅Ry=x⋅yRx \cdot Ry = x \cdot y, and R(x×y)=Rx×RyR(x \times y) = Rx \times Ry.
  • Eigenvalues. The eigenvalues are 11, eiθe^{i\theta} and e−iθe^{-i\theta} for an angle θ∈[0,π]\theta \in [0, \pi], so tr⁡R=1+2cos⁡θ\operatorname{tr} R = 1 + 2\cos\theta. The eigenvector for 1 is the axis of rotation.
  • Manifold. SO(3) is a compact, connected manifold of dimension 3. It is not simply connected; the unit quaternions cover it twice.
  • Lie algebra. The tangent space at II is the set so(3)\mathfrak{so}(3) of 3×33 \times 3 skew-symmetric matrices [ω][\omega], and the exponential map [ω]↦e[ω][\omega] \mapsto e^{[\omega]} is onto SO(3).

Examples and non-examples

  • The rotations about the coordinate axes: Rz(θ)=(cos⁡θ−sin⁡θ0sin⁡θcos⁡θ0001)R_z(\theta) = \begin{pmatrix} \cos\theta & -\sin\theta & 0 \\ \sin\theta & \cos\theta & 0 \\ 0 & 0 & 1 \end{pmatrix}, and Rx(θ)R_x(\theta) and Ry(θ)R_y(\theta) in the same way.
  • The product Rx(π/2)Rz(π/2)=(0−1000−1100)R_x(\pi/2)R_z(\pi/2) = \begin{pmatrix} 0 & -1 & 0 \\ 0 & 0 & -1 \\ 1 & 0 & 0 \end{pmatrix}, but Rz(π/2)Rx(π/2)=(001100010)R_z(\pi/2)R_x(\pi/2) = \begin{pmatrix} 0 & 0 & 1 \\ 1 & 0 & 0 \\ 0 & 1 & 0 \end{pmatrix}. The two differ, so the group is not commutative.
  • The second matrix above permutes the axes, x→y→z→xx \to y \to z \to x. Its trace is 0, so its angle is θ=2π/3\theta = 2\pi/3, and its axis is (1,1,1)/3(1, 1, 1)/\sqrt3.
  • diag⁡(1,−1,−1)\operatorname{diag}(1, -1, -1) is in SO(3): it is the rotation by π\pi about the xx axis.
  • Non-example: diag⁡(1,1,−1)\operatorname{diag}(1, 1, -1) is orthogonal, but its determinant is −1-1. It is the reflection in the xyxy plane, and it is in O(3)O(3) but not in SO(3).
  • Non-example: the matrix (110010001)\begin{pmatrix} 1 & 1 & 0 \\ 0 & 1 & 0 \\ 0 & 0 & 1 \end{pmatrix} has determinant 1, but its columns are not orthonormal. It is a shear, not a rotation.
  • Non-example: a matrix computed in floating point, such as a long product of rotations, is in general only close to SO(3). One projects it back with the singular value decomposition, with the QR decomposition, or with the Gram-Schmidt process.

References

  1. Kevin M. Lynch and Frank C. Park, Modern Robotics, Mechanics, Planning, and Control, Cambridge University Press, 2017, Chapter 3, Section 3.2.1 (properties of rotation matrices, the definition of SO(3) and its uses)
  2. Richard M. Murray, Zexiang Li and S. Shankar Sastry, A Mathematical Introduction to Robotic Manipulation, CRC Press, 1994, Chapter 2, Section 2.1 (properties of rotation matrices)
  3. Joan Sola, Jeremie Deray and Dinesh Atchuthan, A micro Lie theory for state estimation in robotics, 2018, the rotation group as a Lie group, with its exponential and logarithm maps

Where this leads

About this page

The build computes these levels from the evidence in the repository. Each row says what the next level needs. Read what the levels mean.

LadderLevelWhat the next level needs
Human proofH0 no proof
  • add a proof in proofs/ (06.5)
LeanL0 no Lean part
  • name a Lean module in the lean field (07)
VisualV0 none
  • add viz/scene.ts or a figure (10)
WritingW4 complete
  • a review of the text: no review record reviews/JTD8RC/text.yaml