← LibraryProperties of Matrix Inverses | KEVOS® MathematicsProject Delivery · Project ManagementLesson 124/189← PrevNext →
ArticlePublished 8 Aug 202621 min readBy Kevin Jogin
Skip to content

Engineering/Mathematics/Matrices

Properties of Matrix Inverses

The inverse of a matrix is unique, and it interacts with products, transposes and scalar multiples according to a short list of rules — most importantly (AB)1=B1A1, in which the order reverses. Each rule is established by proposing a candidate and verifying the defining products, never by division.

  • Core level
  • Stream: matrix-algebra
  • Reading time 13 min
  • Ref KVS-ENG-MATH-0044
Taxonomy
Engineering / Mathematics
Prerequisite
Definition of the matrix inverse
Reversal rule
(AB)1=B1A1
Involution
(A1)1=A
Commutes with
Transpose, conjugate, adjoint, scalar multiple
Does <em>not</em> respect
Matrix addition

Overview

Once the inverse of a matrix is defined, the practical question is how it behaves under the operations already available: multiplication, transposition, conjugation and scalar multiplication. The answers form a compact algebra that lets an inverse be rewritten or simplified without ever returning to a row reduction. In a derivation of any length, applying these rules is the difference between two lines of symbol manipulation and a page of arithmetic.

Every proof follows the same pattern, and the pattern is worth learning independently of the results. To show that a matrix C is the inverse of a matrix X, one does not solve for it. One proposes C, computes CX and XC, and checks that both equal the identity. Uniqueness of the inverse then guarantees that the verified candidate is the inverse, so nothing further is required. This candidate-and-verify style avoids division entirely, which matters because matrices cannot be divided and because no entry can be assumed non-zero.

The single result that most often trips up practitioners is the reversal rule for products: (AB)1=B1A1, not A1B1. The order reverses because matrix multiplication does not commute, and the everyday analogy is exact — socks go on before shoes, so shoes come off before socks. The rule extends by induction to any number of factors, and it is the reason that inverting a chain of coordinate transformations traverses the chain backwards.

Equally important is what is absent from the list. There is no rule for the inverse of a sum. In general (A+B)1A1+B1, and worse, the sum of two invertible matrices need not be invertible at all. Any argument that distributes inversion over addition is invalid; the correct tools for a perturbed inverse are the Sherman-Morrison and Woodbury identities, which look nothing like a distributive law.

Definition

Matrix Inverse is Unique

MIU

If a square matrix A has an inverse, that inverse is unique. If B and C both satisfy the definition then B=BIn=B(AC)=(BA)C=InC=C.

This result is what licenses the notation A1 and the definite article. It also means that verifying a candidate is a complete proof: anything that behaves like an inverse is the inverse.

Socks and Shoes

SS

If A and B are invertible matrices of size n, then the product AB is invertible and (AB)1=B1A1. The order of the factors reverses.

The proof verifies both (B1A1)(AB)=In and (AB)(B1A1)=In by regrouping with associativity. The invertibility of the product is part of the conclusion, not an assumption.

Inverse of an Inverse

MIMI

If A is invertible then A1 is invertible and (A1)1=A. Inversion is an involution on the set of invertible matrices of a given size.

Inverse of a Transpose

MIT

If A is invertible then At is invertible and (At)1=(A1)t. Transposition and inversion commute, so the two operations may be applied in either order.

The proof uses the reversal rule for transposes, (XY)t=YtXt, together with the fact that In is symmetric. The same argument applied to the conjugate gives (A)1=(A1) for the adjoint.

Inverse of a Scalar Multiple

MISM

If A is invertible and α is a non-zero scalar, then αA is invertible and (αA)1=1αA1. The requirement α0 is essential: 0A is the zero matrix, which is singular for every n1.

Concepts

Candidate and verify: the standard proof pattern

Every result on this page is proved the same way. Given an expression X whose inverse is wanted, propose a candidate C built from known inverses, then compute CX and XC and show both are In. Because the inverse is unique, a successful verification ends the argument. The pattern never divides, never cancels and never assumes an entry is non-zero, which is exactly why it is robust; it also transfers verbatim to linear transformations and to any other setting with an associative product and an identity.

Why the order reverses

Regrouping shows the mechanism. Writing (B1A1)(AB)=B1(A1A)B=B1InB=B1B=In, the inner pair annihilates first and the outer pair follows. Had the candidate been A1B1, the interior product would be B1A, which simplifies to nothing. Interpreting A and B as successive coordinate transformations makes the rule intuitive: to undo "apply B, then apply A", one must first undo A and then undo B.

Extension to chains and powers

Induction on the number of factors gives (A1A2Ak)1=Ak1A21A11 whenever every factor is invertible. Specialising to equal factors gives (Ak)1=(A1)k, which justifies defining Ak as either side without ambiguity. With that convention the familiar index laws ApAq=Ap+q and (Ap)q=Apq hold for all integers p and q when A is invertible.

Transposition, conjugation and the adjoint

Because (XY)t=YtXt reverses order and inversion reverses order, applying both restores the original order: from AA1=In one obtains (A1)tAt=Int=In, and symmetrically for the other product. Entrywise conjugation preserves order, giving (A¯)1=A1¯, and combining the two yields (A)1=(A1). A practical corollary: the inverse of a symmetric matrix is symmetric, and the inverse of a Hermitian matrix is Hermitian.

The group of invertible matrices

Taken together, these results say that the invertible matrices of size n are closed under multiplication, contain the identity, are associative and contain an inverse for each member. That is precisely the definition of a group, the general linear group. Nothing here depends on commutativity, and indeed the group is non-abelian for n2. Recognising the structure explains why so many of these proofs generalise unchanged to invertible linear transformations and to change-of-basis matrices.

The rule that does not exist

Inversion does not distribute over addition. Two invertible matrices can sum to a singular matrix — take B=A, giving the zero matrix — so (A+B)1 may fail to exist at all, and when it does exist it generally differs from A1+B1. The correct machinery for updating an inverse after a low-rank change is the Sherman-Morrison formula and its Woodbury generalisation, which express (A+uvt)1 as A1 plus a rank-one correction. That structure is the reason no simple additive rule can hold.

Equations

Uniqueness of the inverse

EQ-PMI-01
B=BIn=B(AC)=(BA)C=InC=C

If B and C are both inverses of A they are equal, so the symbol A1 denotes one specific matrix.

Reversal rule for products

EQ-PMI-02
(AB)1=B1A1

Valid whenever A and B are invertible of the same size; the product AB is then invertible as part of the conclusion.

Verification of the reversal rule

EQ-PMI-03
(B1A1)(AB)=B1(A1A)B=B1InB=B1B=In

Only associativity and the identity property are used. The companion computation (AB)(B1A1)=In completes the proof.

Inverse of an inverse and of a chain

EQ-PMI-04
(A1)1=A,(A1A2Ak)1=Ak1A21A11

Inversion is an involution, and the reversal rule extends to any finite number of invertible factors by induction.

Inverse of a transpose, conjugate and adjoint

EQ-PMI-05
(At)1=(A1)t,(A¯)1=A1¯,(A)1=(A1)

Inversion commutes with all three operations, so a symmetric matrix has a symmetric inverse and a Hermitian matrix has a Hermitian inverse.

Inverse of a scalar multiple

EQ-PMI-06
(αA)1=1αA1,α0

Scaling a matrix scales its inverse by the reciprocal. The exclusion of α=0 is essential, since the zero matrix is singular.

Failure of an additive rule

EQ-PMI-07
(A+B)1A1+B1in general

Inversion does not distribute over addition, and A+B need not be invertible even when A and B both are.

Variable Definitions

Symbols used on this page
SymbolNameMeaningDomain / type
AInvertible matrixA square matrix known to possess an inversen x n complex matrix
BSecond invertible matrixA square matrix of the same size, also invertiblen x n complex matrix
A1Inverse of AThe unique matrix with AA1=A1A=Inn x n complex matrix
AtTranspose of AThe matrix with rows and columns interchangedn x n complex matrix
AAdjoint of AConjugate transpose A¯t; equals At when A is realn x n complex matrix
αNon-zero scalarMultiplier applied to a matrix before inversionnonzero complex number
InIdentity matrixMultiplicative unit of size n, and the target of every verificationn x n matrix
kNumber of factors or powerLength of a product chain, or the exponent in Akpositive integer
nSizeCommon row and column count of all matrices involvedpositive integer

Worked Numerical Example

Problem statement

A planar sensor frame is related to the machine frame by a shear B followed by a scaling-and-skew A. Verify the reversal rule on the composite transformation, confirm the transpose and scalar rules, and demonstrate that no additive rule holds.

  1. State the two transformations and their inverses

    Both matrices have determinant 1, so the two-by-two formula gives their inverses immediately: swap the diagonal, negate the off-diagonal.

    A=[2111],A1=[1112],B=[1101],B1=[1101]
  2. Form the composite and invert it directly

    The composite is AB, meaning B applied first. Its determinant is 2231=1, so the closed formula applies again.

    AB=[2312],(AB)1=[2312]
  3. Compare with the reversal rule

    Computing B1A1: the first row is 1(1)+(1)(1)=2 and 1(1)+(1)(2)=3; the second row is 0(1)+1(1)=1 and 0(1)+1(2)=2. This matches the direct inversion exactly.

    B1A1=[2312]=(AB)1
  4. Show that the wrong order fails

    The other arrangement gives A1B1 with first row 1(1)+(1)(0)=1 and 1(1)+(1)(1)=2, second row 1 and 1+2=3. This is a different matrix, so the order in the reversal rule is not a stylistic preference.

    A1B1=[1213](AB)1
  5. Verify the transpose rule

    Transposing B gives a lower-triangular matrix whose inverse is again obtained from the closed formula. It agrees with the transpose of B1, as the rule predicts.

    Bt=[1011],(Bt)1=[1011]=(B1)t
  6. Verify the scalar rule

    Scaling A by 3 gives determinant 189=9, so the inverse is 19[3336]. That is exactly 13A1, confirming the reciprocal scaling.

    (3A)1=[13131323]=13A1
  7. Demonstrate the failure of an additive rule

    The sum A+B has determinant 62=4, so it happens to be invertible here. Its inverse is nonetheless nothing like the sum of the inverses — the two differ by a factor of four, and no scaling could rescue the identity in general.

    (A+B)1=[12121434],A1+B1=[2213]
  8. Confirm that sums can be singular

    Taking the second matrix to be A instead makes the sum the zero matrix, which has no inverse for any size. Two invertible matrices can therefore sum to a matrix outside the invertible set altogether, which is the structural reason no additive rule can be formulated.

    A+(A)=[0000]
Result

The reversal rule reproduces the directly computed inverse of the composite transformation, while the reversed-order candidate does not. Practically, this means that undoing a chain of frame transformations requires traversing the chain backwards: sensor-to-machine inverts to machine-to-sensor by inverting each stage and reversing their order. The transpose and scalar rules hold as stated, and the additive rule fails even on this benign pair.

Applications &amp; Industry Use

Robotics and kinematics

Inverting a chain of frame transformations

A manipulator pose is built by composing link transformations from base to tool. Mapping a tool-frame quantity back to the base frame inverts the composite, which by the reversal rule means inverting each link transformation and multiplying them in reverse order — the standard implementation of the inverse kinematic chain.

Computer graphics

Model-view-projection inversion

Screen-space coordinates are unprojected to world space by inverting the composed model, view and projection matrices. Engines apply the reversal rule rather than inverting the composite, because each factor has structure — orthogonal rotation, diagonal scale, simple perspective — that makes its individual inverse nearly free.

Control systems

Similarity transformations of state-space models

Changing state coordinates replaces the system matrix A by T1AT. The rules on this page show that composing two changes of coordinates corresponds to multiplying the transformation matrices, and that reverting to the original coordinates uses the inverse in the mirrored position — the algebra underlying controllable and modal canonical forms.

Statistics and data analysis

Precision matrices under rescaling

Standardising variables replaces a covariance matrix Σ by DΣD with D diagonal. The scalar and product rules give the corresponding precision matrix as D1Σ1D1, so the correlation structure can be recovered without re-inverting. Symmetry of the inverse of a symmetric matrix is used implicitly throughout this work.

Cryptography

Composed key matrices

Encrypting with one key matrix and then another is equivalent to encrypting with the product. Decryption applies the inverses in reverse order, and the composition rule shows that the effective key of a two-stage matrix cipher is a single matrix — a structural weakness that motivates non-linear rounds in modern designs.

Structural engineering

Assembly and constraint transformations

Stiffness matrices are transformed between local and global axes by congruence, Kg=RtKlR with R orthogonal. The transpose rule guarantees that the transformed flexibility matrix is the congruence transform of the local flexibility, so symmetry is preserved exactly and can be used as a validation check on assembly code.

Design Considerations

Simplify symbolically before computing numerically

An expression such as (AB)1C(BA)1 can often be reduced to a form requiring one inversion instead of two. Every inversion avoided saves O(n3) operations and one opportunity for rounding error to enter. Perform the algebra first, then commit to arithmetic.

Preserve structure through the inverse

Symmetry, Hermitian symmetry and realness all survive inversion. Exploit this both for storage — a symmetric inverse needs only its triangle — and as a validation check, since a computed inverse of a symmetric matrix that is visibly asymmetric indicates a coding error rather than rounding.

Never distribute inversion over addition

There is no rule for (A+B)1, and the sum of invertible matrices may be singular. When an inverse must be updated after a small change, use the Sherman-Morrison identity for a rank-one update or the Woodbury identity for a low-rank one; both cost O(n2) against the O(n3) of a fresh inversion.

Invert the factors, not the product

When a composite is built from factors with exploitable structure — orthogonal, triangular, diagonal, permutation — the reversal rule lets each factor be inverted in its own cheap way. Inverting the assembled composite discards that structure and pays the full general cost.

Watch conditioning through a product

The condition number of a product can be as large as the product of the condition numbers. A chain of individually acceptable transformations can therefore compose into a badly conditioned one, so conditioning should be assessed on the composite that is actually inverted, not factor by factor.

Guard the non-zero scalar hypothesis

The rule (αA)1=α1A1 silently fails when α=0. In code that scales matrices by a computed gain, a gain that can pass through zero must be handled explicitly rather than left to produce an infinity or a not-a-number at the moment of inversion.

Standards &amp; Codes

Notation, interchange and numerical standards that govern how this material is written down, stored and computed in production systems.

Applicable standards, conventions and reference implementations
ReferenceTitleRelevance to this topic
ISO 80000-2Quantities and units — Part 2: MathematicsDefines the notation used here for transpose, conjugate, adjoint and inverse, and the convention that superscripts compose from the inside out.
IEEE 754-2019IEEE Standard for Floating-Point ArithmeticGoverns the behaviour of the scalar rule at the boundary: dividing by a computed α that underflows to zero yields an infinity rather than an error, so the non-zero hypothesis must be enforced by the caller.
LAPACK / BLAS referenceLinear Algebra PACKage reference implementationProvides structure-aware inversion routines — xPOTRI for symmetric positive definite, xTRTRI for triangular — which are the practical expression of the rule that inversion preserves structure.
ISO/IEC 14882Programming languages — C++Underlies expression-template libraries such as Eigen, in which an expression like (A*B).inverse() is rewritten at compile time using precisely these algebraic identities before any arithmetic is performed.
ISO/IEC 40314Mathematical Markup Language (MathML) Version 3.0Encodes stacked superscripts such as (A1)t unambiguously, so the order of the two operations is machine-readable rather than a matter of typographic interpretation.

Material Selection

For a mathematical topic, "material" is the numeric representation: the scalar field, storage format and precision the computation is built from.

Representation and precision selection
RepresentationSelect whenTrade-off
Exact rational arithmeticVerifying an algebraic identity or producing a reference result against which a numerical implementation is tested.Identities hold exactly, so any discrepancy is a genuine error rather than rounding, but the cost is prohibitive beyond small sizes.
IEEE 754 binary64 (double precision)Routine engineering computation involving composites, transposes and scalings of moderate size.The algebraic identities hold only to within rounding, so equality tests must become norm comparisons against a tolerance.
Symmetric packed or triangular storageThe matrix and hence its inverse are symmetric or Hermitian, as for covariance and stiffness matrices.Halves memory and enables specialised routines, but requires that symmetry be enforced rather than merely expected; an asymmetric input silently violates the storage contract.
Real versus complex scalarsDeciding whether transpose or adjoint is the correct partner operation in a derivation.Real arithmetic is cheaper and A=At, but a derivation written with transposes silently breaks when complex data appears; writing adjoints from the outset costs nothing on real inputs.
Orthogonal or unitary factorsA composite can be arranged so that its factors are orthogonal or unitary, as in QR and singular value decompositions.Each such factor inverts by transposition at zero arithmetic cost and contributes a condition number of exactly one, at the cost of an initial factorisation.
Low-rank update representationAn inverse must track a matrix that changes by a rank-one or low-rank correction, as in recursive least squares and quasi-Newton methods.Reduces each update from O(n3) to O(n2), but repeated updates accumulate error and periodic refactorisation is needed to maintain accuracy.

Manufacturing Notes

Implementation notes — how the result is actually produced by hand, by algorithm and by library, including cost and numerical behaviour.

Algebraic simplification is the cheapest optimisation

Rewriting (AB)1 as B1A1 costs nothing at runtime and can eliminate an entire O(n3) inversion when one of the factors already has a known inverse. Expression-template libraries perform this rewriting automatically; hand-written code must do it deliberately.

Verifying the identities numerically

To test the reversal rule in floating point, compare (AB)1B1A1 against a tolerance of order ε times the product of the operand norms. Exact equality will not hold and its absence is not evidence of an error; a residual many orders of magnitude above the tolerance is.

Structure-preserving routines

For symmetric positive definite matrices, a Cholesky factorisation followed by xPOTRI inverts at roughly half the cost of the general routine and returns a symmetric result by construction. For triangular matrices, xTRTRI inverts in about 13n3 operations. Selecting the routine that matches the structure is worth more than any micro-optimisation.

Rank-one updates in practice

The Sherman-Morrison identity expresses (A+uvt)1 as A1 minus a rank-one term built from A1u and vtA1. Recursive least squares, Kalman filtering and quasi-Newton optimisation all rely on it. Its accuracy degrades as the denominator 1+vtA1u approaches zero, which is exactly the neighbourhood in which the updated matrix approaches singularity.

Checking a chain by round trip

For a composite of many transformations, the most informative check is a round trip: apply the composite and then the composed inverse to a set of test vectors and measure the deviation from the input. This exercises the reversal rule end to end and catches an ordering error immediately, which a norm comparison of matrices can obscure.

Failure Modes &amp; Common Mistakes

Failure modes, root causes and prevention
Failure mode / mistakeImpactRoot causePrevention & detection
Writing (AB)1=A1B1highApplying scalar intuition, where multiplication commutes, to matrices where it does not.Memorise the reversal rule with the socks-and-shoes image and verify order on a small non-commuting pair whenever a derivation depends on it.
Distributing inversion over a sumhighTreating inversion as a linear operation and writing (A+B)1=A1+B1.There is no such rule. For an additive perturbation use the Sherman-Morrison or Woodbury identity, and check first whether A+B is invertible at all.
Assuming a product of matrices is invertiblemediumApplying the reversal rule without checking that both factors are invertible; if either is singular the product is singular.Verify invertibility of each factor before invoking the rule. The invertibility of the product is a conclusion of the theorem, not an independent fact.
Confusing (A1)t with (At)1 in a prooflowAssuming the two differ because superscripts do not usually commute.They are equal; the theorem is precisely that these two operations commute. The genuine ordering hazard lies with products, not with transposition.
Ignoring the non-zero scalar hypothesismediumApplying (αA)1=α1A1 where α is a computed quantity that can vanish.Guard the scaling factor explicitly. In floating point an underflowed scalar produces an infinity rather than an exception, which propagates silently.
Cancelling a non-invertible factorhighDeducing B=C from AB=AC when A is singular; the cancellation requires A1 to exist.Cancellation is left multiplication by A1 in disguise. State the invertibility of A before performing it, or work with the null space instead.
Testing identities with exact equality in codelowAsserting that two floating-point matrices agree entry for entry after algebraically equivalent computations.Compare norms of differences against a tolerance scaled by machine epsilon, the matrix size and the operand norms.
Using transpose where adjoint is requiredmediumCarrying a real-valued derivation into complex data, where AtA.Write adjoints throughout. On real matrices the two coincide, so nothing is lost, and complex inputs then work without modification.

FAQs

Why does the order reverse in (AB)1=B1A1?

Because the inner factors must meet first when the candidate is multiplied against AB: (B1A1)(AB)=B1(A1A)B collapses cleanly, while A1B1 leaves the mismatched product B1A in the middle. Interpreted as transformations, undoing a sequence means undoing the last step first.

Is the product of two invertible matrices always invertible?

Yes, and the reversal-rule theorem proves it as part of the same argument that produces the formula. The converse also holds for square matrices: if a product is invertible then both factors must be, since a product involving a singular factor is singular.

Does the inverse of a symmetric matrix stay symmetric?

Yes. From (At)1=(A1)t and At=A it follows that (A1)t=A1. The same argument with adjoints shows a Hermitian matrix has a Hermitian inverse, which is why covariance and stiffness inverses can be stored in packed triangular form.

What is the inverse of Ak?

It is (A1)k, by induction from the reversal rule applied to k equal factors. This makes the notation Ak unambiguous and extends the usual index laws to all integer exponents for an invertible matrix.

If (A+B)1 is not A1+B1, what is it?

There is no general closed form. When B has low rank the Woodbury identity gives an exact expression as A1 plus a correction whose rank matches that of B; the rank-one case is the Sherman-Morrison formula. For a general B the only route is to invert the sum directly.

Can I cancel a matrix from both sides of an equation?

Only if it is invertible. From AB=AC one may deduce B=C by left-multiplying by A1, but if A is singular the conclusion is false in general — a singular A admits distinct B and C whose difference lies in its null space.

Do these rules apply to linear transformations as well as matrices?

Yes, without change. Every proof here uses only associativity of composition, the existence of an identity and the definition of an inverse, all of which hold for invertible linear transformations. That is why the invertible matrices of a given size form a group under multiplication.

References

  1. Beezer, R. A. A First Course in Linear Algebra, Version 0.70. University of Puget Sound, 2006. Section MISLE, Subsection PMI. Licensed under the GNU Free Documentation License v1.2.
  2. ISO 80000-2:2019, Quantities and units — Part 2: Mathematics. International Organization for Standardization.
  3. Horn, R. A. and Johnson, C. R. Matrix Analysis, 2nd edition. Cambridge University Press, 2012.
  4. Golub, G. H. and Van Loan, C. F. Matrix Computations, 4th edition. Johns Hopkins University Press, 2013.
  5. Higham, N. J. Accuracy and Stability of Numerical Algorithms, 2nd edition. Society for Industrial and Applied Mathematics, 2002.
  6. Anderson, E. et al. LAPACK Users' Guide, 3rd edition. Society for Industrial and Applied Mathematics, 1999.

AI Suggested Questions

  • Prove by induction that the inverse of a product of k invertible matrices reverses the order of all k factors.
  • Derive the Sherman-Morrison formula and show precisely where an additive rule for inverses would have to fail.
  • Construct two invertible 3×3 matrices whose sum is singular, and explain the geometric picture.
  • Show that the set of invertible n×n matrices forms a non-abelian group, and identify its identity and inverses.
  • For a real matrix, when does A1=At hold, and what does that class of matrices represent geometrically?
  • Explain how a compiler-level expression template can use the reversal rule to eliminate a matrix inversion at compile time.

Related Calculators

Continue learning

Algebraic and Geometric Multiplicities of Eigenvalues | KEVOS® MathematicsArticle · Project ManagementAmitsur’s Theorem on the Radical of a Polynomial Ring | KEVOS®Article · Project ManagementAmitsur’s Theorem on the Radical of an Algebra of Small Dimension | KEVOS®Article · Project ManagementArchetypes: Reference Catalogue of Worked Systems | KEVOS® MathematicsArticle · Project Management