I'm having a bit of trouble with the following exercise:
Let $f\colon \mathbb{R}^n\to \mathbb{R}$ be given by $f(x)=\|x\|$. Consider the problem of minimizing $f$ subject to $Ax=b$, where $A\in\mathbb{R}^{m\times n}$, $b\in\mathbb{R}^m$, $m<n$, and rank($A)=m$. Prove that the solution of this problem can be written as $\bar{x}=\bar{A}b$, where $\bar{A}\in\mathbb{R}^{n\times m}$ and $A\bar{A}=I$.
My attempt was to use the fact that if $\bar{x}$ is optimal, then $\bar{x}$ satisfies the necessary optimality conditions. That is, $\nabla f(\bar{x})\in \text{Null}(A)^\bot=\text{Im}(A^\top).$ Or, in other words, there exists $\bar{\lambda}$ such that $\nabla f(\bar{x})=A^\top\bar{\lambda}$. Then I should somehow obtain something such as that $\bar{\lambda}=b$ and $AA^\top=I$.
Does anyone know how do I continue from this point or have another idea?
Thanks!