{
  "id": "orthogonal-matrix",
  "title": "Orthogonal Matrix",
  "lang": "en",
  "source_lang": "en",
  "summary": "A real square matrix whose transpose equals its inverse, representing a linear transformation that preserves Euclidean lengths and angles.",
  "category": "mathematics",
  "subcategory": "algebra",
  "type": "concept",
  "aliases": [
    "Orthonormal matrix"
  ],
  "generated_at": "2026-10-04",
  "model": "pro/gpt-6.1-sol",
  "url": "https://aiwiki.page/en/orthogonal-matrix/",
  "translations": {
    "zh-Hans": {
      "url": "https://aiwiki.page/zh/orthogonal-matrix/",
      "json": "https://aiwiki.page/zh/orthogonal-matrix.json"
    }
  },
  "sections": [
    {
      "heading": "",
      "text": "An orthogonal matrix is a square matrix with real entries whose columns, and equivalently whose rows, form an orthonormal basis. Its defining equation is \\(Q^{T}Q=I\\), where \\(Q^{T}\\) denotes its transpose and \\(I\\) the identity matrix. In linear algebra, orthogonal matrices represent transformations that preserve lengths and angles, making them fundamental to geometry, changes of coordinates, and numerical computation. Despite the name, their columns must be both mutually perpendicular and of unit length, not merely perpendicular. (graphsearch.epfl.ch)"
    },
    {
      "heading": "Definition and equivalent conditions",
      "text": "For \\(Q\\in\\mathbb{R}^{n\\times n}\\), orthogonality means\n\n\\[Q^{T}Q=QQ^{T}=I_n.\\]\n\nHere \\(Q^{T}\\) is the matrix transpose, and \\(I_n\\) is the identity matrix. Equivalently, \\(Q\\) is invertible and its inverse satisfies \\(Q^{-1}=Q^{T}\\). Because \\(Q\\) is square, either product equation implies the other. (math.mit.edu)\n\nWriting its columns as \\(q_1,\\ldots,q_n\\), the defining condition becomes\n\n\\[q_i^{T}q_j= \\begin{cases} 1,&i=j,\\\\ 0,&i\\ne j. \\end{cases}\\]\n\nThus the columns constitute a basis of the vector space \\(\\mathbb{R}^{n}\\). The same statement holds for the rows. In particular, orthogonality describes an entire coordinate frame rather than just a collection of perpendicular directions. (graphsearch.epfl.ch)"
    },
    {
      "heading": "Geometric interpretation",
      "text": "An orthogonal matrix defines a linear map \\(x\\mapsto Qx\\) preserving the standard inner product:\n\n\\[(Qx)^{T}(Qy)=x^{T}Q^{T}Qy=x^{T}y.\\]\n\nConsequently, it preserves vector lengths, angles between nonzero vectors, and Euclidean distances:\n\n\\[\\|Qx-Qy\\|_2=\\|x-y\\|_2.\\]\n\nIt fixes the origin, so a translation alone is not represented by an orthogonal matrix. A distance-preserving transformation that also translates points instead has the affine form \\(x\\mapsto Qx+b\\). (web.ma.utexas.edu)\n\nA basic example is the planar rotation matrix\n\n\\[R(\\theta)= \\begin{pmatrix} \\cos\\theta&-\\sin\\theta\\\\ \\sin\\theta&\\cos\\theta \\end{pmatrix}.\\]\n\nIt rotates column vectors counterclockwise through angle \\(\\theta\\). The matrix \\(\\operatorname{diag}(1,-1)\\), by contrast, reflects the plane across the horizontal axis. Both preserve lengths, but they affect orientation differently. (math.mit.edu)"
    },
    {
      "heading": "Determinants and group structure",
      "text": "Taking the determinant of \\(Q^{T}Q=I\\) gives\n\n\\[(\\det Q)^2=1,\\]\n\nso every orthogonal matrix has determinant \\(+1\\) or \\(-1\\). The first case preserves orientation; the second reverses it. Both preserve the magnitude of volume. Determinant \\(+1\\) alone, however, does not establish orthogonality: a matrix may preserve volume while stretching some directions and contracting others. (math.mit.edu)\n\nProducts and inverses of orthogonal matrices are orthogonal. Together with the identity, all \\(n\\times n\\) orthogonal matrices therefore form the orthogonal group \\(O(n)\\), an important object in group theory. Its determinant-\\(+1\\) subgroup is the special orthogonal group \\(SO(n)\\). In two dimensions, this subgroup consists of planar rotations; the determinant-\\(-1\\) matrices are reflections across lines through the origin. (math.mit.edu)"
    },
    {
      "heading": "Eigenvalues and related matrix classes",
      "text": "The eigenvalues of an orthogonal matrix have absolute value one. Although the matrix has real entries, its eigenvalues may be complex numbers. If \\(Qv=\\lambda v\\) for a nonzero complex vector, preservation of the complex Euclidean norm gives\n\n\\[\\|v\\|_2=\\|Qv\\|_2=|\\lambda|\\|v\\|_2.\\]\n\nHence \\(|\\lambda|=1\\). Real eigenvalues can only be \\(+1\\) or \\(-1\\), while nonreal eigenvalues occur in conjugate pairs. A planar rotation has eigenvalues \\(e^{i\\theta}\\) and \\(e^{-i\\theta}\\), so it generally has no real eigenvectors. (ocw.mit.edu)\n\nThe corresponding length-preserving class over complex coordinates is the unitary matrix, defined by \\(U^{*}U=I\\), using conjugate transpose rather than ordinary transpose. Every real orthogonal matrix is unitary when regarded as a complex matrix. (netlib.org)"
    },
    {
      "heading": "Construction and numerical uses",
      "text": "The Gram–Schmidt process constructs an orthonormal basis from linearly independent vectors. Arranging a complete such basis as columns produces an orthogonal matrix. Orthogonal factors also appear in QR decomposition, which expresses a real matrix as \\(A=QR\\), with \\(R\\) triangular or trapezoidal. A reduced QR factorization may instead use a rectangular \\(Q\\) with orthonormal columns. (math.mit.edu)\n\nComputational implementations commonly build orthogonal factors from Householder transformations or Givens rotations. A Householder reflection has the form\n\n\\[H=I-2\\frac{vv^{T}}{v^{T}v},\\qquad v\\ne0.\\]\n\nIt reflects across the hyperplane perpendicular to \\(v\\). These elementary transformations can introduce zeros into a matrix while retaining its Euclidean geometry. (netlib.org)\n\nOrthogonal transformations are central to numerical linear algebra, including least-squares problems and singular value decomposition. Their norm preservation supports numerical stability because applying an exact orthogonal transformation does not amplify an existing error measured in the Euclidean norm. This does not eliminate rounding errors introduced during computation. (netlib.org)"
    },
    {
      "heading": "Rectangular matrices and projections",
      "text": "For an \\(m\\times n\\) matrix \\(Q\\) with \\(m>n\\), the condition \\(Q^{T}Q=I_n\\) describes orthonormal columns, but \\(QQ^{T}\\ne I_m\\). Instead, \\(QQ^{T}\\) represents the orthogonal projection onto their span. Thus reduced orthogonal factors must be distinguished from square orthogonal matrices: they preserve lengths when mapping \\(\\mathbb{R}^{n}\\) into \\(\\mathbb{R}^{m}\\), but do not provide an invertible transformation of the whole larger space. (netlib.sandia.gov)"
    }
  ],
  "links": [
    "matrix",
    "orthonormal-basis",
    "linear-algebra",
    "matrix-transpose",
    "identity-matrix",
    "inverse-matrix",
    "vector-space",
    "linear-map",
    "inner-product",
    "euclidean-distance",
    "determinant",
    "orthogonal-group",
    "group-theory",
    "special-orthogonal-group",
    "eigenvalues-and-eigenvectors",
    "complex-number",
    "unitary-matrix",
    "gram-schmidt-process",
    "qr-decomposition",
    "householder-transformation",
    "numerical-linear-algebra",
    "singular-value-decomposition",
    "numerical-stability",
    "orthogonal-projection"
  ],
  "sources": [
    {
      "title": "graphsearch.epfl.ch/en/lecture/0_yjyc5w6p",
      "url": "https://graphsearch.epfl.ch/en/lecture/0_yjyc5w6p"
    },
    {
      "title": "math.mit.edu/classes/18.085/summer2016/handouts/qr.pdf",
      "url": "https://math.mit.edu/classes/18.085/summer2016/handouts/qr.pdf"
    },
    {
      "title": "web.ma.utexas.edu/users/sadun/F13/M346/LM7-4.html",
      "url": "https://web.ma.utexas.edu/users/sadun/F13/M346/LM7-4.html"
    },
    {
      "title": "math.mit.edu/~roed/courses/211/lectures/Nov-8.pdf",
      "url": "https://math.mit.edu/~roed/courses/211/lectures/Nov-8.pdf"
    },
    {
      "title": "ocw.mit.edu/courses/18-085-computational-science-and-engineering-i-fall-2008/d3…",
      "url": "https://ocw.mit.edu/courses/18-085-computational-science-and-engineering-i-fall-2008/d343bf773407f2af0bbca125b54612ee_w26JaJX8GMk.pdf"
    },
    {
      "title": "netlib.org/lapack/lug/node39.html",
      "url": "https://www.netlib.org/lapack/lug/node39.html"
    },
    {
      "title": "netlib.org/lapack/lug/node69.html",
      "url": "https://netlib.org/lapack/lug/node69.html"
    },
    {
      "title": "netlib.sandia.gov/lapack95/lug95/node343.html",
      "url": "https://netlib.sandia.gov/lapack95/lug95/node343.html"
    }
  ],
  "license": "https://creativecommons.org/licenses/by/4.0/"
}