M
hscscience Maths Adv · Y12
0/100daily goal
0
0
L1 · 0 XP
KJ
Your weak spots
Insights load after your first practice round.
Y12 Advanced · L6 of 6 ~45 min ⚡ +110 XP available

Product, Quotient and Chain Rules

You now know how to differentiate every function type in Advanced Maths, polynomial, exponential, logarithmic, trigonometric. This capstone lesson unlocks the rules for combining them: the product rule for $f \cdot g$, the quotient rule for $f/g$, and the chain rule for $f(g(x))$. Armed with all three, you can differentiate anything the HSC can throw at you, and find tangent and normal lines on any curve.

Today's hook, Every rule you've learned for differentiation was designed for a specific shape of function. But real-world functions mix shapes, distance times friction, voltage over resistance. When two functions are tangled together, you need rules that can untangle them. How do you differentiate a product or a ratio?
0/5QUESTS
1

Get oriented

Set up the three combining rules and the key terms.

01
Recall, your gut answer first
+5 XP warm-up

Every rule you've learned for differentiation was designed for a specific shape of function. But real-world functions mix shapes, distance times friction, voltage over resistance. Without using any formula, write your gut answers:

  • If $y = f(x) \cdot g(x)$, is the derivative simply $f'(x) \cdot g'(x)$? Why or why not?
  • What do you think the "chain rule" actually chains together?
  • How would you find the equation of a tangent line at a specific point on a curve?
auto-saved
02
The three combining rules you need to own
+5 XP to read

When two functions are combined, the way you differentiate depends on how they are combined. Three rules cover every case in Maths Advanced:

Product rule for $f \cdot g$: the derivative is "derivative of first times second, plus first times derivative of second." Each factor takes a turn being differentiated while the other stays.

Quotient rule for $f/g$: "lo d(hi) minus hi d(lo), over lo squared." The numerator is the product rule with a subtraction; the denominator is the bottom squared.

Chain rule for $f(g(x))$: differentiate the outer function leaving the inside alone, then multiply by the derivative of the inside. Work outside in.

$$\frac{d}{dx}[f \cdot g] = f'g + fg'$$ $$\frac{d}{dx}\!\left[\frac{f}{g}\right] = \frac{f'g - fg'}{g^2}$$ $$\frac{d}{dx}[f(g(x))] = f'(g(x)) \cdot g'(x)$$
Product: identify $u$ and $v$ first
Always label $u = f(x)$ and $v = g(x)$, write $u'$ and $v'$ separately, then substitute into $u'v + uv'$. This avoids confusing which derivative belongs where.
Quotient vs product choice
$\dfrac{f}{g} = f \cdot g^{-1}$, so both rules work. Quotient rule is cleaner for genuine fractions. Product rule with a negative exponent often simplifies better for complex numerators.
Chain rule: outside in
For $y = \sin(e^x)$: outer function is $\sin(\square)$, so $f'$ is $\cos(\square)$. Substitute back: $\cos(e^x)$. Multiply by inner derivative $e^x$. Result: $e^x\cos(e^x)$.
03
What you'll master
Know

Key facts

  • Product rule: $(fg)' = f'g + fg'$
  • Quotient rule: $(f/g)' = (f'g - fg') / g^2$
  • Chain rule: $[f(g(x))]' = f'(g(x)) \cdot g'(x)$
  • Tangent slope $= f'(x_0)$; normal slope $= -1/f'(x_0)$ when $f'(x_0) \ne 0$
Understand

Concepts

  • Why the product rule is not simply $f' \cdot g'$
  • How to identify which rule applies from the structure of the function
  • Why the chain rule requires multiplying by the inner derivative
  • How tangent and normal lines are perpendicular to each other
Can do

Skills

  • Differentiate mixed products, quotients, and composites of poly, trig, exp, log
  • Apply multiple rules in a single problem (e.g. product + chain)
  • Find equations of tangents and normals to any differentiable curve
  • Locate stationary points and classify them using derivatives
04
Key terms
Product rule$\dfrac{d}{dx}[f \cdot g] = f'g + fg'$. Used when two functions are multiplied together.
Quotient rule$\dfrac{d}{dx}\!\left[\dfrac{f}{g}\right] = \dfrac{f'g - fg'}{g^2}$. Used when one function divides another.
Chain rule$\dfrac{d}{dx}[f(g(x))] = f'(g(x)) \cdot g'(x)$. Used when a function is composed inside another.
Tangent lineThe line that touches a curve at a single point with slope equal to $f'(x_0)$ at that point.
Normal lineThe line perpendicular to the tangent at the same point. Its slope is $-1/f'(x_0)$ whenever $f'(x_0) \ne 0$; if $f'(x_0) = 0$ the tangent is horizontal and the normal is the vertical line $x = x_0$.
Stationary pointA point where $f'(x) = 0$, the tangent is horizontal. May be a local max, local min, or horizontal inflection.
Gradient functionThe derivative $f'(x)$, gives the instantaneous rate of change (slope) at every point on the curve.
2

Use the product and quotient rules

Differentiate products and fractions of functions.

05
The Product Rule: $f \cdot g$ Pairs
core concept

The product of two functions does not differentiate to the product of their derivatives. Each function takes a turn being differentiated while the other holds still.

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

Memory aid: "derivative of first times second, plus first times derivative of second", "the other one stays."

Always start by identifying $u = f(x)$ and $v = g(x)$, writing their derivatives, then substituting into $u'v + uv'$.

Mix-and-match examples:
$y = x^2\sin x$: let $u = x^2$, $v = \sin x$. Then $u' = 2x$, $v' = \cos x$.
$y' = 2x\sin x + x^2\cos x$.

$y = e^x\ln x$: $u' = e^x$, $v' = \dfrac{1}{x}$.
$y' = e^x\ln x + e^x \cdot \dfrac{1}{x} = e^x\!\left(\ln x + \dfrac{1}{x}\right)$.

$y = x\cos(3x)$: $u = x$, $v = \cos(3x)$. Note: $v' = -3\sin(3x)$ (chain rule on the trig).
$y' = \cos(3x) + x \cdot (-3\sin(3x)) = \cos(3x) - 3x\sin(3x)$.
Common error to avoid: The chain rule inside the product. In $y = x\cos(3x)$, differentiating $\cos(3x)$ requires the chain rule: the inner function $3x$ contributes a factor of $3$. Always check whether each component is itself a composite function before writing its derivative.

Product rule: $(fg)' = f'g + fg'$, "derivative of first times second, plus first times derivative of second."; Step: label $u$ and $v$, find $u'$ and $v'$, substitute. Don't skip the labelling step.

Pause, copy the product rule $(fg)' = f'g + fg'$, "derivative of first times second, plus first times derivative of second", and the labelling method (always name $u$ and $v$ first) into your book.

Quick check: What is $\dfrac{d}{dx}[x\sin x]$?

06
The Quotient Rule: $f/g$ Fractions
core concept

We just saw the product rule $(fg)' = f'g + fg'$ for multiplied functions. That raises a question: when one function divides another, is there an analogous rule, and does the order of $f$ and $g$ matter? This card answers it → the quotient rule $\left(\frac{f}{g}\right)' = \frac{f'g - fg'}{g^2}$, where order matters because of the subtraction in the numerator.

When one function divides another, the quotient rule handles the differentiation, with a crucial subtraction in the numerator and the denominator squared on the bottom.

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

Memory aid: "lo d(hi) minus hi d(lo), over lo squared", or "derivative of top times bottom minus top times derivative of bottom, all over bottom squared."

Example 1: $y = \dfrac{\sin x}{x^2}$. Let $f = \sin x$, $g = x^2$. Then $f' = \cos x$, $g' = 2x$.
$$y' = \frac{\cos x \cdot x^2 - \sin x \cdot 2x}{x^4} = \frac{x(x\cos x - 2\sin x)}{x^4} = \frac{x\cos x - 2\sin x}{x^3}$$
Example 2: $y = \dfrac{e^x}{x+1}$. Then $f' = e^x$, $g' = 1$.
$$y' = \frac{e^x(x+1) - e^x \cdot 1}{(x+1)^2} = \frac{e^x(x+1-1)}{(x+1)^2} = \frac{xe^x}{(x+1)^2}$$ Factor $e^x$ from the numerator before simplifying, it almost always cancels or cleans up the expression.
Quotient vs product rule: $\dfrac{f}{g} = f \cdot g^{-1}$, so both rules work. The quotient rule is usually cleaner when $g$ is a simple expression. Using the product rule with $g^{-1}$ can avoid the "over bottom squared" step for messy denominators.

Quotient rule: $\left(\dfrac{f}{g}\right)' = \dfrac{f'g - fg'}{g^2}$, the order matters: it's subtraction, not addition.; Mnemonic: "lo d(hi) minus hi d(lo), over lo squared."

Pause, copy the quotient rule $\left(\dfrac{f}{g}\right)' = \dfrac{f'g - fg'}{g^2}$ and the mnemonic "lo d(hi) minus hi d(lo), over lo squared" into your book.

True or false: $\dfrac{d}{dx}\!\left[\dfrac{e^x}{x}\right] = \dfrac{e^x(x-1)}{x^2}$.

3

Use the chain rule and find tangents

Differentiate composites, then find tangents and normals.

07
The Chain Rule: Composites with Mixed Functions
core concept

We just saw the product and quotient rules, both handle two functions side-by-side. That raises a question: what rule applies when one function is plugged inside another, such as $\ln(\cos x)$ or $e^{\sin x}$? This card answers it → the chain rule $[f(g(x))]' = f'(g(x)) \cdot g'(x)$: differentiate outside (leaving inside untouched), then multiply by the inside's derivative.

The chain rule applies whenever one function is plugged inside another, a composite. The key step is identifying what is "outside" and what is "inside," then multiplying the two derivatives.

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

Rule of thumb: differentiate the outer function (leaving the inside unchanged), then multiply by the derivative of the inside.

Mixing trig, exp and log via chain rule:
$y = \sin(e^x)$: outer $\sin(\square)$, inner $e^x$. $y' = \cos(e^x) \cdot e^x$.

$y = e^{\sin x}$: outer $e^{\square}$, inner $\sin x$. $y' = e^{\sin x} \cdot \cos x$.

$y = \ln(\cos x)$: outer $\ln(\square)$, inner $\cos x$. $y' = \dfrac{1}{\cos x} \cdot (-\sin x) = -\tan x$.

$y = \sqrt{\sin(2x)}$: outer $\sqrt{\square} = (\square)^{1/2}$, inner $\sin(2x)$. Note: $\sin(2x)$ is itself a composite, apply chain rule to it: inner derivative $= 2\cos(2x)$.
$y' = \dfrac{1}{2}[\sin(2x)]^{-1/2} \cdot 2\cos(2x) = \dfrac{\cos(2x)}{\sqrt{\sin(2x)}}$.
Triple chain rule, $y = \sin^2(3x)$: Rewrite as $[\sin(3x)]^2$. Three layers: $[\square]^2$, then $\sin(\square)$, then $3x$.
$y' = 2\sin(3x) \cdot \cos(3x) \cdot 3 = 6\sin(3x)\cos(3x) = 3\sin(6x)$.
(Used $2\sin A\cos A = \sin(2A)$ to simplify.)

Chain rule: $[f(g(x))]' = f'(g(x)) \cdot g'(x)$, differentiate outside (leave inside alone), multiply by inside derivative.; $\ln(\cos x) \Rightarrow y' = -\tan x$, worth memorising as a result.

Pause, copy the chain rule $[f(g(x))]' = f'(g(x)) \cdot g'(x)$ and the key result $\dfrac{d}{dx}\ln(\cos x) = -\tan x$ into your book.

Quick check: $\dfrac{d}{dx}[\ln(\cos x)] = ?$

08
Tangents and Normals: The Full Toolkit
core concept

We just saw the three differentiation rules, product, quotient, and chain, for computing $f'(x)$. That raises a question: once you have the derivative at a specific point, how do you write the equation of the tangent or normal line to the curve? This card answers it → evaluate $m_T = f'(x_0)$, then apply point-slope form $y - y_0 = m_T(x - x_0)$; for the normal use $m_N = -1/m_T$, which needs $m_T \ne 0$.

The derivative gives the exact slope of the curve at any point. Once you have the slope, writing the equation of the tangent or normal is just point-slope form.

At a point $(x_0, y_0)$ on a curve $y = f(x)$:

Tangent slope: $m_T = f'(x_0)$.
Normal slope: $m_N = -\dfrac{1}{m_T}$ (perpendicular, slopes multiply to $-1$).

Special cases: if $m_T = 0$, the tangent is horizontal ($y = y_0$) and the normal is vertical ($x = x_0$). If $m_T$ is undefined (rare in this course), tangent is vertical and normal is horizontal.

$$\text{Tangent: } y - y_0 = m_T(x - x_0)$$ $$\text{Normal: } y - y_0 = m_N(x - x_0) \quad m_N = -\frac{1}{m_T}$$
Worked: $y = xe^x$ at $x = 0$. $y' = e^x + xe^x = e^x(1+x)$. At $x = 0$: $y = 0$, $y' = e^0(1+0) = 1$.
Tangent: $y - 0 = 1(x - 0)$ → $y = x$.
Normal: $m_N = -1$. Normal: $y = -x$.
Worked: $y = \ln(\sin x)$ at $x = \pi/2$. $y' = \dfrac{\cos x}{\sin x} = \cot x$. At $x = \pi/2$: $y = \ln(1) = 0$, $y' = \cot(\pi/2) = 0$.
Horizontal tangent at $\left(\dfrac{\pi}{2}, 0\right)$: equation $y = 0$.
Normal (vertical): $x = \dfrac{\pi}{2}$.

Tangent at $(x_0, y_0)$: find $m_T = f'(x_0)$, then use $y - y_0 = m_T(x-x_0)$.; Normal at $(x_0, y_0)$: $m_N = -1/m_T$, same point-slope form.

Pause, copy the tangent formula $y - y_0 = m_T(x-x_0)$ where $m_T = f'(x_0)$ and the normal slope $m_N = -1/m_T$, valid when $m_T \ne 0$ (if $m_T = 0$ the normal is $x = x_0$), into your book.

Fill the blanks: For $y = x^2\cos x$, differentiating gives $y' = 2x\cos x - x^2\sin x$. At $x = \pi$: $y' = 2\pi(-1) - \pi^2(0) =$ . The gradient of the tangent at $x = \pi$ is . The normal slope is .

4

Combine all three rules

Work mixed problems that need more than one rule.

09
Combining All Rules: Mixed Problems
capstone

We just saw the tangent and normal method: differentiate to find $m_T$, then apply point-slope form. That raises a question: in HSC questions like $y = x^2e^{-x}$ or $y = \dfrac{\sin x}{1+\cos x}$, which rule do you reach for first, and how do you combine product, quotient, and chain in the right order? This card answers it → always identify the outermost structure first, apply that rule, then handle each component with its own rule.

The hardest HSC problems combine rules in a single expression. The strategy is always the same: identify the outermost structure first (product, quotient, or composition), apply the corresponding rule, then handle each component using its own rule.

Example 1 (product + chain): $y = x^2e^{-x}$. Find stationary points.
Product rule: $u = x^2$, $v = e^{-x}$. Note: $v' = -e^{-x}$ (chain rule on $e^{-x}$).
$y' = 2x \cdot e^{-x} + x^2 \cdot (-e^{-x}) = xe^{-x}(2 - x)$.
Stationary points: $y' = 0$ when $x = 0$ or $x = 2$.
At $x = 0$: $y = 0$. At $x = 2$: $y = 4e^{-2}$.
Example 2 (quotient + trig): $y = \dfrac{\sin x}{1 + \cos x}$. Simplify $y'$.
$f = \sin x$, $f' = \cos x$, $g = 1 + \cos x$, $g' = -\sin x$.
$$y' = \frac{\cos x(1+\cos x) - \sin x(-\sin x)}{(1+\cos x)^2} = \frac{\cos x + \cos^2 x + \sin^2 x}{(1+\cos x)^2}$$ Use $\cos^2 x + \sin^2 x = 1$: $$= \frac{\cos x + 1}{(1+\cos x)^2} = \frac{1}{1+\cos x}$$ A beautiful simplification, always look for Pythagorean identity opportunities in trig derivatives.
Strategy checklist:
1. Look at the outermost operation: $\times$, $\div$, or composition?
2. Apply the corresponding rule (product / quotient / chain).
3. Differentiate each component, check if chain rule is needed within.
4. Simplify: factor out common terms, apply trig identities if helpful.
5. Exam tip: simplify before differentiating where possible (log laws, trig identities).

Strategy: identify outermost structure (product/quotient/composite), apply that rule first.; $y = x^2 e^{-x}$: product rule gives $y' = xe^{-x}(2-x)$. Stationary at $x=0$ and $x=2$.

Pause, copy the strategy (identify outermost structure first, then apply product/quotient/chain) and the worked result $\dfrac{d}{dx}[x^2e^{-x}] = xe^{-x}(2-x)$ with stationary points at $x = 0$ and $x = 2$ into your book.

Teach to learn: Explain to a classmate the step-by-step strategy for differentiating $y = x^3\sin(2x)$ using the product rule. Include what you do with the chain rule part.

auto-saved
5

Work through examples

Follow three worked problems, including a full exam-style question.

PROBLEM 1 · PRODUCT + CHAIN RULES

Differentiate $y = x^3\sin(2x)$. Show full working.

1
Identify structure: $y = u \cdot v$ where $u = x^3$ and $v = \sin(2x)$.
The outermost operation is multiplication, use the product rule. Check whether each component needs chain rule.
PROBLEM 2 · QUOTIENT RULE + TANGENT LINE

Find the equation of the tangent to $y = \dfrac{\ln x}{\cos x}$ at $x = 1$.

1
Find the $y$-value at $x = 1$:
$y(1) = \dfrac{\ln 1}{\cos 1} = \dfrac{0}{\cos 1} = 0$.
Point: $(1,\ 0)$.
Always find the $y$-coordinate first by substituting $x_0$ into the original equation.
PROBLEM 3 · FULL EXAM-STYLE, TANGENT, NORMAL, INTERSECTION

For $y = xe^{-x}$: (a) find the equation of the tangent at $x = 1$, (b) find the equation of the normal at $x = 1$, (c) find where the tangent meets the $x$-axis.

1
Find the point. At $x = 1$: $y = 1 \cdot e^{-1} = e^{-1}$. Point: $\left(1,\ \dfrac{1}{e}\right)$.
Substitute $x = 1$ into the original equation to get the $y$-coordinate.
6

Revisit and consolidate

Revisit your first answer and confirm what stuck.

10
Revisit your thinking

Earlier you were asked whether $(fg)' = f'g'$. The answer is no it's $f'g + fg'$. The product rule requires each factor to take a turn being differentiated. The chain rule "chains" the outer and inner derivatives by multiplying them. And finding a tangent just needs the derivative at the point as the slope, then point-slope form. Now compare with your original gut answers.

auto-saved
7

Practise the combining rules

Answer the questions on the product, quotient and chain rules.

01
Multiple choice
+5 XP per correct · +25 XP all-correct

Five questions, one per rule plus a tangent/normal problem. Pick your answer, then rate your confidence.

ApplyBand 31 mark each

Q1. $\dfrac{d}{dx}[x\sin x] = ?$

Q2. $\dfrac{d}{dx}\!\left[\dfrac{e^x}{x}\right] = ?$

Q3. $\dfrac{d}{dx}[\ln(\cos x)] = ?$

Q4. For $y = x^2\cos x$, the gradient at $x = \pi$ is:

Q5. The normal to $y = e^{2x}$ at $x = 0$ has equation:

02
Short answer, exam-style questions
show all working
ApplyBand 44 marks

SA 1. Differentiate the following, showing all steps:
(a) $y = x^3\sin(2x)$
(b) $y = \dfrac{\ln x}{\cos x}$
(2 marks each)

auto-saved
ApplyBand 4–54 marks

SA 2. Find the equation of the tangent to $y = xe^{-x}$ at the point where $x = 1$. Hence find where this tangent meets the $x$-axis. (4 marks)

auto-saved
AnalyseBand 5–65 marks

SA 3. For the curve $y = x\ln x$ (where $x > 0$):
(a) Find $y'$ and $y''$.
(b) Show that the curve has no local maximum.
(c) Find the equation of the normal to the curve at $x = e$.
(5 marks)

auto-saved
📖 Comprehensive answers (click to reveal)

MC answers: Q1 B, Q2 A, Q3 B, Q4 D ($y' = 2x\cos x - x^2\sin x$; at $\pi$: $2\pi(-1) - \pi^2(0) = -2\pi$), Q5 B ($y' = 2e^{2x}$; at $x=0$: $m_T = 2$, $m_N = -\frac{1}{2}$, point $(0,1)$: $y = -\frac{1}{2}x + 1$).

SA 1 (4 marks):
(a) $y = x^3\sin(2x)$. Product rule: $u = x^3$, $u' = 3x^2$; $v = \sin(2x)$, $v' = 2\cos(2x)$ [chain rule]. $y' = 3x^2\sin(2x) + 2x^3\cos(2x)$ [2].
(b) $y = \dfrac{\ln x}{\cos x}$. Quotient rule: $f = \ln x$, $f' = \frac{1}{x}$; $g = \cos x$, $g' = -\sin x$. $y' = \dfrac{\frac{\cos x}{x} + \ln x\sin x}{\cos^2 x} = \dfrac{\cos x + x\ln x\sin x}{x\cos^2 x}$ [2].

SA 2 (4 marks):
$y' = e^{-x}(1-x)$ (product rule) [1]. At $x = 1$: $y = e^{-1}$, $y' = e^{-1}(0) = 0$ [1]. Horizontal tangent: $y = e^{-1}$ [1]. This tangent is parallel to the $x$-axis and never meets it (or state: it meets the $x$-axis at no finite point) [1].
Note: If students misread and calculate a non-zero gradient, accept their tangent equation if working is correct.

SA 3 (5 marks):
(a) $y = x\ln x$. Product rule: $y' = \ln x + x \cdot \frac{1}{x} = \ln x + 1$ [1]. $y'' = \frac{1}{x}$ [1].
(b) For a local maximum we need $y'' \leq 0$. Since $x > 0$, $y'' = \frac{1}{x} > 0$ for all $x > 0$, the curve is concave up everywhere and there is no local maximum [1].
(c) At $x = e$: $y = e\ln e = e$. Point $(e, e)$ [0.5]. $y'(e) = \ln e + 1 = 2$. Normal slope: $m_N = -\frac{1}{2}$ [0.5]. Normal: $y - e = -\frac{1}{2}(x - e)$ → $y = -\frac{x}{2} + \frac{3e}{2}$ [1].