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
2.1 Definition of the derivative
2.2 Tangent lines & slopes
2.3 Power rule
2.4 Product & quotient rules
2.5 Special derivatives
2.6 Differentiability & continuity
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
2.4 Product & quotient rules
Achievable AP Calculus AB
2. Derivative basics
Our AP Calculus AB course is currently in development and is a work-in-progress.

Product & quotient rules

8 min read
Font
Discuss
Share
Feedback

What you’ll learn:

  • How to differentiate products or quotients of two or more functions

Product rule

In the previous section, we found the derivative of

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

by fully expanding and then using the power rule on each term. That gave

y′=4x3+3x2−2.

Expanding works, but it can get messy quickly. A more direct method for differentiating a product is the product rule.

The formula for differentiating the product of two functions f(x) and g(x) is:

Product rule:

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

Here’s the idea in words:

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

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 want to see where the product 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.

Solution

(spoiler)

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).

Solution

(spoiler)

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​t1/2+21​t−1/2=23​t1/2+2t1/21​​​

ii. With power rule

First rewrite t​ as t1/2 and distribute:

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

Now apply the power rule term-by-term:

h′(t)=23​t1/2+1/2t−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)

Solution

(spoiler)

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

Even though f(x) is a product of three factors, you can still use the product rule by grouping two factors into one function. For example, define

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

Then f(x)=L(x)R(x).

Keep in mind: to find L′(x), you also need the product rule (since L(x) is itself a product).

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 entire function and use only the power rule.

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?

Solution

(spoiler)

Answer: dtdA​=20t+1​

“Rate of change” tells you to take a derivative. Here, the quantity changing is the area A, and the variable is time t, so we want dtdA​.

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​​

This derivative gives the rate of change of area at time t. The units are meters2/second because it represents (change in area)/(change in time).

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 read the formula is as a sequence of steps:

  • Multiply the bottom function by the derivative of the top.
  • Subtract the top function times the derivative of the bottom.
  • Divide by the square of the bottom function.

A catchy way to remember the rule is the rhyme

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

“Lo” represents the lower/bottom function, “Hi” is the higher/top function, “D” means derivative again, and the “square of what’s below” means square the bottom function.

The proof of the quotient rule from the limit definition of the derivative is also on Wikipedia.

Examples

  1. Find the derivative of

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

Solution

(spoiler)

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.

Substitute into 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.

Solution

(spoiler)

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​

Now split the fraction into two simpler terms:

x46x5​−x42x​

=6x−x32​​

ii. No quotient rule

Start by splitting the original fraction:

y=x23x4​+x21​.

Simplify each term:

y=3x2+x−2.

Differentiate using the power rule:

y′=6x−2x−3

=6x−x32​

AP tip:

Look for opportunities to split fractions to save time when the quotient rule can be avoided. However, be careful not to split a fraction incorrectly. For example,

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

To see why, substitute 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.

Solution

(spoiler)

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. It’s faster to recognize that 4π​ is just a constant coefficient. Keep it in front (constant multiple rule) and apply the power rule to x2.

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

Product rule

  • Differentiates product of two functions: (f(x)g(x))′=f(x)g′(x)+f′(x)g(x)
  • Mnemonic: “Left D right + right D left”
  • Expand only if simpler; product rule is more direct for complex products

Product rule examples

  • For y=(x+1)(x3−2):
    • y′=4x3+3x2−2
  • For h(t)=t​(t+1):
    • Product rule: h′(t)=23​t1/2+21​t−1/2
    • Power rule (expand first): same result
  • For f(x)=(x2+1)(2x+1)(3−x):
    • Group as two functions, apply product rule (and within, another product rule)
    • f′(x)=−8x3+15x2+2x+5
  • Word problem (rectangle area): If A(t)=(2t−1)(5t+3),
    • dtdA​=20t+1
    • Units: meters2/second

Quotient rule

  • Differentiates quotient: (g(x)f(x)​)′=[g(x)]2g(x)f′(x)−f(x)g′(x)​
  • Steps:
    • Bottom × derivative of top
    • Minus top × derivative of bottom
    • Divide by square of bottom
  • Mnemonic: “Lo-D-Hi minus Hi-D-Lo, all over the square of what’s below”

Quotient rule examples

  • For h(x)=x−1x+1​:
    • h′(x)=−(x−1)22​
  • For y=x23x4+1​:
    • Quotient rule: y′=6x−x32​
    • Or, rewrite as 3x2+x−2 and use power rule
  • For f(x)=x+1x3​:
    • f′(x)=(x+1)22x3+3x2​
  • Do not split fractions incorrectly (e.g., x+1x3​=xx3​+1x3​)
  • Coefficient-only denominators (e.g., 4πx2​): treat as constant, use power rule directly

Sign up for free to take 7 quiz questions on this topic

All rights reserved ©2016 - 2026 Achievable, Inc.

Product & quotient rules

What you’ll learn:

  • How to differentiate products or quotients of two or more functions

Product rule

In the previous section, we found the derivative of

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

by fully expanding and then using the power rule on each term. That gave

y′=4x3+3x2−2.

Expanding works, but it can get messy quickly. A more direct method for differentiating a product is the product rule.

The formula for differentiating the product of two functions f(x) and g(x) is:

Product rule:

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

Here’s the idea in words:

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

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 want to see where the product 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.

Solution

(spoiler)

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).

Solution

(spoiler)

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​t1/2+21​t−1/2=23​t1/2+2t1/21​​​

ii. With power rule

First rewrite t​ as t1/2 and distribute:

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

Now apply the power rule term-by-term:

h′(t)=23​t1/2+1/2t−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)

Solution

(spoiler)

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

Even though f(x) is a product of three factors, you can still use the product rule by grouping two factors into one function. For example, define

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

Then f(x)=L(x)R(x).

Keep in mind: to find L′(x), you also need the product rule (since L(x) is itself a product).

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 entire function and use only the power rule.

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?

Solution

(spoiler)

Answer: dtdA​=20t+1​

“Rate of change” tells you to take a derivative. Here, the quantity changing is the area A, and the variable is time t, so we want dtdA​.

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​​

This derivative gives the rate of change of area at time t. The units are meters2/second because it represents (change in area)/(change in time).

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 read the formula is as a sequence of steps:

  • Multiply the bottom function by the derivative of the top.
  • Subtract the top function times the derivative of the bottom.
  • Divide by the square of the bottom function.

A catchy way to remember the rule is the rhyme

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

“Lo” represents the lower/bottom function, “Hi” is the higher/top function, “D” means derivative again, and the “square of what’s below” means square the bottom function.

The proof of the quotient rule from the limit definition of the derivative is also on Wikipedia.

Examples

  1. Find the derivative of

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

Solution

(spoiler)

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.

Substitute into 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.

Solution

(spoiler)

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​

Now split the fraction into two simpler terms:

x46x5​−x42x​

=6x−x32​​

ii. No quotient rule

Start by splitting the original fraction:

y=x23x4​+x21​.

Simplify each term:

y=3x2+x−2.

Differentiate using the power rule:

y′=6x−2x−3

=6x−x32​

AP tip:

Look for opportunities to split fractions to save time when the quotient rule can be avoided. However, be careful not to split a fraction incorrectly. For example,

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

To see why, substitute 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.

Solution

(spoiler)

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. It’s faster to recognize that 4π​ is just a constant coefficient. Keep it in front (constant multiple rule) and apply the power rule to x2.

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

Key points

Product rule

  • Differentiates product of two functions: (f(x)g(x))′=f(x)g′(x)+f′(x)g(x)
  • Mnemonic: “Left D right + right D left”
  • Expand only if simpler; product rule is more direct for complex products

Product rule examples

  • For y=(x+1)(x3−2):
    • y′=4x3+3x2−2
  • For h(t)=t​(t+1):
    • Product rule: h′(t)=23​t1/2+21​t−1/2
    • Power rule (expand first): same result
  • For f(x)=(x2+1)(2x+1)(3−x):
    • Group as two functions, apply product rule (and within, another product rule)
    • f′(x)=−8x3+15x2+2x+5
  • Word problem (rectangle area): If A(t)=(2t−1)(5t+3),
    • dtdA​=20t+1
    • Units: meters2/second

Quotient rule

  • Differentiates quotient: (g(x)f(x)​)′=[g(x)]2g(x)f′(x)−f(x)g′(x)​
  • Steps:
    • Bottom × derivative of top
    • Minus top × derivative of bottom
    • Divide by square of bottom
  • Mnemonic: “Lo-D-Hi minus Hi-D-Lo, all over the square of what’s below”

Quotient rule examples

  • For h(x)=x−1x+1​:
    • h′(x)=−(x−1)22​
  • For y=x23x4+1​:
    • Quotient rule: y′=6x−x32​
    • Or, rewrite as 3x2+x−2 and use power rule
  • For f(x)=x+1x3​:
    • f′(x)=(x+1)22x3+3x2​
  • Do not split fractions incorrectly (e.g., x+1x3​=xx3​+1x3​)
  • Coefficient-only denominators (e.g., 4πx2​): treat as constant, use power rule directly