👉 Try now NerdPal! Our new math app on iOS and Android
  1. calculators
  2. Integration By Parts

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!
Symbolic mode
Text mode
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

1

Here, we show you a step-by-step solved example of integration by parts. This solution was automatically generated by our smart calculator:

$\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 or choose $u$ and calculate it's derivative, $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 to find $v$

$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)$
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)$

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

Any expression multiplied by $1$ is equal to itself

$\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$

Final answer to the problem

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

Are you struggling with math?

Access detailed step by step solutions to thousands of problems, growing every day!