a/ ĐKXĐ: \(x\ge0,x\ne1\)
\(P=\left(\dfrac{3}{\sqrt{x}-1}+\dfrac{\sqrt{x}-3}{x-1}\right):\left(\dfrac{x+2}{x+\sqrt{x}-2}-\dfrac{\sqrt{x}}{\sqrt{x}+2}\right)\)
= \(\dfrac{3\left(\sqrt{x}+1\right)+\sqrt{x}-3}{\left(\sqrt{x}-1\right)\left(\sqrt{x}+1\right)}:\dfrac{x+2-\sqrt{x}\left(\sqrt{x}-1\right)}{\left(\sqrt{x}-1\right)\left(\sqrt{x}+2\right)}\)
= \(\dfrac{4\sqrt{x}}{\left(\sqrt{x}-1\right)\left(\sqrt{x}+1\right)}:\dfrac{\sqrt{x}+2}{\left(\sqrt{x}-1\right)\left(\sqrt{x}+2\right)}\)
= \(\dfrac{4\sqrt{x}\left(\sqrt{x}-1\right)}{\left(\sqrt{x}-1\right)\left(\sqrt{x}+1\right)}\)
= \(\dfrac{4\sqrt{x}}{\sqrt{x}+1}\)
b/ Với \(x\ge0,x\ne1\)
Để \(P=\sqrt{x}-1\Leftrightarrow\dfrac{4\sqrt{x}}{\sqrt{x}+1}=\sqrt{x}-1\)
\(\Leftrightarrow4\sqrt{x}=\left(\sqrt{x}-1\right)\left(\sqrt{x}+1\right)\)
\(\Leftrightarrow x-4\sqrt{x}-1=0\)
\(\Leftrightarrow\left(\sqrt{x}-2+\sqrt{5}\right)\left(\sqrt{x}-2-\sqrt{5}\right)=0\)
\(\Leftrightarrow\left[{}\begin{matrix}\sqrt{x}-2+\sqrt{5}=0\\\sqrt{x}-2-\sqrt{5}=0\end{matrix}\right.\) \(\Leftrightarrow\left[{}\begin{matrix}\sqrt{x}=2-\sqrt{5}\left(ktm\right)\\\sqrt{x}=2+\sqrt{5}\left(tm\right)\end{matrix}\right.\)
\(\Leftrightarrow x=9+4\sqrt{5}\)
Vậy để \(P=\sqrt{x}-1\) thì \(x=9+4\sqrt{5}\)