Understanding Mixed Partial Derivatives: How Do You Solve Them?

Click For Summary

Discussion Overview

The discussion revolves around the computation of mixed partial derivatives, specifically in the context of the equation ##0 = sin(xy) - x^2 - y^2##. Participants explore the process of finding first and second partial derivatives, including mixed derivatives, and address potential confusion in applying derivative rules.

Discussion Character

  • Technical explanation
  • Mathematical reasoning
  • Homework-related

Main Points Raised

  • One participant shares their calculations for first and second partial derivatives, expressing uncertainty about the mixed derivative and whether they are applying the product rule correctly.
  • Another participant confirms that the calculations appear correct, suggesting that the original poster is not overthinking the problem.
  • A third participant reiterates the correctness of the previous calculations and offers reassurance regarding the questioning of one's understanding after prolonged engagement with the exercise.
  • A fourth participant explains the process of treating variables as constants when taking partial derivatives and notes that the mixed partial derivatives should yield the same result if the function and its derivatives are continuous.

Areas of Agreement / Disagreement

Participants generally agree on the correctness of the calculations presented, but there is no explicit consensus on the overall approach to mixed partial derivatives, as some aspects remain unclear for the original poster.

Contextual Notes

There is a reliance on the continuity of the function and its derivatives for the equality of mixed partial derivatives to hold, which is not explicitly verified in the discussion.

Who May Find This Useful

Students or individuals revisiting concepts of partial derivatives, particularly those working on related mathematical exercises or seeking clarification on mixed derivatives.

atomicpedals
Messages
202
Reaction score
7
While working at home during the COVID-19 pandemic I've taken to seeing if I can still do math from undergrad (something I do once in a while to at least pretend my life isn't dominated by excel). So to that I've been reviewing partial derivatives (which I haven't really thought about in a good seven-ish years).

The exercise I'm working asks the following: Compute all first and second partial derivatives, including mixed derivatives, of the following ##0 = sin(xy) - x^2 -y^2##.

I think I'm good on the first and second partials:
$$\frac {\partial V}{\partial x} = y cos(xy) - 2x$$
$$\frac {\partial V}{\partial y} = x cos(xy) - 2y$$
$$\frac {\partial^2 V}{\partial x^2} = -y^2 sin(xy) - 2$$
$$\frac {\partial^2 V}{\partial y^2} = -x^2 sin(xy) - 2$$
Where I get tripped up is on the mixed derivative:
$$\frac {\partial^2 V}{\partial x \partial y} = \frac {\partial}{\partial x} \left( \frac {\partial V}{\partial y} \right) = \frac {\partial}{\partial x} \left( x cos(xy) - 2y \right)...$$
And this is where I get hung up. Do I simply proceed with an application of the production rule, ##(f \cdot g)' = f' \cdot g + f \cdot g'##?
$$\frac {\partial}{\partial x} \left( x cos(xy) - 2y \right) = (1) cos(xy) + x (-y sin(xy)) = cos(xy) - xy sin(xy)$$
I feel like I'm missing something. Have I done this right? Am I way overthinking this?
 
  • Like
Likes   Reactions: sysprog
Physics news on Phys.org
atomicpedals said:
And this is where I get hung up. Do I simply proceed with an application of the production rule, ##(f \cdot g)' = f' \cdot g + f \cdot g'##?
$$\frac {\partial}{\partial x} \left( x cos(xy) - 2y \right) = (1) cos(xy) + x (-y sin(xy)) = cos(xy) - xy sin(xy)$$
I feel like I'm missing something. Have I done this right? Am I way overthinking this?
That looks right.
 
  • Like
Likes   Reactions: sysprog and atomicpedals
PeroK said:
That looks right.
Thanks! Sometimes, when you spend too long looking at an exercise, you question your sanity.
 
To take a partial derivative with respect to x you treat y as a constant. So \frac{\partial}{\partial x}x cos(xy)- 2x is the same as \frac{d}{dx} xcos(ax)- 2x= cos(ax)- axsin(x)- 2 where, since I replaced "y" with the constant "a" we need to replace back- \frac{\partial^2V}{\partial xy}= cos(xy)- xysin(xy)- 2.

Similarly, \frac{\partial}{\partial y} y cox(xy)- 2y is \frac{d}{dy} y cos(ay)- 2y= cos(ay)- ay sin(ay)- 2= cos(xy)- xy sin(xy)- 2.

Notice that those are the same. It is true that, as long as V and its first and second partial derivatives are continuous, \frac{\partial}{\partial x}\frac{\partial V}{\partial y}= \frac{\partial}{\partial y}\frac{\partial V}{\partial x}.
 
  • Like
Likes   Reactions: sysprog

Similar threads

  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 16 ·
Replies
16
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 3 ·
Replies
3
Views
4K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K