\(P=\left(\frac{x}{x^2-25}-\frac{x-5}{x^2+5x}\right):\frac{10x-25}{x^2+5x}+\frac{x}{5-x}\)
\(=\left[\frac{x}{\left(x-5\right)\left(x+5\right)}-\frac{x-5}{x\left(x+5\right)}\right]:\frac{10x-25}{x^2+5x}+\frac{x}{5-x}\)
\(=\left[\frac{x^2}{x\left(x-5\right)\left(x+5\right)}-\frac{\left(x-5\right)^2}{x\left(x-5\right)\left(x+5\right)}\right]:\frac{10x-25}{x^2+5x}+\frac{x}{5-x}\)
\(=\frac{x^2-\left(x^2-10x+25\right)}{x\left(x-5\right)\left(x+5\right)}:\frac{10x-25}{x\left(x+5\right)}+\frac{x}{5-x}\)
\(=\frac{10x-25}{x\left(x-5\right)\left(x+5\right)}.\frac{x\left(x+5\right)}{10x-25}+\frac{x}{5-x}\)
\(=\frac{1}{x-5}-\frac{x}{x-5}\)
\(=\frac{1-x}{x-5}=-\frac{x-1}{x-5}=-\frac{x-5+4}{x-5}=-1-\frac{4}{x-5}\)
Để P nguyên <=> x - 5 thuộc Ư(4) = {1;-1;2;-2;4;-4}
Ta có bảng:
x - 5 | 1 | -1 | 2 | -2 | 4 | -4 |
x | 6 | 4 | 7 | 3 | 9 | 1 |
Vậy....