I have to prove that for two vectors $w$ and $b$ the following identity holds true
$$\frac{\partial(w^Tb)}{\partial w} = \frac{\partial(b^Tw)}{\partial w} = b$$
But I can't seem to understand how can I partially differentiate a function w.r.t. a vector? Does it mean that I differentiate each of its terms? As in if $w = [x_1, x_2, x_3]$ then does
$$\frac{\partial{x}}{\partial{w}} = \frac{\partial{}}{\partial{x_1}}\left(\frac{\partial{}}{\partial{x_2}}\left(\frac{\partial{x}}{\partial{x_3}}\right)\right)?$$
It means the gradient: $$ \frac{\partial f}{\partial w} = \left( \frac{\partial f}{\partial w_1} , \dots, \frac{\partial f}{\partial w_n} \right) . $$ (If $\partial(w^T b)/\partial w$ is going to equal $b$, it had better be a vector, right?)