Tangent and normal line calculator
Learn more with Tiger
A tangent line touches a curve at exactly one point and has the same slope as the curve at that point. The normal line is perpendicular to the tangent line at the same point. Together they describe how a curve behaves locally.
Formulas
Given y = f(x) and a point x = a:
- Tangent line: y − f(a) = f′(a) · (x − a)
- Normal line: if f′(a) ≠ 0, y − f(a) = −1/f′(a) · (x − a); if f′(a) = 0, the normal line is the vertical line x = a
Step-by-Step Method
- Compute the derivative f′(x).
- Evaluate f′(a) to get the tangent slope.
- Evaluate f(a) to get the y-coordinate of the point.
- Write the tangent equation using point-slope form.
- Use the negative reciprocal slope for the normal line when f′(a) ≠ 0; if f′(a) = 0, write the vertical line x = a.
Example
Find the tangent and normal lines to y = x³ at x = 1.
f′(x) = 3x², so f′(1) = 3. The point is (1, 1).
- Tangent: y − 1 = 3(x − 1) → y = 3x − 2
- Normal: y − 1 = −⅓(x − 1) → y = −⅓x + 4/3
Why It Matters
- Tangent lines are the foundation of linear approximation and differentials
- Normal lines are used in optics (reflection angle), collision detection, and surface rendering
- Essential in physics for understanding velocity and force directions along curved paths
Try It
Enter a function and a point like y=x^3, x=1 to get the tangent and normal line equations step by step. On the graph, check that the tangent follows the curve's local direction and that the normal meets it at a right angle.