$y = x^TAx$. I want to find the $\frac{\partial x^TAx}{\partial A}$; that is, $\frac{\partial y}{\partial A}$.
I know the answer is $\frac{\partial y}{\partial A} = xx^T$. I'm not totally clear on how to get that, and I'm really not clear as to why the $x$'s are now $xx^T$. In other words, why is $x^Tx$ not correct?
Note: I take $x$ = to be a column vector.
The differential of your map $f=x^TAx$ is $df=x^TdAx$. It is a linear map sending $H\mapsto x^T H x$, a scalar. Then write $tr(x^T H x)=tr(xx^T H)=\langle\nabla f,H\rangle_F$ with the "gradient vector" $\nabla f=(xx^T)^T=xx^T.$