Parabola at x = 1
f(x)=x² and f′(x)=2x, so the point is (1,1) and the tangent slope is 2.
Tangent: y=2x−1. Normal: y=−0.5x+1.5.
Enter f(x) and an x-coordinate to find the point on the curve, the exact first derivative, and the tangent and perpendicular normal line equations. Results and graphing stay in your browser.
Use ^ for powers. Supported functions include sin, cos, tan, exp, ln, log, sqrt, and abs. Trigonometric inputs use radians.
The calculator uses the point (a, f(a)). Enter a finite decimal number.
Keyboard shortcut: Ctrl/⌘ + Enter.
Calculation steps will appear here.
Calculate the lines to draw the curve and both lines near the selected point.
x^2, sin(x), or ln(x).If f is differentiable at x = a, the tangent slope is mt = f′(a). The tangent line through (a, f(a)) is:
For a finite nonzero tangent slope, a perpendicular line has negative-reciprocal slope mn = −1/f′(a), so the normal line is:
If f′(a) = 0, the tangent is horizontal and the normal is vertical. An infinite derivative value can indicate a vertical tangent, but endpoints and singular points should be checked with one-sided limits.
f(x)=x² and f′(x)=2x, so the point is (1,1) and the tangent slope is 2.
Tangent: y=2x−1. Normal: y=−0.5x+1.5.
f(x)=sin(x) and f′(x)=cos(x). At (0,0), the tangent slope is 1.
Tangent: y=x. Normal: y=−x.
For f(x)=x²+3 at x = 0, the derivative is zero and the point is (0,3).
Tangent: y=3. Normal: x=0.
A tangent line is the local linear approximation to a differentiable curve at a point. Its slope equals the derivative f′(a).
The normal line passes through the same point and is perpendicular to the tangent. For tangent slope m ≠ 0, its slope is −1/m.
The tangent is horizontal: y = f(a). The perpendicular normal cannot be written with a finite slope, so its equation is the vertical line x = a.
If f(a) is finite and the evaluated derivative expression is positive or negative infinity, the calculator reports x = a as a vertical-tangent candidate and y = f(a) as the horizontal normal. A one-sided limit check may still be necessary.
The function may be outside its real domain, discontinuous, or nondifferentiable at the point. For example, abs(x) has a corner at zero and therefore no unique tangent slope or normal line there.
Yes. This matches standard calculus formulas such as d[sin(x)]/dx = cos(x).
No. The symbolic differentiation, numerical evaluation, equation construction, and graphing all run on your device.