Skip to main content

2.8 The Product Rule

add to ChatGPT
Verified for the 2027 examUpdated October 2026Fiveable Content Team
Fiveable

♾️AP Calculus AB/BC Unit 2 Review

QR code for AP Calculus AB/BC practice questions

2.8 The Product Rule

The product rule lets you find the derivative of two functions multiplied together. The formula is ddx(f(x)g(x))=f(x)g′(x)+g(x)f′(x)\frac{d}{dx}(f(x)g(x)) = f(x)g'(x) + g(x)f'(x), which you can remember as "first times derivative of second, plus second times derivative of first." You cannot just multiply the two derivatives together, which is the most common mistake. For AP Calculus, write both terms before simplifying.

Products like x2sin⁡xx^2 \sin x or excos⁡xe^x \cos x cannot be handled by the power rule or sum rule alone, so the product rule is the tool you reach for once functions get past simple polynomials. It also sets up the quotient rule and combines with the chain rule in later units.

Product Rule Formula and the Product of Derivatives Error

  • The product rule formula is ddx(f(x)g(x))=f(x)g′(x)+g(x)f′(x)\frac{d}{dx}(f(x)g(x)) = f(x)g'(x) + g(x)f'(x).
  • The derivative of a product is not the product of the derivatives.
  • Differentiate both factors, but only one factor at a time in each term, then add the results.
  • Both functions must be differentiable for the product rule to apply.
  • On the AP exam you usually do not need to simplify your answer unless the problem asks for it.
  • When a question gives values in a table, write out the full product rule structure like h′(3)=f(3)g′(3)+g(3)f′(3)h'(3) = f(3)g'(3) + g(3)f'(3) for h(x)=f(x)g(x)h(x)=f(x)g(x) before plugging in numbers.

The Product Rule

To differentiate a product of functions, multiply the first function by the derivative of the second and add the second function times the derivative of the first.

ddx(f(x)g(x))=f(x)g′(x)+g(x)f′(x)\frac{d}{dx}(\textcolor{red}{f(x)}\textcolor{green}{g(x)})= \textcolor{red}{f(x)} \textcolor{blue}{g'(x)} + \textcolor{green}{g(x)} \textcolor{pink}{f'(x)}

A simple way to remember it:

"First d second" (first function times the derivative of the second)

Plus "second d first" (second function times the derivative of the first).

This rule is necessary because the product of the derivatives of two functions does not equal the derivative of their product.

Product Rule Walkthrough

Screen Shot 2023-12-12 at 1.58.24 PM.png

Find the derivative of:

f(x)=sin⁡(x)(x2+2x)f(x) = \sin(x)(x^2 + 2x)

Using the product rule:

f′(x)=sin⁡(x)∗ddx(x2+2x)+(x2+2x)∗ddx(sin⁡(x))\textcolor{green}{f'(x)} = \sin(x)*\frac {d}{dx}(x^2 + 2x) + (x^2+2x)*\frac {d}{dx}(\sin(x))

f′(x)=sin⁡(x)(2x+2)+(x2+2x)cos⁡(x)\textcolor{green}{f'(x)} = \sin(x)(2x+2) + (x^2+2x)\cos(x)

If you incorrectly tried to multiply the derivatives, you would get:

f′(x)=cos⁡(x)(2x+2)\textcolor{red}{f'(x)} = \cos(x)( 2x + 2)

But sin⁡(x)(2x+2)+(x2+2x)cos⁡(x)≠cos⁡(x)(2x+2)\textcolor{green}{\sin(x)(2x+2) + (x^2+2x)\cos(x)} \neq \textcolor{red}{\cos(x)( 2x + 2)}.

The graphs below show why. The correct f′(x)f'(x) is positive where f(x)f(x) rises, negative where f(x)f(x) falls, and zero at the critical points of f(x)f(x). The incorrect product of derivatives does not line up with f(x)f(x) this way.

Applying the Product Rule in Practice Problems

Problem Solving: Work through these to build fluency with the product rule.

Example 1. Find y′y' for y=(3x2−4x)(2x−1)y = (3x^2-4x)(2x-1) both with and without the product rule.

Without the product rule: expand first.

y=6x3−3x2−8x2+4xy = 6x^3 - 3x^2- 8x^2 + 4x

y=6x3−11x2+4xy = 6x^3 -11x^2 + 4x

Now take the derivative using the sum and difference rules:

y′=18x2−22x+4y' = 18x^2 - 22x + 4

With the product rule:

y′=(3x2−4x)∗ddx(2x−1)+(2x−1)∗ddx(3x2−4x)y' = (3x^2-4x)* \frac{d}{dx}(2x-1) + (2x-1)* \frac{d}{dx}(3x^2-4x)

y′=(3x2−4x)(2)+(2x−1)(6x−4)y' = (3x^2-4x)(2) + (2x-1)(6x-4)

Both methods give the same answer once expanded. Unless a problem says to simplify, this form is perfectly acceptable.

Example 2. Find f′(x)f'(x) if f(x)=sin⁡(x)(3x2−2x+5)f(x) = \sin(x)(3x^2 - 2x + 5).

Remember, the derivative of sin⁡(x)\sin(x) is cos⁡(x)\cos(x). For a refresher, see Derivatives of cos x, sin x, e^x, and ln x.

f′(x)=sin⁡(x)∗ddx(3x2−2x+5)+(3x2−2x+5)∗ddxsin⁡(x)f'(x) = \sin(x)*\frac{d}{dx}(3x^2-2x+5) + (3x^2-2x+5)*\frac{d}{dx}\sin(x)

f′(x)=sin⁡(x)(6x−2)+(3x2−2x+5)cos⁡(x)f'(x) = \sin(x)(6x-2) + (3x^2-2x+5)\cos(x)

Example 3. Find y′y' if y=exsin⁡(x)y = e^x\sin(x).

The derivative of exe^x is still exe^x, so:

y′=ex∗ddx(sin⁡(x))+sin⁡(x)∗ddx(ex)y'=e^x * \frac{d}{dx}(\sin(x)) + \sin(x)*\frac{d}{dx}(e^x)

y′=excos⁡(x)+exsin⁡(x)y' = e^x\cos(x) + e^x\sin(x)

Common Trap: When a free-response question gives a table of values for uu and vv and asks for the derivative of u(x)v(x)u(x)v(x) at a point, write the product rule structure first. For example, f′(3)=u(3)v′(3)+v(3)u′(3)f'(3) = u(3)v'(3) + v(3)u'(3), then substitute the values from the table. Showing this structure is important for clear exam work, even if your final number is right.

Common Misconceptions

  • Misconception: The derivative of a product is the product of the derivatives.
    Actually: The derivative of a product is not the product of the derivatives. ddx(fg)≠f′g′\frac{d}{dx}(fg) \neq f'g'. This is the single most common product rule error.
  • Misconception: You only differentiate one function.
    Actually: You still differentiate both factors. Some students only differentiate one function. Each term in the result keeps one factor undifferentiated and differentiates the other.
  • Misconception: Order of terms matters for adding.
    Actually: Order of terms does not matter for adding. Since you are adding two products, fg′+gf′f g' + g f' and gf′+fg′g f' + f g' are the same. Just make sure each term pairs an original function with the derivative of the other.
  • Misconception: Expanding is required.
    Actually: Expanding is an option, not a requirement. For simple polynomial products you can multiply out and use the power rule, but for products like exsin⁡xe^x \sin x the product rule is the practical choice.
  • Misconception: You always need to simplify.
    Actually: You usually do not need to simplify. A correct unsimplified answer earns credit unless the problem specifically asks for a simplified form.

Practice Questions for 2.8

1 of 10

Let f(x)f(x) be defined as f(x)=x2f(x) = x^2 for x≤1x \le 1 and f(x)=3x−2f(x) = 3x - 2 for x>1x > 1. Let g(x)=exg(x) = e^x. A student wants to apply the Product Rule to find the derivative of h(x)=f(x)g(x)h(x) = f(x)g(x) at x=1x=1. Which statement correctly evaluates this plan?

A.

Product Rule cannot be applied because f(x)f(x) is not differentiable at x=1x=1.

B.

Product Rule can be applied because both functions have limits at x=1x=1.

C.

Product Rule cannot be applied because f(x)f(x) is not continuous at x=1x=1.

D.

Product Rule can be applied because both functions are continuous at x=1x=1.

Vocabulary

The following words are mentioned explicitly in the AP® course framework for this topic.

Term

Definition

derivative

The instantaneous rate of change of a function at a specific point, representing the slope of the tangent line to the function at that point.

differentiable function

Functions that have a derivative at every point in their domain, meaning they are smooth and continuous without sharp corners or breaks.

product rule

A differentiation rule that states the derivative of a product of two functions equals the first function times the derivative of the second plus the second function times the derivative of the first.

quotient

The result of dividing one function by another.

See Fiveable more often in Google

Mark Fiveable as a preferred source and Google is more likely to show you our guides in Top Stories, with a "preferred" badge in AI Mode and AI Overviews.

Prefer us on Google