Chapter 2 — Matrix operations and determinant in small systems¶
In the previous chapter we wrote linear systems as \(A\mathbf{x}=\mathbf{b}\). Now we detail the operations that support this notation: vector addition, matrix-vector product, matrix-matrix product, and a first determinant interpretation for \(2\times 2\) systems.
2.1 Basic operations with vectors¶
Consider
Addition:
Linear combination with scalar \(\lambda=2\):
These operations appear naturally in elimination steps and solution checks.
2.2 Matrix-vector product as a compact system¶
If
then
Each matrix row generates one linear equation, which explains why \(A\mathbf{x}=\mathbf{b}\) describes a full system.
Worked example¶
If \(\mathbf{x}=\begin{bmatrix}2\\1\end{bmatrix}\), then
So \(\mathbf{x}\) solves the system with right-hand side \(\mathbf{b}=\begin{bmatrix}5\\1\end{bmatrix}\).
2.3 Matrix-matrix product and composition¶
For compatible matrices,
In a \(2\times 2\) example,
This product is central for computational pipelines of successive linear operations.
2.4 Determinant in \(2\times 2\): invertibility intuition¶
For
the determinant is
For \(2\times 2\) systems, it gives a quick uniqueness test.
| Situation | Condition on \(\det(A)\) | Consequence for \(A\mathbf{x}=\mathbf{b}\) |
|---|---|---|
| Invertible matrix | \(\det(A)\neq 0\) | Unique solution |
| Singular matrix | \(\det(A)=0\) | No unique solution (none or infinitely many) |
Short example¶
Let
Then
The rows are proportional, so the equations are not independent. Geometrically, this corresponds to parallel or coincident lines in the plane.
2.5 Connection back to Volume 2¶
In Volume 2, the crossing of two linear functions appeared as an intersection point. Here, the same problem is rewritten in matrix form.
If
then
and
so the system has one unique solution, consistent with the unique intersection.
2.6 Chapter wrap-up¶
Linear algebra makes multi-variable models compact and operational. Vectors and matrices do not replace geometric intuition; they formalize it so it can scale to larger computational problems.