\(\int\dfrac{1}{x^3+x^2-22x-40}dx=\int\dfrac{1}{\left(x-5\right)\left(x+2\right)\left(x+4\right)}dx\)
\(=\int\left(\dfrac{1}{63}.\dfrac{1}{x-5}-\dfrac{1}{14}.\dfrac{1}{x+2}+\dfrac{1}{18}.\dfrac{1}{x+4}\right)dx\)
\(=\dfrac{1}{63}ln\left|x-5\right|-\dfrac{1}{14}ln\left|x+2\right|+\dfrac{1}{18}ln\left|x+4\right|+C\)