AP Calculus BC • Differentiation: Definition and Fundamental Properties

The Product Rule

A fundamental differentiation rule that unlocks the derivative of any product of two functions.

AP Calculus BC illustration with summation, combined graphs, and an orbit
Inside this lesson 10 sections 5 questions 9 figures

SECTION 1

Historical Context & Motivation

Differentiation as a systematic operation emerged from the independent work of Isaac Newton and Gottfried Wilhelm Leibniz in the late seventeenth century. Both mathematicians recognized that derivatives of sums behave simply—the derivative of a sum is the sum of the derivatives—but that the derivative of a product is not merely the product of the derivatives. This observation demanded a new rule, one that accounts for the interplay between two simultaneously changing quantities. The Product Rule was among the earliest formal differentiation results, and it remains indispensable in every branch of analysis, physics, and engineering where products of variable quantities arise.

1665–1666 • Newton's Fluxions

During his annus mirabilis, Isaac Newton developed the method of fluxions, treating changing quantities as 'flowing.' He derived rules for products of flowing quantities, anticipating the Product Rule.

1684 • Leibniz Publishes Nova Methodus

Gottfried Wilhelm Leibniz published his foundational calculus paper, introducing the d-notation (dy, dx) and explicitly stating the rule d(uv) = u dv + v du for the differential of a product.

1748 • Euler's Introductio

Leonhard Euler systematized differentiation rules, including the Product Rule, and applied them extensively to transcendental functions such as eˣ sin x, demonstrating their broad power.

1821 • Cauchy's Rigorous Foundations

Augustin-Louis Cauchy provided the first rigorous epsilon-delta style proof of the Product Rule using limit definitions, placing it on firm logical ground.

The central question the Product Rule addresses is deceptively simple: if you know how two functions change individually, how does their product change? A naive guess—just multiply the two derivatives—fails almost immediately upon inspection, because when both factors are changing, their increments interact in a way that produces extra terms. Understanding precisely how those extra terms arise is the key to mastering the rule.

SECTION 2

Core Principles & Definitions

The Product Rule provides a formula for differentiating any function that can be expressed as the product of two differentiable factors. Before stating the rule formally, it is worth articulating the foundational ideas that make it work and the assumptions it requires.

1

Differentiability Prerequisite

Both factor functions f(x) and g(x) must be differentiable at the point in question. If either function has a corner, cusp, or discontinuity, the Product Rule does not apply there.
2

Linearity Is Not Enough

The derivative operator is linear—it distributes over sums and respects scalar multiples—but it does not distribute over products. The Product Rule corrects the naive assumption d(fg) = (df)(dg).
3

Two-Term Structure

The result always has exactly two additive terms: one in which the first factor is differentiated while the second is held, and a second in which the roles reverse. This symmetry reflects the equal contribution of each factor's rate of change.
4

Generalization to n Factors

For a product of n functions, the generalized Product Rule yields n terms, each differentiating one factor while leaving the remaining n − 1 factors unchanged. This extends naturally via mathematical induction.
✦

KEY TAKEAWAY

Think of the Product Rule like computing the total change in the area of a rectangle whose length and width are both changing. If a rectangle has sides f and g, and both sides grow by small increments Δf and Δg, the new area is (f + Δf)(g + Δg) = fg + f·Δg + g·Δf + Δf·Δg. The change in area is approximately f·Δg + g·Δf; the cross-term Δf·Δg becomes negligible in the limit. The Product Rule captures exactly these two surviving contributions.

SECTION 3

Visual Explanation — The Area Model

The most intuitive geometric interpretation of the Product Rule comes from modeling the product f(x)·g(x) as the area of a rectangle with side lengths f(x) and g(x). When x increases by a small amount Δx, both sides change, and the resulting change in area decomposes into three regions: a horizontal strip, a vertical strip, and a tiny corner rectangle. In the limit, the corner rectangle vanishes, leaving precisely the two terms of the Product Rule.

Area Model of the Product Rulef · g(original area)f · ΔgΔf · gΔf·Δg(vanishes)g(x)Δgf(x)ΔfΔArea ≈ f · Δg + g · ΔfDividing by Δx and taking the limit gives (fg)' = f · g' + g · f'
The original rectangle (purple) has area f·g. When both sides change, two new strips appear: the cyan strip f·Δg and the pink strip Δf·g. The dashed amber corner rectangle Δf·Δg shrinks to zero in the limit, leaving the two-term Product Rule.

This area-based visualization is not merely a pedagogical convenience—it is the geometric essence of the proof. As Δx → 0, the ratios Δf/Δx and Δg/Δx approach f'(x) and g'(x) respectively, and the product Δf·Δg becomes an infinitesimal of higher order that contributes nothing to the derivative. The two surviving strips produce the two symmetric terms of the rule, which is why the Product Rule always has exactly two addends when applied to two factors.

SECTION 4

Mathematical Framework

We now derive the Product Rule from the limit definition of the derivative. Let h(x) = f(x)·g(x) where both f and g are differentiable at x. The formal derivation employs a standard algebraic trick: adding and subtracting the same term to decompose the difference quotient into manageable pieces.

PRODUCT RULE

d/dx[f(x)⋅g(x)]=f(x)⋅g′(x)+g(x)⋅f′(x)d/dx [f(x) · g(x)] = f(x) · g'(x) + g(x) · f'(x)

Equivalently, using Leibniz notation: d(uv)/dx = u·(dv/dx) + v·(du/dx), where u and v are differentiable functions of x.

Proof from the Limit Definition

STEP 1 — DIFFERENCE QUOTIENT

h′(x)=lim[Δx→0][f(x+Δx)⋅g(x+Δx)−f(x)⋅g(x)]/Δxh'(x) = lim[Δx→0] [f(x+Δx)·g(x+Δx) − f(x)·g(x)] / Δx

This is the standard limit definition applied to h(x) = f(x)·g(x).

STEP 2 — ADD AND SUBTRACT

=lim[Δx→0][f(x+Δx)⋅g(x+Δx)−f(x+Δx)⋅g(x)+f(x+Δx)⋅g(x)−f(x)⋅g(x)]/Δx= lim[Δx→0] [f(x+Δx)·g(x+Δx) − f(x+Δx)·g(x) + f(x+Δx)·g(x) − f(x)·g(x)] / Δx

Insert −f(x+Δx)·g(x) + f(x+Δx)·g(x) into the numerator. This clever addition of zero allows us to factor by grouping.

STEP 3 — FACTOR AND TAKE LIMITS

=lim[Δx→0]f(x+Δx)⋅[g(x+Δx)−g(x)]/Δx+lim[Δx→0]g(x)⋅[f(x+Δx)−f(x)]/Δx=f(x)⋅g′(x)+g(x)⋅f′(x)= lim[Δx→0] f(x+Δx)·[g(x+Δx)−g(x)]/Δx + lim[Δx→0] g(x)·[f(x+Δx)−f(x)]/Δx = f(x)·g'(x) + g(x)·f'(x)

Because f is continuous (differentiability implies continuity), lim f(x+Δx) = f(x). Each remaining fraction is a difference quotient that converges to the respective derivative.

⚠

Why Not f'·g'?

A common misconception is that (fg)' = f'g'. To see why this fails, consider f(x) = x and g(x) = x. Then fg = x² and (fg)' = 2x, but f'g' = 1·1 = 1. The Product Rule gives x·1 + x·1 = 2x, matching the correct answer. Always use the Product Rule, never multiply derivatives directly.

SECTION 5

Common Applications & Patterns

The Product Rule appears in a wide range of differentiation scenarios on the AP Calculus BC exam. Recognizing when to apply it—and when an alternative strategy may be simpler—is an important skill. The following table catalogs the most common function types that require the Product Rule and illustrates the derivative pattern each produces.

Product Rule Decision FlowchartIs h(x) a product f(x)·g(x)?YESNOCan you simplify first?Use other rulesYESNOSimplify, thendifferentiate directlyApply Product Rule:h' = f·g' + g·f'Does f' or g' need Chain Rule?YESNOApply Chain Rule insideSimplify result ✓
A decision flowchart guiding you through the process of identifying when and how to apply the Product Rule. Note the common sub-step of applying the Chain Rule within one or both factors.
Function TypeExample h(x)Derivative h'(x)
Polynomial × Polynomialx² · (3x + 1)x²·3 + (3x + 1)·2x = 9x² + 2x
Polynomial × Trigx³ · sin xx³·cos x + sin x·3x²
Exponential × Polynomialeˣ · x²eˣ·x² + eˣ·2x = eˣ(x² + 2x)
Trig × Trigsin x · cos xsin x·(−sin x) + cos x·cos x = cos²x − sin²x
Logarithmic × Polynomialln x · x⁴ln x·4x³ + x⁴·(1/x) = x³(4 ln x + 1)

Common Product Rule patterns encountered on the AP exam

SECTION 6

Worked Example

Let us carefully differentiate h(x) = (2x³ + 5x)·eˣ using the Product Rule, demonstrating each step with full justification.

Differentiate h(x) = (2x³ + 5x) · eˣ

  1. 1

    Step 1 — Identify the Two Factors

    We set f(x) = 2x³ + 5x (a polynomial) and g(x) = eˣ (the natural exponential). Both are differentiable everywhere, so the Product Rule applies.
    f(x) = 2x³ + 5x, g(x) = eˣ
  2. 2

    Step 2 — Differentiate Each Factor Individually

    Using the Power Rule for the polynomial: f'(x) = 6x² + 5. The exponential function is its own derivative: g'(x) = eˣ.
    f'(x) = 6x² + 5, g'(x) = eˣ
  3. 3

    Step 3 — Apply the Product Rule Formula

    Substitute into h'(x) = f(x)·g'(x) + g(x)·f'(x): h'(x) = (2x³ + 5x)·eˣ + eˣ·(6x² + 5).
    h'(x) = (2x³ + 5x)eˣ + (6x² + 5)eˣ
  4. 4

    Step 4 — Factor and Simplify

    Both terms contain the common factor eˣ, so we factor it out: h'(x) = eˣ[(2x³ + 5x) + (6x² + 5)] = eˣ(2x³ + 6x² + 5x + 5). Always simplify your final answer on the AP exam when possible.
    h'(x) = eˣ(2x³ + 6x² + 5x + 5)
💡

AP Exam Tip

On free-response questions, always show the unsimplified Product Rule form before combining terms. Graders award points for correctly setting up f·g' + g·f' even if your final simplification contains an arithmetic error.

SECTION 7

Product Rule vs. Other Differentiation Rules

The Product Rule is one of several fundamental rules of differentiation. Students often confuse when to apply the Product Rule versus the Chain Rule, or attempt to use it when a simpler approach—such as expanding a polynomial product before differentiating—would be more efficient. Understanding each rule's domain of applicability prevents errors and speeds up computation.

RuleWhen to UseFormula
Product Ruleh(x) = f(x) · g(x), two functions multipliedf·g' + g·f'
Quotient Ruleh(x) = f(x) / g(x), one function divided by another(g·f' − f·g') / g²
Chain Ruleh(x) = f(g(x)), a function composed inside anotherf'(g(x)) · g'(x)
Power Ruleh(x) = xⁿ, single variable raised to a constant powern·xⁿ⁻¹
Sum/Difference Ruleh(x) = f(x) ± g(x), functions added or subtractedf'(x) ± g'(x)

Comparison of fundamental differentiation rules

✦

WHEN TO SIMPLIFY FIRST

If a product can be expanded into a simple polynomial—for example, (x + 1)(x − 3) = x² − 2x − 3—it is often faster to expand and then apply the Power Rule term by term. Reserve the Product Rule for products that cannot be easily expanded, such as x²·sin x or eˣ·ln x, where the factors belong to different function families. On a timed exam, choosing the more efficient path is a strategic advantage.

SECTION 8

Connection to Advanced Theory

The Product Rule is not an isolated technique; it is a gateway to several advanced results that appear later in Calculus BC and beyond. Its structure recurs in unexpected places, from the integration-by-parts formula to the Leibniz rule for higher-order derivatives of products.

ConceptConnection to Product RuleWhere It Appears
Integration by PartsIntegrating both sides of the Product Rule yields ∫u dv = uv − ∫v du, the reverse process.AP Calculus BC Unit 6
Quotient RuleThe Quotient Rule can be derived by writing f/g as f·g⁻¹ and applying the Product Rule plus Chain Rule.AP Calculus BC Unit 2
Leibniz Rule (General)The nth derivative of a product: (fg)⁽ⁿ⁾ = Σ C(n,k) f⁽ᵏ⁾g⁽ⁿ⁻ᵏ⁾, generalizing the binomial theorem to derivatives.Advanced calculus / Analysis
Multivariable Product RulesAnalogous rules exist for dot products, cross products, and matrix-valued functions in vector calculus.Multivariable Calculus

How the Product Rule extends into advanced mathematics

One of the most important forward-looking connections for AP Calculus BC students is integration by parts. By integrating the Product Rule d(uv) = u dv + v du from a to b and rearranging, you obtain ∫u dv = uv − ∫v du. This technique is essential for integrating products like x·eˣ, x²·sin x, and eˣ·cos x. When you encounter integration by parts later in the course, remember that its foundation is the very same Product Rule you are learning now.

SECTION 9

Practice Problems

Question 1: CONCEPTUAL

If f(3) = 4, f'(3) = −2, g(3) = 5, and g'(3) = 1, what is the value of d/dx [f(x)·g(x)] at x = 3?
  • A. −10
  • B. −6
  • C. −2
  • D. 4
  • E. 14
Show answer (B)
Applying the Product Rule: (fg)'(3) = f(3)·g'(3) + g(3)·f'(3) = 4·1 + 5·(−2) = 4 − 10 = −6. This problem tests direct substitution into the Product Rule formula without requiring any additional differentiation. The key is recognizing that you need the function values and derivative values at the same point.

Question 2: BASIC CALCULATION

Find the derivative of h(x) = x⁴ · cos x.
  • A. x⁴ sin x − 4x³ cos x
  • B. −x⁴ sin x + 4x³ cos x
  • C. −x⁴ sin x
  • D. −4x³ sin x
  • E. x⁴ sin x + 4x³ cos x
Show answer (B)
Let f(x) = x⁴ and g(x) = cos x, so f'(x) = 4x³ and g'(x) = −sin x. By the Product Rule: h'(x) = x⁴·(−sin x) + cos x·4x³ = −x⁴ sin x + 4x³ cos x. This can be factored as x³(4 cos x − x sin x). Choice A reverses the signs. Choice C omits the second term. Choice D multiplies the individual derivatives (a common error). Choice E incorrectly uses a plus sign instead of minus on the first term.

Question 3: INTERMEDIATE

Find dy/dx if y = e²ˣ · sin(3x).
  • A. e²ˣ[cos(3x) + sin(3x)]
  • B. e²ˣ[2cos(3x) + 3sin(3x)]
  • C. e²ˣ[3cos(3x) − 2sin(3x)]
  • D. e²ˣ·3cos(3x) + sin(3x)·eˣ
  • E. e²ˣ[3cos(3x) + 2sin(3x)]
Show answer (E)
Let f(x) = e²ˣ and g(x) = sin(3x). Using the Chain Rule within each derivative: f'(x) = 2e²ˣ and g'(x) = 3cos(3x). By the Product Rule: dy/dx = e²ˣ·3cos(3x) + sin(3x)·2e²ˣ = e²ˣ[3cos(3x) + 2sin(3x)]. Choice A is missing the chain rule multipliers. Choice B has the coefficients 2 and 3 swapped. Choice C subtracts instead of adds. Choice D omits the chain rule on the exponential.

Question 4: APPLIED

6 pts
A particle moves along the x-axis so that its position at time t ≥ 0 is given by s(t) = t² · e⁻ᵗ. (a) Find the velocity function v(t). (b) Find all values of t where the particle is momentarily at rest. (c) Determine the acceleration a(t) and evaluate a(2). (d) Is the particle speeding up or slowing down at t = 1? Justify your answer.
Show answer
(a) [2 points] Using the Product Rule with f(t) = t² and g(t) = e⁻ᵗ: v(t) = s'(t) = t²·(−e⁻ᵗ) + e⁻ᵗ·2t = e⁻ᵗ(2t − t²) = te⁻ᵗ(2 − t). [1 pt for correct Product Rule setup, 1 pt for simplified result] (b) [1 point] Setting v(t) = 0: te⁻ᵗ(2 − t) = 0. Since e⁻ᵗ > 0 for all t, we need t = 0 or 2 − t = 0, so t = 0 and t = 2. [1 pt for both values with justification that e⁻ᵗ ≠ 0] (c) [2 points] Differentiate v(t) = e⁻ᵗ(2t − t²) using the Product Rule again: a(t) = e⁻ᵗ(2 − 2t) + (2t − t²)(−e⁻ᵗ) = e⁻ᵗ[(2 − 2t) − (2t − t²)] = e⁻ᵗ(t² − 4t + 2). Then a(2) = e⁻²(4 − 8 + 2) = −2e⁻². [1 pt for correct derivative, 1 pt for evaluation] (d) [1 point] At t = 1: v(1) = 1·e⁻¹·(2 − 1) = e⁻¹ > 0 and a(1) = e⁻¹(1 − 4 + 2) = −e⁻¹ < 0. Since velocity is positive and acceleration is negative, the particle is slowing down. [1 pt for correct signs and conclusion]

Question 5: CRITICAL THINKING

3 pts
Let f and g be differentiable functions. Using the Product Rule and repeated application, derive a formula for d/dx [f(x) · g(x) · k(x)] where k is also differentiable. Then use your result to find the derivative of y = x · eˣ · sin x.
Show answer
(a) [1 point] Triple Product Rule derivation: Let h(x) = f(x)·g(x), then d/dx[h(x)·k(x)] = h(x)·k'(x) + k(x)·h'(x) = f(x)g(x)k'(x) + k(x)[f(x)g'(x) + g(x)f'(x)]. Expanding: d/dx[fgk] = f'gk + fg'k + fgk'. [1 pt for correct three-term formula with derivation] (b) [1 point] Identify f(x) = x, g(x) = eˣ, k(x) = sin x, so f' = 1, g' = eˣ, k' = cos x. [1 pt for correct individual derivatives] (c) [1 point] Substitute: y' = (1)·eˣ·sin x + x·eˣ·sin x + x·eˣ·cos x = eˣ sin x + xeˣ sin x + xeˣ cos x = eˣ[sin x + x sin x + x cos x] = eˣ[(1 + x) sin x + x cos x]. [1 pt for correct final simplified answer]

SUMMARY

Summary & Key Concepts

Summary

The Product Rule states that the derivative of a product of two differentiable functions is d/dx[f·g] = f·g' + g·f'. Geometrically, this two-term structure arises from the area model: when both sides of a rectangle change, the total area change consists of two strips whose contributions survive in the limit, while the tiny corner rectangle vanishes. The rule is derived rigorously from the limit definition of the derivative via the algebraic technique of adding and subtracting the same term in the numerator.

Apply the Product Rule whenever you encounter a function expressed as the product of two different function families—such as polynomial × trigonometric or exponential × polynomial—that cannot be simplified by expansion. Remember that the Product Rule combines naturally with the Chain Rule when the individual factors are composite functions, and that its reverse yields integration by parts, a major technique in AP Calculus BC. For products of three or more functions, the generalized rule produces one term per factor, each differentiating a single factor while holding the rest constant.

Varsity Tutors • AP Calculus BC • The Product Rule