Rút gọn P=\(\left(x^2-1\right).\left(\frac{3x^2+3x-3}{x^2+x-2}+\frac{1}{x+1}+\frac{1}{x+2}-2\right)\)
Hãy nhập câu hỏi của bạn vào đây, nếu là tài khoản VIP, bạn sẽ được ưu tiên trả lời.
\(\left(\frac{1}{x+1}-\frac{3}{x^3+1}+\frac{3}{x^2-x+1}\right):\frac{3x^2-3x+3}{\left(x+1\right)\left(x+2\right)}-\frac{2x-2}{x^2+2x}\left(x\ne-1;x\ne0;x\ne-2\right)\)
\(=\left(\frac{1}{x+1}-\frac{3}{\left(x+1\right)\left(x^2-x+1\right)}+\frac{3}{x^2-x+1}\right):\frac{3x^3-3x+3}{\left(x+1\right)\left(x+2\right)}-\frac{2\left(x-1\right)}{x\left(x+2\right)}\)
\(=\left(\frac{x^2-x+1}{\left(x+1\right)\left(x^2-x+1\right)}-\frac{3}{\left(x+1\right)\left(x^2-x+1\right)}+\frac{3x+3}{\left(x+1\right)\left(x^2-x+1\right)}\right)\)\(:\frac{3x^2-3x+3}{\left(x+1\right)\left(x+2\right)}-\frac{2\left(x-1\right)}{x\left(x+2\right)}\)
\(=\frac{x^2-x+1-3+3x+3}{\left(x+1\right)\left(x^2-x+1\right)}:\frac{3x^2-3x+3}{\left(x+1\right)\left(x+2\right)}-\frac{2\left(x-1\right)}{x\left(x+2\right)}\)
\(=\frac{x^2+2x+1}{\left(x+1\right)\left(x^2-x+1\right)}:\frac{3\left(x^2-x+1\right)}{\left(x+1\right)\left(x+1\right)}-\frac{2\left(x-1\right)}{x\left(x+2\right)}\)
\(=\frac{\left(x+1\right)\left(x+2\right)}{\left(x+1\right)\left(x^2-x+1\right)}\cdot\frac{\left(x+1\right)\left(x+2\right)}{3\left(x^2-x+1\right)}-\frac{2\left(x-1\right)}{x\left(x+2\right)}\)
\(=\frac{\left(x+2\right)^2\left(x+1\right)}{3\left(x^2-x+1\right)^2}-\frac{2\left(x-1\right)}{x\left(x+2\right)}\)
\(\left(\frac{1}{x}+1-\frac{3}{x^3+1}-\frac{3}{x^2-x+1}\right)\cdot\frac{3x^2-3x+3}{\left(x+1\right).\left(x+2\right)}-\frac{2x-2}{x^2+2x}\)
\(=\left(\frac{x+1}{x}-\frac{3}{\left(x+1\right).\left(x^2-x+1\right)}+\frac{3.\left(x+1\right)}{\left(x+1\right).\left(x^2-x+1\right)}\right)\cdot\frac{3.\left(x^2-x+1\right)}{\left(x+1\right).\left(x+2\right)}-\frac{2.\left(x-1\right)}{x.\left(x+2\right)}\)
\(=\left[\frac{\left(x+1\right)^2.\left(x^2-x+1\right)-3x+3x^2+3x}{x.\left(x+1\right).\left(x^2-x+1\right)}\right]\cdot\frac{3.\left(x^2-x+1\right)}{\left(x+1\right).\left(x+2\right)}-\frac{2.\left(x-1\right)}{x.\left(x+2\right)}\)
\(=\left[\frac{x^4+x^3+x+1+3x^2}{x.\left(x+1\right).\left(x^2-x+1\right)}\right]\cdot\frac{3.\left(x^2-x+1\right)}{\left(x+1\right).\left(x+2\right)}-\frac{2.\left(x-1\right)}{x.\left(x+2\right)}\)
\(=\frac{3x^4+3x^3+3x+3+9x^2}{x.\left(x+1\right)^2.\left(x+2\right)}-\frac{2.\left(x-1\right)}{x.\left(x+2\right)}=\frac{3x^4+3x^3+3x+3+9x^2}{x.\left(x+1\right)^2.\left(x+2\right)}-\frac{2x^3+2x^2-2x-2}{x.\left(x+1\right)^2.\left(x+2\right)}\)
\(=\frac{3x^4+x^3+7x^2+5x+5}{x.\left(x+1\right)^2.\left(x+2\right)}\)