Q. If $f(x)$ is a twice differentiable function and given that $f(1) = 2, f(2) = 5$ and $f(3) = 10$ then
(A) $f''(x) = 2$ for all $x\in (1,3)$
(B) $f''(x) = f'(x) = 2$ for some $x\in (2,3)$
(C) $f''(x) = 3$ for all $x\in (2,3)$
(D) $f''(x) = 2$ for some $x\in (1,3)$
I assumed $$f(x) = ax^2 + bx + c$$ and compared and found $a,b,c$. That way, I get $f''(x) = 2$ for all $x$. But, seems like that's not how it is done. I am aware that it could be a thrce differentiable function or a trigonometric one. But, I thought that a general case should satisfy it and hence I could atleast deduce the answer. Why is it wrong? What should I do?
Hint:
If $ f$ is a continuous function on the closed interval $ [a,b]$, and differentiable on the open interval $(a,b)$, then there exists a point $c $ in $ (a,b)$ such that
$$ f'(c)=\frac {f(b)-f(a)}{b-a}$$