AC Circuits, Resonance & Transformers · Guide · glidepathscience.org
GuideAC Circuits, Resonance & Transformers
Contents
This Guide explains the ideas and equations behind every Walkthrough step, Concept Challenge question and Predict round, in the order a textbook takes them. Part 1 prepares the Intro track and Part 2 the Advanced track; each takes about a quarter of an hour to read. Each section ends with a worked example that is not one of the sim’s own problems.
Part 1 · The essentials
Math you’ll need: algebra, square roots, right-triangle trigonometry and unit prefixes (m, µ, k, M); one optional box uses an integral.
Why alternating current
The electricity in a wall outlet does not flow one way. A generator’s coil turns in a magnetic field, so the emf it makes rises, falls, reverses and returns, sixty times a second in North America and fifty in most of the world. Almost everything about the power grid follows from that choice: transformers can raise and lower an alternating voltage with nothing but two coils on an iron core, so power can travel at hundreds of kilovolts and arrive at 120 V.
Alternating current also changes how circuit parts behave. A resistor treats it as it treats a steady current, but a capacitor and an inductor respond to how fast things change, so their effect depends on the frequency, and their currents fall out of step with their voltages. This Guide builds the tools for that: rms values, reactance, phasors and impedance. Then it uses them for power, for resonance, the effect a radio uses to pick one station, and for transformers.
AC sources and RMS values
An AC source makes a sinusoidal voltage, $v = V_0 \sin ωt$. The amplitude $V_0$ is the peak voltage. The period $T$ is the time for one full cycle, the frequency $f = 1/T$ is the number of cycles per second, in hertz, and the angular frequency is $ω = 2πf$, in radians per second, because each cycle is $2π$ radians of the generator’s turn.
Averaged over a cycle, a sine is zero: it spends as long below zero as above. So a meter that reported the average would read zero on every outlet. What matters for heating is the square of the voltage, since a resistor’s power is $v^2/R$ at each instant. The root-mean-square value squares the voltage, averages the square over a cycle, and takes the square root. The average of $\sin^2 ωt$ over a cycle is exactly ½, so for a sine
$V_{rms} = V_0/\sqrt2$ $I_{rms} = I_0/\sqrt2$
The rms value is the steady voltage that would heat a resistor at the same average rate. Meters report rms, and so do outlet ratings: “120 V” means 120 V rms. The factor $\sqrt2$ holds for sines only; a square wave’s rms value equals its peak.
Resistors, capacitors and inductors in AC
A resistor obeys Ohm’s law at every instant, $i = v/R$, so its current is a sine in step with the voltage, in phase, and $I_{rms} = V_{rms}/R$. Its average power is $P = I_{rms}V_{rms} = I_{rms}^2R$. The instantaneous power swings between zero and $V_0I_0$ twice each cycle; its average is half of that peak.
A capacitor holds a charge $q = Cv$ that follows the voltage. Current is the rate at which charge arrives, so it is largest when the voltage is changing fastest, as it crosses zero, and zero when the voltage peaks. The current therefore leads the voltage by a quarter cycle, 90°. The ratio of their amplitudes is the capacitive reactance
$X_C = 1/(ωC)$ $I_{rms} = V_{rms}/X_C$
Reactance is measured in ohms, like resistance, but it does not turn energy into heat. A larger capacitor, or a higher frequency, moves more charge each cycle, so $X_C$ falls: a capacitor blocks DC ($X_C$ is infinite at $f$ = 0) and passes high frequencies.
An inductor answers a change in current with an emf: $L$ times the rate at which the current changes. The voltage is largest where the current changes fastest, so the current lags the voltage by 90°, and the inductive reactance is
$X_L = ωL$ $I_{rms} = V_{rms}/X_L$
which rises with frequency: a coil passes DC and blocks high frequencies, the opposite of a capacitor. A memory aid some teachers use: in an inductor $L$ the emf $E$ comes before the current $I$ (“ELI”), and in a capacitor $C$ the current comes before the emf (“ICE”).
Phasors and impedance
Adding sines that are out of step is awkward with algebra, and easy with a picture. A phasor is an arrow whose length is the quantity’s amplitude (or rms value) and which turns counterclockwise at $ω$; its projection on the vertical axis traces the sine. Two sines of the same frequency become two arrows turning together, and their sum is the sum of the arrows, added tip to tail.
In a series circuit the same current flows through every part, so draw the current as the reference. The resistor’s voltage $V_R = IR$ points along it; the coil’s $V_L = IX_L$ points a quarter turn ahead, and the capacitor’s $V_C = IX_C$ a quarter turn behind. $V_L$ and $V_C$ point in opposite directions and partly cancel, and $V_R$ is at right angles to what is left, so the source’s voltage is the hypotenuse of a right triangle:
$V = \sqrt{V_R^2 + (V_L − V_C)^2}$
That is why rms voltages around a series AC circuit do not add as numbers, and why the coil, or the capacitor, can carry more voltage than the source. Divide every side of the triangle by the current and it becomes the impedance triangle:
$Z = \sqrt{R^2 + (X_L − X_C)^2}$ $I = V/Z$
The angle between the source’s voltage and the current is the phase angle, $φ = \tan^{-1}[(X_L − X_C)/R]$, the angle by which the voltage leads the current. When the coil’s reactance is larger the circuit is inductive, $φ$ is positive and the current lags; when the capacitor’s is larger, $φ$ is negative and the current leads.
Power in AC
Only resistance turns electrical energy into heat or work on average. A capacitor stores energy in its field for a quarter cycle and returns it the next; a coil does the same with its magnetic field. With current and voltage 90° apart, their product is positive half the time and negative the other half, so it averages to zero. The average power of a whole circuit is
$P = I_{rms}V_{rms}\cos φ = I_{rms}^2R$
The factor $\cos φ = R/Z$ is the power factor. The product $I_{rms}V_{rms}$, the apparent power, is what the wires and the source must carry, measured in volt-amperes (VA). When the power factor is low, a load draws more current than its real power needs; that extra current delivers nothing but still heats every wire on the way, which is why utilities charge large customers for a poor power factor.
Resonance and Q
Sweep the frequency of a series RLC circuit and its two reactances move in opposite directions: $X_C$ falls and $X_L$ rises. At one frequency they are equal and cancel, the impedance drops to $R$, and the current is largest, $I = V/R$, in phase with the source. Setting $ωL = 1/ωC$ gives the resonant frequency
$ω_0 = 1/\sqrt{LC}$ $f_0 = 1/(2π\sqrt{LC})$
It depends on $L$ and $C$ only. The resistance decides the shape of the peak: less resistance means a taller peak, $V/R$, and a narrower one. The sharpness is the quality factor $Q = ω_0/Δω$, where $Δω$ is the width between the two frequencies at which the power falls to half its peak value (the current to $1/\sqrt2$ of its peak). For a series RLC circuit $Δω = R/L$, so $Q = ω_0L/R$. A radio’s tuner is a high-Q circuit: a station at its resonant frequency drives a large current, and stations a little away barely move it. Resonance does not mean an infinite current; only a circuit with no resistance at all would have one.
Transformers and transmission
A transformer is two coils wound on one iron core. An alternating current in the primary makes an alternating magnetic flux, which the core carries through the secondary. Every turn of either coil links the same changing flux, so every turn has the same emf, and the voltages are in the ratio of the turns:
$V_s/V_p = N_s/N_p$
A transformer makes no energy. An ideal one wastes none either, so the power in equals the power out, $I_pV_p = I_sV_s$: a transformer that steps the voltage up by ten steps the current down by ten. It needs a changing flux; on a battery it gives nothing once the current has settled, and its primary, a coil of low resistance, overheats.
Power lines lose energy as heat, $P_{loss} = I^2R$ in the line’s resistance. To deliver a power $P$ at a voltage $V$ takes a current $I = P/V$, so raising the line voltage tenfold cuts the current tenfold and the loss a hundredfold. Power plants therefore step the voltage up to hundreds of kilovolts for transmission, and substations step it down for distribution and again near homes. Only the drop $IR$ appears across the line itself, so its loss is $I^2R$, never $V^2/R$ with the full line voltage.
Part 2 · Going further
Math you’ll need: complex numbers ($j^2 = −1$), derivatives, and linear differential equations with constant coefficients.
Complex impedance and the steady state
A phasor is a complex number: its length the amplitude, its angle the phase. Circuit theory writes the imaginary unit as $j$, so that $i$ can stay the current. The series RLC circuit obeys $L\ddot q + R\dot q + q/C = V_0\cos ωt$. Write the drive as the real part of $V_0e^{jωt}$ and look for a solution $q = \mathrm{Re}(\hat q e^{jωt})$. Each time derivative multiplies $e^{jωt}$ by $jω$, so the differential equation becomes algebra for one complex number, $\hat q(−ω^2L + jωR + 1/C) = V_0$, and the current $\hat I = jω\hat q$ satisfies $\hat V = Z\hat I$ with
$Z_R = R$ $Z_L = jωL$ $Z_C = 1/(jωC) = −j/ωC$
Because the equations are linear, Kirchhoff’s laws hold for the complex amplitudes: impedances in series add, impedances in parallel combine as resistances do, $1/Z = 1/Z_1 + 1/Z_2$, and every DC method (nodes, loops, Thévenin) carries over. The magnitude of $Z$ is the ratio of amplitudes and its argument is $φ$. The physical answer is the real part, taken at the end.
Transient plus steady state
The phasor answer is the steady state, the particular solution that repeats every cycle. Switch a source onto an empty circuit and the full solution adds the homogeneous solution, which carries the circuit from its starting state (no charge, no current) to the steady state. For a series RLC circuit it has the form $e^{st}$ with $Ls^2 + Rs + 1/C = 0$, so $s = −α ± \sqrt{α^2 − ω_0^2}$ with $α = R/2L$. In an underdamped circuit it rings at about $ω_0$ inside the envelope $e^{−αt}$, whatever the drive’s frequency, and dies away. It falls to 1 % in $t = \ln(100)/α$. The energy stored in the ringing decays twice as fast, at $R/L$.
The oscillator analogy, Q and the capacitor’s peak
A driven mass on a spring with damping obeys $m\ddot x + b\dot x + kx = F_0\cos ωt$. Term by term this is the series RLC equation, with charge for displacement and current for velocity: $L ↔ m$, $R ↔ b$, $1/C ↔ k$, $V ↔ F$. The coil’s energy $\tfrac12Li^2$ is the kinetic energy, the capacitor’s $q^2/2C$ the spring’s. So the current’s resonance curve is exactly the mass’s velocity curve, $ω_0 = 1/\sqrt{LC}$ is $\sqrt{k/m}$, and $Q = ω_0L/R$ is $ω_0m/b$.
Q has three readings. It is $2π$ times the energy stored divided by the energy lost per cycle at resonance; it is $ω_0/Δω$; and it sets the slope of the phase, $dφ/dω = 2Q/ω_0$ at $ω_0$. For the series RLC current all three are exactly $ω_0L/R$. The half-power frequencies are $ω_± = \sqrt{α^2 + ω_0^2} ± α$: their difference is exactly $R/L$, but they straddle $ω_0$ geometrically ($ω_+ω_- = ω_0^2$), so on a linear axis a low-Q peak leans.
The capacitor’s voltage is $V_C = I/ωC$, which carries an extra $1/ω$, so it peaks below $ω_0$, at $ω_0\sqrt{1 − 1/2Q^2}$, with a height $Q/\sqrt{1 − 1/4Q^2}$ times the source’s. At high Q this is $QV$ at almost exactly $ω_0$: a tuned circuit is also a voltage amplifier.
Parallel resonance: the tank
Put $R$, $L$ and $C$ in parallel across the source. Now the voltage is common and the currents add: $Y = 1/Z = 1/R + j(ωC − 1/ωL)$. At $ω_0$ the coil’s and the capacitor’s currents are equal and opposite, so they cancel in the line, and the bank’s impedance is largest, $Z = R$, while the line current is smallest. Between the coil and the capacitor, though, a current $I_C = Vω_0C = V\sqrt{C/L}$ circulates, $Q = R\sqrt{C/L}$ times the line current. This tank circuit stores energy that sloshes between its two parts while the source supplies only the losses. Below $ω_0$ the coil carries more current and the bank is inductive; above, it is capacitive.
Complex power and power-factor correction
With rms phasors, the complex power is $S = VI^* = P + jQ_r$. Its real part is the average power in watts; its imaginary part, the reactive power in volt-amperes reactive (var), is the energy that flows into the fields and back each cycle; its magnitude is the apparent power in VA. For a load $Z = R + jX$, $P = I^2R$ and $Q_r = I^2X$; a coil’s $Q_r$ is positive and a capacitor’s negative.
An induction motor draws a lagging current, a positive $Q_r$. A capacitor across it supplies negative reactive power, $−V^2ωC$, locally, so the line carries less: the motor’s $P$ is unchanged while the apparent power, the current and the line’s $I^2R$ fall. To bring the power factor to a target $\cos φ_t$, cancel $Q_r − P\tan φ_t$:
$C = Q_r/(ωV^2)$ for full correction
Coupled coils and real transformers
Two coils share flux. A changing current in one induces an emf in the other, $v_2 = M\,di_1/dt$, with the mutual inductance $M = k\sqrt{L_pL_s}$ and a coupling coefficient $0 ≤ k ≤ 1$. Dots on a circuit diagram mark the ends whose voltages rise together. On one core the self-inductances go as the square of the turns, $L_s = L_p(N_s/N_p)^2$, and with perfect coupling ($k$ = 1) and a very large $L_p$ the pair becomes the ideal transformer.
A real transformer departs from the ideal in four ways. Its primary is a coil of finite inductance, so even with no load it draws a magnetizing current $V_p/ωL_p$, nearly 90° behind the voltage. Some flux misses the other coil (leakage, $k$ below 1), so the output voltage sags under load. The windings have resistance (copper loss, $I^2R$, growing with the load), and the core heats through hysteresis and eddy currents (core loss, nearly fixed). The sim’s small transformer delivers 91 W at 92 % efficiency; at a quarter of that load its fixed core loss brings the efficiency down to 80 %. Large power transformers reach 99 % and more.
Seen from the primary, a load $Z_L$ on an ideal transformer looks like $Z_L(N_p/N_s)^2$. A source with internal resistance $R_s$ delivers the most power into a load equal to $R_s$, so a transformer with $N_p/N_s = \sqrt{R_s/R_L}$ matches a low-impedance load to a high-impedance source.
Three-phase transmission
Grids generate and send power as three sines 120° apart, on three conductors. For a balanced load the three currents add to zero at every instant, so no return conductor is needed, and the power flow is steady rather than pulsing. With a line-to-line voltage $V$ and unity power factor, $P = \sqrt3VI$, and the loss in three conductors of resistance $R$ is $3I^2R = P^2R/V^2$: half what a two-conductor single-phase line at the same voltage loses ($2I^2R$ with $I = P/V$), with only 1.5 times the copper.
Reference
Common mistakes
Part 1
- Taking the rms value for the average (the average of a sine is zero), or dividing by √2 to get the peak.
- Leaving out the 2π: $X_C = 1/(2πfC)$, $X_L = 2πfL$, $f_0 = 1/(2π\sqrt{LC})$.
- Adding rms voltages around a series AC circuit as numbers; they add as arrows.
- Thinking no part can have more voltage than the source.
- Using $I_{rms}V_{rms}$ for the average power; multiply by the power factor.
- Expecting an infinite current at resonance, or $R$ to move the resonant frequency.
- Thinking a transformer makes power, or works on DC.
- Using $V^2/R$ with the line voltage for a line’s loss; it is $I^2R$ with $I = P/V$.
Part 2
- Adding parallel impedances as if in series.
- Using $R/L$ for the current’s envelope; it decays at $α = R/2L$.
- Expecting the capacitor’s voltage to peak at $ω_0$.
- Using the turns ratio where the impedance ratio belongs (or the reverse).
The equation sheet
| Part 1 | |
|---|---|
| frequency | $f = 1/T$, $ω = 2πf$ |
| rms (sines) | $V_0 = \sqrt2V_{rms}$ |
| reactance | $X_C = 1/(2πfC)$, $X_L = 2πfL$ |
| phasors | $V = \sqrt{V_R^2 + (V_L − V_C)^2}$ |
| impedance | $Z = \sqrt{R^2 + (X_L − X_C)^2}$, $I = V/Z$ |
| phase angle | $φ = \tan^{-1}[(X_L − X_C)/R]$ |
| power | $P = I_{rms}V_{rms}\cos φ = I_{rms}^2R$ |
| resonance | $f_0 = 1/(2π\sqrt{LC})$ |
| transformer | $V_s/V_p = N_s/N_p$, $I_pV_p = I_sV_s$ |
| line loss | $P_{loss} = I^2R$ with $I = P/V$ |
| Part 2 | |
|---|---|
| complex impedance | $Z_L = jωL$, $Z_C = −j/ωC$ |
| transient | $α = R/2L$, $t_{1\%} = \ln(100)/α$ |
| Q, series | $Q = ω_0L/R$, $Δf = R/(2πL)$ |
| capacitor’s peak | $ω_C = ω_0\sqrt{1 − 1/2Q^2}$ |
| tank | $I_C = V\sqrt{C/L}$ (parallel, at $ω_0$) |
| complex power | $S = VI^* = P + jQ_r$, $C = Q_r/(ωV^2)$ |
| coupled coils | $M = k\sqrt{L_pL_s}$, $V_s = ωMI_p$ |
| matching | $N_p/N_s = \sqrt{R_s/R_L}$ |
| three-phase | $P = \sqrt3VI$, loss $= 3I^2R$ |
Symbols: $v$, $i$ instantaneous values; $V_0$, $I_0$ peaks; $V_{rms}$, $I_{rms}$ rms values (unsubscripted $V$, $I$ in AC are rms); $T$ the period, $f$ the frequency, $ω$ the angular frequency; $X_L$, $X_C$ reactances; $Z$ the impedance; $φ$ the phase angle; $P$ average power, $Q_r$ reactive power, $S$ complex power; $f_0$, $ω_0$ resonance; $Q$ the quality factor and $Δf$ the half-power width; $α$ the decay rate; $N$ turns; $M$ the mutual inductance and $k$ the coupling; $R_s$, $R_L$ source and load resistances.
Sources and further reading
- OpenStax, University Physics Volume 2, chapter 15, “Alternating-Current Circuits,” §15.1–15.6, CC BY-NC-SA 4.0 (openstax.org): the Intro track follows its order and notation.
- P. Horowitz and W. Hill, The Art of Electronics, 3rd ed. (Cambridge, 2015), chapter 1, for complex impedance, resonance and transformers in practice.
- This sim’s Field Manual (H) for the model and its limits; Inductance & LC Oscillations for self-inductance and the free LC oscillation; Simple Harmonic Motion for the mechanical driven oscillator; Faraday’s Law & Generators for the generator that makes the source.
AC Circuits, Resonance & Transformers v1.1 · © 2026 Dr. David Meier · CC BY-NC-SA 4.0 · glidepathscience.org