Quadratic Approximation
Build a second-order local approximation
Near x = a, the quadratic approximation is Q(x) = f(a) + f'(a)(x-a) + one half of f''(a) times (x-a) squared. The constant matches the function value, the linear term matches local slope, and the squared term captures local curvature.
The approximation is local. It is generally most reliable when x is close to a because omitted higher-order terms grow with distance from the center. Keep the factor one-half with the second derivative; the coefficient of (x-a)^2 is not the second derivative itself.
Choose a center at which values and derivatives are simple when possible, then substitute the requested nearby input only after assembling the polynomial.
At a = 1, a function has f(1)=4, f'(1)=-2, and f''(1)=6. Which is its quadratic approximation about x=1?
For a function centered at a = 0, the quadratic approximation is Q(x)=2+3x-x2. What estimate does it give for f(0.2)?