logo

📂Electrodynamics

Work and Energy in Electrostatics

Work Done to Move a Charge1

Between the electric potential and the electric field, the following relation holds.

$$ -\int_\mathbf{a} ^\mathbf{b} \mathbf{E} \cdot d\mathbf{l} = \int_\mathbf{a} ^ \mathbf{b} \left( \nabla V \right) \cdot d\mathbf{l} = V(\mathbf{b}) - V(\mathbf{a}) $$

Therefore, given a fixed source charge distribution, the work required to move a test charge $Q$ from point $\mathbf{a}$ to point $\mathbf{b}$ is computed as follows.

$$ W=\int_{\mathbf{a}}^\mathbf{b} \mathbf{F} \cdot d\mathbf{l} = -Q\int_\mathbf{a}^\mathbf{b} \mathbf{E} \cdot d\mathbf{l} =Q[V(\mathbf{b})-V(\mathbf{a})] $$

Dividing the above equation by $Q$ gives the following. This means that the potential difference between $\mathbf{a}$ and $\mathbf{b}$ corresponds to the work required to move the charge $Q$ from $\mathbf{a}$ to $\mathbf{b}$.

$$ V(\mathbf{b})-V(\mathbf{a})=\dfrac{W}{Q} $$

The work required to bring the charge $Q$ from very far away to the position $\mathbf{r}$ is

$$ W=Q[V(\mathbf{r}) - V( \infty ) ]=QV(\mathbf{r}) $$

Energy of a Point Charge Distribution

Suppose we bring in a charge $q_{1}$ from very far away into empty space. Since the space was empty, there is no electric field, and hence no work is required.

Next, suppose we bring a charge $q_2$ from far away to $\mathbf{r}_2$. Now that $q_{1}$ is present, there is an electric field, and work is required to bring in $q_2$. Let $V_{1}(\mathbf{r}_2)$ be the value at $\mathbf{r}_2$ of the potential produced by $q_{1}$, and let $\cR_{12}$ be the distance from $q_{1}$ after $q_2$ has been moved. Then, by the equation obtained above,

$$ W_2=q_2V_{1}(\mathbf{r}_2)=q_2\dfrac{1}{4\pi\epsilon_{0}}\dfrac{q_{1}}{\cR_{12}} $$

This is the potential energy possessed by the pair of point charges $q_{1}$, $q_{2}$. In general, the Coulomb potential energy of two point charges $q$, $Q$ separated by a distance $\cR$ is as follows.

$$ U = \dfrac{1}{4\pi\epsilon_{0}} \dfrac{qQ}{\cR} $$

Since $U$ is symmetric in $q$ and $Q$, it is the energy of the pair of charges rather than of either single charge; it is negative if the two charges have opposite signs (attraction) and positive if they have the same sign (repulsion). Fixing $q$ and taking the gradient with respect to the position of $Q$ yields the Coulomb force exerted on $Q$.

$$ \mathbf{F} = -\nabla U = \dfrac{1}{4\pi\epsilon_{0}} \dfrac{qQ}{\cR^{2}} \crH $$

Now suppose we bring a charge $q_{3}$ from far away to $\mathbf{r}_{3}$. Since it is affected by the electric field produced by $q_{1}, q_2$,

$$ W_{3}=q_{3}\left[ V_{1}(\mathbf{r}_{3})+V_{2}(\mathbf{r}_{3}) \right] =q_{3}\dfrac{1}{4\pi\epsilon_{0}} \left( \dfrac{q_{1}}{\cR_{13}}+\dfrac{q_2}{\cR_{23} }\right) $$

Likewise, bringing in a charge $q_{4}$ gives

$$ W_{4}=q_{4}\left[ V_{1}(\mathbf{r}_{4}) +V_2(\mathbf{r}_{4}) +V_{3}(\mathbf{4}) \right]=q_{4}\dfrac{1}{4\pi\epsilon_{0}} \left( \dfrac{q_{1}}{\cR_{14}}+\dfrac{q_2}{\cR_{24}} +\dfrac{q_{3}}{\cR_{34}}\right) $$

Therefore, the total amount of work required to assemble the first four charges is

$$ W=\dfrac{1}{4\pi\epsilon_{0}}\left(\dfrac{q_{1}q_2}{\cR_{12}} +\dfrac{q_{1}q_{3}}{\cR_{13}}+\dfrac{q_{1}q_{4}}{\cR_{14}}+\dfrac{q_2q_{3}}{\cR_{23}}+\dfrac{q_2q_{4}}{\cR_{24}}+\dfrac{q_{3}q_{4}}{\cR_{34}} \right) $$

Generalizing to bringing in $n$ charges,

$$ W=\dfrac{1}{2}\dfrac{1}{4\pi\epsilon_{0}}\sum \limits_{i}^n \sum \limits_{j \ne i } ^n \dfrac{q_{i}q_{j}}{\cR_{ij}} $$

Since the case $i=2$, $j=3$ and the case $i=3$, $j=2$ are the same, the total has been divided by $2$. Rearranging,

$$ W=\dfrac{1}{2}\sum \limits_{i}^n q_{i} \left( \sum \limits_{j \ne i} ^n \dfrac{1}{4 \pi \epsilon_{0}}\dfrac{q_{j}}{\cR_{ij}} \right) = \dfrac{1}{2}\dfrac{1}{4\pi\epsilon_{0}}\sum_{i}^{n}\sum_{j \ne i}^{n} \dfrac{q_{i}q_{j}}{\cR_{ij}} $$

Here, the quantity in parentheses is the potential produced at $\mathbf{r}_{i}$, the location of $q_{i}$, by the charges $q_{j}$ with $j\ne i$, so

$$ W=\dfrac{1}{2}\sum \limits_{i}^n q_{i}V(\mathbf{r}_{i}) $$

This represents the energy stored in the assembled point charges.

Energy of a Continuous Charge Distribution

Expressing the equation obtained above for point charges in terms of line charge density, surface charge density, and volume charge density, respectively, gives the following.

$$ \begin{align*} W &= \frac{1}{2} \int \lambda V dl \\[1em] &= \frac{1}{2} \int \sigma V da \\[1em] &= \frac{1}{2} \int \rho V d\tau \end{align*} $$

In the equation for the volume charge, using Gauss’s law $\nabla \cdot \mathbf{E} = \dfrac{\rho}{\epsilon_{0}}$ to express it in terms of $\mathbf{E}$ instead of $\rho$ gives the following.

$$ W=\dfrac{\epsilon_{0}}{2} \int (\nabla \cdot \mathbf{E}) V d\tau $$

The above equation can be rewritten as follows using integration by parts.

$$ W=\dfrac{\epsilon_{0}}{2} \left[ -\int \mathbf{E} \cdot (\nabla V)d\tau + \oint V\mathbf{E} \cdot d\mathbf{a} \right] $$

Since $\nabla V=-\mathbf{E}$, we obtain the following equation.

$$ W= \dfrac{\epsilon_{0}}{2} \left[ \int _\mathcal{V} E^2 d\tau + \oint_\mathcal{S}V\mathbf{E}\cdot d\mathbf{a} \right] $$

Here, the region of integration may be any region as long as it contains the charge. After all, the charge density where there is no charge is $\rho=0$, so as long as all the charge is included, the region of integration can be taken as large as we like and the result is the same. Now, looking at the first term, the integrand is positive, so the value of the integral keeps growing as the region of integration expands. Since the total value is fixed at $W$, as the first term grows, the second term, the surface integral, must keep shrinking. Therefore, integrating over all space gives the following.

$$ W=\dfrac{\epsilon_{0}}{2} \int_{\mathrm{total\ space}} E^2 d\tau $$


  1. David J. Griffiths, 기초전자기학(Introduction to Electrodynamics, 김진승 역) (4th Edition, 2014), p100-106 ↩︎