GATE / CS ARCHIVE

GATE CSE 2008 / QUESTION 21

Trapezoidal error bound versus actual minimum

Engineering Mathematics & Other Topics · Numerical Methods · Full GATE CSE 2008 paper

GATE 2008, Q21 2 marks · MCQ
Not in GATE 2027 syllabusReport issue

Numerical Methods

Question 21, GATE 2008: What minimum number of equal subintervals is needed to approximate ∫₁² xe^x dx with error at most (1/3)×10^−6 using the trapezoidal rule?

(A) 1000e
(B) 1000
(C) 100e
(D) 100
Tap to enlarge
Your answer
Answer & solution

Answer: A is the conventional sufficient bound; literal minimum is not represented (no official key was published)

1. For f(x)=xex on[1,2], f″(x)=(x+2)ex is increasing, with maximum 4e². The composite trapezoidal bound is |En|≤4e²/(12n²)=e²/(3n²). Requiring this upper bound≤10−6/3 gives n≥1000e, corresponding to A; an integer subdivision count would be ceil(1000e)=2719.
2. This is a sufficient worst-derivative bound, not the exact minimum demanded by the wording. Direct high-precision evaluation gives error 3.33057431918×10−7 at n=2046, already within the tolerance and substantially below 2719. At n=2045 the error is 3.33383240096×10−7.
3. Thus A describes the standard error-bound calculation, not a literal minimal integer answer. No official key is asserted.

Original paper, page 5