Truncation Error from Trapezoid Rule

From ProofWiki
Jump to navigation Jump to search

Theorem

Let $f: \R \to \R$ be a real function.

Let the trapezoid rule be used to integrate $f$ over the closed interval $\closedint a b$ using $n$ subintervals of length $h$.


Then the truncation error $E$ is given by:

$E = \dfrac {-h^2 \paren {b - a} \map {f} \alpha} {12}$

where the second derivative $f$ is evaluated at some unspecified point $\alpha \in \closedint a b$.





Proof



Sources