a: \(A=\left(\dfrac{1}{x-1}+\dfrac{x}{\left(x-1\right)\left(x^2+x+1\right)}\cdot\dfrac{x^2+x+1}{x+1}\right)\cdot\dfrac{\left(x+1\right)^2}{2x+1}\)
\(=\left(\dfrac{1}{x-1}+\dfrac{x}{\left(x-1\right)\left(x+1\right)}\right)\cdot\dfrac{\left(x+1\right)^2}{2x+1}\)
\(=\dfrac{x+1+x}{\left(x-1\right)\left(x+1\right)}\cdot\dfrac{\left(x+1\right)^2}{2x+1}\)
\(=\dfrac{2x+1}{x-1}\cdot\dfrac{x+1}{2x+1}=\dfrac{x+1}{x-1}\)
b: Thay x=1/2 vào A, ta được:
\(A=\dfrac{\dfrac{1}{2}+1}{\dfrac{1}{2}-1}=\dfrac{3}{2}:\dfrac{-1}{2}=-3\)
c: Để A là số nguyên thì \(x-1+2⋮x-1\)
\(\Leftrightarrow x-1\in\left\{1;-1;2;-2\right\}\)
\(\Leftrightarrow x\in\left\{2;0;3\right\}\)