$\dfrac{{{\text{x}}^{\text{2}}}\text{+x+1}}{{{\text{(x+1)}}^{\text{2}}}\left( \text{x+2} \right)}$.
Show solutionHide solution
Ans: The given expression is, $\dfrac{{{x}^{2}}+x+1}{{{(x+1)}^{2}}\left( x+2 \right)}$.
Now consider it as shown below,
$\therefore \dfrac{{{x}^{2}}+x+1}{{{(x+1)}^{2}}\left( x+2 \right)}=\dfrac{A}{\left( x+1 \right)}+\dfrac{B}{\left( x+1 \right)}+\dfrac{C}{\left( x+2 \right)}\,\,\,\,\,\,\,\,\,\,\,...\left( 1 \right)$
$\Rightarrow {{x}^{2}}+x+1=A\left( x+1 \right)\left( x+2 \right)+B\left( x+2 \right)+C{{\left( x+1 \right)}^{2}}$
$\Rightarrow {{x}^{2}}+x+1=A\left( {{x}^{2}}+3x+2 \right)+B\left( x+2 \right)+C\left( {{x}^{2}}+2x+1 \right)$
$\Rightarrow {{x}^{2}}+x+1=\left( A+C \right){{x}^{2}}+x\left( 3A+B+2C \right)+\left( 2A+2B+C \right)$
On equating the coefficients of ${{x}^{2}},\,x$ and constant term, it can be obtained that,
$A+C=1\,\,\,...\left( 2 \right)$
$3A+B+2C=1\,\,\,...\left( 3 \right)$
$2A+2B+C=1\,\,\,...\left( 4 \right)$
And on solving these equations, the values of $A,\,B,\,C$ can be obtained as,
$A=-2,\,B=1,\,C=3$ respectively.
Now, from equation $\left( 1 \right)$ it can be clearly obtained that,
$\int{\dfrac{{{x}^{2}}+x+1}{{{(x+1)}^{2}}\left( x+2 \right)}dx}=\int{\left\{ \dfrac{-2}{\left( x+1 \right)}+\dfrac{1}{\left( x+1 \right)}+\dfrac{3}{\left( x+2 \right)} \right\}dx}$
$=-2\int{\dfrac{1}{x+1}dx}+\int{\dfrac{1}{{{\left( x+1 \right)}^{2}}}dx}+3\int{\dfrac{1}{x+2}dx}$
$=-2\log \left| x+1 \right|+3\log \left| x+2 \right|-\dfrac{1}{(x+1)}+C$, where $C$ is any arbitrary constant.