How it’s calculated
The tangent line touches the curve at x = a and has the same slope as the curve there, which is the derivative f′(a). The normal line passes through the same point but is perpendicular to the tangent, so its slope is the negative reciprocal −1/f′(a). If the tangent is horizontal (f′(a) = 0) the normal is the vertical line x = a.
Near x = a the tangent line is a good approximation to the curve: this is the linear approximation L(x) = f(a) + f′(a)(x − a).
Example: f(x) = x² − 4x + 6 at a = 1. f(1) = 1 − 4 + 6 = 3 and f′(x) = 2x − 4, so f′(1) = −2. Tangent: y − 3 = −2(x − 1), which is y = −2x + 5. The normal has slope 1/2: y − 3 = 0.5(x − 1), so y = 0.5x + 2.5.
Frequently asked questions
What is the difference between a tangent and a normal line?
Both pass through the point (a, f(a)). The tangent has the curve’s slope f′(a); the normal is at right angles to it, with slope −1/f′(a).
What if the derivative is 0?
The tangent is horizontal, y = f(a), and the normal is the vertical line x = a, whose slope is undefined.
Can the tangent line cross the curve?
Yes. A tangent line only has to touch the curve with the same slope at that point; it may cross the curve elsewhere, or even at that point (at an inflection point).
How is the tangent line used for approximation?
Close to x = a, f(x) ≈ f(a) + f′(a)(x − a). This is the linear approximation, and it gets less accurate as you move away from a.
Embed this calculator
Add this free calculator to your own website. Copy the code below into your page’s HTML:
Need this calculator branded, changed or built around your own prices?See custom business solutions →
Sources
- Calculus Volume 1, §3.3 Differentiation Rules (Example 3.22, tangent line to x² − 4x + 6) — OpenStax
- Calculus Volume 1, §3.1 Defining the Derivative (tangent lines) — OpenStax
- Math Tutor: Tangent and normal lines — Czech Technical University in Prague
Formulas are taken from the free public references above. Results are provided “as is” for informational and educational purposes only. See our disclaimer.
Added · Last updated · How we check our calculators
Spotted a mistake or missing option? Report a problem· Suggest a calculator