# Calculus: Integral: Integration by Parts

1.
$$\int \frac{\ln{x}}{{x}^{5}} \, dx$$
Solution
2.
$$\int {e}^{x}\sin{x} \, dx$$
Solution
3.
$$\int x\cos{3x} \, dx$$
Solution
4.
$$\int \sin^{-1}{(y)} \, dy$$
Solution
5.
$$\int \cos{x}{x}^{2} \, dx$$
Solution
6.
$$\int \ln{x} \, dx$$
Solution
7.
$$\int \tan^{2}x\sec{x} \, dx$$
Solution
8.
$$\int \cos^{-1}{(y)} \, dy$$
Solution
9.
$$\int x{e}^{x} \, dx$$
Solution
10.
$$\int x\ln{x} \, dx$$
Solution

# Integration by Parts - Introduction

Integration by parts is another important technique of integration. You might ask, when should I use it? The general rule is, whenever you have a product of two functions, one that you can integrate, and one that you can differentiate. In the context of other integration techniques, generally speaking, you should always use integration by substitution first if you can. If you cannot, then consider integration by parts.
The formula for integration by parts is:
$$\int u \, dv=uv-\int v \, du$$
The critical step is to correctly identify
$$u$$
and
$$dv$$
. Let’s look at an example in the next section.

# An Example of Integration by Parts

Let's find the integral of the following function:
$$\int x{e}^{x} \, dx$$
If you were to try integration by substitution first (which you should), you would have seen that it did not work. Now, let us try integration by parts. The dilemma arises: what should we pick as
$$u$$
and
$$dv$$
in the following formula?
$$\int u \, dv=uv-\int v \, du$$
One thing for sure is, we want to pick
$$dv$$
to be something that we can integrate.
$${e}^{x}$$
would be a good candidate, since the integral of
$${e}^{x}$$
is itself. Let's try the following:
$$u=x$$
,
$$dv={e}^{x}$$
,
$$du=dx$$
and
$$v={e}^{x}$$
. This gives:
$$x{e}^{x}-\int {e}^{x} \, dx$$
This looks good, since we are now left with integrating
$${e}^{x}$$
, which we know how to do. It is simply
$${e}^{x}$$
. Finally, do not forget to add the constant
$$C$$
. This produces the final answer:
$$x{e}^{x}-{e}^{x}+C$$
We are now done. Note that if you picked the wrong
$$u$$
and
$$dv$$
on the first try, don't worry. You would have seen that it did not work out, and you would just have to pick another pair. With enough practice, you will be able to make the right choices within the first couple tries.

# What's Next

Best bet? Start with the practice problems at the top of this page to get more familiar with integration by parts. Want to dig deeper? Sign up for Cymath Plus today! You can also check out the Cymath app for iOS and Android.