Integration by Parts - Examples with Answers

Integration by parts allows us to "reduce" an integral to a simpler form, expressing it as the difference between two simpler integrals. This technique is especially useful when we want to evaluate integrals that cannot be easily found using other methods, such as substitution or trigonometric identities.

In this article, we will look at some solved integration by parts exercises. Then, we will see some practice problems to apply what we have learned.

CALCULUS
Formula for integration by parts

Relevant for...

Learning about integration by parts with examples.

See examples

CALCULUS
Formula for integration by parts

Relevant for...

Learning about integration by parts with examples.

See examples

How to integrate functions by parts

Integration by parts is used to integrate the product of two functions. To integrate functions using this method, we follow the steps below:

1. Choose two functions, u and dv/dx

The product of the two functions, $latex u\frac{dv}{dx}$ is the integrand.

2. Determine the derivative of u with respect to x and call it u′.

3. Determine the integral of dv/dx with respect to x and call it v

4. Use the formula for integration by parts:

$$\int u \frac{dv}{dx} dx=uv - \int v \frac{du}{dx}dx$$

or

$$\int u v^{\prime} dx=uv - \int v u^{\prime}dx$$

When using integration by parts, the choice of $latex u$ and $latex dv$ is not always obvious. However, there are some rules of thumb that can help guide your choice.

First, $latex u$ should be chosen such that it is an easy function to integrate, while $latex dv$ should be chosen such that it is an easy function to differentiate. This will make the integration and differentiation steps in the integration by parts formula simpler and easier to evaluate.

Second, it can sometimes be useful to choose $latex u$ and $latex dv$ so that the product $latex uv$ is as simple as possible. This can make the final step of the integration by parts formula easier to evaluate since you will be left with an integral that has a simple integrand.

Integration by parts - Examples with answers

EXAMPLE 1

Find the following integral:

$$\int x\cos x dx$$

Solution

EXAMPLE 2

Calculate the integral:

$$\int xe^x dx$$

Solution

EXAMPLE 3

Solve the following:

$$\int x \sqrt{x-1}dx$$

Solution

EXAMPLE 4

Find the following indefinite integral:

$$\int e^{x}\sin x dx$$

Solution

EXAMPLE 5

Solve the following:

$$\int x\sec ^2xdx$$

Solution

EXAMPLE 6

What is the result of the following?

$$\int lnx\,dx$$

Solution

EXAMPLE 7

Find the following integral

$$\int x^2 lnx\;dx$$

Solution

EXAMPLE 8

Solve the following:

$$\int x\sin\, x\cos x \,dx$$

Solution

EXAMPLE 9

Find the following indefinite integral:

$$\int x (2x+5)^{10} dx$$

Solution

EXAMPLE 10

Solve the following:

$$\int x^3\sqrt{4-x^2}dx$$

Solution

Integration by parts - Practice problems

Integration by parts quiz
Logo
You have completed the quiz!

See also

Interested in learning more about integrals? You can take a look at these pages:

Learn mathematics with our additional resources in different topics

LEARN MORE