📘 CodingMarble Learn

Alternating Current

An alternating current (AC) changes size and direction again and again: I = I₀ sin ωt. Its rms value is I₀/√2, the steady DC that gives the same heating. A resistor keeps V and I in step; an inductor makes I lag by 90° (Xʟ = ωL); a capacitor makes I lead by 90° (Xᴄ = 1/ωC). In a series LCR circuit Z = √(R² + (Xʟ − Xᴄ)²), resonance happens when Xʟ = Xᴄ, and average power is P = Vrms Irms cos φ.

🎬 Step-by-step story

  1. A spinning arrow, called a phasor, draws the AC wave. Its height at each moment is the voltage. The voltage goes up, comes down and changes direction.
  2. The yellow line is the peak value V₀. The green line is the rms value, 0.707 × V₀. A 230 V home supply means rms 230 V; the peak is about 325 V.
  3. With only a resistor, the current arrow (blue) sits on the voltage arrow (red). Both waves rise and fall together. The phase angle φ is 0.
  4. With only an inductor, the current arrow is 90° behind. The current peaks a quarter cycle later. Average power is zero: wattless current.
  5. With only a capacitor, the current arrow is 90° ahead. The current peaks a quarter cycle earlier. Average power is again zero.
  6. Free play: choose R, L, C or LCR and change the frequency. In LCR, find the frequency where Xʟ = Xᴄ and the current is largest: resonance.

Tip: drag the 3D scene to turn it. Use two fingers to zoom.

🤔 Common doubts, cleared

If AC keeps changing, why do we say "230 V"?

230 V is the rms value: the steady DC that would heat a heater equally. The actual voltage swings between +325 V and −325 V.

How can a spinning arrow stand for a wave?

The height of the arrow tip goes up and down like sin ωt as it spins. Plot that height against time and you get the wave.

Why does current lag in an inductor?

An inductor opposes any change in current with a back emf, so the current builds up late: it peaks a quarter cycle after the voltage.

Why does current lead in a capacitor?

Current must flow first to put charge on the plates; only then does the voltage build up. So current peaks a quarter cycle earlier.

Why does no power get used in a pure L or C?

Energy goes in for a quarter cycle and comes back in the next quarter. The average is zero; cos 90° = 0.

What exactly happens at resonance?

Xʟ and Xᴄ become equal and cancel. Only R is left, so Z is smallest, current is largest and V and I are in phase.

In R-only, why do voltage and current rise together?

A resistor has no storing of energy, so current follows voltage instantly: I = V/R at every moment.

What is alternating current?

Direct current (DC) flows one way, like from a cell. Alternating current (AC) keeps changing direction. In India it changes direction 100 times each second (50 full cycles, so f = 50 Hz).

We write V = V₀ sin ωt and I = I₀ sin ωt. V₀ and I₀ are peak values (the highest values). ω = 2πf is the angular frequency. One full cycle takes time T = 1/f.

Peak, mean and rms values

Over one full cycle AC is positive half the time and negative half the time, so its average is zero. That tells us nothing useful.

So we use the rms value (root mean square): square the values, take the mean, then take the square root. For a sine wave: Irms = I₀/√2 ≈ 0.707 I₀ and Vrms = V₀/√2.

Meaning: the rms value is the steady DC that would heat a resistor at the same rate. Meters and bulbs show rms values. The mean over a half cycle is 2I₀/π ≈ 0.637 I₀.

Phasors: a spinning arrow for a wave

A phasor is an arrow of length V₀ that spins anticlockwise with angular speed ω. Its projection on the vertical axis at any time is V₀ sin ωt. So the spinning arrow draws the wave.

We draw the voltage phasor and the current phasor together. The angle between them is the phase difference φ.

AC through R, L and C: reactance

Resistor only

V and I are in phase (φ = 0). V₀ = I₀ R.

Inductor only

The inductor fights every change of current, so the current lags the voltage by 90°. Its opposition is the inductive reactance Xʟ = ωL (ohms). Higher frequency → bigger Xʟ. For DC (ω = 0), Xʟ = 0.

Capacitor only

The capacitor must charge before its voltage builds up, so the current leads the voltage by 90°. Capacitive reactance Xᴄ = 1/(ωC). Higher frequency → smaller Xᴄ. A capacitor blocks DC (Xᴄ → ∞).

Series LCR circuit and impedance

In series, the same current flows through R, L and C. Draw the current phasor first. Vʀ is along it, Vʟ is 90° ahead, Vᴄ is 90° behind. Vʟ and Vᴄ point opposite ways, so they partly cancel.

V² = Vʀ² + (Vʟ − Vᴄ)², which gives the impedance Z = √(R² + (Xʟ − Xᴄ)²). Then I = V/Z.

Phase angle: tan φ = (Xʟ − Xᴄ)/R. If Xʟ > Xᴄ the circuit acts inductive (current lags); if Xᴄ > Xʟ it acts capacitive (current leads).

Resonance in a series LCR circuit

As frequency changes, Xʟ rises and Xᴄ falls. At one frequency they are equal: ω₀L = 1/(ω₀C), so ω₀ = 1/√(LC) and f₀ = 1/(2π√LC).

At resonance Z = R (smallest), the current is largest, and V and I are in phase. Vʟ and Vᴄ may each be much larger than the supply voltage, but they cancel.

Sharpness: a small R gives a tall, narrow peak. The quality factor Q = ω₀L/R = 1/(ω₀CR) measures this. Radios need a sharp peak to pick one station. Resonance needs both L and C; an RL or RC circuit has no resonance.

Power and power factor

Average power in an AC circuit: P = Vrms Irms cos φ. The term cos φ = R/Z is the power factor.

Only the resistor uses up energy. An ideal L or C takes energy for a quarter cycle and gives it back in the next quarter.

A low power factor means a large current for the same useful power, which wastes energy as heat (I²R) in the supply wires. Adding a suitable capacitor raises the power factor.

Wattless current

Split the current phasor into two parts: I cos φ along the voltage and I sin φ at 90° to it.

The part Irms sin φ does no average work, because it is 90° out of phase with the voltage. It is called the wattless current. In a pure inductor or capacitor the whole current is wattless. A choke coil in a fan regulator uses this idea: it lowers the current with almost no energy loss.

Try it: a practical

Try it: In the 3D, choose "LCR series" and start at 30 Hz. Before you move the slider, predict: will the current go up or down as you go to 50 Hz? Now slide slowly and watch Irms. Note the frequency where the purple "Resonance" tag appears and check it against f₀ = 1/(2π√LC) = 1/(2π√(0.2 × 50×10⁻⁶)) ≈ 50 Hz. Then pick "L only" and see P = 0 W in the readout.

Key formulas and definitions

Worked examples

1. The mains voltage is 230 V rms. Find its peak value.

V₀ = √2 × V_rms = 1.414 × 230 ≈ 325 V.

2. A 100 Ω resistor is connected to 220 V, 50 Hz AC. Find I_rms, I₀ and the power.

I_rms = 220/100 = 2.2 A. I₀ = √2 × 2.2 ≈ 3.11 A. P = V_rms I_rms = 220 × 2.2 = 484 W (φ = 0).

3. Find the reactance of a 0.5 H inductor at 50 Hz and the rms current from 220 V.

Xʟ = 2πfL = 2 × 3.14 × 50 × 0.5 ≈ 157 Ω. I_rms = 220/157 ≈ 1.4 A. Power = 0 (current lags by 90°).

4. Find the reactance of a 20 µF capacitor at 50 Hz.

Xᴄ = 1/(2πfC) = 1/(2 × 3.14 × 50 × 20 × 10⁻⁶) = 1/0.00628 ≈ 159 Ω.

5. In a series LCR circuit R = 30 Ω, Xʟ = 80 Ω, Xᴄ = 40 Ω, V_rms = 200 V. Find Z, I, φ and the power factor.

Z = √(30² + (80 − 40)²) = √(900 + 1600) = 50 Ω. I = 200/50 = 4 A. tan φ = 40/30, φ ≈ 53° (current lags). cos φ = 30/50 = 0.6.

6. For the circuit above, find the average power and the wattless current.

P = V I cos φ = 200 × 4 × 0.6 = 480 W (check: I²R = 16 × 30 = 480 W). sin φ = 0.8, wattless current = 4 × 0.8 = 3.2 A.

7. L = 0.1 H and C = 10 µF are in series with R = 10 Ω. Find the resonant frequency and the current at resonance from 100 V.

ω₀ = 1/√(LC) = 1/√(10⁻⁶) = 1000 rad/s. f₀ = 1000/(2π) ≈ 159 Hz. At resonance Z = R = 10 Ω, so I = 100/10 = 10 A.

8. For the resonance circuit above, find Q and the voltage across the inductor at resonance.

Q = ω₀L/R = 1000 × 0.1/10 = 10. Xʟ = 100 Ω, Vʟ = I Xʟ = 10 × 100 = 1000 V, ten times the supply! Vᴄ is also 1000 V and they cancel.

Common mistakes

Practice quiz

1. The rms value of a sine AC with peak I₀ is:
2. In a pure inductor the current:
3. At resonance in a series LCR circuit:
4. Power factor of a purely capacitive circuit is:
5. Capacitive reactance when frequency is doubled becomes:

Practice: answer these yourself

Type or choose your answer, then press Check. Use a hint if you are stuck; the full solution appears after you answer.

Frequently asked questions

What is the rms value of AC?

The rms value is the DC value that gives the same heating in a resistor. For a sine wave it is peak ÷ √2, about 0.707 × peak.

What is the difference between reactance and impedance?

Reactance (Xʟ or Xᴄ) is the opposition from an inductor or capacitor alone. Impedance Z is the total opposition of R, L and C together.

What is wattless current?

The part of AC that is 90° out of phase with the voltage (I sin φ). It flows but does no average work.

Where this is taught

RomaniaClasa a X-aProducing and using alternating current
RomaniaClasa a XI-aElectromagnetic oscillations and waves
RomaniaClasa a XI-aElectromagnetic oscillations and waves
Spain2º BachilleratoElectrical and electronic systems
Ukraine11 класElectromagnetic oscillations and waves
Ukraine11 класElectromagnetic oscillations and waves
CBSE (India)Class 12Electromagnetic Induction and Alternating Currents
USA (Common Core, NGSS, AP)Grade 12Electromagnetic Induction
Japan高校(専門学科)1〜3年Electric Circuits
South Korea고등학교 2학년Electromagnetic interaction
South Korea고등학교 3학년Waves and properties of matter
Russia11 классElectromagnetic oscillations
Russia11 классOscillations and waves
China高二Selective 2 Ch.3 Alternating current

Learn first

Learn next

Related lessons

All Physics lessons