Given two positive semi-definite matrices $P_1$ and $P_2$,
$$\begin{array}{ll} \text{minimize} & x^T P_1^{-1} x\\ \text{subject to} & x^T P_2^{-1} x = 1\end{array}$$
My approach is to form a Lagrangian function, that is,
$$f=x^TP_1^{-1}x-\ell(x^TP_2^{-1}x-1)$$
and solve this using Newton's Method. The method work fine and the result obey the constraint.
But in an article, another way is followed to solve this problem. Using $df/dx=0$ and simplifying we can write, $$ (P_2P_1^{-1}+\ell I)x=0, $$ where $I$ is the identity matrix. Now it is given that the lagrange multiplier $\ell$ and minimizing points $x$ are the eigenvalues and eigenvectors of the matrix $-P_2P_1^{-1}$ (using $P_2^{-1}$ weighted norm) respectively.
But when I use the eigenvectors of $-P_2P_1^{-1}$, the constraint is not satisfied. Furthermore, the result of the two methods is different.
I want to know if these two methods are same. If yes, what am I missing here? Any help will be greatly appreciated. Thanks