Differentiation rules
Derivatives of , , and , and the chain, product and quotient rules.
1What you need to know
Tick these off as you go. By the end of the page you should be able to do all of them without notes.
- Differentiate , , and SL 5.6
- Use the chain rule for composite functionsSL 5.6
- Use the product ruleSL 5.6
- Use the quotient ruleSL 5.6
- Decide which rule (or combination) a function needsSL 5.6
2Notes & worked examples
Each idea is followed by a worked example. Try the question yourself first, then reveal the solution one step at a time.
The power rule only works for powers of . With four more standard derivatives and three rules for combining functions, you can differentiate almost any function you will meet: break it into pieces you know, then put the pieces back together.
2.1 Standard derivatives
Four new functions need their own derivatives. Each one makes sense if you look at its graph and ask how steep it is.
is its own derivative. At every point on , the gradient equals the height. When the curve is low it is nearly flat; as it rises, it gets steeper in exact step. This property is what makes special.
has derivative . The graph of is very steep just to the right of 0 and keeps getting flatter as increases, but it never becomes completely flat. That matches : large for small , small for large , and always positive.
has derivative . At , the sine curve is rising at its steepest, and . At , the sine curve is at its peak and flat, and . After that, sine is falling and cosine is negative. has derivative : the cosine curve starts at a peak and then falls, so its gradient starts at 0 and becomes negative.
The trig results only hold when is in radians. In degrees, the sine curve is stretched out horizontally (one cycle takes 360 instead of ), so it is much less steep and an awkward factor of appears. This is one of the main reasons mathematicians use radians. Always set your calculator to radians in calculus.
Use the Explore it section to see each function with its derivative drawn underneath.
2.2 The chain rule
A composite function is one function inside another. In , the inside is and the outside is "something to the power 5". In , the inside is and the outside is sine. A quick test: is there an expression sitting where you would normally see just ? If so, you need the chain rule.
In practice: differentiate the outside, leaving the inside alone, then multiply by the derivative of the inside.
Derivatives are rates of change, and rates of change multiply. Suppose changes 2 times as fast as , and changes 5 times as fast as . Then changes times as fast as . The notation helps you remember: looks as if the cancels to leave .
Some patterns come up so often that they are worth knowing on sight:
| Function | Derivative |
|---|---|
| , | , |
2.3 The product rule
When two functions of are multiplied, such as or , you cannot just multiply their derivatives. A quick check shows why: has derivative , but multiplying the derivatives gives .
Picture a rectangle with sides and , so its area is . When increases slightly, grows by a small amount and by . The area gains two thin strips, and , plus a tiny corner that is so small it disappears in the limit. So the change in is made of two parts, one for each function changing: .
Write down , , and first, then substitute. This keeps the working clear and earns method marks.
2.4 The quotient rule
For one function divided by another, use the quotient rule. Because of the minus sign, the order matters. A common way to remember it: " minus , over squared".
You could instead write as and use the product rule with the chain rule. Both methods give the same answer; the quotient rule is usually tidier.
2.5 Which rule?
Before differentiating, look at how the function is built. Ask these questions in order:
- Can I simplify first? only needs the power rule. . Simplifying is often quicker than using a rule.
- Is it a sum or difference? Differentiate each term separately.
- Is it two functions multiplied? Product rule.
- Is it one function divided by another? Quotient rule.
- Is one function inside another? Chain rule.
Many functions need more than one rule. In , the product rule is the main structure, and the chain rule is needed for inside it.
To check a derivative, graph your answer and the calculator's numerical derivative together: on a Graphs page enter f2(x)=nDeriv(f1(x),x) (from the Calculus menu). If the two graphs match, your derivative is right.
3Explore it
Choose a function. The green curve is its derivative. Move : the gradient of the tangent (navy curve) is the height of the green curve.
★HL extension
Extra depth for HL: harder worked examples and HL-standard exam questions.
HL differentiation questions combine several rules in one function, ask you to verify that a function satisfies a differential equation, and use logarithms to differentiate functions such as . More derivatives (, , , inverse trig) are on Further derivatives.
Verifying a differential equation
Logarithmic differentiation
For a variable raised to a variable power, take logarithms first, then differentiate implicitly.
HL exam-style questions
Let .
- (a)Find .[2]
- (b)Show that .[4]
| (a) | |
| product rule | M1 |
| A1 | |
| (b) | |
| attempt at second derivative | M1 |
| A1 | |
| substituting all three terms | M1 |
| AG A1 | |
Let , .
- (a)Use logarithmic differentiation to show that .[3]
- (b)Find the exact coordinates of the stationary point.[2]
| (a) | |
| M1 | |
| A1 | |
| AG A1 | |
| (b) | |
| A1 | |
| A1 | |
4Common mistakes & exam tips
Common mistakes
- Forgetting to multiply by the derivative of the inside (chain rule).
- Writing : it is .
- Getting the quotient rule numerator the wrong way round: it starts with .
- Differentiating a product by multiplying the derivatives.
- Using degree mode for trig derivatives.
Exam tips
- Write down , , and before using the product or quotient rule.
- Simplify and factorise your derivative: the next part of the question usually needs it.
- differentiates to : .
5Practice
Fluency questions build the basics. Problem-solving questions make you think about which method to use.
6Exam-style questions
Original questions in the style of the IB exam, with full markschemes. Give yourself about 1 minute per mark.
- (a)Differentiate .[2]
- (b)Differentiate .[2]
- (c)Differentiate .[2]
| (a) | |
| M1 | |
| A1 | |
| (b) | |
| M1 | |
| A1 | |
| (c) | |
| M1 | |
| A1 | |
.
- (a)Find .[3]
- (b)Find the gradient of the graph of at .[2]
| (a) | |
| Product rule with , | M1 |
| A1 A1 | |
| (b) | |
| M1 | |
| A1 | |
Find the equation of the tangent to at the point where .
| at | A1 |
| M1 A1 | |
| A1 |
7Check yourself
Six quick questions, marked instantly. Aim for 6/6 before moving on. Fractions like 3/2 are accepted.
8Past-paper practice
Once you're scoring well above, try real IB questions. Your school or teacher will have these papers.
| Paper | Question | Focus | Difficulty |
|---|---|---|---|
| May 2025 · TZ2 · Paper 2 | Q3 | Use a derivative to find where a function decreases and is concave-up | ★☆☆ |
| May 2025 · TZ3 · Paper 2 | Q5 | Find derivative expression and parameter from a tangent's angle | ★★☆ |
| Nov 2021 · Paper 1 | Q5 | Use tangent info and composite function to find tangent of h | ★★☆ |
| May 2024 · TZ2 · Paper 2 | Q9 | Find constants from a local minimum and vertical asymptote of a curve | ★★★ |
