Skip to main content
Physics LibreTexts

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}}\)

    Learning Objectives

    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 first part of the figure shows two charged plates – one positive and one negative. A positive charge q is located between the plates and moves from point A to B. The second part of the figure shows a mass m rolling down a hill.
    Figure \(\PageIndex{1}\): A charge accelerated by an electric field is analogous to a mass going down a hill. In both cases, potential energy decreases as kinetic energy increases, \(-\Delta U = \Delta K\). Work is done by a force, but since this force is conservative, we can write \(W = -\Delta U\).

    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 figure shows two positive charges – fixed charge q and moving test charge Q and the forces on Q when is moved closer to q, from point P subscript 1 to point P subscript 2.
    Figure \(\PageIndex{2}\): Displacement of “test” charge Q in the presence of fixed “source” charge 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.

    Example \(\PageIndex{1}\): Kinetic Energy of a Charged Particle

    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\)).

    The figure shows two positive charges, q (+5.0nC) and Q (+3.0nC) and the repelling force on Q, marked as F subscript e. Q is located at r subscript 1 = 10cm and F subscript e vector is towards r subscript 2 = 15cm.
    Figure \(\PageIndex{3}\): The charge Q is repelled by q, thus having work done on it and gaining kinetic energy.
    1. What is the work done by the electric field between \(r_1\) and \(r_2\)?
    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.

    Exercise \(\PageIndex{1}\)

    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.

    Electric Potential Energy

    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 figure shows two positive charges, q and Q and the repelling force on Q. There are four points P subscript 1, P subscript 2, P subscript 3 and P subscript 4 where P subscript 1 P subscript 3 and P subscript 2 P subscript 4 form two concentric segments centered at q. The force on Q is perpendicular to direction of displacement when Q moves from P subscript 1 to P subscript 3 or P subscript 3 to P subscript 2.
    Figure \(\PageIndex{4}\):Two paths for displacement \(P_1\) to \(P_2\). The work on segments \(P_1P_3\) and \(P_4P_2\) are zero due to the electrical force being perpendicular to the displacement along these paths. Therefore, work on paths \(P_1P_2\) and \(P_1P_3P_4P_2\) are equal.

    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.

    The figure shows two positive charges, q and Q and the repelling force on Q. There are four points P subscript 1, P subscript 2, P subscript 3 and P subscript 4 where P subscript 1 P subscript 3 and P subscript 2 P subscript 4 form two concentric segments centered at q. Q’s direction of displacement is P subscript 1 P subscript 3 P subscript 4 P subscript  2 P subscript 1.
    Figure \(\PageIndex{5}\): A closed path in an electric field. The net work around this path is zero.

    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.

    Example \(\PageIndex{2}\): Potential Energy of a Charged Particle

    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)\).

    The figure shows two positive charges, q (+5.0nC) and Q (+3.0nC) and the repelling force on Q, marked as F subscript e. Q is located at r subscript 1 = 10cm and F subscript e vector is towards r subscript 2 = 15cm.
    Figure \(\PageIndex{6}\): The charge \(Q\) is repelled by \(q\), thus having work done on it and losing potential energy.

    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.

    Exercise \(\PageIndex{2}\)

    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.

    Example \(\PageIndex{3}\): Assembling Four Positive 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}\)).

    The figure shows a square with side length 1.0cm and four charges (2.0µC, 3.0µC, 4.0µC and 5.0µC) located at four corners.
    Figure \(\PageIndex{7}\): How much work is needed to assemble this charge configuration?

    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\]

    The figure shows a square with side length 1.0cm and two charges (2.0µC and 3.0µC) on adjacent corners.
    Figure \(\PageIndex{8}\): Step 2. Work \(W_2\) to bring the \(+3.0-\mu C\) charge from infinity.

    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\]

    The figure shows a square with side length 1.0cm and three charges (2.0µC, 3.0µC and 4.0µC) on three corners.
    Figure \(\PageIndex{9}\): Step 3. The work \(W_3\) to bring the \(+4.0-\mu C\) charge from infinity.

    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\]

    The figure shows a square with side length 1.0cm and four charges (2.0µC, 3.0µC, 4.0µC and 5.0µC) located at four corners.
    Figure \(\PageIndex{10}\): Step 4. The work \(W_4\) to bring the \(+5.0-\mu C\) charge from infinity.

    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.

    Exercise \(\PageIndex{3}\)

    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.


    This page titled 7.2: Electric Potential Energy is shared under a CC BY 4.0 license and was authored, remixed, and/or curated by OpenStax via source content that was edited to the style and standards of the LibreTexts platform; a detailed edit history is available upon request.