Integrating standard functions

A level Maths (Edexcel) · Edexcel 9MA0 · P8.2 · Pure mathematics › Integration

Unlimited generated questions on this topic, at up to four difficulty levels, with full mark schemes. Notes and Full packs are open to everyone. Practice needs a free account.

Or take a quick quiz: 16 questions on this subtopic in A level Maths (Edexcel), marked as you tap.

Revision notes

You need to integrate powers of \(x\), \(\mathrm{e}^{kx}\), \(\dfrac{1}{x}\), \(\sin kx\) and \(\cos kx\), reverse other standard derivatives such as that of \(\tan kx\), and use trigonometric identities to integrate \(\sin^2 x\), \(\cos^2 x\) and \(\tan^2 x\). These results appear in almost every integration question on Papers 1 and 2.

Key facts

  • \(\int x^n\,\mathrm{d}x = \dfrac{x^{n+1}}{n+1} + c\), \(n \neq -1\)
  • \(\int \mathrm{e}^{kx}\,\mathrm{d}x = \dfrac{1}{k}\mathrm{e}^{kx} + c\)
  • \(\int \dfrac{1}{x}\,\mathrm{d}x = \ln|x| + c\)
  • \(\int \cos kx\,\mathrm{d}x = \dfrac{1}{k}\sin kx + c\)
  • \(\int \sin kx\,\mathrm{d}x = -\dfrac{1}{k}\cos kx + c\)
  • \(\int \sec^2 kx\,\mathrm{d}x = \dfrac{1}{k}\tan kx + c\)
  • \(\int \mathrm{f}(ax + b)\,\mathrm{d}x = \dfrac{1}{a}\mathrm{F}(ax + b) + c\)
  • \(\cos^2 x = \dfrac{1}{2}(1 + \cos 2x)\), \(\sin^2 x = \dfrac{1}{2}(1 - \cos 2x)\)
  • \(\tan^2 x = \sec^2 x - 1\)

Notes

Powers of x

  • \(\int x^n\,\mathrm{d}x = \dfrac{x^{n+1}}{n+1} + c\) works for every \(n\) except \(-1\), including fractional and negative powers.
  • Rewrite first: \(\sqrt{x} = x^{\frac{1}{2}}\), \(\dfrac{3}{x^2} = 3x^{-2}\), \(\dfrac{1}{2\sqrt{x}} = \dfrac{1}{2}x^{-\frac{1}{2}}\). Expand brackets and split fractions that have a single term underneath.

Exponentials and 1/x

  • \(\int \mathrm{e}^{kx}\,\mathrm{d}x = \dfrac{1}{k}\mathrm{e}^{kx} + c\): divide by \(k\), because differentiating multiplies by \(k\)
  • The missing power, \(n = -1\): \(\int \dfrac{1}{x}\,\mathrm{d}x = \ln|x| + c\). The modulus is there because \(\ln\) is only defined for positive numbers; if \(x \gt 0\) you can write \(\ln x\)
  • \(\int \dfrac{k}{x}\,\mathrm{d}x = k\ln|x| + c\) and \(\int \dfrac{1}{ax + b}\,\mathrm{d}x = \dfrac{1}{a}\ln|ax + b| + c\)

Trigonometric functions (radians only)

  • \(\int \cos kx\,\mathrm{d}x = \dfrac{1}{k}\sin kx + c\) and \(\int \sin kx\,\mathrm{d}x = -\dfrac{1}{k}\cos kx + c\)
  • Reverse the derivatives you know: \(\int \sec^2 kx\,\mathrm{d}x = \dfrac{1}{k}\tan kx + c\), \(\int \sec x\tan x\,\mathrm{d}x = \sec x + c\), \(\int \mathrm{cosec}^2 x\,\mathrm{d}x = -\cot x + c\), \(\int \mathrm{cosec}\,x\cot x\,\mathrm{d}x = -\mathrm{cosec}\,x + c\)
  • Some results, such as \(\int \tan kx\,\mathrm{d}x = \dfrac{1}{k}\ln|\sec kx| + c\), are in the formula booklet: know where to find them.

Using identities first

diagram
  • \(\sin^2 x\), \(\cos^2 x\) and \(\tan^2 x\) cannot be integrated directly. Rewrite them: \(\cos^2 x = \dfrac{1}{2}(1 + \cos 2x)\), \(\sin^2 x = \dfrac{1}{2}(1 - \cos 2x)\), \(\tan^2 x = \sec^2 x - 1\)
  • xyO1½π/2π3π/22πy = cos²xy = ½
    \(\cos^2 x = \dfrac{1}{2} + \dfrac{1}{2}\cos 2x\): a \(\cos 2x\) wave of height \(\dfrac{1}{2}\) about \(y = \dfrac{1}{2}\), which is easy to integrate.
  • So \(\int \sin^2 x\,\mathrm{d}x = \dfrac{1}{2}x - \dfrac{1}{4}\sin 2x + c\) and \(\int \tan^2 x\,\mathrm{d}x = \tan x - x + c\)
  • Also useful: \(\sin x\cos x = \dfrac{1}{2}\sin 2x\)

How to answer each type of question

M = method mark, A = answer mark, B = a mark on its own, dM = depends on the earlier method mark, A1* = the solution must be fully correct, with every step shown.

Integrate a sum of standard functions

3 to 4 marksGrade D
  1. Split the integrand into separate terms.
  2. Integrate each term with its standard result, dividing by the coefficient of \(x\) inside.
  3. Add a single \(+\,c\) at the end.

Example. Find \(\displaystyle\int \left(4\mathrm{e}^{2x} - \dfrac{6}{x} + 3\cos 3x\right)\mathrm{d}x\), \(x \gt 0\)

Show the model answerHide the model answer
\(2\mathrm{e}^{2x}\)
B1
\(-6\ln x\)
B1
\(3\cos 3x\) integrates to the form \(k\sin 3x\)
M1
\(2\mathrm{e}^{2x} - 6\ln x + \sin 3x + c\)
A1

Show that a definite integral has an exact value

4 to 5 marksGrade C
  1. Integrate each term, including the \(\dfrac{1}{a}\) from any linear expression inside.
  2. Substitute the upper limit, then subtract the value at the lower limit.
  3. Use \(\mathrm{e}^0 = 1\) and \(\ln 1 = 0\), and simplify to the given form, showing each step.

Example. Show that \(\displaystyle\int_0^1 \left(\mathrm{e}^{2x} + \dfrac{4}{2x + 1}\right)\mathrm{d}x = \dfrac{1}{2}\left(\mathrm{e}^2 - 1\right) + 2\ln 3\)

Show the model answerHide the model answer
\(\left[\dfrac{1}{2}\mathrm{e}^{2x} + 2\ln(2x + 1)\right]_0^1\) B1 (for \(\dfrac{1}{2}\mathrm{e}^{2x}\)) M1 (for \(k\ln(2x + 1)\)) A1 (for \(2\ln(2x + 1)\))
\(= \left(\dfrac{1}{2}\mathrm{e}^2 + 2\ln 3\right) - \left(\dfrac{1}{2} + 2\ln 1\right)\)
dM1
\(= \dfrac{1}{2}\left(\mathrm{e}^2 - 1\right) + 2\ln 3\)
A1*

Use a trigonometric identity to integrate

5 marksGrade A
  1. Spot \(\sin^2\), \(\cos^2\) or \(\tan^2\): these need an identity first.
  2. Rewrite using a double angle formula or \(\tan^2 x = \sec^2 x - 1\) and simplify.
  3. Integrate, then use exact values of \(\sin\), \(\cos\) and \(\tan\) at the limits (in radians).

Example. Find the exact value of \(\displaystyle\int_0^{\frac{\pi}{4}} \left(2\cos^2 x + \tan^2 x\right)\mathrm{d}x\)

Show the model answerHide the model answer
\(2\cos^2 x = 1 + \cos 2x\) B1 and \(\tan^2 x = \sec^2 x - 1\)
B1
So the integrand is \(\cos 2x + \sec^2 x\)
\(\left[\dfrac{1}{2}\sin 2x + \tan x\right]_0^{\frac{\pi}{4}}\)
M1 A1
\[\begin{aligned}[b]&= \left(\frac{1}{2} + 1\right) - 0 \\ &= \frac{3}{2}\end{aligned}\]
A1

Don’t lose marks

  • Multiplying by \(k\) instead of dividing: \(\int \mathrm{e}^{3x}\,\mathrm{d}x = \dfrac{1}{3}\mathrm{e}^{3x} + c\), not \(3\mathrm{e}^{3x} + c\)
  • Getting the sign wrong: \(\int \sin x\,\mathrm{d}x = -\cos x + c\)
  • Using the power rule on \(\dfrac{1}{x}\), which would divide by zero; the answer is \(\ln|x|\). But \(\dfrac{1}{x^2} = x^{-2}\) does use the power rule: \(-x^{-1} + c\)
  • Treating \(\sin^2 x\) like a power of \(x\): \(\int \sin^2 x\,\mathrm{d}x\) is not \(\dfrac{1}{3}\sin^3 x + c\)
  • Using the 'divide by \(a\)' rule when the inside is not linear: \(\int \mathrm{e}^{x^2}\,\mathrm{d}x\) is not \(\dfrac{1}{2x}\mathrm{e}^{x^2} + c\)
  • Working in degrees: the trigonometric integrals only hold in radians.

More tips

Memory tricks

  • Linear expression inside? Integrate as normal, then divide by the coefficient of \(x\)
  • Differentiating goes \(\sin \to \cos \to -\sin \to -\cos\); integrating goes the other way, so only the integral of \(\sin\) picks up a minus sign.
  • Differentiate your answer to check: \(\dfrac{\mathrm{d}}{\mathrm{d}x}\left(\dfrac{1}{3}\mathrm{e}^{3x}\right) = \mathrm{e}^{3x}\) confirms the \(\dfrac{1}{3}\)
  • A squared trigonometric function in an integral? Reach for an identity straight away.

Exam technique

  • Write \(\ln|x|\), or \(\ln x\) when you know \(x \gt 0\). Leave answers exact (\(\ln\), \(\mathrm{e}\), \(\pi\), surds) unless a decimal is asked for.
  • An integral with no limits needs \(+\,c\) in the final answer.
  • In a 'show that', write the square-bracket line and the substituted values: the final line alone earns nothing.
  • Know the basic results by heart, and check before the exam which extra results the formula booklet gives you.

What each grade needs

What you need to be able to do, from the first marks up to the top grade.

  1. Grade E
    Integrate powers of x, including fractional powersRewrite roots and fractions as powers first, e.g. \(\dfrac{2}{\sqrt{x}} = 2x^{-\frac{1}{2}}\), which integrates to \(4x^{\frac{1}{2}} + c\)
  2. Grade D
    Integrate exponentials and 1/x\(\int \mathrm{e}^{kx}\,\mathrm{d}x = \dfrac{1}{k}\mathrm{e}^{kx} + c\) and \(\int \dfrac{1}{x}\,\mathrm{d}x = \ln|x| + c\)
  3. Grade C
    Integrate sin kx and cos kx in radians\(\int \cos kx\,\mathrm{d}x = \dfrac{1}{k}\sin kx + c\) and \(\int \sin kx\,\mathrm{d}x = -\dfrac{1}{k}\cos kx + c\)
  4. Grade C
    Integrate functions of a linear expressionIf \(\int \mathrm{f}(x)\,\mathrm{d}x = \mathrm{F}(x) + c\), then \(\int \mathrm{f}(ax + b)\,\mathrm{d}x = \dfrac{1}{a}\mathrm{F}(ax + b) + c\), e.g. \(\int \dfrac{1}{3x - 2}\,\mathrm{d}x = \dfrac{1}{3}\ln|3x - 2| + c\)
  5. Grade B
    Reverse standard derivatives such as tan kxBecause \(\dfrac{\mathrm{d}}{\mathrm{d}x}(\tan kx) = k\sec^2 kx\), \(\int \sec^2 kx\,\mathrm{d}x = \dfrac{1}{k}\tan kx + c\)
  6. Grade A
    Use trigonometric identities before integratingReplace \(\sin^2 x\), \(\cos^2 x\) or \(\tan^2 x\) using the double angle formulae or \(\tan^2 x = \sec^2 x - 1\), then integrate.

Sample questions

Written for this site in the style of Edexcel exam questions. They are not taken from real past papers.

Question 1Easy4 marks
In this question \(x \gt 0\).
Find \(\int \left(12x^{3} - 6x^{2} - 2x + \frac{4}{x^{3}}\right) \,\mathrm{d}x\), giving each term in its simplest form.
[4]
Show the answer and mark scheme
Answer: \(3x^{4} - 2x^{3} - x^{2} - 2x^{-2} + c\)
  • M1 for \(x^{n} \to x^{n + 1}\) for at least one term
  • A1 for two terms correct (may be unsimplified)
  • A1 for three terms correct
  • A1 for a fully correct, simplified answer including \(+ c\)

Worked solution: Writing each term as a power of \(x\): \(12x^{3} - 6x^{2} - 2x + 4x^{-3}\).
\(\int \left(12x^{3} - 6x^{2} - 2x + 4x^{-3}\right) \,\mathrm{d}x = 3x^{4} - 2x^{3} - x^{2} - 2x^{-2} + c\)

Question 2Medium7 marks
\(f(x) = \frac{-2x^{3} - 4x - 6}{x^{3}}, \quad x \gt 0\)
In this question you must show all stages of your working. Solutions relying entirely on calculator technology are not acceptable.
(a) Write \(f(x)\) in the form \(A + Bx^{-2} + Cx^{-3}\), where \(A\), \(B\) and \(C\) are constants to be found.
[2]
(b) Hence find \(\int f(x) \,\mathrm{d}x\).
[3]
(c) Hence find the exact value of \(\int_{1}^{2} f(x) \,\mathrm{d}x\).
[2]
Show the answer and mark scheme
(a) Answer: \(A = -2\), \(B = -4\), \(C = -6\)
  • M1 for expanding the numerator and dividing each term by the denominator
  • A1 for \(A = -2\), \(B = -4\), \(C = -6\)

Worked solution: Expanding and dividing term by term: \(f(x) = -2 - 4x^{-2} - 6x^{-3}\), so \(A = -2\), \(B = -4\) and \(C = -6\).

(b) Answer: \(-2x + 4x^{-1} + 3x^{-2} + c\)
  • M1 for \(x^{n} \to x^{n + 1}\) for at least one term
  • A1 for two terms correct
  • A1 for \(-2x + 4x^{-1} + 3x^{-2} + c\)

Worked solution: \(\int f(x) \,\mathrm{d}x = -2x + 4x^{-1} + 3x^{-2} + c\)

(c) Answer: \(-\frac{25}{4}\)
  • M1 for substituting the limits 2 and 1 into their answer to part (b) and subtracting
  • A1 for \(-\frac{25}{4}\)

Worked solution: \(\left[-2x + 4x^{-1} + 3x^{-2}\right]_{1}^{2} = \left(-\frac{5}{4}\right) - \left(5\right) = -\frac{25}{4}\)⁠.

Question 3Hard5 marks
In this question you must show all stages of your working. Solutions relying entirely on calculator technology are not acceptable.
Find the exact value of \(\int_{0}^{4} \left(\frac{6}{x + 1} + 6(x + 1)\right) \,\mathrm{d}x\), giving your answer in the form \(a + b\ln 5\), where \(a\) and \(b\) are rational numbers.
[5]
Show the answer and mark scheme
Answer: \(72 + 6\ln 5\)
  • M1 for \(\frac{6}{x + 1} \to \lambda\ln(x + 1)\)
  • M1 for \((x + 1) \to \mu(x + 1)^{2}\)
  • A1 for \(6\ln(x + 1) + 3(x + 1)^{2}\)
  • dM1 for substituting both limits and subtracting
  • A1 for \(72 + 6\ln 5\)

Worked solution: \(\left[6\ln(x + 1) + 3(x + 1)^{2}\right]_{0}^{4}\). At the upper limit \(x + 1 = 5\); at the lower limit it equals 1, and \(\ln 1 = 0\).
So the value is \(6\ln 5 + 3\left(25 - 1\right) = 72 + 6\ln 5\).

More in Integration

Stuck? Get 1-to-1 help.

Chhetri Academy tutors GCSE and A level Maths and Science online, with a free 30-minute trial lesson.