# 8.3: Energy Stored in a Capacitor

Most of us have seen dramatizations of medical personnel using a defibrillator to pass an electrical current through a patient’s heart to get it to beat normally. Often realistic in detail, the person applying the shock directs another person to “make it 400 joules this time.” The energy delivered by the defibrillator is stored in a capacitor and can be adjusted to fit the situation. SI units of joules are often employed. Less dramatic is the use of capacitors in microelectronics to supply energy when batteries are charged (Figure). Capacitors are also used to supply energy for flash lamps on cameras.

**Figure \(\PageIndex{1}\):**** **The capacitors on the circuit board for an electronic device follow a labeling convention that identifies each one with a code that begins with the letter “C.”

The energy \(U_C\) stored in a capacitor is electrostatic potential energy and is thus related to the charge *Q* and voltage *V* between the capacitor plates. A charged capacitor stores energy in the electrical field between its plates. As the capacitor is being charged, the electrical field builds up. When a charged capacitor is disconnected from a battery, its energy remains in the field in the space between its plates.

To gain insight into how this energy may be expressed (in terms of *Q* and *V*), consider a charged, empty, parallel-plate capacitor; that is, a capacitor without a dielectric but with a vacuum between its plates. The space between its plates has a volume *Ad*, and it is filled with a uniform electrostatic field *E*. The total energy \(U_C\) of the capacitor is contained within this space. The **energy density** \(u_E\) in this space is simply \(U_C\) divided by the volume *Ad*. If we know the energy density, the energy can be found as \(U_C = u_E(Ad)\). We will learn in Electromagnetic Waves (after completing the study of Maxwell’s equations) that the energy density \(u_E\) in a region of free space occupied by an electrical field *E* depends only on the magnitude of the field and is

\[u_E = \frac{1}{2} \epsilon_0E^2.\]

If we multiply the energy density by the volume between the plates, we obtain the amount of energy stored between the plates of a parallel-plate capacitor \(U_C = u_E(Ad) = \frac{1}{2}\epsilon_0E^2Ad = \frac{1}{2}\epsilon_0\frac{V^2}{d^2}Ad = \frac{1}{2}V^2\epsilon_0 \frac{A}{d} = \frac{1}{2}V^2C\).

In this derivation, we used the fact that the electrical field between the plates is uniform so that \(E = V/d\) and \(C = \epsilon_0A/d\). Because \(C = Q/V\), we can express this result in other equivalent forms:

\[U_C = \frac{1}{2}V^2C = \frac{1}{2}\frac{Q^2}{C} = \frac{1}{2}QV.\]

The expression in Equation for the energy stored in a parallel-plate capacitor is generally valid for all types of capacitors. To see this, consider any uncharged capacitor (not necessarily a parallel-plate type). At some instant, we connect it across a battery, giving it a potential difference \(V = q/C\) between its plates. Initially, the charge on the plates is \(Q = 0\). As the capacitor is being charged, the charge gradually builds up on its plates, and after some time, it reaches the value *Q*. To move an infinitesimal charge *dq* from the negative plate to the positive plate (from a lower to a higher potential), the amount of work *dW* that must be done on *dq* is \(dW = W \space dq = \frac{q}{C} dq\).

This work becomes the energy stored in the electrical field of the capacitor. In order to charge the capacitor to a charge *Q*, the total work required is

\[W = \int_0^{W(Q)} dW = \int_0^Q \frac{q}{C}dq = \frac{1}{2}\frac{Q^2}{C}.\]

Since the geometry of the capacitor has not been specified, this equation holds for any type of capacitor. The total work *W* needed to charge a capacitor is the electrical potential energy \(U_C\) stored in it, or \(U_C = W\). When the charge is expressed in coulombs, potential is expressed in volts, and the capacitance is expressed in farads, this relation gives the energy in joules.

Knowing that the energy stored in a capacitor is \(U_C = Q^2/(2C)\), we can now find the energy density \(u_E\) stored in a vacuum between the plates of a charged parallel-plate capacitor. We just have to divide \(U_C\) by the volume *Ad* of space between its plates and take into account that for a parallel-plate capacitor, we have \(E = \sigma/\epsilon_0\) and \(C = \epsilon_0 A/d\). Therefore, we obtain

\[u_E = \frac{U_C}{Ad} = \frac{1}{2} \frac{Q^2}{C} \frac{1}{Ad} = \frac{1}{2} \frac{Q^2}{\epsilon_0A/d} \frac{1}{Ad} = \frac{1}{2} \frac{1}{\epsilon_0} \left(\frac{Q}{A}\right)^2 = \frac{\sigma^2}{2\epsilon_0} = \frac{(E\epsilon_0)^2}{2\epsilon_0} = \frac{\epsilon_0}{2}E^2\]

We see that this expression for the density of energy stored in a parallel-plate capacitor is in accordance with the general relation expressed in Equation. We could repeat this calculation for either a spherical capacitor or a cylindrical capacitor—or other capacitors—and in all cases, we would end up with the general relation given by Equation.

Example \(\PageIndex{1}\): Energy Stored in a Capacitor

Calculate the energy stored in the capacitor network in [link](a) when the capacitors are fully charged and when the capacitances are \(C_1 = 12.0 \space \mu F, \space C_2 = 2.0 \space \mu F\), and \(C_3 = 4.0 \space \mu F\), respectively.

**Strategy**

We use Equation to find the energy \(U_1, \space U_2\), and \(U_3\) stored in capacitors 1, 2, and 3, respectively. The total energy is the sum of all these energies.

Solution We identify \(C_1 = 12.0 \space \mu F\) and \(V_1 = 4.0 \space V, \space C_2 = 2.0 \space \mu F\) and \(V_2 = 8.0 \space V, \space C_3 = 4.0 \space \mu F\) and \(V_3 = 8.0 \space V\). The energies stored in these capacitors are

\[U_1 = \frac{1}{2}C_1V_1^2 = \frac{1}{2}(12.0 \space \mu F)(4.0 \space V)^2 = 96 \space \mu J,\]

\[U_2 = \frac{1}{2}C_2V_2^2 = \frac{1}{2}(2.0 \space \mu F)(8.0 \space V)^2 = 64 \space \mu J,\]

\[U_3 = \frac{1}{2}C_3V_3^2 = \frac{1}{2}(4.0 \space \mu F)(8.0 \space V)^2 = 130 \space \mu J,\]

The total energy stored in this network is

\[U_C = U_1 + U_2 + U_3 = 96 \space \mu J + 64 \space \mu J + 130 \space \mu J = 0.29 \space mJ.\]

**Significance**

We can verify this result by calculating the energy stored in the single \(4.0-\mu F\) capacitor, which is found to be equivalent to the entire network. The voltage across the network is 12.0 V. The total energy obtained in this way agrees with our previously obtained result, \(U_C = \frac{1}{2}CV^2 = \frac{1}{2}(4.0 \space \mu F)(12.0 \space V)^2 = 0.29 \space mJ\)

Note

**Check Your Understanding** The potential difference across a 5.0-pF capacitor is 0.40 V. (a) What is the energy stored in this capacitor? (b) The potential difference is now increased to 1.20 V. By what factor is the stored energy increased?

[Hide Solution]

a. \(4.0 \times 10^{-13}J\); b. 9 times

In a cardiac emergency, a portable electronic device known as an automated external defibrillator (AED) can be a lifesaver. A **defibrillator** (Figure) delivers a large charge in a short burst, or a shock, to a person’s heart to correct abnormal heart rhythm (an arrhythmia). A heart attack can arise from the onset of fast, irregular beating of the heart—called cardiac or ventricular fibrillation. Applying a large shock of electrical energy can terminate the arrhythmia and allow the body’s natural pacemaker to resume its normal rhythm. Today, it is common for ambulances to carry AEDs. AEDs are also found in many public places. These are designed to be used by lay persons. The device automatically diagnoses the patient’s heart rhythm and then applies the shock with appropriate energy and waveform. CPR (cardiopulmonary resuscitation) is recommended in many cases before using a defibrillator.

**Figure \(\PageIndex{2}\):***Automated external defibrillators are found in many public places. These portable units provide verbal instructions for use in the important first few minutes for a person suffering a cardiac attack.*

Example \(\PageIndex{2}\): Capacitance of a Heart Defibrillator

A heart defibrillator delivers \(4.00 \times 10^2 J\) of energy by discharging a capacitor initially at \(1.00 \times 10^4 V\). What is its capacitance?

**Strategy**

We are given \(U_C\) and *V*, and we are asked to find the capacitance *C*. We solve Equation for *C* and substitute.

**Solution**

Solving this expression for *C* and entering the given values yields \(C = 2\frac{U_C}{V^2} = 2\frac{4.00 \times 10^2 J}{(1.00 \times 10^4V)^2} = 8.00 \space \mu F\).

## Contributors

Paul Peter Urone (Professor Emeritus at California State University, Sacramento) and Roger Hinrichs (State University of New York, College at Oswego) with Contributing Authors: Kim Dirks (University of Auckland) and Manjula Sharma (University of Sydney). This work is licensed by OpenStax University Physics under a Creative Commons Attribution License (by 4.0).