1. ĐKXĐ: \(x\ne\pm1\)
2. \(A=\left(\dfrac{x+1}{x-1}-\dfrac{x+3}{x+1}\right)\cdot\dfrac{x+1}{2}\)
\(=\dfrac{\left(x+1\right)^2-\left(x-3\right)\left(x-1\right)}{\left(x-1\right)\left(x+1\right)}\cdot\dfrac{x+1}{2}\)
\(=\dfrac{x^2+2x+1-x^2+4x-3}{\left(x-1\right)\left(x+1\right)}\cdot\dfrac{x+1}{2}\)
\(=\dfrac{6x-2}{\left(x-1\right)\left(x+1\right)}\cdot\dfrac{x+1}{2}\)
\(=\dfrac{2\left(x-3\right)\left(x+1\right)}{2\left(x-1\right)\left(x+1\right)}\)
\(=\dfrac{x-3}{x-1}\)
3. Tại x = 5, A có giá trị là:
\(\dfrac{5-3}{5-1}=\dfrac{1}{2}\)
4. \(A=\dfrac{x-3}{x-1}\) \(=\dfrac{x-1-3}{x-1}=1-\dfrac{3}{x-1}\)
Để A nguyên => \(3⋮\left(x-1\right)\) hay \(\left(x-1\right)\inƯ\left(3\right)=\left\{1;-1;3;-3\right\}\)
\(\Rightarrow\left\{{}\begin{matrix}x-1=1\\x-1=-1\\x-1=3\\x-1=-3\end{matrix}\right.\Rightarrow\left\{{}\begin{matrix}x=2\left(tmđk\right)\\x=0\left(tmđk\right)\\x=4\left(tmđk\right)\\x=-2\left(tmđk\right)\end{matrix}\right.\)
Vậy: A nguyên khi \(x=\left\{2;0;4;-2\right\}\)