Integration asks the reverse question: which function has this derivative? Add one to the power and divide by the new power, divide by \(a\) whenever the inside is \(ax + b\), and never forget the \(+\,c\), because a whole family of curves shares the same gradient function.
If \(\dfrac{\mathrm{d}}{\mathrm{d}x}F(x) = f(x)\), then \(\displaystyle\int f(x)\,\mathrm{d}x = F(x) + c\). For powers, \(\displaystyle\int x^{n}\,\mathrm{d}x = \dfrac{x^{n+1}}{n + 1} + c\) (\(n \ne -1\)) and \(\displaystyle\int \dfrac{1}{x}\,\mathrm{d}x = \ln|x| + c\). When the inside is \(ax + b\), integrate as if it were \(x\), then divide by \(a\). Rewrite products, quotients and roots as sums of powers BEFORE you integrate, and check any answer by differentiating it.
Fig. 1: three members of the family y = x² + c, all with dy/dx = 2x. At x = 1 every curve has gradient 2, so the dashed tangents are parallel: the gradient function alone cannot tell the curves apart. One extra point, here (1, 3), fixes c = 2
Section 01
Differentiation in reverse.
Differentiating \(x^{3}\) gives \(3x^{2}\), so integrating \(3x^{2}\) gives back \(x^{3}\). But \(x^{3} + 5\) and \(x^{3} - 2\) also differentiate to \(3x^{2}\), because the derivative of a constant is zero. So every indefinite integral ends with an arbitrary constant: \(\displaystyle\int 3x^{2}\,\mathrm{d}x = x^{3} + c\). To reverse 'multiply by the power, then take one off the power', do the opposite steps in the opposite order: ADD one to the power, then DIVIDE by the new power.
Term by term: integrate a sum one term at a time; a constant multiplier stays in front, and a constant \(k\) integrates to \(kx\).
Rewrite first: roots as powers (\(\sqrt{x} = x^{\frac{1}{2}}\)), reciprocals as negative powers (\(\dfrac{2}{x^{3}} = 2x^{-3}\)), brackets expanded, and a fraction with a single term underneath split into separate terms.
The exception: \(n = -1\) would divide by zero, and \(x^{-1} = \dfrac{1}{x}\) integrates to \(\ln|x|\) instead, because \(\dfrac{\mathrm{d}}{\mathrm{d}x}\ln x = \dfrac{1}{x}\).
Check: differentiate your answer; you should get back exactly what you integrated.
Write \(-\dfrac{1}{x^{2}} = -x^{-2}\), which integrates to \(\dfrac{-x^{-1}}{-1} = x^{-1}\). Answer: \(x^{4} + \dfrac{1}{x} + c\).
Examiner trap
You cannot integrate the top and bottom of a fraction separately, or the factors of a product separately: \(\displaystyle\int \frac{(x + 2)^{2}}{x}\,\mathrm{d}x\) is NOT \(\dfrac{(x + 2)^{3}/3}{x^{2}/2}\). Expand and split first. And only \(x^{-1}\) gives a logarithm: \(\displaystyle\int \frac{1}{x^{2}}\,\mathrm{d}x = -\frac{1}{x} + c\), not \(\ln x^{2}\).
Section 02
A linear inside: divide by a.
When you differentiate a function of \(ax + b\), the chain rule MULTIPLIES by \(a\): \(\dfrac{\mathrm{d}}{\mathrm{d}x}(3x - 2)^{6} = 18(3x - 2)^{5}\). Integration undoes this, so integrate as though \(ax + b\) were just \(x\), then DIVIDE by \(a\). This only works because \(a\) is a constant; it does not work for an inside such as \(x^{2} + 1\). Angles are in radians.
Divide by \(a\), never multiply: \(\displaystyle\int \mathrm{e}^{3x}\,\mathrm{d}x = \frac{1}{3}\mathrm{e}^{3x} + c\), not \(3\mathrm{e}^{3x}\) (that is the derivative). Watch the signs too: \(\sin\) integrates to \(-\cos\), and a negative \(a\) flips the sign, as \(\displaystyle\int \mathrm{e}^{-2x}\,\mathrm{d}x = -\frac{1}{2}\mathrm{e}^{-2x} + c\).
Stage 1 · Learn
Check your understanding
Four quick checks. Each correct answer earns XP and records this skill on your profile.
Integrating \(\dfrac{\mathrm{d}y}{\mathrm{d}x}\) gives a whole family of curves (Fig. 1). If you also know one point on the curve, substitute it into \(y = F(x) + c\) to find \(c\) and the equation of THE curve. Exam questions also give you a derivative to work out first, then say 'hence' integrate: rearrange the derivative so that the function you want is integrated by reading the result backwards.
Equation of a curve: integrate \(\dfrac{\mathrm{d}y}{\mathrm{d}x}\) with \(+\,c\), substitute the known \(x\) and \(y\), solve for \(c\), and write \(y = \dots\) in full.
Hence: if \(\dfrac{\mathrm{d}}{\mathrm{d}x}F(x) = f(x)\), then \(\displaystyle\int f(x)\,\mathrm{d}x = F(x) + c\). If the result is \(k\,f(x)\) for a constant \(k\), divide by \(k\). If it has extra terms, move them across and integrate those separately.
Coming next: in a definite integral such as \(\displaystyle\int_{1}^{3} 2x\,\mathrm{d}x\), the \(c\) cancels when you subtract, so it is left out. Definite integrals and areas are the next lesson.
Worked example Equation of a curve from its gradient
A curve has \(\dfrac{\mathrm{d}y}{\mathrm{d}x} = 3x^{2} - \dfrac{4}{x^{2}}\) and passes through the point \((2, 5)\). Find the equation of the curve.
Write \(3x^{2} - 4x^{-2}\) and integrate: \(y = x^{3} - \dfrac{4x^{-1}}{-1} + c = x^{3} + \dfrac{4}{x} + c\).
Product rule: \(\dfrac{\mathrm{d}}{\mathrm{d}x}(x\ln x) = 1 \times \ln x + x \times \dfrac{1}{x} = \ln x + 1\).
Read it backwards: \(\displaystyle\int (\ln x + 1)\,\mathrm{d}x = x\ln x + c\).
The extra term \(1\) integrates to \(x\), so \(\displaystyle\int \ln x\,\mathrm{d}x = x\ln x - \int 1\,\mathrm{d}x = x\ln x - x + c\).
Check: \(\dfrac{\mathrm{d}}{\mathrm{d}x}(x\ln x - x) = \ln x + 1 - 1 = \ln x\).
Answer: \(\ln x + 1\); \(\displaystyle\int \ln x\,\mathrm{d}x = x\ln x - x + c\)
Your turn
Show that \(\dfrac{\mathrm{d}}{\mathrm{d}x}(x\sin x) = \sin x + x\cos x\), and hence find \(\displaystyle\int x\cos x\,\mathrm{d}x\).
The product rule gives \(\sin x + x\cos x\). So \(\displaystyle\int x\cos x\,\mathrm{d}x = x\sin x - \int \sin x\,\mathrm{d}x = x\sin x + \cos x + c\).
Examiner trap
Find \(c\) AFTER integrating, by substituting into \(y\), never into \(\dfrac{\mathrm{d}y}{\mathrm{d}x}\); and the \(y\)-coordinate of the point is not \(c\) unless \(x = 0\). In a 'hence' question, deal with the extra terms: \(\dfrac{\mathrm{d}}{\mathrm{d}x}(x\ln x) = \ln x + 1\) does NOT mean \(\displaystyle\int \ln x\,\mathrm{d}x = x\ln x\).
Stage 2 · Exam
Exam-style questions
Unlocks once the four checks above are done. Worth more XP, written to IGCSE Additional Mathematics Paper 1 and Paper 2 standard.
Finish the four checks above to unlock the exam questions