This whole subtopic is higher level. Nothing in it is on an SL paper.
Educerie · IB Diploma · Mathematics: analysis and approaches
Topic 5 Calculus · 5.15 Further derivatives and integrals
What you must be able to do
| You must be able to | Level | What it looks like in the exam |
|---|---|---|
| Differentiate tan x, sec x, cosec x and cot x, and composites of them | HL only | "Find f′(x) where f(x) = sec 3x" (2 marks) |
| Differentiate aˣ and logₐ x, and composites of them | HL only | "Differentiate 5x²" or "log₂(x² + 1)" (2 marks each) |
| Differentiate arcsin x, arccos x and arctan x, and derive their derivatives | HL only | "Show that d/dx(arctan x) = 1/(1 + x²)" (3 marks) |
| Integrate any of the derivatives above, including with a linear function inside | HL only | "Find ∫ sec²(3x − 1) dx" or "∫ 1/(16 + 9x²) dx" (2 to 4 marks) |
| Complete the square to reach an arctan or arcsin integral | HL only | "Hence find the exact value of ∫ 1/(x² + 4x + 13) dx between given limits" (5 marks) |
| Use partial fractions to rearrange an integrand | HL only | "Hence find ∫ (x + 7)/((x − 1)(x + 3)) dx" (4 marks) |
| Interpret an indefinite integral as a family of curves and pick one with a condition | HL only | "The curve passes through (0, 2). Find its equation" (4 to 5 marks) |
Before you start
You need the SL derivatives of sin x, cos x, eˣ and ln x, and the chain, product and quotient rules (SL 5.6), plus integration as anti-differentiation with its constant C and reverse chain rule (SL 5.5, 5.10). From AHL 3.9 you need sec, cosec and cot, the identities 1 + tan²x = sec²x and 1 + cot²x = cosec²x, and the domains and ranges of arcsin, arccos and arctan. Implicit differentiation (AHL 5.14) and partial fractions (AHL 1.11) are both used. The formula booklet lists every derivative and standard integral on this page, so the marks are for choosing and applying them.
1The idea in one paragraph
Every new derivative on this page comes from a rule you already know. tan, sec, cosec and cot are quotients or reciprocals of sin and cos, so the quotient rule or the chain rule differentiates them. aˣ is really ex ln a, and logₐ x is really ln x ÷ ln a. arcsin, arccos and arctan are inverse functions, so writing y = arcsin x as sin y = x and differentiating implicitly gives their derivatives. Then read every result backwards: each derivative is an integral you can now do. The two that matter most are 1/(a² + x²), whose integral is an arctan, and 1/√(a² − x²), whose integral is an arcsin. Completing the square turns many quadratic denominators into those shapes, and partial fractions turn the rest into logarithms.
2Four more trigonometric derivatives
tan x. Write it as sin x ÷ cos x and use the quotient rule.
sec x. Write it as (cos x)−1 and use the chain rule.
cosec x and cot x come out the same way, from (sin x)⁻¹ and cos x ÷ sin x. All four are in the formula booklet.
| f(x) | f′(x) |
|---|---|
| tan x | sec²x |
| sec x | sec x tan x |
| cosec x | −cosec x cot x |
| cot x | −cosec²x |
A pattern makes them easy to hold. Swap each function for its "co-" partner (tan ↔ cot, sec ↔ cosec) and put a minus sign in front: tan → sec² becomes cot → −cosec², and sec → sec tan becomes cosec → −cosec cot. The minus sign belongs to the co-functions, just as d/dx(cos x) = −sin x.
Figure 1 shows what the first result means. sec²x is never less than 1, so tan x is increasing on every branch, and its gentlest slope is 1, at x = 0. Near its asymptotes the gradient grows without bound.
With the chain rule, the inner derivative multiplies the front, exactly as in SL.
3aˣ and logₐ x
aˣ. Any positive base can be rewritten with base e, because a = eln a. So aˣ = ex ln a, and the chain rule does the rest.
d/dx(aˣ) = aˣ ln a and d/dx(logₐ x) = 1/(x ln a), both in the formula booklet.
Figure 2 draws 2ˣ, eˣ and 3ˣ with their tangents at x = 0. Each passes through (0, 1), and the gradient there is ln a: ln 2 ≈ 0.693 for 2ˣ, ln e = 1 for eˣ, ln 3 ≈ 1.10 for 3ˣ. That is why e is the natural base: it is the one base whose exponential has gradient exactly 1 at x = 0, so the ln a factor disappears.
logₐ x. Use the change of base law from SL 1.7: logₐ x = ln x ÷ ln a. Since ln a is only a constant, d/dx(logₐ x) = (1/ln a) × (1/x) = 1/(x ln a).
The third line surprises people. It makes sense once you split the log: log₁₀(5x) = log₁₀ 5 + log₁₀ x, and log₁₀ 5 is a constant, so it differentiates to zero.
4arcsin x, arccos x and arctan x
These come from implicit differentiation (AHL 5.14). The guide expects you to be able to derive them, and a "show that" on one of them is a standard 3 to 4 marks.
arcsin x. Let y = arcsin x, so sin y = x, with −π/2 ≤ y ≤ π/2.
The reason for the positive root is worth a line in your answer: arcsin's range is [−π/2, π/2] (AHL 3.9), where cos is never negative.
arccos x. Let y = arccos x, so cos y = x with 0 ≤ y ≤ π. Then −sin y · dy/dx = 1, and sin y = +√(1 − x²) on [0, π], so d/dx(arccos x) = −1/√(1 − x²). It is the negative of the arcsin derivative, which makes sense: arcsin x + arccos x = π/2, a constant, so their derivatives must add to zero.
arctan x. Let y = arctan x, so tan y = x.
| f(x) | f′(x) | valid for |
|---|---|---|
| arcsin x | 1/√(1 − x²) | −1 < x < 1 |
| arccos x | −1/√(1 − x²) | −1 < x < 1 |
| arctan x | 1/(1 + x²) | all x |
Figure 3 puts arcsin and arctan beside their derivatives. arcsin climbs steeply at x = ±1, where its derivative has vertical asymptotes; arctan is steepest at 0, where its derivative reaches its maximum of 1, and flattens towards its asymptotes y = ±π/2, where its derivative tends to 0.
With the chain rule:
5Reading the derivatives backwards
Every derivative gives an integral for free. The guide asks for the indefinite integrals of all of them.
| Integral | Result |
|---|---|
| ∫ sec²x dx | tan x + C |
| ∫ sec x tan x dx | sec x + C |
| ∫ cosec x cot x dx | −cosec x + C |
| ∫ cosec²x dx | −cot x + C |
| ∫ aˣ dx | aˣ/ln a + C |
| ∫ 1/√(1 − x²) dx | arcsin x + C |
| ∫ 1/(1 + x²) dx | arctan x + C |
The formula booklet gives the last two in a more useful form, with a constant a:
∫ 1/(a² + x²) dx = (1/a) arctan(x/a) + C and ∫ 1/√(a² − x²) dx = arcsin(x/a) + C, for |x| < a.
You can check either by differentiating. For the first: d/dx[(1/a) arctan(x/a)] = (1/a) × (1/a) × 1/(1 + x²/a²) = 1/(a² + x²). Notice the arctan result has a factor 1/a in front and the arcsin result does not. That asymmetry is the most common slip in this subtopic.
The integral of −1/√(1 − x²) could be written −arcsin x + C or arccos x + C. Both are right: they differ by the constant π/2, which the C absorbs.
Two exact definite integrals worth knowing:
Using an identity first. tan²x is not on the list, but 1 + tan²x = sec²x turns it into something that is: ∫ tan²x dx = ∫ (sec²x − 1) dx = tan x − x + C. The same trick handles cot²x with cosec²x.
6A linear function inside
The guide includes the composite of any of these with a linear function, ax + b. The rule is the reverse of the chain rule:
If ∫ f(x) dx = F(x) + C, then ∫ f(ax + b) dx = (1/a) F(ax + b) + C.
Differentiate the answer and the chain rule produces a factor a, which the 1/a cancels. So: integrate as if the bracket were x, then divide by the coefficient of x.
When the coefficient sits on x² rather than x, take it out first so the booklet form appears.
Worked example 1. Paper 1. Find ∫ 1/(16 + 9x²) dx.
Check by differentiating: (1/12) × (3/4) × 1/(1 + 9x²/16) = (1/16) × 16/(16 + 9x²) = 1/(16 + 9x²).
7Completing the square
A quadratic denominator that does not factorise can be written as (x + p)² + q² by completing the square, which is the arctan shape with x + p in place of x. That is a linear composite, so section 6 applies with a = 1.
Worked example 2. Paper 1. Find ∫ 1/(x² − 6x + 13) dx.
The same move works inside a square root, for the arcsin shape. Take out the minus sign carefully.
Worked example 3. Find ∫ 1/√(8x − x²) dx.
Splitting the numerator. When the top is linear, split it into a part that is a multiple of the derivative of the bottom, which integrates to a logarithm (the reverse chain rule of SL 5.10), and a constant part, which gives an arctan.
Worked example 4. Find ∫ (2x + 5)/(x² + 9) dx.
8Partial fractions: when the denominator does factorise
If the quadratic in the denominator factorises, there is no arctan. Instead, split the fraction into partial fractions (AHL 1.11), and each piece integrates to a natural logarithm, because ∫ 1/(x + k) dx = ln|x + k| + C.
Worked example 5. Paper 1. Find ∫ (5x + 1)/((x − 1)(x + 2)) dx.
Worked example 6. Compare two integrals that differ by one sign. With a plus sign the denominator does not factorise and the answer is an arctan: ∫ 1/(x² + 4) dx = (1/2) arctan(x/2) + C. With a minus sign it does, so the answer is logarithms.
The discriminant decides which road you take, and Figure 4 lays out the choice.
9An indefinite integral is a family of curves
∫ f(x) dx = F(x) + C does not describe one function. It describes infinitely many, one for each value of C, and their graphs are vertical translations of each other. Every member has the same gradient at the same x, which is exactly what "the derivative is f(x)" says. Figure 5 draws some members of the family y = arctan 2x + C.
One extra fact, such as a point the curve passes through, picks out a single member.
Worked example 7. Paper 1. A curve has gradient function dy/dx = 2/(1 + 4x²) and passes through (1/2, π). Find its equation.
10Where marks are lost
Missing minus signs on the co-functions. d/dx(cot x) = −cosec²x and d/dx(cosec x) = −cosec x cot x. Integrating reverses them: ∫ cosec²x dx = −cot x + C.
Writing d/dx(aˣ) = xaˣ⁻¹. That is the power rule, which is for a variable base and a constant power. aˣ has a constant base and a variable power: its derivative is aˣ ln a.
Dropping ln a. ∫ 2ˣ dx = 2ˣ/ln 2 + C, not 2ˣ + C. Only base e is free of it.
The 1/a in the arctan result. ∫ 1/(9 + x²) dx = (1/3) arctan(x/3) + C. The arcsin result has no such factor: ∫ 1/√(9 − x²) dx = arcsin(x/3) + C.
Not dividing by the inner coefficient. ∫ sec²(3x − 1) dx = (1/3) tan(3x − 1) + C. Check any answer by differentiating it; the factor will show whether you forgot.
Leaving a coefficient on x² inside arctan. For 1/(16 + 9x²), take the 9 out first. arctan(9x/16) or arctan(x/4) are the usual wrong answers.
Using arctan when the denominator factorises. If b² − 4ac > 0, use partial fractions and logarithms. Check the discriminant before you complete the square.
Forgetting + C, or the modulus. An indefinite integral needs + C, and ∫ 1/(x − 1) dx = ln|x − 1| + C with the modulus signs.
11Work it right
- Before differentiating, name the function type: trigonometric, exponential in a base a, logarithm in a base a, or inverse trigonometric. Then use the booklet line for it.
- Apply the chain rule to every composite, and write the inner derivative as its own factor.
- For a "show that" on an inverse trigonometric derivative, write y = arc… x, rewrite it without the inverse, differentiate implicitly, and justify the sign of the square root from the range.
- To integrate, match the integrand to a table entry. Take any coefficient of x² out first, and divide by the coefficient of x for a linear composite.
- For 1/(quadratic), check the discriminant: negative means complete the square and use arctan; positive means factorise and use partial fractions.
- For a linear numerator over an irreducible quadratic, split off the multiple of the derivative (a logarithm) from the constant (an arctan).
- Give exact answers on Paper 1: π/12, ln(10/3), not decimals.
- Differentiate your answer to check it, whenever there is time.
12Try it
Marks in brackets. Q1 to Q5 are Paper 1 style (no calculator). Q6 is Paper 2 style; parts (a) and (b) can be done by hand.
Q1. Differentiate with respect to x:
(a) sec 3x 2 marks
(b) 5x² 2 marks
(c) arctan(2x − 1) 2 marks
(d) log₂(x² + 1). 2 marks
Q2. Find
(a) ∫ cosec²(4x) dx 2 marks
(b) ∫ 23x dx 2 marks
(c) ∫ 1/(25 + x²) dx. 2 marks
Q3.
(a) Show that x² + 4x + 13 = (x + 2)² + 9. 1 mark
(b) Hence show that ∫ from −2 to 1 of 1/(x² + 4x + 13) dx = π/12. 4 marks
Q4.
(a) Express (x + 7)/((x − 1)(x + 3)) in partial fractions. 3 marks
(b) Hence find the exact value of ∫ from 2 to 3 of (x + 7)/((x − 1)(x + 3)) dx, giving your answer in the form ln k. 3 marks
Q5. A curve has gradient function dy/dx = 3/√(9 − x²), for −3 < x < 3, and passes through the point (0, 2).
(a) Find the equation of the curve. 3 marks
(b) Find the exact value of y when x = 3/2. 2 marks
Q6. Let f(x) = x arctan x − ½ ln(1 + x²).
(a) Show that f′(x) = arctan x. 3 marks
(b) Hence find the exact value of ∫ from 0 to √3 of arctan x dx. 3 marks
(c) Use your GDC to confirm your answer to (b) to 3 significant figures. 1 mark
13In one breath
d/dx tan x = sec²x, sec x → sec x tan x, and the co-functions swap partners and gain a minus: cot x → −cosec²x, cosec x → −cosec x cot x. aˣ = ex ln a, so d/dx aˣ = aˣ ln a and ∫ aˣ dx = aˣ/ln a + C; logₐ x = ln x/ln a, so its derivative is 1/(x ln a). Write y = arcsin x as sin y = x and differentiate implicitly: arcsin → 1/√(1 − x²), arccos → −1/√(1 − x²), arctan → 1/(1 + x²), with the range fixing the sign of the root. Read everything backwards for integrals; the booklet gives ∫ 1/(a² + x²) dx = (1/a) arctan(x/a) + C and ∫ 1/√(a² − x²) dx = arcsin(x/a) + C. With ax + b inside, integrate and divide by a; with a coefficient on x², factor it out first. For 1/(quadratic), negative discriminant means complete the square and use arctan, positive means partial fractions and logarithms. An indefinite integral is a family of vertical translations, and one point fixes C.
Answers
Q1. (a) 3 sec 3x tan 3x. M1 for sec tan, A1 for the factor 3.
(b) 2x ln 5 · 5x². M1 for 5x² ln 5, A1 for the chain factor 2x. xaˣ⁻¹-style answers score 0.
(c) 2/(1 + (2x − 1)²), which simplifies to 1/(2x² − 2x + 1). M1 for 1/(1 + (2x − 1)²), A1 for the factor 2. Either form is accepted.
(d) 2x/((x² + 1) ln 2). M1 for 1/((x² + 1) ln 2) or for changing to base e, A1 for the factor 2x.
Q2. (a) −¼ cot 4x + C. A1 for −cot, A1 for ¼ and + C.
(b) 23x/(3 ln 2) + C. A1 for ln 2 in the denominator, A1 for the 3 and + C.
(c) (1/5) arctan(x/5) + C. A1 for arctan(x/5), A1 for the factor 1/5 and + C.
Q3. (a) (x + 2)² + 9 = x² + 4x + 4 + 9 = x² + 4x + 13. A1 for the expansion.
(b) ∫ 1/((x + 2)² + 3²) dx = (1/3) arctan((x + 2)/3). Between −2 and 1: (1/3)[arctan 1 − arctan 0] = (1/3)(π/4 − 0) = π/12. M1 for recognising the arctan form, A1 for (1/3) arctan((x + 2)/3), M1 for substituting both limits, A1 for π/12 reached with arctan 1 = π/4 shown.
Q4. (a) x + 7 ≡ A(x + 3) + B(x − 1). x = 1: 8 = 4A, so A = 2. x = −3: 4 = −4B, so B = −1. So the fraction is 2/(x − 1) − 1/(x + 3). M1 for the identity, A1 for A, A1 for B.
(b) [2 ln|x − 1| − ln|x + 3|] from 2 to 3 = (2 ln 2 − ln 6) − (2 ln 1 − ln 5) = 2 ln 2 − ln 6 + ln 5 = ln(4 × 5/6) = ln(10/3). A1 for the integral, M1 for substituting the limits, A1 for ln(10/3). Follow-through from their A and B.
Q5. (a) y = ∫ 3/√(3² − x²) dx = 3 arcsin(x/3) + C. At (0, 2): 2 = 3 arcsin 0 + C, so C = 2 and y = 3 arcsin(x/3) + 2. A1 for 3 arcsin(x/3), M1 for using (0, 2), A1 for the equation. An answer with a factor 1/3 in front has used the arctan pattern and scores A0.
(b) y = 3 arcsin(1/2) + 2 = 3 × π/6 + 2 = π/2 + 2. M1 for substituting, A1 for π/2 + 2.
Q6. (a) By the product rule, d/dx(x arctan x) = arctan x + x/(1 + x²). By the chain rule, d/dx(½ ln(1 + x²)) = ½ × 2x/(1 + x²) = x/(1 + x²). Subtracting, f′(x) = arctan x. M1 for the product rule, A1 for the derivative of the log term, A1 for completing to arctan x.
(b) The integral from 0 to √3 of arctan x is f(√3) − f(0) = √3 × π/3 − ½ ln 4 − 0 = (√3π)/3 − ln 2. M1 for using f(√3) − f(0), A1 for arctan √3 = π/3, A1 for the simplified answer, with ½ ln 4 = ln 2.
(c) The GDC gives 1.12, and (√3π)/3 − ln 2 ≈ 1.8138 − 0.6931 = 1.12. A1.
Educerie · written from the published IB Diploma Programme Mathematics: analysis and approaches guide, first assessment 2021, section 5.15 Further derivatives and integrals. Original text, examples and questions. Diagrams drawn by Educerie. Last reviewed 25 September 2026.