# Step-by-step Solution

## Integral of $\frac{1}{x^2-x-2}$ with respect to x

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

e
π
ln
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

### Videos

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

## Step-by-step explanation

Problem to solve:

$\int\frac{1}{x^2-x-2}dx$
1

Factor the trinomial $x^2-x-2$ finding two numbers that multiply to form $-2$ and added form $-1$

$\begin{matrix}\left(1\right)\left(-2\right)=-2\\ \left(1\right)+\left(-2\right)=-1\end{matrix}$
2

Thus

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

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