1) ĐKXĐ: \(\left\{{}\begin{matrix}x\ge0\\x\ne1\end{matrix}\right.\)
\(P=\left(\frac{\sqrt{x}\left(\sqrt{x}+1\right)}{\sqrt{x}+1}-\frac{x+2}{\sqrt{x}+1}\right):\left(\frac{\sqrt{x}\left(\sqrt{x}-1\right)}{\left(\sqrt{x}-1\right)\left(\sqrt{x}+1\right)}+\frac{\sqrt{x}-4}{\left(\sqrt{x}-1\right)\left(\sqrt{x}+1\right)}\right)\\ =\left(\frac{x+\sqrt{x}-x-2}{\sqrt{x}+1}\right):\left(\frac{x-\sqrt{x}+\sqrt{x}-4}{\left(\sqrt{x}-1\right)\left(\sqrt{x}+1\right)}\right)\\ =\frac{\sqrt{x}-2}{\sqrt{x}+1}:\frac{x-4}{\left(\sqrt{x}-1\right)\left(\sqrt{x}+1\right)}\\ =\frac{\sqrt{x}-2}{\sqrt{x}+1}\cdot\frac{\left(\sqrt{x}-1\right)\left(\sqrt{x}+1\right)}{\left(\sqrt{x}-2\right)\left(\sqrt{x}+2\right)}\\ =\frac{\sqrt{x}-1}{\sqrt{x}+2}\)
b) \(P=\frac{\sqrt{x}-1}{\sqrt{x}+2}< 0\)
Dễ thấy \(\sqrt{x}+2\ge2>0\forall x\ge0\)
Nên để \(P< 0\Leftrightarrow\sqrt{x}-1< 0\Leftrightarrow\sqrt{x}< 1\Leftrightarrow x< 1\)
Vậy với \(0\le x< 1\)thì P<0