\(Giải:\)
\(ĐK:x\ne\left(-2\right);x\ne\left(-1\right)\)
\(\frac{x^2+2x+2}{x+1}>\frac{x^2+4x+5}{x+2}-1\Leftrightarrow\frac{x^2+2x+2}{x+1}>\frac{x^2+3x+3}{x+2}\)
\(\Leftrightarrow\frac{x^2+2x+1}{x+1}+\frac{1}{x+1}-\frac{x^2+3x+2+1}{x+2}>0\)
\(\Leftrightarrow\frac{\left(x+1\right)^2}{x+1}-\frac{\left(x+1\right)\left(x+2\right)}{x+2}+\frac{1}{x+1}-\frac{1}{x+2}>0\)
\(\Leftrightarrow x+1-x-1+\frac{1}{x+1}-\frac{1}{x+2}>0\Leftrightarrow\frac{1}{x+1}-\frac{1}{x+2}>0\)
\(\Leftrightarrow\frac{1}{x+1}-\frac{1}{x+2}=\frac{1}{\left(x+1\right)\left(x+2\right)}>0\)
\(\Leftrightarrow\)\(\hept{\begin{cases}x+1>0\\x+2>0\end{cases}}hoặc\hept{\begin{cases}x+1< 0\\x+2< 0\end{cases}}\)
\(+,\hept{\begin{cases}x+1>0\\x+2>0\end{cases}}\Rightarrow x>\left(-2\right)\)
\(+,\hept{\begin{cases}x+1< 0\\x+2< 0\end{cases}}\Rightarrow x< \left(-2\right)\)
BPT đã được giải quyết