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

∫abf≈b−a2(f(a)+f(b))\int_a^b f\approx\dfrac{b-a}{2}\bigl(f(a)+f(b)\bigr)

b∈[−5,8]b \in \left[-5, 8\right]

where

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

The figure, part by part

Each numbered marker wears the color of its card. Hover a card to light the marker. Tap a marker to jump to that card. The slider walks a red point along the curve; Animate drawing traces it like a pen.

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

Governing law — red

∫abf≈b−a2(f(a)+f(b))\int_a^b f\approx\dfrac{b-a}{2}\bigl(f(a)+f(b)\bigr)

b∈[−5,8]b \in \left[-5, 8\right]

b=−5b = -5I=−12.5I = -12.5

②

Domain of the variable — blue

bmin⁡=−5,bmax⁡=8b_{\min} = -5,\quad b_{\max} = 8

b∈[−5,8]b \in \left[-5, 8\right]

b=−5b = -5b=−5b = -5

③

Response curve — green

∫abf≈b−a2(f(a)+f(b))\int_a^b f\approx\dfrac{b-a}{2}\bigl(f(a)+f(b)\bigr)

b∈[−5,8]b \in \left[-5, 8\right]

b=−5b = -5I=−12.5I = -12.5

④

Rate of change — amber

dIdb\frac{\mathrm{d}I}{\mathrm{d}b}

b∈[−5,8]b \in \left[-5, 8\right]

b=−4.918b = -4.918I′=2.5I^{\prime} = 2.5

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 ∫abf≈b−a2(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.000 —a = 0.000\,\mathrm{—}, b=1.000 —b = 1.000\,\mathrm{—}, f(a)=1.000 —f(a) = 1.000\,\mathrm{—}, f(b)=4.000 —f(b) = 4.000\,\mathrm{—}, the governing relation ∫abf≈b−a2(f(a)+f(b))\int_a^b f\approx\dfrac{b-a}{2}\bigl(f(a)+f(b)\bigr) yields I=2.5000 —I = 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