GATE / CS ARCHIVE

GATE CSE 1996 / QUESTION 1.6

Central second derivative

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

GATE 1996, Q1.6 1 mark · MCQ
Not in GATE 2027 syllabusReport issue

Numerical Methods

Question 1.6, GATE 1996: Choose a finite-difference approximation for f″(x) using f(x−h), f(x), f(x+h).
Tap to enlarge
Your answer
Answer & solution

Answer: D: [f(x+h)−2f(x)+f(x−h)]/h² (no official key was published)

Taylor expansion gives f(x±h)=f(x)±hf′(x)+h²f″(x)/2±h³f‴(x)/6+O(h⁴). Add the two expansions: the odd derivative terms cancel, leaving 2f(x)+h²f″(x)+O(h⁴). Subtract 2f(x) and divide by h² to obtain f″(x)≈[f(x+h)−2f(x)+f(x−h)]/h², with error O(h²) for a sufficiently smooth function. The denominator must be h², not h, because the first surviving derivative term is quadratic in the spacing.

Original paper, page 1