TL;DR
A rigid body transformation moves a point, or a whole object, without changing any distance inside it. It is a rotation followed by a translation: first turn the object about its origin, then shift it. Written with homogeneous coordinates, both steps fold into one matrix, so a chain of motions becomes a product of matrices.
Where you'll see it: in robot arms that track the pose of every link, in camera pose estimation for SLAM, and in any simulator that places a rigid object in a scene.
Intuition
Moving a block without deforming it
Pick up a book and move it across a table. Every point on the book moves, but the distances between points stay fixed. You can turn the book on the table, slide it, or both, and it is still the same book. A transformation with that property is called rigid. It does not stretch, squash, shear, or bend the object.
Robots care about this because a link of an arm is a rigid body. Its shape is known, and what changes is where it sits. The robot needs a way to say "this link is rotated this much and sits at that position" and to combine that statement with the statement for the link before it.
Two parts, one object
A rigid motion has two parts. The rotation says how the object is oriented. The translation says where the object's origin ends up. The order matters: rotating after a shift swings the object around a different center than rotating first.
flowchart LR W[world frame] -->|base pose| B[base frame] B -->|link pose| L[link frame] L -->|tool offset| T[tool frame]
Each arrow is a rigid transformation. Chaining the arrows gives the pose of the tool in the world, and that chain is what forward kinematics computes.
The math
Definition
A rigid body transformation in dimensions is a map of the form
where is a point, is a rotation matrix, and is a translation vector. The rotation is an orthogonal matrix with determinant , which means it is a member of the Special Orthogonal Group SO(3) . The set of all such maps for is the special Euclidean group .
Why it preserves distances
Take two points and . Applying to both and subtracting, the translation cancels:
The length of a vector is , so the length of the rotated difference is
Orthogonality means , so the right side reduces to . Every distance is preserved. Determinant rules out reflections, which also preserve distances but turn a left hand into a right hand.
Homogeneous form
Append a 1 to each point, , and pack the motion into a single matrix:
Now a composition of motions is a matrix product. If moves a point into frame 1 and moves frame 1 into frame 2, then does both in one step. Reading products right to left is the usual convention.
The inverse has a closed form, so you never need a general matrix inverse:
How the rotation depends on the angle
For the plane, the rotation through angle is
The plot shows the two entries that change with the angle. Every entry of a rotation matrix is bounded by one, and the columns always have length one.
- cos θ (entries 11 and 22)
- sin θ (entry 21)
Worked examples
Let the transformation rotate by and translate by . Apply it to the point .
- For , and , so .
- Compute the rotation: .
- Add the translation: .
- Check with the homogeneous matrix. applied to gives . The two methods agree.
Interpretation: the point's offset from the object's origin was turned a quarter turn to , and then the origin itself moved to . The point finishes at .
Use the same as above, with and .
- The inverse formula needs .
- Compute .
- So .
- Apply it to the moved point : and . That returns , the original point.
Now compose. Let be a pure shift by , so . Multiplying gives .
- Apply first: , as above.
- Then apply the shift: .
- The single product sends to , the same point.
Interpretation: the product is one matrix that does both motions. Reversing the order, shifting first and then rotating, would give a different matrix and a different point, which is why the order of multiplication matters.
A robot base sits at in the world and is rotated about the axis, so its rotation is . A tool tip sits at in the base frame. Where is the tip in the world?
- Rotate the tip position: .
- Add the base position: .
Interpretation: a tip that sits half a metre ahead of the base in its own frame ends up half a metre to the side of the base in the world, because the base is turned. Forgetting the rotation here puts the tip in the wrong place, which is one of the most common bugs in arm code.
Tradeoffs and failure modes
| Representation | Good for | What goes wrong |
|---|---|---|
| homogeneous matrix | Chaining transforms by multiplication | Uses 16 numbers for a 6 degree of freedom pose, and small errors can break orthogonality |
| Euler angles | Human-readable roll, pitch and yaw | Gimbal lock at some angles, and the order of the three rotations changes the result |
| Unit quaternion | Compact storage and smooth interpolation between orientations | Must be renormalized after updates, and sign conventions confuse beginners |
| Axis-angle vector | Small rotations and optimization | Singular at zero rotation and awkward to compose directly |
Practical failure modes are also common. Repeated multiplication lets the rotation drift away from orthogonality, so periodically re-orthogonalize it. Pre-multiplying and post-multiplying give different results, so write down which frame each transform maps from and to. Using a reflection matrix with determinant mirrors a robot without any error message. Finally, rigid motion is only an approximation when the body flexes, as with cables or soft robots, and then the rigid model is the wrong model.
History
Leonhard Euler showed in the 1700s that any rotation about a fixed point is a single rotation about some axis, which is the content behind axis-angle. Olinde Rodrigues gave the closed-form formula for that rotation in 1840, and William Rowan Hamilton introduced quaternions in 1843 to handle rotations in three dimensions. Homogeneous coordinates came from projective geometry in the 19th century, where they let points at infinity and perspective be treated the same way as ordinary points.
The chain of rigid transforms became the standard language of robotics in the mid-1950s, when Jacques Denavit and Richard Hartenberg proposed a systematic way to describe each joint of a serial arm with four parameters. Their convention, and its later variants, made it possible to compute the pose of an end effector by multiplying one matrix per joint. That product is still how forward kinematics is written in most robot software today.
Check yourself
QuestionWhat two parts does a rigid body transformation have, and which property of distances does it preserve?Show answer
A rigid body transformation has a rotation and a translation , combined as . It preserves every distance between points on the object, because the translation cancels in differences and the rotation preserves lengths.
QuestionApply the rigid transformation with rotation of counterclockwise and translation to the point .Show answer
The rotation of by counterclockwise is . Adding the translation gives .
QuestionWhy must the rotation matrix have determinant plus one rather than just be orthogonal?Show answer
An orthogonal matrix can have determinant minus one, and that is a reflection. Reflections preserve distances but swap left and right handed arrangements, so a robot using one would mirror its parts. Requiring determinant restricts the motions to genuine rotations, which are the ones a physical body can perform.
QuestionA robot base is at and is rotated about . A tool tip sits at in the base frame. Where is the tip in the world frame?Show answer
Rotating the tip gives . Adding the base position gives . The tip is at in the world, not at , because the base rotation moves the tip's offset before the base translation is added.