Sub topic 9
Deriving Vrms = Vm/√2
This chapter derives the RMS value of a sine wave from its definition. It assumes you know the following:
- Ohm's law and power P = V·I.
- The form v(t) = Vm sin(ωt + φ).
- The definition of RMS as the square root of the mean of the square.
- Basic integration of trigonometric functions.
The goal
The RMS (root mean square) value of a periodic voltage v(t) with period T is defined as:
Vrms = sqrt( (1/T) ∫ from 0 to T of v(t)² dt )
The name gives the order of operations: square the signal, take the mean, then take the square root. We want to apply this to v(t) = Vm sin(ωt + φ) and get a closed form in terms of Vm.
The result will be Vrms = Vm/√2 ≈ 0.7071·Vm. The derivation has four steps.
- Square the waveform.
- Rewrite sin² with a double-angle identity so it can be integrated.
- Average over one full period.
- Take the square root.
Step 1: Square the waveform
Start with the waveform and square it:
v(t)² = Vm² sin²(ωt + φ)
Squaring makes every value non-negative. This is why the mean of v² does not cancel to zero over a cycle, unlike the mean of v itself.
Step 2: Use the double-angle identity
The integral of sin² is not obvious as written. The identity cos(2x) = 1 − 2 sin²(x) rearranges to:
sin²(x) = (1 − cos(2x)) / 2
Setting x = ωt + φ gives:
v(t)² = (Vm² / 2) · [1 − cos(2ωt + 2φ)]
This form shows two parts:
- A constant term, Vm²/2.
- An oscillating term, −(Vm²/2) cos(2ωt + 2φ), which varies at twice the original frequency.
The squared signal therefore has a constant offset plus a cosine at 2ω. The offset is where the nonzero average comes from.
Step 3: Average over one period
The period is T = 2π/ω. The mean of v² is:
(1/T) ∫ from 0 to T of (Vm²/2)[1 − cos(2ωt + 2φ)] dt
Split this into two integrals:
(Vm²/2) · [ (1/T) ∫ 1 dt − (1/T) ∫ cos(2ωt + 2φ) dt ]
The first integral is (1/T)·T = 1.
For the second, the antiderivative of cos(2ωt + 2φ) is sin(2ωt + 2φ)/(2ω). Evaluate it from 0 to T:
[ sin(2ωT + 2φ) − sin(2φ) ] / (2ω)
Because ωT = 2π, we have 2ωT = 4π. Since sine repeats every 2π, sin(4π + 2φ) = sin(2φ). The difference is zero.
The cosine term integrates to zero because it completes exactly two full cycles within one period T. Its positive and negative areas cancel.
What remains is:
mean of v² = (Vm²/2) · (1 − 0) = Vm²/2
Notice that φ has disappeared. The RMS value does not depend on the phase angle, because a phase shift only slides the waveform along the time axis. Averaging over a full period gives the same result wherever you start.
Step 4: Take the square root
Vrms = sqrt(Vm²/2) = Vm/√2
The same derivation applies to current: Irms = Im/√2. Neither frequency nor phase appears in the answer, so the result depends only on amplitude.
Why the 1/2 appears
You can see where the factor of 1/2 comes from without any calculus. The identity shows that sin² oscillates symmetrically between 0 and 1, centered on 1/2. Its average is therefore 1/2. The mean of v² is Vm² times this average, so it equals Vm²/2.
The diagram below shows this. The squared wave swings between 0 and Vm², and the horizontal line at Vm²/2 is its mean.
Numerical check
You can confirm the result by sampling one full period and computing the RMS directly. The script below uses a 170 V, 60 Hz signal with a 30° phase. It also shows that the average over a full cycle is close to zero.
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. This is the familiar "120 V" of North American mains, whose peak is about 170 V.
Two details in this script matter:
endpoint=Falsestops the sample set from including both t = 0 and t = T. Including both would count the starting point twice and bias the mean slightly.- The samples must cover a whole number of periods. A partial cycle gives a different mean of v², and the answer would no longer equal Vm/√2.
Worked example
A sinusoidal current has a peak value of 5 A. Find its RMS value, and the average power it delivers to a 10 Ω resistor.
Irms = 5/√2 ≈ 3.536 A.
The average power is P = Irms² R = (12.5)(10) = 125 W. Equivalently, the mean of i² is Im²/2 = 12.5 A², and multiplying by R gives the same 125 W.
A 3.536 A DC current through the same resistor dissipates the same 125 W. This is the sense in which RMS is the heating-equivalent DC value. The next chapter develops this link to power.
You can also run the derivation backward. A 230 V RMS supply has a peak of 230 × √2 ≈ 325 V, and a peak-to-peak swing of about 651 V. Equipment must be rated for the peak, not just the RMS figure.
Common errors
- Using Vm/√2 for every waveform. The factor 1/√2 belongs to sine waves only. The derivation relied on the average of sin² being 1/2. A square or triangle wave has a different mean-square and a different factor (covered later in this tutorial).
- Using the average instead of RMS. The mean of a full-cycle sine is zero, so it cannot describe the signal's size. The half-cycle average, 2Vm/π ≈ 0.637·Vm, is a different quantity from RMS (≈ 0.707·Vm).
- Taking the root too early. RMS is the root of the mean of the square. Computing the mean of |v| and calling it RMS skips the squaring. Computing sqrt(v²) first returns |v|.
- Averaging over a partial period. The cosine term only cancels over whole cycles. Over a partial cycle, the mean of v² is not Vm²/2.
- Mixing up peak and RMS in power formulas. P = Vrms²/R. If you use the peak value, you get double the correct average power for a sine wave.
Summary of the derivation
| Quantity | Expression for v = Vm sin(ωt + φ) |
|---|---|
| Square of the signal | Vm² sin²(ωt + φ) |
| Rewritten with identity | (Vm²/2)(1 − cos(2ωt + 2φ)) |
| Mean of square over one period | Vm²/2 |
| RMS value | Vm/√2 ≈ 0.7071 Vm |
| Peak from RMS | Vm = √2 · Vrms ≈ 1.414 Vrms |
Exercise
A sinusoidal voltage has Vrms = 24 V and a phase of 60°. (a) What is its peak value? (b) Using the double-angle identity, state the mean of v² over one period. (c) Does changing the phase to 0° change the RMS value?
Show answer
(a) Vm = √2 · 24 ≈ 33.94 V. (b) The mean of v² is Vm²/2 = (33.94²)/2 = 576 V², which is simply Vrms² = 24² = 576 V². (c) No. The cosine term cos(2ωt + 2φ) integrates to zero over a full period for any φ, so the phase does not enter the result.
Exercise
A 20 Ω heater is connected to a sinusoidal source with a peak voltage of 311 V. Find the RMS voltage, the average power, and the DC voltage that would produce the same heating.
Show answer
Vrms = 311/√2 ≈ 220 V. P = Vrms²/R = 220²/20 = 2420 W (about 2.42 kW). The equivalent DC voltage is the RMS value, 220 V, because it dissipates the same 2420 W in the same resistor.