Gradient of the potential function

Click For Summary

Discussion Overview

The discussion revolves around taking the gradient of a potential function in the context of gravitational interactions. Participants are exploring the mathematical steps involved in deriving the gradient with respect to a vector variable, specifically focusing on the potential function defined by a double summation over masses and their positions.

Discussion Character

  • Technical explanation
  • Mathematical reasoning
  • Debate/contested

Main Points Raised

  • One participant seeks a step-by-step explanation for taking the gradient of the potential function, providing the initial equation and the expected result.
  • Another participant suggests simplifying the problem by focusing on a single term of the sum and deriving the gradient for its components.
  • A different participant argues that maintaining the vector form is more straightforward and expresses difficulty in breaking down the problem using individual components.
  • There is a discussion about the expression for the gradient of the magnitude of a vector, with some participants providing differing interpretations of the notation and terms involved.
  • One participant expresses confusion regarding the indices and sums in the original problem, indicating that these aspects may be complicating their understanding.
  • Another participant clarifies the distinction between vector notation and its magnitude, suggesting that this clarification could help align the expressions being discussed.
  • There is a contention about the necessity of returning to basic principles versus using vector notation directly, with differing opinions on the best approach to understand the problem.

Areas of Agreement / Disagreement

Participants do not reach a consensus on the best method to approach the problem. Some advocate for breaking down the problem into simpler components, while others prefer to keep it in vector form. There is also disagreement regarding the interpretation of certain mathematical expressions and notation.

Contextual Notes

Participants express uncertainty about the implications of the sums and indices in the potential function, which may affect their ability to derive the gradient correctly. There are also unresolved questions about the notation used in the expressions, particularly regarding the distinction between vector quantities and their magnitudes.

Belginator
Messages
12
Reaction score
0
Hi guys,

I'm trying to take the gradient of the potential function, and know the answer, but am not sure how to go about it. Can someone help me step by step as to how to do this.

So the potential function is:

\begin{equation}
U = \frac{1}{2} G \sum^{N}_{i=1} \sum^{N}_{j=1,j \neq i} \frac{m_i m_j}{\| \mathbf{r}_{ji} \|}
\end{equation}

Now I'm trying to take the gradient or partial with respect to $$\mathbf{r}_i$$

\begin{equation}
\frac{\partial U}{\partial \mathbf{r}_i} = -G \sum^{N}_{j=1,j \neq i} \frac{m_i m_j}{\| \mathbf{r}_{ji} \|^3} \mathbf{r}_{ji}
\end{equation}

So my question is, how do you go from the first equation to the answer (the second equation). If you could explain step by step with math that'd be appreciated. Thanks!
 
Physics news on Phys.org
Sometimes it helps to go back to basics: start with one term of the sum and write out what it means.
$$U = \frac{1}{2}G\frac{m_1m_2}{\sqrt{(x_1-x_2)^2 + (y_1-y_2)^2 + (z_1-z_2)^2}}$$
Then find the three components of the vector ##\displaystyle\frac{\partial U}{\partial \mathbf{r}_1}##, i.e. ##\displaystyle\frac{\partial U}{\partial x_1}, \frac{\partial U}{\partial y_1}, \frac{\partial U}{\partial z_1}##.
 
Last edited:
I see what you're saying, but I think that's making it unnecessarily complicated. I know there's a way to do it by simply keeping it in the vector form. I was originally breaking it down using the following equation:

\begin{equation}
\mathbf{r}_{ji} = \mathbf{r}_{i} - \mathbf{r}_{j}
\end{equation}

But still couldn't quite get it to work out.
 
do you understand that?

\begin{equation}
\frac{\partial}{\partial \mathbf{r}_i} \frac{1}{\| \mathbf{r}_{i} \| } = - \frac{1}{\| \mathbf{r}_{i} \|^3} \mathbf{r}_{i}
\end{equation}
 
Hi dauto,

I'm not sure where the ##\displaystyle \mathbf{\hat{r}_i} ## comes from, I would have said:

\begin{equation}
\frac{\partial}{\partial \mathbf{r}_i} \frac{1}{\| \mathbf{r}_i \|} = - \frac{1}{\| \mathbf{r}_i \|^2}
\end{equation}
 
Actually I think I may understand where the ##\displaystyle \mathbf{\hat{r}}_i## comes from, it's because it's a gradient, and you're taking the partials with respect to the vector components of ##\displaystyle \mathbf{r_i}##. But I'm still missing something in the original problem, I don't know if it's the sums are throwing me off or the indices of ##\displaystyle \mathbf{r}##.
 
Note that its not r-hat, its r vector in dauto's post. I think your expression should have an r-hat in it, then it would be equivalent to dauto's expression, because r hat is r vector divided by the magnitude of r.
 
@ModusPwnd right I know. By simple taking the derivative you get my expression, but then there is the r-hat which is also added, but it's usually written as dauto wrote it, broken up as r-vector and mag. of r-vector. So I believe my #6 post is correct, I understand where the r-hat comes from because that accounts for his r-vector and the cubed term on the bottom instead of the squared. And it is due to essentially taking the gradient. But still I can't seem to solve the original problem step by step and see where everything comes from.
 
Belginator said:
I see what you're saying, but I think that's making it unnecessarily complicated. I know there's a way to do it by simply keeping it in the vector form...
But still couldn't quite get it to work out.

Belginator said:
Hi dauto,

I'm not sure where the ##\displaystyle \mathbf{\hat{r}_i} ## comes from...

Belginator said:
...But I'm still missing something in the original problem, I don't know if it's the sums are throwing me off or the indices of ##\displaystyle \mathbf{r}##.

I rest my case about going back to basics. Sure, you can do this neatly using vectors - provided you understand what you are doing.

But thrashing around with notation you (apparently) don't quite understand isn't a good way to learn, IMO.
 

Similar threads

  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 6 ·
Replies
6
Views
1K
Replies
6
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 0 ·
Replies
0
Views
365
  • · Replies 5 ·
Replies
5
Views
1K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 17 ·
Replies
17
Views
3K
  • · Replies 7 ·
Replies
7
Views
2K