Sub topic 13
A First Look at Average Power in AC Circuits
This chapter assumes you know the passive sign convention, p = v·i, and what a positive or negative p means. It also assumes you can read a sinusoid written as a magnitude and a phase angle, and that you know the impedance of a resistor, inductor and capacitor. Phasor analysis is not required. The chapter works in the time domain and keeps the algebra small.
Why instantaneous power is not enough
In a DC circuit, v and i are constants, so p = v·i is a constant. In an AC circuit, v and i change every instant, so p(t) changes too. It can even change sign within one cycle. Under the passive sign convention, that means an element absorbs energy at some moments and returns it at others.
You usually want one number for the net effect. A heater rated "1500 W" does not draw 1500 W at every instant. The rating is an average over time, and this chapter shows where that number comes from.
The setup
Take an element with the passive sign convention applied: the reference current enters the terminal marked +. Let the voltage and current be sinusoids of the same angular frequency ω:
- v(t) = Vm cos(ωt)
- i(t) = Im cos(ωt − φ)
Vm and Im are peak values. Here φ is the phase angle by which the current lags the voltage, φ = θv − θi. We use the voltage as the phase reference, so θv = 0. A positive φ means the current lags, as in an inductive load. A negative φ means the current leads, as in a capacitive load.
Deriving the instantaneous power
Multiply the two signals:
p(t) = Vm Im cos(ωt) cos(ωt − φ)
The product-to-sum identity is cos A cos B = ½[cos(A − B) + cos(A + B)]. With A = ωt and B = ωt − φ, it gives:
p(t) = (Vm Im / 2) [cos φ + cos(2ωt − φ)]
The result has two parts:
- A constant term, (Vm Im / 2) cos φ. It does not change with time.
- An oscillating term, (Vm Im / 2) cos(2ωt − φ). It swings at twice the source frequency and averages to zero over a full cycle.
The doubled frequency makes sense. Both v and i reverse sign twice per cycle, and the product reverses sign only when exactly one of them does.
The average power
The average of a cosine over a whole number of periods is zero. So the average of p(t) over one period T = 2π/ω is the constant term:
P = (1/T) ∫ p(t) dt over one period = (Vm Im / 2) cos φ
The capital P marks the average, and the lowercase p(t) is the instantaneous value. The sign rules carry over from the DC case:
- P > 0 means the element absorbs energy on average.
- P < 0 means the element delivers energy on average.
- P = 0 means the element exchanges energy back and forth with no net transfer.
RMS values and the power factor
The factor ½ is awkward to carry around. The effective (RMS) value of a sinusoid removes it. The RMS value is the square root of the mean of the square. For v(t) = Vm cos(ωt), the mean of v² is Vm²/2, so:
- Vrms = Vm / √2
- Irms = Im / √2
Then Vrms · Irms = Vm Im / 2, and the average power becomes:
P = Vrms Irms cos φ
The factor cos φ is the power factor. It lies between 0 and 1 for a passive element. The product Vrms Irms is the apparent power, measured in volt-amperes (VA) to keep it distinct from the real power in watts. Wall-outlet "120 V" and "230 V" figures are RMS values, so P = Vrms Irms cos φ is the formula you will use most often in practice.
What φ does for each element
The phase angle depends on what the element is made of.
| Element | Phase angle φ | Power factor | Average power |
|---|---|---|---|
| Resistor | 0° | 1 | Vrms Irms = Irms² R = Vrms² / R |
| Ideal inductor | +90° (current lags) | 0 | 0 |
| Ideal capacitor | −90° (current leads) | 0 | 0 |
| Series RL or RC load | between −90° and +90° | between 0 and 1 | Irms² R |
Three cases follow from the general formula:
- Resistor. With φ = 0, p(t) = (Vm Im / 2)[1 + cos 2ωt]. This is never negative, so a resistor only absorbs. Its average is Vm Im / 2.
- Inductor. With φ = 90°, cos(2ωt − 90°) = sin 2ωt, so p(t) = (Vm Im / 2) sin 2ωt. In the quarter cycles where p > 0, the inductor stores energy in its magnetic field. In the quarter cycles where p < 0, it returns that energy. The net is zero.
- Capacitor. With φ = −90°, p(t) = −(Vm Im / 2) sin 2ωt. The pattern is the same as for the inductor, with the same zero net.
In both storage cases the energy ½Li² or ½Cv² rises and falls, which matches the energy formulas from the earlier chapter on storage elements.
For any passive network, |φ| ≤ 90°, so cos φ ≥ 0 and P ≥ 0. A passive network cannot deliver net average power. If a calculation gives P < 0 for something you know is passive, you have a sign error in φ or in your reference directions. That makes this a useful check.
Worked example: a series RL load
A source v(t) = 100 cos(ωt) V drives a series circuit with R = 30 Ω and an inductive reactance ωL = 40 Ω. The impedance magnitude is |Z| = √(30² + 40²) = 50 Ω. The impedance angle is φ = arctan(40/30) = 53.13°. For an inductive load this equals the angle by which the current lags the voltage.
- Peak current: Im = 100 / 50 = 2 A.
- Power factor: cos 53.13° = 0.6.
- Average power: P = (100 · 2 / 2)(0.6) = 60 W.
Only the resistor can dissipate real power, so we can check this a second way: P = Irms² R, with Irms = 2/√2 A, so Irms² = 2 and P = 2 · 30 = 60 W. Both methods agree. The inductor contributes zero average power but still affects the result, because its reactance reduces the current and so reduces what the resistor absorbs.
The script below confirms this numerically. It averages p(t) = v(t)·i(t) over one full period and compares the result with both formulas.
import math
Vm = 100.0 # peak voltage, V
R = 30.0 # ohms
XL = 40.0 # inductive reactance, ohms
Z = math.hypot(R, XL) # impedance magnitude, 50 ohms
phi = math.atan2(XL, R) # current lags voltage by phi
Im = Vm / Z # peak current, 2 A
N = 10000 # samples over exactly one period
total = 0.0
for k in range(N):
wt = 2 * math.pi * k / N
v = Vm * math.cos(wt)
i = Im * math.cos(wt - phi)
total += v * i # instantaneous power p = v*i
p_avg_numeric = total / N
p_formula = 0.5 * Vm * Im * math.cos(phi)
p_resistor = 0.5 * Im**2 * R # Irms^2 * R, since Irms^2 = Im^2 / 2
print(round(p_avg_numeric, 3), round(p_formula, 3), round(p_resistor, 3))
# 60.0 60.0 60.0Averaging uniformly spaced samples over a full period is exact for a sum of sinusoids at 2ω, so the numeric result matches the formula to rounding error.
Conservation of power still holds
Conservation of power applies at every instant, so it also applies to the averages. In an AC circuit the average powers of all elements, each computed with the sign convention applied consistently, still sum to zero. In the example above, the source delivers an average of 60 W. Its average power under the passive sign convention is −60 W, because the current that enters its + terminal is the negative of the current it supplies. The resistor absorbs +60 W and the inductor absorbs 0 W. The sum is −60 + 60 + 0 = 0.
Common mistakes
- Using peak values with the RMS formula. P = Vrms Irms cos φ needs RMS values. With peak values, you must include the ½.
- Dropping cos φ. The product Vrms Irms alone is apparent power in VA, not watts.
- Getting the sign of φ wrong. Because cosine is even, cos φ is the same for +φ and −φ, so the average power is unaffected. The sign of φ still matters for deciding whether the load is inductive or capacitive.
- Reversing the reference current. If the current enters the − terminal, the passive convention is not in force. The formula then gives P with the opposite sign, so a net absorber appears to deliver.
- Treating average power as the DC value of an equivalent circuit. The average over a cycle describes heating and net energy transfer. It does not describe the peak stress on a component.
Where this goes next
Later work on AC circuits builds on this result. It introduces complex power, S = P + jQ, where Q is the reactive power in the energy-swapping term. It also introduces phasors, which turn the trigonometry above into complex arithmetic. You now have the core idea: instantaneous power splits into a constant part and a 2ω oscillation, and only the constant part is the net energy transfer.
Exercise
Under the passive sign convention, an element has v(t) = 40 cos(ωt + 30°) V and i(t) = 5 cos(ωt − 30°) A. Find the phase angle φ, the power factor and the average power. Does the element absorb or deliver power on average?
Show answer
φ = θv − θi = 30° − (−30°) = 60°. The power factor is cos 60° = 0.5. The average power is P = (40 · 5 / 2)(0.5) = 50 W. Since P > 0 under the passive sign convention, the element absorbs 50 W on average.
Exercise
A load draws Irms = 5 A from a 120 V RMS supply and has a power factor of 0.8. What are its apparent power and its average power? If the load is a series combination of a resistor and a reactive element, what resistance does the resistor have?
Show answer
Apparent power is Vrms · Irms = 120 · 5 = 600 VA. Average power is 600 · 0.8 = 480 W. Only the resistor absorbs real power, so Irms² R = 480, which gives R = 480 / 25 = 19.2 Ω.