Linear Approximation Calculator
A linear approximation calculator computes the tangent line approximation of a function f(x) at a center point a. Using symbolic derivatives (with numerical differentiation fallbacks), it formats the point-slope and slope-intercept equations of the tangent line L(x), evaluates the approximation at target x, and computes the error |f(x) - L(x)|.
Calculate the tangent line approximation L(x) = f(a) + f'(a)(x - a) for any mathematical function f(x). Compares the linear estimate against the true function value and calculates the absolute error.
Quick Answer
Calculate the linear tangent approximation L(x) = f(a) + f'(a)(x - a) of a function f(x) near a center point a.
Function Parameters
Use standard math expressions like sqrt(x), x^2, sin(x), exp(x)
Where f(x) is easy to calculate · e.g. 4
The point you want to estimate · e.g. 4.1
L(4.1) Approximation
2.025
Error: 0.000154
Linear approximation uses the tangent line at a known point to estimate values of a function nearby.
Step-by-Step Tangent Calculations
Examples
Estimate √4.1 using f(x) = √x at a = 4
f(4) = 2 · f'(4) = 1/(2√4) = 0.25 · L(x) = 2 + 0.25(x - 4) · L(4.1) = 2 + 0.25(0.1) = 2.025
Estimate ln(1.05) using f(x) = ln(x) at a = 1
f(1) = 0 · f'(1) = 1/1 = 1 · L(x) = 0 + 1(x - 1) = x - 1 · L(1.05) = 1.05 - 1 = 0.05
How it works
Linear approximation replaces a curve with its tangent line at a known point:
Linear Approximation Formula L(x)
L(x) = f(a) + f'(a)(x − a)
Where f(a) is the function value at center a, and f'(a) is the derivative (slope) at a.
Tangent Lines and Error Bounds
Because a tangent line matches both the height f(a) and the rate of change f′(a) of the function at the point of contact, it is the best possible linear estimate. The difference between the true function value f(x) and the linear estimate L(x) is the approximation error. In calculus, this error can be bounded using Taylor's inequality, which shows that the error depends on the maximum value of the second derivative f″(x) in the interval between a and x.
Related calculus calculators
Explore our calculators for derivative analyses, Taylor series, and integral bounds:
Related Calculators
More tools from Education



