Sub topic 2
Amplitude: peak and peak-to-peak values
This chapter assumes you know Ohm's law, basic trigonometry (sine, degrees and radians), and simple algebra. No calculus is needed here. The RMS derivation in a later chapter is the only place calculus appears.
What amplitude means
The sinusoidal waveform is written as:
v(t) = Vm sin(ωt + φ)
Three parameters shape it: Vm, ω, and φ. This chapter covers Vm, the amplitude. The amplitude is the largest distance the waveform reaches from its center line. Because sin(·) swings between −1 and +1, multiplying by Vm makes v(t) swing between −Vm and +Vm.
Amplitude only scales the waveform vertically. It does not change when the zero crossings happen, because those depend on ω and φ. Doubling Vm doubles every instantaneous value and leaves the timing alone.
The same idea applies to current: i(t) = Im sin(ωt + φ). The amplitude Im is in amperes, and Vm is in volts.
Peak value
The peak value is the maximum instantaneous magnitude of the waveform. For a pure sinusoid with no DC offset, it equals Vm. It is reached twice per cycle: once at the positive crest (+Vm) and once at the negative trough (−Vm).
Peak value is the number that matters when a component can be damaged by instantaneous voltage. A capacitor's voltage rating, a diode's peak inverse voltage, and the dielectric strength of insulation all respond to the crest, not to the average heating effect.
Peak-to-peak value
The peak-to-peak value, written Vpp, is the total vertical span from the lowest point to the highest point:
Vpp = vmax − vmin
For a pure sinusoid, vmax = +Vm and vmin = −Vm, so:
Vpp = 2 Vm
Oscilloscopes make peak-to-peak easy to read. You count vertical divisions between the top and bottom of the trace and multiply by the volts-per-division setting. Reading the span is usually more accurate than judging a center line by eye, so you get Vm by halving Vpp.
The factor √2 ≈ 1.414 connecting RMS and peak is derived later in this tutorial. For now, treat it as a given when you need to convert.
Worked example: mains voltage
Household outlets are specified by RMS voltage, not by peak voltage. A nominal 120 V outlet means 120 V RMS.
- Peak: Vm = 120 × √2 ≈ 169.7 V
- Peak-to-peak: Vpp = 2 × 169.7 ≈ 339.4 V
A nominal 230 V outlet gives:
- Peak: Vm = 230 × √2 ≈ 325.3 V
- Peak-to-peak: Vpp = 2 × 325.3 ≈ 650.5 V
| Nominal mains (RMS) | Peak Vm | Peak-to-peak Vpp |
|---|---|---|
| 120 V | 169.7 V | 339.4 V |
| 230 V | 325.3 V | 650.5 V |
A capacitor on a 120 V line must tolerate at least about 170 V, and in practice more because of surges. A "150 V" capacitor would be a poor choice even though 150 > 120.
DC offset: when Vpp and Vm stop being related by 2
Real signals often ride on a constant level. The general form is:
v(t) = Voffset + Vm sin(ωt + φ)
The sinusoidal part still swings ±Vm around the offset, so:
- vmax = Voffset + Vm
- vmin = Voffset − Vm
- Vpp = vmax − vmin = 2 Vm (the offset cancels)
- Amplitude Vm = Vpp / 2
- Offset = (vmax + vmin) / 2
Peak-to-peak is unaffected by the offset, which is one reason it is a convenient measure. The "peak value" is less clear. The largest magnitude is Voffset + Vm when the offset is positive, which is not the same as the amplitude Vm. When a signal has an offset, say which you mean: the amplitude (Vm) or the maximum instantaneous value (vmax).
For example, a sensor signal v(t) = 2 + 5 sin(2π·1000t) volts has:
- vmax = 7 V
- vmin = −3 V
- Vpp = 10 V
- Vm = 5 V
- Voffset = 2 V
Computing these values from samples
The following script builds that waveform with a 20° phase, then recovers the amplitude and offset from its maximum and minimum samples, as you would from stored scope data.
import numpy as np
Vm = 5.0 # amplitude, volts
V_offset = 2.0 # DC offset, volts
f = 1000.0 # frequency, hertz
phi = np.deg2rad(20) # phase, radians
# Sample exactly one period
t = np.linspace(0, 1 / f, 10000, endpoint=False)
v = V_offset + Vm * np.sin(2 * np.pi * f * t + phi)
v_max = v.max()
v_min = v.min()
v_pp = v_max - v_min
amplitude = v_pp / 2
offset = (v_max + v_min) / 2
print(f"vmax = {v_max:.3f} V")
print(f"vmin = {v_min:.3f} V")
print(f"Vpp = {v_pp:.3f} V")
print(f"amplitude = {amplitude:.3f} V")
print(f"offset = {offset:.3f} V")It prints vmax = 7.000 V, vmin = −3.000 V, Vpp = 10.000 V, amplitude = 5.000 V, and offset = 2.000 V. The phase angle of 20° has no effect on any of these results. Try changing phi to confirm. Amplitude and offset do not depend on where in the cycle you start.
Edge cases and common errors
Negative amplitude
Writing v(t) = −5 sin(ωt) is legal. It describes the same waveform as 5 sin(ωt + 180°), because multiplying a sine by −1 flips it vertically, which is a half-cycle shift. By convention, amplitude is stated as a positive number, and the sign is absorbed into the phase angle. If you meet a negative Vm, rewrite it with a +180° (or −180°) phase before comparing with other signals.
Sine versus cosine
A cosine has the same amplitude as a sine. cos(ωt) = sin(ωt + 90°), so only the phase differs. Writing a signal as Vm cos(ωt + φ) does not change how you read the peak or peak-to-peak value.
Amplitude does not add simply
Peaks of two sinusoids add only if both crest at the same instant. If v1 = 10 sin(ωt) and v2 = 10 sin(ωt + 90°), the sum has amplitude 10√2 ≈ 14.14, not 20. The phasor chapter develops this properly. For now, remember that adding amplitudes is valid only for signals in phase.
Clipping
If a measuring instrument or amplifier runs out of range, the top and bottom of the waveform flatten. The measured peak-to-peak value then reflects the instrument's limit, not the signal. A flat-topped trace on a scope is the cue to select a larger volts-per-division range, then re-read Vpp.
Reading Vpp on a scope
A scope set to 2 V/div shows a trace spanning 3.4 divisions from bottom to top. Then Vpp = 3.4 × 2 = 6.8 V, and the amplitude is 3.4 V. If the probe is set to ×10 attenuation and the scope channel is not configured to match, every reading is wrong by a factor of 10. Check that the scope's probe setting matches the probe.
Summary of relationships
| Quantity | Symbol | Pure sinusoid | With DC offset |
|---|---|---|---|
| Amplitude | Vm | Vm | (vmax − vmin) / 2 |
| Peak (max value) | vmax | Vm | Voffset + Vm |
| Peak-to-peak | Vpp | 2 Vm | 2 Vm |
| RMS to peak | Vm | √2 · Vrms | Applies to the AC part only |
Exercise
A function generator's output is displayed on a scope. The top of the trace is at +3.2 V and the bottom is at −1.2 V. Find the peak-to-peak value, the amplitude, and the DC offset.
Show answer
Vpp = 3.2 − (−1.2) = 4.4 V. Amplitude Vm = Vpp / 2 = 2.2 V. Offset = (3.2 + (−1.2)) / 2 = 1.0 V. Check: 1.0 + 2.2 = 3.2 V and 1.0 − 2.2 = −1.2 V.
Exercise
A 230 V RMS supply feeds a capacitor rated for 400 V DC. Is the rating adequate for the supply's peak voltage? What is the peak-to-peak voltage?
Show answer
Peak = 230 × √2 ≈ 325.3 V, which is below 400 V, so the rating covers the steady-state peak with about 75 V of margin, though real mains has surges, so the margin is modest. Peak-to-peak = 2 × 325.3 ≈ 650.5 V.
Exercise
A current is given as i(t) = −3 sin(ωt). State its amplitude as a positive number and rewrite the expression with a phase angle.
Show answer
The amplitude is 3 A. Since −sin(x) = sin(x + 180°), the current is i(t) = 3 sin(ωt + 180°) A.