Skip to content
LoveToCalc

Theorem — what does that mean?

Error bound for the trapezoidal rule

Before computing an integral numerically, the bound tells how many strips are enough.

In Swedish: Felgräns för trapetsregeln

Error bound for the trapezoidal rule

The relation

ET=(b−a)³M12n²

The trapezoidal rule with n strips is off by at most (b − a)³ · M / (12n²), where M bounds |f″| on [a, b].

Solve for

ET≈0.0017

E T equals ((2 minus 1) cubed times 2) divided by (12 times 10 squared), equals (1 cubed times 2) divided by (12 times 100), equals (1 times 2) divided by 1,200, equals 2 divided by 1,200, is approximately 0.0017

Working5 steps

Practice questions

You are given

  • b=2
  • a=0
  • M=24
  • n=4

What the theorem says

M is a number with |f″(x)| ≤ M for all x in [a, b]. Enter a, b, n and M in the card above to get the bound. Solve for n instead to find how many strips a tolerance needs. The rule itself is on the trapezoidal rule page.

Holds when f″ is continuous on [a, b].

Worked example: ∫ from 1 to 2 of 1/x

Here f″(x) = 2/x³, which is at most 2 on [1, 2], so M = 2 and b − a = 1. How many strips give an error under 0.0001?

Check: with n = 40 the bound is 0.000 104, just over, and with n = 41 it is 0.000 099.

A second example: the effect of n

With b − a = 2 and M = 6, n = 2 gives 8 · 6/(12 · 4) = 1, and n = 4 gives 0.25. Doubling n divides the bound by 4, since n is squared.

Common mistakes

Frequently asked questions

How do I find M? Differentiate twice and find the largest |f″| on [a, b], or any larger number that is easy to prove, such as 2 above.

Looking for another letter? The formula solved for each one
Solved for each letter
Solve forRearrangedWith the numbersComes to
ET(b−a)³M12n²(2−1)³·212·10²0.0017
n(b−a)³M12ET(2−1)³·212·0.001710
M12n²ET(b−a)³12·10²·0.0017(2−1)³2

Last reviewed October 11, 2026 ·How pages are reviewed

Calculate it in practice

CalculusAll formulas

Put this formula on your site

Copy the code into your page where the formula card should appear. It loads from lovetocalc.com, so it stays current on its own — all we ask is that the credit line comes with it.