My question pertains to a problem I'm confused about in my economics class.
For simplicity, say I have a function like $f(a,b,c) = g(ab, b + c)$ after making some substitutions. If I want to find the total differential of $f$, what do I do with the $\partial f/\partial b$ term? How do you do the chain rule for it if $b$ is present in both expressions in $g$?
When taking derivatives in multivariable calculus, it's often a good idea to explicitly write down the mappings for these functions. When $a$ and $c$ are fixed, you have the function composition,
$$f(b) = (g \circ h)(b),$$
where $h(b) = (ab, b+c).$
Assuming we're working over the reals (this is economics after all), and assuming $f$ is real-valued, then the mappings are,
\begin{align} f&:{\bf R}\rightarrow{\bf R}\notag\\ g&:{\bf R}^2\rightarrow{\bf R}\notag\\ h&:{\bf R}\rightarrow{\bf R^2}.\notag \end{align}
You can immediately see from these mappings that the derivatives of $g$ and $h$ will need to be $2\times1$ vectors in some orientation, and you will need to combine/multiply them in such a way to produce the derivative of f, a real-valued function which takes a single variable, which we know from first year calculus will also need to be a real-valued function which takes a single variable.
The only real choice for multiplying $g'$ and $h'$ in such a way so as to obtain the desired outcome is the dot product, which can be written in matrix notation as,
$f'(b)=(\nabla g)(h(b))\cdot h'(b) = (\nabla g)(ab, b+c)\;[a, 1]^T.$
This is your partial derivative with respect to $b$.