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

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.

x = 2 0 y = 2x y = x² y_upper − y_lower Area = ∫(2x − x²) dx Volume = π∫[(2x)² − (x²)²] dx Volume: subtract the SQUARES, don't subtract and then square
The same region, two formulas that differ in essence. Area takes the difference and then integrates: $\displaystyle\int(2x-x^{2})dx$. Volume must square each curve first and only then subtract: $\pi\displaystyle\int\left[(2x)^{2}-(x^{2})^{2}\right]dx$. Writing $\pi\displaystyle\int(2x-x^{2})^{2}dx$ is wrong, and quite commonly so — because $(a-b)^{2}\neq a^{2}-b^{2}$. The geometric reason: when rotated about the x-axis, the region generates a hollow solid like a tube; its volume is the volume of the outer solid minus the volume of the inner hole, and each of those volumes is computed separately using its own radius.

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.

Common mistake

Forgetting the factor $\dfrac{1}{a}$ when integrating a linear composite function. The antiderivative of $(2x+1)^{4}$ is not $\dfrac{(2x+1)^{5}}{5}$ but $\dfrac{(2x+1)^{5}}{10}$ — it needs an extra division by $2$, i.e. by the derivative of the inner expression. Reason: differentiation uses the chain rule, so the antiderivative must compensate for the factor that the chain rule produces. This trap is dangerous because the wrong answer is off only by a constant multiple, so it still "looks like an antiderivative" and nothing sounds an alarm. The same error appears in $\displaystyle\int e^{3x}dx=\dfrac{e^{3x}}{3}+c$ and $\displaystyle\int\sin(5x)dx=-\dfrac{\cos(5x)}{5}+c$. The absolute safeguard: differentiate the result again before writing the final line. It takes five seconds and catches this whole family of errors, even in more complicated cases where there is no rule to remember.

Key takeaway

Integration is hard at the choosing step, not the computing step. Ask three questions in order: does the expression have the form $\dfrac{f'}{f}$; is there an inner function together with its derivative; if not, then this is a product of two independent functions and integration by parts must be used. And whichever route you choose, always differentiate the result again to check.

← Differentiation: rules, tangents and the second derivative · All IB Math AA lessons · Practice IB Math AA questions (free, instant scoring) · Further calculus: implicit differentiation, differential equations and Maclaurin series →