Calculating Gradient of 1/|r-r'|: Tips & Results

  • Thread starter Thread starter TheGreatDeadOne
  • Start date Start date
  • Tags Tags
    calculus gradient
Click For Summary
SUMMARY

The discussion centers on calculating the gradient of the function \( \frac{1}{|r-r'|} \) using both Cartesian and spherical coordinates. The initial calculation yields \( \nabla \frac{1}{|r-r'|} = -\frac{1}{R^2}\hat{r} \), which is deemed correct. However, an alternative approach using the chain rule produces \( \nabla \frac{1}{|r-r'|} = -\frac{1}{2}(r-r')^{-\frac{3}{2}} \), leading to confusion regarding dimensional analysis and the treatment of vector quantities. Participants emphasize the importance of presenting calculations in Cartesian coordinates for clarity.

PREREQUISITES
  • Understanding of vector calculus, specifically gradient operations.
  • Familiarity with Cartesian and spherical coordinate systems.
  • Knowledge of chain rule applications in multivariable calculus.
  • Basic principles of dimensional analysis in physics.
NEXT STEPS
  • Review the derivation of gradients in spherical coordinates.
  • Study the application of the chain rule in vector calculus.
  • Practice dimensional analysis for vector functions.
  • Examine detailed examples of gradient calculations in both Cartesian and spherical coordinates.
USEFUL FOR

Students and professionals in physics and engineering, particularly those focusing on vector calculus and gradient calculations in different coordinate systems.

TheGreatDeadOne
Messages
22
Reaction score
0
Homework Statement
calculate the function gradient with respect to r
Relevant Equations
gradient in spherical coordinates
Doing R=|r-r'|, i get the expected result: \nabla \frac{1}{|r-r'|} = -\frac{1}{R^2}\hat r=-\frac{(r-r')}{|r-r'|^3}

But doing it this way seems extremely wrong, as I seem to be disregarding the module. So I tried to do it by the chain rule, and I got:

\nabla \frac{1}{|r-r'|}=-\frac{1}{2}(r-r')^{-\frac{3}{2}}

but that doing so looks much more correct using Cartesian coordinates. So, does anyone have any tips?
 
Physics news on Phys.org
Let us see physical dimension of the quantity. It should be ##L^{-2}## but your calculation says ##L^{-3/2}##.
 
  • Like
Likes Keith_McClary and TheGreatDeadOne
... not to mention that ##\nabla## is a vector operator. I.e. ##\nabla f## is a vector.
 
  • Like
Likes anuttarasammyak
TheGreatDeadOne said:
Homework Statement:: calculate the function gradient with respect to r
Relevant Equations:: gradient in spherical coordinates

So I tried to do it by the chain rule, and I got:

\nabla \frac{1}{|r-r'|}=-\frac{1}{2}(r-r')^{-\frac{3}{2}}

but that doing so looks much more correct using Cartesian coordinates. So, does anyone have any tips?
Something must have gone terribly wrong in your calculation cause the end result doesn't even make sense: r and r' are vectors and so is their difference r-r', But how do you raise a vector to the power of (-3/2)?

Please show us your calculation in cartesian coordinates to allow us to see where you go wrong.
 
Delta2 said:
Something must have gone terribly wrong in your calculation cause the end result doesn't even make sense: r and r' are vectors and so is their difference r-r', But how do you raise a vector to the power of (-3/2)?

Please show us your calculation in cartesian coordinates to allow us to see where you go wrong.

Spherical coordinates. Using Cartesian coordinates I solve correctly, i am trying for spherical coordinates.
 
TheGreatDeadOne said:
Spherical coordinates. Using Cartesian coordinates I solve correctly, i am trying for spherical coordinates.
Ok, well then please show us your calculation in spherical coordinates how you got $$\nabla \frac{1}{|r-r'|}=-\frac{1}{2}(r-r')^{-\frac{3}{2}}$$ with as much detail as possible.
 
The book claims the answer is that all the magnitudes are the same because "the gravitational force on the penguin is the same". I'm having trouble understanding this. I thought the buoyant force was equal to the weight of the fluid displaced. Weight depends on mass which depends on density. Therefore, due to the differing densities the buoyant force will be different in each case? Is this incorrect?

Similar threads

Replies
2
Views
1K
Replies
6
Views
1K
  • · Replies 9 ·
Replies
9
Views
813
  • · Replies 10 ·
Replies
10
Views
1K
Replies
3
Views
1K
  • · Replies 17 ·
Replies
17
Views
909
  • · Replies 17 ·
Replies
17
Views
2K
  • · Replies 24 ·
Replies
24
Views
2K
  • · Replies 18 ·
Replies
18
Views
1K