For a line through the origin making angle with the positive -axis, its reflection matrix is
Its determinant is . An orthogonal matrix has determinant . If its determinant is , write its first column as ; orthonormality and the determinant then force the second column to be . The matrix is , hence is one Euclidean reflection. If its determinant is , the second column is , so it is a rotation matrix. Direct multiplication gives
The identity may be taken as an empty product or as two identical reflections. Thus at most two origin-line reflections suffice in every case.
For a nonzero vector with and unit normal , reflection in the affine line is . Consequently . A translation is therefore a product of two parallel-line reflections. Combining this with the given decomposition of a Euclidean isometry as translation followed by an orthogonal map proves that every plane isometry is a finite product of affine-line reflections. The affine lines need not pass through the origin. In fact three suffice: if an isometry sends zero to , reflection in the perpendicular bisector of takes to zero. Composing that reflection with gives an isometry fixing zero, to which the two-reflection linear result applies. This is the planar finite reflection decomposition of a Euclidean isometry.
For an example that genuinely needs three, take the glide reflection
It has no fixed point, so it is not one reflection. Its orthogonal part has determinant , whereas the product of two reflections has determinant , so it is not two reflections; it is not the identity either. Explicitly it is reflection in followed by reflection in and then in . Thus its minimum reflection count is exactly three.
The orthogonal reflection in exchanges the first two coordinates and leaves the third unchanged. Its fixed subspace is the plane, while its normal changes sign. Therefore
This reflection matrix has determinant , as expected.
All the transformations below fix the origin. A planar rotation preserves lengths and angles and turns every vector through one common oriented angle. Its rotation matrix is
An orthogonal reflection in a line fixes that line and reverses its perpendicular direction; reflection in the horizontal axis has reflection matrix . A uniform dilation multiplies every vector by the same positive scale , represented by ; for example doubles lengths. A shear mapping fixes one line pointwise and shifts vectors parallel to that line by an amount proportional to their transverse coordinate. A horizontal shear mapping has matrix
with a nontrivial example.
The first given matrix is the clockwise planar rotation through , namely . Direct multiplication gives
Thus is a horizontal shear mapping of strength . Because ,
So is the composition of that shear mapping followed by an anticlockwise planar rotation through ; order matters. It is not individually one of the four elementary types under these definitions. In particular, its determinant is , but it is not an orthogonal matrix, excluding both a planar rotation and an orthogonal reflection. It is not a scalar matrix, excluding a uniform dilation; its eigenvalues and exclude a pure shear mapping, whose eigenvalues are both . As a symmetric positive-definite matrix, can also be described as stretching two perpendicular principal directions by these reciprocal factors, preserving area.
Denote the four displayed matrices, from left to right, by . An orthogonal matrix has an orthonormal set of columns, equivalently . Direct column dot products give for . The first column of has squared Euclidean norm , so the third matrix is the unique nonorthogonal matrix.
For , the determinant is . A nonidentity orthogonal transformation of with determinant is a rotation: it has a fixed axis and restricts to a plane rotation on its orthogonal complement. Consequently is the rotation.
For , calculation gives
A plane reflection fixes its entire plane, and therefore has eigenvalue . Since is invertible, is not a plane reflection. Thus is the combination of a rotation and a reflection. More explicitly, is an eigenvector with eigenvalue . On the perpendicular plane, is a rotation with , because . This gives a three-dimensional improper orthogonal transformation.
For , set . Then
This reflection matrix reverses the normal and fixes every vector perpendicular to . Therefore is reflection in the plane . In particular, and . Finally represents none of the three listed orthogonal transformations, since each preserves the Euclidean norm.
Choose the -axis along the line of intersection of the two planes. Their unit normals lie in the -plane; after choosing the -axis, take
where is the oriented angle between the planes. The two reflection matrices restrict to
on the -plane and both fix the -axis. Their product is
Thus the composition of two plane reflections is a rotation about the intersection line through angle .
Writing as a column vector, the reflection is
so its reflection matrix is
Among the two orthogonal matrices from part (d)(i), gives , a rotation matrix through angle . For , the determinant is , so the matrix reverses orientation and is a reflection rather than a rotation:
It is the reflection matrix across the axis.
A unit vector along the line is . Reflection fixes its component parallel to and negates its perpendicular component, so the reflection matrix is
Indeed , and . These characterize the orthogonal reflection in that line.
A unit vector along the line is . Reflection preserves the orthogonal projection onto that line and negates its perpendicular component. Therefore and
As checks, , , and . Its determinant is minus one, as expected for a planar reflection matrix.
For a nonzero real normal vector , orthogonal reflection in has the displayed affine map. It is with and . In homogeneous coordinates its matrix is
Every point on the hyperplane is fixed, and the signed normal displacement changes sign. Choosing any point on the hyperplane gives , so translating by , applying the reflection matrix and translating back gives the same transformation.
Rotation matrix Created 2026-09-24 Updated 2026-10-14
A rotation matrix turns vectors while preserving their shape relationships. For column coordinate vectors in an orthonormal basis, its defining conditions are
where is the transpose and the identity matrix. In the usual Cartesian basis of the plane, an active counterclockwise planar rotation through an angle uses
Here the vector moves and the basis stays fixed: . Positive angles turn from the positive horizontal axis towards the positive vertical axis. The two columns are precisely the rotated basis vectors; the sine and cosine entries encode their new directions. Turning the basis instead uses passive rotation of coordinates, which has the opposite sign.
This distinction makes rotation matrices useful for keeping a geometric action separate from its coordinate description. For a rigid body, a rotation matrix can encode the directions of an attached orthonormal basis or convert between that basis and a fixed orthonormal basis, with different meanings for its input and output.[ref]
The orthogonal matrix condition preserves every dot product:
Consequently Euclidean norms and angles between nonzero vectors are preserved, as is the Euclidean norm of the difference between any two endpoints. The additional determinant condition preserves orientation of a vector space and oriented volume: for any square matrix whose columns are the input vectors, . An orthogonal matrix of determinant , such as a reflection matrix, preserves dot products but reverses orientation of a vector space. The matrix inverse is especially simple: .[ref]