AP CALCULUS AB • DIFFERENTIATION: DEFINITION AND FUNDAMENTAL PROPERTIES

The Product Rule

A foundational differentiation technique for finding the derivative of a product of two functions.

Historical Context & Motivation

The development of calculus in the late seventeenth century required mathematicians to handle increasingly complex expressions, many of which arose as products of simpler functions. Physical quantities such as work (force × displacement), momentum (mass × velocity), and revenue (price × quantity) are naturally products, so the ability to differentiate products was essential from the very beginning. Both Isaac Newton and Gottfried Wilhelm Leibniz independently arrived at rules for differentiating products as part of their broader systematic approaches to the calculus. Over time, these rules were formalized into the concise statement we now call the Product Rule—one of the most frequently used differentiation formulas in all of mathematics.

1665–1666
Newton's Fluxions
During his legendary years at Woolsthorpe, Isaac Newton develops his method of fluxions, including rules for differentiating products of flowing quantities.
1684
Leibniz Publishes Nova Methodus
Gottfried Wilhelm Leibniz publishes his first paper on calculus. His differential notation d(uv) = u dv + v du makes the Product Rule elegant and memorable.
1748
Euler's Introductio
Leonhard Euler systematizes calculus techniques, applying the Product Rule routinely to exponential, logarithmic, and trigonometric products.
1821
Cauchy's Rigorous Foundations
Augustin-Louis Cauchy provides a rigorous proof of the Product Rule using the limit definition of the derivative, placing it on a firm logical foundation.

A natural but incorrect instinct when differentiating a product is to simply differentiate each factor separately and multiply the results. If f(x) = x² and g(x) = x³, then f(x) · g(x) = x⁵, whose derivative is 5x⁴—clearly not f′(x) · g′(x) = 2x · 3x² = 6x³. The gap between this naive guess and the correct answer motivates the precise statement of the Product Rule: how do we correctly differentiate a product of two functions?

Core Principles & Definitions

Before stating the rule formally, it helps to understand the conceptual pillars that support it. The Product Rule is not an arbitrary formula; it emerges naturally from the limit definition of the derivative and reflects how small changes in two interacting quantities combine to produce a total change. The following foundational ideas clarify why the rule takes the form it does and how to apply it reliably.

1

Differentiability of Each Factor

The Product Rule requires that both f and g be differentiable at the point of interest. If either factor has a cusp, corner, or discontinuity, the rule cannot be applied there directly.
2

Linearity of the Derivative

The derivative is a linear operator: the derivative of a sum is the sum of the derivatives. The Product Rule shows how the derivative interacts with multiplication—a non-linear operation—by distributing across factors in a specific way.
3

Two-Term Structure

The derivative of f · g always produces two terms: one where f is differentiated while g is held fixed, and one where g is differentiated while f is held fixed. This symmetric structure is the hallmark of the Product Rule.
4

Extension to More Factors

For a product of three or more functions, the rule generalizes: differentiate each factor one at a time while holding the others constant, then sum all such terms. This pattern follows from repeated application of the two-function rule.
KEY TAKEAWAY
Think of the Product Rule like two engineers collaborating on a project. If both the design team (f) and the manufacturing team (g) are evolving simultaneously, the total rate of change of the project output isn't just the product of their individual improvement rates. Instead, you must account for each team's current output being amplified by the other team's rate of change. The Product Rule captures exactly this cross-interaction: f′g + fg′.

Visual Explanation

The most intuitive geometric proof of the Product Rule comes from thinking of the product f(x) · g(x) as the area of a rectangle whose side lengths are f(x) and g(x). When x changes by a small increment Δx, both sides change: f changes by Δf and g changes by Δg. The new area is (f + Δf)(g + Δg) = fg + f · Δg + g · Δf + Δf · Δg. The change in area is thus f · Δg + g · Δf + Δf · Δg. Dividing by Δx and taking the limit as Δx → 0 causes the last term to vanish, leaving f · g′ + g · f′.

The violet rectangle represents the original area f · g. When x increases by Δx, the cyan strip (f · Δg) and pink strip (g · Δf) account for most of the area change. The small amber corner rectangle Δf · Δg is second-order and vanishes upon taking the limit.

This area model is more than a mnemonic—it constitutes a genuine geometric proof of the Product Rule. The key insight is that the cross-terms f · Δg and g · Δf both scale linearly with Δx, so they survive the limit process. The corner term Δf · Δg scales as (Δx)², so dividing by Δx still leaves a factor of Δx, which tends to zero. This is why the Product Rule contains exactly two terms rather than three.

Mathematical Framework

We now present the formal statement, followed by a rigorous proof from the limit definition. Understanding this derivation is essential for AP Calculus AB, because the exam frequently tests whether students can apply the Product Rule correctly and understand its structure.

THE PRODUCT RULE
d/dx [f(x) · g(x)] = f′(x) · g(x) + f(x) · g′(x)
Where f and g are differentiable functions of x. In Leibniz notation: d(uv)/dx = (du/dx)v + u(dv/dx).

Proof from the Limit Definition

Starting from the definition of the derivative, we write the derivative of the product as a limit, then employ the classic algebraic trick of adding and subtracting the same term in the numerator to factor the expression.

STEP 1 — LIMIT DEFINITION
d/dx [f(x)g(x)] = lim(h→0) [f(x+h)g(x+h) − f(x)g(x)] / h
This is the standard difference quotient applied to the product f · g.
STEP 2 — ADD AND SUBTRACT f(x+h)g(x)
= lim(h→0) [f(x+h)g(x+h) − f(x+h)g(x) + f(x+h)g(x) − f(x)g(x)] / h
Inserting −f(x+h)g(x) + f(x+h)g(x) = 0 into the numerator allows factoring.
STEP 3 — FACTOR AND SEPARATE
= lim(h→0) { f(x+h) · [g(x+h)−g(x)]/h + g(x) · [f(x+h)−f(x)]/h }
As h → 0, f(x+h) → f(x) by continuity (differentiability implies continuity), [g(x+h)−g(x)]/h → g′(x), and [f(x+h)−f(x)]/h → f′(x). The result is f(x)g′(x) + g(x)f′(x). ∎
💡 Common Mnemonic
Many students remember the Product Rule as: "the first times the derivative of the second, plus the second times the derivative of the first." In shorthand: f · g′ + g · f′. The order of the two terms does not matter since addition is commutative.

Common Forms & Classification

The Product Rule appears in many guises on the AP exam. Recognizing these common product forms is essential for efficiency and accuracy. Below, a reference table shows the most frequently tested product types and their derivatives, all derived from the single formula (fg)′ = f′g + fg′.

Common product forms and their derivatives
Product Formf(x)g(x)Derivative (fg)′
x² · sin xsin x2x sin x + x² cos x
eˣ · ln xln xeˣ ln x + eˣ/x
(3x + 1)(x² − 4)3x + 1x² − 43(x² − 4) + (3x + 1)(2x)
x³ · eˣ3x²eˣ + x³eˣ = eˣ(3x² + x³)
√x · cos xx^(1/2)cos x(1/(2√x)) cos x − √x sin x
The dashed amber curve is f(x) = x², the dashed emerald curve is g(x) = sin x, the solid pink-violet curve is their product h(x) = x² sin x, and the dotted cyan-emerald curve is h′(x) = 2x sin x + x² cos x. Observe that h′ is zero wherever the tangent to h is horizontal.

The graph above illustrates a critical feature: the derivative of a product can have a much more complex shape than either factor alone. The oscillating behavior of h′(x) results from the interplay of the two terms 2x sin x and x² cos x. On the AP exam, you may be asked to identify intervals where h is increasing or decreasing by analyzing the sign of h′—skills that depend on correctly applying the Product Rule first.

Worked Example

Let us work through a complete example that combines the Product Rule with other differentiation techniques, mirroring the complexity of a typical AP Calculus AB free-response question.

Differentiate y = (2x³ + 5x) · eˣ
1
Step 1 — Identify the FactorsWe recognize this as a product of two functions. Let f(x) = 2x³ + 5x and g(x) = eˣ. Both are differentiable for all real numbers, so the Product Rule applies.
2
Step 2 — Differentiate Each FactorUsing the power rule: f′(x) = 6x² + 5. The exponential function is its own derivative: g′(x) = eˣ.
f′(x) = 6x² + 5, g′(x) = eˣ
3
Step 3 — Apply the Product RuleBy the Product Rule, dy/dx = f′(x) · g(x) + f(x) · g′(x) = (6x² + 5) · eˣ + (2x³ + 5x) · eˣ.
4
Step 4 — SimplifyFactor out the common factor eˣ: dy/dx = eˣ[(6x² + 5) + (2x³ + 5x)] = eˣ(2x³ + 6x² + 5x + 5).
dy/dx = eˣ(2x³ + 6x² + 5x + 5)
5
Step 5 — VerifyAs a sanity check, evaluate at x = 0. The original function gives y(0) = (0 + 0)(1) = 0, and the derivative gives y′(0) = e⁰(0 + 0 + 0 + 5) = 5. One can verify numerically that the tangent line y = 5x closely approximates the function near x = 0.
📝 AP Tip
On the AP exam, always simplify your answer by factoring out common terms (especially eˣ, sin x, or cos x). Graders award full credit for any correct equivalent form, but a clean factored answer reduces the risk of errors in subsequent parts of a free-response question.

Product Rule vs. Other Differentiation Rules

Students often confuse when to use the Product Rule versus the Chain Rule or the Quotient Rule, or they fail to recognize that the Product Rule is even needed. The following comparison table clarifies when each rule applies, how to recognize the appropriate situation, and what the resulting derivative looks like.

Comparison of major differentiation rules
RuleWhen to UseFormulaKey Signal
Product RuleTwo functions multiplied: f(x) · g(x)f′g + fg′Both factors contain x and are multiplied
Quotient RuleOne function divided by another: f(x)/g(x)(f′g − fg′) / g²A fraction with x in both numerator and denominator
Chain RuleA function composed inside another: f(g(x))f′(g(x)) · g′(x)A function applied to an inner expression
Sum/DifferenceFunctions added or subtracted: f(x) ± g(x)f′ ± g′Terms separated by + or −
WHEN RULES COMBINE
Many AP problems require combining the Product Rule with the Chain Rule. For example, differentiating x² · sin(3x) requires the Product Rule to handle the multiplication and the Chain Rule for sin(3x). Building fluency with each rule individually is the foundation for handling these composite problems efficiently.
⚠️ Common Error Alert
The most frequent mistake is writing d/dx[f · g] = f′ · g′. This is almost never correct. Remember: the derivative of a product is NOT the product of the derivatives. Always use f′g + fg′.

Connection to Advanced Theory

The Product Rule is not merely a computational tool—it is a cornerstone of differential calculus that extends into integration theory, multivariable calculus, and beyond. Understanding these connections deepens your appreciation of the rule and previews material you will encounter in AP Calculus BC and college-level courses.

How the Product Rule extends into higher mathematics
Concept in AP Calculus ABExtension in Advanced Courses
Product Rule: (fg)′ = f′g + fg′Integration by Parts: ∫f g′ dx = fg − ∫f′g dx (derived by integrating the Product Rule)
Product of two single-variable functionsProduct of multivariable functions: ∂(fg)/∂x = (∂f/∂x)g + f(∂g/∂x) in multivariable calculus
Finite products f · gLeibniz's General Rule: (fg)⁽ⁿ⁾ = Σ C(n,k) f⁽ᵏ⁾g⁽ⁿ⁻ᵏ⁾, a formula for the nth derivative of a product
Scalar-valued Product RuleVector-valued Product Rule: d/dt[f(t) · r(t)] = f′(t)r(t) + f(t)r′(t) for vector functions

The most important immediate extension for AP students is integration by parts, which is simply the Product Rule run in reverse. By rearranging (fg)′ = f′g + fg′ and integrating both sides, one obtains ∫fg′ dx = fg − ∫f′g dx. This technique, covered in AP Calculus BC, becomes one of the most powerful integration methods in all of calculus. Mastering the Product Rule now builds the conceptual foundation for that later work.

Practice Problems

1
If f and g are differentiable functions with f(2) = 3, f′(2) = −1, g(2) = 4, and g′(2) = 5, what is the value of d/dx[f(x) · g(x)] at x = 2?
2
Find the derivative of y = x⁴ · cos x.
3
Find the derivative of h(x) = (3x² − 2x + 1) · e²ˣ. (Note: You will need to use both the Product Rule and the Chain Rule.)
PROBLEM 4APPLIED
A particle moves along the x-axis. Its position at time t ≥ 0 is given by s(t) = t² · sin(πt) meters. (a) Find the velocity function v(t). (b) Find the velocity at t = 1. (c) Is the particle moving to the left or right at t = 1? (d) Find all times t in [0, 2] where the velocity is zero.
PROBLEM 5CRITICAL THINKING
Let f and g be differentiable functions. Prove that the derivative of f(x) · g(x) · h(x), where h is also differentiable, equals f′gh + fg′h + fgh′ by applying the Product Rule twice. Clearly show each application.

Summary

The Product Rule states that for two differentiable functions f and g, the derivative of their product is d/dx[f · g] = f′g + fg′. This rule is derived from the limit definition of the derivative using the algebraic technique of adding and subtracting a strategic term. Geometrically, it corresponds to the area model of a rectangle with changing side lengths, where the cross-terms survive the limit but the corner rectangle vanishes.

Key points to remember: the derivative of a product is not the product of the derivatives; the rule extends to products of three or more functions by repeated application; and it frequently appears in combination with the Chain Rule on the AP exam. Mastering the Product Rule also prepares you for integration by parts, which is the integral counterpart of this fundamental differentiation technique.

Varsity Tutors • AP Calculus AB • The Product Rule