Consider the following rectangle,![]()

Observe that A B C D is a rectangle, the line through the midpoint of P and Q the respective sides and is perpendicular to both . Also A and B is equidistance fromP, reflection across I interchanges A and B, and similarly for C and D.
Thus, the reflection also interchanges the rectangle edges and leaves fixed the edges and , so it preserves the entire rectangle.
The figure is shown below![]()

Using the same argument to the perpendicular bisector m of , figured as shown below:

![]()
In addition to the reflections , it can be concluded that the rigid motion interchanges A and C and interchanges B and D . This is rotation by 180 degrees around the intersection of l and m, the center of the rectangle.
Also, there is one way to send A to D (reflection about l), one way to send A to D (reflection about m ), and one way to send A to C (the 180 degrees rotation discussed in the above).
The symmetries of a rectangle are the Klein four groups. A presentation for the group is
The multiplication table is shown below:
A matrix representation is the four 2x2 matrices are given below:
Therefore, the symmetries of a rectangle are isomorphic to a group of order 4