Underdetermined Linear Equations (right inverses)
Tags | Closed Form |
---|
Underdetermined equations
Consider the same case of , but this time, there are more variables than equations. In this case, many choices of can lead to the same . We can describe the set of solutions as
%20a8dea521db654230aa867cf2174faaec/Untitled.png)
The solutions has degrees of freedom, because you can add anything in the null space and change nothing.
Least Norm solution
The least-norm solution is given by
%20a8dea521db654230aa867cf2174faaec/Untitled%201.png)
which is the solution to that minimizes . We can show this by supposing that there exists another solution. Then, , and
%20a8dea521db654230aa867cf2174faaec/Untitled%202.png)
which means that
%20a8dea521db654230aa867cf2174faaec/Untitled%203.png)
by using a good add-subtract trick and pythagorean’s theorem, we get
%20a8dea521db654230aa867cf2174faaec/Untitled%204.png)
as desired.
Interpretations
We know that , so we know that . Therefore, you can think of it as the “essence” of the solution with no “fluff” of the null space.
%20a8dea521db654230aa867cf2174faaec/Untitled%205.png)
Through QR factorization
Find the QR factorization of . In this case, then
%20a8dea521db654230aa867cf2174faaec/Untitled%206.png)
Through Lagrange multipliers
You can always set things up using the lagrange multiplier, which yields
%20a8dea521db654230aa867cf2174faaec/Untitled%207.png)
And you get
%20a8dea521db654230aa867cf2174faaec/Untitled%208.png)
which yields the same solution: .
Left Inverses and Right Inverses
There’s a reason why we are looking at these. Now, we can get a feel for what left and right inverses are!
Right inverses (full-rank, “fat” matrices)
We define the pseudoinverse
or right inverse
as
%20a8dea521db654230aa867cf2174faaec/Untitled%209.png)
This is the pseudoinverse because . Geometrically, if you take any output point and map it into a higher-dimensional input point, and then map it forward, it should yield the same output point. It is not the same in the opposite direction, as many inputs yield the same output.
From our previous results, get get that . Therefore, it follows that
%20a8dea521db654230aa867cf2174faaec/Untitled%2010.png)
is a projection onto .
Left inverses (full-rank, “skinny” matrix)
The pseudoinverse
or left inverse
of is
%20a8dea521db654230aa867cf2174faaec/Untitled%2011.png)
This is a pseudoinverse because . Geometrically, maps every output to the closest input. In some cases, when the output , it maps it directly to the true input.
From our least-squares inquiry, we know that
%20a8dea521db654230aa867cf2174faaec/Untitled%2012.png)
is a projection of a vector onto .