Year 2 · Notes: Principles of Calculus (Part 1) – Rules of Differentiation
Topic: S.S1 Y2 PRINCIPLES OF CALCULUS
The power, sum and constant rules, the product, quotient and chain rules, implicit differentiation, derivatives of sine, cosine, tangent, exponential and logarithmic functions, and velocity and acceleration.
Year 2 · Notes: Principles of Calculus (Part 1) – Rules of Differentiation
Finding every derivative from first principles would be slow, like walking from Accra to Kumasi when a bus is available. In Year 2 you learn the rules that do the work for you. Each rule comes from the first principles definition, so you can trust it, but you no longer need to repeat the limit every time.
IN THIS NOTE
The power rule, constant multiples and sums.
The product rule and the quotient rule.
The chain rule for a function of a function.
Implicit differentiation for relations that are not functions.
Derivatives of trigonometric, exponential and logarithmic functions.
Velocity and acceleration of a moving body.
1. The basic rules
Rule | In symbols | Example |
|---|---|---|
Power rule | \(\dfrac{d}{dx}x^n = nx^{n-1}\) | \(\dfrac{d}{dx}x^5 = 5x^4\) |
Constant | \(\dfrac{d}{dx}c = 0\) | \(\dfrac{d}{dx}7 = 0\) |
Constant multiple | \(\dfrac{d}{dx}[kf(x)] = kf'(x)\) | \(\dfrac{d}{dx}3x^4 = 12x^3\) |
Sum and difference | \(\dfrac{d}{dx}[f \pm g] = f' \pm g'\) | \(\dfrac{d}{dx}(x^2 - 7x) = 2x - 7\) |
The power rule works for any power, including fractions and negatives, so rewrite roots and fractions as powers first: \(y = \sqrt{x} + \dfrac{1}{x^2} = x^{1/2} + x^{-2}\) gives \(\dfrac{dy}{dx} = \tfrac{1}{2}x^{-1/2} - 2x^{-3}\).
2. The product and quotient rules
If \(y = uv\), where \(u\) and \(v\) are functions of \(x\): \[\frac{dy}{dx} = u\frac{dv}{dx} + v\frac{du}{dx}.\] If \(y = \dfrac{u}{v}\): \[\frac{dy}{dx} = \frac{v\dfrac{du}{dx} - u\dfrac{dv}{dx}}{v^2}.\]
WORKED EXAMPLE · Product rule
\(y = (x^2 + 1)(3x - 2)\). Let \(u = x^2 + 1\), \(v = 3x - 2\). Then \(\dfrac{dy}{dx} = (x^2 + 1)(3) + (3x - 2)(2x) = 9x^2 - 4x + 3\).
WORKED EXAMPLE · Quotient rule
\(y = \dfrac{2x + 1}{x - 3}\). \(\dfrac{dy}{dx} = \dfrac{(x - 3)(2) - (2x + 1)(1)}{(x - 3)^2} = \dfrac{-7}{(x - 3)^2}\).
WATCH OUT
In the quotient rule the order matters: it is "bottom times derivative of top, minus top times derivative of bottom". Swapping them changes the sign of the answer.
3. The chain rule
For a function inside another function, such as \(y = (3x^2 + 1)^5\), let \(u = 3x^2 + 1\) so \(y = u^5\). Then \[\frac{dy}{dx} = \frac{dy}{du} \times \frac{du}{dx} = 5u^4 \times 6x = 30x(3x^2 + 1)^4.\] In words: differentiate the outside, keep the inside, then multiply by the derivative of the inside.
4. Implicit differentiation
Some relations, like the circle \(x^2 + y^2 = 25\), cannot be written as a single \(y = \ldots\). Differentiate every term with respect to \(x\), remembering that \(y\) depends on \(x\): by the chain rule, \(\dfrac{d}{dx}y^2 = 2y\dfrac{dy}{dx}\). Then make \(\dfrac{dy}{dx}\) the subject.
WORKED EXAMPLE · Implicit differentiation
(a) \(x^2 + y^2 = 25\): \(2x + 2y\dfrac{dy}{dx} = 0\), so \(\dfrac{dy}{dx} = -\dfrac{x}{y}\). At \((3, 4)\) the gradient is \(-\tfrac{3}{4}\).
(b) \(x^2 + xy + y^2 = 7\) at \((1, 2)\): \(2x + \left(y + x\dfrac{dy}{dx}\right) + 2y\dfrac{dy}{dx} = 0\) (product rule on \(xy\)). Substituting: \(2 + 2 + (1 + 4)\dfrac{dy}{dx} = 0\), so \(\dfrac{dy}{dx} = -\tfrac{4}{5}\).
5. Transcendental functions
Functions that are not polynomials or roots, such as trigonometric, exponential and logarithmic functions, are called transcendental. Their derivatives (with angles in radians) are:
\(f(x)\) | \(f'(x)\) |
|---|---|
\(\sin x\) | \(\cos x\) |
\(\cos x\) | \(-\sin x\) |
\(\tan x\) | \(\sec^2 x\) |
\(e^x\) | \(e^x\) |
\(\ln x\) | \(\dfrac{1}{x}\) |
WORKED EXAMPLE · With the chain and product rules
\(\dfrac{d}{dx}e^{3x} = 3e^{3x}\); \(\dfrac{d}{dx}\sin 2x = 2\cos 2x\); \(\dfrac{d}{dx}\ln(2x + 1) = \dfrac{2}{2x + 1}\); \(\dfrac{d}{dx}(x^2\sin x) = 2x\sin x + x^2\cos x\).
KEY IDEA
\(e^x\) is the only function (apart from multiples of it) that is its own derivative: its gradient at every point equals its height.
6. Velocity and acceleration
For displacement \(s(t)\): velocity \(v = \dfrac{ds}{dt}\) and acceleration \(a = \dfrac{dv}{dt} = \dfrac{d^2s}{dt^2}\). A body is momentarily at rest when \(v = 0\).
WORKED EXAMPLE · A moving particle
\(s = t^3 - 6t^2 + 9t\). Then \(v = 3t^2 - 12t + 9 = 3(t - 1)(t - 3)\), so the particle is at rest at \(t = 1\) s and \(t = 3\) s. \(a = 6t - 12\), which is zero at \(t = 2\) s.
Check yourself
Additional Mathematics
Senior High
More on PRINCIPLES OF CALCULUS
Other resources you can find on TudHub.