Exercise · ZW-TRAPEZOIDAL-RULE-004 · ★☆☆ Basic
For which type of functions is the trapezoidal rule exact?
Choose one option.
Show answer
- D. Linear functions
Exercise · ZW-TRAPEZOIDAL-RULE-004 · ★☆☆ Basic
Choose one option.
A line coincides with its trapezoid, so the rule gives the exact value. Quadratics have error, as the worked example shows.
The trapezoidal rule is a quadrature method that approximates the definite integral of a function \(f\) on \([a,b]\) by replacing the curve with the straight line joining \((a,f(a))\) and \((b,f(b))\).