I was reading about differentiating a column vector $x$ multiplied with matrix $A$. I have found this formula:
$\frac{\partial x^TA}{\partial x} = \frac{\partial A^Tx}{\partial x} = A$
Is this correct?
How can $x$ just disappear from the differentiation?
It is correct, because $$\frac{\partial x^Ta}{\partial x}$$ is defined as the vector where the $i$-th quantity is equal to $$\frac{\partial x^Ta}{\partial x_i}$$
and since $$x^Ta = x_1a_1 + x_2a_2+\cdots +x_n a_n$$
you cans see that $$\frac{\partial x^Ta}{\partial x_i} = a_i.$$
This means that the $i$-th component of $$\frac{\partial x^Ta}{\partial x}$$ is equal to $a_i$, which means $$\frac{\partial x^Ta}{\partial x}$$ is equal to $$a.$$