Trapezium Rule for Definite Integrals
Theorem
Let $f$ be a real function which is integrable on the closed interval $\closedint a b$.
Let $P = \set {x_0, x_1, x_2, \ldots, x_{n - 1}, x_n}$ form a normal subdivision of $\closedint a b$:
- $\forall i \in \set {1, 2, \ldots, n}: x_i - x_{i - 1} = \dfrac {b - a} n$
Then the definite integral of $f$ with respect to $x$ from $a$ to $b$ can be approximated as:
- $\ds \int_a^b \map f x \rd x \approx \dfrac h 2 \paren {\map f {x_0} + \map f {x_n} + \sum_{i \mathop = 1}^{n - 1} 2 \map f {x_i} }$
where $h = \dfrac {b - a} n$.
Error Term
The error can be quantified as:
- $\dfrac {\paren {b - a}^3 \map {f' '} \xi} {12 n^2}$
where $\xi \in \closedint a b$.
Proof
The geometric interpretation of a definite integral states that the area between the $4$ lines $x = a$, $x = b$, $y = 0$ and $y = \map f x$ is equal to $\ds \int_a^b \map f x \rd x$.
We approximate this area by dividing it into trapezia:
Consider the trapezium $T_i$ whose vertices are $\tuple {x_i, \map f {x_i}, x_{i + 1}, \map f {x_{i + 1} } }$ for some $i \in \set {0, 1, \ldots, n}$.
The area of $T_i$ is given by Area of Trapezium as:
- $\map \Area {T_i} = \dfrac {\map f {x_i} + \map f {x_{i + 1} } } 2 h$
Now let us consider the summation of all such areas:
\(\ds \sum_{i \mathop = 0}^{n - 1} \map \Area {T_i}\) | \(=\) | \(\ds \sum_{i \mathop = 0}^{n - 1} \dfrac {\map f {x_i} + \map f {x_{i + 1} } } 2 h\) | ||||||||||||
\(\ds \) | \(=\) | \(\ds \sum_{i \mathop = 0}^{n - 1} \dfrac h 2 \paren {\map f {x_i} + \map f {x_{i + 1} } }\) | ||||||||||||
\(\ds \) | \(=\) | \(\ds \dfrac h 2 \paren {\map f {x_0} + \map f {x_n} + \sum_{i \mathop = 1}^{n - 1} 2 \map f {x_i} }\) |
Hence the result.
$\blacksquare$
Also known as
US sources refer to this rule as:
- the trapezoidal formula
- the trapezoidal rule
- the trapezoid rule
as a result of the fact that, in the US, the terms trapezoid and trapezium have the opposite definitions.
Also see
Sources
- 1968: Murray R. Spiegel: Mathematical Handbook of Formulas and Tables ... (previous) ... (next): $\S 15$: Approximate Formulas for Definite Integrals: $15.16$
- 1989: Ephraim J. Borowski and Jonathan M. Borwein: Dictionary of Mathematics ... (previous) ... (next): trapezoidal rule or trapezium rule
- 1998: David Nelson: The Penguin Dictionary of Mathematics (2nd ed.) ... (previous) ... (next): trapezoidal rule
- 2008: David Nelson: The Penguin Dictionary of Mathematics (4th ed.) ... (previous) ... (next): trapezoidal rule (trapezium rule, trapezoid rule)
- 2009: Murray R. Spiegel, Seymour Lipschutz and John Liu: Mathematical Handbook of Formulas and Tables (3rd ed.) ... (previous) ... (next): $\S 18$: Definite Integrals: Approximate Formulas for Definite Integrals: $18.16$
- 2014: Christopher Clapham and James Nicholson: The Concise Oxford Dictionary of Mathematics (5th ed.) ... (previous) ... (next): trapezium rule