a) ĐKXĐ: \(\left\{{}\begin{matrix}x\ge0\\x\ne1\end{matrix}\right.\)
\(P=\frac{\sqrt{x}\left(\sqrt{x}+1\right)}{\left(\sqrt{x}-1\right)\left(\sqrt{x}+1\right)}+\frac{3\left(\sqrt{x}-1\right)}{\left(\sqrt{x}-1\right)\left(\sqrt{x}+1\right)}-\frac{6\sqrt{x}-4}{\left(\sqrt{x}-1\right)\left(\sqrt{x}+1\right)}\\ =\frac{x+\sqrt{x}+3\sqrt{x}-3-6\sqrt{x}+4}{\left(\sqrt{x}-1\right)\left(\sqrt{x}+1\right)}\\ =\frac{x-2\sqrt{x}+1}{\left(\sqrt{x}-1\right)\left(\sqrt{x}+1\right)}\\ =\frac{\left(\sqrt{x}-1\right)^2}{\left(\sqrt{x}-1\right)\left(\sqrt{x}+1\right)}\\ =\frac{\sqrt{x}-1}{\sqrt{x}+1}\)
b)
\(P=\frac{\sqrt{x}-1}{\sqrt{x}+1}< \frac{1}{2}\\ \Leftrightarrow\frac{\sqrt{x}-1}{\sqrt{x}+1}-\frac{1}{2}< 0\\ \Leftrightarrow\frac{2\left(\sqrt{x}-1\right)-\left(\sqrt{x}+1\right)}{2\left(\sqrt{x}+1\right)}< 0\\ \Leftrightarrow\frac{2\sqrt{x}-2-\sqrt{x}-1}{2\left(\sqrt{x}+1\right)}< 0\\ \Leftrightarrow\frac{\sqrt{x}-3}{2\left(\sqrt{x}+1\right)}< 0\\ \Leftrightarrow\sqrt{x}-3< 0\\ \Leftrightarrow x< 9\)
Vậy với \(0\le x< 9;x\ne1\)thì....