Could a helpful soul tell me if this approach is correct?
I need to compute the gradient $\nabla f$ and find the result and deriviation of $f(\vec{x}) = \vec{x}^T\vec{x}+c$
To solve this, I'm using a table in my textbook (First course in Machine Learning, 2nd edition, p. 23)):
If above table can be used as I imagine, I get:
$f(\vec{x}) = \vec{x}^T\vec{x}+c \leftrightarrow \frac{\partial f}{\partial \vec{x}}(2\vec{x}+c)$.
Calculating $ \frac{\partial f}{\partial \vec{x}}(2\vec{x}+c) = 2$
The result is 2 and the derivative is $ \frac{\partial f}{\partial \vec{x}}(2\vec{x}+c)$