{
  "id": "inverse-matrix",
  "title": "Inverse Matrix",
  "lang": "en",
  "source_lang": "en",
  "summary": "An inverse matrix reverses the action of an invertible square matrix, yielding the identity matrix when multiplied by the original matrix in either order.",
  "category": "mathematics",
  "subcategory": "algebra",
  "type": "concept",
  "aliases": [
    "Matrix inverse"
  ],
  "generated_at": "2026-10-04",
  "model": "pro/gpt-6.1-sol",
  "url": "https://aiwiki.page/en/inverse-matrix/",
  "translations": {
    "zh-Hans": {
      "url": "https://aiwiki.page/zh/inverse-matrix/",
      "json": "https://aiwiki.page/zh/inverse-matrix.json"
    }
  },
  "sections": [
    {
      "heading": "",
      "text": "An inverse matrix is a matrix that reverses another matrix under multiplication. In linear algebra, the inverse of a square matrix \\(A\\) is denoted \\(A^{-1}\\) and satisfies\n\n\\[AA^{-1}=A^{-1}A=I,\\]\n\nwhere \\(I\\) is the identity matrix of the same size. A matrix possessing an inverse is called invertible or nonsingular; one without an inverse is singular. Inversion reverses the transformation represented by a matrix, rather than taking the reciprocal of each individual entry. (math.mit.edu)"
    },
    {
      "heading": "Definition and existence",
      "text": "The usual theory concerns \\(n\\times n\\) matrices with entries in a field, particularly the real numbers or complex numbers. The inverse, when it exists, is unique. Indeed, if \\(B\\) and \\(C\\) are both inverses of \\(A\\), associativity gives\n\n\\[B=B(AC)=(BA)C=C.\\]\n\nFor square matrices over a field, a one-sided inverse is sufficient: \\(AB=I\\) implies \\(BA=I\\). The finite-dimensional, square-matrix assumption is essential to this statement. (arxiv.org)\n\nSeveral equivalent conditions characterize invertibility:\n\n- The determinant satisfies \\(\\det(A)\\ne0\\).\n- The rank of \\(A\\) is \\(n\\).\n- Its columns are linearly independent and form a basis of the coordinate space.\n- Its null space contains only the zero vector.\n- The linear system \\(Ax=b\\) has exactly one solution for every \\(b\\).\n- Elimination produces \\(n\\) nonzero pivots, allowing row exchanges. (math.mit.edu)\n\nGeometrically, \\(A\\) represents a linear map on a finite-dimensional vector space. Invertibility means that this map is an isomorphism: every output corresponds to exactly one input. A singular map loses information by sending some nonzero vector to zero, making complete reversal impossible. (math.ucla.edu)"
    },
    {
      "heading": "Formulas and examples",
      "text": "For a \\(2\\times2\\) matrix,\n\n\\[A=\\begin{pmatrix}a&b\\\\c&d\\end{pmatrix},\\]\n\nthe inverse exists precisely when \\(ad-bc\\ne0\\), and then\n\n\\[A^{-1}=\\frac{1}{ad-bc} \\begin{pmatrix}d&-b\\\\-c&a\\end{pmatrix}.\\]\n\nFor example,\n\n\\[A=\\begin{pmatrix}2&1\\\\5&3\\end{pmatrix}, \\qquad A^{-1}=\\begin{pmatrix}3&-1\\\\-5&2\\end{pmatrix}.\\]\n\nDirect multiplication in either order yields \\(I\\). By contrast, the matrix with rows \\((1,2)\\) and \\((2,4)\\) is singular because its determinant is zero. (math.mit.edu)\n\nFor an arbitrary invertible square matrix, the exact formula\n\n\\[A^{-1}=\\frac{\\operatorname{adj}(A)}{\\det(A)}\\]\n\nuses the adjugate matrix, the transpose of the matrix of signed minors. This identity connects inversion with determinants and gives explicit algebraic expressions for the inverse entries. Computing many minors, however, makes it an unattractive general-purpose procedure for large matrices. (math.ucla.edu)"
    },
    {
      "heading": "Algebraic properties",
      "text": "For invertible matrices \\(A\\) and \\(B\\) of the same size,\n\n\\[(A^{-1})^{-1}=A,\\qquad (AB)^{-1}=B^{-1}A^{-1}.\\]\n\nThe reversed order is important: reversing two successive transformations requires undoing the last transformation first. It cannot generally be replaced by \\(A^{-1}B^{-1}\\), because matrix multiplication is not commutative. (math.mit.edu)\n\nInversion also interacts with the transpose and determinant:\n\n\\[(A^T)^{-1}=(A^{-1})^T, \\qquad \\det(A^{-1})=\\frac{1}{\\det(A)}.\\]\n\nA real orthogonal matrix therefore has the especially simple inverse \\(A^{-1}=A^T\\). (math.mit.edu)\n\nIf \\(Av=\\lambda v\\) with \\(v\\ne0\\), invertibility ensures \\(\\lambda\\ne0\\), and multiplication by \\(A^{-1}\\) gives\n\n\\[A^{-1}v=\\lambda^{-1}v.\\]\n\nThus the eigenvalues of the inverse are reciprocals of those of \\(A\\), with the corresponding eigenvectors unchanged. (linear.pugetsound.edu)"
    },
    {
      "heading": "Computation and numerical accuracy",
      "text": "A standard exact method is Gauss–Jordan elimination, a variant of Gaussian elimination. Elementary row operations transform the augmented matrix\n\n\\[[A\\mid I]\\longrightarrow[I\\mid A^{-1}].\\]\n\nThe same operations that reduce \\(A\\) to the identity accumulate its inverse in the right-hand block. Failure to obtain a pivot in every column indicates singularity. Equivalently, the columns of \\(A^{-1}\\) are the solutions of \\(Ax_j=e_j\\), where \\(e_j\\) are the standard basis vectors. (math.mit.edu)\n\nIn numerical linear algebra, inversion can be organized through LU decomposition with pivoting and subsequent triangular solves. For solving \\(Ax=b\\), explicitly forming \\(A^{-1}\\) is usually unnecessary; numerical libraries instead solve the system using a factorization. This avoids computing an entire inverse when only its action on particular right-hand sides is required. (netlib.org)\n\nMathematical invertibility does not guarantee accurate results in floating-point arithmetic. Sensitivity is measured by the condition number\n\n\\[\\kappa_2(A)=\\frac{\\sigma_{\\max}(A)}{\\sigma_{\\min}(A)},\\]\n\nwhere the \\(\\sigma\\)'s are singular values. A large ratio indicates ill-conditioning: small perturbations or rounding errors can produce substantial inaccuracies. An inversion routine may return a result for an ill-conditioned matrix without reporting failure. (numpy.org)"
    },
    {
      "heading": "Rectangular matrices and generalized inverses",
      "text": "A rectangular matrix cannot have a two-sided inverse of the ordinary kind. Nevertheless, an \\(m\\times n\\) matrix with full column rank has a left inverse, while one with full row rank has a right inverse. These one-sided inverses need not be unique. (ocw.mit.edu)\n\nThe Moore–Penrose pseudoinverse, denoted \\(A^+\\), extends inversion to rectangular and singular matrices. It can be constructed using singular value decomposition by reciprocating nonzero singular values and leaving zero singular values at zero. For invertible square matrices, \\(A^+=A^{-1}\\); otherwise, \\(A^+b\\) is the minimum-Euclidean-norm solution among those minimizing \\(\\|Ax-b\\|_2\\). This provides a generalized solution even when an exact solution is absent or nonunique. (numpy.org)"
    }
  ],
  "links": [
    "matrix",
    "linear-algebra",
    "identity-matrix",
    "field-mathematics",
    "real-number",
    "complex-number",
    "determinant",
    "matrix-rank",
    "linear-independence",
    "basis-linear-algebra",
    "null-space",
    "system-of-linear-equations",
    "linear-map",
    "vector-space",
    "isomorphism",
    "adjugate-matrix",
    "matrix-transpose",
    "orthogonal-matrix",
    "eigenvalues-and-eigenvectors",
    "gaussian-elimination",
    "numerical-linear-algebra",
    "lu-decomposition",
    "floating-point-arithmetic",
    "condition-number",
    "moore-penrose-inverse",
    "singular-value-decomposition"
  ],
  "sources": [
    {
      "title": "math.mit.edu/~gs/linearalgebra/ila5/linearalgebra5_2-5.pdf",
      "url": "https://math.mit.edu/~gs/linearalgebra/ila5/linearalgebra5_2-5.pdf"
    },
    {
      "title": "arxiv.org/abs/1709.03382",
      "url": "https://arxiv.org/abs/1709.03382"
    },
    {
      "title": "math.ucla.edu/~mikehill/Teaching/Math5651/Lecture09.pdf",
      "url": "https://www.math.ucla.edu/~mikehill/Teaching/Math5651/Lecture09.pdf"
    },
    {
      "title": "math.mit.edu/~mckernan/Teaching/12-13/Autumn/18.02/l_3.pdf",
      "url": "https://math.mit.edu/~mckernan/Teaching/12-13/Autumn/18.02/l_3.pdf"
    },
    {
      "title": "math.mit.edu/~jorloff/suppnotes/suppnotes03/la4.pdf",
      "url": "https://math.mit.edu/~jorloff/suppnotes/suppnotes03/la4.pdf"
    },
    {
      "title": "math.mit.edu/~roed/courses/211/lectures/Nov-1.pdf",
      "url": "https://math.mit.edu/~roed/courses/211/lectures/Nov-1.pdf"
    },
    {
      "title": "linear.pugetsound.edu/jsmath/latest/fcla-jsmath-latestli48.html",
      "url": "https://linear.pugetsound.edu/jsmath/latest/fcla-jsmath-latestli48.html"
    },
    {
      "title": "netlib.org/lapack/lawnspdf/lawn117.pdf",
      "url": "https://www.netlib.org/lapack/lawnspdf/lawn117.pdf"
    },
    {
      "title": "numpy.org/doc/2.0/reference/generated/numpy.linalg.inv.html",
      "url": "https://numpy.org/doc/2.0/reference/generated/numpy.linalg.inv.html"
    },
    {
      "title": "ocw.mit.edu/courses/18-06sc-linear-algebra-fall-2011/pages/positive-definite-ma…",
      "url": "https://ocw.mit.edu/courses/18-06sc-linear-algebra-fall-2011/pages/positive-definite-matrices-and-applications/left-and-right-inverses-pseudoinverse/"
    },
    {
      "title": "numpy.org/doc/stable/reference/generated/numpy.linalg.pinv.html",
      "url": "https://numpy.org/doc/stable/reference/generated/numpy.linalg.pinv.html?highlight=numpy+all"
    }
  ],
  "license": "https://creativecommons.org/licenses/by/4.0/"
}