Sub topic 9
Deriving Vrms = Vm/√2
This chapter assumes you know Ohm's law, the power relation P = V·I, the identity sin²θ = (1 − cos 2θ)/2, and how to integrate a simple function over an interval. The goal is to derive the RMS value of a sine wave step by step and check the result numerically.
The definition we start from
RMS stands for root mean square. You square the signal, average the squares over one period T, then take the square root:
Vrms = √( (1/T) ∫₀ᵀ v(t)² dt )
The order matters. The plain average of a sine over a full cycle is zero, but its square is never negative, so the mean of the square is positive.
Step-by-step derivation
Take v(t) = Vm sin(ωt + φ), with T = 2π/ω.
- Square the signal: v² = Vm² sin²(ωt + φ).
- Use the identity sin²θ = (1 − cos 2θ)/2:
v² = (Vm²/2)·[1 − cos(2ωt + 2φ)].
- Average over one period. The constant term averages to itself, Vm²/2.
- The cosine term has frequency 2ω, so one period T contains exactly two of its cycles. Its average over T is zero.
- The mean square is therefore Vm²/2.
- Take the square root: Vrms = Vm/√2 ≈ 0.707·Vm.
The phase φ drops out. Shifting the wave in time does not change its RMS value, because you are still averaging over a whole number of cycles.
Worked example
Household mains in North America is nominally 120 V RMS. Its peak value is:
Vm = √2 · Vrms = 1.414 × 120 ≈ 170 V
The peak-to-peak value is about 340 V. A meter or oscilloscope trace that shows 170 V peaks is displaying the same voltage as a 120 V RMS reading.
Checking the result numerically
This script samples exactly one period of a 170 V, 60 Hz wave and computes the mean and RMS directly.
import numpy as np
Vm = 170.0 # peak voltage, volts
f = 60.0 # frequency, hertz
phi = np.deg2rad(30) # phase angle, radians
# Sample exactly one period
t = np.linspace(0, 1 / f, 10000, endpoint=False)
v = Vm * np.sin(2 * np.pi * f * t + phi)
v_avg = np.mean(v) # close to 0 over a full cycle
v_rms = np.sqrt(np.mean(v ** 2)) # numerical RMS
print(f"average = {v_avg:.6f} V")
print(f"numerical RMS = {v_rms:.3f} V")
print(f"Vm/sqrt(2) = {Vm / np.sqrt(2):.3f} V")Both RMS lines print about 120.208 V, and the average prints a value near zero. The endpoint=False argument matters. It keeps the sample set to exactly one period, so the first sample of the next cycle is not counted twice.
Common errors
- Averaging over a partial cycle. The derivation needs a whole number of periods. Over a fraction of a cycle the cosine term does not cancel, and the result differs from Vm/√2.
- Applying 0.707 to other shapes. The factor 1/√2 belongs to sine waves only. Square and triangle waves have different factors.
- Taking the root before averaging. The mean of |v| is not the RMS. For a sine it is 2Vm/π ≈ 0.637·Vm.
- Mixing peak and RMS in power formulas. P = Vrms²/R is correct. Using Vm in that formula gives a value twice too large.
Exercise
A sinusoidal current has a peak value of 5 A and a phase angle of 60°. What is its RMS value, and does the 60° change the answer?
Show answer
Irms = 5/√2 ≈ 3.54 A. The phase angle does not change it, because the average of the square over a full period does not depend on where in the cycle you start.
Exercise
A 12 V RMS sine wave is applied across a 6 Ω resistor. What is the average power dissipated?
Show answer
P = Vrms²/R = 12²/6 = 24 W. The peak voltage is 12√2 ≈ 16.97 V, which is not used directly in this formula.