I'm a student taking my calculus class. My question is simple but I couldn't find the answer anywhere. The question is how do I differentiate
$$ \alpha = g . x $$
with respect to $x$ if $\alpha$ is a scalar and $g$ is a 1 by n vector and $x$ is a n by 1 vector?
I found differentiation results for many types of equations similar to the above but none of them are in the above form. Please help.