How to Find the Inverse of a Rigid Transformation
At a glance
- 1. Write the transformation
Express a Euclidean rigid transformation as T(x) = Qx + b, where Q is orthogonal and b is a translation.
- 2. Undo the translation
Subtract b from the transformed point.
- 3. Undo the rotation or reflection
Apply Q transpose, which is the inverse of an orthogonal matrix.
- 4. Reverse compositions
For a sequence of transformations, invert each one in reverse order.
A rigid transformation moves points without changing distances. To find its inverse, undo the operations in reverse order. In Euclidean coordinates, this is especially simple: a rigid transformation consists of an orthogonal linear map (a rotation, reflection, or combination) and a translation.
The inverse formula
Write a rigid transformation of as
where is an orthogonal matrix and is a fixed vector. Orthogonality means , so . Given the transformed point , first subtract the translation and then undo the orthogonal map:
Equivalently, the inverse is the affine map
The order matters. The original map applies first and then adds ; its inverse subtracts first and then applies .
Worked example in the plane
Consider a counterclockwise rotation by followed by a translation by . The rotation matrix and translation vector are
For a point , the transformation is
To invert it, transpose and subtract from the output point :
For a check, . Applying the inverse gives , as required.
Why the inverse is also rigid
A rigid transformation preserves distances: for any points and ,
Let and . Then
Thus the inverse preserves distances too. Since a rigid transformation is bijective, its inverse is defined on the whole space. In matrix terms, the inverse has orthogonal part and translation part , so it has the same rigid-transformation form.
Inverting a sequence of transformations
If a transformation is a composition, reverse the order when taking its inverse. For example, if (apply first, then ), then
You can see this by undoing the last operation first: removes , and then removes . This rule applies whether the individual steps are translations, rotations, or reflections.
Common mistakes
- Negating the translation without accounting for the rotation. The inverse translation is , not generally . It is only when .
- Using instead of . A rotation is undone by the inverse rotation; for an orthogonal matrix, that inverse is its transpose.
- Keeping the original operation order. For a composition, the last operation performed must be the first one undone.
- Confusing a rigid transformation with a distance-preserving map into a smaller subset. The formula above assumes the usual Euclidean rigid transformation, which is a bijection from the space to itself. A distance-preserving map that is not onto has an inverse only on its image.
Spotted an error? Send a correction. Read how we write and check articles in our editorial policy.