Let $P$ be a $n\times 1$ vector and $A$ be an $m\times n$ matrix.
Prove that the smallest eigenvalue of $A^TA$ is the solution to the minimizing $P^TA^TAP$ S.T. $P^TP=1$.
I have used SVD to declare $A=UDV^T$, where U is unitary and D is diagonal.
$$A^TA=(UDV^T)^TUDV^T=(DV^T)^TU^TUDV^T=(DV^T)^TDV^T=VD^TDV^T=VD^2V^T$$ Hence: $A^TAV=VD^2V^TV=VD^2$ and for $\lambda=D^2$ $V$ is eigen vector of $A^TA$.
Let us denote $\lambda_1$ as the smallest eigenvalue of $A^TA$, $$P^TA^TAP=P^T(A^TAP)=P^T(\lambda_1P)=\lambda_1$$
Why is this transition correct: $P^T(A^TAP)=P^T(\lambda_1P)$? Can I simply substitute $A^TA$ by the smallest eigenvalue or is it becaus of the minimalization?
Note that $P^TVD^2V^TP$ can be written as $Q^TD^2Q$ where $Q = V^TP$, and that the entries of $D^2$ are the eigenvalues of $A^TA$. Note also that $Q^TQ = P^TP = 1$. Writing $Q = [q_1,\dots,q_n]^T$, we have $$ Q^TD^2Q = \sum_{i=1}^n \lambda_i q_i^2 \leq \sum_{i=1}^n \lambda_1 q_i^2 = \lambda_1 $$