Unit 2 · Topic 2.8 · about 30 minutes · 7 parts · 11 scored checks, 3 of them multiple choice, plus 1 from earlier lessons

AP Calculus AB 2.8: The Product Rule

Unit 2: 10 to 15% of the multiple-choice section

What you'll be able to do

  • Find the derivative of a product of two differentiable functions with the product rule, as a formula or as a value at one input.

Key vocabulary

TermWhat it meansThe exam trap
Product ruleIf f and g are differentiable, the derivative of f(x)g(x) is f′(x)g(x)+f(x)g′(x).Count the derivatives in each term of your answer: every term should have exactly one.
Differentiable functionA function whose derivative exists at each input being considered.The product rule is stated for differentiable factors, so check that each factor has a derivative at the input you need.
Product of functionsThe function h with h(x)=f(x)g(x), whose output at each input is the output of f times the output of g.The value h(a) and the rate h′(a) are different numbers; a question about change wants the rate.
Graph of the lines u(x) = x, with slope 1, and v(x) = 6 - x, with slope -1, and the curve of their product h(x) = x(6 - x). At the point (2, 8) a dashed line shows the slope of h there, 2.Tap to open the picture full size

Part 1 Think first How fast is the pen growing?

Make a guess first. Committing to an answer, even a wrong one, makes the explanation stick.

Predict first

A rancher is moving the fences of a rectangular pen outward at steady speeds. The length grows by 2 meters per minute and the width by 1 meter per minute. At the moment the pen is 10 meters long and 6 meters wide, how fast is its area growing?

In short. The product rule says that if f and g are differentiable, the derivative of f(x)g(x) is f′(x)g(x)+f(x)g′(x).

  • The derivative of a product is not the product of the derivatives: each of the two terms differentiates one factor and keeps the other as it is.
  • At one input the structure is the same, h′(a)=f′(a)g(a)+f(a)g′(a), and it is written before any numbers go in.
  • When one factor is a constant, the constant multiple rule is enough.

Part 2 Learn it Three short ideas, each checked as you go

8a. The product rule

In the pen, the area grew from two edges at once. The extra length added a strip as wide as the pen, and the extra width added a strip as long as the pen. Multiplying the two rates, 2 times 1, misses both strips.

The same thing happens with any product. Take x2⋅x3, which is x5, so its derivative is 5x4. Multiplying the two derivatives gives (2x)(3x2)=6x3, a different function. The derivative of a product is not the product of the derivatives.

The product rule gives the right answer. If f and g are differentiable and h(x)=f(x)g(x), then

h′(x)=f′(x)g(x)+f(x)g′(x).

Each term differentiates one factor and leaves the other alone. For x2⋅x3 that is 2x⋅x3+x2⋅3x2=2x4+3x4=5x4, which matches.

You need the rule only when both factors change with x. In 7x3 or πcos⁡x, one factor is a constant, and the constant multiple rule is enough. The product rule would give the same answer there, because the derivative of a constant is 0.

Quick check · Calculate

No calculator. Let h(x)=(x2+1)(3x−2). What is h′(2)?

8b. Products with ex, ln⁡x, sin⁡x and cos⁡x

A product of polynomials, such as (x2+1)(3x−2), can be multiplied out, so there the product rule is a shortcut. A product such as x3sin⁡x cannot be multiplied out, and the product rule is the way in.

Name the factors, differentiate each with the rules you already have, then put the two terms together:

ddx[x3sin⁡x]=3x2sin⁡x+x3cos⁡x.

For excos⁡x, the derivative of the second factor is −sin⁡x, and its minus sign stays inside its own term:

ddx[excos⁡x]=excos⁡x+ex(−sin⁡x)=excos⁡x−exsin⁡x.

Keep a factor with more than one term in parentheses when you put it into the rule. For (x+4)ln⁡x, the second term is (x+4)⋅1x. Written as x+4⋅1x, only the 4 is multiplied, and the result is a different function.

Addition does not care about order, so f(x)g′(x)+f′(x)g(x) is the same derivative. What matters is that each term has exactly one derivative in it.

Quick check · Multiple choice

No calculator. Let f(x)=x2cos⁡x. Which expression is f′(x)?

8c. The product rule at one input

Sometimes you are not given formulas for f and g at all, only their values at one input. The rule works one input at a time. If h(x)=f(x)g(x), then

h′(3)=f′(3)g(3)+f(3)g′(3).

Write this structure first, with the function names, and only then put in the numbers. Free-response answers are expected to show it.

Suppose f(3)=2, f′(3)=5, g(3)=−1 and g′(3)=4. Then

h′(3)=(5)(−1)+(2)(4)=−5+8=3.

Do not find h(3)=(2)(−1)=−2 first and differentiate that. h(3) is a single number, its derivative is 0, and that says nothing about how h is changing.

A function you know can be one of the factors. For k(x)=exg(x), the first factor is ex, which is its own derivative, so k′(0)=e0g(0)+e0g′(0)=g(0)+g′(0).

Quick check · Fill the statement

No calculator. Tap a blank, then tap an answer.

Let h(x)=f(x)g(x), where f(4)=3, f′(4)=−2, g(4)=5 and g′(4)=1. By the product rule, h′(4) is times g(4), plus f(4) times . With these values, h′(4) is .

Part 3 Watch it done The product rule at a point

Watch each step, then do the last one yourself.

Let p(x)=(x2+3)x. Find p′(4).

  1. Step 1 · Name the factors

    u(x)=x2+3 and v(x)=x=x1/2, so p(x)=u(x)v(x).

  2. Step 2 · Differentiate each factor

    u′(x)=2x and v′(x)=12x−1/2=12x.

  3. Step 3 · Write the structure

    p′(4)=u′(4)v(4)+u(4)v′(4).

  4. Why this step?

    Why not just multiply u′(4) by v′(4)?

    The derivative of a product is not the product of the derivatives. Each factor's change counts in proportion to the size of the other factor, so p′(4) has two terms, and each term has one derivative in it.

  5. Step 4 · Find the four values

    u(4)=16+3=19, u′(4)=8, v(4)=4=2 and v′(4)=12⋅2=14.

  6. Your step · Calculate

    No calculator. Finish it. For p(x)=(x2+3)x, with u(4)=19, u′(4)=8, v(4)=2 and v′(4)=14, what is p′(4)? Give an exact decimal.

Part 4 Try it A new function and a new context

Try it · Calculate

No calculator. Let y=xln⁡x. What is the value of dydx at x=e?

Try it · Decide and justify

No calculator. A grain elevator holds B(t) thousand bushels of wheat t days after harvest, and wheat sells for p(t) dollars per bushel, so the wheat is worth V(t)=B(t)p(t) thousand dollars. At t=10, B(10)=40, B′(10)=−1.5, p(10)=6 and p′(10)=0.3. Is the value of the wheat increasing or decreasing at t=10?

Which reason supports your answer?

Part 5 Explain it Answer it as a free-response question

Free response is written by hand on the exam, so answer on paper first. Nothing you type here leaves this page. Then open the model answer and score yourself point by point.

Free response is 50% of the exam score. This one is shaped like Question 4, from free-response Part B (calculator not permitted).

Free-response practice · Question 4 style

No calculator. A city has P(t) thousand residents, and each resident uses an average of c(t) gallons of water per day, where t is measured in years since the start of 2020. The city's total water use is W(t)=P(t)c(t) thousand gallons per day. The functions P and c are differentiable, and selected values are given in the table. P′(t) is in thousand residents per year, and c′(t) is in gallons per resident per day, per year.

t (years)P(t)P′(t)c(t)c′(t)0402.8120−22452.2115−34491.8109−36521.2102−4

(a) Find W′(2). Show the work that leads to your answer.

(b) Using correct units, interpret the meaning of W′(2) in the context of the problem.

(c) Is the city's total water use increasing or decreasing at time t=6? Give a reason for your answer.

Model answer

(a) W′(2)=P′(2)c(2)+P(2)c′(2)=(2.2)(115)+(45)(−3)=253−135=118.

(b) At the start of 2022, the city's total water use is increasing at a rate of 118 thousand gallons per day per year.

(c) W′(6)=P′(6)c(6)+P(6)c′(6)=(1.2)(102)+(52)(−4)=122.4−208=−85.6. Since W′(6)<0, the city's total water use is decreasing at t=6, even though its population is still growing.

Score your own answer. This is a self-check, not a grade. Tick each point your answer makes.

Part 6 Check yourself Two functions in a table

The two case questions use the same table. Answer them from it.

The functions f and g are differentiable for all real numbers. The table gives values of f, g and their derivatives at three inputs.

Values of f, g and their derivatives
xf(x)f′(x)g(x)g′(x)
13−241
2−153−2
314−23

Case question 1 · Calculate

No calculator. Let h(x)=f(x)g(x). What is h′(2)?

Case question 2 · Multiple choice

No calculator. Let k(x)=x2f(x). What is k′(3)?

The rest stand on their own and do not use the case.

Check yourself · Spot the error

No calculator. A student finds the derivative of f(x)=(x3+2x)ln⁡x. Tap the first line with a mistake.

Check yourself · Sort it

No calculator. Decide what each derivative needs. Tap a function, then a bin.

Both factors change with x: product rule

One factor is a constant: constant multiple rule

Part 7 Keep it Bring back earlier ideas

The product rule is built from derivatives you already know. Recalling them now keeps them ready.

Bring it back · Multiple choice

No calculator. Let f(x)=5cos⁡x−2sin⁡x. What is f′(π3)?

From 2.1 Defining Average and Instantaneous Rates of Change at a Point · Calculate

No calculator. Let g(x)=1x. What is the value of g(2+h)−g(2)h when h=2? Give an exact decimal.

In three lines

  • The derivative of f(x)g(x) is f′(x)g(x)+f(x)g′(x), not f′(x)g′(x).
  • At one input, write h′(a)=f′(a)g(a)+f(a)g′(a) before putting in the values.
  • Keep each factor in parentheses, and use the constant multiple rule when one factor is a constant.

Exam strategy for this topic

  • Section I Part A, Multiple Choice (calculator not permitted): 29 questions in 62 minutes.
  • Section I Part B, Multiple Choice (graphing calculator required): 13 questions in 38 minutes.
  • Section II Part A, Free Response (graphing calculator required): 2 questions in 30 minutes.
  • Section II Part B, Free Response (calculator not permitted): 4 questions in 60 minutes.

When a question asks for the derivative of a product at one input, write the structure with the function names first, such as h′(2)=f′(2)g(2)+f(2)g′(2), and then substitute. Free-response answers are expected to show that structure, so a correct number on its own is not the whole answer. In a context, give the units of the rate.

Questions students ask

Can I multiply the factors out instead of using the product rule?

Yes, when you can, and both ways give the same derivative. For (x+2)(x2−1), multiplying out gives x3+2x2−x−2, whose derivative is 3x2+4x−1, and the product rule gives (1)(x2−1)+(x+2)(2x), the same thing. A product such as x3sin⁡x cannot be multiplied out, so there you need the rule.

Does the order of the two terms matter?

No. Addition does not depend on order, so f(x)g′(x)+f′(x)g(x) is the same derivative. The quotient rule in the next topic subtracts, and there the order does matter.

What if there are three factors?

Treat two of them as one factor and use the product rule twice. For u(x)v(x)w(x) that gives u′(x)v(x)w(x)+u(x)v′(x)w(x)+u(x)v(x)w′(x): each term differentiates one factor and keeps the other two.

Why isn't the derivative of a product just the product of the derivatives?

Test it on x⋅x, which is x2 with derivative 2x. The product of the derivatives is 1⋅1=1, which is wrong for every x except 12. The product rule gives 1⋅x+x⋅1=2x.

Course alignment, for teachers

AP Calculus AB topic 2.8, Unit 2: Differentiation: Definition and Fundamental Properties.

  • Skill 1.E: Apply appropriate mathematical rules or procedures, with and without technology.

This lesson maps the one essential knowledge statement of the topic to the part that teaches each one: 1 is checked by a scored question. The map is in the lesson file.