5.15 Further derivatives and integrals

5.15 Further derivatives and integrals

IB Maths: Analysis and Approaches HL: Revision notes

Studying this course? Keep your progress in one place.

Key facts

  • tan⁡x→sec⁡2x\tan x\to\sec^{2}x, sec⁡x→sec⁡xtan⁡x\sec x\to\sec x\tan x, cosec⁡x→−cosec⁡xcot⁡x\operatorname{cosec}x\to-\operatorname{cosec}x\cot x, cot⁡x→−cosec⁡2x\cot x\to-\operatorname{cosec}^{2}x.
  • ax→axln⁡aa^{x}\to a^{x}\ln a and log⁡ax→1xln⁡a\log_{a}x\to\dfrac{1}{x\ln a}.
  • arcsin⁡x→11−x2\arcsin x\to\dfrac{1}{\sqrt{1-x^{2}}}, arccos⁡x→−11−x2\arccos x\to-\dfrac{1}{\sqrt{1-x^{2}}}, arctan⁡x→11+x2\arctan x\to\dfrac{1}{1+x^{2}}.
  • The constant +C+C gives a family of curves; a boundary condition fixes one.
  • Factorising denominator: partial fractions. Non-factorising: complete the square, then arctan.
−1.2−1−0.8−0.6−0.4−0.200.20.40.60.811.2−4−2246xy(0, 0)(0, 1)y = tan xy = sec² x
tan x and its gradient function sec² x (dashed).

Reciprocal trigonometric derivatives

The derivatives of tan⁡x\tan x, sec⁡x\sec x, cosec⁡x\operatorname{cosec}x and cot⁡x\cot x are in the formula booklet. The 'co-' functions have a minus sign.

With sec⁡x=1cos⁡x\sec x=\dfrac{1}{\cos x}, cosec⁡x=1sin⁡x\operatorname{cosec}x=\dfrac{1}{\sin x} and cot⁡x=1tan⁡x\cot x=\dfrac{1}{\tan x}, each derivative follows from the quotient or chain rule. For example ddx(cos⁡x)−1=(cos⁡x)−2sin⁡x=sec⁡xtan⁡x\dfrac{\mathrm{d}}{\mathrm{d}x}(\cos x)^{-1}=(\cos x)^{-2}\sin x=\sec x\tan x.

Use the chain rule for functions of axax. Here the secant, cosecant and cotangent are the reciprocal functions.

−1−0.8−0.6−0.4−0.200.20.40.60.811.2−4−22468xy(0, 1)y = tan xdy/dx = sec² x
y = tan x and its derivative sec²x. The gradient of tan x is never below 1, and equals 1 at x = 0.

Function

  • tan⁡x\tan x
  • sec⁡x\sec x
  • cosec⁡x\operatorname{cosec}x
  • cot⁡x\cot x

Derivative

  • sec⁡2x\sec^{2}x
  • sec⁡xtan⁡x\sec x\tan x
  • −cosec⁡xcot⁡x-\operatorname{cosec}x\cot x
  • −cosec⁡2x-\operatorname{cosec}^{2}x

Worked example

Differentiate cosec⁡3x\operatorname{cosec}3x.

What is ddxtan⁡2x\dfrac{\mathrm{d}}{\mathrm{d}x}\tan2x?

Bases other than e

Since ax=exln⁡aa^{x}=e^{x\ln a}, the derivative picks up a factor of ln⁡a\ln a. For logarithms, divide by it.

With base a, ddxax=axln⁡a\dfrac{\mathrm{d}}{\mathrm{d}x}a^{x}=a^{x}\ln a and ddxlog⁡ax=1xln⁡a\dfrac{\mathrm{d}}{\mathrm{d}x}\log_{a}x=\dfrac{1}{x\ln a}.

For example ddx3x=3xln⁡3\dfrac{\mathrm{d}}{\mathrm{d}x}3^{x}=3^{x}\ln3 and ddxlog⁡2(x2+1)=2x(x2+1)ln⁡2\dfrac{\mathrm{d}}{\mathrm{d}x}\log_{2}(x^{2}+1)=\dfrac{2x}{(x^{2}+1)\ln2}.

Reversing: ∫ax dx=axln⁡a+C\int a^{x}\,\mathrm{d}x=\dfrac{a^{x}}{\ln a}+C.

−2−1.5−1−0.50.511.522.5312345678xy(0, 0.693)y = 2^xdy/dx = 2^x ln 2
y = 2^x and its derivative 2^x ln 2 ≈ 0.693 × 2^x. The gradient curve is the original scaled by ln 2.
  • ddxax\dfrac{\mathrm{d}}{\mathrm{d}x}a^{x}axln⁡aa^{x}\ln a
  • ddxlog⁡ax\dfrac{\mathrm{d}}{\mathrm{d}x}\log_{a}x1xln⁡a\dfrac{1}{x\ln a}
  • ∫ax dx\int a^{x}\,\mathrm{d}xaxln⁡a+C\dfrac{a^{x}}{\ln a}+C

What is ∫2x dx\int2^{x}\,\mathrm{d}x?

Inverse trigonometric functions

The derivatives of arcsin⁡\arcsin, arccos⁡\arccos and arctan⁡\arctan give the standard forms that integrate to them.

The derivatives of arcsin⁡x\arcsin x, arccos⁡x\arccos x and arctan⁡x\arctan x are listed above, and with the chain rule ddxarctan⁡2x=21+4x2\dfrac{\mathrm{d}}{\mathrm{d}x}\arctan2x=\dfrac{2}{1+4x^{2}} and ddxarcsin⁡x3=19−x2\dfrac{\mathrm{d}}{\mathrm{d}x}\arcsin\dfrac{x}{3}=\dfrac{1}{\sqrt{9-x^{2}}}.

The matching integrals are in the booklet:

∫dxa2+x2=1aarctan⁡xa+C,∫dxa2−x2=arcsin⁡xa+C.\int\frac{\mathrm{d}x}{a^{2}+x^{2}}=\frac{1}{a}\arctan\frac{x}{a}+C,\qquad\int\frac{\mathrm{d}x}{\sqrt{a^{2}-x^{2}}}=\arcsin\frac{x}{a}+C.

−5−4−3−2−112345−2−1.5−1−0.50.511.52xyy = π/2y = −π/2(0, 0)(0, 1)y = arctan xy = 1/(1 + x²)
arctan x and its gradient 1/(1 + x²) (dashed).

What is ∫dxx2+9\int\dfrac{\mathrm{d}x}{x^{2}+9}?

Families of curves

Every function here can be integrated in reverse. Because of +C+C, the integral is a family of vertical translations; a boundary condition picks one.

Composites with a linear function work too: ∫sec⁡2(3x) dx=13tan⁡3x+C\int\sec^{2}(3x)\,\mathrm{d}x=\frac{1}{3}\tan3x+C and ∫sec⁡xtan⁡x dx=sec⁡x+C\int\sec x\tan x\,\mathrm{d}x=\sec x+C.

An indefinite integral describes a family of curves, each a vertical translation of the others. A boundary condition picks out one member.

Example: for dhdt=20(t−2)2+4\dfrac{\mathrm{d}h}{\mathrm{d}t}=\dfrac{20}{(t-2)^{2}+4} and h(0)=5h(0)=5, h=10arctan⁡t−22+Kh=10\arctan\dfrac{t-2}{2}+K, and 10arctan⁡(−1)+K=510\arctan(-1)+K=5 gives K=5+5π2K=5+\dfrac{5\pi}{2}.

−6−4−2246−4−224xyy = sin x + c
Antiderivatives of cos x: move the slider to translate the curve.

What does the constant CC change about the graph of an antiderivative?

Partial fractions and completing the square

If the denominator factorises, use partial fractions to get logarithms. If it does not, complete the square to reach an arctan form.

Check the discriminant b2−4acb^{2}-4ac: if ≥0\ge0 the denominator factorises, so split into partial fractions and integrate to logarithms. If <0<0, complete the square.

For x+7(x−1)(x+3)=Ax−1+Bx+3\dfrac{x+7}{(x-1)(x+3)}=\dfrac{A}{x-1}+\dfrac{B}{x+3}, put x=1x=1 to get A=2A=2 and x=−3x=-3 to get B=−1B=-1. Combine logarithms at the end into a single ln⁡k\ln k if asked.

−8−6−4−2246−8−6−4−22468xyx = 1x = −3(−7, 0)y = (x+7)/((x−1)(x+3))
y = (x + 7)/((x − 1)(x + 3)). Each factor of the denominator gives a vertical asymptote, matching the two logarithm terms after partial fractions.

Factorises

Discriminant:
≥0\ge0
Method:
Partial fractions
Result:
Logarithms

Does not factorise

Discriminant:
<0<0
Method:
Complete the square
Result:
Arctan

Worked example

Integrate 1x2+2x+5\dfrac{1}{x^{2}+2x+5}.

Which method suits ∫dxx2+4x+13\int\dfrac{\mathrm{d}x}{x^{2}+4x+13}?

Try an exam question

Find ∫x+7(x−1)(x+3) dx\displaystyle\int\dfrac{x+7}{(x-1)(x+3)}\,\mathrm{d}x.

[4 marks]

That's the notes covered.

Carry on to the next subtopic.

Try a question

Find f′(x)f'(x).

1 mark, marked against the mark scheme

Revision notes