a) ta có: \(A=\frac{2x}{x-2}=\frac{2x-4+4}{x-2}=\frac{2.\left(x-2\right)+4}{x-2}=\frac{2.\left(x-2\right)}{x-2}+\frac{4}{x-2}=2+\frac{4}{x-2}\)
Để \(A\inℤ\)
\(\Rightarrow\frac{4}{x-2}\inℤ\)
\(\Rightarrow4⋮x-2\Rightarrow x-2\inƯ_{\left(4\right)}=\left(4;-4;2;-2;1;-1\right)\)
nếu x -2 = 4 => x = 6 (TM)
x- 2= - 4 => x= - 2 (TM)
x- 2= 2 => x = 4 (TM)
x- 2 = -2 => x = 0 (TM)
x - 2 = 1 => x = 3 (TM)
x - 2 = -1 => x= 1 (TM)
KL: \(x\in\left(6;-2;4;0;3;1\right)\)
c) ta có: \(C=\frac{x^2+2}{x+1}=\frac{\left(x+1\right).\left(x-1\right)+3}{x+1}=\frac{\left(x+1\right).\left(x-1\right)}{x+1}+\frac{3}{x+1}\)\(=x-1+\frac{3}{x+1}\)
Để \(C\inℤ\)
\(\Rightarrow\frac{3}{x+1}\inℤ\)
\(\Rightarrow3⋮x+1\Rightarrow x+1\inƯ_{\left(3\right)}=\left(3;-3;1;-1\right)\)
nếu x + 1 = 3 => x = 2 (TM)
x + 1 = - 3 => x = -4 (TM)
x + 1 = 1 => x = 0
x + 1 = -1 => x = -2 (TM)
KL: \(x\in\left(2;-4;0;-2\right)\)
p/s