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

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

Homework Help Overview

The discussion revolves around calculating the gradient of the function \( \frac{1}{|r-r'|} \), where \( r \) and \( r' \) are vectors. Participants are exploring different approaches to this calculation, particularly in Cartesian and spherical coordinates.

Discussion Character

  • Exploratory, Assumption checking, Conceptual clarification

Approaches and Questions Raised

  • One participant presents a calculation using the gradient operator and expresses concern about the correctness of their approach, particularly regarding the treatment of the modulus. Others question the physical dimensions of the results and the implications of raising a vector to a power. There are requests for clarification on calculations in both Cartesian and spherical coordinates.

Discussion Status

The discussion is active, with participants providing feedback on each other's calculations and questioning assumptions. There is a focus on ensuring that the mathematical treatment aligns with physical dimensions and vector operations. Some participants are seeking further clarification on specific calculations.

Contextual Notes

Participants are working under the constraints of homework guidelines, which may limit the type of assistance they can provide. There is an emphasis on showing detailed calculations to facilitate understanding.

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   Reactions: Keith_McClary and TheGreatDeadOne
... not to mention that ##\nabla## is a vector operator. I.e. ##\nabla f## is a vector.
 
  • Like
Likes   Reactions: 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.
 

Similar threads

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