 Although we consider only real matrices here, the definition can be used for matrices with entries from any field.However, orthogonal matrices arise naturally from dot products, and for matrices of complex numbers that leads instead to the unitary requirement.Orthogonal matrices preserve the dot product, so, for vectors and in an -dimensional real Euclidean space

where is an orthogonal matrix.