The exact solution of the integral \(\int_{0}^{4} (x^{2} - 4)\, dx\) is denoted by \(I_{E}\). The same integral evaluated numerically by the trapezoidal rule and the Simpson's 1/3 rule are denoted by \(I_{T}\) and \(I_{S}\), respectively. The subinterval used in the numerical methods is \(h = 2\). Then
GATE XE - 2012,
Answer: B
The relation is \(I_{E} = I_{S} \lt I_{T}\).
With h = 2 the nodes are 0, 2, 4, where \(x^{2} - 4\) is -4, 0 and 12.
\[ \begin{aligned} I_{E} &= \left[\tfrac{x^{3}}{3} - 4x\right]_{0}^{4} = \tfrac{64}{3} - 16 = \tfrac{16}{3} \\ I_{T} &= \tfrac{2}{2}\,[-4 + 2(0) + 12] = 8 \\ I_{S} &= \tfrac{2}{3}\,[-4 + 4(0) + 12] = \tfrac{16}{3} \end{aligned} \]
Simpson's rule is exact for polynomials up to degree three, so it reproduces the exact value. The trapezoidal rule overestimates the integral of a convex (upward-curving) function, so \(I_{T} = 8\) is larger. The other orderings either break the equality or reverse the trapezoidal error.
Please log in or register to report this question.