Integration: antiderivatives, area and volume
IB Math AA · Calculus
Standard integrals
$$\int x^{n}dx=\frac{x^{n+1}}{n+1}+c\ (n\neq-1),\quad \int\frac{1}{x}dx=\ln|x|+c,\quad \int e^{kx}dx=\frac{e^{kx}}{k}+c$$$$\int(ax+b)^{n}dx=\frac{(ax+b)^{n+1}}{a(n+1)}+c$$The extra $\dfrac{1}{a}$ in the last line is the chain rule running backwards — omitting it is the single most common integration error.
Choosing a technique
- Recognition: the integrand is $\dfrac{f'}{f}$ or $f'\!\left(g\right)g'$;
- Substitution: an inner function and (a multiple of) its derivative both appear;
- By parts: $\displaystyle\int u\frac{dv}{dx}dx=uv-\int v\frac{du}{dx}dx$, choosing $u$ to be the factor that simplifies when differentiated.
Area and volume
$$\text{area between curves}=\int_{a}^{b}\left(y_{\text{top}}-y_{\text{bottom}}\right)dx,\qquad V=\pi\int_{a}^{b}y^{2}\,dx$$Area asks for a positive quantity, so a region below the axis needs its integral negated or the limits split at each crossing.
Worked example: area between two curves
Calculate the area of the region bounded by $y=2x$ and $y=x^{2}$.
Solution
Step 1 — find the limits from the intersection points.
$$2x=x^{2}\;\Longrightarrow\;x^{2}-2x=0\;\Longrightarrow\;x(x-2)=0\;\Longrightarrow\;x=0,\ x=2$$Step 2 — determine which curve is on top. Test $x=1$: the line gives $2$, the parabola gives $1$. So the line is on top over the whole interval.
Step 3 — integrate the difference.
$$A=\int_{0}^{2}\left(2x-x^{2}\right)dx=\left[x^{2}-\frac{x^{3}}{3}\right]_{0}^{2}=\left(4-\frac{8}{3}\right)-0=\frac{4}{3}$$Sensibility check: the region lies entirely inside the triangle with vertices $(0,0)$, $(2,0)$, $(2,4)$ which has area $4$; the answer $\dfrac{4}{3}\approx 1.33$ is smaller — reasonable.
Taking the difference first and then integrating is the neatest way and avoids a sign error at the end. Integrating each curve separately and then subtracting also gives the right answer, but you must remember that both use the same limits $0$ and $2$.
Worked example: choosing the right integration technique
Calculate $\displaystyle\int x\cos x\,dx$ and $\displaystyle\int\frac{2x}{x^{2}+3}\,dx$, and state why the two problems use two different techniques.
Solution
The second one first, because it is recognized by eye. The derivative of the denominator $x^{2}+3$ is $2x$, exactly the numerator. This is the form $\dfrac{f'}{f}$:
$$\int\frac{2x}{x^{2}+3}dx=\ln\left(x^{2}+3\right)+c$$(No absolute value sign is needed because $x^{2}+3>0$ for all $x$.)
The first needs integration by parts, because the two factors $x$ and $\cos x$ are unrelated to each other through differentiation. Choose $u=x$ (its derivative is $1$, simplifying) and $\dfrac{dv}{dx}=\cos x$ (whose antiderivative is $\sin x$):
$$\int x\cos x\,dx=x\sin x-\int\sin x\,dx=x\sin x+\cos x+c$$Check by differentiating again: $\dfrac{d}{dx}\left(x\sin x+\cos x\right)=\sin x+x\cos x-\sin x=x\cos x$. Matches.
Why the two techniques differ. Recognition asks a single question: does the derivative of one part appear in the remaining part? For $\dfrac{2x}{x^{2}+3}$ it does, so substitute or recognize directly. For $x\cos x$ it does not — the derivative of $\cos x$ is $-\sin x$, unrelated to $x$ — so integration by parts must be used, the technique for a product of two independent functions.