DerivativesTopic #4 of 32

Product and Quotient Rules

Rules for differentiating products and quotients of functions.

Product Rule

If ff and gg are differentiable, then:

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

Memory Aid

"First times derivative of second, plus second times derivative of first"

Or using Leibniz notation:

ddx[uv]=udvdx+vdudx\frac{d}{dx}[uv] = u\frac{dv}{dx} + v\frac{du}{dx}

Quotient Rule

If ff and gg are differentiable and g(x)0g(x) \neq 0:

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

Memory Aid

"Low d-high minus high d-low, over low squared"

Or using Leibniz notation:

ddx[uv]=vdudxudvdxv2\frac{d}{dx}\left[\frac{u}{v}\right] = \frac{v\frac{du}{dx} - u\frac{dv}{dx}}{v^2}

Extended Product Rule

For three functions:

ddx[fgh]=fgh+fgh+fgh\frac{d}{dx}[f \cdot g \cdot h] = f' \cdot g \cdot h + f \cdot g' \cdot h + f \cdot g \cdot h'

Examples

Example 1: Product Rule

Find the derivative of f(x)=(x2+1)(x32x)f(x) = (x^2 + 1)(x^3 - 2x):

f(x)=(x2+1)(3x22)+(x32x)(2x)f'(x) = (x^2 + 1) \cdot (3x^2 - 2) + (x^3 - 2x) \cdot (2x)

=3x42x2+3x22+2x44x2= 3x^4 - 2x^2 + 3x^2 - 2 + 2x^4 - 4x^2

=5x43x22= 5x^4 - 3x^2 - 2

Example 2: Quotient Rule

Find the derivative of f(x)=x2+1x3f(x) = \frac{x^2 + 1}{x - 3}:

f(x)=(x3)(2x)(x2+1)(1)(x3)2f'(x) = \frac{(x - 3)(2x) - (x^2 + 1)(1)}{(x - 3)^2}

=2x26xx21(x3)2= \frac{2x^2 - 6x - x^2 - 1}{(x - 3)^2}

=x26x1(x3)2= \frac{x^2 - 6x - 1}{(x - 3)^2}

Example 3: Product with trig

Find ddx[x2sin(x)]\frac{d}{dx}[x^2 \sin(x)]:

=x2cos(x)+sin(x)2x=x2cos(x)+2xsin(x)= x^2 \cdot \cos(x) + \sin(x) \cdot 2x = x^2 \cos(x) + 2x \sin(x)

Example 4: Quotient with exponential

Find ddx[exx+1]\frac{d}{dx}\left[\frac{e^x}{x + 1}\right]:

=(x+1)exex1(x+1)2= \frac{(x + 1) \cdot e^x - e^x \cdot 1}{(x + 1)^2}

=ex(x+11)(x+1)2= \frac{e^x(x + 1 - 1)}{(x + 1)^2}

=xex(x+1)2= \frac{xe^x}{(x + 1)^2}

Tips

  1. Always simplify before differentiating if possible
  2. For quotients like 1f(x)\frac{1}{f(x)}, you can use: ddx[1f]=ff2\frac{d}{dx}\left[\frac{1}{f}\right] = -\frac{f'}{f^2}
  3. Sometimes it's easier to rewrite as a product: fg=fg1\frac{f}{g} = f \cdot g^{-1}