Matrix View of a System of Linear Equations
Core Idea
Recall from Column View of a System of Linear Equations that a general system of linear equations can be represented as . Here, could be viewed as a vector that gets transformed to using the matrix .
This is the most abstract but perhaps most important view for machine learning. Here, we see the entire matrix A as an operator or function that transforms a vector x from an input space into a vector b in an output space.
A acts on x to produce b.
Solving the system means finding the vector in the input space that gets mapped to the vector in the output space after being transformed by . This is equivalent to “inverting” the transformation, which is why the solution is written as (if the inverse exists).
The question this view answers is: “Which input vector , when transformed by , results in the output vector ?”
Conclusion: Geometrically, a matrix applies a linear transformation to space. This means it can stretch, shrink, rotate, reflect, or shear space, but it keeps grid lines parallel and evenly spaced, and the origin always stays in the same place. The matrix view is about understanding the geometry of this mapping from an input space to an output space.
Connections
- Forward Links: Row View of a System of Linear Equations, Column View of a System of Linear Equations
- Backward Links: System of Linear Equations, Matrix