# 14.6: Oscillations in an LC Circuit

- Page ID
- 4439

\( \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:

- Explain why charge or current oscillates between a capacitor and inductor, respectively, when wired in series
- Describe the relationship between the charge and current oscillating between a capacitor and inductor wired in series

It is worth noting that both capacitors and inductors store energy, in their electric and magnetic fields, respectively. A circuit containing both an inductor (**L**) and a capacitor (**C**) can oscillate without a source of emf by shifting the energy stored in the circuit between the electric and magnetic fields. Thus, the concepts we develop in this section are directly applicable to the exchange of energy between the electric and magnetic fields in electromagnetic waves, or light. We start with an idealized circuit of zero resistance that contains an inductor and a capacitor, an ** LC circuit**.

An **LC** circuit is shown in Figure \(\PageIndex{1}\). If the capacitor contains a charge \(q_0\) before the switch is closed, then all the energy of the circuit is initially stored in the electric field of the capacitor (Figure \(\PageIndex{1a}\)). This energy is

\[U_C = \frac{1}{2} \frac{q_0^2}{C}.\]

When the switch is closed, the capacitor begins to discharge, producing a current in the circuit. The current, in turn, creates a magnetic field in the inductor. The net effect of this process is a transfer of energy from the capacitor, with its diminishing electric field, to the inductor, with its increasing magnetic field.

In Figure \(\PageIndex{1b}\), the capacitor is completely discharged and all the energy is stored in the magnetic field of the inductor. At this instant, the current is at its maximum value \(I_0\) and the energy in the inductor is

\[U_L = \frac{1}{2} LI_0^2.\]

Since there is no resistance in the circuit, no energy is lost through Joule heating; thus, the maximum energy stored in the capacitor is equal to the maximum energy stored at a later time in the inductor:

\[\frac{1}{2} \frac{q_0^2}{C} = \frac{1}{2} LI_0^2.\]

At an arbitrary time when the capacitor charge is **q(t)** and the current is **i(t)**, the total energy **U** in the circuit is given by

\[\frac{q^2(t)}{2C} + \frac{Li^2}{2}.\]

Because there is no energy dissipation,

\[U = \frac{1}{2} \frac{q^2}{C} + \frac{1}{2}Li^2 = \frac{1}{2} \frac{q_0^2}{C} = \frac{1}{2}LI_0^2.\]

After reaching its maximum \(I_0\), the current **i(t)** continues to transport charge between the capacitor plates, thereby recharging the capacitor. Since the inductor resists a change in current, current continues to flow, even though the capacitor is discharged. This continued current causes the capacitor to charge with opposite polarity. The electric field of the capacitor increases while the magnetic field of the inductor diminishes, and the overall effect is a transfer of energy from the inductor **back** to the capacitor. From the law of energy conservation, the maximum charge that the capacitor re-acquires is \(q_0\). However, as Figure \(\PageIndex{1c}\) shows, the capacitor plates are charged **opposite** to what they were initially.

When fully charged, the capacitor once again transfers its energy to the inductor until it is again completely discharged, as shown in Figure \(\PageIndex{1d}\). Then, in the last part of this cyclic process, energy flows back to the capacitor, and the initial state of the circuit is restored.

We have followed the circuit through one complete cycle. Its electromagnetic oscillations are analogous to the mechanical oscillations of a mass at the end of a spring. In this latter case, energy is transferred back and forth between the mass, which has kinetic energy \(mv^2/2\), and the spring, which has potential energy \(kx^2/2\). With the absence of friction in the mass-spring system, the oscillations would continue indefinitely. Similarly, the oscillations of an **LC** circuit with no resistance would continue forever if undisturbed; however, this ideal zero-resistance **LC** circuit is not practical, and any **LC** circuit will have at least a small resistance, which will radiate and lose energy over time.

The frequency of the oscillations in a resistance-free **LC** circuit may be found by analogy with the mass-spring system. For the circuit, \(i(t) = dq(t)/dt\), the total electromagnetic energy **U** is

\[U = \frac{1}{2}Li^2 + \frac{1}{2} \frac{q^2}{C}.\]

For the mass-spring system, \(v(t) = dx(t)/dt\), the total mechanical energy **E** is

\[E = \frac{1}{2}mv^2 + \frac{1}{2}kx^2.\]

The equivalence of the two systems is clear. To go from the mechanical to the electromagnetic system, we simply replace **m** by **L**, **v** by **i**, **k** by 1/**C**, and **x** by **q**. Now **x(t)** is given by

\[x(t) = A \, cos (\omega t + \phi)\] where \(\omega = \sqrt{k/m}\). Hence, the charge on the capacitor in an **LC** circuit is given by

\[q(t) = q_0 \, cos (\omega t + \phi) \label{14.40}\]

where the angular frequency of the oscillations in the circuit is

\[\omega = \sqrt{\frac{1}{LC}}. \label{14.41}\]

Finally, the current in the **LC** circuit is found by taking the time derivative of **q(t)**:

\[i(t) = \frac{dq(t)}{dt} = - \omega q_0 \, sin(\omega t + \phi).\]

The time variations of **q** and **I** are shown in Figure \(\PageIndex{1e}\) for \(\phi = 0\).

In an **LC** circuit, the self-inductance is \(2.0 \times 10^{-2}\) H and the capacitance is \(8.0 \times 10^{-6}\) F. At \(t = 0\) all of the energy is stored in the capacitor, which has charge \(1.2 \times 10^{-5}\) C. (a) What is the angular frequency of the oscillations in the circuit? (b) What is the maximum current flowing through circuit? (c) How long does it take the capacitor to become completely discharged? (d) Find an equation that represents **q(t)**.

**Strategy**

The angular frequency of the **LC** circuit is given by Equation \ref{14.41}. To find the maximum current, the maximum energy in the capacitor is set equal to the maximum energy in the inductor. The time for the capacitor to become discharged if it is initially charged is a quarter of the period of the cycle, so if we calculate the period of the oscillation, we can find out what a quarter of that is to find this time. Lastly, knowing the initial charge and angular frequency, we can set up a cosine equation to find **q**(**t**).

**Solution**

- From Equation \ref{14.41}, the angular frequency of the oscillations is \[\omega = \sqrt{\frac{1}{LC}} = \sqrt{\frac{1}{(2.0 \times 10^{-2} \, H)(8.0 \times 10^{-6} \, F)}} = 2.5 \times 10^3 \, rad/s.\]
- The current is at its maximum \(I_0\) when all the energy is stored in the inductor. From the law of energy conservation, \[\frac{1}{2}LI_0^2 = \frac{1}{2} \frac{q_0^2}{C},\] so \[I_0 = \sqrt{\frac{1}{LC}}q_0 = (2.5 \times 10^3 \, rad/s)(1.2 \times 10^{-5} C) = 3.0 \times 10^{-2} A.\] This result can also be found by an analogy to simple harmonic motion, where current and charge are the velocity and position of an oscillator.
- The capacitor becomes completely discharged in one-fourth of a cycle, or during a time
**T**/4, where**T**is the period of the oscillations. Since \[T = \frac{2\pi}{\omega} = \frac{2\pi}{2.5 \times 10^3 \, rad/s} = 2.5 \times 10^{-3} s,\] the time taken for the capacitor to become fully discharged is \((2.5 \times 10^{-3} s)/4 = 6.3 \times 10^{-4}s\). - The capacitor is completely charged at \(t = 0\), so \(q(0) = q_0\). Using \ref{14.40}, we obtain \[q(0) = q_0 = q_0 \, cos \, \phi.\] Thus, \(\phi = 0\), and \[q(t) = (1.2 \times 10^{-5} C) cos (2.5 \times 10^3 t).\]

**Significance**

The energy relationship set up in part (b) is not the only way we can equate energies. At most times, some energy is stored in the capacitor and some energy is stored in the inductor. We can put both terms on each side of the equation. By examining the circuit only when there is no charge on the capacitor or no current in the inductor, we simplify the energy equation.

The angular frequency of the oscillations in an **LC** circuit is \(2.0 \times 10^3 \) rad/s. (a) If \(L = 0.10 \, H\), what is **C**? (b) Suppose that at \(t = 0\) all the energy is stored in the inductor. What is the value of \(\phi\)? (c) A second identical capacitor is connected in parallel with the original capacitor. What is the angular frequency of this circuit?

###### Solution

a. \(2.5 \, \mu F\); b. \(\pi /2 \) rad or \(3\pi /2\) rad; c. \(1.4 \times 10^3\) rad/s

## Contributors and Attributions

Samuel J. Ling (Truman State University), Jeff Sanny (Loyola Marymount University), and Bill Moebs with many contributing authors. This work is licensed by OpenStax University Physics under a Creative Commons Attribution License (by 4.0).