Visual Tools
Calculators
Tables
Mathematical Keyboard
Converters
Other Tools

How to Find Tangent and Normal Lines

The derivative at a point is the slope of the tangent there. With the point and the slope, point-slope form gives the tangent line. The normal line goes through the same point at a right angle, so its slope is the negative reciprocal.

Recognize the task

"Find the equation of the tangent (or normal) to y=f(x)y = f(x) at x=ax = a", "at the point (a,b)(a, b)", "parallel to the line ...", "where is the tangent horizontal". Test: the answer is a line, and you need the slope of the curve at one point.
Tangent lines are introduced in Tangent Lines of the graph analysis lesson; the formula is the tangent line equation.

Steps

StepOn f(x)=xf(x) = \sqrt{x} at x=4x = 4
1Find the point. If only x=ax = a is given, compute f(a)f(a). The tangent and the normal both pass through (a,f(a))(a, f(a)).f(4)=2f(4) = 2, point (4,2)(4, 2)
2Differentiate f and evaluate at a. Here the power rule on x1/2x^{1/2}. The slope must come out as a number, not an expression in xx.Power rule ↗f′(x)=12x,f′(4)=14f'(x) = \frac{1}{2\sqrt{x}},\quad f'(4) = \frac{1}{4}
3Write the tangent in point-slope form and simplify. y−f(a)=f′(a)(x−a)y - f(a) = f'(a)(x - a), the tangent line equation.y−2=14(x−4)  ⇒  y=14x+1y - 2 = \tfrac{1}{4}(x - 4) \;\Rightarrow\; y = \tfrac{1}{4}x + 1
4For the normal, use the negative reciprocal slope. m⊥=−1f′(a)m_\perp = -\frac{1}{f'(a)} through the same point. If f′(a)=0f'(a) = 0 the normal is the vertical line x=ax = a.m⊥=−4m_\perp = -4: y−2=−4(x−4)  ⇒  y=−4x+18y - 2 = -4(x - 4) \;\Rightarrow\; y = -4x + 18

Worked examples

Example 1 · tangent and normal to a root

basic
f(x)=xf(x) = \sqrt{x} at x=4x = 4
point (4,2)(4, 2)
f′(4)=124=14f'(4) = \frac{1}{2\sqrt{4}} = \frac{1}{4}
slope of the tangent
y=14x+1y = \tfrac{1}{4}x + 1
tangent
y=−4x+18y = -4x + 18
normal: slope −4-4 through (4,2)(4, 2)

Example 2 · tangents parallel to a given line

solve for the point
y=x3−3xy = x^3 - 3x, tangent parallel to y=9x+1y = 9x + 1
need f′(x)=9f'(x) = 9
3x2−3=9  ⇒  x=±23x^2 - 3 = 9 \;\Rightarrow\; x = \pm 2
solve for xx
(2,2)(2, 2) and (−2,−2)(-2, -2)
the two points of tangency
y=9x−16y = 9x - 16 and y=9x+16y = 9x + 16
point-slope form at each

Example 3 · tangent to an implicit curve

with implicit differentiation
x2+y2=25x^2 + y^2 = 25 at (3,4)(3, 4)
slope from implicit differentiation
y′=−xy=−34y' = -\frac{x}{y} = -\frac{3}{4}
see the implicit differentiation method
y−4=−34(x−3)  ⇒  y=−34x+254y - 4 = -\tfrac{3}{4}(x - 3) \;\Rightarrow\; y = -\tfrac{3}{4}x + \tfrac{25}{4}
tangent
y=43xy = \tfrac{4}{3}x
normal: slope 43\frac{4}{3}; it passes through the centre

See it happen

Local view · f(x) = ⅓x³ − x

f′(x) = x² − 1 · max at x = −1 · min at x = 1
Drag c on the x-axis, or pick a scenario.
c =-0.50
f(c) =0.46
f′(c) =-0.75
slope of tangent =-0.75
f(x)tangentdrop
Move the point along the curve. The tangent follows the derivative: its slope is f′f' at that point, and nowhere else. The normal is the line through the same point at a right angle, slope −1/f′(a)-1/f'(a); where the tangent is horizontal the normal is vertical.

Common mistakes

Using f(a) as the slope

✗ tangent to x\sqrt{x} at 44 has slope 22
✓ the slope is f′(4)=14f'(4) = \frac{1}{4}; 22 is the yy-coordinate

Leaving x in the slope

✗ y−2=12x(x−4)y - 2 = \frac{1}{2\sqrt{x}}(x - 4)
✓ evaluate f′f' at aa first; the slope of a line is a number

Normal slope as the negative of the tangent slope

✗ m⊥=−14m_\perp = -\tfrac{1}{4}
✓ m⊥=−1m=−4m_\perp = -\frac{1}{m} = -4

Giving up at a vertical tangent

✗ y=x3y = \sqrt[3]{x} has no tangent at 00 because f′f' is undefined
✓ the tangent is the vertical line x=0x = 0 and the normal is y=0y = 0