KatInterview

Conditions for Boundedness in Unconstrained Quadratic Minimization

Machine LearningModel answer
MediumModel answerMachine Learningoptimizationconvexitylinear-algebra

Last updated

Analyze when an unconstrained scalar quadratic function has a finite minimum, and derive the optimal solution set and value using matrix properties.

Consider the unconstrained minimization problem over $\mathbb{R}^n$:

$$ \min_{x \in \mathbb{R}^n} f(x) = x^\top Q x + c^\top x $$

where $Q \in \mathbb{R}^{n \times n}$ is a real matrix (not guaranteed to be symmetric) and $c \in \mathbb{R}^n$ is a real vector.

  1. State the exact necessary and sufficient conditions under which $f(x)$ has a finite minimum value.
  2. Under these conditions, specify the complete set of minimizers $\arg\min_{x} f(x)$ and the optimal value $f^*$.
  3. Explain why checking the eigenvalues of $Q$ directly can be misleading if $Q$ is non-symmetric.

Hints

Hint 1

Recall that any real quadratic form $x^ op Q x$ can be rewritten using the symmetric part $S = rac{1}{2}(Q + Q^ op)$.

Hint 2

Positive semidefiniteness of $S$ is necessary, but what happens along the nullspace of $S$ if $c$ has a component there?

Hint 3

Use the Moore–Penrose pseudoinverse $S^+$ to express the full family of minimizers when $S$ is singular.