In preparation for answering exercise 2.6.3 in Gilbert Strang’s Linear Algebra and Its Applications, Third Edition, I wanted to derive in detail the effect of a reflection followed by a reflection, a reflection followed by a rotation, and a rotation followed by a reflection. For completeness this post recapitulates in a little more detail the argument in section 2.6 that a rotation followed by a rotation is a rotation.
Assume that we have a matrix that rotates vectors through the angle and a second matrix that rotates vectors through the angle
. Intuitively we’d conclude that the effect of applying both matrices in succession is to rotate vectors through the angle
. Let’s prove this conjecture.
The first rotation is represented by the matrix
and the second rotation is represented by the matrix
The effect of the two rotations is thus represented by the product of the matrices:
Given the trigonometric identities
we have
But this matrix represents , the rotation of all vectors in the x-y plane through the angle
. We therefore have
.
Note that if we first rotate through the angle and then through the angle
this is equivalent to rotating through the angle
and then through the angle
. We therefore have
.
NOTE: This continues a series of posts containing worked out exercises from the (out of print) book Linear Algebra and Its Applications, Third Edition by Gilbert Strang.
If you find these posts useful I encourage you to also check out the more current Linear Algebra and Its Applications, Fourth Edition, Dr Strang’s introductory textbook Introduction to Linear Algebra, Fourth Edition
and the accompanying free online course, and Dr Strang’s other books
.