I need to minimize squared Frobenius norm: $\|\mathbf{A} - \mathbf{x}\mathbf{y}^T\|_F^2$. Namely I need to prove that for this norm to reach minimum $\mathbf{x}$ should be eigenvector of $\mathbf{A}\mathbf{A}^T$ corresponding to the largest eigenvalue, and $\mathbf{y}$ should be the same for $\mathbf{A}^T\mathbf{A}$.
So I tried to represent norm in the form of $\sum\limits_i\sum\limits_j(a_{ij} - x_iy_j)^2$ and take partial derivatives both for $x_i$ and $y_j$. But I'm unable to find analytical solution for this. And I believe it would be difficult to prove relation to eigenvector of $\mathbf{A}\mathbf{A}^T$ in this kind of solution. I've tried to expand $(a_{ij} - x_iy_j)^2$ with same result.
Also this looks like something from SVD, because in SVD $\mathbf{U}$ diagonalizes $\mathbf{A}\mathbf{A}^T$ and $\mathbf{V}$ diagonalizes $\mathbf{A}^T\mathbf{A}$. But again I have no idea how to solve initial task with this knowledge.
Would be grateful for any suggestions.