Minimize dot product with constrain using Lagrange multiplier theorem

398 Views Asked by At

Question is

Minimize $||x||^2$ subject to $x^TQx=1$, ($x \in R^n$, $Q$ is positive definite matrix)

First order necessary condition for Lagrange is $2x-\lambda(2Qx)=0$

It implies $(I-\lambda Q)x=0$. Since x is not zero by constrain, $(I-\lambda Q)=0$. But $\lambda $ cannot be $Q^-1$ because $\lambda$ is scalar. How do I solve this problem?

2

There are 2 best solutions below

0
On BEST ANSWER

You want $(I-\lambda Q)x$ to vanish for some nonzero $x$. It is equivalent to say that $\lambda^{-1}$ is an eigenvalue of $Q$ with associated eigenvector $x$.

Now $x^T Q x = \lambda^{-1} x^T x$. Thus $x^T x = \lambda x^T Q x = \lambda$. So to minimize $x^T x$ subject to this constraint, simply choose it to be the eigenvector with the largest eigenvalue, subject to your normalization condition.

Note by the way that your problem is essentially equivalent to maximizing $x^T Q x$ subject to $x^T x = 1$, which is well known to be solved in this exact way. It is not quite the same (the scaling is different), but still, the connection can be made.

0
On

The equation:

$ (I-\lambda Q)x = 0 $

reminds me of the derivation for the equation used to determine the eigenvalues of a matrix. Therefore, using this premonition and a line of similar logic, my most educated guess would be to consider the values for $ \lambda $ which satisfy:

$ det(I-\lambda Q) = 0$,

where "det" is the determinant of the matrix under consideration.


Note: I am not positive that this is the right answer, so perhaps you can experience with this method and let me know if it works. Thanks, good luck.