Sub topic 5
Instantaneous power and why it oscillates
This chapter assumes you can work with sinusoids in the form $A\sin(\omega t + \theta)$. It also assumes you know the product-to-sum trig identities and the voltage-current relationships of R, L, and C. Both are covered in the earlier chapters on phasors and impedance. Here we build the time-domain picture of power. The later chapters on real, reactive, and apparent power are all averages or amplitudes taken from it.
Defining instantaneous power
Instantaneous power is the rate at which energy flows into a load at one moment. It is the product of the voltage across the load and the current into it, measured at the same instant:
$$p(t) = v(t)\, i(t)$$
With the passive sign convention, current enters the terminal marked positive. In that case $p > 0$ means the load is absorbing energy. $p < 0$ means the load is sending energy back to the source.
Take a sinusoidal steady state. Let the voltage be the phase reference, and let the current lag it by an angle $\varphi$:
$$v(t) = \sqrt{2}\,V\sin(\omega t), \qquad i(t) = \sqrt{2}\,I\sin(\omega t - \varphi)$$
Here $V$ and $I$ are RMS values. The $\sqrt{2}$ converts them to peaks. A common error is to put RMS values into $p(t)$ directly. That understates the peaks and gives the wrong waveform, although the average comes out right only if you keep the factor of 2 from the identity below.
Deriving the waveform
Multiply the two expressions:
$$p(t) = 2VI\sin(\omega t)\sin(\omega t - \varphi)$$
Apply the identity $2\sin A \sin B = \cos(A-B) - \cos(A+B)$:
$$p(t) = VI\cos\varphi - VI\cos(2\omega t - \varphi)$$
This form shows two things.
- A constant term, $VI\cos\varphi$. It does not change with time.
- An oscillating term at angular frequency $2\omega$, with amplitude $VI$ and phase shift $\varphi$. Its average over a period is zero.
So the power pulsates at twice the line frequency. On a 50 Hz supply, $p(t)$ repeats every 10 ms, while the voltage repeats every 20 ms. This happens because the product of two sinusoids at $\omega$ always produces a component at $2\omega$.
Expanding the cosine gives a second form that separates the "work" part from the "exchange" part:
$$p(t) = \underbrace{VI\cos\varphi\,\bigl(1 - \cos 2\omega t\bigr)}{\text{never negative}} \;-\; \underbrace{VI\sin\varphi\,\sin 2\omega t}{\text{averages to zero}}$$
The first term is non-negative at every instant. It carries the energy that is actually consumed. The second term swings between positive and negative with equal areas. It is energy that the magnetic or electric fields of the load take in and then return. The chapters on real and reactive power name these two parts. For now, notice that both come from one product.
Special cases
Setting $\varphi$ to the angle of each ideal element shows how the shape changes.
| Load | $\varphi$ | $p(t)$ | Average | Sign of $p(t)$ |
|---|---|---|---|---|
| Resistor | 0° | $VI(1-\cos 2\omega t)$ | $VI$ | Always $\ge 0$ |
| Ideal inductor | +90° | $-VI\sin 2\omega t$ | 0 | Alternates, equal areas |
| Ideal capacitor | −90° | $+VI\sin 2\omega t$ | 0 | Alternates, equal areas |
| Series R-L | 0° to 90° | Constant plus $2\omega$ term | $VI\cos\varphi$ | Negative for part of each cycle |
The resistor touches zero twice per cycle of $p$, when the voltage and current are both zero. It never returns energy. The ideal inductor and capacitor absorb as much energy as they return, so their average is zero. The inductor and the capacitor produce the same shape with opposite signs. This is the reason a capacitor can supply the exchange energy that an inductive load needs. Power factor correction uses that fact.
A worked example
Use the load from the topic's running example. A 230 V RMS, 50 Hz source drives a series R-L load with $R = X_L = 10\ \Omega$. The current is 16.263 A RMS and lags the voltage by $\varphi = 45°$. Then:
- $VI = 230 \times 16.263 \approx 3741$ VA
- $VI\cos\varphi \approx 2645$ W
The instantaneous power is therefore
$$p(t) \approx 2645 - 3741\cos(2\omega t - 45°)\ \text{W}$$
The cosine swings between −1 and +1, so:
- Maximum: $2645 + 3741 \approx 6386$ W
- Minimum: $2645 - 3741 \approx -1096$ W
The minimum is negative, so for part of each cycle the load returns energy to the source. To find how long, solve $\cos(2\omega t - 45°) > 2645/3741 = 0.7071$. That holds when the argument is within ±45° of zero, which is 90° of a 360° cycle of $p$. The load therefore returns energy for 25% of the time.
The following diagram plots $p(t)$ over one cycle of the voltage, so the power curve completes two cycles.
The values in the chart come from the closed-form $p(t)$ above, sampled every 30° of the voltage angle. Since the sample spacing is coarse, the true peak of 6386 W falls between the plotted points.
Checking the derivation numerically
The script below multiplies $v(t)$ and $i(t)$ directly over one period. It compares the result with the closed form. It also reports the extremes, the average, and the fraction of time with negative power.
import math
Vrms = 230.0
Irms = 16.263
phi = math.radians(45) # current lags voltage
f = 50.0
N = 1000 # samples over exactly one period
w = 2 * math.pi * f
p = []
max_err = 0.0
for n in range(N):
t = n / (N * f)
v = math.sqrt(2) * Vrms * math.sin(w * t)
i = math.sqrt(2) * Irms * math.sin(w * t - phi)
p_direct = v * i
p_closed = Vrms * Irms * (math.cos(phi) - math.cos(2 * w * t - phi))
max_err = max(max_err, abs(p_direct - p_closed))
p.append(p_direct)
print(f"average p = {sum(p) / N:.0f} W")
print(f"maximum p = {max(p):.0f} W")
print(f"minimum p = {min(p):.0f} W")
print(f"time with p < 0 = {100 * sum(1 for x in p if x < 0) / N:.1f} %")
print(f"max |direct - closed form| = {max_err:.2e} W")Expect an average near 2645 W and a minimum near −1096 W. The negative-power fraction should be close to 25%. The difference between the direct product and the closed form should be at rounding level, which confirms the identity.
Edge cases and common errors
- Phasors do not give $p(t)$. Multiplying two phasors does not produce the instantaneous power. A phasor describes a sinusoid at $\omega$, while $p(t)$ contains a constant and a $2\omega$ part. The product of phasors comes back later as complex power, which is defined with a conjugate and encodes only the average and the amplitude of the swing.
- Negative power is not a fault. In a load with $|\varphi| > 0$, negative $p(t)$ in part of each cycle is normal. It means stored field energy is returning to the source.
- Watch the angle sign. For a leading current ($\varphi < 0$, capacitive), $\cos\varphi$ is unchanged, so the constant term is the same. The sign of the $\sin 2\omega t$ term flips. The mean of $p(t)$ cannot tell lagging from leading. The shape of the swing can.
- Sample over whole periods. An average taken over a partial period of $p(t)$ includes part of the $2\omega$ term and gives the wrong mean. Use whole periods of the voltage, or whole numbers of power cycles.
- Single-phase only. In a balanced three-phase system, the sum of the three phase powers is constant in time. That is one reason three-phase supplies suit motors. The three-phase chapter covers it.
Summary of the model
For sinusoidal steady state, $p(t) = VI\cos\varphi - VI\cos(2\omega t - \varphi)$, where $V$ and $I$ are RMS values. The waveform sits on a constant level of $VI\cos\varphi$ and swings at twice the line frequency with an amplitude of $VI$. The dip below zero happens whenever $\varphi \ne 0$ and $|\cos\varphi| < 1$. Its size depends only on the angle between voltage and current. The next chapter averages $p(t)$ over a period to define real power.
Exercise
A load connected to a 120 V RMS, 60 Hz source draws 10 A RMS, with the current lagging the voltage by 60°. Find (a) the average power, (b) the maximum and minimum instantaneous power, (c) the fraction of each cycle during which power is negative, and (d) how often p(t) repeats.
Show answer
Write p(t) = VI cos φ − VI cos(2ωt − φ) with VI = 120 × 10 = 1200 VA. (a) The average is VI cos 60° = 600 W. (b) Maximum = 600 + 1200 = 1800 W. Minimum = 600 − 1200 = −600 W. (c) Power is negative when cos(2ωt − φ) > 600/1200 = 0.5, which holds for the argument within ±60° of zero. That is 120° out of 360°, so one third of each power cycle. (d) p(t) oscillates at 2ω, so it repeats at 120 Hz, every 1/120 s ≈ 8.33 ms.
Exercise
An ideal capacitor is connected to a sinusoidal source with RMS voltage V and RMS current I. State its p(t), its average power, and the peak instantaneous power. Why does the capacitor not heat up from this power flow?
Show answer
For an ideal capacitor the current leads the voltage by 90°, so φ = −90° and p(t) = +VI sin 2ωt. The average is zero and the peak instantaneous power is VI. The capacitor takes in energy while its voltage magnitude is rising, stores it in the electric field, and returns all of it as the voltage magnitude falls. Net energy absorbed per cycle is zero, so no energy is converted to heat in the ideal element.