Trapezoidal rule — where it appears
Named by 8 essays across 3 fields — each of them below, with the objects they name alongside it.
One step, computed twice
A step response from the poles is exact. The same step walked forward in time is not, and the difference between them is the trapezoidal rule's own error rather than anything about the circuit. It falls by a factor of four every time the step is halved, which is a claim about a method and can be watched.
The amplitude nothing linear predicts
A linear model's poles say the envelope grows by 1.88 a cycle and never say when it stops. Two diodes across the feedback resistor stop it, at 858 millivolts — a number no pole, no transfer function and no bias point contains. Getting it needs a netlist with a nonlinearity in it, marched forward in time, and that pairing is what the whole field is built on.
The half that never arrives
Charging a capacitor from a step loses exactly as much energy as it stores, and the resistance it is lost in does not appear in the answer — the same 12.5 microjoules through ten ohms and through a hundred kilohms, to nine figures. Drive the same network with a ramp instead and the loss falls as two time constants over the ramp, with no floor beneath it at all.
Two numbers without solving for the waveform
Where a step response starts and where it ends are two limits of the transfer function, and neither needs the waveform. Both are exact here — 1.000000000 volts at the end and the whole step at the first instant — and one of them is a lie waiting to happen: take the damping to zero and the final-value theorem still returns 1.000000 for a response that swings between 0 and 2 for ever. Its condition is not on the transfer function but on where the poles are, and the practical condition is narrower still: at five ohms the poles are safely in the left half-plane and sixty cycles is not enough time.
The ripple that arrives as a comb
The rejection essay multiplied two numbers: 1.331 volts of reservoir ripple and the regulator's 36.0 decibels of rejection at a hundred hertz, for 21 millivolts at the output. The ripple is a sawtooth, a comb of lines at every multiple of a hundred hertz, and the rejection worsens at twenty decibels a decade — so the second line arrives at nearly the size of the first, and the third too. Summed with their phases, the output is 60.62 millivolts, 2.87 times the estimate, and the hundred-hertz line carries only 23.4 per cent of it. A reservoir twenty-one times larger cuts the rail's ripple 14.8 times and the regulated ripple 5.95.
The arrow that goes past where it settles
A phasor is where a driven resonator ends up, and counting the cycles it takes to get there says nothing about the path. Switched on from rest a little away from resonance, the capacitor's arrow circles its settled tip instead of approaching it: a Q of 50 driven at 0.8 of resonance reaches 1.854 times its settled voltage, and a Q of 200 at 1.25 switched on through zero reaches 2.182. At resonance exactly, where the settled voltage is largest, the arrow never passes its mark. So a resonance read by the largest voltage after switch-on is 1.20 times wider than its phasor says.
The ringing that belongs to the rule
The trapezoidal rule is stable for every stable circuit and every step size, and it is not damping. March a one-microsecond pole with twenty-microsecond steps and its node reads 1.818, 0.331, 1.548, 0.552 volts — an oscillation at half the stepping rate, its distance from the final volt multiplied by exactly −0.8182 every step, taking twenty-three steps to fall below one per cent. The slow node that pole drives is right to 1.2 × 10⁻⁵ V at a millisecond. One backward-Euler step at the discontinuity cuts the first swing from 0.818 V to 0.048 and two to 0.0023, because backward Euler multiplies the same error by 1/(1 + h/τ) and the trapezoidal rule by (1 − h/2τ)/(1 + h/2τ), which approaches −1.
The phase the rule loses
An inductor and a capacitor with no resistance ring for ever, and two ways of marching them disagree about how. The trapezoidal rule keeps the amplitude exactly — its factor per step has a magnitude of one — and loses phase instead: 2π − 2N·atan(π/N) a cycle, 2.918° at twenty steps a cycle, so ten cycles later it is 29.2° behind the circuit. Backward Euler keeps 0.3901 of the amplitude a cycle at the same step, and after ten cycles 0.0082 per cent of the ringing is left, in a circuit that has no loss. The two errors fall at different rates: the trapezoidal rule's phase as the square of the steps a cycle, backward Euler's amplitude as the first power. A hundred cycles to within one per cent needs 182 steps a cycle of one and 196,404 of the other.
Named alongside it
The objects these essays reach for when they reach for this one.
Convergence orderMarchingModel rangeNumerical errorResiduesStep responseLossless networkAmplitude stabilisationCharging exponentialCompanion modelConduction angleDesign tradeoff