Multi variable partial differentiation, cant solve

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 · 15K views
LovePhysics
Messages
16
Reaction score
0

Homework Statement



If z = f(x-y), show that dz/dx + dz/dy = 0

2. The attempt at a solution
I thought:

dz/dx = fx
dz/dy = -fy

which doesn't make sense really... because its not equal to 0.

or maybe it should be:
dz/dx = dz/df * df/dx = fx * ??
dz/dy = dz/df * df/dy = -fy * ??
 
Physics news on Phys.org
LovePhysics said:

Homework Statement



If z = f(x-y), show that dz/dx + dz/dy = 0

2. The attempt at a solution
I thought:

dz/dx = fx
dz/dy = -fy

which doesn't make sense really... because its not equal to 0.

or maybe it should be:
dz/dx = dz/df * df/dx = fx * ??
dz/dy = dz/df * df/dy = -fy * ??

Use the chain rule. If z= f(u) and u= x- y then [itex]\partial f/\partial x= df/du \partial u/\partial x[/itex] and [itex]\partial f/\partial y= df/du \partial u/\partial y[/itex].

(If z= f, then "dz/df" is just 1.)
 
HallsofIvy said:
Use the chain rule. If z= f(u) and u= x- y then [itex]\partial f/\partial x= df/du \partial u/\partial x[/itex] and [itex]\partial f/\partial y= df/du \partial u/\partial y[/itex].

(If z= f, then "dz/df" is just 1.)
Thats great thx.

dz/dx = df/du du/dx = fu * 1 = fu
dz/dy = df/du du/dy = fu * -1 = -fu


dz/dx + dz/dy = fu - fu = 0