# Integration by Parts Calculator

## Get detailed solutions to your math problems with our Integration by Parts step-by-step calculator. Practice your math skills and learn step by step with our math solver. Check out all of our online calculators here!

Go!
Go!
1
2
3
4
5
6
7
8
9
0
a
b
c
d
f
g
m
n
u
v
w
x
y
z
.
(◻)
+
-
×
◻/◻
/
÷
2

e
π
ln
log
log
lim
d/dx
Dx
|◻|
θ
=
>
<
>=
<=
sin
cos
tan
cot
sec
csc

asin
acos
atan
acot
asec
acsc

sinh
cosh
tanh
coth
sech
csch

asinh
acosh
atanh
acoth
asech
acsch

### Difficult Problems

1

Solved example of integration by parts

$\int x\cdot\cos\left(x\right)dx$
2

We can solve the integral $\int x\cos\left(x\right)dx$ by applying integration by parts method to calculate the integral of the product of two functions, using the following formula

$\displaystyle\int u\cdot dv=u\cdot v-\int v \cdot du$

The derivative of the linear function is equal to $1$

$1$
3

First, identify $u$ and calculate $du$

$\begin{matrix}\displaystyle{u=x}\\ \displaystyle{du=dx}\end{matrix}$
4

Now, identify $dv$ and calculate $v$

$\begin{matrix}\displaystyle{dv=\cos\left(x\right)dx}\\ \displaystyle{\int dv=\int \cos\left(x\right)dx}\end{matrix}$
5

Solve the integral

$v=\int\cos\left(x\right)dx$
6

Apply the integral of the cosine function: $\int\cos(x)dx=\sin(x)$

$\sin\left(x\right)$

Any expression multiplied by $1$ is equal to itself

$x\sin\left(x\right)-\int\sin\left(x\right)dx$
7

Now replace the values of $u$, $du$ and $v$ in the last formula

$x\sin\left(x\right)-\int\sin\left(x\right)dx$

Apply the integral of the sine function: $\int\sin(x)dx=-\cos(x)$

$\cos\left(x\right)$
8

The integral $-\int\sin\left(x\right)dx$ results in: $\cos\left(x\right)$

$\cos\left(x\right)$
9

Gather the results of all integrals

$x\sin\left(x\right)+\cos\left(x\right)$
10

As the integral that we are solving is an indefinite integral, when we finish integrating we must add the constant of integration $C$

$x\sin\left(x\right)+\cos\left(x\right)+C_0$

$x\sin\left(x\right)+\cos\left(x\right)+C_0$