CALCULUS WORKSPACE

Linear Approximation Calculator

Find a function’s tangent-line approximation, estimate nearby values, and compare the estimate with the actual function value.

CALCULUS

Find a local approximation

x^2 + 3*x + 2

Trigonometric functions use radians. The center must be in the function’s differentiable real domain.

Ctrl + Enter to calculate
Try an example
Your linearization and error analysis will appear here.Choose an example or enter a function, center, and evaluation point.
CALCULUS FEATURES

What this calculator helps you find

Automatic derivative

Finds the symbolic first derivative and evaluates its slope at the chosen center.

Tangent-line model

Builds and simplifies the tangent line used as the local approximation.

Actual-value comparison

Compares the estimate with f(x) whenever the real function is defined there.

Error and differential

Reports absolute error, relative error when defined, dy, and the actual change Δy.

Interactive graph

Shows the curve, tangent, center, estimate, and actual target value together.

Worked steps

Explains the calculation in order with rendered mathematical notation.

Math input

Enter expressions with the on-screen math keyboard or type standard function notation.

Precision control

Choose the number of decimal places shown in numerical results.

LINEARIZATION BASICS

What is linear approximation?

Linear approximation replaces a differentiable function near a reference point with its tangent line. The resulting linearization matches the function’s value and first derivative at the center, so it is most useful for inputs close to that point.

L(x)=f(a)+f′(a)(x−a)L(x)=f(a)+f'(a)(x-a)

The tangent line at (a, f(a)) has slope f′(a). Evaluating this line at x gives the linear approximation to f(x).

How to use the formula

  1. Enter a real-valued function f(x), the center a, and the input x to estimate.
  2. Choose the number of decimal places for displayed numerical values.
  3. Calculate L(x) = f(a) + f′(a)(x − a). The derivative engine verifies differentiability at a.
  4. Compare the approximation with f(x), when the actual value exists, and review the absolute and relative errors.
  5. Use the differential values dy and Δy to compare the tangent model’s predicted change with the function’s actual change.

Differential and actual change

For dx = x − a, the differential dy = f′(a)dx predicts the local output change. The actual change is Δy = f(a + dx) − f(a); their difference reflects the function’s curvature over that interval.

dy=f′(a) dx,Δy=f(a+dx)−f(a)dy=f'(a)\,dx,\qquad \Delta y=f(a+dx)-f(a)

When is a linear approximation useful?

A linearization is a local model, not a replacement for the original function over every input. The calculator reports the actual value and error only when the original function is defined at the requested evaluation point. A zero actual value has no relative error percentage because it would require division by zero.

  • Using f(a) as the slope instead of f′(a).
  • Entering degrees for trigonometric inputs; this calculator uses radians.
  • Treating a tangent estimate as exact rather than approximate.
  • Using a center outside a logarithm or square-root function’s real domain.
  • Interpreting relative error when the actual value is zero.

Linear approximation FAQ

What is the formula for linear approximation?

The linearization of f at a is L(x) = f(a) + f′(a)(x − a). It is the tangent line evaluated at x.

How do I use a linear approximation calculator?

Enter the function, reference point a, and the nearby x-value. The calculator differentiates the function, evaluates the tangent-line model, and compares it with f(x) when defined.

What is the difference between linearization and linear approximation?

Linearization is the tangent-line function L(x) centered at a. A linear approximation is the value L(x) used to estimate f(x) at a particular input.

What is a differential?

For a small input change dx, the differential dy = f′(a)dx estimates the corresponding output change. The actual change is Δy = f(a + dx) − f(a).

Why is the estimate most accurate near a?

The tangent matches the function’s value and slope at a, but it does not include curvature. As x moves away from a, curvature can increase the difference.

When is relative error undefined?

Relative error divides the absolute error by |f(x)|. If the actual value f(x) is zero, that denominator is zero, so the percentage is undefined.

Does the calculator use radians?

Yes. Trigonometric expressions use radian measure.

KEEP EXPLORING

Explore more calculus calculators

Choose a related tool for symbolic differentiation, curve analysis, or polynomial approximation.

Derivative CalculatorDifferentiate functions with symbolic rules and worked steps.AvailablePartial Derivative CalculatorDifferentiate a multivariable function with respect to one variable.AvailableSecond Derivative CalculatorFind the second derivative and examine how a function bends.AvailableImplicit Differentiation CalculatorFind dy/dx when x and y are related by an equation.AvailableLogarithmic DifferentiationDifferentiate products, quotients, and variable powers using logarithms.In Derivative CalculatorChain Rule CalculatorDifferentiate composite functions and track the inner derivative.In Derivative CalculatorProduct Rule CalculatorDifferentiate products of functions using the product rule.In Derivative CalculatorQuotient Rule CalculatorDifferentiate ratios while preserving denominator conditions.In Derivative CalculatorTangent Line CalculatorWrite a tangent equation from a function and a point.AvailableNormal Line CalculatorFind the line perpendicular to a tangent at a selected point.Available
Instantaneous Rate of ChangeInterpret the derivative as an instantaneous rate.Coming soon
Average Rate of ChangeCompare function values over an interval.Coming soon
Critical Points CalculatorLocate stationary and undefined-derivative candidates.AvailableConcavity CalculatorUse the second derivative to analyze concave intervals.AvailableInflection Point CalculatorFind where a function changes concavity.Available
Taylor Series CalculatorBuild polynomial approximations around a center.Coming soon
Maclaurin Series CalculatorExplore Taylor expansions centered at zero.Coming soon
Newton’s Method CalculatorUse tangent-line iterations to estimate equation roots.Available

Related calculus tools