INGENIA

CAL-06

Trapezoid-rule snapshot

∫_a^b f ≈ (b−a)(f(a)+f(b))/2. One panel of the composite rule.

Reading speed
QuadratureTrapezoid rule

Governing equation

abfba2(f(a)+f(b))\int_a^b f\approx\dfrac{b-a}{2}\bigl(f(a)+f(b)\bigr)

where

a
a ()
b
b ()
f(a)
f(a) ()
f(b)
f(b) ()
I
Integral estimate ()

Lecture brief

Historical brief

Newton and Leibniz (1670s), Taylor, the fundamental theorem and the trapezoid rule are how change became a number. The lab differentiates, integrates and linearises in one variable. This sheet (CAL-06 — Trapezoid-rule snapshot) is the form associated with Trapezoid rule. Working symbols: aa, bb, f(a)f(a), f(b)f(b) \rightarrow II. Error −(b−a)³ f″(ξ)/12. Composite: sum of panels, error O(h²).

Purpose

Purpose: compute II from aa, bb, f(a)f(a), f(b)f(b) in Calculus via abfba2(f(a)+f(b))\int_a^b f\approx\dfrac{b-a}{2}\bigl(f(a)+f(b)\bigr) ∫_a^b f ≈ (b−a)(f(a)+f(b))/2. One panel of the composite rule. Use it when a real calculus question must be answered in SI before a code check.

Live realistic example

In symbols

Live case. Given a=0.000a = 0.000\,\mathrm{—}, b=1.000b = 1.000\,\mathrm{—}, f(a)=1.000f(a) = 1.000\,\mathrm{—}, f(b)=4.000f(b) = 4.000\,\mathrm{—}, the governing relation abfba2(f(a)+f(b))\int_a^b f\approx\dfrac{b-a}{2}\bigl(f(a)+f(b)\bigr) yields I=2.5000I = 2.5000\,\mathrm{—}. A curve, a trapezoid under it. Move a slider: the numbers are this situation, not a canned story.

Calculator

Inputs

Outputs

  • Integral estimate I2.5000
Reading speed

Watch on YouTube

Free library

Full library

Free PDF / open book

YouTube channels

CAL-06 · curve
00:0 / 00:08

Narration of this film

A curve, a trapezoid under it.

Error −(b−a)³ f″(ξ)/12. Composite: sum of panels, error O(h²).

Reading speed

Watch on YouTube