Steady State
MAT161 / Lecture 7
Lecture 7 · Barnett ch. 2 · about 45 min

Product, Quotient and Chain Rules

Differentiating products, quotients and compositions: the three rules that handle every function built by multiplying, dividing or nesting simpler pieces, with average cost and revenue as the running examples.

By the end you can
  • Apply the product rule to differentiate a function built by multiplying two others
  • Apply the quotient rule to differentiate average cost and similar ratios
  • Apply the chain rule to differentiate a composite function
  • Combine all three rules on a single multi-layered expression

Why the sum rule is not enough

The sum rule lets you differentiate term by term, but it says nothing about a product like f(x)=x2⋅exf(x) = x^2 \cdot e^x or revenue R(x)=p(x)⋅xR(x) = p(x) \cdot x, where price itself depends on quantity. (fg)′≠f′g′(fg)' \neq f'g' — multiplying the derivatives separately gives the wrong answer, so a dedicated rule is needed.

The product rule

Product ruleKey formulaFormula sheet →
ddx[f(x) g(x)]=f′(x) g(x)+f(x) g′(x)\frac{d}{dx}\big[f(x)\,g(x)\big] = f'(x)\,g(x) + f(x)\,g'(x)
f,gf, g
differentiable functions

Use it when two functions of x are multiplied together, and neither is a plain constant.

Worked example · Marginal revenue when price depends on quantity0/4

Demand gives price p(x)=60−0.5xp(x) = 60 - 0.5x. Revenue is R(x)=x⋅p(x)=x(60−0.5x)R(x) = x \cdot p(x) = x(60 - 0.5x). Find R′(x)R'(x) using the product rule, treating R as f(x)=xf(x) = x times g(x)=60−0.5xg(x) = 60 - 0.5x.

Your turn

Let f(x)=(2x+3)(x2−1)f(x) = (2x + 3)(x^2 - 1). Find f′(1)f'(1) using the product rule.

The quotient rule

Average cost, Cˉ(x)=C(x)/x\bar C(x) = C(x)/x, is a ratio of two functions of xx. Differentiating it needs the quotient rule.

Quotient ruleKey formulaFormula sheet →
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}
ff
numerator
gg
denominator, g(x) \neq 0

Use it when one function is divided by another, and the denominator is not simply a constant.

Worked example · Differentiating average cost0/5

Total cost is C(x)=0.2x2+4x+1000C(x) = 0.2x^2 + 4x + 1000. Average cost is Cˉ(x)=0.2x2+4x+1000x\bar C(x) = \dfrac{0.2x^2 + 4x + 1000}{x}. Find Cˉ′(x)\bar C'(x) using the quotient rule, then evaluate at x=50x = 50.

Your turn

Using the same Cˉ′(x)=0.2x2−1000x2\bar C'(x) = \dfrac{0.2x^2 - 1000}{x^2}, at what output is average cost neither rising nor falling (i.e. Cˉ′(x)=0\bar C'(x) = 0)? Give the positive solution.

The chain rule

Many economic quantities are built by nesting one function inside another: cost as a function of labour, labour as a function of time. The chain rule differentiates a composition, exactly the composition idea from the functions lesson.

Chain ruleKey formulaFormula sheet →
ddx f(g(x))=f′(g(x))⋅g′(x)\frac{d}{dx}\,f\big(g(x)\big) = f'\big(g(x)\big)\cdot g'(x)
ff
outer function
gg
inner function

Use it when one expression is raised to a power, or otherwise wrapped around another expression in x, such as $(3x^2+1)^5$.

Worked example · Chain rule on a power0/3

Find the derivative of h(x)=(3x2+1)5h(x) = (3x^2 + 1)^5.

Check your understanding

A firm's cost depends on labour hours LL via C(L)=200+15L2C(L) = 200 + 15L^2, and labour depends on output xx via L(x)=3x+2L(x) = 3x + 2. Which expression correctly gives dCdx\frac{dC}{dx}?

Your turn

Using dCdx=90(3x+2)\frac{dC}{dx} = 90(3x+2) from the previous question, find dCdx\frac{dC}{dx} at x=4x = 4.

Combining the rules

Realistic problems often need more than one rule at once: a product where one factor is itself a composition, for example.

Worked example · Product and chain rule together0/4

Find the derivative of f(x)=x2x+1f(x) = x^2 \sqrt{x + 1}.

Exam practice

Exam question 1

f(x)=(x+2)(3x−1)f(x) = (x + 2)(3x - 1). Find f'(2) using the product rule.

Exam question 2

f(x)=x2x+1f(x) = \dfrac{x^2}{x + 1}. Find f'(1) using the quotient rule.

Exam question 3

f(x)=(2x−5)4f(x) = (2x - 5)^4. Find f'(3) using the chain rule.

Exam question 4

Which rule is needed to differentiate (x+1)3x\dfrac{(x+1)^3}{x}?

Summary and review

Review deck · 9 cards0/9 mastered