5. The Trapezoidal Rule

by M. Bourne

Problem: Find

math expression

We put u = x2 + 1 and as x = 0 → 1, u = 1 → 2

If u = x2 + 1 then du = 2x dx.

But the question does not contain an x dx term so we cannot solve it using any of the normal integration methods.

We need to use numerical approaches. When software like Mathcad or graphics calculators perform definite integrals, they use numerical methods given earlier.

We can use one of two methods:

The Trapezoidal Rule

We saw the basic idea in our first attempt at solving the area under the arches problem earlier.

Instead of using rectangles as we did in the arches problem, we'll use trapezoids (trapeziums) and we'll find that it gives a better approximation to the area.

math expression

Recall that we write "Δx" to mean "a small change in x".

Let's see this in LiveMath. Note that our approximation is much better than using rectangles.

LIVEMath

Now, the area of a trapezoid (trapezium) is given by:

math expression

math expression

So the approximate area under the curve is found by adding the area of the trapezoids. (Our trapezoids are rotated 90° so that their new base is actually the height. So h = Δx.)

Area ≈

math expression

We can simplify this to give us the Trapezoidal Rule, for n trapezoids:

math expression

To find Δx for the area from x = a to x = b, we use:

math expression

and we also need

y0 = f(a)

y1 = f(a + Δx)

y2 = f(a +x)

yn = f(b)


Note:

math expression


Exercise: Using n = 5, approximate the integral:

math expression

Didn't find what you are looking for on this page? Try search:

Find your integral using Wolfram|Alpha!

This next search box allows you to enter your math problem and Mathematica solves it for you. (It's free!)

See how to enter math.

Online Algebra Solver

This algebra solver can solve a wide range of math problems. (Please be patient while it loads.)

Calculus Lessons on DVD

get MathTutorDVDs

Easy to understand calculus lessons on DVD. See samples before you commit.

More info: Calculus videos

Ready for a break?

shadow factory

Play a math game.

(Well, not really a math game, but each game was made using math...)

The IntMath Newsletter

Sign up for the free IntMath Newsletter. Get math study tips, information, news and updates each fortnight. Join thousands of satisfied students, teachers and parents!

Given name: * required

Family name:

email: * required

See the Interactive Mathematics spam guarantee.

Share IntMath!

This page has

  • 1 tweets
  • 20 Facebook likes & comments

axs