CALCULUS 1 • DERIVATIVES: DEFINITION & RULES

Product Rule — The Product Rule

Learn how to differentiate the product of two functions without expanding or simplifying first.

Historical Context & Motivation

As calculus was being developed in the late 1600s, mathematicians quickly realized they needed efficient rules for finding derivatives. Computing a derivative from the limit definition every single time was tedious, even for simple functions. When two functions are multiplied together, you might be tempted to just differentiate each piece separately and multiply the results — but that approach gives the wrong answer. The Product Rule was developed to handle exactly this situation, providing a reliable shortcut for differentiating products of functions.

1665–1666
Newton's Fluxions
Isaac Newton developed his method of fluxions during the plague years. He discovered rules for differentiating sums, products, and powers of functions, though he did not publish his work for decades.
1684
Leibniz Publishes the Calculus
Gottfried Wilhelm Leibniz published his foundational calculus paper, including notation like dy/dx that we still use today. His framework made differentiation rules — including the product rule — accessible to a broader audience.
1690s
The Bernoulli Brothers Apply the Rules
Jakob and Johann Bernoulli used the product rule and other differentiation techniques to solve problems in physics and geometry, demonstrating how powerful these shortcut rules were for real-world applications.
1800s
Rigorous Foundations
Mathematicians like Cauchy and Weierstrass placed the derivative on a rigorous footing using limits. They formally proved the product rule from the limit definition, giving it the solid theoretical backing it has in modern textbooks.

The central question the product rule answers is deceptively simple: if you know the derivatives of two individual functions, how do you find the derivative of their product without expanding or simplifying the expression first? This is essential because many products — like x² · sin(x) — simply cannot be expanded into a single nice formula.

Core Principles & Definitions

Before diving into the formula, it helps to understand the key ideas that make the product rule work. The rule rests on the fact that when a product of two functions changes, both factors contribute to the change simultaneously. You cannot simply differentiate each factor on its own and multiply — you must account for the interplay between the two changing quantities.

1

Two Functions, One Product

The product rule applies whenever you have a function that can be written as h(x) = f(x) · g(x), where both f and g are differentiable. The key is recognizing that h is a product of two separate pieces.
2

Both Factors Change

When x changes by a tiny amount, both f(x) and g(x) change at the same time. The total change in the product comes from f changing while g stays put, plus g changing while f stays put.
3

The Formula

If h(x) = f(x) · g(x), then h′(x) = f′(x) · g(x) + f(x) · g′(x). You differentiate the first and multiply by the second, then add the first times the derivative of the second.
4

Order Doesn't Matter

Because addition is commutative, it doesn't matter which function you call f and which you call g. The two terms in the product rule can be written in either order, and you'll get the same result.
KEY TAKEAWAY
Think of the product rule like two dancers performing together. If both dancers change their moves at the same time, the overall performance changes in two ways: one dancer's new move paired with the other's current move, plus the first dancer's current move paired with the other's new move. The derivative of a product captures both contributions added together.

Visual Explanation

One of the best ways to understand the product rule is through an area model. Imagine a rectangle whose width is f(x) and whose height is g(x). The area of the rectangle is the product f(x) · g(x). When x increases by a tiny amount Δx, both the width and height change, creating new strips of area. The product rule captures exactly these new strips.

The rectangle has area f(x) · g(x). When x changes, the width grows by Δf and the height by Δg, creating a cyan vertical strip (f′ · g contribution) and a pink horizontal strip (f · g′ contribution). The tiny corner rectangle is negligible as Δx → 0.

Notice how the change in total area comes from two rectangular strips, not just one. The cyan strip on the right represents the area gained because the width increased — it has width Δf and height g(x). The pink strip along the bottom represents the area gained because the height increased — it has width f(x) and height Δg. As we take the limit and divide by Δx, these two contributions become exactly f′(x)·g(x) and f(x)·g′(x), giving us the product rule.

Mathematical Framework

Let's state the product rule precisely and then see where it comes from using the limit definition of the derivative. Understanding the proof helps you see why the formula has two terms.

THE PRODUCT RULE
d/dx [f(x) · g(x)] = f′(x) · g(x) + f(x) · g′(x)
f(x) and g(x) are differentiable functions. f′(x) is the derivative of f, and g′(x) is the derivative of g. The derivative of the product equals the derivative of the first times the second, plus the first times the derivative of the second.

Proof from the Limit Definition

Start with the limit definition of the derivative applied to the product h(x) = f(x) · g(x). The key trick is to add and subtract the term f(x + Δx) · g(x) in the numerator, which lets us factor the expression into two recognizable limits.

STEP 1 — LIMIT DEFINITION
h′(x) = lim[Δx→0] [f(x+Δx)·g(x+Δx) − f(x)·g(x)] / Δx
This is the standard limit definition applied to the product 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
We insert − f(x+Δx)·g(x) + f(x+Δx)·g(x) into the numerator. These cancel, so we haven't changed the value.
STEP 3 — FACTOR AND TAKE LIMITS
= lim[Δx→0] f(x+Δx) · [g(x+Δx)−g(x)]/Δx + g(x) · [f(x+Δx)−f(x)]/Δx
The first group gives f(x) · g′(x) (since f(x+Δx) → f(x) and the bracket → g′(x)). The second group gives g(x) · f′(x). Combined: f′(x)·g(x) + f(x)·g′(x).
⚠️ Common Mistake Alert
The derivative of f(x) · g(x) is NOT f′(x) · g′(x). You cannot simply differentiate each factor and multiply them together. Always use f′g + fg′.

Common Patterns & Extended Product Rule

Let's look at the most common types of products you'll encounter and how the product rule applies to each. Recognizing these patterns will help you work faster and more accurately. We'll also see how the rule extends to products of three or more functions.

The product rule follows the same pattern regardless of function type: differentiate one factor while keeping the other unchanged, then switch roles and add. For three factors, each one takes a turn being differentiated.

Notice the symmetry: no matter which type of functions you're working with, the product rule always produces two terms that are added together. For a product of three functions, you get three terms — each function takes its turn being differentiated while the other two remain unchanged. This pattern extends naturally to products of any number of functions.

Common product types and their derivatives
Product Typef(x)g(x)f′g + fg′
Poly × Polyx³ + 2x2x(x³+2x) + x²(3x²+2)
Poly × Trig3xcos(x)3·cos(x) + 3x·(−sin(x))
Poly × Expx⁴4x³·eˣ + x⁴·eˣ
Trig × Trigsin(x)cos(x)cos(x)·cos(x) + sin(x)·(−sin(x))

Worked Example

Let's walk through a complete example step by step. We'll find the derivative of h(x) = (x² + 3x) · sin(x) using the product rule.

Differentiate h(x) = (x² + 3x) · sin(x)
1
Step 1 — Identify f(x) and g(x)We have a product of two functions. Let f(x) = x² + 3x and g(x) = sin(x). Notice that neither function can be easily combined with the other — this is exactly when the product rule is needed.
f(x) = x² + 3x, g(x) = sin(x)
2
Step 2 — Find f′(x) and g′(x)Differentiate each factor separately. Using the power rule, f′(x) = 2x + 3. From our trig derivative rules, g′(x) = cos(x).
f′(x) = 2x + 3, g′(x) = cos(x)
3
Step 3 — Apply the Product RulePlug into the formula h′(x) = f′(x)·g(x) + f(x)·g′(x). This gives us: h′(x) = (2x + 3)·sin(x) + (x² + 3x)·cos(x).
h′(x) = (2x + 3)·sin(x) + (x² + 3x)·cos(x)
4
Step 4 — Simplify (if possible)In this case, the expression is already in its simplest form. Since we have both sin(x) and cos(x) terms that don't combine, we leave our answer as is. Sometimes you can factor out common terms, but here that's not helpful.
h′(x) = (2x + 3) sin(x) + (x² + 3x) cos(x)
Quick Check
To verify your answer makes sense, try plugging in x = 0. The original function gives h(0) = (0 + 0)·sin(0) = 0, and the derivative gives h′(0) = (0 + 3)·sin(0) + (0 + 0)·cos(0) = 0 + 0 = 0. This tells us the tangent line at x = 0 is horizontal, which makes sense because the function equals zero there.

Product Rule vs. Other Strategies

Not every product requires the product rule. Sometimes it's faster to simplify first. Knowing when to use the product rule and when to choose an alternative strategy will save you time and reduce errors.

Choosing the right differentiation strategy
SituationBest StrategyWhy
x² · sin(x)Product RuleCannot be expanded into a single function type
3x · (x² + 5)Expand first, then power ruleMultiplying out gives 3x³ + 15x, which is simpler
5 · eˣConstant multiple rule5 is a constant, not a function of x — just pull it out
eˣ · cos(x)Product RuleTwo distinct function types — no shortcut available
sin(x) / cos(x)Quotient Rule (or rewrite as tan(x))This is a quotient, not a product
WHEN TO USE THE PRODUCT RULE
Use the product rule when you have two (or more) functions of x multiplied together and you cannot simplify or expand the product into a simpler form. If one of the "factors" is just a constant (not involving x), use the constant multiple rule instead — it's simpler and faster.

Connection to the Quotient Rule & Beyond

The product rule is closely related to the quotient rule, which handles the derivative of f(x)/g(x). In fact, the quotient rule can be derived from the product rule by rewriting f/g as f · g⁻¹ and applying both the product rule and the chain rule. Understanding the product rule deeply makes learning these related rules much easier.

Comparing the product and quotient rules
FeatureProduct RuleQuotient Rule
Operationf(x) · g(x)f(x) / g(x)
Formulaf′g + fg′(f′g − fg′) / g²
SignAddition between termsSubtraction between terms
DenominatorNoneg(x) squared
PrerequisitePower rule and basic derivativesProduct rule understanding

Looking ahead, the product rule also plays a role in integration by parts, an important technique in integral calculus. Integration by parts is essentially the product rule run in reverse. Mastering the product rule now builds a strong foundation for the more advanced techniques you'll encounter in Calculus 2.

Practice Problems

Test your understanding with these five problems, ordered from conceptual to challenging. Try each one on paper before revealing the answer.

PROBLEM 1CONCEPTUAL
A student claims that the derivative of x² · sin(x) is simply 2x · cos(x). Explain why this is wrong and state what the correct answer should be.
PROBLEM 2BASIC CALCULATION
Find the derivative of h(x) = x³ · eˣ.
PROBLEM 3INTERMEDIATE
Differentiate y = (2x² − 5x + 1) · cos(x), and evaluate y′ at x = 0.
PROBLEM 4APPLIED
A particle's position at time t seconds is given by s(t) = t² · sin(t) meters. Find the velocity function v(t) = s′(t), and determine the velocity at t = π seconds.
PROBLEM 5CRITICAL THINKING
Use the product rule to find the derivative of y = x · x (that is, x²) and verify that it gives the same result as the power rule. Then use the product rule on y = f(x) · g(x) · k(x) (a triple product) to derive the formula for the derivative of three functions multiplied together.

Lesson Summary

The Product Rule states that the derivative of f(x) · g(x) equals f′(x) · g(x) + f(x) · g′(x). This formula captures the fact that when two functions are multiplied together, both contribute to the overall rate of change. The area model provides a visual explanation: the change in the product comes from two rectangular strips, each corresponding to one term in the formula.

Use the product rule whenever you have a product of two functions that cannot be easily simplified — for example, polynomial × trig or polynomial × exponential. Remember that the derivative of a product is not simply the product of the derivatives. The rule extends naturally to triple products and beyond, and it serves as the foundation for the quotient rule and integration by parts in future courses.

Varsity Tutors • Calculus 1 • Product Rule — The Product Rule