Justifying $\frac{d A^Tx^TAx}{dx} = 2A^TAx$

74 Views Asked by At

When deriving the normal equations, I have trouble justifying why the derivative of $A^Tx^TAx$ is actually $2A^TAx$.

I know that the derivative of $x^TAx$ wrt $x$ is $2Ax$ when $A$ is symmetric.

Is it correct to say that because $A^TA$ is symmetric, one can simply state that $\frac{d A^Tx^TAx}{dx} = 2A^TAx$?

Is it that obvious or am I missing something?

1

There are 1 best solutions below

0
On BEST ANSWER

$ F = A^T (x^T A x) $

$\nabla F = A^T \nabla (x^T A x) = A^T (A + A^T ) x $