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 rotation followed by a rotation, a reflection followed by a reflection, a reflection followed by a rotation, and a rotation followed by a reflection. This post demonstrates that a rotation followed by a reflection is equivalent to a reflection.
Assume that we have a matrix that rotates vectors through an angle and a second matrix that reflects vectors in the line through the origin with angle (the -line). What is the effect of applying both matrices in succession?
As we did with a reflection followed by a reflection, we can try to gain an intuition about the problem by playing with a cut-out paper triangle on a piece of paper marked with axes. After trying this you should find that a rotation followed by a reflection will apparently cause the triangle to be reflected from its original position. (One hint here is that the triangle will end up as a mirror image of the original triangle.)
If this is indeed the case then the effect of a rotation through the angle and a reflection in the -line can be represented by a matrix
for a line of reflection through the origin with some angle . (Here we use the expression for a reflection matrix derived in the last post.)
How does the angle relate to the angles and ? Since we are dealing with linear transformations the simplest assumption is that for some and where and are the same for all and .
To determine the values of and let’s look at the unit vector and rotate it and reflect it. In the first case we rotate the vector and then reflect it in the -line (the line for which ). The rotation takes to and the reflection takes to . The corresponding line of reflection is the -line (the -axis).
In the second case we rotate vector and then reflect it in the -line (the line for which ). The rotation takes to and the reflection takes to . The corresponding line of reflection is the -line (equivalent to the -line).
If the angle of rotation then in the first case we would have and in the second case we would have . Subtracting 2 times the first equation from the second we have or . Substituting the value of into the first equation we have or .
Our hypothesis is therefore that doing a rotation through the angle and then a reflection through the -line would produce a reflection through the line of angle . If this is the case then the matrix representing the reflection would be
and this matrix should be equal to the product of the matrices corresponding to the rotation and the reflection:
We can simplify this using the trigonometric identities
We then have
We have therefore proved what we set out to prove, that so that the effect of applying a rotation of angle followed by a reflection through the -line is equivalent to a reflection through the -line.
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.