Pseudoinverse Exercise: Proving the Properties of the Pseudoinverse

  • Thread starter Thread starter liengen
  • Start date Start date
  • Tags Tags
    Exercise
liengen
Messages
7
Reaction score
0

Homework Statement


Let's say I have a non invertible system of linear equations: Ax=b
Then the pseudoinverse gives a approximate solution: x'=A^+*b

(1) Given the property: A*A^+*A = A, prove that x' is a vector which lies in the image of A and minimises the error = ||b-Ax'||

(2) show that the magnitude of the error is ||Ax'-b||^2=b^T*(I-A*A^+)*b and that the error vector lies in the kernel of A

Homework Equations


A^+ is the pseudoinverse


The Attempt at a Solution


Let's just consider (1) for now.
I know that since b does not lie in the column space of A, we have to find a approximate solution by projecting b onto this space. Let's denote this projected as proj_b.
Thus: Ax' = proj_b.
It's kinda obvious that x' lies in the image of A. I just cannot see the link between this and the given property A*A^+*A = A.
 
Physics news on Phys.org
liengen said:

Homework Statement


Let's say I have a non invertible system of linear equations: Ax=b
Then the pseudoinverse gives a approximate solution: x'=A^+*b

(1) Given the property: A*A^+*A = A, prove that x' is a vector which lies in the image of A and minimises the error = ||b-Ax'||

(2) show that the magnitude of the error is ||Ax'-b||^2=b^T*(I-A*A^+)*b and that the error vector lies in the kernel of A

Homework Equations


A^+ is the pseudoinverse

The Attempt at a Solution


Let's just consider (1) for now.
I know that since b does not lie in the column space of A, we have to find a approximate solution by projecting b onto this space. Let's denote this projected as proj_b.
Thus: Ax' = proj_b.
It's kinda obvious that x' lies in the image of A. I just cannot see the link between this and the given property A*A^+*A = A.

It is not at all obvious to me that x' is in the image of A. What if A is an m \times n matrix, with m \neq n? Then x' doesn't even have the right dimension. Is there an unstated assumption or a typo somewhere?
 
jbunniii said:
It is not at all obvious to me that x' is in the image of A. What if A is an m \times n matrix, with m \neq n? Then x' doesn't even have the right dimension. Is there an unstated assumption or a typo somewhere?

I see your point. Nothing else is stated though.

If the rows or columns are linearly dependent, I still think it's obvious, since then we just have either the same equations (rows) or the unknowns equal each other (columns) and the pseudoinverse just kills these. We still get the right answer. When we have a unsolvable system however (i.e more linearly independent rows than columns) then I agree, x' doesn't have the right dimension compared with A.
 
There are two things I don't understand about this problem. First, when finding the nth root of a number, there should in theory be n solutions. However, the formula produces n+1 roots. Here is how. The first root is simply ##\left(r\right)^{\left(\frac{1}{n}\right)}##. Then you multiply this first root by n additional expressions given by the formula, as you go through k=0,1,...n-1. So you end up with n+1 roots, which cannot be correct. Let me illustrate what I mean. For this...

Similar threads

Back
Top