Wize University Calculus 2 Textbook > Integration Techniques
Numerical Integration
Popular Courses
Calculus 2
University Study Guides
MATH 101
University of British Columbia
Calculus 2
General Course
Calculus 2
University Study Guides
MATH 101A
University of British Columbia
MATH 1014
York University
MATH 105
University of British Columbia
MAT 1332
University of Ottawa
MATH 117
University of Waterloo
MAT187H1
University of Toronto
MATH 101B
University of British Columbia
MTH 240
Toronto Metropolitan University
MATH 101C
University of British Columbia
MATH-1730
University of Windsor
MATH 118
University of Waterloo
MATH 146
University of Alberta
MATH 1700
University of Manitoba
MTH 231
Toronto Metropolitan University
MATH 119
University of Waterloo
MATH 1226
Virginia Tech

0:00 / 0:00
The Midpoint Rule
We can begin to get more creative with our Reimann Sums to get better approximations for area under curves. Instead of using a left or right hand approximation, we can place our rectangles so the function touches the midpoint of the rectangle.

Midpoint Rule
where and is the number of subintervals.

0:00 / 0:00
Example: The Midpoint Rule
Use the midpoint approximation for
using 4 sub intervals.

0:00 / 0:00
The Trapezoidal Rule
We can begin to get more creative with our Reimann Sums to get better approximations for area under curves. Instead of using a rectangle approximation, we can place trapezoids on the graph to approximate area.

Trapezoid Rule
where , and is the number of subintervals.

0:00 / 0:00
Example: The Trapezoid Rule
Use a trapezoid approximation for
using 4 sub intervals.
Which of the following is the integral approximation of
using the trapezoid rule with ?

0:00 / 0:00
Simpson's Rule
We can begin to get more creative with our Reimann Sums to get better approximations for area under curves. Instead of using a rectangle approximation, we can place quadratics on the graph to approximate area.
Simpson's Rule Approximation
where , and is the number of subintervals.

0:00 / 0:00
Example: Simpson's Rule
Use a Simpson's Rule approximation for
using 4 sub intervals.
Using the Simpson's rule with , find the integral approximation of
.

0:00 / 0:00
Error of Integral Approximations
Approximations aren't perfect - however, we are able to bound the error on them. By increasing (the number of rectangles) we can reduce the error created by our area approximations
Error for the Midpoint Approximation
Suppose for . Then the error using a definite integral Midpoint approximation is
and the error can be bounded by
Error for the Trapezoid Approximation
Suppose for . Then the Error using a definite integral Trapezoid approximation is
and the error can be bounded by
Error for the Simpson's Approximation
Suppose for . Then the Error using a definite integral Simpson's approximation is
and the error can be bounded by
How large does n have to be to guarantee that the integral approximation of
using the Midpoint rule is accurate to within 0.0001?
Approximate Integration
Sometimes it's impossible to calculate the exact value of a definite integral. Instead, we can approximate the value by treating it like the area underneath a curve and follow these steps:
- We divide the area under the curve into equal width shapes like rectangles or trapezoids
- We calculate the area of each of these "nice shapes"
- We add up all of these areas to get the approximate total area (i.e. approximate value of the definite integral)

Wize Tip
The question will usually tell you
- the function
- the bounds of the integral
- the value (the number of shapes we are dividing the area into)
- which rule we should use for our approximation
Rule 1: Left Endpoint Approximation
Rule 2: Right Endpoint Approximation
Rule 3: Midpoint Rule Approximation
- (the midpoint of
Rule 4: Trapezoidal Rule Approximation
Rule 5: SImpson's Rule Approximation
- must be even
Error Bounds for Trapezoidal & Midpoint Rule Approximations
If then and
- This means that if we can find an upper and lower bound for the second derivative of the function, then we can calculate an error bound (upper and lower bound) for our Trapezoidal and Midpoint rule approximation
Error Bounds for Simpson's Rule Approximations
If then
- This means that if we can find an upper and lower bound for the fourth derivative of the function, then we can calculate an error bound (upper and lower bound) for our Simpson's rule approximation