Linear Approximation Calculator

Type a function, a point near your value, and 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 =xx

The value of x to estimate f at, close to the point above.

Try

Result

You enteredf(x)=ln⁡x,a=1,x=1.2f(x) = \ln x,\quad a = 1,\quad x = 1.2

L(1.2)=0.2\displaystyle L(1.2) = 0.2

Differential dy = f'(a)dx

dy=1⋅0.2=0.2\displaystyle dy = 1\cdot 0.2 = 0.2

Exact value

f(1.2)≈0.182322\displaystyle f(1.2) \approx 0.182322

Error

∣f−L∣≈0.017678\displaystyle \left|f - L\right| \approx 0.017678
Show the work
  1. Derivative of the natural logarithm

    This is a standard derivative: ln⁡x\ln x differentiates to 1x\frac{1}{x}.

    Using ddxln⁡x=1x\frac{d}{dx}\ln x = \frac{1}{x}

    ddx[ln⁡x]=1x\frac{d}{dx}\left[\ln x\right] = \frac{1}{x}
  2. The derivative

    So f′(x)=1xf'(x) = \frac{1}{x}.

  3. Linearisation at a point

    Near x=1x = 1 the graph is close to its tangent line, so use the tangent's height as the estimate.

    L(x)=f(a)+f′(a)(x−a)=0+1(x−1)\begin{aligned} L(x) &= f(a) + f'(a)\left(x - a\right) \\ &= 0 + 1\left(x - 1\right) \end{aligned}
  4. Estimate at the chosen point

    Put x=1.2x = 1.2 into LL.

    L(1.2)=0+1⋅0.2=0.2\begin{aligned} L(1.2) &= 0 + 1\cdot 0.2 \\ &= 0.2 \end{aligned}
  5. Result

    The linear approximation of ln⁡x\ln x near x=1x = 1 gives L(1.2)=0.2L(1.2) = 0.2.

Drag to pan. Scroll or pinch to zoom. Arrow keys pan and + / − zoom when the graph has focus.
  • y = ln(x)
  • y = x - 1

Points on the graph

  • y = ln(x): zero (1, 0)
  • y = x - 1: zero (1, 0)
  • y = ln(x) and y = x - 1: intersection (1, 0)

Worked examples