Find the gradient of 1/mod{r-r'}

  • Thread starter Thread starter Ashiataka
  • Start date Start date
  • Tags Tags
    Gradient
Click For Summary

Homework Help Overview

The discussion centers around finding the gradient of the function \( \frac{1}{|\vec{r} - \vec{r'}|} \), which involves concepts from vector calculus and partial derivatives.

Discussion Character

  • Mathematical reasoning, Problem interpretation, Assumption checking

Approaches and Questions Raised

  • Participants explore the application of the chain rule and the treatment of variables in the context of partial derivatives. Questions arise regarding the interpretation of constants and the representation of terms in the gradient calculation.

Discussion Status

Several participants provide feedback on each other's attempts, with some clarifying the correct application of vector calculus principles. There is an ongoing exploration of the correct formulation of the gradient vector, and while some corrections are made, no final consensus is reached.

Contextual Notes

Participants express uncertainty about the treatment of certain variables and constants, indicating a need for clarity in the representation of the gradient components. The discussion reflects typical challenges encountered in vector calculus problems.

Ashiataka
Messages
21
Reaction score
1

Homework Statement


Find \nabla\left( \dfrac{1}{\left| \vec{r}-\vec{r'}\right| }\right)

Homework Equations





The Attempt at a Solution

<br /> \left| \vec{r}-\vec{r&#039;}\right| =\sqrt{(x-x^\prime)^2 + (y-y^\prime)^2 + (z-z^\prime)^2}
and so therefore the derivative of the scalar would be 0. Of course then it seems trivial. So perhaps I need to use the chain rule, but I don't know what to make my substitution for. I can't seem to escape the fact that the bottom always ends up being a scaler.

So I seem a bit stuck. Any advice on where to go onwards would be appreciated. Thank you.
 
Physics news on Phys.org
I don't understand how you get 0. What do you get for
\frac{\partial}{\partial x}((x-x^\prime)^2 + (y-y^\prime)^2 + (z-z^\prime)^2)^{-1/2}?
Yes, you need to use the chain rule. You can break it up as finely as you like, but a reasonable choice would be
\frac{\partial f}{\partial x} \frac{\partial f^{-1/2}}{\partial f}
where f = (x-x^\prime)^2 + (y-y^\prime)^2 + (z-z^\prime)^2
 
Thank you.

Okay, so doing that I get <br /> \frac{\partial}{\partial x}\left(\frac{1}{\left| \vec{r}-\vec{r&#039;}\right|}\right) = \frac{x^{\prime}-x}{\sqrt{(x-x^\prime)^2 + C}^3}<br />

by treating x' as a constant.Does that seem along the right path?
 
Sort of. I assume C here stands for (y-y')2 + (z-z')2, but why are you choosing to represent that with C? Suggests to me you are thinking of it as a constant, and so playing a different role from the (x-x')2 part. Yes, you had treat it as a constant for the purposes of ∂/∂x, but having done that it tells you the value of the derivative at any point (x,y,z), so they should still be considered variables on an equal footing. So I would suggest representing the whole square root part using the original modulus formula involving r.
What do you then get for the whole grad (∇) vector?
 
I got this:

\nabla \left(\frac{1}{\left| \vec{r}-\vec{r&#039;}\right|}\right) = \frac{ (x^\prime-x) \vec{i} + (y^\prime-y) \vec{j} + (z^\prime-z)\vec{k}} {\sqrt{(x-x^\prime)^2 + (y-y^\prime)^2 + (z-z^\prime)^2}^3}

by adding the x, y and z parts of the same form as above.
 
Last edited:
Two things wrong with that. First, I assume you meant ∇ on the left, not ∂/∂x. Secondly, you shouldn't add the three terms up. ∇ is a vector, namely (∂/∂x, ∂/∂y, ∂/∂z), so the answer should be a vector consisting of those three terms.
 
Yes, just typos. Corrected as above.
 
Looks good.
 
  • Like
Likes   Reactions: Shair
Thank you for your assistance :).
 
  • Like
Likes   Reactions: Shair

Similar threads

Replies
3
Views
3K
Replies
2
Views
1K
Replies
64
Views
6K
  • · Replies 4 ·
Replies
4
Views
1K
  • · Replies 11 ·
Replies
11
Views
1K
  • · Replies 5 ·
Replies
5
Views
5K
  • · Replies 21 ·
Replies
21
Views
2K
Replies
18
Views
2K
  • · Replies 25 ·
Replies
25
Views
2K
Replies
1
Views
1K