The function f(x) = x satisfies the following equation: f''(x) + f'(x) + cos(x) = 0 The value of f''(0) is ________.

GATE 2014 · Engineering Mathematics · Differentiation · easy

Answer: -2

  1. Compute f'(x) from f(x) = x: Differentiating f(x) = x gives f'(x) = 1 for all x, so f'(0) = 1.
  2. Evaluate the ODE at x = 0: Substituting f'(0) = 1 and cos(0) = 1: f''(0) + 1 + 1 = 0.
  3. Solve for f''(0): f''(0) = -2.