The Trapezoidal Rule
Figure 7.1:
The trapezoidal rule.
|
- Approximate the curve with a sequence of straight lines.
- In effect, we slope the top of the strips to match with the curve as best we can.
- We are approximating the curve with interpolating polynomials of degree-1.
- The gives us the trapezoidal rule. Figure 7.1 illustrates this.
- It is clear that the area of the strip from
to
gives an approximation to the area under the curve:
- We will usually write
for the width of the interval.
- Error term for the trapezoidal integration is
- What happens, if we are getting the integral of a known function over a larger span of
-values, say, from
to
?
Cem Ozdogan
2011-12-27