Integration by Parts

AP Calculus BC · Unit 6 — Integration and Accumulation of Change

The product rule, run backwards

$$\int u\,dv=uv-\int v\,du,\qquad \int_a^b u\,dv=\Big[uv\Big]_a^b-\int_a^b v\,du$$

The whole skill is choosing $u$. The working order is LIATE: Logarithmic, Inverse trig, Algebraic, Trigonometric, Exponential — whichever type appears first in that list becomes $u$, and the rest of the integrand becomes $dv$. The reason behind the order is simple: $u$ should be something that gets simpler when differentiated, while $dv$ should be something you can actually antidifferentiate.

Three recurring shapes

Polynomial times exponential or trig. Each round drops the polynomial degree by one, so degree $n$ needs $n$ rounds. The tabular layout does all rounds at once: differentiate the polynomial down to $0$ in the left column, antidifferentiate in the right column, then multiply along the diagonals with signs $+,-,+,\dots$

A lone logarithm or inverse trig. $\int \ln x\,dx$ has no obvious $dv$; take $u=\ln x$ and $dv=dx$, giving $x\ln x-x+C$. The same trick handles $\int\arctan x\,dx$.

Cyclic integrals. For $\int e^{x}\cos x\,dx$, two rounds return the original integral. Call it $I$, solve the resulting equation for $I$ algebraically, and remember the $+C$ at the end.

u and its derivatives dv and its antiderivatives x² 2x 2 0 sin x −cos x −sin x cos x + − + result: −x²cos x + 2x sin x + 2cos x + C — alternating signs starting with a plus
How to read the table. Each diagonal arrow is one term of the result: take the cell in the left column times the cell in the right column one row below it, and attach the sign written on the arrow. The signs start with $+$ and then alternate. The table stops when the left column reaches $0$ — which works only when $u$ is a polynomial. With $u=\ln x$ or $u=\arctan x$ the left column never reaches $0$, and you must do ordinary integration by parts.

Worked example: going in a circle and solving for the integral

Tính $\displaystyle\int e^{x}\sin x\,dx$.

Solution

Let $I=\int e^{x}\sin x\,dx$. Choose $u=\sin x$, $dv=e^{x}dx$:

$$I=e^{x}\sin x-\int e^{x}\cos x\,dx$$

Continue with the integral on the right, keeping the same type of choice ($u$ is the trigonometric function):

$$\int e^{x}\cos x\,dx=e^{x}\cos x+\int e^{x}\sin x\,dx=e^{x}\cos x+I$$

Substitute back up:

$$I=e^{x}\sin x-e^{x}\cos x-I\;\Longrightarrow\;2I=e^{x}\left(\sin x-\cos x\right)$$$$I=\frac{e^{x}}{2}\left(\sin x-\cos x\right)+C$$

The vital condition: both rounds must use the same type of choice. If the first round takes the trigonometric function as $u$, so must the second. Switching types midway leads back to the identity $I=I$, which is true but useless.

Common mistake

With definite integrals, the mistake that loses the most points is forgetting to substitute the limits into the $uv$ part: writing $\int_a^b u\,dv=uv-\int_a^b v\,du$ and only substituting the limits on the last line. How to prevent it: write the square bracket with its two limits $\Big[uv\Big]_a^b$ from the very first line, treating the bracket as a mandatory part of the formula, not decoration. The second trap in the circular problem: after moving terms to get $2I=\dots$ you must divide by two and add $C$ — skipping the division makes the answer wrong by a factor of two from the very first digit.

Key takeaway

Choose $u$ by LIATE, and choose $dv$ as the remaining part, which must have an antiderivative you can find. For a polynomial times an exponential or trigonometric function, set up the table. If the original integral reappears, name it and solve like an equation.

← The Fundamental Theorem and u-Substitution · All AP Calculus BC lessons · Practice AP Calculus BC questions (free, instant scoring) · Partial Fractions and Improper Integrals →