ĐKXĐ : \(0\le x\ne1\)
a) \(P=\left(\frac{\sqrt{x}-2}{x-1}-\frac{\sqrt{x}+2}{x+2\sqrt{x}+1}\right).\frac{\left(1-x\right)^2}{2}\)
\(=\left[\frac{\left(\sqrt{x}-2\right)\left(\sqrt{x}+1\right)}{\left(\sqrt{x}-1\right)\left(\sqrt{x}+1\right)^2}-\frac{\left(\sqrt{x}+2\right)\left(\sqrt{x}-1\right)}{\left(\sqrt{x}-1\right)\left(\sqrt{x}+1\right)^2}\right].\frac{\left(1-x\right)^2}{2}\)
\(=\frac{x-\sqrt{x}-2-x-\sqrt{x}+2}{\left(\sqrt{x}-1\right)\left(\sqrt{x}+1\right)^2}.\frac{\left(\sqrt{x}-1\right)^2\left(\sqrt{x}+1\right)^2}{2}\)
\(=\frac{-2\sqrt{x}}{\left(\sqrt{x}-1\right)\left(\sqrt{x}+1\right)^2}.\frac{\left(\sqrt{x}-1\right)^2\left(\sqrt{x}+1\right)^2}{2}\)
\(=-\sqrt{x}\left(\sqrt{x}-1\right)\)
b) \(P=\sqrt{x}\left(1-\sqrt{x}\right)\)
Để P > 0 thì \(\hept{\begin{cases}\sqrt{x}>0\\1-\sqrt{x}>0\end{cases}\Rightarrow}0< x< 1\)
c) \(P=-x+\sqrt{x}=-\left(x-2\sqrt{x}.\frac{1}{2}+\frac{1}{4}\right)+\frac{1}{4}=-\left(\sqrt{x}-\frac{1}{2}\right)^2+\frac{1}{4}\le\frac{1}{4}\)
Vậy max P = 1/4 khi x = 1/4