Solving \(A\mathbf{x} = \mathbf{b}\)
via Inverses
Learn how to use the matrix inverse to solve systems of linear equations: find \(\mathbf{x} = A^{-1}\mathbf{b}\) directly and understand when this method works.
What Is \(A\mathbf{x} = \mathbf{b}\)?
A system of linear equations can be written in one compact matrix equation. The matrix \(A\) holds the coefficients, \(\mathbf{x}\) holds the unknowns, and \(\mathbf{b}\) holds the constants on the right-hand side.
What Is a Matrix Inverse?
For a square matrix \(A\), its inverse \(A^{-1}\) is the unique matrix satisfying:
Why Use Inverses to Solve Systems?
Think of it like solving \(5x = 15\) in ordinary algebra. You divide both sides by 5, which is the same as multiplying by the reciprocal \(\frac{1}{5}\). The matrix inverse is the matrix version of a reciprocal.
The Inverse Solution Theorem
When Does \(A^{-1}\) Exist?
A square matrix \(A\) is invertible (also called nonsingular) if and only if its determinant is nonzero:
Invertible vs Singular
| Invertible (\(\det \neq 0\)) | Singular (\(\det = 0\)) | |
|---|---|---|
| \(A^{-1}\) exists? | Yes | No |
| Solutions to \(A\mathbf{x}=\mathbf{b}\) | Exactly one | None or infinitely many |
| Columns of \(A\) | Linearly independent | Linearly dependent |
| Rank | Full rank (\(n\)) | Less than \(n\) |
| Geometric view | Maps to all of \(\mathbb{R}^n\) | Collapses a dimension |
The \(2 \times 2\) Inverse Formula
For a \(2 \times 2\) matrix, there is a direct formula:
How to Apply the Method
Example 1: \(2 \times 2\) System
Solve the system: \(2x + 3y = 8\), \(x + 2y = 5\).
Example 1: Solution
Example 2: Larger Coefficients
Solve: \(4x - y = 7\), \(3x + 2y = 17\).
Example 3: A \(3 \times 3\) System
Solve: \(x + y + z = 6\), \(2y + 5z = -4\), \(2x + 5y - z = 27\).
Geometric Interpretation
Common Mistakes
Summary: Methods for Solving \(A\mathbf{x} = \mathbf{b}\)
| Method | Best For | Limitation |
|---|---|---|
| \(A^{-1}\mathbf{b}\) | Small systems, multiple \(\mathbf{b}\) vectors | Only if \(A\) is invertible |
| Row Reduction | Any system, any size | Labor-intensive for large matrices |
| Cramer's Rule | Small systems with determinants | Very slow for \(n > 3\) |
| LU Decomposition | Large systems, repeated solves | Requires factorization step |
Question 1 of 5
If \(A\) is an invertible matrix, the solution to \(A\mathbf{x} = \mathbf{b}\) is:
Question 2 of 5
Given \(A = \begin{pmatrix} 3 & 1 \\ 5 & 2 \end{pmatrix}\), what is \(\det(A)\)?
Question 3 of 5
If \(A = \begin{pmatrix} 3 & 1 \\ 5 & 2 \end{pmatrix}\) and \(\mathbf{b} = \begin{pmatrix} 4 \\ 7 \end{pmatrix}\), what is \(\mathbf{x} = A^{-1}\mathbf{b}\)?
Question 4 of 5
A matrix \(A\) has \(\det(A) = 0\). Which statement is true?
Question 5 of 5
What is the main advantage of computing \(A^{-1}\) once, rather than using row reduction each time?