Differentiation
Rules
Master the power rule, derivatives of common functions, and build fluency in computing \(\frac{dy}{dx}\) for polynomials, trigonometric, exponential, and logarithmic functions.
What Is a Derivative?
The derivative of a function \(f(x)\) at a point measures the instantaneous rate of change: how quickly the output changes as the input changes by a tiny amount.
Geometrically, \(f'(a)\) is the slope of the tangent line to the curve \(y = f(x)\) at the point where \(x = a\).
The Tangent Line as Slope
Why Learn Differentiation Rules?
Computing derivatives from the limit definition every time would be painfully slow. Differentiation rules are shortcuts that let you find \(f'(x)\) quickly and reliably for any standard function.
The Power Rule
This single rule handles all power functions: positive integers, negative integers, fractions, even irrational exponents. Bring the exponent down as a coefficient and reduce the exponent by one.
Constant & Constant Multiple Rules
The Sum & Difference Rule
Differentiate term by term. The derivative of a sum is the sum of the derivatives, and likewise for differences. Combined with the power rule, this lets you differentiate any polynomial instantly.
Derivatives of Common Functions
| \(f(x)\) | \(f'(x)\) |
|---|---|
| \(\sin x\) | \(\cos x\) |
| \(\cos x\) | \(-\sin x\) |
| \(e^x\) | \(e^x\) |
| \(\ln x\) | \(\dfrac{1}{x}\) |
| \(a^x\) | \(a^x \ln a\) |
| \(\log_a x\) | \(\dfrac{1}{x \ln a}\) |
| \(\tan x\) | \(\sec^2 x\) |
Memorise these: they appear constantly in IB exam questions.
Power vs Exponential: Know the Difference
| Power Function | Exponential Function | |
|---|---|---|
| Form | \(x^n\) (variable base) | \(a^x\) (variable exponent) |
| Rule | \(n\,x^{n-1}\) | \(a^x \ln a\) |
| Example | \(\frac{d}{dx}[x^3] = 3x^2\) | \(\frac{d}{dx}[2^x] = 2^x \ln 2\) |
| Key idea | Exponent comes down | Function reproduces itself |
How to Differentiate Any Expression
Worked Example: Polynomial
\(\frac{d}{dx}[4x^3] = 12x^2\), \(\frac{d}{dx}[-6x^2] = -12x\), \(\frac{d}{dx}[9x] = 9\), \(\frac{d}{dx}[-1] = 0\).
Worked Example: Roots & Fractions
\(\frac{d}{dx}[3x^{1/2}] = 3 \cdot \tfrac{1}{2}\,x^{-1/2} = \tfrac{3}{2}\,x^{-1/2}\)
\(\frac{d}{dx}[2x^{-1}] = 2 \cdot (-1)\,x^{-2} = -2x^{-2}\)
Worked Example: Mixed Functions
\(\frac{d}{dx}[5e^x] = 5e^x\), \(\frac{d}{dx}[-3\sin x] = -3\cos x\), \(\frac{d}{dx}[\ln x] = \frac{1}{x}\).
Visualising \(\frac{d}{dx}[\sin x]\) = \(\cos x\)
Common Mistakes to Avoid
Summary of Differentiation Rules
| Rule | Formula |
|---|---|
| Constant | \(\frac{d}{dx}[c] = 0\) |
| Power | \(\frac{d}{dx}[x^n] = n\,x^{n-1}\) |
| Constant Multiple | \(\frac{d}{dx}[c\,f] = c\,f'\) |
| Sum / Difference | \(\frac{d}{dx}[f \pm g] = f' \pm g'\) |
| Exponential | \(\frac{d}{dx}[e^x] = e^x\) |
| Natural Log | \(\frac{d}{dx}[\ln x] = \frac{1}{x}\) |
| Sine | \(\frac{d}{dx}[\sin x] = \cos x\) |
| Cosine | \(\frac{d}{dx}[\cos x] = -\sin x\) |
Question 1 of 5
What is the derivative of \(f(x) = 6x^4\)?
Question 2 of 5
What is \(\frac{d}{dx}[\cos x]\)?
Question 3 of 5
If \(y = 3\sqrt{x}\), what is \(\frac{dy}{dx}\)?
Question 4 of 5
What is \(\frac{d}{dx}\bigl[e^x + \ln x\bigr]\)?
Question 5 of 5
Find \(f'(x)\) if \(f(x) = 2x^3 - 4\sin x + 7\).