Partial derivative of a single variable function

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
2 replies · 3K views
wumple
Messages
57
Reaction score
0
So I don't understand why if you have something like U(x,y) = f(y+2x)

and you take [tex]\frac{\partial U}{\partial x}<br /> = \frac{\partial f}{\partial x}[/tex]

you get [tex]\frac{df}{d(y+2x)} * \frac{d(y+2x)}{dx}[/tex]

Why does the partial derivative just change to the total derivative for one variable? It seems like you just treat x and y+2x as the same variable? thanks for any help!
 
Physics news on Phys.org
Define a function g by g(x,y)=y+2x for all x,y. You have specified that the relationship between U, f and g is given by
$$U(x,y)=f(g(x,y))=(f\circ g)(x,y)$$ for all x,y. So ##U=f\circ g##, and therefore $$\frac{\partial U}{\partial x}=\frac{\partial (f\circ g)}{\partial x}.$$ Since we're dealing with a composition of functions, we need the chain rule. It tells us that the right-hand side is $$=f'\, \frac{\partial g}{\partial x}.$$ This is often written as $$\frac{\partial f}{\partial g}\frac{\partial g}{\partial x}.$$ The g in the denominator can serve as a reminder that f' is to be evaluated at g(x,y).
 
Last edited:
Thanks! I just wasn't thinking of y+2x as a separate function of x and y.