I am trying to find the derivative of the expression below using product rule but I am unable to do so. Below is my solution.
$ \frac{d}{dx}(x^TAx) \\= \frac{d}{dx}x^T(Ax) + (x^T)\frac{d}{dx}Ax \\ = Ax +x^TA$
Im unable to get $x^T(A+A^T)$. Help thanks.
There is a problem in your last equality. $Ax$ is a column vector, and $x^T A$ is a row vector. So your summation there doesn't make sense. I think the issue comes from the derivative $\frac{d}{dt} x^T$. Check this bit again and I think once you find the right derivative your answer will drop out.