Physics Stack Exchange is a question and answer site for active researchers, academics and students of physics. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Almost every book on physics that I read have some weird and non-clear explanations regarding the potential energy. Ok, I do understand that if we integrate a force over some path, we'll get a difference in some origin-function values ($\int_{A}^{B} Fdx = U(B) - U(A)$). This function is the potential energy. Of course, whether we can define this term or not depends on the force.

Now, here's an example of explanation (to be more precise - lack of explanation) regarding the GPE from one of the books:

"...When a body moves from some point A to point B, gravity is doing work: $U_A-U_B=W_{A \to B}$. The magnitude can be calculated using an integral: $W_{A \to B}=\int_{r_A}^{r_B} F(r) dr = \int_{r_A}^{r_B} \left(-\frac{GMm}{r^2} \right)dr=(-\frac{GMm}{r_A})-(-\frac{GMm}{r_B})=U_A-U_B$


Thus, when $r_A>r_B$, the magnitude is positive and therefore $U_A>U_B$. In other words: when the distance between the bodies is being increased - the gravitational potential energy of the system is also being increased.

Giving absolutely no explanation on why all of a sudden they put a minus sign into the integral.

From another book:

Work done by Coulomb's force: $W_{el}=\int_{r_1}^{r_2}\frac{q_1q_2dr}{4 \pi \epsilon_0 r^2}=\frac{q_1q_2}{4 \pi \epsilon_0 r_1}-\frac{q_1q_2}{4 \pi \epsilon_0 r_2}$

... Calculating the work gravity is doing is no different from the calculation of the work done by an electric field, with two exceptions - instead of $q_1q_2/4 \pi \epsilon_0$ we should plug $G M m$, and we also should change the sign, because the gravitational force is always a force of attraction.

Now, this is not satisfying at all. So what if it is an attraction force? How this should influence our calculations, if the work is defined as $|F| |\Delta x| \cos \theta$, so the sign only depends on the angle between the path vector and the force vector? Why they put a minus sign? Is is just a convention or a must thing to do?

Some say the sign is important, others say the opposite. Some explain this as a consequence of that we bring the body from infinity to some point, while others say it is a consequence of an attractive nature of the gravitational force. All of that is really confusing me.

Also, in some of the questions like "what work is required to bring something from point $A$ to point $B$ in the field of gravitational/electric force", the books sometimes confuse $U_A-U_B$ and $U_B-U_A$ - as I understand it - the work that I must do is always $U_B-U_A$. However the work that the force that is being created by the field do is always $U_A-U_B$, am I correct?

share|cite|improve this question
Related: and links therein. – Qmechanic Oct 29 '15 at 22:44
up vote 3 down vote accepted

I think you just forgot that the $\int_A^B F\,dl$ is not a scalar expression. Rather it should be written in a form $\int_A^B \vec{F}\cdot d\vec{l}$. Then it comes to the sign of the scalar product: $$\vec{F}\cdot d\vec{l}=F\,dl\,\cos\theta$$ where the angle $\theta$ is taken between the vector $\vec{F}$ and the direction of the tangent to the integration path from $A$ to $B$. Then, in your first example,

$W_{A \to B}=\int_{r_A}^{r_B} F(r) dr = \int_{r_A}^{r_B} \left(-\frac{GMm}{r^2} \right)dr$

the path could go with any slope, but the gravity is always directed downwards, along the $r$ axis. That means, we can always take $(\pi-\theta)$ as the angle between the vector $d\vec{l}$ and the $r$ axis, that is $$dl\,\cos(\pi-\theta)=dr$$ but $\cos(\pi-\theta)=-\cos\theta$ and thus we have $$\vec{F}\cdot d\vec{l}=-F\,dr=-\frac{GMm}{r^2}dr$$

For your second example:

...we also should change the sign, because the gravitational force is always a force of attraction.

what the authors actually mean is that: the Coulomb's and Newton's forces have exactly the same expressions, but the sign conventions for them are different. The Newton's force is defined that if all the quantities ($M$, $m$ and $r$) are positive, then the vector of the force is directed towards the other body. But for the Coulomb's force, if all the quantities ($q_1$, $q_2$ and $r$) are positive, then the vector of the force is directed away from the other charge. That becomes manifest if we take the vector expressions for these forces: $$\vec{F}_N=-\frac{GMm\,\vec{r}}{r^3}\qquad\vec{F}_C=\frac{q_1q_2\,\vec{r}}{4\pi\epsilon_0\,r^3}$$ Now the different signs are clearly seen.

"...from point $A$ to point $B$..." - I understand it - the work that I must do is always $U_B-U_A$. However the work that the force that is being created by the field do_es_ is always $U_A-U_B$, am I correct?

Yes this is correct.

The mnemonic rule is very simple: $U$ is like the height of the slope. When you go up, $U_B>U_A$, and it is you who does the work. But when you go down, $U_A>U_B$, and it is the field force who does the work.

share|cite|improve this answer
You mixed up a bit $dx$'s and $dl$'s. Why $dl \cos(\pi-\theta)$ is necessarily $dr$? First, $\theta$ is an angle between the force (which goes along the $r$ axis already) and the displacement vector. So isn't it just $\cos \theta$? Maybe you can show it graphically? The rest of your explanation is perfect, thanks! – grjj3 May 15 '13 at 16:25
Also, what if the angle is acute? The projection of the displacement vector onto the force axis will be in the same direction as the force and thus the work will be positive. – grjj3 May 15 '13 at 17:56
$d\vec{x}$ was a bad idea, thanks. I'll wipe it now. I hope, it's better this way. – firtree May 15 '13 at 18:57
Added a picture as well. If the angle is acute, then $\vec{F}\cdot d\vec{l}$ is positive, but the numerical value of $dr$ would be negative (since we go down along the $r$ axis, contrary to its direction), and to get this positive final number, you'll have to put the minus sign before the $F\,dr$ again. Tip: if the expression is written in its 'algebraic' form (be it scalars, components or vectors), it usually accounts such cases automatically. – firtree May 15 '13 at 19:20
Thank you very much! I almost got it. So you basically say that it doesn't matter whether $dr$ is positive or negative? Shouldn't the $dr$ inside the integral they showed in a book, be only positive (as long as our upper limit is higher)? This is the last bit that confuses me - if $dr<0$ we get positive work, and if $dr>0$, we get negative work. (Btw, it seems very intuitive and logical for me, as when $dr<0$, gravity is pulling the object, thus spending some energy, but the way it works in integral is what confusing - again, shouldn't $dr$ be only positive inside the integral?) – grjj3 May 15 '13 at 21:17

Let's take it from the start . What is Kinetic Energy ?

For one particular particle , it is $\frac{mv^2}{2}$. And for a system of particle it is $\Sigma\large \frac{mv_i^2}{2} $ for all $_i$ particles .

Now how to change Kinetic Energy of a body ? For that you'll have to change $|v|$ and for that you have to apply Force .

then how to calculate after knowing path of a particle that how much is $\Delta KE$.

The answer to this is , find $\int^b_a \vec{F} \cdot \vec {ds}$ where $\vec ds$ are small vectors along the path your point of application of force covered , but you must know path before hand. Point of application is important , as if your point of application didn't move and the rest of the body did , it still gained/lost no Kinetic Energy .

This integral is what we call Work. It is just a number . We could have also called it "change in kinetic energy by a force" but "work" sounds better .

Limitation of Work : You can't predict path ever using work .

Now there are two types of forces (macroscopically), we call Conservative Forces and Non-Conservative forces .

Law: Energy(a number) of an isolated system is conserved .

So now attending conservative forces , these forces by definition are such that between any fixed points , no matter what path you take the Work calculation will be independent of path.

And for non-conservative , Work will depend on path .

Now , We know energy of an isolated system is constant , so a source only will apply non-conservative force and conservative force . And what energy is gained by the moving body , the source will lose an equal amount of energy .

Now for non-conservative suppose you apply a non-conservative force and take an object from A-B , your work is dependent on path . There are $\infty$ possibilities of how much energy you'll lose/(gain,if$\Delta KE$ is $-ve$ ) .

But for a conservative force , there is only 1 . Since work / $\Delta KE$ is independent of path . So a source applying conservative force will always lose/gain the same energy if you take it from A-B , no matter what path you take.

So we can call this energy change for a conservative force potential energy or symbolically $\Delta U$(showing potential of a source) , now you can only calculate $\Delta U$ .

And now think over it , energy lost by source=energy gained by the thing that moved.

So, we can say $-\Delta U=Work=\Delta KE$ .

And this is the only definition of Difference in Potential Energy . Potential energy is nothing . Only change in Potential energy has a meaning.

And when books refer to Potential Energy , they are calculating change by assigning $U_{\infty}$ as $0$ as only change matters , you can choose any point to be $0$ in terms of potential , the net change will automatically adjust.

And this potential energy change can be physically seen as Change in Field of a force in space or compression of spring etc.

Also see here : Electrostatic Potential Energy Derivation

share|cite|improve this answer

"So what if it is an attraction force? How this should influence our calculations

Because you have written the work--energy relation in an incomplete shorthand. The correct version, $$W = \int \vec{F} \cdot d\vec{x} \quad,$$ depends on the relationship between the direction of the force and the direction of the path.

This relationship is the source of all the mysterious changes of sign that are confusing you. In gravity the force between two bodies always points in the direction of less separation, but in electrostatics it can point either way depending on the sign of the product of the charges.

share|cite|improve this answer
Thank you, I now understand it better. – grjj3 May 16 '13 at 18:25

The minus sign got put in there when we created mechanical energy. Take the $\int \vec{F}\cdot\vec{dr}$. This an indefinite integral. If you substract this integral to itself, it gives a constant, because the indefinite integral is defined up to a constant.


$c = \int \vec{F}\cdot d\vec{r} - \int \vec{F}\cdot d\vec{r}$

Calculate the first term substituting in $\vec{F}=m\vec{a}=m\frac{\vec{dv}}{dt}$ and $d\vec{r} = \vec{v}dt$. You will get $\frac{1}{2}mv^2$ Calculate the second term exactly, when it is possible.

$c = \underbrace{\frac{1}{2}mv^2}_{T} \underbrace{- \int \vec{F}\cdot d\vec{r}}_{+V}$

We happen to call this constant the energy. This is why where the minus sign comes from on the potential.

As for the work you need to do, you have to calculate $W = \int \vec{F}\cdot\vec{dr}$ where the force is the force you apply to bring the particle from point A to point B. To find out whether this is Ua - Ub or Ub-Ua, you need to check how they calculated it. This is not always the same in electromagnetism books. Some like to take $d\vec{r}$ a path going outwards from the point charge or coming in. In away, if you calculate $\int\vec{F}\cdot d\vec{r}$ where $\vec{F}$ is the force you apply along your path, you never go wrong.

share|cite|improve this answer
I'd like to know why this comment is downvoted. I thought the explanation was clear enough – Mathusalem May 15 '13 at 13:56

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.