Linear Approximation Calculator
Enter a function, the point where you want the approximation and, if you like, a nearby value of x. The calculator finds the value and the derivative at the point, writes the linear approximation L of x, and compares L at your nearby value with the true value so you can see the error. The derivative step is shown in full.
How to use the linear approximation calculator
Result
The working
Enter your numbers above to see the answer and every step.
- In force from Checked on Source: Calculus Vol 1 section 3.5 derivatives of sin, cos, tan, Calculus Vol 1 section 3.7 derivative of arctan, Calculus Vol 1 section 3.9 derivatives of e^x and ln x, Calculus Vol 1 section 4.2 linear approximation, Calculus Vol 1 section 4.4 Mean Value Theorem, Calculus Vol 1 section 6.1 areas between curves (absolute value, split at crossings)
Worked example
Take the square root of x near 4. The value there is 2 and the derivative is 1/4, so the approximation is L of x equal to x/4 + 1. At 41/10 the line gives 2.025, against a true value of about 2.024846.
The tangent line formula
The steps of the worked example appear here.
Method and limits
The linear approximation at a is L of x equal to f of a plus f prime of a times x minus a. The derivative comes from the standard rules, for instance cos x for the sine, and the page shows which rule was used. If the function is not defined at the point, or the derivative does not exist there, the page says so instead of returning a number. The error is the true value minus the approximation at your nearby x.
What it does not cover
- Needs a symbolic derivative, so it is limited to the function types the page can differentiate.
Rules and calculation checked on 11 Oct 2026.
Questions people ask
How to find a linear approximation?
Find the function's value and its derivative at the point, then write the tangent line through them. In the example above the value is 2 and the derivative is 1/4, giving x/4 + 1. The page repeats those steps for your own function.
How to find a linear approximation on a calculator?
Enter the function and the point here and the tangent line appears with its derivative step. A handheld model needs its derivative function and a manual substitution into the formula, so follow the manual for that route.
Related calculators
Enter a function and an interval to check continuity and differentiability, find the secant slope and list every value c the theorem guarantees.
Area between curvesFind the area between two curves, with crossings located, the top curve found on each stretch, an exact and decimal area, and the shaded region drawn.
Differential equation calculatorSolve separable, first-order linear and constant-coefficient second-order equations, with method steps, initial conditions and a check by substitution.
Results follow the published rules shown above and are for guidance. For formal use, check them against your university's, board's or school's own document.