'second' partial derivative of a 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
3 replies · 2K views
BOAS
Messages
546
Reaction score
19
Hello,

we haven't really covered partial differentiation in my maths course yet, but it has come up a few times in mechanics where the 'grad' operator is being introduced, so I'm trying to learn about it myself. I'm looking at the partial derivatives section in "Mathematical Methods In The Physical Sciences" book by Mary Boas.

I don't understand what is being done when a 'second' partial derivative is taken. This is the example I'm looking at;

Given $$z = f(x,y) = x^{3}y - e^{xy}$$, then

$$\frac{∂z}{∂x} = 3x^{2}y - ye^{xy}$$

$$\frac{∂z}{∂y} = x^{3} - xe^{xy}$$ (I understand this, y and then x are being regarded as constants)

it goes on to say $$\frac{∂}{∂x} \frac{∂z}{∂y} = \frac{∂^{2}z}{∂x ∂y} = 3x^2 - e^{xy} - xye^{xy}$$

I don't understand what has happened here. I thought that this means taking the partial derivative of $$\frac{∂f}{∂y}$$ with respect to $$x$$, yielding $$\frac{∂}{∂x} [x^{3} - xe^{xy}] = 3x^2 - xye^{xy}$$ but this is clearly not correct as it does not account for the extra $$-e^{xy}$$ term.

What am I misunderstanding?

Thanks for any help you can give!

p.s How do I keep my pesky latex in line?
 
Physics news on Phys.org
BOAS said:
I don't understand what is being done when a 'second' partial derivative is taken. This is the example I'm looking at;

Given $$z = f(x,y) = x^{3}y - e^{xy}$$, then

$$\frac{∂z}{∂x} = 3x^{2}y - ye^{xy}$$

$$\frac{∂z}{∂y} = x^{3} - xe^{xy}$$ (I understand this, y and then x are being regarded as constants)

it goes on to say $$\frac{∂}{∂x} \frac{∂z}{∂y} = \frac{∂^{2}z}{∂x ∂y} = 3x^2 - e^{xy} - xye^{xy}$$

I don't understand what has happened here. I thought that this means taking the partial derivative of $$\frac{∂f}{∂y}$$ with respect to $$x$$, yielding $$\frac{∂}{∂x} [x^{3} - xe^{xy}] = 3x^2 - xye^{xy}$$ but this is clearly not correct as it does not account for the extra $$-e^{xy}$$ term.

What am I misunderstanding?

Thanks for any help you can give!

p.s How do I keep my pesky latex in line?

For the exponential term, when you take the partial derivative w.r.t. x, you must apply the product rule, since you have xy * exy.
 
SteamKing said:
For the exponential term, when you take the partial derivative w.r.t. x, you must apply the product rule, since you have xy * exy.

aha! In a way I'm glad it was a silly mistake like that.

Thanks :)
 
Partial derivatives seem like a big deal at first, but they're actually extremely simple. Like you said, it's just differentiation with variable constants. All the normal rules of differentiation apply.