# Potential energy

In physics, potential energy is the energy of an object or system due to the body's position relative to other objects, or the configuration of its particles. The energy is equal to the work done against any restoring forces, such as gravity or those in a spring.
The term potential energy was introduced by the 19th-century Scottish engineer and physicist William Rankine, although it has links to the ancient Greek philosopher Aristotle's concept of potentiality.
Common types of potential energy include gravitational potential energy, the elastic potential energy of a deformed spring, and the electric potential energy of an electric charge and an electric field. The unit for energy in the International System of Units (SI) is the joule (symbol J).
Potential energy is associated with forces that act on a body in a way that the total work done by these forces on the body depends only on the initial and final positions of the body in space. These forces, whose total work is path independent, are called conservative forces. If the force acting on a body varies over space, then one has a force field; such a field is described by vectors at every point in space which is, in turn, called a vector field. A conservative vector field can be simply expressed as the gradient of a certain scalar function, called a scalar potential. The potential energy is related to, and can be obtained from, this potential function.

## Overview

There are various types of potential energy, each associated with a particular type of force. For example, the work of an elastic force is called elastic potential energy; work of the gravitational force is called gravitational potential energy; work of the Coulomb force is called electric potential energy; work of the nuclear force acting on the baryon charge is called nuclear potential energy; work of intermolecular forces is called intermolecular potential energy. Chemical potential energy, such as the energy stored in fossil fuels, is the work of the Coulomb force during rearrangement of configurations of electrons and nuclei in atoms and molecules. Thermal energy usually has two components: the kinetic energy of random motions of particles and the potential energy of their configuration.
Forces derivable from a potential are also called conservative forces. The work done by a conservative force is $W=-\Delta U$ where $\Delta U$ is the change in the potential energy associated with the force. The negative sign provides the convention that work done against a force field increases potential energy, while work done by the force field decreases potential energy. Common notations for potential energy are PE, U, V, and E$_p$.
Potential energy is the energy by virtue of an object's position relative to other objects. Potential energy is often associated with restoring forces such as a spring or the force of gravity. The action of stretching a spring or lifting a mass is performed by an external force that works against the force field of the potential. This work is stored in the force field, which is said to be stored as potential energy. If the external force is removed the force field acts on the body to perform the work as it moves the body back to the initial position, reducing the stretch of the spring or causing a body to fall.
Consider a ball whose mass is m dropped from height h. The acceleration g of free fall is approximately constant, so the weight force of the ball mg is constant. The product of force and displacement gives the work done, which is equal to the gravitational potential energy, thus $U_{g}=mgh.$
The more formal definition is that potential energy is the energy difference between the energy of an object in a given position and its energy at a reference position.

## History

From around 1840 scientists sought to define and understand energy and work. The term "potential energy" was coined by William Rankine a Scottish engineer and physicist in 1853 as part of a specific effort to develop terminology. He chose the term as part of the pair "actual" vs "potential" going back to work by Aristotle. In his 1867 discussion of the same topic Rankine describes potential energy as 'energy of configuration' in contrast to actual energy as 'energy of activity'. Also in 1867, William Thomson introduced "kinetic energy" as the opposite of "potential energy", asserting that all actual energy took the form of ⁠1/2⁠mv$^2$. Once this hypothesis became widely accepted, the term "actual energy" gradually faded.

## Work and potential energy

Potential energy is closely linked with forces. If the work done by a force on a body that moves from A to B does not depend on the path between these points (if the work is done by a conservative force), then the work of this force measured from A assigns a scalar value to every other point in space and defines a scalar potential field. In this case, the force can be defined as the negative of the vector gradient of the potential field.
If the work for an applied force is independent of the path, then the work done by the force is evaluated from the start to the end of the trajectory of the point of application. This means that there is a function U(x), called a "potential", that can be evaluated at the two points x$_A$ and x$_B$ to obtain the work over any trajectory between these two points. It is tradition to define this function with a negative sign so that positive work is a reduction in the potential, that is $W=\int _{C}\mathbf {F} \cdot d\mathbf {x} =U(\mathbf {x} _{\text{A}})-U(\mathbf {x} _{\text{B}})$ where C is the trajectory taken from A to B. Because the work done is independent of the path taken, then this expression is true for any trajectory, C, from A to B.
The function U(x) is called the potential energy associated with the applied force. Examples of forces that have potential energies are gravity and spring forces.

### Derivable from a potential

In this section the relationship between work and potential energy is presented in more detail. The line integral that defines work along curve C takes a special form if the force F is related to a scalar field U′(x) so that $\mathbf {F} ={\nabla U'}=\left({\frac {\partial U'}{\partial x}},{\frac {\partial U'}{\partial y}},{\frac {\partial U'}{\partial z}}\right).$ This means that the units of U′ must be this case, work along the curve is given by $W=\int _{C}\mathbf {F} \cdot d\mathbf {x} =\int _{C}\nabla U'\cdot d\mathbf {x} ,$ which can be evaluated using the gradient theorem to obtain $W=U'(\mathbf {x} _{\text{B}})-U'(\mathbf {x} _{\text{A}}).$ This shows that when forces are derivable from a scalar field, the work of those forces along a curve C is computed by evaluating the scalar field at the start point A and the end point B of the curve. This means the work integral does not depend on the path between A and B and is said to be independent of the path.
Potential energy U = −U′(x) is traditionally defined as the negative of this scalar field so that work by the force field decreases potential energy, that is $W=U(\mathbf {x} _{\text{A}})-U(\mathbf {x} _{\text{B}}).$
In this case, the application of the del operator to the work function yields, ${\nabla W}=-{\nabla U}=-\left({\frac {\partial U}{\partial x}},{\frac {\partial U}{\partial y}},{\frac {\partial U}{\partial z}}\right)=\mathbf {F} ,$ and the force F is said to be "derivable from a potential". This also necessarily implies that F must be a conservative vector field. The potential U defines a force F at every point x in space, so the set of forces is called a force field.

### Computing potential energy

Given a force field F(x), evaluation of the work integral using the gradient theorem can be used to find the scalar function associated with potential energy. This is done by introducing a parameterized curve γ(t) = r(t) from γ(a) = A to γ(b) = B, and computing, ${\begin{aligned}\int _{\gamma }\nabla \Phi (\mathbf {r} )\cdot d\mathbf {r} &=\int _{a}^{b}\nabla \Phi (\mathbf {r} (t))\cdot \mathbf {r} '(t)dt,\\&=\int _{a}^{b}{\frac {d}{dt}}\Phi (\mathbf {r} (t))dt=\Phi (\mathbf {r} (b))-\Phi (\mathbf {r} (a))=\Phi \left(\mathbf {x} _{B}\right)-\Phi \left(\mathbf {x} _{A}\right).\end{aligned}}$
For the force field F, let v = dr/dt, then the gradient theorem yields, ${\begin{aligned}\int _{\gamma }\mathbf {F} \cdot d\mathbf {r} &=\int _{a}^{b}\mathbf {F} \cdot \mathbf {v} \,dt,\\&=-\int _{a}^{b}{\frac {d}{dt}}U(\mathbf {r} (t))\,dt=U(\mathbf {x} _{A})-U(\mathbf {x} _{B}).\end{aligned}}$
The power applied to a body by a force field is obtained from the gradient of the work, or potential, in the direction of the velocity v of the point of application, that is $P(t)=-{\nabla U}\cdot \mathbf {v} =\mathbf {F} \cdot \mathbf {v} .$
Examples of work that can be computed from potential functions are gravity and spring forces.

## Potential energy for near-Earth gravity

For small height changes, gravitational potential energy can be computed using $U_{g}=mgh,$ where m is the mass in kilograms, g is the local gravitational field (9.8 metres per second squared on Earth), h is the height above a reference level in metres, and U is the energy in joules.
In classical physics, gravity exerts a constant downward force F = (0, 0, F$_z$) on the center of mass of a body moving near the surface of the Earth. The work of gravity on a body moving along a trajectory r(t) = (x(t), y(t), z(t)), such as the track of a roller coaster is calculated using its velocity, v = (v$_x$, v$_y$, v$_z$), to obtain $W=\int _{t_{1}}^{t_{2}}{\boldsymbol {F}}\cdot {\boldsymbol {v}}\,dt=\int _{t_{1}}^{t_{2}}F_{z}v_{z}\,dt=F_{z}\Delta z.$ where the integral of the vertical component of velocity is the vertical distance. The work of gravity depends only on the vertical movement of the curve r(t).

## Potential energy for a linear spring

A horizontal spring exerts a force F = (−kx, 0, 0) that is proportional to its deformation in the axial or x direction. The work of this spring on a body moving along the space curve s(t) = (x(t), y(t), z(t)), is calculated using its velocity, v = (v$_x$, v$_y$, v$_z$), to obtain $W=\int _{0}^{t}\mathbf {F} \cdot \mathbf {v} \,dt=-\int _{0}^{t}kxv_{x}\,dt=-\int _{0}^{t}kx{\frac {dx}{dt}}dt=\int _{x(t_{0})}^{x(t)}kx\,dx={\frac {1}{2}}kx^{2}$ For convenience, consider contact with the spring occurs at t = 0, then the integral of the product of the distance x and the x-velocity, xv$_x$, is x$^2$/2.
The function $U(x)={\frac {1}{2}}kx^{2},$ is called the potential energy of a linear spring.
Elastic potential energy is the potential energy of an elastic object (for example a bow or a catapult) that is deformed under tension or compression (or stressed in formal terminology). It arises as a consequence of a force that tries to restore the object to its original shape, which is most often the electromagnetic force between the atoms and molecules that constitute the object. If the stretch is released, the energy is transformed into kinetic energy.

## Potential energy for gravitational forces between two bodies

The gravitational potential function, also known as gravitational potential energy, is: $U=-{\frac {GMm}{r}},$
The negative sign follows the convention that work is gained from a loss of potential energy.

### Derivation

The gravitational force between two bodies of mass M and m separated by a distance r is given by Newton's law of universal gravitation $\mathbf {F} =-{\frac {GMm}{r^{2}}}\mathbf {\hat {r}} ,$ where $\mathbf {\hat {r}}$ is a vector of length 1 pointing from M to m and G is the gravitational constant.
Let the mass m move at the velocity v then the work of gravity on this mass as it moves from position r(t$_1$) to r(t$_2$) is given by $W=-\int _{\mathbf {r} (t_{1})}^{\mathbf {r} (t_{2})}{\frac {GMm}{r^{3}}}\mathbf {r} \cdot d\mathbf {r} =-\int _{t_{1}}^{t_{2}}{\frac {GMm}{r^{3}}}\mathbf {r} \cdot \mathbf {v} \,dt.$ The position and velocity of the mass m are given by $\mathbf {r} =r\mathbf {e} _{r},\qquad \mathbf {v} ={\dot {r}}\mathbf {e} _{r}+r{\dot {\theta }}\mathbf {e} _{t},$ where e$_r$ and e$_t$ are the radial and tangential unit vectors directed relative to the vector from M to m. Use this to simplify the formula for work of gravity to, $W=-\int _{t_{1}}^{t_{2}}{\frac {GmM}{r^{3}}}(r\mathbf {e} _{r})\cdot ({\dot {r}}\mathbf {e} _{r}+r{\dot {\theta }}\mathbf {e} _{t})\,dt=-\int _{t_{1}}^{t_{2}}{\frac {GmM}{r^{3}}}r{\dot {r}}dt={\frac {GMm}{r(t_{2})}}-{\frac {GMm}{r(t_{1})}}.$
This calculation uses the fact that ${\frac {d}{dt}}r^{-1}=-r^{-2}{\dot {r}}=-{\frac {\dot {r}}{r^{2}}}.$

## Potential energy for electrostatic forces between two bodies

The electrostatic force exerted by a charge Q on another charge q separated by a distance r is given by Coulomb's Law $\mathbf {F} ={\frac {1}{4\pi \varepsilon _{0}}}{\frac {Qq}{r^{2}}}\mathbf {\hat {r}} ,$ where $\mathbf {\hat {r}}$ is a vector of length 1 pointing from Q to q and ε$_0$ is the vacuum permittivity.
The work W required to move q from A to any point B in the electrostatic force field is given by the potential function $U(r)={\frac {1}{4\pi \varepsilon _{0}}}{\frac {Qq}{r}}.$

## Reference level

The potential energy is a function of the state a system is in, and is defined relative to that for a particular state. This reference state is not always a real state; it may also be a limit, such as with the distances between all bodies tending to infinity, provided that the energy involved in tending to that limit is finite, such as in the case of inverse-square law forces. Any arbitrary reference state could be used; therefore it can be chosen based on convenience.
Typically the potential energy of a system depends on the relative positions of its components only, so the reference state can also be expressed in terms of relative positions.

## Gravitational potential energy

Gravitational energy is the potential energy associated with gravitational force, as work is required to elevate objects against Earth's gravity. The potential energy due to elevated positions is called gravitational potential energy, and is evidenced by water in an elevated reservoir or kept behind a dam. If an object falls from one point to another point inside a gravitational field, the force of gravity will do positive work on the object, and the gravitational potential energy will decrease by the same amount.
Consider a book placed on top of a table. As the book is raised from the floor to the table, some external force works against the gravitational force. If the book falls back to the floor, the "falling" energy the book receives is provided by the gravitational force. Thus, if the book falls off the table, this potential energy goes to accelerate the mass of the book and is converted into kinetic energy. When the book hits the floor this kinetic energy is converted into heat, deformation, and sound by the impact.
The factors that affect an object's gravitational potential energy are its height relative to some reference point, its mass, and the strength of the gravitational field it is in. Thus, a book lying on a table has less gravitational potential energy than the same book on top of a taller cupboard and less gravitational potential energy than a heavier book lying on the same table. An object at a certain height above the Moon's surface has less gravitational potential energy than at the same height above the Earth's surface because the Moon's gravity is weaker. "Height" in the common sense of the term cannot be used for gravitational potential energy calculations when gravity is not assumed to be a constant. The following sections provide more detail.

### Local approximation

The strength of a gravitational field varies with location. However, when the change of distance is small in relation to the distances from the center of the source of the gravitational field, this variation in field strength is negligible and we can assume that the force of gravity on a particular object is constant. Near the surface of the Earth, for example, we assume that the acceleration due to gravity is a constant g = 9.8 m/s$^2$ (standard gravity). In this case, a simple expression for gravitational potential energy can be derived using the W = Fd equation for work, and the equation $W_{F}=-\Delta U_{F}.$
The amount of gravitational potential energy held by an elevated object is equal to the work done against gravity in lifting it. The work done equals the force required to move it upward multiplied with the vertical distance it is moved (remember W = Fd). The upward force required while moving at a constant velocity is equal to the weight, mg, of an object, so the work done in lifting it through a height h is the product mgh. Thus, when accounting only for mass, gravity, and altitude, the equation is: $U=mgh$ where U is the potential energy of the object relative to its being on the Earth's surface, m is the mass of the object, g is the acceleration due to gravity, and h is the altitude of the object.
Hence, the potential difference is $\Delta U=mg\Delta h.$

### General formula

However, over large variations in distance, the approximation that g is constant is no longer valid, and we have to use calculus and the general mathematical definition of work to determine gravitational potential energy. For the computation of the potential energy, we can integrate the gravitational force, whose magnitude is given by Newton's law of gravitation, with respect to the distance r between the two bodies. Using that definition, the gravitational potential energy of a system of masses m$_1$ and M$_2$ at a distance r using the Newtonian constant of gravitation G is
$U=-G{\frac {m_{1}M_{2}}{r}}+K,$
where K is an arbitrary constant dependent on the choice of datum from which potential is measured. Choosing the convention that K = 0 (i.e. in relation to a point at infinity) makes calculations simpler, albeit at the cost of making U negative; for why this is physically reasonable, see below.
Given this formula for U, the total potential energy of a system of n bodies is found by summing, for all n(n−1)/2 {\textstyle {\frac {n(n-1)}{2}}} pairs of two bodies, the potential energy of the system of those two bodies.
Considering the system of bodies as the combined set of small particles the bodies consist of, and applying the previous on the particle level we get the negative gravitational binding energy. This potential energy is more strongly negative than the total potential energy of the system of bodies as such since it also includes the negative gravitational binding energy of each body. The potential energy of the system of bodies as such is the negative of the energy needed to separate the bodies from each other to infinity, while the gravitational binding energy is the energy needed to separate all particles from each other to infinity.
$U=-m\left(G{\frac {M_{1}}{r_{1}}}+G{\frac {M_{2}}{r_{2}}}\right)$ therefore, $U=-m\sum G{\frac {M}{r}},$

### Negative gravitational energy

As with all potential energies, only differences in gravitational potential energy matter for most physical purposes, and the choice of zero point is arbitrary. Given that there is no reasonable criterion for preferring one particular finite r over another, there seem to be only two reasonable choices for the distance at which U becomes zero: $r=0$ and $r=\infty$. The choice of $U=0$ at infinity may seem peculiar, and the consequence that gravitational energy is always negative may seem counterintuitive, but this choice allows gravitational potential energy values to be finite, albeit negative.
The singularity at $r=0$ in the formula for gravitational potential energy means that the only other apparently reasonable alternative choice of convention, with $U=0$ for $r=0$, would result in potential energy being positive, but infinitely large for all nonzero values of r, and would make calculations involving sums or differences of potential energies beyond what is possible with the real number system. Since physicists abhor infinities in their calculations, and r is always non-zero in practice, the choice of $U=0$ at infinity is by far the more preferable choice, even if the idea of negative energy in a gravity well appears to be peculiar at first.
The negative value for gravitational energy also has deeper implications that make it seem more reasonable in cosmological calculations where the total energy of the universe can meaningfully be considered; see inflation theory for more on this.

### Uses

Gravitational potential energy has a number of practical uses, notably the generation of pumped-storage hydroelectricity. For example, in Dinorwig, Wales, there are two lakes, one at a higher elevation than the other. At times when surplus electricity is not required (and so is comparatively cheap), water is pumped up to the higher lake, thus converting the electrical energy (running the pump) to gravitational potential energy. At times of peak demand for electricity, the water flows back down through electrical generator turbines, converting the potential energy into kinetic energy and then back into electricity. The process is not completely efficient and some of the original energy from the surplus electricity is in fact lost to friction.
Gravitational potential energy is also used to power clocks in which falling weights operate the mechanism.
It is also used by counterweights for lifting up an elevator, crane, or sash window.
Roller coasters are an entertaining way to utilize potential energy – chains are used to move a car up an incline (building up gravitational potential energy), to then have that energy converted into kinetic energy as it falls.
Another practical use is utilizing gravitational potential energy to descend (perhaps coast) downhill in transportation such as the descent of an automobile, truck, railroad train, bicycle, airplane, or fluid in a pipeline. In some cases the kinetic energy obtained from the potential energy of descent may be used to start ascending the next grade such as what happens when a road is undulating and has frequent dips. The commercialization of stored energy (in the form of rail cars raised to higher elevations) that is then converted to electrical energy when needed by an electrical grid, is being undertaken in the United States in a system called Advanced Rail Energy Storage (ARES).

## Chemical potential energy

Chemical potential energy is a form of potential energy related to the structural arrangement of atoms or molecules. This arrangement may be the result of chemical bonds within a molecule or otherwise. Chemical energy of a chemical substance can be transformed to other forms of energy by a chemical reaction. As an example, when a fuel is burned the chemical energy is converted to heat, same is the case with digestion of food metabolized in a biological organism. Green plants transform solar energy to chemical energy through the process known as photosynthesis, and electrical energy can be converted to chemical energy through electrochemical reactions.
The similar term chemical potential is used to indicate the potential of a substance to undergo a change of configuration, be it in the form of a chemical reaction, spatial transport, particle exchange with a reservoir, etc.

## Electric potential energy

An object can have potential energy by virtue of its electric charge and several forces related to their presence. There are two main types of this kind of potential energy: electrostatic potential energy, electrodynamic potential energy (also sometimes called magnetic potential energy).

### Electrostatic potential energy

Electrostatic potential energy between two bodies in space is obtained from the force exerted by a charge Q on another charge q which is given by $\mathbf {F} _{e}=-{\frac {1}{4\pi \varepsilon _{0}}}{\frac {Qq}{r^{2}}}\mathbf {\hat {r}} ,$ where $\mathbf {\hat {r}}$ is a vector of length 1 pointing from Q to q and ε$_0$ is the vacuum permittivity.
If the electric charge of an object can be assumed to be at rest, then it has potential energy due to its position relative to other charged objects. The electrostatic potential energy is the energy of an electrically charged particle (at rest) in an electric field. It is defined as the work that must be done to move it from an infinite distance away to its present location, adjusted for non-electrical forces on the object. This energy will generally be non-zero if there is another electrically charged object nearby.
The work W required to move q from A to any point B in the electrostatic force field is given by $\Delta U_{AB}({\mathbf {r} })=-\int _{A}^{B}\mathbf {F_{e}} \cdot d\mathbf {r}$ typically given in J for Joules. A related quantity called electric potential (commonly denoted with a V for voltage) is equal to the electric potential energy per unit charge.

### Magnetic potential energy

The energy of a magnetic moment ${\boldsymbol {\mu }}$ in an externally produced magnetic B-field B has potential energy $U=-{\boldsymbol {\mu }}\cdot \mathbf {B} .$
The magnetization M in a field is $U=-{\frac {1}{2}}\int \mathbf {M} \cdot \mathbf {B} \,dV,$ where the integral can be over all space or, equivalently, where M is nonzero. Magnetic potential energy is the form of energy related not only to the distance between magnetic materials, but also to the orientation, or alignment, of those materials within the field. For example, the needle of a compass has the lowest magnetic potential energy when it is aligned with the north and south poles of the Earth's magnetic field. If the needle is moved by an outside force, torque is exerted on the magnetic dipole of the needle by the Earth's magnetic field, causing it to move back into alignment. The magnetic potential energy of the needle is highest when its field is in the same direction as the Earth's magnetic field. Two magnets will have potential energy in relation to each other and the distance between them, but this also depends on their orientation. If the opposite poles are held apart, the potential energy will be higher the further they are apart and lower the closer they are. Conversely, like poles will have the highest potential energy when forced together, and the lowest when they spring apart.

## Nuclear potential energy

Nuclear potential energy is the potential energy of the particles inside an atomic nucleus. The nuclear particles are bound together by the strong nuclear force. Their rest mass provides the potential energy for certain kinds of radioactive decay, such as beta decay.
Nuclear particles like protons and neutrons are not destroyed in fission and fusion processes, but collections of them can have less mass than if they were individually free, in which case this mass difference can be liberated as heat and radiation in nuclear reactions. The process of hydrogen fusion occurring in the Sun is an example of this form of energy release — 600 million tonnes of hydrogen nuclei are fused into helium nuclei, with a loss of about 4 million tonnes of mass per second. This energy, now in the form of kinetic energy and gamma rays, keeps the solar core hot even as electromagnetic radiation carries electromagnetic energy into space.

## Forces and potential energy

Potential energy is closely linked with forces. If the work done by a force on a body that moves from A to B does not depend on the path between these points, then the work of this force measured from A assigns a scalar value to every other point in space and defines a scalar potential field. In this case, the force can be defined as the negative of the vector gradient of the potential field.
For example, gravity is a conservative force. The associated potential is the gravitational potential, often denoted by $\phi$ or $V$, corresponding to the energy per unit mass as a function of position. The gravitational potential energy of two particles of mass M and m separated by a distance r is $U=-{\frac {GMm}{r}}.$ The gravitational potential (specific energy) of the two bodies is $\phi =-\left({\frac {GM}{r}}+{\frac {Gm}{r}}\right)=-{\frac {G(M+m)}{r}}=-{\frac {GMm}{\mu r}}={\frac {U}{\mu }}$ where $\mu$ is the reduced mass.
The work done against gravity by moving an infinitesimal mass from point A with $U=a$ to point B with $U=b$ is $(b-a)$ and the work done going back the other way is $(a-b)$ so that the total work done in moving from A to B and returning to A is $U_{A\to B\to A}=(b-a)+(a-b)=0.$ If the potential is redefined at A to be $a+c$ and the potential at B to be $b+c$, where $c$ is a constant (i.e. $c$ can be any number, positive or negative, but it must be the same at A as it is at B) then the work done going from A to B is $U_{A\to B}=(b+c)-(a+c)=b-a$ as before.
In practical terms, this means that one can set the zero of $U$ and $\phi$ anywhere one likes. One may set it to be zero at the surface of the Earth, or may find it more convenient to set zero at infinity (as in the expressions given earlier in this section).
A conservative force can be expressed in the language of differential geometry as a closed form. As Euclidean space is contractible, its de Rham cohomology vanishes, so every closed form is also an exact form, and can be expressed as the gradient of a scalar field. This gives a mathematical justification of the fact that all conservative forces are gradients of a potential field.