# Step-by-step Solution

## Integral of 1/((x+2)(x-1))

Go
1
2
3
4
5
6
7
8
9
0
x
y
(◻)
◻/◻
2

e
π
ln
log
lim
d/dx
d/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

### Videos

$-\frac{1}{3}\ln\left|x+2\right|+\frac{1}{3}\ln\left|x-1\right|+C_0$

## Step-by-step explanation

Problem to solve:

$\int\frac{1}{\left(x+2\right)\left(x-1\right)}dx$
1

Rewrite the fraction $\frac{1}{\left(x+2\right)\left(x-1\right)}$ in $2$ simpler fractions using partial fraction decomposition

$\frac{1}{\left(x+2\right)\left(x-1\right)}=\frac{A}{x+2}+\frac{B}{x-1}$
2

Find the values of the unknown coefficients. The first step is to multiply both sides of the equation by $\left(x+2\right)\left(x-1\right)$

$1=\left(x+2\right)\left(x-1\right)\left(\frac{A}{x+2}+\frac{B}{x-1}\right)$

$-\frac{1}{3}\ln\left|x+2\right|+\frac{1}{3}\ln\left|x-1\right|+C_0$

### Struggling with math?

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

$\int\frac{1}{\left(x+2\right)\left(x-1\right)}dx$

### Main topic:

Integrals by partial fraction expansion

~ 0.83 seconds