In mathematics, the orthogonal group in dimension n {\displaystyle n}, denoted O {\displaystyle \operatorname {O} }, is the group of distance-preserving transformations of a Euclidean space of dimension n {\displaystyle n} that preserve a fixed point, where the group operation is given by composing transformations.