shaun ault

is the derivative of a function the tangent line?

in calculus, we learn that the tangent line for a function can be found by computing the derivative. so there’s a close relationship between derivatives and tangent lines. however, they are not the same thing. for starters, the derivative f ‘(x) is a function, while the tangent line is, well, a line.

instead, the correct statement is this: “the derivative measures the slope of the tangent lines.”

think about this: a clock is not the same thing as time. but if you want to know the time of day, you can go look at a clock to find out. a clock measures the time at any particular point throughout the day.

a clock

let’s take a closer look at tangent lines.

what is a tangent line?

a tangent line for a function f(x) at a given point x = a is a line (linear function) that meets the graph of the function at x = a and has the same slope as the curve does at that point.

sometimes we might say that a tangent line “just touches” the curve, or “intersects the curve only once,”f but those ideas can sometimes lead us astray.

the graph below shows the tangent lines (in red, purple, and magenta) at three different points on a curve y = f(x) (in black).

graph with tangent line examples

slope and derivatives

so how do we know what the slope of the tangent line should be? after learning about derivatives, you get to use the simple formula,

m = f ‘(a).

in this formula, the function f and x-value a are given. your job is to find m, which represents the slope of the tangent line. once you have the slope, writing the equation of the tangent line is fairly straightforward.

finding the tangent line

suppose you are asked to find the tangent line for a function f(x) at a given point x = a. here is a step-by-step approach:

  1. find the derivative, f ‘(x).
  2. plug in x = a to get the slope. that is, compute m = f ‘(a).
  3. if not already given in the problem, find the y-coordinate of the point. as always, you plug the x-value into the function in order to get the y-value. let b = f(a).
  4. use the point-slope form and solve for y to find the equation of the tangent line. in other words, plug in your values of m, a, and b into the equation,

    y = m(xa) + b.

the derivative measures slope

let’s take another look at that first step, “find the derivative.” remember, the derivative is a function (of the input variable x). by plugging in different input values, x = a, the output values of f ‘(x) give you the slopes of the tangent lines at each point x = a.

this is what we mean when we say that “the derivative measures the slope of the tangent lines.”

if i want to know the slope of f at x = 1, then i compute f ‘(1). and if i want to know the slope at x = -352/13, then i compute f ‘(-352/13). simple as that!

example: a polynomial

now let’s look at an example function, f(x) = x3 + 3x2 + 1. we’ll find the tangent lines at a few different points.

cubic graph example

first of all, find the derivative: f ‘(x) = 3x2 + 6x. (for practice finding derivatives, check out this magoosh article about derivatives).

the function value and derivative value at a few points are shown in the table below:

x -3 -2 -1 0 1
f(x) = x3 + 3x2 + 1 1 5 3 1 5
f ‘(x) = 3x2 + 6x 9 0 -3 0 9

for the points listed, we can easily find the equation of the tangent line. note, on the ap calculus exam, the multiple choice answers may be simplified. so i’ve shown you both the point-slope form and the simplified, or slope-intercept, form of the tangent line.

x tangent line, point-slope form tangent line, simplified
-3 y = 9(x + 3) + 1 y = 9x + 28
-2 y = 0(x + 2) + 5 y = 5
-1 y = -3(x + 1) + 3 y = -3x
0 y = 0(x – 0) + 1 y = 1
1 y = 9(x – 1) + 5 y = 9x – 4

now let’s see the graph of y = f(x) together with the tangent lines that we just found.

cubic graph example with tangent lines

summary

so now you know. the derivative is not the same thing as a tangent line. instead, the derivative is a tool for measuring the slope of the tangent line at any particular point, just like a clock measures times throughout the day. with this in mind, you’ll have no trouble tackling tangent line problems on the ap calculus exam!

for more about slope, tangent lines, and derivatives, check out these related magoosh articles: is the derivative of a function the slope? and how to find the slope of a line tangent to a curve.

author

  • shaun ault

    shaun earned his ph. d. in mathematics from the ohio state university in 2008 (go bucks!!). he received his ba in mathematics with a minor in computer science from oberlin college in 2002. in addition, shaun earned a b. mus. from the oberlin conservatory in the same year, with a major in music composition. shaun still loves music — almost as much as math! — and he (thinks he) can play piano, guitar, and bass. shaun has taught and tutored students in mathematics for about a decade, and hopes his experience can help you to succeed!

more from magoosh