01 / 20

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.

IB Math: Applications & Interpretation

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

x y
\(y = f(x)\)
tangent at a
\((a, f(a))\)
slope = \(f'(a)\)

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.

Speed
Differentiate polynomials, trig, and exponentials in seconds instead of pages of algebra.
Accuracy
Memorised rules reduce errors that creep into long limit calculations.
Foundation
These rules are prerequisite for optimisation, related rates, and integration.

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.

\(x^5\)
\(\frac{d}{dx}\bigl[x^5\bigr] = 5x^4\)
\(x^{-2}\)
\(\frac{d}{dx}\bigl[x^{-2}\bigr] = -2x^{-3}\)
\(\sqrt{x} = x^{1/2}\)
\(\frac{d}{dx}\bigl[x^{1/2}\bigr] = \tfrac{1}{2}x^{-1/2}\)

Constant & Constant Multiple Rules

Constant Rule
If \(f(x) = c\) (a constant), then \(f'(x) = 0\). A horizontal line has zero slope.
Constant Multiple
\(\frac{d}{dx}\bigl[c \cdot f(x)\bigr] = c \cdot f'(x)\). Constants factor out of derivatives.

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 ideaExponent comes downFunction reproduces itself

How to Differentiate Any Expression

1
Rewrite roots and fractions as powers: \(\sqrt{x} = x^{1/2}\), \(\frac{1}{x^2} = x^{-2}\).
2
Expand if needed: multiply out brackets so each term is a single power of \(x\) (or a standard function).
3
Apply rules term by term: use the power rule, constant multiple rule, and the common function table.
4
Simplify the result: combine like terms, convert negative exponents back to fractions if required.

Worked Example: Polynomial

1
Each term is already a power of \(x\). No rewriting needed.
2
Differentiate term by term:
\(\frac{d}{dx}[4x^3] = 12x^2\),  \(\frac{d}{dx}[-6x^2] = -12x\),  \(\frac{d}{dx}[9x] = 9\),  \(\frac{d}{dx}[-1] = 0\).
3
Combine: \(f'(x) = 12x^2 - 12x + 9\).

Worked Example: Roots & Fractions

1
Rewrite: \(y = 3x^{1/2} + 2x^{-1}\).
2
Power rule on each term:
\(\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}\)
3
Simplify: \(\frac{dy}{dx} = \dfrac{3}{2\sqrt{x}} - \dfrac{2}{x^2}\).

Worked Example: Mixed Functions

1
Each term is a standard function. Apply the table directly.
2
Differentiate:
\(\frac{d}{dx}[5e^x] = 5e^x\),  \(\frac{d}{dx}[-3\sin x] = -3\cos x\),  \(\frac{d}{dx}[\ln x] = \frac{1}{x}\).
3
Result: \(f'(x) = 5e^x - 3\cos x + \dfrac{1}{x}\).

Visualising \(\frac{d}{dx}[\sin x]\) = \(\cos x\)

Common Mistakes to Avoid

✕ Forgetting to rewrite
Trying to differentiate \(\sqrt{x}\) directly. Rewrite as \(x^{1/2}\) first, then apply the power rule.
✕ Power rule on \(e^x\)
Writing \(\frac{d}{dx}[e^x] = x\,e^{x-1}\). Wrong: \(e^x\) is an exponential, not a power function. \(\frac{d}{dx}[e^x] = e^x\).
✕ Dropping the constant
Computing \(\frac{d}{dx}[5x^3]\) as \(3x^2\) instead of \(15x^2\). The constant 5 multiplies the result.
✕ Sign error on \(\cos x\)
Writing \(\frac{d}{dx}[\cos x] = \sin x\). It should be \(-\sin x\): do not forget the negative sign.

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\).