A square matrix is orthogonal if its rows, considered as vectors, are mutually perpendicular and have unit lengths; that is, \(\mathbf{A}\mathbf{A}^T = \mathbf{I}\).