AP Calculus AB Unit 2: Product and Quotient Rules (with Notation, Strategy, and Pitfalls)

In earlier differentiation work, the Power Rule and the Sum and Difference Rules can make derivatives feel almost “linear.” That intuition breaks when functions multiply or divide. This section covers the Product Rule and Quotient Rule, two core tools for differentiating combinations such as

x^2\sin(x)

and

\frac{e^x}{x^2+1}

where simpler rules fail.

The Product Rule

What the product rule says (and what it’s really for)

In calculus, you often need the derivative of a function built by combining simpler functions. When two functions are multiplied, the result is called a product. If

h(x)=f(x)g(x)

and %%LATEX3%% and %%LATEX4%% are both differentiable, then their product is differentiable, and the product rule tells you

\frac{d}{dx}[f(x)g(x)]=f'(x)g(x)+f(x)g'(x)

Many students remember it as “differentiate the first and keep the second, plus keep the first and differentiate the second.” A common mnemonic is:

  • “Left derivative times right, plus left times right derivative”

which you may see written as:

L'R+LR'

In shorthand notation using %%LATEX7%% and %%LATEX8%%:

(uv)'=uv'+vu'

Why you need it (and why you can’t just multiply derivatives)

The most common early mistake is assuming derivatives distribute over multiplication. It is true that

\frac{d}{dx}[f(x)+g(x)]=f'(x)+g'(x)

but it is not true that

\frac{d}{dx}[f(x)g(x)]=f'(x)g'(x)

This false idea is sometimes nicknamed “the Freshman’s Dream.” Differentiation measures how a quantity changes, and when two quantities multiply, each one’s change affects the product.

A helpful geometric analogy is a rectangle with area

A=L\cdot W

If both side lengths change, the change in area includes the “strip” added from changing %%LATEX13%% while %%LATEX14%% stays fixed, plus the strip added from changing %%LATEX15%% while %%LATEX16%% stays fixed (not just the tiny corner piece coming from both changing at once). This is the intuition behind why two terms appear in the rule.

Geometric explanation of the Product Rule showing area expansion

How it works (the idea behind the formula)

You do not need to re-derive the product rule on the AP exam, but seeing the mechanism helps prevent “one-term” or “wrong-term” errors.

Start from the derivative definition for h(x)=f(x)g(x):

h'(x)=\lim_{\Delta x\to 0}\frac{f(x+\Delta x)g(x+\Delta x)-f(x)g(x)}{\Delta x}

The key move is adding and subtracting the mixed term f(x+\Delta x)g(x) so you can split the numerator:

f(x+\Delta x)g(x+\Delta x)-f(x+\Delta x)g(x)+f(x+\Delta x)g(x)-f(x)g(x)

Then each piece factors:

  • one part has %%LATEX21%% times a difference in %%LATEX22%%
  • the other part has %%LATEX23%% times a difference in %%LATEX24%%

In the limit, those become %%LATEX25%% and %%LATEX26%%, giving

h'(x)=f'(x)g(x)+f(x)g'(x)

Notation you may see (same idea, different symbols)

On AP Calculus, derivative notation varies. All of these mean “derivative with respect to x.”

MeaningCommon notationExample for y=f(x)
Derivative of a functionf'(x)f'(x)
Derivative of yy'y'
Leibniz notation\frac{dy}{dx}\frac{dy}{dx}

If y=f(x)g(x), then equivalently:

y'=f'(x)g(x)+f(x)g'(x)

and

\frac{dy}{dx}=f'(x)g(x)+f(x)g'(x)

How to apply the product rule (a reliable process)

When you see a product, your goal is to identify two factors that you can differentiate.

  1. Name the factors: decide what is %%LATEX40%% and what is %%LATEX41%%.
  2. Differentiate each factor: compute %%LATEX42%% and %%LATEX43%%.
  3. Substitute into the template:

\frac{d}{dx}[f(x)g(x)]=f'(x)g(x)+f(x)g'(x)

  1. Simplify if helpful. Simplifying is often optional on Free Response, but it can be very useful on Multiple Choice.

A practical tip: if one factor is complicated, do not expand unless expansion truly makes the derivative easier.

Product rule examples (worked, step by step)

Example 1: A polynomial times a trig function

Differentiate:

h(x)=(x^2+3x)\sin(x)

Identify factors:

f(x)=x^2+3x

g(x)=\sin(x)

Differentiate:

f'(x)=2x+3

g'(x)=\cos(x)

Apply the product rule:

h'(x)=(2x+3)\sin(x)+(x^2+3x)\cos(x)

This is a correct final answer (further factoring is optional unless asked).

Example 2: Product rule combined with the chain rule inside a factor

Differentiate:

p(x)=(3x-1)(x^2+1)^5

Identify factors:

f(x)=3x-1

g(x)=(x^2+1)^5

Differentiate:

f'(x)=3

For g(x), use the chain rule:

g'(x)=5(x^2+1)^4\cdot 2x

so

g'(x)=10x(x^2+1)^4

Apply the product rule:

p'(x)=3(x^2+1)^5+(3x-1)\cdot 10x(x^2+1)^4

Optional factoring (often useful later for sign analysis):

p'(x)=(x^2+1)^4\left(3(x^2+1)+10x(3x-1)\right)

Example 3: Worked example with two polynomials

Find f'(x) for

f(x)=(3x^2-1)(x^2+5x)

Let

u=3x^2-1

v=x^2+5x

Differentiate each:

u'=6x

v'=2x+5

Apply the product rule:

f'(x)=(3x^2-1)(2x+5)+(x^2+5x)(6x)

Optional simplification:

f'(x)=(6x^3+15x^2-2x-5)+(6x^3+30x^2)

so

f'(x)=12x^3+45x^2-2x-5

Example 4: Mixing function types

Differentiate:

y=x^2\sin(x)

Let

f(x)=x^2

g(x)=\sin(x)

Then

f'(x)=2x

g'(x)=\cos(x)

So

y'=x^2\cos(x)+2x\sin(x)

What commonly goes wrong with the product rule

Errors usually come from either remembering the formula vaguely or skipping needed sub-rules.

  • Believing the “Freshman’s Dream” idea that the derivative is f'(x)g'(x).
  • Forgetting one of the two terms and writing only %%LATEX76%% or only %%LATEX77%%.
  • Differentiating the wrong factor (for instance, leaving %%LATEX78%% unchanged instead of turning it into %%LATEX79%%).
  • Not using the chain rule when needed inside a factor, such as with

(x^2+1)^5

Exam Focus
  • Typical question patterns:
    • Find f'(x) for products like (polynomial)(trig/exponential/log).
    • Find the slope of the tangent line at x=a for a function given as a product.
    • Given values %%LATEX83%%, %%LATEX84%%, %%LATEX85%%, %%LATEX86%%, find the derivative of a product at x=a.
  • Common mistakes:
    • Using %%LATEX88%% instead of %%LATEX89%%.
    • Plugging in x=a too early and losing track of which pieces still need derivatives.
    • Dropping parentheses when factors have multiple terms (for example, treating x^2+3x like a single-term factor without grouping).
    • Forgetting chain rule effects inside a factor.

The Quotient Rule

What the quotient rule says (and when you actually need it)

A quotient is one function divided by another:

q(x)=\frac{f(x)}{g(x)}

where %%LATEX93%%. If %%LATEX94%% and %%LATEX95%% are differentiable and %%LATEX96%%, then the quotient is differentiable and

\frac{d}{dx}\left[\frac{f(x)}{g(x)}\right]=\frac{f'(x)g(x)-f(x)g'(x)}{(g(x))^2}

The structure matters:

  • numerator: “derivative of the top times bottom” minus “top times derivative of bottom”
  • denominator: “bottom squared”

In shorthand form with %%LATEX98%% (numerator) and %%LATEX99%% (denominator):

\left(\frac{u}{v}\right)'=\frac{vu'-uv'}{v^2}

A common mnemonic is:

Lo d-Hi minus Hi d-Lo, all over Lo Lo.

Here “Hi” is the numerator (top) and “Lo” is the denominator (bottom). The phrase “Lo Lo” reminds you the denominator is squared.

Why it matters (and how it connects to other rules)

Just as with products, you cannot “divide the derivatives.” The quotient rule is a standard, expected tool in AP Calculus AB because quotients show up constantly in rational functions, average-rate formulas, and applied models.

Strategically, though, you do not have to use the quotient rule every time you see a fraction.

  • Sometimes you can simplify first (for instance, cancel common factors) and then differentiate using simpler rules.
  • Sometimes you can rewrite using negative exponents, turning a quotient into a product:

\frac{f(x)}{g(x)}=f(x)(g(x))^{-1}

  • If the denominator is a constant, you do not need the quotient rule. For example,

y=\frac{x^3+5}{6}

can be rewritten as

y=\frac{1}{6}(x^3+5)

and differentiated using constant multiples plus the power and sum rules.

A good AP mindset is: “What method is least error-prone here?” Either approach is fine if done correctly.

How it works (conceptual reason for the formula)

Dividing changing quantities is sensitive because changes in the denominator affect the entire fraction. A clean way to remember where the minus sign comes from is to connect the quotient rule to the product rule.

Start with

q(x)=f(x)(g(x))^{-1}

Differentiate using the product rule:

q'(x)=f'(x)(g(x))^{-1}+f(x)\frac{d}{dx}[(g(x))^{-1}]

Then use the chain rule for a reciprocal. Since

\frac{d}{dx}[u^{-1}]=-u^{-2}u'

you get

\frac{d}{dx}[(g(x))^{-1}]=-(g(x))^{-2}g'(x)

So

q'(x)=\frac{f'(x)}{g(x)}-f(x)\frac{g'(x)}{(g(x))^2}

Putting everything over the common denominator (g(x))^2 gives

q'(x)=\frac{f'(x)g(x)-f(x)g'(x)}{(g(x))^2}

How to apply the quotient rule (a reliable process)

  1. Identify numerator and denominator:

f(x)=\text{top}

g(x)=\text{bottom}

  1. Differentiate each separately to get %%LATEX113%% and %%LATEX114%%.
  2. Substitute carefully:

\frac{f'(x)g(x)-f(x)g'(x)}{(g(x))^2}

  1. Use parentheses aggressively, especially when the numerator or denominator has multiple terms.
  2. Simplify if helpful. It is often standard practice to keep the denominator in a structured/factored form (for example, (x^2+1)^2 instead of expanding), because that structure is useful later when analyzing zeros/critical behavior.

Quotient rule examples (worked, step by step)

Example 1: Rational function with polynomials

Differentiate:

r(x)=\frac{x^2+1}{x-3}

Identify parts:

f(x)=x^2+1

g(x)=x-3

Differentiate:

f'(x)=2x

g'(x)=1

Apply quotient rule:

r'(x)=\frac{(2x)(x-3)-(x^2+1)(1)}{(x-3)^2}

Simplify the numerator:

r'(x)=\frac{2x^2-6x-x^2-1}{(x-3)^2}

So

r'(x)=\frac{x^2-6x-1}{(x-3)^2}

Example 2: Quotient involving trig (and an opportunity to simplify thinking)

Differentiate:

s(x)=\frac{\sin(x)}{x^2}

You can also rewrite it as a product:

s(x)=\sin(x)\cdot x^{-2}

but here we practice the quotient rule.

Identify parts:

f(x)=\sin(x)

g(x)=x^2

Differentiate:

f'(x)=\cos(x)

g'(x)=2x

Apply quotient rule:

s'(x)=\frac{\cos(x)\cdot x^2-\sin(x)\cdot 2x}{(x^2)^2}

Simplify structure:

s'(x)=\frac{x^2\cos(x)-2x\sin(x)}{x^4}

Factor and cancel (valid for %%LATEX133%%, and the original function is undefined at %%LATEX134%% anyway):

s'(x)=\frac{x(x\cos(x)-2\sin(x))}{x^4}

so

s'(x)=\frac{x\cos(x)-2\sin(x)}{x^3}

Example 3: Rational function with linear over quadratic

Find \frac{dy}{dx} for

y=\frac{5x-2}{x^2+1}

Identify:

\text{Hi}=5x-2

\text{Lo}=x^2+1

Differentiate:

\text{dHi}=5

\text{dLo}=2x

Apply “Lo d-Hi minus Hi d-Lo”:

\text{Numerator}=(x^2+1)(5)-(5x-2)(2x)

Put over “Lo Lo”:

y'=\frac{5(x^2+1)-2x(5x-2)}{(x^2+1)^2}

Simplify the numerator:

y'=\frac{5x^2+5-(10x^2-4x)}{(x^2+1)^2}

y'=\frac{5x^2+5-10x^2+4x}{(x^2+1)^2}

So

y'=\frac{-5x^2+4x+5}{(x^2+1)^2}

Note: It is standard practice to leave the denominator as (x^2+1)^2 rather than expanding it.

Graph comparison of a rational function and its derivative

Choosing between quotient rule vs rewriting as a product

You will often gain speed and accuracy by rewriting first when the denominator is a simple power (especially powers of x).

For example:

\frac{3x+1}{\sqrt{x}}=(3x+1)x^{-1/2}

Then using the product rule and power rule may be faster than the quotient rule. But if the denominator is complicated, the quotient rule is often the cleanest approach.

A common student error is to think “quotient means quotient rule.” Instead, decide which method is least error-prone.

What commonly goes wrong with the quotient rule

  • Sign/order errors: the numerator must be

f'(x)g(x)-f(x)g'(x)

or equivalently vu'-uv'. Swapping the order flips the sign of the entire derivative.

  • Forgetting to square the denominator: it must be

(g(x))^2

not just g(x).

  • Failure to distribute the negative: in %%LATEX155%%, the minus applies to the entire product %%LATEX156%%, so parentheses matter.
  • Missing parentheses with multi-term expressions (a classic algebra trap).
  • Simplifying incorrectly: you may cancel common factors only, not terms added by plus or minus. For instance, you cannot cancel term-by-term in

\frac{x^2\cos(x)-2x\sin(x)}{x^4}

unless the whole numerator has a common factor.

Exam Focus
  • Typical question patterns:
    • Find %%LATEX158%% for quotients such as (polynomial)/(polynomial), then evaluate at %%LATEX159%%.
    • Given %%LATEX160%%, %%LATEX161%%, %%LATEX162%%, %%LATEX163%%, find \left(\frac{f}{g}\right)'(a).
    • Find the equation of the tangent line to a quotient at a specified x value.
  • Common mistakes:
    • Dropping the minus sign, reversing the numerator order, or forgetting parentheses around the second product.
    • Forgetting the denominator is squared (or squaring only part of a multi-term denominator).
    • Substituting the point value too early and losing the structure needed to differentiate correctly.
    • Using the quotient rule when the denominator is a constant (wasting time and increasing error risk).

Higher-Order Derivatives & Notation

Higher-order derivatives (second derivative and beyond)

Occasionally, you will be asked to find the second derivative, denoted

f''(x)

or

\frac{d^2y}{dx^2}

in situations that involve products or quotients. This often requires nesting rules.

For example, if

f(x)=uv

then

f'(x)=uv'+vu'

To find the second derivative, you differentiate again. That usually means applying the product rule again to each product term like %%LATEX170%% and %%LATEX171%%. Expressions expand quickly, so clear organization and careful parentheses are essential.

Notation reference (prime vs Leibniz)

Notation TypeDerivative of ProductDerivative of Quotient
Prime notation(fg)'=f'g+fg'(f/g)'=\frac{g f'-f g'}{g^2}
Leibniz notation\frac{d}{dx}(uv)=u\frac{dv}{dx}+v\frac{du}{dx}\frac{d}{dx}\left(\frac{u}{v}\right)=\frac{v\frac{du}{dx}-u\frac{dv}{dx}}{v^2}
Exam Focus
  • Typical question patterns:
    • “Find %%LATEX176%%” when %%LATEX177%% is a product or quotient (be ready to apply rules repeatedly).
  • Common mistakes:
    • Losing terms when differentiating a product result like uv'+vu'.
    • Dropping parentheses and signs during the second round of differentiation.
    • Expanding too early and creating avoidable algebra errors.