Linear System of Equations
where is a matrix, is a column vector, and is a column vector.
If is a square matrix, we have exactly as many knowns as unknowns, and if is invertible , we can solve for : .
What if is not square?
Consider where , there are two cases:
For overdetermined systems, (tall skinny ):
- Too many equations, no exact solution typically exists
- Least squares finds that minimizes (error minimization)
For underdetermined systems (short fat ):
- Infinite solutions exist that satisfy exactly
- Minimum norm finds the with smallest among these solutions (energy minimization)
These solutions can be found with the help of the Moore-Penrose pseudo inverse .
A solution of only exists if is in the column space of .
– the null space of – is the orthogonal complement to the column space, so if the vector was in , there would be no linear combintation of the columns of that yields , i.e. no solution to the system of equations.
Link to originalEXAMPLE
The vector can be represented as a linear combination of columns of :
There is no that can solve the below system of equations, as the column space of does not contain :
If , then there are infinitely many solutions ().