Substitution reverses the chain rule. Integration by parts reverses the product rule, and is the tool for integrating a product of two unrelated functions, such as $x e^x$ or $x\cos x$.
You split the integrand into two pieces: one you will differentiate ($u$) and one you will integrate ($\dfrac{dv}{dx}$). The method succeeds when $\displaystyle\int v\frac{du}{dx}\,dx$ is easier than what you started with.
Find $\displaystyle\int x e^x\,dx$.
Find $\displaystyle\int x\cos 2x\,dx$.
Choose $u$ so that it gets simpler when differentiated, and make sure the other part can actually be integrated.
| Priority for $u$ | Type | Reason |
|---|---|---|
| 1st | $\ln x$ | You cannot easily integrate $\ln x$, but its derivative $\tfrac{1}{x}$ is simple. |
| 2nd | Polynomials $x,\;x^2,\ldots$ | Each differentiation lowers the power until it vanishes. |
| Last | $e^{kx}$, $\sin kx$, $\cos kx$ | These never get simpler, so let them be $\dfrac{dv}{dx}$. |
With $x^2$ as $u$, one application leaves an integral containing $x$. Apply parts again to that.
Find $\displaystyle\int x^2 e^x\,dx$.
Find $\displaystyle I = \int e^x\sin x\,dx$.
Find $\displaystyle\int \ln x\,dx$.
Find $\displaystyle\int x^2\ln x\,dx$.
Evaluate $\displaystyle\int_0^{\pi/2}x\sin x\,dx$.
Show detailed reasoning. Show that $\displaystyle\int_1^e x\ln x\,dx = \frac{e^2 + 1}{4}$.
Formula
$\int u v'\,dx = uv - \int v u'\,dx$
Use it for
Products of unrelated functions: $x e^x$, $x\sin x$, $x^n\ln x$.
Choose u
$\ln x$ first, then polynomials, then $e^x$ / trig.
ln x alone
Write as $\ln x \times 1$: $\int\ln x\,dx = x\ln x - x + c$.
xยฒ
Needs parts twice.
Cyclic
$e^x\sin x$: parts twice, then solve for $I$.
Limits
Apply to $\big[uv\big]$ and to the second integral.
Check
Differentiate your answer with the product rule.
Find $\displaystyle\int x e^{2x}\,dx$.
โถ Show solution
$u = x$, $\dfrac{dv}{dx} = e^{2x} \Rightarrow v = \tfrac{1}{2}e^{2x}$.
$= \tfrac{1}{2}xe^{2x} - \displaystyle\int\tfrac{1}{2}e^{2x}\,dx = \tfrac{1}{2}xe^{2x} - \tfrac{1}{4}e^{2x} + c$
Find $\displaystyle\int x\sin x\,dx$.
โถ Show solution
$u = x$, $v = -\cos x$.
$= -x\cos x + \displaystyle\int\cos x\,dx = -x\cos x + \sin x + c$
Find $\displaystyle\int (2x+1)e^x\,dx$.
โถ Show solution
$u = 2x + 1 \Rightarrow \dfrac{du}{dx} = 2$; $v = e^x$.
$= (2x+1)e^x - \displaystyle\int 2e^x\,dx = (2x+1)e^x - 2e^x + c = (2x - 1)e^x + c$
Find the exact value of $\displaystyle\int_0^1 xe^{-x}\,dx$.
โถ Show solution
$u = x$, $v = -e^{-x}$.
$\displaystyle\int xe^{-x}\,dx = -xe^{-x} + \int e^{-x}\,dx = -xe^{-x} - e^{-x}$
$\Big[-xe^{-x} - e^{-x}\Big]_0^1 = \left(-e^{-1} - e^{-1}\right) - (0 - 1) = 1 - \dfrac{2}{e}$
Show that $\displaystyle\int_1^2\ln x\,dx = 2\ln 2 - 1$.
โถ Show solution
$\displaystyle\int\ln x\,dx = x\ln x - x$ (parts with $u = \ln x$, $\dfrac{dv}{dx} = 1$).
$\Big[x\ln x - x\Big]_1^2 = (2\ln 2 - 2) - (0 - 1) = 2\ln 2 - 1$ โ
Find $\displaystyle\int x^3\ln x\,dx$.
โถ Show solution
$u = \ln x$, $\dfrac{dv}{dx} = x^3 \Rightarrow v = \tfrac{1}{4}x^4$.
$= \tfrac{1}{4}x^4\ln x - \displaystyle\int\tfrac{1}{4}x^3\,dx = \tfrac{1}{4}x^4\ln x - \tfrac{1}{16}x^4 + c$
Find $\displaystyle\int x^2\cos x\,dx$.
โถ Show solution
$u = x^2$, $v = \sin x$: $= x^2\sin x - \displaystyle\int 2x\sin x\,dx$
From Question 2, $\displaystyle\int 2x\sin x\,dx = 2(-x\cos x + \sin x)$.
$= x^2\sin x + 2x\cos x - 2\sin x + c$
Show that $\displaystyle\int_0^{\pi/4}x\sec^2 x\,dx = \frac{\pi}{4} - \frac{1}{2}\ln 2$.
โถ Show solution
$u = x$, $\dfrac{dv}{dx} = \sec^2 x \Rightarrow v = \tan x$.
$= \Big[x\tan x\Big]_0^{\pi/4} - \displaystyle\int_0^{\pi/4}\tan x\,dx$
$\displaystyle\int\tan x\,dx = -\ln|\cos x|$, so this is $\Big[x\tan x + \ln\cos x\Big]_0^{\pi/4}$.
$= \tfrac{\pi}{4}(1) + \ln\tfrac{1}{\sqrt{2}} - (0 + \ln 1) = \tfrac{\pi}{4} - \tfrac{1}{2}\ln 2$ โ
Find the exact value of $\displaystyle\int_1^e\frac{\ln x}{x^2}\,dx$.
โถ Show solution
$u = \ln x$, $\dfrac{dv}{dx} = x^{-2} \Rightarrow v = -x^{-1}$.
$\displaystyle\int\frac{\ln x}{x^2}\,dx = -\frac{\ln x}{x} + \int\frac{1}{x^2}\,dx = -\frac{\ln x}{x} - \frac{1}{x}$
$\left[-\dfrac{\ln x}{x} - \dfrac{1}{x}\right]_1^e = \left(-\dfrac{1}{e} - \dfrac{1}{e}\right) - (0 - 1) = 1 - \dfrac{2}{e}$
The curve $C$ has equation $y = xe^{-x/2}$, $x \geqslant 0$.
(a) Find the exact coordinates of the stationary point of $C$. (b) Show that $\displaystyle\int xe^{-x/2}\,dx = -2xe^{-x/2} - 4e^{-x/2} + c$. (c) Find the exact area of the region bounded by $C$, the $x$-axis and the line through the stationary point parallel to the $y$-axis, and give it to 3 significant figures. (d) Find the exact area between $C$, the $x$-axis and the line $x = 4$.
โถ Show solution
(a) Product rule: $\dfrac{dy}{dx} = e^{-x/2} - \tfrac{1}{2}xe^{-x/2} = e^{-x/2}\left(1 - \tfrac{x}{2}\right)$.
$e^{-x/2} \neq 0$, so $x = 2$ and $y = 2e^{-1}$. Stationary point $\left(2, \dfrac{2}{e}\right)$.
(b) $u = x$, $\dfrac{dv}{dx} = e^{-x/2} \Rightarrow v = -2e^{-x/2}$.
$= -2xe^{-x/2} + \displaystyle\int 2e^{-x/2}\,dx = -2xe^{-x/2} - 4e^{-x/2} + c$ โ
(c) $\Big[-2xe^{-x/2} - 4e^{-x/2}\Big]_0^2 = \left(-4e^{-1} - 4e^{-1}\right) - (0 - 4) = 4 - \dfrac{8}{e} \approx 1.06$
(d) $\Big[-2xe^{-x/2} - 4e^{-x/2}\Big]_0^4 = \left(-8e^{-2} - 4e^{-2}\right) + 4 = 4 - \dfrac{12}{e^2}$ ($\approx 2.38$). The curve is above the axis for all $x > 0$, so no splitting is needed.