Divergence Problem: Solving for h'(r)

  • Thread starter Thread starter jmcgraw
  • Start date Start date
  • Tags Tags
    Divergence
Click For Summary

Homework Help Overview

The discussion revolves around a divergence problem involving the function h(r) and its relationship with polar coordinates and position vectors. Participants are exploring the differentiation of h with respect to r, particularly in the context of expressing derivatives in terms of Cartesian coordinates.

Discussion Character

  • Conceptual clarification, Mathematical reasoning, Assumption checking

Approaches and Questions Raised

  • Participants discuss the challenge of differentiating h(r) when expressed in terms of Cartesian coordinates. There is an exploration of the chain rule and its application to the problem, with some questioning the notation and interpretation of h' in a multivariable context.

Discussion Status

Some participants have provided guidance on using the chain rule effectively and have clarified the nature of h as a function of a single variable, r. There is an ongoing exploration of the implications of this differentiation and the notation used, with no explicit consensus reached on the best approach.

Contextual Notes

Participants are navigating the complexities of differentiating functions defined in polar coordinates while considering Cartesian variables. There is a mention of potential confusion regarding the notation and the interpretation of derivatives in this context.

jmcgraw
Messages
70
Reaction score
0
This problem has me stumped:


If r = (x^2 + y^2)^{1/2}, show that

div \left( \frac{h(r)}{r^2}(x \vec{i} + y \vec{j}) \right) = \frac{h'(r)}{r}


My trouble is with mixing the polar coordinates with the position vector. If I write the above as

div \left( \frac{h((x^2 + y^2)^{1/2})}{(x^2 + y^2)}(x \vec{i} + y \vec{j}) \right) = \frac{h'((x^2 + y^2)^{1/2})}{(x^2 + y^2)^{1/2}}

I can try to get from the left side to the right side by computing the partial derivatives, but when I started this it involved so much messy differentiation (double chain rule, quotient rule) that it just seemed like it wasn't the right approach, so I didn't even try it.

But even if I did, what would h' be if h is a function of two variables? I've never seent the notation f '(x,y), just directional derivatives and partials...

What I'm saying is, even if I did do all the messy differentiation and kept all my stuff in order, I don't see how I would be able to write an h'(r) in the end.

Where am I going off track?

Thanks.
 
Last edited:
Physics news on Phys.org
h is a function of one variable, in this case r. You could write h(10) for example. Remember when you differentiate it with respect to x or y, that for example d(h(r))/dx = d(h(r))/dr * dr/dx = h'(r) dr/dx

It doesn't get too complicated. The more you use the chain rule or product rule, the less trouble it seems like. Just work on one part of the expression at a time to save rewriting, and use symmetry between x and y to reduce work.


By the way, you probably shouldn't expand out r.
 
Last edited:
d(h(r))/dx = d(h(r))/dr * dr/dx = h'(r) dr/dx

This is exactly what I needed. I've seen that trick a handful of times, but I always forget it when I need it! :biggrin:

Thanks Orthodontist.

BTW, this reminds me of a side question. I call the above a "trick" because I think of it as multiplying the derivative by 1=dr/dr... But is that a mathematically precise way to think about it? (I'm guessing that it isn't.) If not, what is the mathematically correct way to think of this "trick"?

In other words, how would you get from d(h(r))/dx to d(h(r))/dr*dr/dx without thinking "hmmm... I'll multiply it by dr/dr"?? Because what is dr/dr anyway?


Thanks again.
 
Well, the easy answer is dr/dr=1..:biggrin:

A slightly more expanded answer is the following:
Let R(x,y) be the radial function, that is, the variable r satisfies
r=R(x,y)=\sqrt{x^{2}+y^{2}}
whenever r has the interpretation as a radius, and x and y are the associated Cartesian variables.

Let h(r) be some function of the variable r.
We may therefore define a function H(x,y):
H(x,y)=h(R(x,y))
If we want to calculate, say, \frac{\partial{H}}{\partial{x}},
we simply invoke the chain rule:
\frac{\partial{H}}{\partial{x}}=\frac{dh}{dr}\mid_{(r=R(x,y))}\frac{\partial{R}}{\partial{x}}

Many would regard the use of notations like H and R as unnecessarily pedantic, however I think it is rather enlightening to use, on occasion, a (somewhat) cumbersome but unambiguous notation.
 
Last edited:

Similar threads

  • · Replies 4 ·
Replies
4
Views
1K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
Replies
1
Views
1K
Replies
20
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 10 ·
Replies
10
Views
2K