Differentiation: All the Key Formulas and Rules, with Examples
By Math Planet team 4 min read

Differentiation is the first step into calculus, and the next chapter, integration, is built entirely on it. The good news: with the formulas memorised and the rules clear, you can score close to full marks here. Let’s go through them one by one.
The definition: first principles
\[f'(x) = \lim_{h \to 0} \frac{f(x + h) - f(x)}{h}\]When a question asks for the derivative “from first principles”, you must start from this definition — writing the formula straight away earns no marks.
Standard derivatives
| Function \(f(x)\) | Derivative \(f'(x)\) |
|---|---|
| \(c\) (a constant) | \(0\) |
| \(x^n\) | \(nx^{n-1}\) |
| \(\sqrt{x}\) | \(\dfrac{1}{2\sqrt{x}}\) |
| \(\dfrac{1}{x}\) | \(-\dfrac{1}{x^2}\) |
| \(e^x\) | \(e^x\) |
| \(a^x\) | \(a^x \ln a\) |
| \(\ln x\) | \(\dfrac{1}{x}\) |
| \(\log_a x\) | \(\dfrac{1}{x \ln a}\) |
| \(\sin x\) | \(\cos x\) |
| \(\cos x\) | \(-\sin x\) |
| \(\tan x\) | \(\sec^2 x\) |
| \(\cot x\) | \(-\operatorname{cosec}^2 x\) |
| \(\sec x\) | \(\sec x \tan x\) |
| \(\operatorname{cosec} x\) | \(-\operatorname{cosec} x \cot x\) |
Inverse trigonometric functions
| Function | Derivative |
|---|---|
| \(\sin^{-1} x\) | \(\dfrac{1}{\sqrt{1 - x^2}}\) |
| \(\cos^{-1} x\) | \(-\dfrac{1}{\sqrt{1 - x^2}}\) |
| \(\tan^{-1} x\) | \(\dfrac{1}{1 + x^2}\) |
| \(\cot^{-1} x\) | \(-\dfrac{1}{1 + x^2}\) |
| \(\sec^{-1} x\) | \(\dfrac{1}{x\sqrt{x^2 - 1}}\) |
| \(\operatorname{cosec}^{-1} x\) | \(-\dfrac{1}{x\sqrt{x^2 - 1}}\) |
Memory trick: every function whose name starts with “co” (cos, cot, cosec and their inverses) has a minus sign in its derivative.
The rules
- Sum and difference: \(\dfrac{d}{dx}(u \pm v) = \dfrac{du}{dx} \pm \dfrac{dv}{dx}\)
- Constant multiple: \(\dfrac{d}{dx}(cu) = c\dfrac{du}{dx}\)
- Product rule: \(\dfrac{d}{dx}(uv) = u\dfrac{dv}{dx} + v\dfrac{du}{dx}\)
- Quotient rule: \(\dfrac{d}{dx}\left(\dfrac{u}{v}\right) = \dfrac{v\dfrac{du}{dx} - u\dfrac{dv}{dx}}{v^2}\)
- Chain rule: if \(y = f(u)\) and \(u = g(x)\), then \(\dfrac{dy}{dx} = \dfrac{dy}{du} \cdot \dfrac{du}{dx}\)
Examples: \(\dfrac{d}{dx}\sin(x^2) = \cos(x^2) \cdot 2x = 2x\cos(x^2)\) and \(\dfrac{d}{dx}e^{3x} = 3e^{3x}\).
Special techniques
Implicit functions
Differentiate both sides with respect to \(x\) without isolating \(y\), and multiply every \(y\)-term by \(\frac{dy}{dx}\). For \(x^2 + y^2 = 25\):
\[2x + 2y\frac{dy}{dx} = 0 \quad \Rightarrow \quad \frac{dy}{dx} = -\frac{x}{y}\]Parametric functions
If \(x = f(t)\) and \(y = g(t)\), then \(\dfrac{dy}{dx} = \dfrac{dy/dt}{dx/dt}\). For \(x = at^2,\ y = 2at\): \(\dfrac{dy}{dx} = \dfrac{2a}{2at} = \dfrac{1}{t}\).
Logarithmic differentiation
When the variable is in the exponent too, take logs first. For \(y = x^x\):
\[\ln y = x \ln x \quad \Rightarrow \quad \frac{1}{y}\frac{dy}{dx} = \ln x + 1 \quad \Rightarrow \quad \frac{dy}{dx} = x^x(1 + \ln x)\]Trigonometric substitution
Simplify a complicated inverse-trig expression first and the work halves. For \(|x| < 1\), \(\tan^{-1}\dfrac{2x}{1 - x^2} = 2\tan^{-1} x\), so its derivative is \(\dfrac{2}{1 + x^2}\).
Applications
- Slope of a tangent: at \((x_1, y_1)\), \(m = \left.\dfrac{dy}{dx}\right|_{(x_1, y_1)}\). Tangent: \(y - y_1 = m(x - x_1)\); normal: \(y - y_1 = -\dfrac{1}{m}(x - x_1)\).
- Increasing and decreasing: \(f'(x) > 0\) means increasing, \(f'(x) < 0\) means decreasing.
- Maxima and minima: solve \(f'(x) = 0\) for the critical points; \(f''(x) < 0\) there gives a maximum, \(f''(x) > 0\) a minimum.
Example: \(f(x) = x^3 - 3x\). Then \(f'(x) = 3x^2 - 3 = 0\) gives \(x = \pm 1\), and \(f''(x) = 6x\).
- At \(x = 1\): \(f''(1) = 6 > 0\), so the minimum value is \(f(1) = -2\).
- At \(x = -1\): \(f''(-1) = -6 < 0\), so the maximum value is \(f(-1) = 2\).
Mistakes to avoid
- Forgetting to multiply by the derivative of the inner function in the chain rule.
- Flipping the numerator of the quotient rule — the right order is \(v\,u' - u\,v'\).
- Writing \(\dfrac{d}{dx}(a^x) = x a^{x-1}\). The power rule only works when the base is the variable and the exponent is constant.
- Reading \(\sin^{-1} x\) as \(\dfrac{1}{\sin x}\) — they are completely different things.
Glance over the formula tables once a day and they will stick within a week. Then practise the chapter’s questions to test yourself.