James Ashton MathsFREE MATHEMATICS. OPEN TO EVERYONE.
HomeIB DiplomaA levelAbout
IB Diploma › Maths AA HL › Topic 5: Calculus › Further derivatives

Further derivatives

Derivatives of tanx, secx, cscx, cotx, ax, logax and the inverse trig functions, and the matching standard integrals that give arctan and arcsin.

AHL 5.15HL onlyPaper 1Paper 2≈ 70 min to work through
Before you start: the chain, product and quotient rules, and reciprocal and inverse trig functions. See Differentiation 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 tanx, secx, cscx and cotx, and combine them with the chain, product and quotient rulesAHL 5.15
  • Differentiate ax and logaxAHL 5.15
  • Differentiate arcsinx, arccosx and arctanx, and derive these resultsAHL 5.15
  • Integrate 1a2+x2 and 1a2−x2, including after completing the squareAHL 5.15
  • Integrate sec2x, secxtanx and axAHL 5.15

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 big idea

Every result on this page comes from rules you already know. secx=(cosx)−1, so the chain rule gives its derivative. ax=exlna, so the chain rule again. And y=arctanx means tany=x, so implicit differentiation does the rest. The results are in the formula booklet, but knowing where they come from lets you handle the variations examiners set.

2.1 Reciprocal trig functions

Derivatives of the other trig functions In formula booklet
ddxtanx=sec2xddxsecx=secxtanxddxcscx=−cscxcotxddxcotx=−csc2x
Why does this work?

secx=(cosx)−1, so ddxsecx=−(cosx)−2(−sinx)=sinxcos2x=1cosx·sinxcosx=secxtanx. The others follow the same way, or from the quotient rule with tanx=sinxcosx. A memory aid: the "co-" functions get a minus sign.

Worked example 1Paper 1
Differentiate (a) y=sec3x (b) y=x2cotx.
(a) dydx=3sec3xtan3x
Chain rule: multiply by the derivative of 3x.
(b) dydx=2xcotx−x2csc2x
Product rule.

2.2 Exponentials and logarithms in any base

Base a In formula booklet
ddxax=axlnaddxlogax=1xlna

Write ax=exlna: its derivative is lna·exlna=axlna. And logax=lnxlna by the change of base rule, whose derivative is 1xlna.

Worked example 2Paper 1
Differentiate (a) y=52x (b) y=log2(x2+1).
(a) dydx=52xln5×2=2ln5·52x
(b) dydx=1(x2+1)ln2×2x=2x(x2+1)ln2

2.3 Inverse trig functions

Derivatives of inverse trig functions In formula booklet
ddxarcsinx=11−x2ddxarccosx=−11−x2ddxarctanx=11+x2
Worked example 3Paper 1
Show that ddxarcsinx=11−x2.
Let y=arcsinx, so siny=x with −π2≤y≤π2.
Turn the inverse function into an ordinary one.
Differentiate implicitly: cosydydx=1⇒dydx=1cosy
cosy=1−sin2y=1−x2, taking the positive root because cosy≥0 on [−π2,π2].
This sign argument is the step markschemes look for.
dydx=11−x2
Worked example 4Paper 1
Differentiate (a) y=arctan2x (b) y=arcsinx3 (c) y=xarccosx.
(a) 21+4x2
(b) 1/31−x2/9=19−x2
Multiply top and bottom by 3: 31−x29=9−x2.
(c) arccosx−x1−x2

2.4 Integrals that give arctan and arcsin

Reading WE4(a) and (b) backwards gives two standard integrals. These are why inverse trig functions matter in calculus: they let you integrate functions that have no polynomial, log or exponential antiderivative.

Standard integrals In formula booklet
∫1a2+x2dx=1aarctanxa+C∫1a2−x2dx=arcsinxa+C, |x|<a
Worked example 5Paper 1
Find ∫0214+x2dx.
a=2: [12arctanx2]02
=12arctan1−0=12·π4=π8
Worked example 6Paper 1
Find ∫19+4x2dx.
19+4x2=14·194+x2
Make the coefficient of x2 equal to 1 first.
a=32: 14·23arctan2x3+C=16arctan2x3+C

If the denominator is a quadratic with no real roots, complete the square first. (If it has real roots, use partial fractions instead.)

Worked example 7Paper 1
Find ∫1x2+2x+5dx.
x2+2x+5=(x+1)2+4
∫1(x+1)2+22dx=12arctanx+12+C
Replace x by x+1 in the standard result: the derivative of x+1 is 1, so nothing else changes.
Worked example 8 (faded)Paper 1
Find ∫03/219−x2dx.
[arcsinx3]03/2=arcsin12= π/6  ← you work this out

2.5 More standard integrals

Reversing 3.1 and 3.2: ∫sec2xdx=tanx+C, ∫secxtanxdx=secx+C, ∫csc2xdx=−cotx+C and ∫axdx=axlna+C. Also useful: ∫tanxdx=−ln|cosx|+C=ln|secx|+C, from ∫sinxcosxdx.

On your TI-Nspire Calculator tricks →

Check a derivative at a point with Calculus → Numerical derivative at a point, e.g. ddxarctan(2x) at x=1 should give 0.4. In radian mode the calculator writes tan−1 for arctan.

3Explore it

Choose a function and move the point. The green line is the tangent; the readout compares the formula for f′(x) with the gradient of the tangent.

4Common mistakes & exam tips

Common mistakes

  • Forgetting the minus sign in the derivatives of csc, cot and arccos.
  • Writing ddxax=xax−1. That is the power rule, which needs a constant power.
  • Forgetting the chain rule factor, e.g. ddxarctan2x=11+4x2 instead of 21+4x2.
  • Using ∫1a2+x2dx=arctanxa without the factor 1a.
  • Using arctan when the quadratic factorises: then partial fractions and logs are needed.

Exam tips

  • For "show that" derivations, state the restricted range of y to justify the sign of the square root.
  • Make the coefficient of x2 equal to 1 before matching to the formula-booklet integrals.
  • Exact answers involving arctan1=π4, arcsin12=π6 and arctan3=π3 are common on Paper 1.
  • Check a derivative numerically on Paper 2 whenever time allows.

5Practice

Fluency questions build the basics. Problem-solving questions make you think about which method to use.

FluencyP1
Differentiate y=tan(x2).
2xsec2(x2)
FluencyP2
Differentiate y=3x·x.
3x+x3xln3
FluencyP3
Differentiate y=arctanx.
11+x·12x=12x(1+x)
FluencyP4
Find ∫0311+x2dx.
arctan3=π3
Problem solvingP5
Find ∫1x2−6x+13dx.
(x−3)2+4: 12arctanx−32+C
Problem solvingP6
Show that ddxarctanx=11+x2.
tany=x⇒sec2yy′=1⇒y′=11+tan2y=11+x2

6Exam-style questions

Original questions in the style of the IB exam, with full markschemes. Give yourself about 1 minute per mark.

Question 1Paper 1[5 marks]

Let f(x)=arctan(x2).

  • (a)Find f′(x).[2]
  • (b)Find the equation of the tangent to the graph of f at x=1.[3]
(a)
11+(x2)2×2xM1
2x1+x4A1
(b)
f(1)=π4, f′(1)=1A1A1
y=x−1+π4A1
Question 2Paper 1[5 marks]

Show that ∫0313+x2dx=π312.

13arctanx3M1A1
13(arctan1−arctan0)M1
π43A1
=π312AG A1
Question 3Paper 1[6 marks]

Let y=secx+tanx, 0<x<π2.

  • (a)Show that dydx=ysecx.[3]
  • (b)Find the gradient of the curve at x=π4, giving your answer in the form a+b.[3]
(a)
dydx=secxtanx+sec2xA1A1
=secx(tanx+secx)=ysecxAG A1
(b)
secπ4=2, tanπ4=1A1
2(2+1)M1
2+2A1

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.

PaperQuestionFocusDifficulty
May 2025 · TZ2 · Paper 1Q8Properties and an equation involving arccosx★★★
Nov 2025 · TZ1 · Paper 2Q11Integrating arccosx by parts★★★
Spotted a mistake on this page?Tell me and I'll fix it. The button opens an email with this page already named, or write to jamesashtonmaths@gmail.com.
Report a mistake