Unit 2.8 – The Product Rule
AP® Calculus AB & BC | Differentiating Products of Functions
Core Concept: So far you've learned to differentiate sums, differences, and individual functions. But what about products? Can you just multiply the derivatives? NO! That's the #1 mistake students make. Topic 2.8 introduces the Product Rule—the correct way to find the derivative when two functions are multiplied together. This rule is essential for AP® Calculus because many real-world functions are naturally expressed as products. Master this rule and you'll unlock the ability to differentiate exponential-trig combinations, polynomial-log products, and countless other function types!
⚠️ CRITICAL: THE MOST COMMON MISTAKE ⚠️
The derivative of a product is NOT the product of derivatives!
Example showing why this is wrong:
Let \(f(x) = x^2\) and \(g(x) = x^3\)
- Correct approach: \(f(x) \cdot g(x) = x^5\), so \(\frac{d}{dx}[x^5] = 5x^4\) ✓
- Wrong approach: \(f'(x) \cdot g'(x) = 2x \cdot 3x^2 = 6x^3\) ✗ (different answer!)
You MUST use the Product Rule!
⚡ The Product Rule Formula
THE PRODUCT RULE
If \(u\) and \(v\) are differentiable functions of \(x\), then:
Alternative Notation:
Or using f and g:
Shorthand notation:
🎯 MEMORY AIDS FOR THE PRODUCT RULE
Method 1: The Chant
"First d Second, plus Second d First"
Translation: (First function) × (derivative of Second) + (Second function) × (derivative of First)
Method 2: The Pattern
Take the first function, keep it. Differentiate the second.
Then ADD: Take the second function, keep it. Differentiate the first.
Method 3: Left-Right Mnemonic
"Left d Right, plus Right d Left"
📝 Product Rule in Plain English:
To find the derivative of a product of two functions:
- Keep the first function unchanged
- Multiply by the derivative of the second function
- Add (+)
- Keep the second function unchanged
- Multiply by the derivative of the first function
🎯 When to Use the Product Rule
Use the Product Rule when:
- Two functions are multiplied: \(x^2 \cdot \sin x\), \(e^x \cdot \ln x\), \((3x+1) \cdot \cos x\)
- You CAN'T easily expand: Trig, exponential, or log functions mixed with polynomials
- Expanding would be messier: Even if you could expand, Product Rule might be easier
DON'T use the Product Rule when:
- You can easily expand: \((x+1)(x-2) = x^2 - x - 2\) → Just use power rule
- It's really a constant multiple: \(5x^3\) is NOT a product—it's constant × function
- You can simplify first: \(x \cdot x^2 = x^3\) → Simpler to combine then differentiate
📖 Comprehensive Worked Examples
Example 1: Basic Product (Polynomial × Trig)
Problem: Find \(\frac{d}{dx}[x^2 \sin x]\)
Solution:
- Identify the two functions:
- First function: \(u = x^2\)
- Second function: \(v = \sin x\)
- Find each derivative:
- \(u' = 2x\)
- \(v' = \cos x\)
- Apply Product Rule: First d Second + Second d First
\[ \frac{d}{dx}[x^2 \sin x] = x^2 \cdot \cos x + \sin x \cdot 2x \]
- Simplify (optional):
\[ = x^2 \cos x + 2x \sin x \]
Or factor: \(= x(x \cos x + 2 \sin x)\)
Answer: \(x^2 \cos x + 2x \sin x\)
Example 2: Exponential × Polynomial
Problem: Differentiate \(f(x) = e^x \cdot x^3\)
Solution:
- Identify: \(u = e^x\), \(v = x^3\)
- Derivatives: \(u' = e^x\), \(v' = 3x^2\)
- Product Rule:
\[ f'(x) = e^x \cdot 3x^2 + x^3 \cdot e^x \]
- Factor out \(e^x\):
\[ f'(x) = e^x(3x^2 + x^3) \]
Can further factor: \(= e^x \cdot x^2(3 + x)\)
Answer: \(e^x(3x^2 + x^3)\) or \(e^x x^2(x + 3)\)
Example 3: Both Functions are Trig
Problem: Find \(g'(x)\) for \(g(x) = \sin x \cdot \cos x\)
Solution:
- Identify: \(u = \sin x\), \(v = \cos x\)
- Derivatives: \(u' = \cos x\), \(v' = -\sin x\) (don't forget negative!)
- Product Rule:
\[ g'(x) = \sin x \cdot (-\sin x) + \cos x \cdot \cos x \]
- Simplify:
\[ g'(x) = -\sin^2 x + \cos^2 x = \cos^2 x - \sin^2 x \]
- Bonus identity: This equals \(\cos(2x)\)! (double angle formula)
Answer: \(\cos^2 x - \sin^2 x\) or \(\cos(2x)\)
Example 4: Polynomial × Natural Log
Problem: Find \(\frac{dy}{dx}\) for \(y = x^3 \ln x\)
Solution:
- Identify: \(u = x^3\), \(v = \ln x\)
- Derivatives: \(u' = 3x^2\), \(v' = \frac{1}{x}\)
- Product Rule:
\[ \frac{dy}{dx} = x^3 \cdot \frac{1}{x} + \ln x \cdot 3x^2 \]
- Simplify:
- \(x^3 \cdot \frac{1}{x} = x^2\)
- Result: \(x^2 + 3x^2 \ln x\)
- Factor (optional): \(= x^2(1 + 3\ln x)\)
Answer: \(x^2 + 3x^2 \ln x\) or \(x^2(1 + 3\ln x)\)
Example 5: More Complex Expression
Problem: Differentiate \(h(x) = (2x^2 - 3x + 1) \cdot e^x\)
Solution:
- Identify: \(u = 2x^2 - 3x + 1\), \(v = e^x\)
- Derivatives:
- \(u' = 4x - 3\)
- \(v' = e^x\)
- Product Rule:
\[ h'(x) = (2x^2 - 3x + 1) \cdot e^x + e^x \cdot (4x - 3) \]
- Factor out \(e^x\):
\[ h'(x) = e^x[(2x^2 - 3x + 1) + (4x - 3)] \]
- Combine like terms:
\[ h'(x) = e^x(2x^2 + x - 2) \]
Answer: \(e^x(2x^2 + x - 2)\)
Example 6: When NOT to Use Product Rule
Problem: Find \(\frac{d}{dx}[(x + 2)(x - 3)]\)
Option 1: Product Rule (works but more work)
- \(u = x + 2\), \(v = x - 3\)
- \(u' = 1\), \(v' = 1\)
- \((x + 2)(1) + (x - 3)(1) = x + 2 + x - 3 = 2x - 1\)
Option 2: Expand First (easier!)
- Expand: \((x + 2)(x - 3) = x^2 - x - 6\)
- Differentiate: \(\frac{d}{dx}[x^2 - x - 6] = 2x - 1\)
Answer: \(2x - 1\) (same result, but expanding first was simpler!)
Lesson: When both functions are simple polynomials, expand first before differentiating.
📐 Proof of the Product Rule
Theorem: If \(u\) and \(v\) are differentiable functions, then \(\frac{d}{dx}[uv] = uv' + vu'\)
Proof (Using Limit Definition):
- Start with the limit definition:
\[ \frac{d}{dx}[u(x)v(x)] = \lim_{h \to 0} \frac{u(x+h)v(x+h) - u(x)v(x)}{h} \]
- Add and subtract \(u(x+h)v(x)\) in the numerator (clever trick!):
\[ = \lim_{h \to 0} \frac{u(x+h)v(x+h) - u(x+h)v(x) + u(x+h)v(x) - u(x)v(x)}{h} \]
- Factor and separate:
\[ = \lim_{h \to 0} \frac{u(x+h)[v(x+h) - v(x)] + v(x)[u(x+h) - u(x)]}{h} \]
- Split into two limits:
\[ = \lim_{h \to 0} u(x+h) \cdot \frac{v(x+h) - v(x)}{h} + \lim_{h \to 0} v(x) \cdot \frac{u(x+h) - u(x)}{h} \]
- Evaluate limits:
- \(\lim_{h \to 0} u(x+h) = u(x)\) (continuity)
- \(\lim_{h \to 0} \frac{v(x+h) - v(x)}{h} = v'(x)\) (definition of derivative)
- \(\lim_{h \to 0} \frac{u(x+h) - u(x)}{h} = u'(x)\) (definition of derivative)
- Final result:
\[ \frac{d}{dx}[uv] = u \cdot v' + v \cdot u' \quad \checkmark \]
🔢 Extension: Product of More Than Two Functions
If you have three functions multiplied together:
Pattern: Differentiate one factor at a time, keeping the others unchanged, then sum all terms.
Example: Find \(\frac{d}{dx}[x^2 \cdot \sin x \cdot e^x]\)
- \(u = x^2\), \(v = \sin x\), \(w = e^x\)
- \(u' = 2x\), \(v' = \cos x\), \(w' = e^x\)
- Apply formula:
\[ = 2x \cdot \sin x \cdot e^x + x^2 \cdot \cos x \cdot e^x + x^2 \cdot \sin x \cdot e^x \]
- Factor \(e^x\): \(= e^x(2x\sin x + x^2\cos x + x^2\sin x)\)
📝 General Rule: For a product of n functions, the derivative is the sum of n terms, where each term has one factor differentiated and all others kept the same.
💡 Tips, Tricks & Strategies
✅ Essential Tips
- Memorize the chant: "First d Second plus Second d First" until it's automatic
- Write out u and v: Label your functions clearly before applying the rule
- Find derivatives first: Calculate u' and v' before substituting into formula
- Don't forget the plus: Product Rule has TWO terms connected by addition
- Simplify at the end: Factor out common terms, combine like terms
- Check by expanding: For simple polynomials, expand first to see if it's easier
- Order doesn't matter: \(uv' + vu'\) and \(vu' + uv'\) are the same (addition is commutative)
🎯 Step-by-Step Workflow
Universal Process for Product Rule:
- IDENTIFY: Label the two functions as u and v (or first and second)
- DIFFERENTIATE: Find u' and v' separately
- FIRST TERM: Write u times v' (first function × derivative of second)
- PLUS SIGN: Don't forget the addition!
- SECOND TERM: Write v times u' (second function × derivative of first)
- SIMPLIFY: Factor, combine like terms, clean up notation
- VERIFY: Quick check—do you have two terms? Did you differentiate each function once?
🔥 Memory Devices
Mnemonic #1: The Rhythm
"First times d-Second,
Plus Second times d-First"
Say this out loud while writing! The rhythm helps it stick.
Mnemonic #2: The Song Parody
(To the tune of "Row, Row, Row Your Boat")
"First, first, dee the second,
Plus the second, first.
Merrily, merrily, merrily, merrily,
Product Rule works best!"
Visual Pattern:
\((uv)' = \boxed{u}v' + \boxed{v}u'\)
Keep the boxed functions, differentiate the others!
❌ Common Mistakes to Avoid
- Mistake 1: Product of derivatives → \((uv)' \neq u' \cdot v'\) ❌ (biggest mistake!)
- Mistake 2: Forgetting the second term → \((uv)' \neq uv'\) ❌ (incomplete!)
- Mistake 3: Wrong sign between terms → Product Rule uses PLUS, not minus
- Mistake 4: Differentiating the same function twice → Each function differentiated exactly once
- Mistake 5: Not simplifying → \(x^3 \cdot \frac{1}{x} = x^2\), don't leave it unsimplified
- Mistake 6: Using Product Rule for constants → \(\frac{d}{dx}[5x^3] = 15x^2\), not Product Rule
- Mistake 7: Mixing up u and v → Doesn't technically matter, but be consistent
- Mistake 8: Not parenthesizing negatives → \(\frac{d}{dx}[x^2(-\sin x)]\), watch the signs!
📝 Practice Problems
Find the derivative of each function:
- \(f(x) = x \cdot e^x\)
- \(g(x) = (3x^2 + 1) \cdot \sin x\)
- \(h(x) = \cos x \cdot \ln x\)
- \(k(x) = x^4 \cdot e^x\)
- \(f(x) = (x - 5)(x + 2)\) (hint: is Product Rule necessary?)
- If \(f(x) = x^2 \cdot \cos x\), find \(f'(\pi)\)
Answers:
- \(f'(x) = e^x + xe^x = e^x(1 + x)\)
- \(g'(x) = (3x^2 + 1)\cos x + \sin x \cdot 6x = (3x^2 + 1)\cos x + 6x\sin x\)
- \(h'(x) = \cos x \cdot \frac{1}{x} + \ln x \cdot (-\sin x) = \frac{\cos x}{x} - \ln x \sin x\)
- \(k'(x) = x^4 e^x + e^x \cdot 4x^3 = e^x(x^4 + 4x^3) = e^x x^3(x + 4)\)
- Expand first: \(f(x) = x^2 - 3x - 10\), so \(f'(x) = 2x - 3\)
- \(f'(x) = x^2(-\sin x) + \cos x \cdot 2x = -x^2\sin x + 2x\cos x\)
At \(x = \pi\): \(f'(\pi) = -\pi^2\sin(\pi) + 2\pi\cos(\pi) = 0 + 2\pi(-1) = -2\pi\)
✏️ AP® Exam Success Tips
What the AP® Exam Expects:
- Show your work on FRQ: Write out u, v, u', v' clearly
- State the rule: Briefly indicate "using Product Rule"
- Simplify completely: Factor out common terms, combine like terms
- Watch for unnecessary use: Don't use Product Rule when expanding is easier
- Check your answer: Make sure you have two terms added together
- Mixed with other rules: Often combined with Chain Rule (Topic 2.9)
- Don't write product of derivatives: This is auto-wrong on FRQ
Common FRQ Formats:
- "Find f'(x) for f(x) = [product of functions]"
- "Find the equation of the tangent line at x = a" (need Product Rule first)
- "At what rate is the area changing..." (Product Rule in context)
- "Justify why f'(c) = 0" (often requires Product Rule calculation)
- "Find all critical points of f" (need derivative first)
- "Determine intervals where f is increasing" (need f' > 0, so find f' first)
💡 Pro Tip: On multiple choice, if you see a product, immediately think "Product Rule OR can I expand first?" This decision tree will save you time!
⚡ Ultimate Quick Reference
THE PRODUCT RULE - MEMORIZE NOW!
"First d Second, Plus Second d First"
| DO Use Product Rule | DON'T Use Product Rule |
|---|---|
| \(x^2 \sin x\) | \((x+1)(x-2)\) → Expand first |
| \(e^x \ln x\) | \(5x^3\) → Constant multiple |
| \((3x+1)\cos x\) | \(x \cdot x^2 = x^3\) → Simplify first |
⚠️ NEVER WRITE: (uv)' = u' · v' ⚠️
🔗 Why This Topic Matters
Topic 2.8 connects to:
- Topic 2.9: Quotient Rule is derived from Product Rule
- Topic 2.10: Chain Rule often used WITH Product Rule
- Unit 3: Optimization problems often involve products
- Unit 4: Related rates frequently need Product Rule
- Unit 6: Integration by parts is "reverse" Product Rule
- BC Only - Unit 10: Taylor series derivatives use Product Rule
- Real-world: Area, volume, and many physics formulas are products
Remember: The Product Rule states that \(\frac{d}{dx}[u \cdot v] = uv' + vu'\), or in words: "First times derivative of Second, plus Second times derivative of First." This is NOT the same as the product of derivatives (\(u' \cdot v'\))—that's the #1 mistake! Use the Product Rule whenever you have two functions multiplied together that can't be easily expanded or simplified. The chant "First d Second plus Second d First" should become automatic. For more than two functions, differentiate one at a time while keeping others unchanged. Remember: when both functions are simple polynomials, it's often easier to expand first then use the power rule. Master the Product Rule—it's essential for the AP® exam and appears in countless real-world applications! 🎯✨