GATE 2014 CS (CS3) – Question 56
For numerical evaluation of $K=\int_a^b x^2\,dx$, where a and b are given, assess: I. The trapezoidal-rule value is always at least the exact integral. II. The Simpson’s-rule value always equals the exact integral.
Practise this question in The GATE Grind →
Show answer and explanation
Correct answer: (C) Both I and II
Explanation
For a<b, x²is convex, so trapezoidal chords lie above the curve and overestimate its integral. Simpson’s rule integrates all polynomials through degree3exactly, hence alsox². Thus **bothIandII,C**. The inequality assumes the conventional increasing integration bounds.