1. Find the point
Evaluate the function at x₀. That gives the point (x₀, f(x₀)) that the tangent line must pass through.
Enter a function and the x-value of the point. The tool estimates the derivative, writes the tangent equation, and lets you move a second point closer to see a secant become the tangent.
Evaluate the function at x₀. That gives the point (x₀, f(x₀)) that the tangent line must pass through.
The derivative f′(x₀) is the limiting value of nearby secant slopes. This tool estimates it numerically from values on both sides.
Use point-slope form y−f(x₀)=f′(x₀)(x−x₀), then rearrange if you want y=mx+b.
The calculator above does the arithmetic for any supported function. This example shows exactly what the result means.
The point on the curve is (1, 1). Since f′(x)=2x, the slope of the tangent line at x=1 is 2.
Start with y−1=2(x−1). Expanding gives the tangent-line equation y=2x−1.
The tangent touches the curve at (1,1). Move the secant point toward x=1 above and its slope approaches 2, connecting the calculation to the derivative limit.
Evaluate the derivative at the point: the tangent slope is f′(x₀). When a symbolic derivative is not available, this calculator estimates the same local slope numerically from nearby function values.
If the point is (x₀, f(x₀)) and the tangent slope is m=f′(x₀), use point-slope form: y−f(x₀)=m(x−x₀). You can then rearrange it into y=mx+b.
A secant uses two distinct points on the curve. As the second point approaches the first, the secant slope approaches the tangent slope when that derivative exists.
If you want to see why the limit produces the tangent slope, continue with Secant → tangent and Derivative as slope at a point.