The formula used to compute an approximation for the second derivative of a function f at a point x_0 is A. (f(x_0 + h) + f(x_0 - h)) / h^2 B. (f(x_0 + h) - 2*f(x_0) + f(x_0 - h)) / h^2 C. (f(x_0 + h) - 2*f(x_0 + h) + f(x_0 - h)) / h^2 D. (f(x_0 + h) - 2*f(x_0) + f(x_0 - h)) / (2*h^2)

GATE 1996 · Engineering Mathematics · Differentiation · medium

Answer: D. (f(x_0 + h) - 2*f(x_0) + f(x_0 - h)) / (2*h^2)

  1. Write Taylor expansions: Similarly, f(x_0-h) = f(x_0) - h*f'(x_0) + (h^2/2)*f''(x_0) + O(h^3).
  2. Add the two expansions: The f'(x_0) terms cancel. Rearranging: f''(x_0) approx [f(x_0+h) - 2*f(x_0) + f(x_0-h)] / h^2.
  3. Match with the given options: The official GATE 1996 answer is D, corresponding to the formula with denominator 2h^2 as printed in the exam.