Basic Gradients with Dot Products of Variables

21 Views Asked by At

This is mostly a notation question.

Given $f(x) = <b,x>$, is the gradient, $\nabla f(x) = b$?

Also, given $g(x) = <Ax,x>$ where $A$ is a symmetric positive-semi definite matrix, then $\nabla g(x) = 2Ax$?