skoro v0.0.0

Rigid motions

The rigid motions and the extended poses are semidirect products of the rotations with translations; their chart translates the identity's on the left, so that its translation coordinates are in the frame of the point, and their exponential couples translation to rotation through the left Jacobian.

Updated 2026-11-25 · 6 min read

A rigid motion is a rotation and a translation: the pose of a body, or the change of coordinates between two frames. An extended pose adds a velocity. Both are groups built on the rotations, and this note gives them a retraction, their group’s maps, and their exponential. The quaternion product ⊗\otimes, the covering π\pi, the exponential Exp⁡\Exp and its Jacobians JlJ_l and JrJ_r are those of that note, and tangent coordinates are ordered rotation first.

The groups#

A rigid motion is a pair (q,p)(q, p) of a unit quaternion and a vector of R3\R^3, with the product

(q1,p1)(q2,p2)=(q1⊗q2, p1+π(q1) p2),(1) (q_1, p_1)(q_2, p_2) = \bigl(q_1 \otimes q_2,\ p_1 + \pi(q_1)\, p_2\bigr) , \tag{1}
(1)

the identity (1,0)(1, 0) and the inverse (qˉ,−π(q)⊤p)(\bar q, -\pi(q)\transpose p). It acts on a point as x↦π(q) x+px \mapsto \pi(q)\, x + p, so that the product is composition: the motion (q,p)(q, p) takes coordinates in the body’s frame to coordinates in the outer frame, pp is where the body is, and π(q)\pi(q) is how it is turned. This is the semidirect product S3⋉R3S^3 \ltimes \R^3, and up to the sign of its quaternion, (q,p)↦(−q,p)(q, p) \mapsto (-q, p), it is the group SE(3)SE(3) of rigid motions, a quotient as the rotations are. Its dimension is 66. As a homogeneous matrix it is

[π(q)p01], \begin{bmatrix} \pi(q) & p \\ 0 & 1 \end{bmatrix} ,

whose product is (1) and whose action on (x,1)(x, 1) is the action on the point xx.

An extended pose is a triple (q,v,p)(q, v, p), with the velocity carried as the position is:

(q1,v1,p1)(q2,v2,p2)=(q1⊗q2, v1+π(q1) v2, p1+π(q1) p2). (q_1, v_1, p_1)(q_2, v_2, p_2) = \bigl(q_1 \otimes q_2,\ v_1 + \pi(q_1)\, v_2,\ p_1 + \pi(q_1)\, p_2\bigr) .

Up to sign this is the group SE2(3)SE_2(3), of dimension 99, the state of a body whose attitude, velocity and position are estimated together.

The chart#

The groups are not products of the rotations with a Euclidean space as groups, though they are as manifolds, and they have a retraction of their own.

Proposition 2(The charts of the rigid motions).

Let q⊕ϕq \oplus \phi be a retraction of the rotations that is the left translation of its chart at the identity, q⊕ϕ=q⊗(1⊕ϕ)q \oplus \phi = q \otimes (1 \oplus \phi), with inverse q′⊖qq' \ominus q. On the rigid motions let

(q,p)⊕(ϕ,ρ)=(q⊕ϕ, p+π(q) ρ), (q, p) \oplus (\phi, \rho) = \bigl(q \oplus \phi,\ p + \pi(q)\, \rho\bigr),

and on the extended poses let

(q,v,p)⊕(ϕ,η,ρ)=(q⊕ϕ, v+π(q) η, p+π(q) ρ). (q, v, p) \oplus (\phi, \eta, \rho) = \bigl(q \oplus \phi,\ v + \pi(q)\, \eta,\ p + \pi(q)\, \rho\bigr).

Each is a retraction, the left translation by the point of the chart at the identity, with the inverse

(q′,p′)⊖(q,p)=(q′⊖q, π(q)⊤(p′−p)) (q', p') \ominus (q, p) = \bigl(q' \ominus q,\ \pi(q)\transpose (p' - p)\bigr)

and likewise for vv, defined wherever the rotations’ inverse is. Its domain is the rotation chart’s domain times the whole of the translations’ coordinates, and with the Cayley chart of the rotations it is unchanged by the sign of either quaternion.

Proof.

The product of (q,p)(q, p) and (1⊕ϕ,ρ)(1 \oplus \phi, \rho) is (q⊗(1⊕ϕ), p+π(q) ρ)(q \otimes (1 \oplus \phi),\ p + \pi(q)\, \rho), the chart, and likewise for the extended pose; at (ϕ,ρ)=0(\phi, \rho) = 0 it is (q,p)(q, p). Its derivative there is the identity once the tangent space at (q,p)(q, p) is identified with R6\R^6 by the rotation’s coordinates and the translation’s coordinates in the frame of the point, which is the identification the left translation carries from the identity. For fixed (q,p)(q, p) the chart is the rotation’s chart in its first coordinates and the affine map ρ↦p+π(q) ρ\rho \mapsto p + \pi(q)\, \rho of R3\R^3 onto itself in the rest, which gives its domain and its inverse. With the Cayley chart, (−q)⊕ϕ=−(q⊕ϕ)(-q) \oplus \phi = -(q \oplus \phi) and q′⊖qq' \ominus q is unchanged by either sign, and the rest reads the quaternion only through π\pi, with π(−q)=π(q)\pi(-q) = \pi(q).

∎

With the Cayley chart, then, this is a retraction on SE(3)SE(3) and on SE2(3)SE_2(3) themselves, by Proposition 1, defined on all of R6\R^6 or R9\R^9 and missing only the motions whose rotation is a half-turn from the point’s.

The translation coordinates are in the frame of the point: a step ρ\rho moves the position along the body’s own axes. That is how the error of an odometer or of a scan matcher is given, and it is what the group’s left translation produces. A pose whose position’s error is given in a fixed frame is a different manifold with a retraction, the product of the rotations with R3\R^3, whose chart is (q⊕ϕ, p+ρ)(q \oplus \phi,\ p + \rho). The two have the same points, and the identity between them is a change of chart: the product’s coordinates (ϕ,ρ)(\phi, \rho) reach (q⊕ϕ, p+ρ)(q \oplus \phi,\ p + \rho), whose coordinates in the motion’s chart are (ϕ, π(q)⊤ρ)(\phi,\ \pi(q)\transpose \rho), so the derivative in charts of the identity from the product to the motion is diag⁡(I,π(q)⊤)\operatorname{diag}(I, \pi(q)\transpose).

The maps of the group#

With R=π(q)R = \pi(q), the maps a computation needs of a rigid motion are these.

mapofas
compositionT1,T2T_1, T_2(q1⊗q2, p1+R1p2)(q_1 \otimes q_2,\ p_1 + R_1 p_2)
inverseTT(qˉ, −R⊤p)(\bar q,\ -R\transpose p)
relative motionT1,T2T_1, T_2T1−1T2=(qˉ1⊗q2, R1⊤(p2−p1))T_1^{-1} T_2 = (\bar q_1 \otimes q_2,\ R_1\transpose (p_2 - p_1))
action on a pointT,xT, xRx+pR x + p
action on a directionT,xT, xRxR x
inverse actionT,xT, xR⊤(x−p)R\transpose (x - p)

Each is smooth, and each is a map of SE(3)SE(3): the sign of a quaternion changes at most the sign of the result’s. The relative motion T1−1T2T_1^{-1} T_2 is the second pose seen from the first, which is what an odometer measures between two poses and what a camera measures of a landmark.

The adjoint is the conjugation of the group’s Lie algebra, TExp⁡(ξ) T−1=Exp⁡(Ad⁡(T) ξ)T \Exp(\xi)\, T^{-1} = \Exp(\Ad(T)\, \xi), and carries a perturbation in the frame of the motion to the outer frame, T⊕ξ=(1⊕Ad⁡(T) ξ) T+O(∣ξ∣2)T \oplus \xi = (1 \oplus \Ad(T)\, \xi)\, T + O(\lvert \xi \rvert^2). In the order (ϕ,ρ)(\phi, \rho) it is

Ad⁡(q,p)=[R0[p]×RR],(3) \Ad(q, p) = \begin{bmatrix} R & 0 \\ [p]_\times R & R \end{bmatrix}, \tag{3}
(3)

which many references write with the blocks the other way about, their translation first. Unlike the rotations’ (13), the relation holds to first order only, since the chart is not the exponential.

The exponential and the logarithm#

The exponential is the motion at a constant body twist (ϕ,ρ)(\phi, \rho), rotating at the rate ϕ\phi while translating at the body velocity ρ\rho, for unit time, and the logarithm is its inverse:

Exp⁡(ϕ,ρ)=(Exp⁡ϕ, Jl(ϕ) ρ) \Exp(\phi, \rho) = \bigl(\Exp \phi,\ J_l(\phi)\, \rho\bigr)

and

Log⁡(q,p)=(ϕ, Jl(ϕ)−1p),ϕ=Log⁡q,(4) \Log(q, p) = \bigl(\phi,\ J_l(\phi)^{-1} p\bigr), \qquad \phi = \Log q, \tag{4}
(4)

the logarithm defined for q≠−1q \ne -1. A pose moving at constant body rates (ω,v)(\omega, v) for a time Δt\Delta t moves from TkT_k to Tk+1=Tk Exp⁡(ω Δt, v Δt)T_{k+1} = T_k\, \Exp(\omega\, \Delta t,\ v\, \Delta t), exactly. With the rotation vector rv⁡\rv of the shorter turn in place of Log⁡\Log, the logarithm is a map of SE(3)SE(3), discontinuous at the half-turns as on the rotations.

The exponential couples the translation to the rotation through the left Jacobian, and the chart of Proposition 2 does not. In exponential coordinates a step from (q,p)(q, p) reaches (q⊗Exp⁡ϕ, p+R Jl(ϕ) ρ)(q \otimes \Exp \phi,\ p + R\, J_l(\phi)\, \rho), and

Jl(ϕ) ρ=ρ+12 ϕ×ρ+O(∣ϕ∣2∣ρ∣), J_l(\phi)\, \rho = \rho + \tfrac12\, \phi \times \rho + O(\lvert \phi \rvert^2 \lvert \rho \rvert) ,

so the two agree to first order and differ at second order by the term 12ϕ×ρ\tfrac12 \phi \times \rho. First derivatives read in the chart are therefore the Jacobians of the textbooks, as on the rotations (Proposition 16); second derivatives are not, and are the chart’s own.

The motions’ Jacobians, with Exp⁡(ξ+ε)=Exp⁡(Jl(ξ) ε) Exp⁡(ξ)=Exp⁡(ξ) Exp⁡(Jr(ξ) ε)\Exp(\xi + \varepsilon) = \Exp(\mathcal J_l(\xi)\, \varepsilon)\, \Exp(\xi) = \Exp(\xi)\, \Exp(\mathcal J_r(\xi)\, \varepsilon) to first order, are in the order (ϕ,ρ)(\phi, \rho)

Jl(ϕ,ρ)=[Jl(ϕ)0Q(ϕ,ρ)Jl(ϕ)],Jr(ϕ,ρ)=Jl(−ϕ,−ρ),Jl−1=[Jl−10−Jl−1Q Jl−1Jl−1],(5) \mathcal J_l(\phi, \rho) = \begin{bmatrix} J_l(\phi) & 0 \\ Q(\phi, \rho) & J_l(\phi) \end{bmatrix}, \qquad \mathcal J_r(\phi, \rho) = \mathcal J_l(-\phi, -\rho), \qquad \mathcal J_l^{-1} = \begin{bmatrix} J_l^{-1} & 0 \\ -J_l^{-1} Q\, J_l^{-1} & J_l^{-1} \end{bmatrix}, \tag{5}
(5)

with Φ=[ϕ]×\Phi = [\phi]_\times, Ψ=[ρ]×\Psi = [\rho]_\times, θ=∣ϕ∣\theta = \lvert \phi \rvert and

Q(ϕ,ρ)=12Ψ+B (ΦΨ+ΨΦ+ΦΨΦ)+D (Φ2Ψ+ΨΦ2−3 ΦΨΦ)+E (ΦΨΦ2+Φ2ΨΦ),(6) Q(\phi, \rho) = \tfrac12 \Psi + B\, (\Phi \Psi + \Psi \Phi + \Phi \Psi \Phi) + D\, (\Phi^2 \Psi + \Psi \Phi^2 - 3\, \Phi \Psi \Phi) + E\, (\Phi \Psi \Phi^2 + \Phi^2 \Psi \Phi) , \tag{6}
(6)

where BB is the coefficient of (9) and

D=θ2+2cos⁡θ−22θ4,E=2θ−3sin⁡θ+θcos⁡θ2θ5. D = \frac{\theta^2 + 2 \cos \theta - 2}{2 \theta^4}, \qquad E = \frac{2\theta - 3 \sin \theta + \theta \cos \theta}{2 \theta^5} .

This is the block of the textbooks written translation first, moved below the diagonal by the order of the coordinates here. Like the rotations’ coefficients, DD and EE are smooth, with closed forms that divide by a power of θ\theta.

Interpolation#

Two interpolations between T1T_1 and T2T_2 are in use:

T1 Exp⁡(tLog⁡(T1−1T2))and(q1⊗Exp⁡(tLog⁡(qˉ1⊗q2)), (1−t) p1+t p2).(7) T_1\, \Exp\bigl(t \Log(T_1^{-1} T_2)\bigr) \qquad\text{and}\qquad \bigl(q_1 \otimes \Exp(t \Log(\bar q_1 \otimes q_2)),\ (1 - t)\, p_1 + t\, p_2\bigr) . \tag{7}
(7)

The first is the screw motion at a constant twist, the one-parameter subgroup through T1−1T2T_1^{-1} T_2 carried to T1T_1. The second interpolates the rotation along its geodesic and the position along a straight line, the geodesic of the product. Each comes with rv⁡\rv in place of Log⁡\Log for the shorter turn.

Extended poses#

The extended poses have the same maps, with the velocity carried as the position is: the composition (q1⊗q2, v1+R1v2, p1+R1p2)(q_1 \otimes q_2,\ v_1 + R_1 v_2,\ p_1 + R_1 p_2), the inverse (qˉ, −R⊤v, −R⊤p)(\bar q,\ -R\transpose v,\ -R\transpose p), the relative motion likewise, the exponential (Exp⁡ϕ, Jl(ϕ) η, Jl(ϕ) ρ)(\Exp \phi,\ J_l(\phi)\, \eta,\ J_l(\phi)\, \rho) and its logarithm, the left Jacobian with the blocks Jl(ϕ)J_l(\phi) on its diagonal and Q(ϕ,η)Q(\phi, \eta) and Q(ϕ,ρ)Q(\phi, \rho) below it in its first column, and in the order (ϕ,η,ρ)(\phi, \eta, \rho) the adjoint

Ad⁡(q,v,p)=[R00[v]×RR0[p]×R0R].(8) \Ad(q, v, p) = \begin{bmatrix} R & 0 & 0 \\ [v]_\times R & R & 0 \\ [p]_\times R & 0 & R \end{bmatrix} . \tag{8}
(8)

Their action on points is that of their pose (q,p)(q, p). As a matrix an extended pose is the 5×55 \times 5 one with the columns (R,v,p)(R, v, p) over the rows (0,1,0)(0, 1, 0) and (0,0,1)(0, 0, 1).

Built on by