Year 3 · Notes: Principles of Calculus – Rules and Techniques of Integration
Topic: S.S1 Y3 PRINCIPLES OF CALCULUS
Standard integrals, integrating sums and multiples, integration by substitution, integration by parts, integrating with partial fractions and trigonometric identities, and evaluating definite integrals.
Year 3 · Notes: Principles of Calculus – Rules and Techniques of Integration
In Year 2 you integrated powers of \(x\) by reversing the power rule. Most functions you will meet are not so simple: products such as \(xe^x\), compositions such as \((x^2 + 1)^4\), or fractions such as \(\dfrac{5x + 1}{x^2 - 1}\). Year 3 gives you a toolkit of techniques, and the skill is choosing the right tool for each integral.
IN THIS NOTE
Standard integrals and the linearity rules.
Integration by substitution.
Integration by parts.
Integrating rational functions using partial fractions.
Using trigonometric identities to integrate.
Evaluating definite integrals.
1. Standard integrals
Each standard integral is a derivative read backwards. You can integrate a sum term by term and take constants outside: \(\int [af(x) + bg(x)]\,dx = a\int f(x)\,dx + b\int g(x)\,dx\).
\(f(x)\) | \(\int f(x)\,dx\) |
|---|---|
\(x^n\ (n \ne -1)\) | \(\dfrac{x^{n+1}}{n + 1} + C\) |
\(\dfrac{1}{x}\) | \(\ln|x| + C\) |
\(e^{ax}\) | \(\dfrac{1}{a}e^{ax} + C\) |
\(\cos ax\) | \(\dfrac{1}{a}\sin ax + C\) |
\(\sin ax\) | \(-\dfrac{1}{a}\cos ax + C\) |
\(\sec^2 ax\) | \(\dfrac{1}{a}\tan ax + C\) |
WORKED EXAMPLE · Using the table
\(\displaystyle\int\left(3x^2 + \frac{2}{x} + e^{2x}\right)dx = x^3 + 2\ln|x| + \tfrac{1}{2}e^{2x} + C\).
\(\displaystyle\int \cos 3x\,dx = \tfrac{1}{3}\sin 3x + C\).
2. Integration by substitution
Substitution reverses the chain rule. Look for a function inside another function whose derivative also appears (or nearly appears) as a factor. Let \(u\) be the inside function, replace \(dx\) using \(\dfrac{du}{dx}\), integrate with respect to \(u\), and finally put \(x\) back.
WORKED EXAMPLE · Substitution
(a) \(\displaystyle\int 2x(x^2 + 1)^4\,dx\). Let \(u = x^2 + 1\), so \(du = 2x\,dx\). The integral becomes \(\displaystyle\int u^4\,du = \frac{u^5}{5} + C = \frac{(x^2 + 1)^5}{5} + C\).
(b) \(\displaystyle\int \frac{x}{x^2 + 4}\,dx\). Let \(u = x^2 + 4\), \(du = 2x\,dx\), so \(x\,dx = \tfrac{1}{2}du\): \(\displaystyle\tfrac{1}{2}\int\frac{du}{u} = \tfrac{1}{2}\ln(x^2 + 4) + C\).
KEY IDEA
A very useful special case: \(\displaystyle\int \frac{f'(x)}{f(x)}\,dx = \ln|f(x)| + C\). If the top is the derivative of the bottom, the answer is the log of the bottom.
3. Integration by parts
Integration by parts reverses the product rule: \[\int u\,\frac{dv}{dx}\,dx = uv - \int v\,\frac{du}{dx}\,dx.\] Choose \(u\) to be the part that gets simpler when you differentiate it (usually a power of \(x\), or \(\ln x\)), and \(\dfrac{dv}{dx}\) to be the part you can integrate.
WORKED EXAMPLE · By parts
(a) \(\displaystyle\int xe^x\,dx\): \(u = x\), \(\dfrac{dv}{dx} = e^x\), so \(\dfrac{du}{dx} = 1\), \(v = e^x\). Answer: \(xe^x - \int e^x\,dx = xe^x - e^x + C\).
(b) \(\displaystyle\int x\cos x\,dx = x\sin x - \int \sin x\,dx = x\sin x + \cos x + C\).
(c) \(\displaystyle\int \ln x\,dx\): write it as \(\int \ln x \cdot 1\,dx\) with \(u = \ln x\), \(\dfrac{dv}{dx} = 1\): \(x\ln x - \int x \cdot \tfrac{1}{x}\,dx = x\ln x - x + C\).
WATCH OUT
Check by differentiating your answer: you should get back the function you integrated. This catches most sign errors in integration by parts.
4. Using partial fractions
Split a rational function into partial fractions (Years 1 and 2), then integrate each part, usually giving logarithms.
WORKED EXAMPLE · Partial fractions
\(\displaystyle\int \frac{5x + 1}{(x + 1)(x - 1)}\,dx = \int\left(\frac{2}{x + 1} + \frac{3}{x - 1}\right)dx = 2\ln|x + 1| + 3\ln|x - 1| + C\).
5. Using trigonometric identities
Powers like \(\sin^2 x\) and \(\cos^2 x\) have no standard integral, so rewrite them with the double angle formulas: \(\sin^2 x = \tfrac{1}{2}(1 - \cos 2x)\) and \(\cos^2 x = \tfrac{1}{2}(1 + \cos 2x)\).
WORKED EXAMPLE · An identity
\(\displaystyle\int \sin^2 x\,dx = \int \tfrac{1}{2}(1 - \cos 2x)\,dx = \frac{x}{2} - \frac{\sin 2x}{4} + C\).
6. Definite integrals
Integrate, then substitute the upper limit and subtract the value at the lower limit. With substitution you can either change the limits to \(u\)-values or put \(x\) back first.
WORKED EXAMPLE · Definite integrals
\(\displaystyle\int_0^{\pi/2}\cos x\,dx = [\sin x]_0^{\pi/2} = 1 - 0 = 1\).
\(\displaystyle\int_0^1 xe^x\,dx = [xe^x - e^x]_0^1 = (e - e) - (0 - 1) = 1\).
\(\displaystyle\int_0^2 2x(x^2 + 1)^4\,dx = \left[\frac{(x^2 + 1)^5}{5}\right]_0^2 = \frac{3125 - 1}{5} = 624.8\).
Check yourself
Additional Mathematics
Senior High
More on PRINCIPLES OF CALCULUS
Other resources you can find on TudHub.