← Return to lessonClass materials · 2.2
The Derivative Function and the Tangent Line
Lecture transcript
0:00Last time, it was one point, one number. We found f prime of a, at one point a. Today, we let a move. Picture a runner: a hundred meters in twenty seconds. Let f of t be the distance run by time t. The runner's speed at seven seconds is f prime of seven: one limit. At ten seconds? Another limit. At fifteen? Another one. So here's today's question. Do we need a new limit for every instant?
0:32Or one limit that gives the slope at every point, and then the tangent line? Let's go get that five. 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.
1:09And on, and on, every instant of the run. A new limit every time? Too much work, right? 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.
1:42So 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.
2:15The 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.
2:47Let'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. Multiply it out. x squared, plus two x h, plus h squared, minus four x, minus four h, plus five.
3:20Subtract 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.
3:52Every 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.
4:23Two. 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. 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.
4:55Combine 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.
5:26Negative 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.
5:57On 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.
6:29Keep both results. You'll meet them again in two point five. 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?
7:03Nope. 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.
7:34Dee why dee ex, at x equals three, is two times three, minus four. Two. 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.
8:05Read it at x equals three, the point three, two. 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.
8:40Now 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: y equals f of a, plus f prime of a, times x minus a.
9:13A 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.
9:48f 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.
10:19Example two is that kind. 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.
10:50First, f of two. Two cubed, minus three times 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.
11:23Then 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.
11:53So 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.
12:25So 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.
13:01h 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.
13:33So 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.
14:06Point first, every time. There's a tangent line at a given x in your workbook. Try it, then check its video. 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. That line misses the point. The point goes first, so write it that way.
14:39Start 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 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.
15:09Find 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.
15:40Add 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.
16:10y 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. 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.
16:44The 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.
17:19Careful. 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. So let's go back to today's question. A new limit for every instant?
17:49No. Put x where the purple numbers were, do the limit once, and you get the function f prime of x. The runner's whole speedometer. f prime of three is one number, a screenshot. f prime of x is the derivative, the whole video. On the picture, the slope of f is the height of f prime. Slope given? Solve f prime of x equals that slope first, like four x minus one equals seven. Then the point, then the line.
18:21Tangent line given? Read its height, f of a, and its slope, f prime of a. Five, and three. And every tangent line: start at the point, then walk with the slope. The slope is a number, like two, never the formula. Practice each one in your workbook, and follow it on video. Next up, two point three: no formula, just a table or a graph, and we estimate the derivative. See you there.