Dayaan M. answered 09/05/26
Earned A’s in Calc 1/AB & Calc 2/BC | 5 Years of Tutoring Experience
Reading this as ∫15 ex3 dx. The tool you want is Simpson’s error bound:
|ES| ≤ (b − a)5 · M / (180 n4), where M is the maximum of |f(4)(x)| on [a, b].
So the work splits into two parts: find M, then solve for n. Most of the effort is in M.
Step 1: the fourth derivative
With f(x) = ex3, every derivative keeps the ex3 factor and picks up polynomial pieces from the chain rule. Working up:
f′(x) = 3x2 ex3
f″(x) = (6x + 9x4) ex3
f′″(x) = (6 + 54x3 + 27x6) ex3
f(4)(x) = (180x2 + 324x5 + 81x8) ex3
Step 2: maximize it on [1, 5]
Both factors are positive and strictly increasing on this interval, so no calculus is needed — the max sits at the right endpoint, x = 5.
M = f(4)(5) = (180·25 + 324·3125 + 81·390625) e125 = 32,657,625 · e125 ≈ 6.32 × 1061
Step 3: solve for n
With b − a = 4 and the tolerance 0.001:
45 · M / (180 n4) ≤ 0.001
n4 ≥ 1024 · M / 0.18 ≈ 3.60 × 1065
n ≥ (3.60 × 1065)1/4 ≈ 2.4 × 1016
Rounding up to an even integer (Simpson’s rule requires an even n), that is roughly 25 quadrillion subintervals.
Why the answer is absurd, and why that is the lesson
That number is not a mistake. It is what the bound honestly demands, and it is worth understanding why it comes out so large.
The bound is a worst-case estimate. It takes the single largest value of |f(4)| anywhere on the interval and pretends the function is that badly behaved everywhere. For ex3 that is wildly pessimistic: at x = 1 the fourth derivative is about 1,590, while at x = 5 it is about 6 × 1061. Those differ by roughly 58 orders of magnitude. Almost the entire interval is easy, and the bound is set by a sliver near x = 5.
Two things follow, and they are the real takeaway:
First, if a problem asks you to “estimate the number of intervals,” it is asking you to apply the bound, not to predict what would actually work. The true error at a modest n is far smaller than the bound allows.
Second, this is exactly why adaptive quadrature exists. Splitting [1, 5] and spending nearly all your subintervals near x = 5, where the function is genuinely difficult, reaches the same accuracy with a workable number of evaluations. A uniform grid is forced to treat the whole interval as badly as its worst point — and when a function grows like ex3, that is a very expensive assumption.