Calculus

Trapezoidal Rule

Students fit trapezoid pieces under a curved bridge.

Trapezoidal Rule definition

The trapezoidal rule estimates a definite integral by connecting sampled function values with straight segments.

In Spanish
regla del trapecio
Topic
Integrals and accumulation

Trapezoidal Rule in a picture

Trapezoidal Rule diagramEvery interior endpoint contributes to the piece on either side.f(0) = 0, f(1) = 1, f(2) = 4Sample x² on [0, 2]h = 1Two equal pieces(1/2)(0 + 2·1 + 4) = 3Trapezoidal estimate
Every interior endpoint contributes to the piece on either side.

How it works

For one piece of width h, average its endpoint heights and multiply by h. Adding all pieces gives h/2 times the sum of the first and last values plus twice each interior value. A linear function is integrated exactly. A concave-up graph lies below the chords, so the trapezoidal rule overestimates its integral.

Worked examples

Use one trapezoid to estimate ∫₀² x² dx.

2 × (0 + 4)/2 = 4.

Use two trapezoids for the same integral.

(1/2)(0 + 2 × 1 + 4) = 3.

Use one trapezoid to integrate f(x) = 2x from 0 to 3.

3 × (0 + 6)/2 = 9 exactly.

Common mistake

In the composite formula, double each interior height once. The first and last heights appear once each.

Quick check

What kind of segments approximate the graph?

Show answer

Straight segments.

What is the weight of each interior height before multiplying by h/2?

Show answer

2.

Does a negative function value contribute signed area?

Show answer

Yes.

Sources

Flashcard

Trapezoidal Rule

Reveal the definition

The trapezoidal rule estimates a definite integral by connecting sampled function values with straight segments.

Effortless Math. “Trapezoidal Rule.” Math Dictionary.