How do I go from the derivative function to a tangent line?
Find the derivative as a function, write it in derivative notation, and use as the slope of the tangent line.
With in place of , is a new function. Its value at is the number .
For , the derivative is also written or . The number is , read “ at .”
is the slope of the line tangent to the graph of at .
The tangent line goes through the point : .
A derivative can be shown in a graph (a slope), in numbers, in a formula, or in words (a rate with units).
The tangent line uses the point and the slope · At the point is and the slope is , so the tangent line is . Over a run of the line rises .A tangent line needs the point
Common mistake and , so the tangent line is .
Correction Use the point too: .
The height is not the slope
Common mistake The tangent line at goes through , so .
Correction is , the height. is the slope of the line: rise over run.
From f'(a) to f'(x): put x there
At seven seconds, f prime of seven is the limit, as h goes to zero, of f of seven plus h, minus f of seven, all over h. At ten seconds, it's the same limit, with ten in every spot: f of ten plus h, minus f of ten, all over h. At fifteen seconds, we use fifteens this time: f of fifteen plus h, minus f of fifteen, all over h. And on, and on, every instant of the run. A new limit every time?
Look. Only the purple numbers change: seven, ten, fifteen. So in their place, we write x. That gives the instantaneous rate of change at x. Not at seven, ten, or fifteen. Just x. Can x be any number?
Any x where that limit exists. Each x in, one value out. So we can see it as a function. So, once again, f prime of x is the limit, as h goes to zero, of f of x plus h, minus f of x, all over h. This function, f prime of x, gets a name.
It's called the derivative of f. So f prime of a, at one point, is a number. f prime of x is a function. Now check the bottom. x plus h, minus x, is just h. The same two inputs as on top: x plus h, and x.
Let h go to zero, and both inputs on top close in on x. The top takes the form f of x minus f of x. That form tells you where the slope is measured: at x. So it's f prime of x. The top heading to zero is not the answer.
For our runner, f prime of t is the speed at every instant. A speedometer for the whole run.
f'(x) from one limit
Let's do the limit just once, with x. Take f of x equals x squared minus four x plus five, and find f prime of x. Inside the limit, only h moves. x sits still, like a number. f of x plus h is the quantity x plus h, squared, minus four times x plus h, plus five.
x squared, plus two x h, plus h squared, minus four x, minus four h, plus five. Subtract f of x. That's x squared plus two x h plus h squared minus four x minus four h plus five, minus the quantity x squared minus four x plus five. Everything without an h drops out. Two x h, plus h squared, minus four h.
So f prime of x is the limit, as h goes to zero, of two x h plus h squared minus four h, all over h. Every term on top has an h. Factor it out: h times the quantity two x plus h minus four, all over h. h isn't zero, so the h's cancel. That leaves the limit of two x plus h minus four.
Nothing is divided by h now, so plug in zero. Two x plus zero minus four. Two x minus four. Want the slope at three? f prime of three is two times three, minus four.
Two. One number. f prime of x, two x minus four, is the derivative. A whole function. One's a screenshot. The other is the whole video.
The same limit: 1/x and the square root of x
Same one limit, a new function. f of x equals one over x. x can't be zero, since f of zero doesn't exist. f prime of x is the limit, as h goes to zero, of one over x plus h, minus one over x, all over h. Combine the two fractions on top over x times x plus h, then divide by h.
x minus the quantity x plus h, over x times x plus h, times h.
On top, x minus x minus h is negative h. h isn't zero, so it cancels. Negative one, over x times x plus h. Now let h go to zero. Negative one over x times x plus zero.
Negative one over x squared, for x not zero. Next, f of x equals the square root of x. f prime of x is the limit, as h goes to zero, of root x plus h, minus root x, all over h. Roots on top? Multiply top and bottom by the conjugate: root x plus h, plus root x. On top, root x plus h, squared, minus root x, squared: x plus h, minus x.
On the bottom, h times the quantity root x plus h, plus root x. x plus h minus x is just h. h isn't zero, so it cancels. One over root x plus h, plus root x. Let h go to zero.
One over root x plus root x. One over two root x, for x greater than zero. At x equals zero, the bottom would be two root zero, which is zero. What happens there, we'll see in two point four. Keep both results.
You'll meet them again in two point five.
Other names: y', dy/dx, d/dx
It has other names. For y equals f of x, f prime of x is also y prime, dee why dee ex, or dee dee ex of f of x. Four names, one function. The d comes from the average rate of change, delta y over delta x. Let delta x go to zero, and the big delta shrinks to a little d.
It looks like a fraction, so you want to cancel the d's, right?
Nope. Read it as one symbol: dee why dee ex. And dee dee ex is an operator, an instruction: take the derivative of what follows, with respect to x. So dee dee ex of x squared minus four x plus five is two x minus four. The function we just found. And dee dee ex of one over x is negative one over x squared.
Back to y equals x squared minus four x plus five. Dee why dee ex, at x equals three, is two times three, minus four. Two.
f'(a) is the slope of the tangent
Here's the picture. On top, f of x equals x squared minus four x plus five. Below, on the same x-axis, we'll build the graph of its derivative, f prime. f prime of a is the slope of the line tangent to the graph at a. Take a tiny secant line near three, with h going to zero. It settles into the tangent line.
Go right one, and the tangent goes up two. Slope two over one: two. And f prime of three is two. Now x equals one. The tangent goes down two for each one to the right: slope negative two.
At x equals two, the tangent is flat: slope zero. Put all three in a table. For x equals one, two, and three, the slopes of f are negative two, zero, two. Now carry each slope down to the lower graph, as a height, at the same x. Negative two, at one.
Zero, at two. Two, at three. They line up on one straight line. It's two x minus four, the derivative we found. So the slope of f is the height of f prime.
Two different graphs: don't read the line as f.
The tangent line: point first, then slope
The tangent line: y equals f of a, plus f prime of a, times x minus a. A slope alone isn't a line yet. It fits lots of parallel lines. So we need a point, too. So here's the routine: the point first, a and f of a.
Then the slope, f prime of a. Try it at a equals three, on our curve. f of three is three squared, minus four times three, plus five. Two. The point is three, two. So the tangent line is y equals two, plus f prime of three, times x minus three.
f prime of three is two: y equals two, plus two times x minus three.
Careful with the slope spot. It takes the number, f prime of three, two. Not the formula two x minus four. Put that in, and the x's multiply into an x squared. That's not a line. What's given decides your first step.
Given the x-value, find f prime of a. Given the slope, solve f prime of x equals that slope first. Example two is that kind.
Example 1: f'(2) and the tangent line
Example one. f of x is x cubed minus three x. Use the definition of the derivative to find f prime of two... then write an equation of the tangent line at x equals two. Part a. We need one slope, at x equals two, so we take the limit right at two. Our usual routine: the point first, two and f of two. Then the slope. First, f of two.
Eight minus six. Two. Now the slope. f of two plus h is two plus h, cubed, minus three times two plus h. It looks scary, I know. So let's square first. Two plus h, times two plus h: four, plus two h plus two h, plus h squared.
Four, plus four h, plus h squared. Then one more two plus h. Four plus four h plus h squared, times two plus h. Times two: eight, plus eight h, plus two h squared. Times h: four h, plus four h squared, plus h cubed.
Collect them. Eight, plus twelve h, plus six h squared, plus h cubed. And minus three times two plus h is minus six, minus three h. So f of two plus h is eight plus twelve h plus six h squared plus h cubed, minus six, minus three h. Collect the terms. Two, plus nine h, plus six h squared, plus h cubed.
That's everything we need. Set up the limit yourself first, then watch me do it. Part a, the limit. The plan: set it up, and since every term on top will have an h, we'll factor it out. So f prime of two is the limit, as h goes to zero, of f of two plus h, minus f of two, all over h.
Plug in what we found. Two plus nine h plus six h squared plus h cubed, minus two, all over h. The twos go away. That leaves nine h plus six h squared plus h cubed, all over h. Every term has an h.
Factor it out: h times the quantity nine plus six h plus h squared, all over h. h isn't zero, so h over h is one. They cancel. That leaves the limit of nine plus six h plus h squared. It's a polynomial, so plug in h equals zero. Nine plus six times zero, plus zero squared. Nine.
That's the slope, nine. You have the point too, so write the line before I do. For part b, here's the graph of f. The point is two, f of two, which is two. So two, two.
The slope is f prime of two. Nine. The tangent line. y equals f of two, plus f prime of two, times x minus two. Plug in two and nine. y equals two, plus nine times x minus two.
And there's the tangent, right through the point. No need to simplify. This point-slope form is already a complete equation of the line, and multiplying it out only adds chances for sign slips. Point first, every time. There's a tangent line at a given x in your workbook.
Try it, then check its video.
Common mistake: the line misses the point
Careful here, with that same tangent line. Here's what a student writes. The slope is nine, so y equals nine times the quantity x minus two. Test it. Plug in x equals two, and y is zero. But the point is two, two.
The point goes first, so write it that way. Start at the point, two, two. Then walk with the slope, nine. y equals two, plus nine times the quantity x minus two. Quick test: x equals two gives two.
Right on the curve.
Example 2: a parallel tangent
Example two. f of x is two x squared minus x plus three. The definition gives its derivative: f prime of x is four x minus one. That part is done for you. Find the point where the tangent line is parallel to the line y equals seven x... and write that tangent line. The plan. The slope we want is seven.
So set f prime of x equal to seven, find the point, and then write the line.
Parallel to y equals seven x means the same slope. Seven. We want f prime of x to be seven. So four x minus one equals seven. Add one to both sides. Four x equals seven plus one, eight.
So x equals two. The height comes from f. f of two is two times two squared, minus two, plus three. Eight minus two plus three. Nine. The point is two, nine.
Seven is the slope, not the height. Part b. Start at the point two, nine. Walk with the slope, seven. y equals nine, plus seven times x minus two. And there's the tangent, right through two, nine.
Slope given, so the point comes second. There's one like this in your workbook. Work it line by line.
Example 3: read the tangent line
Here's the last one, example three, AP style. No formula for f this time. The line y equals three x minus one is tangent to the graph of f at x equals two. Find f of two, f prime of two... and this limit. The plan. At x equals two, the tangent line touches the curve.
So right there, the line and the curve share the height, and they share the slope.
Part a asks for the height. Plug two into the line: three times two, minus one. Five. The line touches the curve there, so f of two is five. Part b. f prime of two is the slope of the tangent line at two. The line is y equals three x minus one, so its slope is three.
Careful. Not five. Five is the height of the point. Three is the slope. Part c. This limit is the definition of f prime of two. So it's the same number.
Three. No formula needed. A tangent line hands you two things: a height, and a slope. There's one to read like this in your workbook.
Worked examples
Example 1
Let . (a) Use the definition of the derivative to find . (b) Write an equation of the line tangent to the graph of at .
Hint
A line needs a point and a slope.
Answer and solution
Type: tangent line at a point. Method: slope f'(2) from the definition, point (2, f(2)).
(a) f'(2) = 9. (b) The point: f(2) = 8 - 6 = 2, so (2, 2).
Example 2
Let . By the definition, . (a) Find the point where the tangent is parallel to . (b) Write an equation of that tangent line.
Hint
Parallel lines have the same slope.
Answer and solution
f'(x) = 4x - 1 is given. A tangent line parallel to y = 7x has slope 7.
(a) 4x - 1 = 7 gives x = 2, and f(2) = 8 - 2 + 3 = 9. The point is (2, 9), not (2, 7).
Example 3
The line is tangent to the graph of at . (a) Find . (b) Find . (c) Find .
xy242468y=f(x)y=3x-1GraphHint
Plan: at same height, same slope
Answer and solution
= the slope of the tangent line . Not : is the height, is the slope.
For , the rate of change of with respect to at is , and the graph of passes through . (a) Write the first fact in two different derivative notations. (b) Write an equation of the line tangent to the graph of at .
Hint
Point first: . The slope is the number .
Answer and solution
and
(a) "Rate of change of y with respect to x at x = 4" is the derivative at 4: f'(4) = -2, or dy/dx at x = 4 equals -2.
(b) The point (4, f(4)) = (4, 7) and the slope f'(4) = -2.
Common mistake Using the expression for the slope instead of the number -2.