The equation of the tangent – exercises with solutions
Find the equation of the tangent to a graph at a point, from the slope there and the point itself.
How to solve it
The tangent at x = a is a straight line through the point (a, f(a)) with slope f′(a): y = f′(a)(x − a) + f(a). So you need two numbers, the slope f′(a) and the value f(a), and then you tidy the line up to the usual form.
Worked example
Find the equation of the tangent to the graph of f at (2, f(2))
the tangent at x equals 2
Step 1: Write the formula for the tangent at x = 2: y = f′(2)(x − 2) + f(2).
y equals f prime of 2 the quantity x minus 2, plus f of 2Step 2: Find the derivative: f′(x) = 2x + 1.
y equals f prime of 2 the quantity x minus 2, plus f of 2Step 3: The slope at x = 2: f′(2) = 2 · 2 + 1 = 5.
y equals 5 the quantity x minus 2, plus f of 2Step 4: Multiply out 5(x − 2) = 5x − 10.
y equals 5 x minus 10 plus f of 2Step 5: The value at x = 2: f(2) = 2 squared + 2 − 5 = 1.
y equals 5 x minus 10 plus 1Step 6: Gather the numbers: −10 + 1 = −9.
y equals 5 x minus 9
Typical mistakes
- The slope is f′(1), in front of (x − 1); f(1) is the height the tangent passes through.
- The tangent at x = a goes through (a, f(a)), so it has x − a: at x = 1 it is y = f′(1)(x − 1) + f(1).