Verifying Solutions
& Matrix Identities
Learn how to check solutions to linear systems and verify fundamental matrix identities that form the backbone of linear algebra.
What Does Verify Mean?
In linear algebra, verifying means substituting a proposed answer back into the original equation and confirming both sides are equal. If you claim \(\mathbf{x}\) solves \(A\mathbf{x} = \mathbf{b}\), you multiply \(A\) by \(\mathbf{x}\) and check that the result equals \(\mathbf{b}\).
Why Verification Matters
Two Types of Verification
Core Rule: Checking \(A\mathbf{x} = \mathbf{b}\)
Key Matrix Identities
Caution: Order Matters
| Scalars (numbers) | Matrices | |
|---|---|---|
| Commutativity | \(ab = ba\) ✓ Always | \(AB \neq BA\) ✕ Usually |
| Inverse of product | \((ab)^{-1} = a^{-1}b^{-1}\) | \((AB)^{-1} = B^{-1}A^{-1}\) (reversed!) |
| Transpose of product | N/A | \((AB)^T = B^T A^T\) (reversed!) |
| Zero product rule | \(ab=0 \Rightarrow a=0 \text{ or } b=0\) | \(AB=O\) does not imply \(A=O \text{ or } B=O\) |
Step-by-Step Verification
Example 1: Checking \(A\mathbf{x} = \mathbf{b}\)
Verify that \(\mathbf{x} = \begin{pmatrix} 2 \\ -1 \end{pmatrix}\) is a solution to:
$$\begin{pmatrix} 3 & 1 \\ 2 & -4 \end{pmatrix}\begin{pmatrix} 2 \\ -1 \end{pmatrix} = \begin{pmatrix} 5 \\ 8 \end{pmatrix}$$
Example 2: A \(3 \times 3\) System
Verify \(\mathbf{x} = \begin{pmatrix} 1 \\ 0 \\ -2 \end{pmatrix}\) solves \(A\mathbf{x} = \mathbf{b}\) where:
$$A = \begin{pmatrix} 1 & 2 & 3 \\ 0 & 1 & -1 \\ 4 & 0 & 2 \end{pmatrix}, \quad \mathbf{b} = \begin{pmatrix} -5 \\ 2 \\ 0 \end{pmatrix}$$
Example 3: Verifying \(AA^{-1} = I\)
Let \(A = \begin{pmatrix} 2 & 1 \\ 5 & 3 \end{pmatrix}\). Its inverse is \(A^{-1} = \begin{pmatrix} 3 & -1 \\ -5 & 2 \end{pmatrix}\). Verify \(AA^{-1} = I\).
Example 4: \((AB)^T = B^T A^T\)
Let \(A = \begin{pmatrix} 1 & 2 \\ 3 & 4 \end{pmatrix}\) and \(B = \begin{pmatrix} 0 & 5 \\ 1 & 6 \end{pmatrix}\). Verify the transpose-of-product identity.
Visualizing the Verification Flow
Common Mistakes
Summary Table
| Task | What You Do | What You Show |
|---|---|---|
| Check \(A\mathbf{x}=\mathbf{b}\) | Multiply \(A\) by \(\mathbf{x}\) | Result equals \(\mathbf{b}\) |
| Verify \(AA^{-1}=I\) | Multiply \(A\) by \(A^{-1}\) | Result is the identity matrix \(I\) |
| Verify \((AB)^T = B^T A^T\) | Compute both sides | Both sides are equal |
| Verify \((AB)^{-1} = B^{-1}A^{-1}\) | Compute both sides | Both sides are equal |
Question 1 of 5
To verify that \(\mathbf{x}\) is a solution to \(A\mathbf{x} = \mathbf{b}\), what should you do?
Question 2 of 5
Given \(A = \begin{pmatrix} 1 & 3 \\ 2 & 5 \end{pmatrix}\) and \(\mathbf{x} = \begin{pmatrix} 4 \\ -1 \end{pmatrix}\), what is \(A\mathbf{x}\)?
Question 3 of 5
What is \((AB)^{-1}\) equal to?
Question 4 of 5
If \(A = \begin{pmatrix} 2 & 0 \\ 0 & 3 \end{pmatrix}\), what is \(AI\) where \(I\) is the \(2 \times 2\) identity?
Question 5 of 5
If \(AB = O\) (the zero matrix), can we conclude that \(A = O\) or \(B = O\)?