Sub topic 2
RMS values: the DC-equivalent heating effect
This chapter assumes you know Ohm's law, basic trigonometry, and the idea of a sinusoidal waveform with amplitude, frequency, and phase. It explains the RMS value, which every later power calculation in this tutorial relies on.
Why peak values are not enough
A sinusoidal voltage swings between positive and negative peaks, so its simple average over a full period is zero. A 230 V mains outlet clearly delivers energy, so the plain average cannot describe how much work the voltage does.
Heating gives a better measure. A resistor dissipates power p = v²/R, and that is never negative. The question becomes: what constant DC voltage would heat the same resistor at the same rate? That DC value is the RMS (root mean square) value, also called the effective value.
The definition
RMS stands for the three steps applied to the waveform, in reverse reading order:
- Square the signal at every instant.
- Take the mean (average) of the squares over one full period T.
- Take the square root of that mean.
In symbols:
V_rms = sqrt( (1/T) ∫₀ᵀ v(t)² dt )
For a sinusoid v(t) = V_peak sin(ωt), the mean of sin²(ωt) over a period is 1/2. This gives:
Vrms = Vpeak / √2 ≈ 0.7071 · V_peak
The same relation holds for current: Irms = Ipeak / √2.
Worked example
Mains voltage is quoted as 230 V. That figure is the RMS value, so the peak is:
V_peak = 230 × √2 ≈ 325 V
A resistive heater of R = 10 Ω connected to this supply dissipates:
P = V_rms² / R = 230² / 10 = 5290 W
A 230 V DC source across the same resistor gives exactly the same 5290 W. This is the meaning of "DC-equivalent heating effect." If you used the peak value in the formula by mistake, you would get 325²/10 = 10 562 W, about twice the true value.
Checking it numerically
The script below computes RMS directly from the definition by sampling one period, and compares it with the formula.
import math
V_peak = 325.27
f = 50.0
N = 1000 # samples over exactly one period
sum_sq = 0.0
for n in range(N):
t = n / (N * f)
v = V_peak * math.sin(2 * math.pi * f * t)
sum_sq += v * v
v_rms_numeric = math.sqrt(sum_sq / N)
v_rms_formula = V_peak / math.sqrt(2)
print(f"numeric RMS = {v_rms_numeric:.2f} V")
print(f"formula RMS = {v_rms_formula:.2f} V")Both lines print about 230.00 V. The sample must cover a whole number of periods. A partial period gives a wrong mean of the squares.
Common errors
- Mixing peak and RMS. Meters and nameplates give RMS unless they say otherwise. Use RMS in P = Vrms Irms cos φ and in the other power formulas that follow.
- Averaging the signal instead of its square. The average of a sine over a period is zero. The average of its square is not.
- Applying 1/√2 to non-sinusoidal waves. This matters again in the final chapters on distorted waveforms.
- Trusting a cheap meter on distorted signals. Average-responding meters are calibrated for sine waves and misread other shapes. A "true RMS" meter evaluates the definition above.
Why this matters for power
With RMS values, the power formulas for AC look like their DC counterparts. The resistive power is P = Vrms Irms, and the apparent power is S = Vrms Irms. The next chapters add the phase angle between voltage and current, which splits this product into real and reactive parts.
Exercise
A sinusoidal current has a peak value of 14.14 A and flows through a 5 Ω resistor. What is I_rms, and what average power does the resistor dissipate?
Show answer
Irms = 14.14 / √2 ≈ 10 A. The average power is P = Irms² R = 10² × 5 = 500 W. Using the peak value instead would give 1000 W, which is wrong by a factor of two.
Exercise
A DC supply of 100 V heats a resistor. A sine-wave source is to produce the same heating in the same resistor. What peak voltage does the sine source need?
Show answer
The sine source must have Vrms = 100 V, so Vpeak = 100 × √2 ≈ 141.4 V.