← Return to lessonClass materials · 2.8
The Product Rule
Lecture transcript
0:00Last time I left you with a question about products. The derivative of a sum is the sum of the derivatives. Here's the guess almost everyone makes. f times g, prime, equals f prime times g prime. Is that right? Test it on the simplest product there is. x times x is x squared, and its derivative is two x. Now multiply the derivatives. The derivative of x is one, times one, gives one.
0:31Not two x. One more. Five x has slope five, but five prime times x prime is zero times one, zero. So it's not f prime g prime. Then what is it? Let's go back to the definition. Let's go get that five. The derivative of f g is the limit as h goes to zero, of f of x plus h times g of x plus h, minus f of x times g of x, all over h.
1:03Here's the one trick. Subtract and add the same piece, f of x times g of x plus h. That adds zero, so nothing changes. So the top is f of x plus h, g of x plus h, minus f of x, g of x plus h, plus f of x, g of x plus h, minus f of x, g of x. Group each pair. The bracket f of x plus h minus f of x, times g of x plus h, plus f of x times the bracket g of x plus h minus g of x.
1:41Divide by h, and both pieces end up over h. Plus f of x, times g of x plus h minus g of x, over h. As h goes to zero, the first fraction goes to f prime of x, and the second goes to g prime of x. What happens to g of x plus h? And g of x plus h goes to g of x. So f g, prime, is f prime g plus f g prime. Two terms.
2:15Now it gets its name. The product rule says f g, prime, equals f prime g plus f g prime, when f and g are differentiable. Say it like this: the derivative of the first, times the second, plus the first, times the derivative of the second. In the first term, only f moves. In the second term, only g moves. Each factor gets its turn. Try x sine x. The derivative of x, times sine x, plus x, times the derivative of sine x.
2:51That's one times sine x, plus x cosine x. Two terms. With tables and graphs, write the structure with letters first, then the numbers. f g, prime, at a, is f prime of a, g of a, plus f of a, g prime of a. Example one. f and g are differentiable, and their values are in the table. h of x is f of x times g of x, minus four g of x.
3:22Find h prime of three, and the tangent line to h at x equals three. The plan: structure first, then the x equals three column. Part a. h prime of x is f prime g plus f g prime, minus four g prime. The four g still needs its derivative. Read only the three column. h prime of three is negative one times five, plus two times four, minus four times four.
3:53Negative five plus eight minus sixteen, negative thirteen. In part b, find the point. h of three is two times five, minus four times five, negative ten. Point and slope: y equals negative ten, minus thirteen times x minus three. Your workbook has one like this. Here's the slip: multiply the derivatives. f prime of three, times g prime of three, minus four g prime of three.
4:26Clean arithmetic, but the wrong rule. f prime g plus f g prime, then minus four g prime, gives negative thirteen. The AP course guide names this exact slip: differentiating each factor, then multiplying. Example two. The graphs of f and g are made of line segments. k of x is f of x times g of x. Find k prime of one, k prime of five, and explain why the product rule can't be used to find k prime of two.
5:01The plan: heights give values, and slopes give derivatives. In part a, write the structure first. k prime of one is f prime of one, g of one, plus f of one, g prime of one. First, the heights at x equals one. f of one is one, and g of one is three. Now the slopes. f goes up two for every one across, and g goes down one for every one across.
5:33So f prime of one is two, and g prime of one is negative one. Two times three, plus one times negative one, is five. Your turn: same type in the workbook. In part b, write the structure again. k prime of five is f prime of five, g of five, plus f of five, g prime of five. f of five is zero, g of five is three, f prime is negative one, and g prime is one.
6:04f of five is zero, but the first term is still alive. Negative one times three, plus zero, is negative three. Part c. Look at f at x equals two. It's a corner: slope two on the left, slope negative one on the right. So f prime of two does not exist. The product rule needs f prime of two, so it can't be used here. There are more like this in your workbook.
6:35We asked whether a product's derivative is just f prime g prime. It isn't. The definition split into two pieces, and continuity of g finished the job. Each factor gets its turn to move. And with tables and graphs, the structure comes first. Products with tables, graphs, and tangent lines are in your workbook, with solutions on video. Ask in the comments. Next up is the quotient rule: when you divide functions, the order of the terms really matters. See you there.