AC fundamentals: RMS and average values, phasors
AC fundamentals: measuring RMS and average values of periodic waveforms and using phasors to represent and add sinusoids of the same frequency.
Drafted with Aria, reviewed by the AiCanCode.org team · Updated . How we write and check our notes. Spotted an error? Use Give Feedback at the bottom of the page.
Why it matters
RMS and average values tell you what a time-varying (AC) voltage or current actually “does” as heat and charge flow, so you can size wires, fuses, and equipment correctly. Phasors let you replace time-varying sinusoids by steady complex numbers, making addition, subtraction, and solving AC circuits (later topics) simple and systematic.
Key ideas
- Instantaneous value: The value of a time-varying quantity at a specific instant t, written v(t) or i(t), in volts (V) or amperes (A).
- Average (mean) value over an interval: The average of x(t) on interval [t1, t2] is x̄ = (1/(t2 − t1)) ∫_{t1}^{t2} x(t) dt. For a symmetric AC sine wave over a full cycle, the average is zero; in practice we often quote average over a half-cycle for rectified waveforms.
- Average (mean) value of a periodic waveform: For one full period, x_avg,full = (1/T) ∫{0}^{T} x(t) dt. For waveforms that are symmetric about zero (like pure sine), this equals 0. For rectified waveforms, we commonly use the half-cycle mean x_avg,half = (2/T) ∫{0}^{T/2} x(t) dt.
- RMS (root-mean-square) value: The effective value of a periodic current or voltage defined as the square root of the mean of the square over one period: X_rms = sqrt( (1/T) ∫_{0}^{T} [x(t)]^2 dt ). RMS produces the same heating (power in a resistor) as a DC quantity of the same magnitude.
- Sine wave definitions: A sinusoidal voltage is v(t) = V_m sin(ωt + φ) or v(t) = V_m cos(ωt + φ), where V_m is peak (maximum) value, φ is phase angle. For a pure sine, v_rms = V_m/√2 and the average over a half-cycle is V_avg,half = (2/π) V_m.
- Form factor: For any periodic waveform, Form factor = X_rms / X_avg,half. For a sine wave, Form factor = (V_m/√2) / (2V_m/π) = π/(2√2) ≈ 1.11.
- Peak (crest) factor: Crest factor = X_peak / X_rms. For a sine wave, Crest factor = V_m / (V_m/√2) = √2 ≈ 1.414.
- Phasor: A phasor is a complex-number representation of a sinusoid of a single fixed frequency, expressed as a rotating vector with constant magnitude at angular speed ω. We conventionally write a time-domain quantity as x(t) = X_m cos(ωt + φ). The corresponding phasor is X = X_rms ∠ φ (polar) or X = X_rms (cos φ + j sin φ) (rectangular), where j = √−1.
- Reference and phase angle: In a phasor diagram, choose a reference (often the supply voltage). A phasor at angle +φ leads the reference by φ; at −φ lags by φ. Angle is measured counterclockwise from the positive real axis.
- Addition of sinusoids using phasors: Sinusoids of the same frequency can be added by adding their phasors as complex numbers: X_total = X1 + X2 + … . The time-domain resultant is x_total(t) = √2·|X_total| cos(ωt + ∠X_total) if phasors are RMS-based. (If using peak-based phasors, omit √2.)
- j-operator and rectangular/polar forms: A phasor X can be written X = a + jb (rectangular) or X = |X| ∠ θ (polar), with conversions: |X| = √(a^2 + b^2), θ = atan2(b, a), a = |X| cos θ, b = |X| sin θ.
- Impedance phasors for basic elements (preview for later topics): For sinusoidal steady state at angular frequency ω: resistor Z_R = R ∠ 0° (Ω), inductor Z_L = jωL (Ω) = ωL ∠ +90°, capacitor Z_C = 1/(jωC) = −j/(ωC) (Ω) = (1/ωC) ∠ −90°. In a resistor, v and i are in phase; in an inductor, i lags v by 90°; in a capacitor, i leads v by 90°.
Common exam derivations and diagrams to draw
- Derivation: RMS of a sine wave
- v(t) = V_m sin(ωt). Over one period T = 2π/ω.
- v_rms = sqrt( (1/T) ∫{0}^{T} v^2(t) dt ) = sqrt( (1/T) ∫{0}^{T} V_m^2 sin^2(ωt) dt ).
- Use identity sin^2 x = (1 − cos 2x)/2 and integrate over a full period to get average of sin^2 as 1/2.
- v_rms = V_m / √2.
- Derivation: Average (half-wave) of a sine wave
- v(t) = V_m sin(ωt) for 0 to π (half-cycle in angle variable).
- V_avg,half = (1/π) ∫_{0}^{π} V_m sin θ dθ (use θ = ωt).
- Integrate to obtain (V_m/π)[−cos θ]_0^π = (V_m/π)(2) = 2V_m/π.
- Diagram: Sine wave and labels
- Draw a horizontal time axis t and vertical voltage axis v.
- Plot one cycle of a sine wave starting at zero and peaking at V_m at ωt = π/2, crossing zero at π, negative peak at 3π/2, and back to zero at 2π.
- Label peak value V_m, period T, and mark RMS level at V_m/√2 (use a dashed horizontal line).
- Diagram: Phasor diagram
- Draw horizontal real axis (Re) to the right and vertical imaginary axis (Im) upward.
- Draw a reference phasor V along the real axis.
- Draw another phasor I at angle −φ to indicate lag (or +φ for lead). Label magnitudes |V|, |I| and angle φ.
- Diagram: Addition of two phasors
- Draw X1 and X2 from origin with their angles. Construct the parallelogram; the diagonal from origin is the resultant X_total. Label the angles and magnitudes.
Assumptions behind phasors
- All phasors in a problem refer to the same single frequency (steady-state sinusoidal). If frequencies differ, phasor addition is not valid; signals must be handled separately in time domain or via Fourier methods (beyond this topic).
- RMS-based phasors are standard in electrical engineering for voltages and currents; be consistent. If you choose peak-based phasors, state it clearly and do not mix with RMS.
Formulas
f = 1/T
- f: frequency (Hz), T: period (s); for any periodic signal.
ω = 2·π·f
- ω: angular frequency (rad/s), f: Hz; sinusoidal steady state.
x_avg,full = (1/T) · ∫₀ᵀ x(t) dt
- x_avg,full: average over a full cycle (same unit as x), T: period (s); general periodic function.
x_avg,half = (2/T) · ∫₀ᵀ⁄₂ x(t) dt
- x_avg,half: average over a half-cycle (same unit as x); typically used for rectified waveforms.
x_rms = √[ (1/T) · ∫₀ᵀ (x(t))² dt ]
- x_rms: RMS value (same unit as x); general periodic function.
v(t) = V_m · sin(ωt + φ)
- v(t): instantaneous voltage (V), V_m: peak voltage (V), φ: phase angle (rad), ω: rad/s; sinusoid.
V_rms = V_m/√2
- V_rms: RMS voltage (V), V_m: peak voltage (V); pure sine wave.
V_avg,half = (2/π) · V_m
- V_avg,half: average of rectified sine over half-cycle (V), V_m: peak (V); sine wave magnitude over half cycle. For a full-wave rectified sine over one full period, V_avg,full-rect = (2/π) · V_m and V_rms = V_m/√2.
Form factor = X_rms / X_avg,half
- Dimensionless; any periodic waveform (half-cycle average must be nonzero).
Crest factor = X_peak / X_rms
- Dimensionless; any periodic waveform.
X = X_rms ∠ φ = X_rms (cos φ + j sin φ)
- X: phasor (complex), X_rms: RMS magnitude (unit of x), φ: phase (rad or °), j: √−1; sinusoidal steady state phasor representation.
|X| = √(a² + b²), θ = atan2(b, a)
- For X = a + jb (rectangular), magnitude |X| and angle θ in radians; conversion rectangular to polar.
a = |X| cos θ, b = |X| sin θ
- For X = a + jb; conversion polar to rectangular.
X_total = X₁ + X₂ + … + X_n
- Vector (complex) sum of phasors at the same frequency.
Z_R = R
- Impedance of resistor R (Ω), angle 0°; sinusoidal steady state.
Z_L = j·ω·L
- Impedance of inductor L (H), ω rad/s; angle +90°.
Z_C = 1/(j·ω·C) = −j/(ω·C)
- Impedance of capacitor C (F), ω rad/s; angle −90°.
v(t) = √2 · Re{ V · e^{jωt} }
- v(t): instantaneous voltage (V), V: RMS phasor (complex V), Re{}: real part; links phasor to time-domain cosine reference.
Worked examples
Example 1: RMS and average of a triangular waveform Given: A symmetrical triangular voltage v(t) of peak V_m = 12 V over period T, rising linearly from 0 to +12 V in T/4, then to −12 V in next T/2, and back to 0 in last T/4 (zero average over full cycle). Find (a) V_rms and (b) the average over half-cycle of its magnitude (rectified), V_avg,half.
- Identify piecewise linear symmetry: For a symmetric triangular wave with peak ±V_m, the RMS over a full cycle is V_rms = V_m/√3.
- Compute V_rms by integral to show steps:
- Over 0 to T/2, v(t) ramps from 0 to +12 V then to 0; over T/2 to T it mirrors to negative and back. Square removes sign. Use known result or integrate line segments. Using known standard result for a symmetrical triangle:
- V_rms = V_m/√3 = 12/√3 V = 6.928 V (approx).
- Average of rectified triangular wave over half-cycle: For a symmetric triangle, V_avg,half = V_m/2.
- Thus V_avg,half = 12/2 = 6.0 V. Answer: (a) V_rms = 6.93 V (rounded to 2 d.p.) (b) V_avg,half = 6.00 V.
Example 2: RMS and average of a half-wave rectified sine current Given: i(t) = I_m sin(ωt) for 0 ≤ ωt ≤ π, and i(t) = 0 for π < ωt < 2π (half-wave rectified), with I_m = 5 A. Find (a) I_avg over full period, (b) I_rms over full period.
- Average over full period (nonzero only for half cycle):
- I_avg = (1/2π) ∫₀^π I_m sin θ dθ = (I_m/(2π)) [−cos θ]_0^π = (I_m/(2π)) (2) = I_m/π.
- Substitute I_m = 5 A: I_avg = 5/π A = 1.5915 A ≈ 1.592 A.
- RMS over full period:
- I_rms = √[ (1/2π) ∫₀^π (I_m sin θ)² dθ ] = √[ (I_m²/(2π)) ∫₀^π sin² θ dθ ].
- ∫₀^π sin² θ dθ = π/2. So I_rms = √[ (I_m²/(2π)) · (π/2) ] = I_m/2.
- Substitute: I_rms = 5/2 A = 2.5 A. Answer: (a) I_avg = 1.592 A (approx) (b) I_rms = 2.50 A (exact).
Example 3: Phasor addition of two sinusoidal voltages Given: v1(t) = 120√2 cos(ωt + 20°) V and v2(t) = 80√2 cos(ωt − 40°) V. Find the resultant voltage v(t) in the form V_RMS ∠ φ and as a cosine in the time domain.
- Convert to RMS phasors (divide peaks by √2):
- V1 = 120 ∠ 20° V, V2 = 80 ∠ (−40°) V.
- Convert to rectangular to add:
- V1x = 120 cos 20° = 120 × 0.9396926 = 112.763 V; V1y = 120 sin 20° = 120 × 0.3420201 = 41.042 V.
- V2x = 80 cos(−40°) = 80 × 0.7660444 = 61.2836 V; V2y = 80 sin(−40°) = 80 × (−0.6427876) = −51.4230 V.
- Sum components:
- Vx = 112.763 + 61.2836 = 174.0466 V.
- Vy = 41.042 + (−51.4230) = −10.3810 V.
- Convert to polar:
- |V| = √(174.0466² + (−10.3810)²) ≈ √(30292.22 + 107.76) = √(30399.98) ≈ 174.3 V.
- φ = atan2(Vy, Vx) = atan2(−10.3810, 174.0466) ≈ −3.42°.
- Write resultant phasor and time-domain voltage:
- V = 174.3 ∠ (−3.42°) V (RMS).
- v(t) = 174.3√2 cos(ωt − 3.42°) V = 246.5 cos(ωt − 3.42°) V. Answer: Resultant V ≈ 174.3 ∠ (−3.42°) V RMS; time-domain v(t) ≈ 246.5 cos(ωt − 3.42°) V.
Check of numeric steps (brief): cos 20° ≈ 0.93969, sin 20° ≈ 0.34202, cos 40° ≈ 0.76604, sin 40° ≈ 0.64279. Component sums and magnitude/angle recomputed above; final rounding to 0.1 V and 0.01°.
Example 4: Converting between time-domain and phasor, then adding currents in a branch Given currents: i1(t) = 10√2 cos(ωt) A and i2(t) = 6√2 cos(ωt − 90°) A flow into a node. Find total current as a phasor and as i(t).
- RMS phasors: I1 = 10 ∠ 0°, I2 = 6 ∠ (−90°) = 0 − j6.
- Rectangular form: I1 = 10 + j0, I2 = 0 − j6.
- Sum: I = 10 − j6. Magnitude |I| = √(10² + (−6)²) = √(100 + 36) = √136 = 11.6619 A.
- Angle φ = atan2(−6, 10) = −30.964° ≈ −30.96°.
- Phasor: I = 11.66 ∠ (−30.96°) A (RMS). Time-domain: i(t) = 11.66√2 cos(ωt − 30.96°) A = 16.49 cos(ωt − 30.96°) A. Answer: I ≈ 11.66 ∠ (−30.96°) A RMS; i(t) ≈ 16.49 cos(ωt − 30.96°) A.
Common mistakes
- Using full-cycle average instead of half-cycle average when a question asks “average value” for a rectified waveform. State clearly whether you are giving full-cycle average (often zero) or half-cycle/rectified average.
- Forgetting that RMS uses square–mean–square root. Averaging the raw values or taking mean of absolute values is not RMS.
- Adding time-domain sinusoids directly with different phases (e.g., 10 cos ωt + 10 cos(ωt + 60°) = 20 cos ωt). This is wrong; use phasor or trigonometric identities.
- Using degrees inside sin(), cos() of calculators set to radians (or vice versa). Set the correct mode and be consistent.
- Writing phasor magnitudes as peak while impedances assume RMS, leading to wrong currents and powers.
- Losing sign of angle: “lagging” means negative angle for current if voltage is reference; “leading” means positive.
- For integrals: forgetting that average of sin² over a full cycle is 1/2; average of sin over a full cycle is zero.
For your exam
- Derivations: Derive RMS of a sine wave; derive average of a half-wave rectified sine; show form factor for a sine is 1.11. Full marks: start with definitions, correct integrals over one period or half-period, correct identities, boundary values, and clean final expressions.
- Numericals: Compute RMS and average for given waveforms (square, triangular, sawtooth, half-/full-wave rectified). Add two or more sinusoids of the same frequency with given amplitudes and phases. Full marks: list given data with units, show formula before substitution, carry units, result rounded with correct significant figures.
- Phasor diagrams: Draw phasor of two voltages/currents showing lead/lag; parallelogram law for resultant. Full marks: axes labeled Re and Im, angles labeled with direction, magnitudes indicated, reference clearly stated.
- Conceptual: Explain why phasors cannot add signals of different frequencies; distinguish RMS vs average; meaning of lead/lag. Full marks: clear, concise statements with one illustrative sentence.
Quick check
- What is the RMS value of a 230 V (RMS) household supply in terms of its peak value?
- State the average over a half-cycle of v(t) = V_m sin(ωt).
- Two RMS phasors: 20 ∠ 30° V and 15 ∠ (−60°) V. Which one leads the other, and by how many degrees?
Answers: 1) Peak V_m = √2 × 230 ≈ 325 V; RMS is already 230 V. 2) (2/π) V_m. 3) 20 ∠ 30° leads 15 ∠ (−60°) by 90°.
Finished this topic? Mark it so your progress, study plan and readiness keep up.
Stuck on something here?