Skip to content
IB Diploma ProgrammeSL & HL

Derivatives of further functions

Mathematics: Analysis and Approaches SL & HL Chapter Notes

Last updated November 2026

ShareWhatsAppPost

Derivatives of further functions notes as a printable PDF.

Read online free. Download a watermarked copy with a free account.

Read the notes

The full Derivatives of further functions notes as text: skim, search, and jump between subtopics.

~10 min read

1. Derivatives of tan, sec, cosec and cot

These four derivatives are in the formula booklet. Inside a composite such as cot 2θ, multiply by the derivative of the inside function: the chain rule. The derivatives of the two "co" functions carry a minus sign.

To differentiate cotθ, secθ or cosec θ from scratch, write it as a power of sin or cos and use the chain rule. For example sec x = (cos x)⁻¹.

A power such as (cotθ)⁻¹ is easier to differentiate once you recognise that it is tanθ. In IB, a show that question needs every step, so the chain rule factor from the inside function must appear.

d/dxtan x = sec² x

d/dxsec x = sec xtan x

d/dxcosec x = -cosec xcot x

d/dxcot x = -cosec² x

Worked example 15 marks

Consider the identity cot 2θ ≡ 1/2(cotθ - 1/cotθ). By differentiating both sides of the identity, show that 4 cosec² 2θ ≡ cosec²θ + sec²θ.

  1. 1

    differentiates the left side with the chain rule: d/dθcot 2θ = -2 cosec² 2θ (A1) [1]

  2. 2

    recognises that (cotθ)⁻¹ = tanθ, so the right side is 1/2(cotθ - tanθ) (M1) [1]

  3. 3

    d/dθcotθ = -cosec²θ (A1) [1]

  4. 4

    d/dθtanθ = sec²θ, so the right side gives 1/2(-cosec²θ - sec²θ) (A1) [1]

  5. 5

    equates the two sides: -2 cosec² 2θ = 1/2(-cosec²θ - sec²θ), so 4 cosec² 2θ ≡ cosec²θ + sec²θ (A1) (AG) [1]

2. Derivatives of exponential and logarithmic functions

For a constant a > 0, the exponential a^(x) differentiates to itself times ln a. Its inverse log_a x differentiates to 1 over xln a.

The natural logarithm appears in both. When a = e then ln a = 1, which gives the familiar e^(x) and ln x results.

Do not use the power rule on a^(x). The variable is in the exponent, so x a^(x-1) is wrong. For a composite such as a^(kx), multiply by the chain rule factor k.

d/dxa^(x) = a^(x)ln a

d/dxlog_a x = 1/(xln a)

Worked example 13 marks

Do not use a calculator. The curve C has equation y = 3^(x) + log₂ x for x > 0. Find the exact gradient of C at the point where x = 4.

  1. 1

    differentiates the exponential term: d/dx3^(x) = 3^(x)ln 3 (A1) [1]

  2. 2

    differentiates the logarithm term: d/dxlog₂ x = 1/(xln 2) (A1) [1]

  3. 3

    substitutes x = 4: gradient = 3⁴ln 3 + 1/(4ln 2) = 81ln 3 + 1/(4ln 2) (A1) [1]

3. Derivatives of arcsin, arccos and arctan

The inverse trigonometric functions have algebraic derivatives. Those of arcsin x and arccos x are equal in size and opposite in sign. The derivative of arctan x is 1/(1+x²), with no square root.

For a composite such as arctan(3x), put the inside function into the formula, then multiply by its derivative. The x² in the formula becomes (3x)² = 9x².

The graph of y = arctan x climbs towards π/2 and never reaches it. Its gradient is steepest at x = 0.

d/dxarcsin x = 1/(√(1-x²))

d/dxarccos x = -1/(√(1-x²))

d/dxarctan x = 1/(1+x²)

Worked example 13 marks

Do not use a calculator. Differentiate y = arccos(x/2) for -2 < x < 2. Give dy/dx in a simplified form.

  1. 1

    attempts to use the chain rule with inside function x/2 and derivative 1/2 (M1) [1]

  2. 2

    dy/dx = -1/2×1/(√(1-x²/4)) (A1) [1]

  3. 3

    √(1-x²/4) = (√(4-x²))/2, so dy/dx = -1/(√(4-x²)) (A1) [1]

4. Integrals that reverse these derivatives

Every derivative above can be read backwards as an indefinite integral. Each answer needs +C, because the result is a family of curves, one for each value of C. A point on the curve fixes C.

The results for the exponential and the inverse trigonometric functions are worth knowing by sight. int a^(x) dx needs division by ln a, which undoes the factor that differentiation brings in.

Show the method. A correct answer with no working may earn no marks.

int sec² x dx = tan x + C

int sec xtan x dx = sec x + C

int cosec xcot x dx = -cosec x + C

int cosec² x dx = -cot x + C

int a^(x) dx = (a^(x))/(ln a) + C

int 1/(1+x²) dx = arctan x + C

int 1/(√(1-x²)) dx = arcsin x + C

Worked example 13 marks

Do not use a calculator. Find int (3sec² x + 2^(x))dx.

  1. 1

    integrates the trigonometric term: int 3sec² x dx = 3tan x (A1) [1]

  2. 2

    integrates the exponential term: int 2^(x) dx = (2^(x))/(ln 2) (A1) [1]

  3. 3

    3tan x + (2^(x))/(ln 2) + C, with the constant of integration (A1) [1]

5. Composites with a linear function

When the inside function is linear, ax + b, reverse the chain rule. Integrate as if the inside were x, then divide by the coefficient of x. For example int sec²(2x+5) dx = 1/2tan(2x+5) + C.

An integrand of the form 1/(x² + bx +c) with no real factors leads to arctan. Complete the square first, so the denominator is u² + a². Then int1/(x²+2x+5) dx = 1/2arctan((x+1)/2) + C.

The factor 1/a comes from the constant a in u² + a². It is not optional.

int f'(ax+b) dx = 1/af(ax+b) + C

int 1/(x²+a²) dx = 1/aarctan(x/a) + C

Worked example 13 marks

Do not use a calculator. Find int 1/(x²+4x+13) dx.

  1. 1

    completes the square: x² + 4x + 13 = (x+2)² + 9 (A1) [1]

  2. 2

    recognises the arctan form int1/(u²+3²) du with u = x + 2 (M1) [1]

  3. 3

    1/3arctan((x+2)/3) + C (A1) [1]

6. Partial fractions to rearrange an integrand

A fraction with a product of linear factors on the bottom does not integrate directly. Split it into partial fractions first. Each piece is then of the form A/(x-p), which integrates to Aln|x-p|.

The syllabus example is int1/(x²+3x+2) dx = ln|(x+1)/(x+2)| + C, since 1/((x+1)(x+2)) = 1/(x+1) - 1/(x+2).

Keep the modulus signs: ln|x-p| is defined for x < p as well. Combine with the log laws only after integrating.

int A/(x-p) dx = Aln|x-p| + C

ln|u| - ln|v| = ln|u/v|

Worked example 14 marks

Do not use a calculator. Find int 5/((x-1)(x+4)) dx.

  1. 1

    writes in partial fractions: 5/((x-1)(x+4)) = A/(x-1) + B/(x+4) (M1) [1]

  2. 2

    5 = A(x+4) + B(x-1) gives A = 1 and B = -1 (A1) [1]

  3. 3

    integrates each term: ln|x-1| - ln|x+4| (A1) [1]

  4. 4

    ln|(x-1)/(x+4)| + C (A1) [1]

Recap

  • tan x → sec² x, sec x → sec xtan x, cosec x → -cosec xcot x, cot x → -cosec² x. The two "co" functions carry a minus sign.
  • d/dxa^(x) = a^(x)ln a and d/dxlog_a x = 1/(xln a). Never use the power rule on a^(x).
  • arcsin x → 1/(√(1-x²)), arccos x → -1/(√(1-x²)), arctan x → 1/(1+x²). Multiply by the derivative of the inside function.
  • Every indefinite integral ends in +C: a family of curves.
  • int f'(ax+b) dx = 1/af(ax+b) + C. Divide by the coefficient of x.
  • int1/(x²+a²) dx = 1/aarctanx/a + C. Complete the square first.
  • Partial fractions turn 1/((x-p)(x-q)) into terms that integrate to ln|x-p| and ln|x-q|.
  • Show the method. A correct answer with no working may earn no marks.

End-of-chapter exercise

Test yourself on the whole chapter. Work through these before moving on.

  1. State the derivative of tan x with respect to x.1 mark
    Answer
    1. sec² x (A1)

    Trap: Giving sec xtan x, which is the derivative of sec x.

  2. Do not use a calculator. Which expression is d/dxcot x? A. sec² x B. -cosec² x C. cosec² x D. -cosec xcot x1 mark
    Answer
    1. B (A1)
    2. A is the derivative of tan x. C has lost the minus sign. D is the derivative of cosec x.

    Trap: Dropping the minus sign that every "co" function carries.

  3. Do not use a calculator. Find the exact gradient of the graph of y = 2^(x) at the point where x = 3.2 marks
    Answer
    1. dy/dx = 2^(x)ln 2 (A1)
    2. At x = 3: gradient = 8ln 2 (A1)

    Trap: Using the power rule gives 3× 2² = 12, but the variable is in the exponent.

  4. Find the gradient of the graph of y = log₂(5x) at the point where x = 3. Give your answer to three significant figures.3 marks
    Answer
    1. Write y = log₂ 5 + log₂ x, or use the chain rule: dy/dx = 5/(5xln 2) (M1)
    2. dy/dx = 1/(xln 2) (A1)
    3. At x = 3: 1/(3ln 2) = 0.481 (A1)

    Trap: Leaving out ln 2 gives 1/3 = 0.333. The base 2 must appear.

  5. Do not use a calculator. Find dy/dx when y = arctan(3x).3 marks
    Answer
    1. Attempt to use the chain rule with inside function 3x (M1)
    2. dy/dx = 1/(1+(3x)²)× 3 (A1)
    3. dy/dx = 3/(1+9x²) (A1)

    Trap: Squaring only the x gives 1 + 3x², and forgetting the factor 3 gives 1/(1+9x²).

  6. Do not use a calculator. Find int sec²(4x-1) dx.2 marks
    Answer
    1. 1/4tan(4x-1) + C (A1)(A1)

    Trap: Writing tan(4x-1) + C with no 1/4, or leaving out +C.

  7. Do not use a calculator. Show that d/dx(sec x) = sec xtan x.3 marks
    Answer
    1. Write sec x = (cos x)⁻¹ (M1)
    2. d/dx(cos x)⁻¹ = -(cos x)⁻²×(-sin x) (A1)
    3. = (sin x)/(cos² x) (A1)
    4. = 1/(cos x)×(sin x)/(cos x) = sec xtan x (AG)

    Trap: The derivative of cos x is -sin x. Missing that minus sign leaves -sec xtan x.

  8. Do not use a calculator. Find int (3x+5)/((x+1)(x+3)) dx.4 marks
    Answer
    1. (3x+5)/((x+1)(x+3)) = A/(x+1) + B/(x+3) (M1)
    2. 3x+5 = A(x+3) + B(x+1), so A = 1 and B = 2 (A1)
    3. ln|x+1| + 2ln|x+3| (A1)
    4. ln|(x+1)(x+3)²| + C (A1)

    Trap: Combining 2ln|x+3| as ln|2(x+3)| instead of ln|x+3|², or dropping the modulus signs.

  9. Do not use a calculator. The profile of a skate ramp is modelled by y = f(x), where x and y are in metres. The gradient of the profile is f'(x) = 4/(x²-6x+13), and the profile passes through the point (3, 1). (a) Find f(x). (b) Hence show that f(5) - f(1) = π.6 marks
    Answer
    1. (a) x²-6x+13 = (x-3)² + 4 (A1)
    2. Recognise int4/(u²+2²) du with u = x-3: f(x) = 2arctan((x-3)/2) + C (M1)(A1)
    3. f(3) = 2arctan 0 + C = 1, so C = 1 and f(x) = 2arctan((x-3)/2) + 1 (A1)
    4. (b) f(5) - f(1) = (2arctan 1 + 1) - (2arctan(-1) + 1) (M1)
    5. = 2×π/4 - 2×(-π/4) = π (A1) (AG)

    Trap: Leaving out the factor 1/2 gives 4arctan((x-3)/2) and a difference of 2π; taking arctan(-1) as π/4 gives 0.

  10. Do not use a calculator. The cross-section of a drainage channel is the region between the x-axis and the curve y = 4/(x²-4) for -1 ≤ x ≤ 1, where x and y are in metres. Determine the exact area of the cross-section, in the form ln k m², where k ∈ Z⁺.7 marks
    Answer
    1. 4/((x-2)(x+2)) = A/(x-2) + B/(x+2) (M1)
    2. 4 = A(x+2) + B(x-2), so A = 1 and B = -1 (A1)
    3. int₋₁¹4/(x²-4) dx = [ln|x-2| - ln|x+2|]₋₁¹ (A1)
    4. = (ln 1 - ln 3) - (ln 3 - ln 1) (M1)
    5. = -2ln 3 (A1)
    6. The curve is below the x-axis, since x² - 4 < 0 for -1 ≤ x ≤ 1, so the area is 2ln 3 (R1)
    7. Area = ln 9 m², so k = 9 (A1)

    Trap: Without modulus signs, ln(x-2) at x = 1 is ln(-1), which is undefined. Giving the negative integral -2ln 3 as the area loses the last marks.

Say this, not that

Wording that loses the mark, against the wording the mark scheme credits.

Loses the markGets the mark
d/dθcot 2θ = -cosec² 2θ, with no chain rule factorchain rule applied: d/dθcot 2θ = -2 cosec² 2θ
int sec²(2x+5) dx = tan(2x+5) + C1/2tan(2x+5) + C: divide by the coefficient of x
ln(x+1)/(x+2), with no modulus signsln|(x+1)/(x+2)| + C: modulus signs and the constant
d/dθ(cotθ)⁻¹ = -(cotθ)⁻², with the chain rule factor left outattempts to use the chain rule: -(cotθ)⁻²×(-cosec²θ) = cosec²θ/cot²θ, or recognises that (cotθ)⁻¹ = tanθ

Frequently asked questions

What is the derivative of cot x?
d/dxcot x = -cosec² x. The two "co" functions, cot and cosec, carry a minus sign. Inside a composite such as cot 2θ, multiply by the chain rule factor, which gives -2 cosec² 2θ.
How do I differentiate an exponential such as a^x?
d/dxa^(x) = a^(x)ln a, where a > 0 is a constant. The variable is in the exponent, so do not use the power rule, which gives the wrong x a^(x-1). For a composite such as a^(kx), multiply by the chain rule factor k.
How do I integrate sec²(2x + 5)?
Reverse the chain rule: int sec²(2x+5) dx = 1/2tan(2x+5) + C. Divide by the coefficient of x, and keep the +C, because the result is a family of curves, one for each value of C.
How do I integrate 1/(x² + 2x + 5)?
Complete the square first so the denominator is u² + a². Then int1/(x²+2x+5) dx = 1/2arctan((x+1)/2) + C. The factor 1/a comes from the constant a in u² + a², and it is not optional.
How do I integrate a fraction with two linear factors on the bottom?
Split it into partial fractions first, so that each piece is of the form A/(x-p), which integrates to Aln|x-p|. The syllabus example is int1/(x²+3x+2) dx = ln|(x+1)/(x+2)| + C. Keep the modulus signs.
Why is the derivative of a^x not x a^(x−1)?
The power rule does not apply to a^(x), because the variable is in the exponent. The correct result is d/dxa^(x) = a^(x)ln a. Writing d/dxlog₂(5x) without the ln 2 in the denominator also loses the base, so keep the base in every answer.

Free notes are just the start.

Unlock every Workbook and Chapter at a Glance, and generate your own worksheets and predicted papers.

Explore plans

Related chapters