Finding 1st and 2nd total partial differential

  • Context: Graduate 
  • Thread starter Thread starter ScottO
  • Start date Start date
  • Tags Tags
    Differential Partial
Click For Summary
SUMMARY

The discussion focuses on calculating the first and second total partial differentials of the function defined by the equation r² = (x - a)² + (y - b)² + (z - c)². The first derivative is correctly derived as dr = ((x - a) + (y - b) + (z - c)) / r, matching the book's answer. However, the second derivative presents challenges, particularly with handling the r in the denominator. The correct approach involves recognizing the total differential and applying the chain rule appropriately to derive the second partial derivatives.

PREREQUISITES
  • Understanding of total and partial derivatives
  • Familiarity with multivariable calculus concepts
  • Knowledge of the chain rule in differentiation
  • Experience with coordinate transformations in calculus
NEXT STEPS
  • Study the application of the chain rule in multivariable calculus
  • Learn about total differentials and their significance in calculus
  • Explore the implications of coordinate systems on partial derivatives
  • Investigate the derivation of second partial derivatives in multivariable functions
USEFUL FOR

Students and professionals in mathematics, particularly those specializing in calculus, physics, and engineering, will benefit from this discussion. It is especially relevant for those tackling problems involving multivariable functions and differentials.

ScottO
Messages
1
Reaction score
0
I've been struggling a bit with the following problem...

Given:
[tex]r^2 = (x - a)^2 + (y - b)^2 + (z - c)^2[/tex]

Find:
1. [tex]\frac{\partial r}{\partial x} + \frac{\partial r}{\partial y} + \frac{\partial r}{\partial z}[/tex]

and

2. [tex]\frac{\partial^2 r}{\partial x^2} + \frac{\partial^2 r}{\partial y^2} + \frac{\partial^2 r}{\partial z^2}[/tex]

I've found the following for 1.

[tex]2rdr = 2(x - a)dx + 2(y - b)dy + 2(z - c)dz[/tex]

[tex]dr = \frac{(x - a) + (y - b) + (z - c)}{r}[/tex]

This matches the answer in the book. So I think I'm OK to this point.

Figuring 2 is where I'm having trouble. How do I handle the r in the denominator? Do I substitute [tex]\sqrt{(x - a)^2 + (y - b)^2 + (z - c)^2}[/tex] from the original given? Or start from here:

[tex]2rdr = 2(x - a)dx + 2(y - b)dy + 2(z - c)dz[/tex]

which leads to

[tex]2d^2r = 2dx^2 + 2dy^2 + 2dz^2[/tex]

[tex]d^2r = 3[/tex]

I don't think latter is correct, as it seems like it doesn't consider r. Plus, the answer in the book is

[tex]\frac{2}{r}[/tex]

I've gotten close using the substitution, but things are a bit messy, and I'm missing some simplification or something.

Here's what I get for one partial using the substitution...

[tex]dr = \frac{(x - a) + (y - b) + (z - c)}{r}[/tex]

[tex]\frac{\partial^2 r}{\partial x^2} = \frac{r - \frac{[(x - a) + (y - b) + (z - c)](x - a)}{r}}{r^2}[/tex]

-Scott
 
Physics news on Phys.org
ScottO said:
I've been struggling a bit with the following problem...
I would consider the phrase "total partial differential" a contradiction in terms! Perhaps you mean what I would call just the "total differential".

Given:
[tex]r^2 = (x - a)^2 + (y - b)^2 + (z - c)^2[/tex]

Find:
1. [tex]\frac{\partial r}{\partial x} + \frac{\partial r}{\partial y} + \frac{\partial r}{\partial z}[/tex]
This is neither a partial derivative nor a differential. In fact, since it would change with any change in coordinate system, I'm not sure it has any "real" meaning!

and

2. [tex]\frac{\partial^2 r}{\partial x^2} + \frac{\partial^2 r}{\partial y^2} + \frac{\partial^2 r}{\partial z^2}[/tex]

I've found the following for 1.

[tex]2rdr = 2(x - a)dx + 2(y - b)dy + 2(z - c)dz[/tex]
Okay, now that's a total differential.

[tex]dr = \frac{(x - a) + (y - b) + (z - c)}{r}[/tex]
What happened to the "dx", "dy", and "dz"?

This matches the answer in the book. So I think I'm OK to this point.[/quote]
If the problem really was to find
[tex]\frac{\partial r}{\partial x} + \frac{\partial r}{\partial y} + \frac{\partial r}{\partial z}[/tex]
then there was no reason to find the total differential. Just the three partial derivatives would suffice.

Figuring 2 is where I'm having trouble. How do I handle the r in the denominator? Do I substitute [tex]\sqrt{(x - a)^2 + (y - b)^2 + (z - c)^2}[/tex] from the original given? Or start from here:

[tex]2rdr = 2(x - a)dx + 2(y - b)dy + 2(z - c)dz[/tex]

which leads to

[tex]2d^2r = 2dx^2 + 2dy^2 + 2dz^2[/tex]

[tex]d^2r = 3[/tex]

I don't think latter is correct, as it seems like it doesn't consider r. Plus, the answer in the book is

[tex]\frac{2}{r}[/tex]

I've gotten close using the substitution, but things are a bit messy, and I'm missing some simplification or something.

Here's what I get for one partial using the substitution...

[tex]dr = \frac{(x - a) + (y - b) + (z - c)}{r}[/tex]

[tex]\frac{\partial^2 r}{\partial x^2} = \frac{r - \frac{[(x - a) + (y - b) + (z - c)](x - a)}{r}}{r^2}[/tex]

-Scott
If you are really asked to find just the sum of the second partials (which I would consider to have no real significance, as, unlike the gradient, etc., it depends on the coordinate system.) then just find the partial derivatives.
Since [itex]r^2= (x-a)^2+ (y-b)^2+ (z-c)^2[/itex] then [itex]2r\partial r/\partial x= 2(x-a)[/itex] and [itex]r\partial r/\partial x= x-a. Now differentiate both sides again with respect to x: [itex]\left(\partial r/\partial x\right)^2+ 2r \partial^2 r/\partial x^2= 1[/itex]. Solve that for [itex]\partial^2 r/\partial x^2[/itex].[/itex]
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
4K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 4 ·
Replies
4
Views
4K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K