I'm doing a few exercises of convex optimization using notes for a previous course offering, and one of them asks for conditions necessary to ensure unique minimizer. I looked at the solution, but I have some doubts about its legitimacy.
My answer:
*The necessary condition for a unique minimizer is $\nabla f(\vec x)= \vec 0 $ has a unique solution.
Just to confirm, I also stated: convexity is neither necessary nor sufficient, and strictly convex is necessary, but not sufficient.
For the specific subproblems, here are my answers:
- $\min_{x} \frac{1}{2} ‖Ax−b‖^2 $, since the gradient is $\nabla f(x) = A^T (Ax-b) = \vec 0$, the conditions are that $(Ax-b)=0$ and hence that $A$ is non-singular.
Solutions:
- $\min_{x} \frac{1}{2} ‖Ax−b‖^2 $ the conditions are that $A$ is full rank.
My questions Is it true in general that convexity is neither necessary nor sufficient, and strictly convex is necessary, but not sufficient?
I have some doubt about the solutions. If the matrix $A$ is not square, then full-rank would only guarantee there to exist a solution to $Ax=b$, but it would not guarantee that the $x$ vector would be unique. So how does it guarantee unique minimization?
(If I rearrange the equation to be $A^T A x = A^T b$, then I'm able to see that we only require $A^T A$ to be invertible, which occurs IFF $A$ is full rank. But when the expression is arranged as $A^T(Ax-b)=0$, it still seems to me as if we require $(Ax-b)=0$)
In geometric terms, the problem can be restated as find $x$ such that
$$ Ax=y=\operatorname{arg.min}\{\|z-b\|_2: z\in A(\mathbb{R}^n)\} $$ that is, $y$ is the best approximation to $b$ by vectors in the range of $A$.
A solution to the problem is $x=A^+b$ where $A^+$ is the Moore-Penrose pseudo inverse. This solution will also give you the $x$ among all minimizers of the least square problem with the minimum Euclidean norm.
The following links contain useful information about all this. https://en.wikipedia.org/wiki/Linear_least_squares
https://en.wikipedia.org/wiki/Moore–Penrose_inverse
Some comments: