1/Đặt Q(x) là thương ta có
\(x^3-7x^2+a=Q\left(x\right).\left(x-2\right)\).Thay x=2 đc
\(8-28+a=0\Leftrightarrow a=20\)
2/a/ĐKXĐ: x khác 2,-3
Có \(M=\frac{x+2}{x+3}-\frac{5}{\left(x-2\right)\left(x+3\right)}-\frac{1}{x-2}\)
\(\Leftrightarrow M=\frac{x^2-4}{\left(x-2\right)\left(x+3\right)}-\frac{5}{\left(x-2\right)\left(x+3\right)}-\frac{x+3}{\left(x-2\right)\left(x+3\right)}\)
\(\Leftrightarrow M=\frac{x^2-4-5-x-3}{\left(x-2\right)\left(x+3\right)}\)
\(\Leftrightarrow M=\frac{x^2-x-12}{\left(x-2\right)\left(x+3\right)}\)
\(\Leftrightarrow M=\frac{\left(x-4\right)\left(x+3\right)}{\left(x-2\right)\left(x+3\right)}\)
\(\Leftrightarrow M=\frac{x-4}{x-2}\)
b/\(M=\frac{x-2-2}{x-2}=1-\frac{2}{x-2}\).Để M nguyên thì \(2⋮x-2\Rightarrow x-2\in\left(+-1,+-2\right)\Rightarrow x\in\left(3,1,4,0\right)\)