a, ĐK: \(x>0;x\ne1\)
\(P=\left(\dfrac{x\sqrt{x}-1}{x-\sqrt{x}}-\dfrac{x\sqrt{x}+1}{x+\sqrt{x}}\right):\dfrac{2\left(x-2\sqrt{x}+1\right)}{x-1}\)
\(=\left[\dfrac{\left(\sqrt{x}-1\right)\left(x+\sqrt{x}+1\right)}{\sqrt{x}\left(\sqrt{x}-1\right)}-\dfrac{\left(\sqrt{x}+1\right)\left(x-\sqrt{x}+1\right)}{\sqrt{x}\left(\sqrt{x}+1\right)}\right]:\dfrac{2\left(\sqrt{x}-1\right)^2}{\left(\sqrt{x}-1\right)\left(\sqrt{x}+1\right)}\)
\(=\left(\dfrac{x+\sqrt{x}+1}{\sqrt{x}}-\dfrac{x-\sqrt{x}+1}{\sqrt{x}}\right).\dfrac{\sqrt{x}+1}{2\left(\sqrt{x}-1\right)}\)
\(=\dfrac{2\sqrt{x}}{\sqrt{x}}.\dfrac{\sqrt{x}+1}{2\left(\sqrt{x}-1\right)}\)
\(=\dfrac{\sqrt{x}+1}{\sqrt{x}-1}\)
a: Ta có: \(P=\left(\dfrac{x\sqrt{x}-1}{x-\sqrt{x}}-\dfrac{x\sqrt{x}+1}{x+\sqrt{x}}\right):\dfrac{2\left(x-2\sqrt{x}+1\right)}{x-1}\)
\(=\dfrac{x+\sqrt{x}+1-x+\sqrt{x}-1}{\sqrt{x}}\cdot\dfrac{\sqrt{x}+1}{2\left(\sqrt{x}-1\right)}\)
\(=\dfrac{\sqrt{x}+1}{\sqrt{x}-1}\)
b: Để P nguyên thì \(\sqrt{x}+1⋮\sqrt{x}-1\)
\(\Leftrightarrow\sqrt{x}-1\in\left\{1;-1;2\right\}\)
\(\Leftrightarrow\sqrt{x}\in\left\{2;0;3\right\}\)
ha \(x\in\left\{4;9\right\}\)
b, \(P\in Z\Leftrightarrow\dfrac{\sqrt{x}+1}{\sqrt{x}-1}\in Z\)
\(\Leftrightarrow\dfrac{\sqrt{x}-1+2}{\sqrt{x}-1}\in Z\)
\(\Leftrightarrow1+\dfrac{2}{\sqrt{x}-1}\in Z\)
\(\Leftrightarrow\sqrt{x}-1\inƯ_2=\left\{\pm1;\pm2\right\}\)
\(\Leftrightarrow\sqrt{x}\inƯ_2=\left\{0;2;3\right\}\)
\(\Leftrightarrow x\inƯ_2=\left\{4;9\right\}\)