$A = \dfrac{5-x}{x-2}= \dfrac{(3+2)-x}{x-2} = \dfrac{3+2-x}{x-2} = \dfrac{3 - (x-2)}{x-2} = \dfrac{3}{x-2} - 1$
$a$) Để $A$ nguyên thì : $3 \vdots x-2$
$⇒ x-2$ $∈$ `Ư(3)={±1;±3}`
$⇒$ $x$ $∈$ `{-1;1;3;5}`
$b$) Để $A_{min}$ thì : $\dfrac{3}{x-2}$ nhỏ nhất
$⇒$ $x-2$ nguyên âm, lớn nhất
$⇒ x - 2 = -1 ⇔ x =1$. Khi đó:
$A = \dfrac{3}{-1} - 1 = -3 - 1 = -4$
Vậy `A_{min}=-4` khi $x=1$