Sub topic 13
AC through a resistor, inductor and capacitor
This chapter assumes you know Ohm's law, the basics of capacitors, simple derivatives and integrals of sine and cosine, and the AC source and rms ideas from the previous chapters. We connect an ideal AC source to a single element (a resistor, an inductor or a capacitor) and ask two questions. How large is the current? What is its phase relative to the voltage?
Use this source throughout:
v = V0 sin(ωt)
where V0 is the peak voltage and ω = 2πf is the angular frequency.
Pure resistor
The resistor obeys Ohm's law at every instant, so i = v/R:
i = (V0/R) sin(ωt) = I0 sin(ωt), with I0 = V0/R
- The current and voltage rise, fall and cross zero together. The phase difference is 0.
- The same relation holds for rms values: Vrms = Irms R.
- The resistance R does not depend on frequency.
- Power is p = v·i = I0² R sin²(ωt). It is never negative, so the resistor always takes energy from the source and turns it into heat.
Pure inductor
An inductor opposes a changing current with a back emf of −L di/dt. For an ideal inductor with no resistance, the source voltage must balance this back emf:
v = L di/dt
Rearrange and integrate:
i = (1/L) ∫ V0 sin(ωt) dt = −(V0/ωL) cos(ωt)
Since −cos(ωt) = sin(ωt − π/2):
i = (V0/ωL) sin(ωt − π/2)
This gives two results.
- The peak current is I0 = V0/(ωL). The quantity X_L = ωL = 2πfL is the inductive reactance. It is measured in ohms.
- The current lags the voltage by 90° (π/2). The voltage reaches its peak a quarter cycle before the current does.
Inductive reactance grows with frequency. At f = 0 (DC), X_L = 0, so an ideal inductor passes DC freely. At very high frequency it behaves almost like an open circuit. This is why an inductor is called a choke.
Pure capacitor
A capacitor holding charge q has voltage v = q/C. So q = C V0 sin(ωt). The current is the rate of change of charge:
i = dq/dt = ωC V0 cos(ωt)
Since cos(ωt) = sin(ωt + π/2):
i = (V0 / (1/ωC)) sin(ωt + π/2)
- The capacitive reactance is X_C = 1/(ωC) = 1/(2πfC), again in ohms. Then I0 = V0/X_C.
- The current leads the voltage by 90°.
Capacitive reactance falls as frequency rises. At f = 0 (DC), X_C is infinite, so a capacitor blocks DC once it is charged. At high frequency it passes current easily.
Side-by-side summary
| Element | Opposition | Depends on frequency | Phase of current relative to voltage | Average power over a cycle |
|---|---|---|---|---|
| Resistor | R | No | In phase (0°) | V_rms · I_rms |
| Inductor | X_L = ωL | Increases with f | Lags by 90° | 0 |
| Capacitor | X_C = 1/(ωC) | Decreases with f | Leads by 90° | 0 |
The average power in an ideal L or C is zero. Over one half-cycle the element stores energy in its magnetic or electric field. Over the next half-cycle it returns that energy to the source. No energy is dissipated.
Remembering the phase
A common memory aid is "CIVIL":
- In a Capacitor, I leads V (I comes before V).
- In an inductor, V leads I (L).
Another way to remember it is that in an inductor the current must build up against the back emf, so it is late.
Worked example
A 0.5 H ideal inductor and a 20 µF ideal capacitor are each connected separately to a 220 V rms, 50 Hz source.
- Angular frequency: ω = 2π × 50 ≈ 314.16 rad/s.
- Inductor: XL = ωL = 314.16 × 0.5 ≈ 157.1 Ω. So Irms = 220/157.1 ≈ 1.40 A, lagging the voltage by 90°.
- Capacitor: XC = 1/(ωC) = 1/(314.16 × 20×10⁻⁶) ≈ 159.2 Ω. So Irms = 220/159.2 ≈ 1.38 A, leading the voltage by 90°.
The two reactances are nearly equal at this frequency. This sets up resonance in the series LCR circuit, which is covered later.
Seeing the frequency dependence in code
This script prints the rms current in an ideal inductor and an ideal capacitor at several frequencies. The resistor is included for comparison. It starts at 10 Hz because X_C would divide by zero at f = 0.
import math
V_rms = 220.0 # volt
R = 100.0 # ohm
L = 0.5 # henry
C = 20e-6 # farad
print(f"{'f (Hz)':>8} {'X_L (ohm)':>10} {'X_C (ohm)':>10} "
f"{'I_R (A)':>8} {'I_L (A)':>8} {'I_C (A)':>8}")
for f in (10, 50, 500, 5000):
w = 2 * math.pi * f
XL = w * L
XC = 1 / (w * C)
print(f"{f:>8} {XL:>10.1f} {XC:>10.1f} "
f"{V_rms / R:>8.3f} {V_rms / XL:>8.3f} {V_rms / XC:>8.3f}")The resistor current stays constant. The inductor current falls as f rises, and the capacitor current rises.
Common errors
- Using the wrong frequency symbol. The reactances need ω = 2πf, not f. If a problem gives f = 50 Hz, convert to rad/s first.
- Treating reactance like resistance for power. An ideal L or C dissipates no average power, even though Irms = Vrms/X is not zero.
- Mixing up lead and lag. Decide whether you are describing the current relative to the voltage or the reverse. Phase statements flip with the reference.
- Mixing peak and rms values. Use V0 with I0, or Vrms with Irms. Do not combine one of each.
- Forgetting units for capacitance. Convert µF to F (10⁻⁶) before computing X_C.
- Thinking current "passes through" the capacitor. Charge does not cross the gap. The source charges and discharges the plates, and this alternating charge flow is the current in the wires.
- Expecting DC behaviour from AC rules. At steady DC, an inductor acts like a plain wire and a capacitor acts like a break in the circuit.
Quick checks for NEET problems
- If the frequency doubles, XL doubles and XC halves. So the inductor current halves and the capacitor current doubles.
- Reactance is the ratio of peak voltage to peak current (or rms to rms) for that element. It has no meaning as an instantaneous ratio v/i, since the two are out of phase.
- Phase gap of 90° means that when one of v and i is at its peak, the other is zero.
Exercise
A 1 µF capacitor is connected to a source with V0 = 100 V and ω = 1000 rad/s. Find the peak current and say whether it leads or lags the voltage.
Show answer
XC = 1/(ωC) = 1/(1000 × 10⁻⁶) = 1000 Ω. So I0 = V0/XC = 100/1000 = 0.1 A. The current leads the voltage by 90°.
Exercise
An ideal inductor draws 2 A rms from an AC source at 50 Hz. What current does it draw from the same rms voltage at 100 Hz, and what is the average power in each case?
Show answer
X_L = 2πfL doubles when f doubles, so the current halves to 1 A rms. The average power is zero in both cases because the inductor is ideal and the current is 90° out of phase with the voltage.
Exercise
At what frequency is the reactance of a 0.5 H inductor equal to the reactance of a 20 µF capacitor? Give your answer to the nearest hertz.
Show answer
Set ωL = 1/(ωC). Then ω² = 1/(LC) = 1/(0.5 × 20×10⁻⁶) = 10⁵, so ω ≈ 316.2 rad/s. The frequency is f = ω/2π ≈ 50.3 Hz, or about 50 Hz.