MGU Mathematics Series — Linear Algebra
Part II: Inverses, Determinants, and Linear Transformations
Inverses · Singular Matrices · Row Reduction · Systems · Elementary Matrices
Chapter 5 of 14
MGU Mathematics Series  ·  Linear Algebra  ·  Library Textbook Edition

Chapter 5:
Matrix Inverses
and Linear Systems

Reversibility, undoing transformations, the inverse formula, row reduction methods, singular matrices, and the connection between invertibility and unique solutions

■ Math Level: Linear Algebra ■

■ 14 Sections  •  Part II of 5 ■

Follows Chapter 4: Matrices and Matrix Operations  ·  Prepares for Chapter 6: Determinants

Purpose and Overview

This chapter develops one of the most powerful ideas in linear algebra: the notion that some operations can be undone. When you multiply a number by 3, you can undo that operation by multiplying by one-third. When a function applies a transformation, an inverse function reverses it. Matrices follow the same pattern. If a matrix represents a transformation or encodes a system, an inverse matrix — when it exists — reverses that transformation and solves that system.

Chapter 5 builds directly on the matrix operations of Chapter 4 and the system-solving techniques of Chapter 3. It connects the algebraic machinery of matrices to a deeper structural idea: reversibility. Not every matrix has an inverse, and understanding why is just as important as knowing how to find one when it does exist.

By the end of this chapter, students will be able to find inverse matrices, use them to solve linear systems, and recognize the conditions under which a matrix fails to be invertible.

Opening Question

Suppose a company uses a matrix equation to model how resources are allocated across two departments. The matrix equation is Ax = b, where A is a known 2 × 2 matrix and b is a known vector representing target output. The company wants to find the input vector x. If the matrix A were a number, the answer would be easy: just divide both sides by A. But matrices cannot be divided. So what do we do? The answer lies in the inverse matrix.

14Sections
9Objectives
11Key Terms
8+Worked Examples

Learning Objectives

  1. 1Explain what it means for a matrix to have an inverse.
  2. 2Identify and use the defining property AA⁻¹ = A⁻¹A = I.
  3. 3Find the inverse of a 2 × 2 matrix using the formula.
  4. 4Use row reduction to find the inverse of a larger matrix.
  5. 5Solve Ax = b using an inverse matrix.
  6. 6Recognize singular and noninvertible matrices.
  7. 7Connect invertibility to unique solutions, independence, and transformation structure.
  8. 8Describe elementary matrices and their relationship to row operations.
  9. 9Explain when using an inverse matrix is and is not computationally efficient.

Key Terms

Inverse matrix · Invertible matrix · Singular matrix · Noninvertible matrix · Identity matrix · Matrix equation · Elementary matrix · Row reduction (inverse method) · Augmented matrix [A | I] · Unique solution · Reversible transformation

Sections at a Glance

Sections 5.1 – 5.4
What Inverses Are: Definition, Geometry, and the 2 × 2 Formula
Definition · Undoing Transformations · Invertibility · 2×2 Formula

What an Inverse Matrix Does

To understand the inverse of a matrix, begin with what you already know about inverses in arithmetic and algebra. Every nonzero number a has a multiplicative inverse, the number 1/a, also written a⁻¹. The defining property is:

a · a⁻¹ = 1 and a⁻¹ · a = 1

The number 1 is the multiplicative identity — it does nothing when multiplied. Multiplying by a⁻¹ undoes the effect of multiplying by a. Matrices have an analogous structure. For square matrices, the identity matrix plays the role of the number 1.

The Identity Matrix

An n × n identity matrix, written Iₙ or simply I, has ones on the main diagonal and zeros everywhere else. For any compatible matrix A: AI = IA = A. The identity matrix does nothing.

2 × 2: I₂ = [[1, 0], [0, 1]]

3 × 3: I₃ = [[1, 0, 0], [0, 1, 0], [0, 0, 1]]

Definition — Inverse Matrix

Let A be a square n × n matrix. A matrix B is called the inverse of A if:

AB = Iₙ and BA = Iₙ

When such a matrix B exists, we write B = A⁻¹ and say that A is invertible. The notation A⁻¹ does not mean 1/A — matrices cannot be divided. It means the specific matrix that produces the identity when multiplied on either side of A.

Important — Both Sides Required

Both conditions — AA⁻¹ = I and A⁻¹A = I — are required because matrix multiplication is not commutative. For square matrices, if AB = I then BA = I automatically holds, but this symmetry fails for non-square matrices, which is why inverses are defined only for square matrices.

Geometric Meaning of Inverses

If a matrix A represents a geometric transformation — a rotation, reflection, scaling, or shear — then A⁻¹ represents the transformation that undoes it.

Transformation A PerformsWhat A⁻¹ Does
Rotates every vector 60° counterclockwiseRotates every vector 60° clockwise
Stretches horizontally by a factor of 3Compresses horizontally by a factor of 1/3
Reflects across the line y = xSame reflection — it undoes itself

Inverses and Undoing Transformations

A matrix A can be thought of as a machine. You feed in a vector x, and the machine produces Ax. The inverse matrix A⁻¹ is the reverse machine: you feed in Ax, and it produces x again.

A⁻¹(Ax) = (A⁻¹A)x = Ix = x for every vector x

This undoing property is exactly what allows us to solve matrix equations. If Ax = b, and we know A⁻¹, then multiplying both sides on the left by A⁻¹ gives:

A⁻¹(Ax) = A⁻¹b Ix = A⁻¹b x = A⁻¹b
Properties of Inverse Matrices

If A and B are both invertible n × n matrices:

1. (A⁻¹)⁻¹ = A — the inverse of A⁻¹ is A itself

2. (AB)⁻¹ = B⁻¹A⁻¹ — the inverse of a product reverses order

3. (Aᵀ)⁻¹ = (A⁻¹)ᵀ — the inverse of the transpose is the transpose of the inverse

4. (cA)⁻¹ = (1/c)A⁻¹ for nonzero scalar c

The Socks-and-Shoes Analogy

Property 2 — that (AB)⁻¹ = B⁻¹A⁻¹ — has a memorable everyday analogy. Putting on socks, then shoes, must be undone by first removing shoes and then removing socks. To reverse a composed action, you reverse the last step first, then the first step. The reversal of order is required.

Invertible and Noninvertible Matrices

Not every matrix has an inverse. This is a fundamental fact of matrix algebra, and understanding it will clarify much of what follows in this chapter and the rest of the textbook.

In arithmetic, every real number has a multiplicative inverse except zero. For matrices, the situation is more complex. There are many matrices that, like the number zero, fail to have inverses. These are called singular matrices or noninvertible matrices.

Definition — Invertible vs. Singular

A square matrix A is invertible (also called nonsingular) if there exists a matrix A⁻¹ such that AA⁻¹ = A⁻¹A = I. Otherwise, A is singular.

What Makes a Matrix Singular?

Geometrically, a matrix is singular if its associated transformation collapses space — if it maps two or more distinct vectors to the same output vector, making the transformation impossible to reverse. Consider a matrix that sends every vector to a single line. No matter what the input was, the output lies on that line. There is no way to look at the output and recover the original input, because many different inputs all produce the same output. You cannot reverse a many-to-one process.

Algebraically, a matrix is singular when its rows (or columns) are linearly dependent — when one row is a scalar multiple of another, or a combination of the others. This means the matrix contains redundant information and does not span enough directions to encode a unique solution.

MatrixSingular or Invertible?Reason
[[2, 4], [1, 2]]SingularRow 2 is exactly half of row 1 — linearly dependent rows
[[3, 1], [2, 5]]InvertibleRows point in genuinely different directions — independent
[[1, 0], [0, 0]]SingularCollapses every vector onto the x-axis — loses the y component

The Inverse of a 2 × 2 Matrix

For a 2 × 2 matrix, there is a direct formula for the inverse. The formula requires only the four entries of the matrix and one important number — the determinant.

The 2 × 2 Inverse Formula

Let A = [[a, b], [c, d]]. If ad − bc ≠ 0, then A is invertible and:

A⁻¹ = (1 / (ad − bc)) · [[d, −b], [−c, a]]

The quantity ad − bc is the determinant of A, written det(A). If det(A) = 0, then A is singular and has no inverse.

The procedure: swap the main diagonal entries (a and d), negate the off-diagonal entries (b and c), and divide the entire matrix by the determinant.

Example 5.4.1
Finding the inverse of a 2 × 2 matrix
  • ProblemFind the inverse of A = [[3, 1], [2, 5]].
  • ThinkCompute the determinant first. If nonzero, apply the formula.
  • RepresentWe have a = 3, b = 1, c = 2, d = 5.
  • Calculate Step 1 — Compute the determinant: det(A) = (3)(5) − (1)(2) = 15 − 2 = 13 Since 13 ≠ 0, the matrix is invertible. Step 2 — Apply the inverse formula: A⁻¹ = (1/13) · [[5, −1], [−2, 3]] = [[ 5/13, −1/13], [−2/13, 3/13]]
  • CheckMultiply A · A⁻¹ and verify the product is I: Row 1, Col 1: (3)(5/13) + (1)(−2/13) = 15/13 − 2/13 = 13/13 = 1 ✓ Row 1, Col 2: (3)(−1/13) + (1)(3/13) = −3/13 + 3/13 = 0 ✓ Row 2, Col 1: (2)(5/13) + (5)(−2/13) = 10/13 − 10/13 = 0 ✓ Row 2, Col 2: (2)(−1/13) + (5)(3/13) = −2/13 + 15/13 = 13/13 = 1 ✓
  • InterpretThe matrix A⁻¹ undoes whatever A does. If A sends a vector x to Ax, then applying A⁻¹ to Ax returns exactly x.
Answer: A⁻¹ = (1/13)[[5, −1], [−2, 3]]
Example 5.4.2
Recognizing a singular matrix
  • ProblemDetermine whether B = [[4, 6], [2, 3]] is invertible.
  • Calculate det(B) = (4)(3) − (6)(2) = 12 − 12 = 0
  • InterpretSince det(B) = 0, the matrix B is singular — it has no inverse. The second row is exactly half the first row: both rows point in the same direction. The transformation represented by B collapses every vector in the plane onto a single line — information is lost, and no reverse transformation can recover the original vector.
Answer: B is singular. No inverse exists.
Practice 5.1–5.4Concept and Formula Practice
  1. State the definition of the inverse of a matrix in your own words. What does A⁻¹ mean, and what does it not mean?
  2. For each matrix, compute the determinant and state whether the matrix is invertible or singular. Then find the inverse for invertible ones.

    (a) A = [[2, 1], [5, 3]]    (b) B = [[4, 2], [6, 3]]    (c) C = [[−3, 1], [2, 0]]    (d) D = [[7, 0], [0, 4]]
  3. Verify that your inverse from 2(a) satisfies AA⁻¹ = I by carrying out the matrix multiplication.
  4. A student computes A⁻¹ = (1/10)[[5, 2], [3, 4]] for a matrix A. Describe a quick way to check whether this is correct without knowing what A was.
Sections 5.5 – 5.6
Solving Systems and Matrix Equations with Inverses
Matrix Equations · Ax = b · When to Use Inverses

Solving Matrix Equations with Inverses

Inverse matrices provide a powerful method for solving matrix equations of the form AX = B, where A, X, and B are matrices of compatible sizes and A is invertible.

Solving Matrix Equations

Solving AX = B: Multiply both sides on the left by A⁻¹:

A⁻¹(AX) = A⁻¹B → IX = A⁻¹B → X = A⁻¹B

Solving XA = B: Multiply both sides on the right by A⁻¹:

XA · A⁻¹ = B · A⁻¹ → X = BA⁻¹

Student Warning — Side Matters

Because matrix multiplication is not commutative, the side on which you multiply by A⁻¹ matters. For AX = B, the solution is X = A⁻¹B (left-multiply). For XA = B, the solution is X = BA⁻¹ (right-multiply). These give different results. Never switch the order without justification.

Example 5.5.1
Solving a matrix equation
  • ProblemSolve for X: [[3, 1], [2, 5]] · X = [[7], [8]]
  • ThinkThis is AX = B. We found A⁻¹ = (1/13)[[5, −1], [−2, 3]] in Example 5.4.1. Left-multiply both sides by A⁻¹.
  • Calculate X = A⁻¹B = (1/13) · [[5, −1], [−2, 3]] · [[7], [8]] = (1/13) · [[(5)(7) + (−1)(8)], [(−2)(7) + (3)(8)]] = (1/13) · [[35 − 8], [−14 + 24]] = (1/13) · [[27], [10]] = [[27/13], [10/13]]
  • CheckVerify AX = B: [[3, 1], [2, 5]] · [[27/13], [10/13]] = [[81/13 + 10/13], [54/13 + 50/13]] = [[91/13], [104/13]] = [[7], [8]] ✓
  • InterpretThe solution X = [[27/13], [10/13]] is the unique vector satisfying both equations encoded in the matrix system.
Answer: X = [[27/13], [10/13]] ≈ [[2.08], [0.77]]

Solving Ax = b

The most important application of matrix inverses in this chapter is solving the linear system Ax = b, where A is a known n × n matrix, b is a known vector, and x is the unknown vector. If A is invertible, the unique solution is:

x = A⁻¹b

This is a direct, explicit formula for the solution. Once you have A⁻¹, solving the system for any right-hand side b becomes a single matrix-vector multiplication.

When the Inverse Method Is UsefulWhen Row Reduction Is Preferred
Solving Ax = b for many different vectors b with the same ASolving the system only once
When A⁻¹ is already known or easy to computeWhen A is large (fewer operations)
When you want an explicit formula for the solutionWhen numerical precision is important
Example 5.6.1
Using the inverse to solve a system
  • ProblemSolve the system: 3x₁ + x₂ = 10 and 2x₁ + 5x₂ = 4
  • RepresentWrite as Ax = b where A = [[3, 1], [2, 5]], x = [[x₁], [x₂]], b = [[10], [4]].
  • Calculate x = A⁻¹b = (1/13) · [[5, −1], [−2, 3]] · [[10], [4]] = (1/13) · [[(5)(10) + (−1)(4)], [(−2)(10) + (3)(4)]] = (1/13) · [[50 − 4], [−20 + 12]] = (1/13) · [[46], [−8]] = [[46/13], [−8/13]]
  • Check Eq. 1: 3(46/13) + 1(−8/13) = 138/13 − 8/13 = 130/13 = 10 ✓ Eq. 2: 2(46/13) + 5(−8/13) = 92/13 − 40/13 = 52/13 = 4 ✓
  • InterpretThe solution x₁ = 46/13 ≈ 3.54 and x₂ = −8/13 ≈ −0.62 is the unique point satisfying both linear equations. Because A is invertible, this is the only solution.
Answer: x₁ = 46/13, x₂ = −8/13
Practice 5.5–5.6System-Solving with Inverses

Write each system as Ax = b. Find A⁻¹ and use it to solve. Then solve again for the second right-hand side provided.

  1. 2x₁ + 3x₂ = 7 and x₁ + 2x₂ = 4. Then solve again for b = [[0], [1]].
  2. 4x₁ − x₂ = 11 and 2x₁ + x₂ = 7. Then solve again for b = [[1], [3]].
  3. 3x₁ + 5x₂ = 1 and x₁ + 2x₂ = 0.
  4. Solve XA = B for X, where A = [[2, 1], [1, 3]] and B = [[1, 0], [0, 1]]. What does this X represent?
Sections 5.7 – 5.8
Finding Inverses by Row Reduction and Elementary Matrices
Augmented Matrix Method · Detecting Singular Matrices · Elementary Matrices

Finding Inverses with Row Reduction

For matrices larger than 2 × 2, the direct formula approach is not practical. Instead, we use a systematic method based on row reduction. The key idea is to track two processes simultaneously: reducing A to the identity while applying the same operations to an identity matrix beside it.

The Row Reduction Method for A⁻¹

Step 1. Form the augmented matrix [A | Iₙ], appending the identity matrix to the right of A.

Step 2. Apply elementary row operations to the entire augmented matrix.

Step 3. The goal is to reduce A (the left side) to the identity matrix Iₙ.

Step 4. When this is achieved, the right side will contain A⁻¹:

[A | I] →(row operations)→ [I | A⁻¹]

If the left side cannot be reduced to I — if it produces a row of zeros — then A is singular and has no inverse.

Example 5.7.1
Finding the inverse of a 3 × 3 matrix by row reduction
  • ProblemFind the inverse of A = [[1, 2, 0], [0, 1, 3], [0, 0, 1]].
  • ThinkForm [A | I] and row-reduce until the left side becomes I.
  • Calculate Starting augmented matrix [A | I]: [ 1 2 0 | 1 0 0 ] [ 0 1 3 | 0 1 0 ] [ 0 0 1 | 0 0 1 ] R₂ ← R₂ − 3R₃: [ 1 2 0 | 1 0 0 ] [ 0 1 0 | 0 1 −3 ] [ 0 0 1 | 0 0 1 ] R₁ ← R₁ − 2R₂: [ 1 0 0 | 1 −2 6 ] [ 0 1 0 | 0 1 −3 ] [ 0 0 1 | 0 0 1 ] Left side = I, so right side = A⁻¹.
  • CheckVerify one column of AA⁻¹: A · [[1], [0], [0]] = [[1], [0], [0]] ✓ A · [[-2], [1], [0]] = [[-2+2], [1+0], [0]] = [[0], [1], [0]] ✓
  • InterpretThe upper-triangular structure of A made the row reduction clean, but the method works for any invertible square matrix.
Answer: A⁻¹ = [[1, −2, 6], [0, 1, −3], [0, 0, 1]]
Example 5.7.2
Detecting a singular matrix during row reduction
  • ProblemAttempt to find the inverse of B = [[1, 2, 3], [2, 4, 6], [0, 1, 1]].
  • Calculate [ 1 2 3 | 1 0 0 ] [ 2 4 6 | 0 1 0 ] [ 0 1 1 | 0 0 1 ] R₂ ← R₂ − 2R₁: [ 1 2 3 | 1 0 0 ] [ 0 0 0 | −2 1 0 ] [ 0 1 1 | 0 0 1 ] Row 2 is all zeros on the left side. The left portion cannot be reduced to I.
  • InterpretThe matrix B is singular — it has no inverse. Row 2 of B was exactly twice row 1. The two rows were linearly dependent and carried no additional information. B collapses space and this process cannot be reversed.
Answer: B is singular. No inverse exists.

Elementary Matrices as an Introduction

Every row operation applied during row reduction can be represented as multiplication by a special matrix called an elementary matrix. There are three types, each corresponding to one of the three allowed row operations.

Row OperationElementary Matrix Construction
Scale a row by nonzero constant cIdentity matrix with one diagonal entry replaced by c
Swap two rowsIdentity matrix with two rows exchanged
Add a multiple of one row to anotherIdentity matrix with one off-diagonal entry set to c
Key Property of Elementary Matrices

If E is an elementary matrix, then EA is the result of applying the corresponding row operation to A. Elementary matrices are always invertible. Their inverses are also elementary matrices corresponding to the reverse operation.

The row reduction sequence can be written as: Eₖ···E₂E₁A = I, which means Eₖ···E₂E₁ = A⁻¹. The right side of the augmented matrix tracks this product automatically.

Example 5.8.1
Constructing an elementary matrix
  • ProblemWrite the 3 × 3 elementary matrix that adds twice row 1 to row 2.
  • ThinkStart with I₃ and place the multiplier 2 in the position that targets row 2 using row 1 — that is, row 2, column 1.
  • Calculate I₃ = [[1, 0, 0], E = [[1, 0, 0], [0, 1, 0], [2, 1, 0], [0, 0, 1]] [0, 0, 1]]
  • CheckLet A have rows r₁, r₂, r₃. Then EA has rows r₁, 2r₁ + r₂, r₃ — exactly what the operation requires. ✓
  • InterpretElementary matrices make the connection between row operations and matrix multiplication explicit. Each row operation is a left-multiplication — a clean structural insight linking the procedure of row reduction to the algebra of matrix products.
Answer: E = [[1, 0, 0], [2, 1, 0], [0, 0, 1]]
Practice 5.7–5.8Row Reduction and Elementary Matrices
  1. Use row reduction on [A | I] to find A⁻¹:
    (a) A = [[1, 0, 2], [0, 1, 0], [3, 0, 1]]
    (b) A = [[2, 1, 0], [1, 0, 1], [0, 1, 1]]
  2. Attempt to find the inverse of B = [[1, 2, 1], [3, 6, 3], [0, 1, 2]]. What happens, and what does this tell you?
  3. Write the 3 × 3 elementary matrix that: (a) swaps rows 1 and 3; (b) scales row 2 by −4; (c) adds 3 times row 3 to row 1.
  4. For your answer in 3(c), describe what row operation its inverse elementary matrix performs.
Sections 5.9 – 5.12
Singular Matrices, Invertibility Theorem, Applied Systems, and Computational Judgment
Singular Matrices · Invertible Matrix Theorem · Applied Systems · When Not to Use Inverses

Singular Matrices

A singular matrix is a square matrix that has no inverse. We have seen singular matrices arise when rows are linearly dependent, when row reduction produces a row of zeros, and when the determinant is zero. Here we gather the key conditions together.

Signs of Singularity — Any One Is Enough

A square matrix A is singular if any of the following holds:

1. Its determinant equals zero: det(A) = 0

2. Its rows are linearly dependent (one row is a combination of others)

3. Its columns are linearly dependent

4. Row reduction of [A | I] produces a row of zeros on the left

5. The equation Ax = 0 has a nonzero solution

6. The equation Ax = b either has no solution or infinitely many solutions for some b

These conditions are all equivalent. Chapter 10 will explain the structure that links them.

Geometric Picture of a Singular Matrix

Imagine a transformation that takes a two-dimensional plane and maps it onto a single line. Every point on the plane gets sent to a point on that line. If you look at any output point and ask "where did this come from?", the answer is an entire line of input points — infinitely many points all map to the same output. You cannot reverse this process. Singular matrices are exactly the matrices that perform such a collapse: in two dimensions, they collapse a plane to a line or a point; in three dimensions, a 3D space to a plane, a line, or a point.

Invertibility and Unique Solutions

There is a deep connection between the invertibility of a matrix and the nature of solutions to the system Ax = b. The following theorem ties together many ideas and will grow as we develop more tools.

Invertible Matrix Theorem — Partial Statement

Let A be an n × n matrix. The following statements are equivalent — they are all true at the same time or all false at the same time:

1. A is invertible.

2. The equation Ax = b has a unique solution for every b ∈ ℝⁿ.

3. The equation Ax = 0 has only the trivial solution x = 0.

4. The reduced row echelon form of A is Iₙ.

5. det(A) ≠ 0.

This theorem will expand as we study rank, null space, span, and independence in Chapters 9–10.

Example 5.10.1
Connecting invertibility to solution behavior
  • ProblemLet A = [[2, −1], [−4, 2]]. (a) Is A invertible? (b) Solve Ax = [[1], [−2]]. (c) Solve Ax = [[1], [3]].
  • Calculate (a) det(A) = (2)(2) − (−1)(−4) = 4 − 4 = 0 A is singular.
  • Calculate (b) Augmented matrix: [ 2 −1 | 1 ] [−4 2 | −2] R₂ ← R₂ + 2R₁: [ 2 −1 | 1 ] [ 0 0 | 0 ] Row of zeros on left — infinitely many solutions. With free variable x₂ = t: x₁ = (1 + t)/2
  • Calculate (c) Augmented matrix: [ 2 −1 | 1 ] [−4 2 | 3 ] R₂ ← R₂ + 2R₁: [ 2 −1 | 1 ] [ 0 0 | 5 ] Last row reads 0 = 5 — impossible. No solution.
  • InterpretBecause A is singular, the system Ax = b has different behaviors depending on b: sometimes infinitely many solutions, sometimes no solutions, never exactly one. Invertibility is precisely the condition that rules out these irregular behaviors.
Answer: A is singular. System (b) has infinitely many solutions; system (c) has no solution.

Inverses in Applied Systems

Matrix inverses appear naturally whenever a linear system must be solved repeatedly for different right-hand sides. The following example shows how the inverse method simplifies repeated computation in applied contexts.

The Leontief Input-Output Model

In a simple economic model, suppose an economy has two sectors and the production of each requires inputs from both. Let A encode how much each sector requires to produce one unit of output. Given a vector d of final demand, the production vector x satisfies (I − A)x = d. If (I − A) is invertible, the solution is x = (I − A)⁻¹d. The matrix (I − A)⁻¹ is computed once, and production for any demand vector follows by a single multiplication.

Example 5.11.1
An applied linear system with repeated right-hand sides
  • ProblemA factory produces two products X and Y. The production constraints are: 5x₁ + 2x₂ = 120 and 3x₁ + 4x₂ = 96. Find the production levels. Then find new levels if the right-hand side changes to b = [[200], [160]].
  • RepresentA = [[5, 2], [3, 4]], b₁ = [[120], [96]].
  • Calculate Step 1 — Find A⁻¹: det(A) = (5)(4) − (2)(3) = 20 − 6 = 14 A⁻¹ = (1/14) · [[4, −2], [−3, 5]] Step 2 — Solve for b₁ = [[120], [96]]: x₁ = A⁻¹b₁ = (1/14) · [[4·120 − 2·96], [−3·120 + 5·96]] = (1/14) · [[480 − 192], [−360 + 480]] = (1/14) · [[288], [120]] ≈ [[20.6], [8.6]] Step 3 — Solve for b₂ = [[200], [160]]: x₂ = A⁻¹b₂ = (1/14) · [[4·200 − 2·160], [−3·200 + 5·160]] = (1/14) · [[480], [200]] ≈ [[34.3], [14.3]]
  • InterpretOnce A⁻¹ was computed, answering the second production question required only a single matrix-vector multiplication. This efficiency is the main practical advantage of the inverse method for repeated systems.
Answer: For b₁: ≈ 20.6 units of X, 8.6 units of Y. For b₂: ≈ 34.3 units of X, 14.3 units of Y.

When Not to Use an Inverse Computationally

Although the inverse method provides clean, explicit solutions, it is not always the most efficient approach for computation. Students should develop good computational judgment.

MethodOperation Count (Approximate)Best Used When
Row reduce [A | b]≈ (2/3)n³ operationsSolving a single system; numerically safer for large n
Compute A⁻¹ then multiply≈ 2n³ + n² operationsMany systems with the same A; explicit formula needed
Numerical Stability

In large computational problems, computing A⁻¹ explicitly can accumulate rounding errors. Modern numerical software (MATLAB, NumPy, Wolfram Alpha) solves linear systems using LU decomposition and backward substitution rather than explicitly forming the inverse. These methods are more numerically stable. Use inverses for conceptual understanding and for problems with repeated right-hand sides, but rely on row reduction or numerical methods for large-scale single systems.

MGU Library Connection
  • Linear Algebra Technology Guide — Appendix Q of this textbook
  • See Appendix Q for guidance on using calculators and software to compute inverses, check numerical error, and solve large systems responsibly
  • Scientific Computing series for LU decomposition and numerical methods
Practice 5.9–5.12Invertibility, Structure, and Applications
  1. For each matrix, determine whether it is invertible or singular, and state at least two reasons.
    (a) [[2, 5], [4, 10]]    (b) [[7, −3], [2, 1]]    (c) [[k, 2], [3, k]] — for what values of k is this singular?
  2. A matrix A is 3 × 3 and row reduction of [A | I] produces the row [0, 0, 0 | 3, −1, 2] at some point. What can you conclude? Explain.
  3. If Ax = 0 has the nontrivial solution x = [[1], [−2]], is A invertible? Justify your answer.
  4. A company produces two goods. The coefficient matrix is A = [[3, 1], [2, 4]]. Find A⁻¹. Then find production vectors for demands b = [[12], [10]], b = [[20], [16]], and b = [[5], [8]] without recomputing A⁻¹.

Common Mistakes, Summary, and Review

Common Inverse Matrix Mistakes

Mistake 1 — Assuming every square matrix has an inverse

Not true. Only invertible (nonsingular) matrices have inverses. Before computing, check whether det(A) ≠ 0, or verify that row reduction of [A | I] produces no zero row on the left.

Mistake 2 — Writing A⁻¹ = 1/A
A⁻¹ = 1/A = "one over the matrix"

The notation A⁻¹ means "the specific matrix such that AA⁻¹ = I." It is a label for the inverse, not a fraction. Matrices cannot be divided.

Mistake 3 — Multiplying on the wrong side
For XA = B, solution is X = A⁻¹B

Correct: For AX = B, solution is X = A⁻¹B (left-multiply). For XA = B, solution is X = BA⁻¹ (right-multiply). These are different because matrix multiplication is not commutative.

Mistake 4 — Using the 2 × 2 formula for larger matrices

The formula A⁻¹ = (1/(ad−bc))[[d, −b], [−c, a]] applies only to 2 × 2 matrices. For 3 × 3 or larger, use row reduction on [A | I].

Mistake 5 — Wrong inverse of a product
(AB)⁻¹ = A⁻¹B⁻¹

Correct: (AB)⁻¹ = B⁻¹A⁻¹. The order is reversed — think of the socks-and-shoes analogy. To undo A then B, first undo B, then undo A.

Mistake 6 — Failing to verify the inverse

After computing A⁻¹, always check that AA⁻¹ = I. This takes one matrix multiplication and catches arithmetic errors before they propagate into subsequent work.

Mistake 7 — Computing an inverse when row reduction would suffice

If you only need to solve one system, computing the full inverse first is unnecessary extra work. Row-reduce [A | b] directly. Computing A⁻¹ costs roughly three times more operations.

Mistake 8 — Proceeding after finding det(A) = 0

If det(A) = 0 or row reduction produces a zero row, stop immediately. There is no inverse. Attempting to continue will produce meaningless results.

Preparing for Determinants

Throughout this chapter, the determinant has appeared as the key test: a matrix is invertible if and only if its determinant is nonzero. In Chapter 6, we will develop determinants fully. We will see that determinants measure how a linear transformation scales area (in 2D) and volume (in 3D), encode orientation — whether a transformation preserves or reverses spatial orientation — and provide a formula for computing inverses (Cramer's Rule).

Understanding determinants will complete our picture of matrix invertibility and prepare us for eigenvalues in Chapter 12, where determinants appear again in the characteristic polynomial.

Bridge to Chapter 6

The core question from this chapter — "Is a matrix invertible?" — will be answered in Chapter 6 by asking: "Is the determinant nonzero?" These two questions are equivalent, and Chapter 6 explains the geometric reasoning behind the determinant's remarkable power to encode area, volume, and structural collapse in a single number.

Chapter Summary

Key Terms Review

inverse matrix
The matrix A⁻¹ satisfying AA⁻¹ = A⁻¹A = I. Represents mathematical undoing of the transformation encoded by A.
invertible matrix
A square matrix for which an inverse exists. Also called nonsingular. Equivalent to det(A) ≠ 0 and RREF = I.
singular matrix
A square matrix with no inverse. Its determinant equals zero; its rows are linearly dependent; it collapses dimension.
identity matrix
The n × n matrix Iₙ with 1s on the main diagonal and 0s elsewhere. Satisfies AIₙ = IₙA = A for any compatible A.
determinant
The scalar ad − bc for a 2 × 2 matrix. Tests invertibility: the matrix is invertible if and only if the determinant is nonzero.
elementary matrix
A matrix formed by applying one row operation to the identity. Left-multiplying by an elementary matrix applies that row operation.
augmented matrix [A | I]
The matrix formed by appending the identity matrix to the right of A. Used in row reduction to find A⁻¹.
unique solution
The one and only vector x satisfying Ax = b. Exists for every b precisely when A is invertible.
reversible transformation
A transformation whose effect can be completely undone. Corresponds to an invertible matrix.
matrix equation
An equation of the form AX = B or XA = B where A, X, B are matrices. Solved by multiplying by A⁻¹ on the appropriate side.
noninvertible matrix
Synonym for singular matrix. A square matrix with dependent rows, zero determinant, and no inverse.

Concept Review Questions

  1. State the definition of the inverse of a matrix precisely. What two conditions must hold?
  2. Why do we require both AA⁻¹ = I and A⁻¹A = I in the definition?
  3. Describe the geometric meaning of an inverse matrix for a transformation in two dimensions.
  4. What condition on a 2 × 2 matrix determines whether it has an inverse? What happens when this condition fails?
  5. What does it mean for a matrix to be singular? Give an example with an explanation.
  6. Why does the order of multiplication matter when solving AX = B compared to XA = B?
  7. State the rule for the inverse of a product: (AB)⁻¹ = ? Why is the order reversed?
  8. Describe the row reduction method for finding A⁻¹. What are you looking for on each side?
  9. If row reduction of [A | I] produces a row of zeros on the left, what does this mean?
  10. State three equivalent conditions from the Invertible Matrix Theorem.
  11. Give a geometric description of why a singular matrix cannot have an inverse.
  12. In what situations is it computationally efficient to use the inverse to solve a system? When is it not?

Skill Practice

Part AInverse Matrix Practice

Find the inverse of each matrix, if it exists. State whether the matrix is invertible or singular.

  1. [[4, 1], [2, 3]]
  2. [[6, 3], [2, 1]]
  3. [[−2, 5], [1, −3]]
  4. [[0, 1], [1, 0]]
  5. [[5, 0], [0, 3]]
  6. [[1, 2], [3, 6]]

Use row reduction to find the inverse:

  1. [[1, 0, 2], [0, 1, 0], [3, 0, 1]]
  2. [[2, 1, 0], [1, 0, 1], [0, 1, 1]]
Part BMatrix Equation Practice
  1. Solve [[4, 1], [2, 3]] · X = [[5], [1]].
  2. Solve X · [[3, 1], [1, 2]] = [[1, 0], [0, 1]]. What does this X represent?
  3. Solve [[−2, 5], [1, −3]] · X = [[1, 2], [0, 1]].
  4. If A = [[5, 2], [3, 4]], find A⁻¹ and use it to solve Ax = [[9], [7]].
Part CInvertibility and Systems
  1. Write each system as Ax = b. Find A⁻¹ and use it to solve. Then solve again for b = [[0], [1]] using the same inverse.
    (a) 2x₁ + 3x₂ = 7 and x₁ + 2x₂ = 4
    (b) 4x₁ − x₂ = 11 and 2x₁ + x₂ = 7
  2. For each matrix, compute the determinant and state whether it is invertible or singular. For the parameter k case, find all values of k that make the matrix singular.
    (a) [[2, 5], [4, 10]]    (b) [[7, −3], [2, 1]]    (c) [[k, 2], [3, k]]

Applications

  1. Resource Allocation. A company produces two types of furniture: chairs and tables. Each chair requires 3 units of wood and 2 units of labor. Each table requires 5 units of wood and 4 units of labor.
    (a) Write this as a matrix equation Ax = b with b = [[110], [80]] (available wood and labor).
    (b) Compute A⁻¹.
    (c) Find the production levels.
    (d) Resources change to [[140], [100]]. Find new production using A⁻¹.
  2. Cryptography Concept. A simple encoding scheme uses a matrix to scramble a message. Given encoded vector b = [[17], [11]] and encoding matrix A = [[3, 2], [1, 1]], find the original message vector x by computing A⁻¹b.
  3. Multiple Right-Hand Sides. Matrix A = [[2, 1], [1, 3]] must be solved for three right-hand sides: b₁ = [[4], [5]], b₂ = [[0], [1]], b₃ = [[−2], [3]]. Compute A⁻¹ once and find all three solution vectors.

Error Analysis

Each solution below contains an error. Identify the error and write the correct solution.

Problem 1
"The inverse of A = [[2, 3], [1, 4]] is A⁻¹ = (1/5) · [[2, 3], [1, 4]]"

What is the error in both the formula application and the result? What is the correct inverse?

Problem 2
"To solve XA = B, multiply both sides on the right by A⁻¹ to get X = A⁻¹B."

Identify the error. What is the correct solution procedure and answer?

Problem 3
"Since (AB)⁻¹ = A⁻¹B⁻¹, I can compute each inverse separately and multiply in the same order."

What is the error? State the correct rule and explain why order reverses.

Problem 4
"After finding det(A) = 0 during row reduction, the inverse just doesn't simplify cleanly — let me keep reducing."

What is the fundamental error here? What should be concluded and done instead?

Problem 5
Student attempts to invert A = [[1, 2, 3], [2, 4, 6], [3, 6, 9]] and gets a matrix answer after several row operations.

Why is this impossible? Identify the structure that guarantees singularity before any row operations are needed.

Chapter 5 Checkpoint

Chapter 5 Checkpoint
Complete without assistance — assesses all key skills and concepts from Chapter 5
Part A — Short Answer
  1. State the definition of the inverse of a matrix. What two equations must hold?
  2. What is the inverse of the identity matrix Iₙ?
  3. True or False: If A and B are both invertible, then (AB)⁻¹ = A⁻¹B⁻¹. Justify your answer.
  4. What does it mean if det(A) = 0?
  5. What augmented matrix do you form to find A⁻¹ by row reduction?
Part B — Computation
  1. Find the inverse of A = [[5, 3], [2, 1]] and verify your answer by checking AA⁻¹ = I.
  2. Use your inverse from problem 6 to solve Ax = [[11], [4]].
  3. Use row reduction to find the inverse of B = [[1, 1, 0], [0, 1, 1], [1, 0, 1]].
  4. Determine whether C = [[3, −6], [−1, 2]] is invertible. If not, explain why.
Part C — Reasoning
  1. Explain in your own words why (AB)⁻¹ = B⁻¹A⁻¹ and not A⁻¹B⁻¹.
  2. Give a geometric description of why a singular matrix cannot have an inverse.
  3. A colleague says: "I can always use the matrix inverse to solve systems, since it gives an exact formula." Write a two-sentence reply identifying when this advice is good and when it is not.
Part D — Application
  1. A network has two nodes. The relationship between input flows x₁, x₂ and output flows b₁, b₂ is: 2x₁ + x₂ = b₁ and x₁ + 3x₂ = b₂. Find the input vector when b = [[10], [15]]. Then find it when b = [[5], [20]], reusing your inverse.
Looking Ahead — Bridge Note
Chapter 6: Determinants and Chapter 7: Linear Transformations

Chapter 6 — Determinants will show exactly why det(A) ≠ 0 is the condition for invertibility. Determinants measure area and volume scaling, and the relationship to invertibility becomes clear through geometry. The formula for inverses using cofactors (Cramer's Rule) gives an explicit connection between determinants and the entries of A⁻¹.

Chapter 7 — Linear Transformations will show that invertible matrices correspond exactly to reversible transformations — bijections from ℝⁿ to ℝⁿ that preserve linear structure. Every concept from this chapter will reappear there in a richer geometric language.

Calculus and Multivariable Calculus use matrix inverses through the Jacobian matrix, which generalizes the derivative to vector-valued functions. The question "is the Jacobian invertible near a point?" determines whether coordinate changes and the Inverse Function Theorem can be applied.

Differential Equations use matrix exponentials and inverse matrices to build general solutions to systems of differential equations. Understanding A⁻¹ is prerequisite for these methods.

Data Science and Machine Learning use matrix inverses in regression (via the normal equations), in signal processing, and in the training and structure of linear models. The formula (AᵀA)⁻¹Aᵀb that arises in least squares depends directly on invertibility.

MGU Library Connection
  • Matrix Notation Reference — Appendix D of this textbook
  • Row Reduction Reference — Appendix E of this textbook
  • Calculus Readiness Bridge Guide — Appendix R: preview of Jacobian and inverse function ideas
  • Linear Algebra Technology Guide — Appendix Q: software for computing inverses and solving systems
  • Calculus, Chapter on Multivariable Differentiation: Jacobian matrices and the Inverse Function Theorem
  • Data Science Foundations: regression, normal equations, and least squares
  • MGU Dictionary entries: inverse matrix, singular matrix, invertibility, determinant, elementary matrix