Achievable logoAchievable logo
AP Calculus AB
Sign in
Sign up
Purchase
Textbook
Practice exams
Support
How it works
Exam catalog
Mountain with a flag at the peak
Textbook
Introduction
1. Limits
2. Derivative basics
3. Advanced differentiation
4. Contextual uses
5. Analytical uses
6. Integration
7. Differential equations
8. Applications of integrals
9. Testing details tag
Wrapping up
Achievable logoAchievable logo
9. Testing details tag
Achievable AP Calculus AB
Our AP Calculus AB course is currently in development and is a work-in-progress.

Testing details tag

8 min read
Font
Discuss
Share
Feedback

Product rule

In the previous section, we found the derivative of

y=(x+1)(x3−2)

to be

y′=4x3+3x2−2

by fully expanding first and then applying the power rule term by term.

Expanding works, but there’s usually a faster approach when you’re differentiating a product of functions: use the product rule.

Here’s the formula for the derivative of the product of two functions f(x) and g(x):

Product rule:

dxd​[f(x)g(x)]=f(x)g′(x)+f′(x)g(x)

Read it like this:

  • Multiply the first function by the derivative of the second.
  • Add the derivative of the first function times the second function.

The mnemonic

"Left D right + right D left"

where “left” is the left (1st) function, “D” means “derivative,” and “right” is the right (2nd) function, may help you remember the product rule.

If you’d like to see where the rule comes from, the proof using the limit definition of the derivative is on Wikipedia.

Examples

Let’s redo the same problem using the product rule.

  1. Find the derivative of

y=(x+1)(x3−2)

using the product rule.

Click for solution:

y is the product of two functions:

f(x)g(x)​=x+1=x3−2​

It helps to list each function and its derivative before substituting into the formula.

Function Expression
f(x) x+1
f′(x) 1
g(x) x3−2
g′(x) 3x2

Now substitute into the product rule:

dxd​[f(x)g(x)]​=(x+1)(3x2)​f(x)g′(x)​+(1)(x3−2)​f′(x)g(x)​=3x3+3x2+x3−2=4x3+3x2−2​​

This matches the result from expanding first.

  1. Differentiate

h(t)=t​(t+1)

in two different ways:

i. With the product rule.
ii. With the power rule (expanding into individual terms with powers first).

Click for solution:

Answer:

h′(t)=23​t1/2+21​t−1/2

i. With product rule

Write h(t) as a product f(t)g(t):

Function Expression
f(t) t1/2
f′(t) 21​t−1/2
g(t) t+1
g′(t) 1

Apply the product rule:

h′(t)​=(t1/2)(1)​f(t)g′(t)​+(21​t−1/2)(t+1)​f′(t)g(t)​=t1/2+21​t−1/2(t+1)=t1/2+21​t1/2+21​t−1/2=23​t1/2+2t1/21​​​

ii. With power rule

Rewrite t​ as t1/2 and distribute:

h(t)=t1/2(t+1)=t3/2+t1/2

Now apply the power rule to each term:

h′(t)=23​t1/2+21​t−1/2

Next, let’s find the derivative of a function that is the product of 3 functions.

  1. Find the derivative of

f(x)=(x2+1)(2x+1)(3−x)

Click for solution:

Answer:

f′(x)=−8x3+15x2+2x+5

Even though f(x) is a product of three factors, you can treat it as a product of two functions by grouping:

L(x)R(x)​=[(x2+1)(2x+1)]=(3−x)​

Then f(x)=L(x)R(x). Remember: you’ll still need the product rule again to find L′(x).

Function Expression
L(x) (x2+1)(2x+1)
L′(x) 6x2+2x+2
R(x) 3−x
R′(x) −1

Now apply the product rule to f(x)=L(x)R(x):

f′(x)=(x2+1)(2x+1)(−1)+(6x2+2x+2)(3−x)

After expanding and simplifying,

f′(x)=−8x3+15x2+2x+5​

Alternatively, you could expand L(x)=(x2+1)(2x+1) into a polynomial, use the power rule to find L′(x), and then combine with R(x)=(3−x) using the product rule.

You could also fully expand the original function and use only the power rule. Try both approaches to confirm the same final derivative.

Let’s do a word problem that involves derivatives.

  1. A rectangle has length (2t−1) and height (5t+3), where t is the time in seconds and the dimensions are in meters. What is the rate of change of the area with respect to time?
Click for solution:

Answer:

dtdA​=20t+1

“Rate of change” tells you to take a derivative. Here, the quantity changing is the area A.

Start by writing the area as a function of time. Since area = (length)(height),

A(t)=(2t−1)(5t+3)

Differentiate using the product rule:

dtd​[A(t)]​=(2t−1)(5)+2(5t+3)=10t−5+10t+6=20t+1​​

So the rate of change of area at time t is A′(t)=20t+1. The units are meters2/second because you’re measuring “change in area per change in time,” dtdA​.

Quotient rule

When a function is written as a quotient of two functions, the quotient rule can be used. Here’s the formula to differentiate a quotient g(x)f(x)​:

Quotient rule:

dxd​[g(x)f(x)​]=[g(x)]2g(x)f′(x)−f(x)g′(x)​

A good way to keep the structure straight is to think in steps:

  • (Bottom)(derivative of top)
  • minus (top)(derivative of bottom)
  • all over (bottom)2

The rhyme

"Lo-D-Hi minus Hi-D-Lo, all over the square of what’s below."

where “low” represents the bottom function and “high” is the top function, “D” means derivative again, and the “square of what’s below” means square the bottom function, is a catchy way to remember the rule.

The proof of the quotient rule from the limit definition of the derivative can also be found on Wikipedia.

Examples

  1. Find the derivative of

h(x)=x−1x+1​

Click for solution:

Answer:

h′(x)=−(x−1)22​

Identify the top and bottom functions:

  • Top: f(x)=(x+1), so f′(x)=1
  • Bottom: g(x)=(x−1), so g′(x)=1

Apply the quotient rule:

h′(x)​=(g(x))2(x−1)2​​(x−1)(1)​g(x)f′(x)​−(x+1)(1)​f(x)g′(x)​​=(x−1)2x−1−x−1​=(x−1)2−2​​​

  1. Find the derivative of

y=x23x4+1​

in two different ways:

i. With the quotient rule.
ii. No quotient rule.

Click for solution:

Answer:

y′=6x−x32​

i. Quotient rule

Let

  • f(x)=3x4+1, so f′(x)=12x3
  • g(x)=x2, so g′(x)=2x

Apply the quotient rule:

y′=(x2)2(x2)(12x3)−(3x4+1)(2x)​

=x412x5−6x5−2x​

=x46x5−2x​

Split the fraction into two simpler terms:

x46x5​−x42x​

=6x−x32​​

ii. No quotient rule

Split the original fraction first:

y=x23x4​+x21​

Simplify:

y=3x2+x−2

Now use the power rule:

y′=6x−2x−3

=6x−x32​

AP tip:

Look for opportunities to split fractions to save time if you can avoid the quotient rule. Just make sure you’re splitting correctly. For example,

x+1x3​=xx3​+1x3​

To see why, try substituting numbers such as

2+18​

which does not equal

28​+18​

Let’s find the derivative of

f(x)=x+1x3​

using the quotient rule.

Click for solution:

f′(x)​=(x+1)2(x+1)(3x2)−(x3)(1)​=(x+1)23x3+3x2−x3​=(x+1)22x3+3x2​​​

Sidenote
Symbols as coefficients

If you see a function like

y=4πx2​

you don’t need the quotient rule. The fraction 4π​ is just a constant coefficient multiplying x2.

Keep the constant in front and apply the constant multiple rule and the power rule:

y′=4π​(2x)=2πx​

Product rule

  • Formula: dxd​[f(x)g(x)]=f(x)g′(x)+f′(x)g(x)
  • Mnemonic: “Left D right + right D left”
  • Use for derivatives of products of functions

Product rule examples

  • List each function and its derivative before substituting
  • Can use product rule or expand first, both give same result
  • For more than two factors, group and apply product rule recursively

Word problems with product rule

  • Area or other quantities as products: differentiate using product rule
  • Rate of change = derivative with respect to time (e.g., dtdA​)

Quotient rule

  • Formula: dxd​[g(x)f(x)​]=[g(x)]2g(x)f′(x)−f(x)g′(x)​
  • Mnemonic: “Lo-D-Hi minus Hi-D-Lo, all over the square of what’s below”
  • Use for derivatives of quotients of functions

Quotient rule examples

  • Identify top (f(x)) and bottom (g(x)) functions and their derivatives
  • Substitute into quotient rule formula and simplify
  • Alternative: rewrite as sum of terms (if possible) to use power rule instead

AP tip and simplification

  • Split fractions into simpler terms before differentiating, if possible
  • Do not split denominators incorrectly (e.g., x+1x3​=xx3​+1x3​)
  • Constants in numerators/denominators can be factored out and treated as coefficients
All rights reserved ©2016 - 2026 Achievable, Inc.

Testing details tag

Product rule

In the previous section, we found the derivative of

y=(x+1)(x3−2)

to be

y′=4x3+3x2−2

by fully expanding first and then applying the power rule term by term.

Expanding works, but there’s usually a faster approach when you’re differentiating a product of functions: use the product rule.

Here’s the formula for the derivative of the product of two functions f(x) and g(x):

Product rule:

dxd​[f(x)g(x)]=f(x)g′(x)+f′(x)g(x)

Read it like this:

  • Multiply the first function by the derivative of the second.
  • Add the derivative of the first function times the second function.

The mnemonic

"Left D right + right D left"

where “left” is the left (1st) function, “D” means “derivative,” and “right” is the right (2nd) function, may help you remember the product rule.

If you’d like to see where the rule comes from, the proof using the limit definition of the derivative is on Wikipedia.

Examples

Let’s redo the same problem using the product rule.

  1. Find the derivative of

y=(x+1)(x3−2)

using the product rule.

Click for solution:

y is the product of two functions:

f(x)g(x)​=x+1=x3−2​

It helps to list each function and its derivative before substituting into the formula.

Function Expression
f(x) x+1
f′(x) 1
g(x) x3−2
g′(x) 3x2

Now substitute into the product rule:

dxd​[f(x)g(x)]​=(x+1)(3x2)​f(x)g′(x)​+(1)(x3−2)​f′(x)g(x)​=3x3+3x2+x3−2=4x3+3x2−2​​

This matches the result from expanding first.

  1. Differentiate

h(t)=t​(t+1)

in two different ways:

i. With the product rule.
ii. With the power rule (expanding into individual terms with powers first).

Click for solution:

Answer:

h′(t)=23​t1/2+21​t−1/2

i. With product rule

Write h(t) as a product f(t)g(t):

Function Expression
f(t) t1/2
f′(t) 21​t−1/2
g(t) t+1
g′(t) 1

Apply the product rule:

h′(t)​=(t1/2)(1)​f(t)g′(t)​+(21​t−1/2)(t+1)​f′(t)g(t)​=t1/2+21​t−1/2(t+1)=t1/2+21​t1/2+21​t−1/2=23​t1/2+2t1/21​​​

ii. With power rule

Rewrite t​ as t1/2 and distribute:

h(t)=t1/2(t+1)=t3/2+t1/2

Now apply the power rule to each term:

h′(t)=23​t1/2+21​t−1/2

Next, let’s find the derivative of a function that is the product of 3 functions.

  1. Find the derivative of

f(x)=(x2+1)(2x+1)(3−x)

Click for solution:

Answer:

f′(x)=−8x3+15x2+2x+5

Even though f(x) is a product of three factors, you can treat it as a product of two functions by grouping:

L(x)R(x)​=[(x2+1)(2x+1)]=(3−x)​

Then f(x)=L(x)R(x). Remember: you’ll still need the product rule again to find L′(x).

Function Expression
L(x) (x2+1)(2x+1)
L′(x) 6x2+2x+2
R(x) 3−x
R′(x) −1

Now apply the product rule to f(x)=L(x)R(x):

f′(x)=(x2+1)(2x+1)(−1)+(6x2+2x+2)(3−x)

After expanding and simplifying,

f′(x)=−8x3+15x2+2x+5​

Alternatively, you could expand L(x)=(x2+1)(2x+1) into a polynomial, use the power rule to find L′(x), and then combine with R(x)=(3−x) using the product rule.

You could also fully expand the original function and use only the power rule. Try both approaches to confirm the same final derivative.

Let’s do a word problem that involves derivatives.

  1. A rectangle has length (2t−1) and height (5t+3), where t is the time in seconds and the dimensions are in meters. What is the rate of change of the area with respect to time?
Click for solution:

Answer:

dtdA​=20t+1

“Rate of change” tells you to take a derivative. Here, the quantity changing is the area A.

Start by writing the area as a function of time. Since area = (length)(height),

A(t)=(2t−1)(5t+3)

Differentiate using the product rule:

dtd​[A(t)]​=(2t−1)(5)+2(5t+3)=10t−5+10t+6=20t+1​​

So the rate of change of area at time t is A′(t)=20t+1. The units are meters2/second because you’re measuring “change in area per change in time,” dtdA​.

Quotient rule

When a function is written as a quotient of two functions, the quotient rule can be used. Here’s the formula to differentiate a quotient g(x)f(x)​:

Quotient rule:

dxd​[g(x)f(x)​]=[g(x)]2g(x)f′(x)−f(x)g′(x)​

A good way to keep the structure straight is to think in steps:

  • (Bottom)(derivative of top)
  • minus (top)(derivative of bottom)
  • all over (bottom)2

The rhyme

"Lo-D-Hi minus Hi-D-Lo, all over the square of what’s below."

where “low” represents the bottom function and “high” is the top function, “D” means derivative again, and the “square of what’s below” means square the bottom function, is a catchy way to remember the rule.

The proof of the quotient rule from the limit definition of the derivative can also be found on Wikipedia.

Examples

  1. Find the derivative of

h(x)=x−1x+1​

Click for solution:

Answer:

h′(x)=−(x−1)22​

Identify the top and bottom functions:

  • Top: f(x)=(x+1), so f′(x)=1
  • Bottom: g(x)=(x−1), so g′(x)=1

Apply the quotient rule:

h′(x)​=(g(x))2(x−1)2​​(x−1)(1)​g(x)f′(x)​−(x+1)(1)​f(x)g′(x)​​=(x−1)2x−1−x−1​=(x−1)2−2​​​

  1. Find the derivative of

y=x23x4+1​

in two different ways:

i. With the quotient rule.
ii. No quotient rule.

Click for solution:

Answer:

y′=6x−x32​

i. Quotient rule

Let

  • f(x)=3x4+1, so f′(x)=12x3
  • g(x)=x2, so g′(x)=2x

Apply the quotient rule:

y′=(x2)2(x2)(12x3)−(3x4+1)(2x)​

=x412x5−6x5−2x​

=x46x5−2x​

Split the fraction into two simpler terms:

x46x5​−x42x​

=6x−x32​​

ii. No quotient rule

Split the original fraction first:

y=x23x4​+x21​

Simplify:

y=3x2+x−2

Now use the power rule:

y′=6x−2x−3

=6x−x32​

AP tip:

Look for opportunities to split fractions to save time if you can avoid the quotient rule. Just make sure you’re splitting correctly. For example,

x+1x3​=xx3​+1x3​

To see why, try substituting numbers such as

2+18​

which does not equal

28​+18​

Let’s find the derivative of

f(x)=x+1x3​

using the quotient rule.

Click for solution:

f′(x)​=(x+1)2(x+1)(3x2)−(x3)(1)​=(x+1)23x3+3x2−x3​=(x+1)22x3+3x2​​​

Sidenote
Symbols as coefficients

If you see a function like

y=4πx2​

you don’t need the quotient rule. The fraction 4π​ is just a constant coefficient multiplying x2.

Keep the constant in front and apply the constant multiple rule and the power rule:

y′=4π​(2x)=2πx​

Key points

Product rule

  • Formula: dxd​[f(x)g(x)]=f(x)g′(x)+f′(x)g(x)
  • Mnemonic: “Left D right + right D left”
  • Use for derivatives of products of functions

Product rule examples

  • List each function and its derivative before substituting
  • Can use product rule or expand first, both give same result
  • For more than two factors, group and apply product rule recursively

Word problems with product rule

  • Area or other quantities as products: differentiate using product rule
  • Rate of change = derivative with respect to time (e.g., dtdA​)

Quotient rule

  • Formula: dxd​[g(x)f(x)​]=[g(x)]2g(x)f′(x)−f(x)g′(x)​
  • Mnemonic: “Lo-D-Hi minus Hi-D-Lo, all over the square of what’s below”
  • Use for derivatives of quotients of functions

Quotient rule examples

  • Identify top (f(x)) and bottom (g(x)) functions and their derivatives
  • Substitute into quotient rule formula and simplify
  • Alternative: rewrite as sum of terms (if possible) to use power rule instead

AP tip and simplification

  • Split fractions into simpler terms before differentiating, if possible
  • Do not split denominators incorrectly (e.g., x+1x3​=xx3​+1x3​)
  • Constants in numerators/denominators can be factored out and treated as coefficients