Composition of rotation matrices

ID: composition-of-rotation-matrices

Apply to a column coordinate vector, then apply in the same fixed basis. The function composition is
Thus the rightmost matrix acts first. The product is again a rotation matrix, since and . For planar rotations about the same origin, the sine addition formula and cosine addition formula give
For a concrete composition of rotation matrices, first rotate by radians, reaching , then by radians:
The total angle is . Reversing these two planar rotations gives the same answer, but noncommuting rotations about fixed axes show why one cannot assume that property for rotations in three dimensions.[ref]

New to topics? Read the docs here!