A square matrix A is orthogonal if ATA = I, where AT is the transpose of A. The following properties hold:
The orthogonal n × n matrices form a group O(n), and those with determinant 1 form a subgroup SO(n). The orthogonal matrices are the linear (see linear map) isometries of ℝn.
2 × 2 orthogonal matrices have the form
The first matrix represents rotation by θ anticlockwise about the origin. The second represents reflection in the line y = xtan(θ/2). See unitary matrix.