PrimeCalcPro
Explore 1070+ free calculators — math, finance, health & more.

Trapezoidal Rule Calculator

Numerical integration using the trapezoid rule

Trapezoidal Rule Calculator

The Trapezoidal Rule approximates a definite integral by dividing the area under the curve into trapezoids rather than rectangles. Each trapezoid connects adjacent function values with a straight line. The rule has second-order accuracy — halving the step size reduces the error by a factor of four.

  1. 1T = (h/2)[f(x₀) + 2f(x₁) + 2f(x₂) + ... + 2f(xₙ₋₁) + f(xₙ)]
  2. 2h = (b−a)/n is the step size
  3. 3Error ≈ −(b−a)³/(12n²) × f''(ξ) for some ξ in [a,b]
  4. 4Error is zero when f is linear (trapezoids fit exactly)
  5. 5Simpson's Rule corrects the trapezoid error using parabolic interpolation
∫[0,1] x² dx, n=10=≈ 0.3350 (exact: 0.3333)Error = 0.0017; halving n quadruples accuracy
∫[0,π] sin(x) dx, n=100=≈ 1.9998 (exact: 2.0000)
nTrapezoid (∫x²)Simpson (∫x²)Exact
100.33500.33330.3333
1000.333350.3333330.333333
10000.33333350.333333330.33333333
🔒
100% 無料
登録不要
正確
検証済み数式
即座
即座に結果を表示
📱
モバイル対応
全デバイス対応

Settings

Theme

Light

Dark

Layout

Language

PrivacyTermsAbout© 2025 PrimeCalcPro