a: \(A=\left(\dfrac{2x^2+2}{x^3-1}+\dfrac{x^2-x+1}{x^4+x^2+1}-\dfrac{x^2+3}{x^3-x^2+3x-3}\right):\dfrac{1}{x-1}\)
\(=\left(\dfrac{2x^2+2}{\left(x-1\right)\left(x^2+x+1\right)}+\dfrac{x^2-x+1}{x^4+2x^2+1-x^2}-\dfrac{x^2+3}{x^2\left(x-1\right)+3\left(x-1\right)}\right)\cdot\dfrac{x-1}{1}\)
\(=\left(\dfrac{2x^2+2}{\left(x-1\right)\left(x^2+x+1\right)}+\dfrac{\left(x^2-x+1\right)}{\left(x^2+1\right)^2-x^2}-\dfrac{x^2+3}{\left(x-1\right)\left(x^2+3\right)}\right)\cdot\dfrac{x-1}{1}\)
\(=\left(\dfrac{2x^2+3}{\left(x-1\right)\left(x^2+x+1\right)}+\dfrac{x^2-x+1}{\left(x^2+1+x\right)\left(x^2+1-x\right)}-\dfrac{1}{x-1}\right)\cdot\dfrac{x-1}{1}\)
\(=\left(\dfrac{2x^2+3}{\left(x-1\right)\left(x^2+x+1\right)}+\dfrac{1}{x^2+x+1}-\dfrac{1}{x-1}\right)\cdot\dfrac{x-1}{1}\)
\(=\dfrac{2x^2+3+x-1-x^2-x-1}{\left(x-1\right)\left(x^2+x+1\right)}\cdot\dfrac{x-1}{1}\)
\(=\dfrac{x^2+1}{x^2+x+1}\)
b: Để A là số nguyên thì \(x^2+1⋮x^2+x+1\)
=>\(x^2+x+1-x⋮x^2+x+1\)
=>\(x⋮x^2+x+1\)
=>\(x^2+x⋮x^2+x+1\)
=>\(x^2+x+1-1⋮x^2+x+1\)
=>\(-1⋮x^2+x+1\)
=>\(x^2+x+1\in\left\{1;-1\right\}\)
=>\(x^2+x+1=1\)
=>x2+x=0
=>x(x+1)=0
=>\(x\in\left\{0;-1\right\}\)