# 7.2: Electric Potential Energy

- Page ID
- 4386

\( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

\( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

\( \newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\)

( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\)

\( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)

\( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\)

\( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)

\( \newcommand{\Span}{\mathrm{span}}\)

\( \newcommand{\id}{\mathrm{id}}\)

\( \newcommand{\Span}{\mathrm{span}}\)

\( \newcommand{\kernel}{\mathrm{null}\,}\)

\( \newcommand{\range}{\mathrm{range}\,}\)

\( \newcommand{\RealPart}{\mathrm{Re}}\)

\( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)

\( \newcommand{\Argument}{\mathrm{Arg}}\)

\( \newcommand{\norm}[1]{\| #1 \|}\)

\( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)

\( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\AA}{\unicode[.8,0]{x212B}}\)

\( \newcommand{\vectorA}[1]{\vec{#1}} % arrow\)

\( \newcommand{\vectorAt}[1]{\vec{\text{#1}}} % arrow\)

\( \newcommand{\vectorB}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

\( \newcommand{\vectorC}[1]{\textbf{#1}} \)

\( \newcommand{\vectorD}[1]{\overrightarrow{#1}} \)

\( \newcommand{\vectorDt}[1]{\overrightarrow{\text{#1}}} \)

\( \newcommand{\vectE}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash{\mathbf {#1}}}} \)

\( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

\( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

\(\newcommand{\avec}{\mathbf a}\) \(\newcommand{\bvec}{\mathbf b}\) \(\newcommand{\cvec}{\mathbf c}\) \(\newcommand{\dvec}{\mathbf d}\) \(\newcommand{\dtil}{\widetilde{\mathbf d}}\) \(\newcommand{\evec}{\mathbf e}\) \(\newcommand{\fvec}{\mathbf f}\) \(\newcommand{\nvec}{\mathbf n}\) \(\newcommand{\pvec}{\mathbf p}\) \(\newcommand{\qvec}{\mathbf q}\) \(\newcommand{\svec}{\mathbf s}\) \(\newcommand{\tvec}{\mathbf t}\) \(\newcommand{\uvec}{\mathbf u}\) \(\newcommand{\vvec}{\mathbf v}\) \(\newcommand{\wvec}{\mathbf w}\) \(\newcommand{\xvec}{\mathbf x}\) \(\newcommand{\yvec}{\mathbf y}\) \(\newcommand{\zvec}{\mathbf z}\) \(\newcommand{\rvec}{\mathbf r}\) \(\newcommand{\mvec}{\mathbf m}\) \(\newcommand{\zerovec}{\mathbf 0}\) \(\newcommand{\onevec}{\mathbf 1}\) \(\newcommand{\real}{\mathbb R}\) \(\newcommand{\twovec}[2]{\left[\begin{array}{r}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\ctwovec}[2]{\left[\begin{array}{c}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\threevec}[3]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\cthreevec}[3]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\fourvec}[4]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\cfourvec}[4]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\fivevec}[5]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\cfivevec}[5]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\mattwo}[4]{\left[\begin{array}{rr}#1 \amp #2 \\ #3 \amp #4 \\ \end{array}\right]}\) \(\newcommand{\laspan}[1]{\text{Span}\{#1\}}\) \(\newcommand{\bcal}{\cal B}\) \(\newcommand{\ccal}{\cal C}\) \(\newcommand{\scal}{\cal S}\) \(\newcommand{\wcal}{\cal W}\) \(\newcommand{\ecal}{\cal E}\) \(\newcommand{\coords}[2]{\left\{#1\right\}_{#2}}\) \(\newcommand{\gray}[1]{\color{gray}{#1}}\) \(\newcommand{\lgray}[1]{\color{lightgray}{#1}}\) \(\newcommand{\rank}{\operatorname{rank}}\) \(\newcommand{\row}{\text{Row}}\) \(\newcommand{\col}{\text{Col}}\) \(\renewcommand{\row}{\text{Row}}\) \(\newcommand{\nul}{\text{Nul}}\) \(\newcommand{\var}{\text{Var}}\) \(\newcommand{\corr}{\text{corr}}\) \(\newcommand{\len}[1]{\left|#1\right|}\) \(\newcommand{\bbar}{\overline{\bvec}}\) \(\newcommand{\bhat}{\widehat{\bvec}}\) \(\newcommand{\bperp}{\bvec^\perp}\) \(\newcommand{\xhat}{\widehat{\xvec}}\) \(\newcommand{\vhat}{\widehat{\vvec}}\) \(\newcommand{\uhat}{\widehat{\uvec}}\) \(\newcommand{\what}{\widehat{\wvec}}\) \(\newcommand{\Sighat}{\widehat{\Sigma}}\) \(\newcommand{\lt}{<}\) \(\newcommand{\gt}{>}\) \(\newcommand{\amp}{&}\) \(\definecolor{fillinmathshade}{gray}{0.9}\)By the end of this section, you will be able to:

- Define the work done by an electric force
- Define electric potential energy
- Apply work and potential energy in systems with electric charges

When a free positive charge **q** is accelerated by an electric field, it is given kinetic energy (Figure \(\PageIndex{1}\)). The process is analogous to an object being accelerated by a gravitational field, as if the charge were going down an electrical hill where its electric potential energy is converted into kinetic energy, although of course the sources of the forces are very different. Let us explore the work done on a charge **q** by the electric field in this process, so that we may develop a definition of electric potential energy.

The electrostatic or Coulomb force is conservative, which means that the work done on **q** is independent of the path taken, as we will demonstrate later. This is exactly analogous to the gravitational force. When a force is conservative, it is possible to define a potential energy associated with the force. It is usually easier to work with the potential energy (because it depends only on position) than to calculate the work directly.

To show this explicitly, consider an electric charge \(+q\) fixed at the origin and move another charge \(+Q\) toward **q** in such a manner that, at each instant, the applied force \(\vec{F}\) exactly balances the electric force \(\vec{F}_e\) on **Q** (Figure \(\PageIndex{2}\)). The work done by the applied force \(\vec{F}\) on the charge **Q** changes the potential energy of **Q**. We call this potential energy the **electrical potential energy** of **Q**.

The work \(W_{12}\) done by the applied force \(\vec{F}\) when the particle moves from \(P_1\) to \(P_2\) may be calculated by

\[W_{12} = \int_{P_1}^{P_2} \vec{F} \cdot d\vec{l}.\]

Since the applied force \(\vec{F}\) balances the electric force \(\vec{F}_e\) on **Q**, the two forces have equal magnitude and opposite directions. Therefore, the applied force is

\[\vec{F} = -\vec{F}_e = - \dfrac{kqQ}{r^2} \hat{r},\]

where we have defined positive to be pointing away from the origin and **r** is the distance from the origin. The directions of both the displacement and the applied force in the system in Figure \(\PageIndex{2}\) are parallel, and thus the work done on the system is positive.

We use the letter **U** to denote electric potential energy, which has units of joules (J). When a conservative force does negative work, the system gains potential energy. When a conservative force does positive work, the system loses potential energy, \(\Delta U = - W\). In the system in Figure \(\PageIndex{3}\), the Coulomb force acts in the opposite direction to the displacement; therefore, the work is negative. However, we have increased the potential energy in the two-charge system.

A \(+3.0-nC\) charge **Q** is initially at rest a distance of 10 cm (\(r_1\)) from a \(+5.0-nC\) charge **q** fixed at the origin (Figure \(\PageIndex{3}\)). Naturally, the Coulomb force accelerates **Q** away from **q**, eventually reaching 15 cm (\(r_2\)).

- What is the work done by the electric field between \(r_1\) and \(r_2\)?
- How much kinetic energy does
**Q**have at \(r_2\)?

**Strategy**

Calculate the work with the usual definition. Since **Q** started from rest, this is the same as the kinetic energy.

**Solution**

Integrating force over distance, we obtain

\[\begin{align} W_{12} &= \int_{r_1}^{r_2} \vec{F} \cdot d\vec{r} \nonumber \\[4pt] &= \int_{r_1}^{r_2} \dfrac{kqQ}{r^2}dr \nonumber \\[4pt] &= \left. - \dfrac{kqQ}{r} \right|_{r_1}^{r_2} \nonumber \\[4pt] &= kqQ \left[\dfrac{-1}{r_2} + \dfrac{1}{r_1}\right] \nonumber \\[4pt] &= (8.99 \times 10^9 \, Nm^2/C^2)(5.0 \times 10^{-9} C)(3.0 \times 10^{-9} C) \left[ \dfrac{-1}{0.15 \, m} + \dfrac{1}{0.10 \, m}\right] \nonumber \\[4pt] &= 4.5 \times 10^{-7} \, J. \nonumber \end{align} \nonumber\]

This is also the value of the kinetic energy at \(r_2\).

**Significance**

Charge **Q** was initially at rest; the electric field of **q** did work on **Q**, so now **Q** has kinetic energy equal to the work done by the electric field.

If **Q** has a mass of \(4.00 \, \mu g\), what is the speed of **Q** at \(r_2\)?

###### Solution

\(K = \frac{1}{2}mv^2\), \(v = \sqrt{2\frac{K}{m}} = \sqrt{2\frac{4.5 \times 10^{-7}J}{4.00 \times 10^{-9}kg}} = 15 \, m/s.\)

In this example, the work **W** done to accelerate a positive charge from rest is positive and results from a loss in **U**, or a negative \(\Delta U\). A value for **U** can be found at any point by taking one point as a reference and calculating the work needed to move a charge to the other point.

Work **W** done to accelerate a positive charge from rest is positive and results from a loss in **U**, or a negative \(\Delta U\). Mathematically,

\[W = - \Delta U. \label{7.1}\]

Gravitational potential energy and electric potential energy are quite analogous. Potential energy accounts for work done by a conservative force and gives added insight regarding energy and energy transformation without the necessity of dealing with the force directly. It is much more common, for example, to use the concept of electric potential energy than to deal with the Coulomb force directly in real-world applications.

In polar coordinates with **q** at the origin and **Q** located at **r**, the displacement element vector is \(d\vec{l} = \hat{r} dr\) and thus the work becomes

\[\begin{align} W_{12} &= kqQ \int_{r_1}^{r_2} \dfrac{1}{r^2} \hat{r} \cdot \hat{r} dr \nonumber \\[4pt] &= \underbrace{kqQ \dfrac{1}{r_2}}_{final \, point} - \underbrace{kqQ \dfrac{1}{r_1}}_{initial \,point}. \end{align}\]

Notice that this result only depends on the endpoints and is otherwise independent of the path taken. To explore this further, compare path \(P_1\) to \(P_2\) with path \(P_1 P_3 P_4 P_2\) in Figure \(\PageIndex{4}\).

The segments \(P_1P_3\) and \(P_4P_2\) are arcs of circles centered at **q**. Since the force on **Q** points either toward or away from **q**, no work is done by a force balancing the electric force, because it is perpendicular to the displacement along these arcs. Therefore, the only work done is along segment \(P_3P_4\) which is identical to \(P_1P_2\).

One implication of this work calculation is that if we were to go around the path \(P_1P_3P_4P_2P_1\), the net work would be zero (Figure \(\PageIndex{5}\)). Recall that this is how we determine whether a force is conservative or not. Hence, because the electric force is related to the electric field by \(\vec{F} = g\vec{E}\), the electric field is itself conservative. That is,

\[\oint \vec{E} \cdot d\vec{l} = 0.\]

Note that **Q** is a constant.

Another implication is that we may define an electric potential energy. Recall that the work done by a conservative force is also expressed as the difference in the potential energy corresponding to that force. Therefore, the work \(W_{ref}\) to bring a charge from a reference point to a point of interest may be written as

\[W_{ref} = \int_{r_{ref}}^r \vec{F} \cdot d\vec{l}\]

and, by Equation \ref{7.1}, the difference in potential energy (\(U_2 - U_1\)) of the test charge **Q** between the two points is

\[\Delta U = - \int_{r_{ref}}^r \vec{F} \cdot d\vec{l}.\]

Therefore, we can write a general expression for the potential energy of two point charges (in spherical coordinates):

\[\Delta U = - \int_{r_{ref}}^r \dfrac{kqQ}{r^2}dr = -\left[-\dfrac{kqQ}{r}\right]_{r_{ref}}^r = kqQ\left[ \dfrac{1}{r} - \dfrac{1}{r_{ref}}\right].\]

We may take the second term to be an arbitrary constant reference level, which serves as the zero reference:

\[U(r) = k\dfrac{qQ}{r} - U_{ref}.\]

A convenient choice of reference that relies on our common sense is that when the two charges are infinitely far apart, there is no interaction between them. (Recall the discussion of reference potential energy in Potential Energy and Conservation of Energy.) Taking the potential energy of this state to be zero removes the term \(U_{ref}\) from the equation (just like when we say the ground is zero potential energy in a gravitational potential energy problem), and the potential energy of **Q** when it is separated from **q** by a distance **r** assumes the form

\[\underbrace{U(r) = k\dfrac{qQ}{r}}_{zero \, reference \, at \, r = \infty}.\]

This formula is symmetrical with respect to \(q\) and \(Q\), so it is best described as the potential energy of the two-charge system.

A \(+3.0-nC\) charge **Q** is initially at rest a distance of 10 cm \((r_1)\) from a \(+5.0-nC\) charge **q** fixed at the origin (Figure \(\PageIndex{6}\)). Naturally, the Coulomb force accelerates **Q** away from **q**, eventually reaching 15 cm \((r_2)\).

What is the change in the potential energy of the two-charge system from \(r_1\) to \(r_2\)?

**Strategy**

Calculate the potential energy with the definition given above:

\(\Delta U_{12} = -\int_{r_1}^{r_2} \vec{F} \cdot d\vec{r}\). Since **Q** started from rest, this is the same as the kinetic energy.

**Solution**

We have

\[\begin{align} \Delta U_{12} &= - \int_{r_1}^{r_2} \vec{F} \cdot d\vec{r} \nonumber \\[4pt] &= - \int_{r_1}^{r_2} \dfrac{kqQ}{r^2}dr \nonumber \\[4pt] &= - \left[ - \dfrac{kqQ}{r}\right]_{r_1}^{r_2} \nonumber \\[4pt] &=kqQ \left[ \dfrac{1}{r_2} - \dfrac{1}{r_1} \right] \nonumber \\[4pt] &= (8.99 \times 10^9 \, Nm^2/C^2)(5.0 \times 10^{-9} C)(3.0 \times 10^{-9} C) \left[ \dfrac{1}{0.15 \, m} - \dfrac{1}{0.10 \, m}\right] \nonumber \\[4pt] &= - 4.5 \times 10^{-7} \, J. \end{align} \]

**Significance**

The change in the potential energy is negative, as expected, and equal in magnitude to the change in kinetic energy in this system. Recall from Example \(\PageIndex{1}\) that the change in kinetic energy was positive.

What is the potential energy of **Q** relative to the zero reference at infinity at \(r_2\) in the above example?

###### Solution

It has kinetic energy of \(4.5 \times 10^{-7} \, J\) at point \(r_2\) and potential energy of \(9.0 \times 10^{-7} \, J\), which means that as **Q** approaches infinity, its kinetic energy totals three times the kinetic energy at \(r_2\), since all of the potential energy gets converted to kinetic.

Due to Coulomb’s law, the forces due to multiple charges on a test charge \(Q\) superimpose; they may be calculated individually and then added. This implies that the work integrals and hence the resulting potential energies exhibit the same behavior. To demonstrate this, we consider an example of assembling a system of four charges.

Find the amount of work an external agent must do in assembling four charges \(+2.0-\mu C\), \(+3.0-\mu C\), \(+4.0-\mu C\) and \(+5.0-\mu C\) at the vertices of a square of side 1.0 cm, starting each charge from infinity (Figure \(\PageIndex{7}\)).

**Strategy**

We bring in the charges one at a time, giving them starting locations at infinity and calculating the work to bring them in from infinity to their final location. We do this in order of increasing charge.

**Solution**

Step 1. First bring the \(+2.0-\mu C\) charge to the origin. Since there are no other charges at a finite distance from this charge yet, no work is done in bringing it from infinity,

\[W_1 = 0.\]

Step 2. While keeping the \(+2.0-\mu C\) charge fixed at the origin, bring the \(+3.0-\mu C\) charge to \((x,y,z) = (1.0 \, cm, \, 0, \, 0)\) (Figure \(\PageIndex{8}\)). Now, the applied force must do work against the force exerted by the \(+2.0-\mu C\) charge fixed at the origin. The work done equals the change in the potential energy of the \(+3.0-\mu C\) charge:

\[\begin{align} W_2 &= k\dfrac{q_1q_2}{r{12}} \nonumber \\[4pt] &= \left(9.0 \times 10^9 \frac{N \cdot m^2}{C^2}\right) \dfrac{(2.0 \times 10^{-6} C)(3.0 \times 10^{-6}C)}{1.0 \times 10^{-2} m} \nonumber \\[4pt] &= 5.4 \, J.\nonumber \end{align} \nonumber\]

Step 3. While keeping the charges of \(+2.0-\mu C\) and \(+3.0-\mu C\) fixed in their places, bring in the \(+4.0-\mu C\) charge to \((x,y,z) = (1.0 \, cm, \, 1.0 \, cm, \, 0)\) (Figure)\(\PageIndex{9}\). The work done in this step is

\[\begin{align} W_3 &= k\dfrac{q_1q_3}{r_{13}} + k \dfrac{q_2q_3}{r_{23}} \nonumber \\[4pt] &= \left(9.0 \times 10^9 \frac{N \cdot m^2}{C^2}\right) \left[ \dfrac{(2.0 \times 10^{-6}C)(4.0 \times 10^{-6}C)}{\sqrt{2} \times 10^{-2}m} + \dfrac{(3.0 \times 10^{-6} C)(4.0 \times 10^{-6}C)}{1.0 \times 10^{-2} m}\right] \nonumber \\[4pt] &= 15.9 \, J. \nonumber \end{align} \nonumber\]

Step 4. Finally, while keeping the first three charges in their places, bring the \(+5.0-\mu C\) charge to \((x,y,z) = (0, \, 1.0 \, cm, \, 0)\) (Figure \(\PageIndex{10}\)). The work done here is

\[\begin{align} W_4 &= kq_4 \left[ \dfrac{q_1}{r_{14}} + \dfrac{q_2}{r_{24}} + \dfrac{q_3}{r_{34}}\right], \nonumber \\[4pt] &= \left(9.0 \times 10^9 \frac{N \cdot m^2}{C^2}\right)(5.0 \times 10^{-6}C) \left[ \dfrac{(2.0 \times 10^{-6}C)}{1.0 \times 10^{-2}m} + \dfrac{(3.0 \times 10^{-6} C)} {\sqrt{2} \times 10^{-2} m} + \dfrac{(4.0 \times 10^{-6}C)}{1.0 \times 10^{-2}m} \right] \nonumber \\[4pt] &= 36.5 \, J. \nonumber \end{align} \nonumber\]

Hence, the total work done by the applied force in assembling the four charges is equal to the sum of the work in bringing each charge from infinity to its final position:

\[\begin{align} W_T &= W_1 + W_2 + W_3 + W_4 \nonumber \\[4pt] &= 0 + 5.4 \, J + 15.9 \, J + 36.5 \, J \nonumber \\[4pt] &= 57.8 \, J. \nonumber \end{align} \nonumber\]

**Significance**

The work on each charge depends only on its pairwise interactions with the other charges. No more complicated interactions need to be considered; the work on the third charge only depends on its interaction with the first and second charges, the interaction between the first and second charge does not affect the third.

Is the electrical potential energy of two point charges positive or negative if the charges are of the same sign? Opposite signs? How does this relate to the work necessary to bring the charges into proximity from infinity?

###### Solution

positive, negative, and these quantities are the same as the work you would need to do to bring the charges in from infinity

Note that the electrical potential energy is positive if the two charges are of the same type, either positive or negative, and negative if the two charges are of opposite types. This makes sense if you think of the change in the potential energy \(\Delta U\) as you bring the two charges closer or move them farther apart. Depending on the relative types of charges, you may have to work on the system or the system would do work on you, that is, your work is either positive or negative. If you have to do positive work on the system (actually push the charges closer), then the energy of the system should increase. If you bring two positive charges or two negative charges closer, you have to do positive work on the system, which raises their potential energy. Since potential energy is proportional to 1/**r**, the potential energy goes up when **r** goes down between two positive or two negative charges.

On the other hand, if you bring a positive and a negative charge nearer, you have to do negative work on the system (the charges are pulling you), which means that you take energy away from the system. This reduces the potential energy. Since potential energy is negative in the case of a positive and a negative charge pair, the increase in 1/**r** makes the potential energy more negative, which is the same as a reduction in potential energy.

The result from Example \(\PageIndex{2}\) may be extended to systems with any arbitrary number of charges. In this case, it is most convenient to write the formula as

\[W_{12 . . . N} = \dfrac{k}{2} \sum_i^N \sum_j^N \dfrac{q_iq_j}{r_{ij}} \, for \, i \neq j.\]

The factor of 1/2 accounts for adding each pair of charges twice.