KEVOS
ArticlesServicesCase studiesAboutContact
ArticlesServicesCase studiesAboutContact
← ArticlesMatrix Inverses and Solving Linear SystemsEngineering · Engineering MathematicsLesson 5/6← PrevNext →
GuidePublished 15 Aug 20265 min readBy Kevin Joginmatrix inverseadjoint methoddeterminantsolving systems
On this page

Ask about this page

KEVOS AIMatrix Inverses and Solving Linear Systems

KEVOS knowledge first · trusted web sources when needed

Matrices and Determinants

Matrix Inverses and Solving Linear Systems

The matrix that undoes multiplication, the 2 × 2 formula, the Gauss-Jordan method for larger cases, and solving Ax = b directly.

Category Engineering / MathematicsStream Matrices and DeterminantsLevel AdvancedReading 5 minSource Week 12, pages 4-6, 9-10

What this page covers

  • State the defining property of an inverse
  • Compute the inverse of a 2 × 2 matrix
  • Find an inverse by Gauss-Jordan reduction
  • Solve a linear system using the inverse
On this page
  1. The idea
  2. The 2×2 formula
  3. Solving a system with the inverse
  4. Inverting by Gauss-Jordan
  5. When to use which method
  6. Common mistakes
  7. Frequently asked questions

The idea

To solve 2x = 4 you multiply both sides by 12, or equivalently by 2-1. The source makes the analogy explicit before generalising it.

2x = 42-1 · 2x = 2-1 · 41 · x = 2x = 2Source, Week 11, page 8
Matrix inverse
A A-1 = I and A-1 A = ISource, Week 12, page 4. Square matrices only

The same manoeuvre then solves a system:

A x = bA-1 A x = A-1 bI x = A-1 bx = A-1 bSource derivation, Week 11 page 8 and Week 12 page 4
Watch out

Multiply on the left on both sides. Matrix multiplication does not commute, so A-1b and bA-1 are different, and the second may not even exist.

The 2×2 formula

Inverse of a 2 × 2 matrix

For A = [[a, b], [c, d]] with |A| = ad - bc ≠ 0:

A-1 = 1ad - bc × matrix(d, -b; -c, a)Source, Week 12, page 5. Called the adjoint method

The recipe is short: swap the diagonal entries, negate the off-diagonal ones, and divide by the determinant.

Worked example — the source's case

For A = [[1, -3], [2, 1]]: the determinant is (1)(1) - (-3)(2) = 1 + 6 = 7.

A-1 =
1/73/7
-2/71/7
Source, Week 12, page 4
Check

AA-1 should be I. Top-left entry: (1)(17) + (-3)(-27) = 17 + 67 = 1 ✓. Top-right: (1)(37) + (-3)(17) = 0 ✓.

A zero determinant means no inverse

If ad - bc = 0 the formula divides by zero and no inverse exists. Such a matrix is called singular, and the corresponding system has either no solution or infinitely many — never exactly one. The source records the consequence as if |A| = 0, no solution.

Solving a system with the inverse

Worked example — the source's first

Solve x - 3y = 4, 2x + y = 1.

x = A-1 bWith A-1 as computed above
x = 47 + 37 = 1y = -87 + 17 = -1Source, Week 12, page 5
Check

1 - 3(-1) = 4 ✓ and 2(1) + (-1) = 1 ✓. This agrees with the Gauss-Jordan solution of the same system.

Worked example — the source's second

Solve x - 3y = 2, 2x + y = -3. The same coefficient matrix, so the same inverse serves.

x = 17 × (2 + 3(-3)) = -77 = -1y = 17 × (-2(2) + (-3)) = -77 = -1Source, Week 12, page 6

This is where the inverse method earns its place: the expensive step is inverting A, and once done it handles any right-hand side at negligible extra cost.

Worked example — a different matrix

Solve 4x + 5y = 18, 2x - 3y = -2.

Determinant: (4)(-3) - (5)(2) = -12 - 10 = -22.

x = 1-22(-3 × 18 - 5 × (-2)) = -44-22 = 2y = 1-22(-2 × 18 + 4 × (-2)) = -44-22 = 2Source, Week 12, page 6
Check

4(2) + 5(2) = 18 ✓ and 2(2) - 3(2) = -2 ✓.

Inverting by Gauss-Jordan

For matrices larger than 2 × 2 there is no short formula worth using. The source gives a two-step procedure instead, and derives why it works.

A-1[A | I] = [I | A-1]Source, Week 12, page 9

Since row operations are left multiplications, reducing [A | I] until the left block becomes I applies A-1 to the whole augmented matrix — and so turns the right block into A-1.

  1. Form [A | I], the matrix beside an identity of the same size.
  2. Row-reduce until the left block is the identity.
  3. Read off the right block, which is now A-1.
  4. Check that AA-1 = I.

Worked example — the source's 3×3 case

Invert A = [[1, 0, 1], [2, 0, -1], [1, 2, 2]].

The source forms [A | I] and reduces. Its result:

A-1 =
1/31/30
-5/61/61/2
2/3-1/30
Source, Week 12, page 10

The source then verifies by multiplying, computing AA-1 and A-1A and obtaining the identity both times — which is the right check, since both products must give I.

Spot check

Row 1 of A times column 1 of A-1: (1)(13) + (0)(-56) + (1)(23) = 1 ✓.

When to use which method

Choosing a route
SituationMethodReason
One 2 × 2 systemEitherThe formula is quick enough
One larger systemGaussian eliminationInverting costs more than solving
Same A, many different bInverseInvert once, reuse indefinitely
|A| = 0Neither worksNo inverse; use elimination to classify the system
Machine computationElimination with pivotingInverting is slower and numerically worse

The inverse is more valuable as a concept than as a computational tool. It explains why a system has a unique solution exactly when the determinant is non-zero, which elimination shows but does not explain.

Common mistakes

Errors and checks
MistakeCorrectWhy
Swapping the off-diagonal entriesSwap a and d; negate b and cThe formula is specific
Forgetting to divide by the determinantThe whole matrix is scaledOtherwise AA-1 ≠ I
Inverting a non-square matrixOnly square matrices have inversesI must exist on both sides
Multiplying b on the rightLeft-multiply: x = A-1bMultiplication does not commute
Proceeding when |A| = 0No inverse existsCompute the determinant first
Checking only AA-1Both products should give IThe source checks both

Frequently asked questions

When does an inverse exist?

For a square matrix whose determinant is non-zero. The source records the consequence directly: if |A| = 0, no solution.

Why does the inverse method work?

Because Ax = b gives A-1Ax = A-1b, hence Ix = A-1b and so x = A-1b. It is the matrix version of dividing both sides by the coefficient.

Is the inverse method efficient?

Not for a single system — Gaussian elimination is faster. It pays off when the same coefficient matrix is used with many different right-hand sides.

How do I invert a larger matrix?

Form [A | I] and row-reduce until the left block is I. The right block is then A-1. The source sets this out as a two-step procedure.

Related pages

  • Determinants, Minors and Cofactors
  • Gauss-Jordan Reduction
  • Matrix Multiplication and Matrix Algebra
  • Consistent, Inconsistent and Dependent Systems

Source. Handwritten teaching notes, Week 12, pages 4-6 and 9-10.

This page is an original exposition prepared for the KEVOS® knowledge library. It restates, reorganises and verifies the mathematics of the supplied teaching notes; it is not a reproduction of them. Numerical values taken from the notes are identified as source examples and are not presented as engineering standards.

Continue learning

Matrix Multiplication and Matrix AlgebraGuide · Engineering MathematicsNEXT LESSON →Determinants, Minors and CofactorsGuide · Engineering MathematicsMatrices: Order, Equality, Addition and Scalar MultiplicationGuide · Engineering MathematicsGauss-Jordan ReductionGuide · Engineering Mathematics
KEVOS · Engineering, manufacturing and project improvement
ArticlesServicesCase studiesAboutContact
© 2026 KEVOS®