Quadratic Approximation Calculator

Type a function and a point near your value, and optionally the value to estimate.

Use x. Type powers with ^, and functions with brackets: sin(x), e^(2x), ln(x), sqrt(x).

Near x =aa

A point where f is easy to work out, such as 4 for sqrt(x).

Estimate at x = (optional)xx

Optional: a value of x to estimate f at, close to the point above.

Try

Result

You enteredf(x)=ex,a=0f(x) = e^{x},\quad a = 0

Q(x)=1+x+12x2\displaystyle Q(x) = 1 + x + \frac{1}{2}x^{2}
Show the work
  1. Derivative of the exponential function

    This is a standard derivative: exe^{x} differentiates to exe^{x}.

    Using ddxex=ex\frac{d}{dx}e^{x} = e^{x}

    ddx[ex]=ex\frac{d}{dx}\left[e^{x}\right] = e^{x}
  2. First and second derivatives

    The approximation needs the first two derivatives.

    f′(x)=exf′′(x)=ex\begin{gathered} f'(x) = e^{x} \\ f''(x) = e^{x} \end{gathered}
  3. Values at the point

    Put x=0x = 0 into ff, f′f' and f′′f''.

    f(0)=1f′(0)=1f′′(0)=1\begin{gathered} f(0) = 1 \\ f'(0) = 1 \\ f''(0) = 1 \end{gathered}
  4. Quadratic approximation

    The tangent line matches the value and the slope; adding the square term also matches the bending (the second derivative), so it stays close for longer.

    Q(x)=f(a)+f′(a)(x−a)+f′′(a)2(x−a)2=1+x+12x2\begin{aligned} Q(x) &= f(a) + f'(a)(x - a) + \frac{f''(a)}{2}(x - a)^2 \\ &= 1 + x + \frac{1}{2}x^{2} \end{aligned}
  5. Result

    The quadratic approximation.

Drag to pan. Scroll or pinch to zoom. Arrow keys pan and + / − zoom when the graph has focus.
  • y = e^x

Worked examples