Does least squares solution to Ax=b depend on choice of norm

Join the discussion
Registration is free. Start your own thread to ask a follow-up.
2 replies · 1K views
kaxzr
Messages
1
Reaction score
0
To find the closest point to [itex]b[/itex] in the space spanned by the columns of [itex]A[/itex] we have:
[tex]\mathbb{\hat{x}}=(A^TA)^{-1}A^T\mathbb{b}[/tex]
My question is, shouldn't this solution ##\hat{x}## depend on the choice of distance function over the vector space? Choosing two different distance functions might give two different ##\hat{x}##s. But this equation does not make any reference to the choice of distance function.

Can anyone explain this to me? This is not directly a homework question but I am just trying to get a better understanding of the concepts here.

Thanks.
 
Physics news on Phys.org
kaxzr said:
To find the closest point to [itex]b[/itex] in the space spanned by the columns of [itex]A[/itex] we have:
[tex]\mathbb{\hat{x}}=(A^TA)^{-1}A^T\mathbb{b}[/tex]
My question is, shouldn't this solution ##\hat{x}## depend on the choice of distance function over the vector space? Choosing two different distance functions might give two different ##\hat{x}##s. But this equation does not make any reference to the choice of distance function.

Can anyone explain this to me? This is not directly a homework question but I am just trying to get a better understanding of the concepts here.

Thanks.

This function is *assuming* standard Euclidean distance. Of course for other measures of distance you will get different results. Some other norms do not lead to explicit solutions, but are only doable numerically.