Lecture 21: Multiplication and Division Rules

Watch 3Blue1Brown videos on Derivative formulas through geometry and visualizing the chain rule and product rule for a further conceptual understanding of the rules.

Constant Multiple Rule

If f(x)f(x) is a differentiable function and cc is a constant, then:

ddx[c⋅f(x)]=c⋅ddx[f(x)]\frac{d}{dx}[c \cdot f(x)] = c \cdot \frac{d}{dx}[f(x)]

Example:

ddx[7x2]=7⋅ddx[x2]=7⋅2x=14x\frac{d}{dx}[7x^2] = 7 \cdot \frac{d}{dx}[x^2] = 7 \cdot 2x = 14x

This rule lets us factor out constants when taking derivatives.


Multiplication Rule (Product Rule)

If f(x)f(x) and g(x)g(x) are both differentiable, then:

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

“First times derivative of second, plus second times derivative of first.”

Example 1:

f(x)=x2f(x) = x^2, g(x)=x+1g(x) = x+1
Then:

ddx[(x2)(x+1)]=2x(x+1)+x2(1)=2x2+2x+x2=3x2+2x\frac{d}{dx}[(x^2)(x+1)] = 2x(x+1) + x^2(1) = 2x^2 + 2x + x^2 = 3x^2 + 2x

Example 2:

ddx[(x2+1)(x3−2x)]\frac{d}{dx}[(x^2+1)(x^3-2x)]
Apply the product rule:

So:

ddx[(x2+1)(x3−2x)]=2x(x3−2x)+(x2+1)(3x2−2)=2x4−4x2+3x2−2=\frac{d}{dx}[(x^2+1)(x^3-2x)] = 2x(x^3 - 2x) + (x^2+1)(3x^2 - 2) = 2x^4 - 4x^2 + 3x^2 - 2 =

=2x4−x2−2= 2x^4 - x^2 - 2


Division Rule (Quotient Rule)

If f(x)f(x) and g(x)g(x) are differentiable, and g(x)≠0g(x) \ne 0, then:

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

“Low d-high minus high d-low over square of what’s below.”

Example 1:

ddx[x2x+1]\frac{d}{dx}\left[\frac{x^2}{x+1}\right]
Let f(x)=x2f(x) = x^2, g(x)=x+1g(x) = x+1

Then:

2x(x+1)−x2(1)(x+1)2=2x(x+1)−x2(x+1)2\frac{2x(x+1) - x^2(1)}{(x+1)^2} = \frac{2x(x+1) - x^2}{(x+1)^2}

Example 2:

ddx[1x2]\frac{d}{dx} \left[\frac{1}{x^2}\right]
Use quotient rule:

0⋅x2−1⋅2xx4=−2xx4=−2x3\frac{0\cdot x^2 - 1\cdot 2x}{x^4} = \frac{-2x}{x^4} = -\frac{2}{x^3}

which will be the same answer if you just apply the power rule to x−2x^{-2}:

ddx[x−2]=−2x−2−1=−2x−3=−2x3\frac{d}{dx}[x^{-2}] = -2x^{-2 - 1} = -2x^{-3} = -\frac{2}{x^3}

With this rule, we can differentiate any rational function. For example,

ddx[x2+1x2−1]=(2x)(x2−1)−(x2+1)(2x)(x2−1)2=2x3−2x−2x3−2x(x2−1)2=−4x(x2−1)2\frac{d}{dx}\left[\frac{x^2 + 1}{x^2 - 1}\right] = \frac{(2x)(x^2 - 1) - (x^2 + 1)(2x)}{(x^2 - 1)^2} = \frac{2x^3 - 2x - 2x^3 - 2x}{(x^2 - 1)^2} = \frac{-4x}{(x^2 - 1)^2}

Summary Schedule: Product & Quotient Rules

Rule Formula Use When...
Product Rule ddx[f(x)g(x)]=f′(x)g(x)+f(x)g′(x)\frac{d}{dx}[f(x)g(x)] = f'(x)g(x) + f(x)g'(x) Differentiating two functions multiplied together
Quotient Rule ddx[f(x)g(x)]=f′(x)g(x)−f(x)g′(x)[g(x)]2\frac{d}{dx}\left[\frac{f(x)}{g(x)}\right] = \frac{f'(x)g(x) - f(x)g'(x)}{[g(x)]^2} Differentiating a fraction (division of functions)

Exercises

1. Constant multiple rule

Differentiate the following using constant multiple rule:

2. Product rule

Differentiate the following using the product rule:

3. Quotient rule

Differentiate the following using the quotient rule:

4. Additional Practice

Differentiate:

5. Evaluate

Let f(x)=g(x)h(x)f(x) = \frac{g(x)}{h(x)}. Suppose g(2)=5g(2) = 5, g′(2)=3g'(2) = 3, h(2)=1h(2) = 1, and h′(2)=−4h'(2) = -4.

6. Additional practice

Follow and solve the exercises in this link.

Extra Advanced Exercises

1. Proof of Product and Quotient Rules

Using the limit definition of derivatives, show that:
(a) ddx(f(x)g(x))=f′(x)g(x)+f(x)g′(x)\frac{d}{dx}(f(x)g(x))=f'(x)g(x)+f(x)g'(x)
(b) ddx(f(x)g(x))=f′(x)g(x)−f(x)g′(x)g(x)2\frac{d}{dx}(\frac{f(x)}{g(x)})=\frac{f'(x)g(x)-f(x)g'(x)}{g(x)^2}

2. Water Flow in a Conical Container

Water is being poured into a conical tank such that the volume added per second is related to the height of the water xx (in meters) and the radius of the water surface rr by:

f(x)=x2ln⁡(x)x+1f(x) = \frac{x^2 \ln(x)}{x + 1}

3. Nested Quotient of Products

Let

f(x)=(x2+1)(x−4)(x+2)(x2−1)f(x) = \frac{(x^2 + 1)(x - 4)}{(x + 2)(x^2 - 1)}

4. Pressure–Volume Constraint in a Gas

The gas pressure and volume are related by:

ln⁡(xy)=xy\ln(xy) = \frac{x}{y}

5. Two Interrelated Functions

Let:

f(x)=g(x)h(x),and g(x)h(x)=x2+1f(x) = \frac{g(x)}{h(x)}, \quad \text{and } g(x)h(x) = x^2 + 1