Partial differentiation and changing variables

Click For Summary

Discussion Overview

The discussion revolves around the topic of partial differentiation and changing variables, specifically in the context of spherical polar coordinates and their relation to Cartesian coordinates. Participants are addressing mathematical derivations involving functions of a single variable and their partial derivatives, as well as exploring the implications of these transformations in a physics or mathematics context.

Discussion Character

  • Technical explanation
  • Mathematical reasoning
  • Homework-related

Main Points Raised

  • One participant presents a problem involving the transformation of coordinates from Cartesian to spherical polar coordinates and seeks help with deriving specific expressions for partial derivatives.
  • Another participant provides a series of equations showing how the partial derivatives of the function f can be expressed in terms of r, x, y, and z, suggesting that similar forms apply to each coordinate.
  • A participant expresses confusion regarding the relationship between derivatives and the implications of the chain rule, questioning the equality of certain terms and the complexity introduced by the function being dependent on r only.
  • Further clarification is provided on the use of the chain rule and the product rule to derive the second partial derivative with respect to x, emphasizing the need to correctly apply these rules given the function's dependence on r.
  • Another participant introduces a new problem involving a change of variables from Cartesian to polar coordinates, prompting further exploration of second derivatives in this new context.

Areas of Agreement / Disagreement

Participants express varying levels of understanding and confusion regarding the application of partial derivatives and the transformations involved. There is no clear consensus on the complexities introduced by the function's dependence on r, and multiple viewpoints on the correct application of mathematical rules are present.

Contextual Notes

Some participants note the potential for confusion arising from the relationships between variables and the assumptions made about the function f being dependent solely on r. The discussion highlights the intricacies of applying mathematical rules in the context of changing variables.

fudge
Maths Question: I am having a lot of problems with this question, can any undergrad physicists or mathematicians help me?

(note: p before a differential= partial derivative) .

Spherical polar coordinates (r, (thetha), (phi)) are defined in terms of Cartesian coorindates (x,y,z) by:

x=rsin(theta)cos(phi)
y=rsin(theta)sin(phi)
z=rcos(theta)

given that f is a function of r only, independent of theta and phi, show that

p(df)/p(dx) = (x/r).(df/dr)

p(d^2f)/p(dx^2) = (1/r).(df/dr) + (x^2/r).d[(1/r).(df/dr)]/dr

and hence deduce that:

p(d^2f)/p(dx^2) + p(d^2f)/p(dy^2) + p(d^2f)/p(dz^2) =
(1/r^2).d[r^2.(df/dr)]/dr


a) is straigthforward, any thoughts on how to appraoch b) ?

thanks
 
Physics news on Phys.org
Consider the fact that x2 + y2 + z2 = r2

What you've already shown for x also applies to y and z:

[itex]\frac{\partial f}{\partial x} = \frac{x}{r} \cdot \frac{df}{dr}[/itex]

[itex]\frac{\partial f}{\partial y} = \frac{y}{r} \cdot \frac{df}{dr}[/itex]

[itex]\frac{\partial f}{\partial z} = \frac{z}{r} \cdot \frac{df}{dr}[/itex]

[itex]\frac{\partial^2 f}{\partial x^2} = \frac{1}{r} \cdot \frac{df}{dr} + \frac{x^2}{r}\,\frac{d}{dr}\left(\frac{1}{r}\,\frac{df}{dr}\right)[/itex]

[itex]\frac{\partial^2 f}{\partial y^2} = \frac{1}{r} \cdot \frac{df}{dr} + \frac{y^2}{r}\,\frac{d}{dr}\left(\frac{1}{r}\,\frac{df}{dr}\right)[/itex]

[itex]\frac{\partial^2 f}{\partial z^2} = \frac{1}{r} \cdot \frac{df}{dr} + \frac{z^2}{r}\,\frac{d}{dr}\left(\frac{1}{r}\,\frac{df}{dr}\right)[/itex]

Add them together and use the first equation to get:

[itex]\frac{\partial^2 f}{\partial x^2} + \frac{\partial^2 f}{\partial y^2} + \frac{\partial^2 f}{\partial z^2} = r\frac{d}{dr}\left(\frac{1}{r}\,\frac{df}{dr}\right) + \frac{3}{r}\frac{df}{dr}[/itex]

which can be simplified to:

[itex]\frac{\partial^2 f}{\partial x^2} + \frac{\partial^2 f}{\partial y^2} + \frac{\partial^2 f}{\partial z^2} = \frac{d^2 f}{dr^2} + \frac{2}{r}\frac{df}{dr} = \frac{1}{r^2}\frac{d}{dr}\left(r^2\frac{df}{dr}\right)[/itex]
 
thanks

Thanks so much, you've made it very clear!
 
Hi,

I would much appreciate some help in deriving the second expression in the original question below:

p(d^2f)/p(dx^2) = (1/r).(df/dr) + (x^2/r).d[(1/r).(df/dr)]/dr

Thanks for the help!

Regards,

Sam
 
Use the product rule to find the derivative of this equation:

[itex]\frac{\partial f}{\partial x} = \frac{x}{r} \cdot \frac{df}{dr}[/itex]
 
Thanks for the reply,

I am trying this but am getting very confsed...


first of all:

I have a term: dr/dx .dx/dr. But I don't see why this is equal to one. If i accept this I get the result, but we know:

x = r.cos(phi).sin(theta)

and r^2 = x^2 + y^2 + z^2

so we can verify that the 2 partial derivatives are not eqal.

secondly, f is a function of r ony... but df/dr (partial) is also a function of p and theta...

Therefore, you have a lot more terms than you would expect, because you have to take the derivative wrt phi and theta and then these wrt to x.

I don't know if I have completely misunderstood partial derivatives, but this is gettig messy!

Regards,

Sam
 
You are given that f = f(r) (function of r only).

Using the chain rule:
[tex]\frac{\partial f}{\partial x} = \frac{df}{dr}\cdot\frac{\partial r}{\partial x}[/tex]

(notice that it's df/dr (not partials) because f is a function of r only)

Now we need to find [tex]\frac{\partial r}{\partial x}[/tex].

To do this, you can use the fact that x2 + y2 + z2 = r2.

Take the derivative of both sides with respect to x to get:

[tex]2x = 2r\frac{\partial r}{\partial x}[/tex]

rearranging:

[tex]\frac{\partial r}{\partial x} = \frac{x}{r}[/tex]

plug that into the results from the chain rule:

[tex]\frac{\partial f}{\partial x} = \frac{x}{r}\cdot\frac{df}{dr}[/tex]

Okay so far?

Now on to the second part using the product rule:

[tex]\frac{\partial^2 f}{\partial x^2} = x\frac{\partial}{\partial x}\left(\frac{1}{r}\cdot\frac{df}{dr} \right) + \frac{1}{r}\cdot\frac{df}{dr}[/tex]

from before: [tex]\partial x = \frac{r}{x}\partial r[/tex]

substitute that into get:

[tex]\frac{\partial^2 f}{\partial x^2} = x\frac{x}{r}\frac{\partial}{\partial r}\left(\frac{1}{r}\cdot\frac{df}{dr} \right) + \frac{1}{r}\cdot\frac{df}{dr}[/tex]

which becomes:

[itex]\frac{\partial^2 f}{\partial x^2} = \frac{1}{r} \cdot \frac{df}{dr} + \frac{x^2}{r}\,\frac{d}{dr}\left(\frac{1}{r}\,\frac{df}{dr}\right)[/itex]

Hope that helps.
 
Much Appreciated.

Sam
 
the function f(x,y) is transformed to F(r,a) by change of variables x=rcos a and y=rsin a. Show that
1. p(d^2F)/p(dr^2)
2. p(d^2F)/p(da^2)+r[p(dF/dr)]
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 13 ·
Replies
13
Views
3K
  • · Replies 14 ·
Replies
14
Views
3K
  • · Replies 29 ·
Replies
29
Views
6K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 11 ·
Replies
11
Views
3K
  • · Replies 8 ·
Replies
8
Views
4K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K