a ĐKXĐ: \(x>0;x\ne4\)
\(\Rightarrow P=\left(\dfrac{\sqrt{x}-2}{\sqrt{x}+2}-\dfrac{\sqrt{x}}{\sqrt{x}+2}\right):\left(\dfrac{2}{x-4}+\dfrac{1}{\sqrt{x}+2}\right)=\left(\dfrac{\sqrt{x}-2-\sqrt{x}}{\sqrt{x}+2}\right):\left(\dfrac{2}{\left(\sqrt{x}+2\right)\left(\sqrt{x}-2\right)}+\dfrac{1}{\sqrt{x}+2}\right)=\dfrac{-2}{\sqrt{x}+2}:\left(\dfrac{2+\sqrt{x}-2}{\left(\sqrt{x}+2\right)\left(\sqrt{x}-2\right)}\right)=-\dfrac{2}{\sqrt{x}+2}:\dfrac{\sqrt{x}}{\left(\sqrt{x}+2\right)\left(\sqrt{x}-2\right)}=-\dfrac{2\left(\sqrt{x-2}\right)}{\sqrt{x}}=\dfrac{4-2\sqrt{x}}{\sqrt{x}}\) b. Vì P và x cùng dấu \(\Rightarrow P>0\Rightarrow\dfrac{4-2\sqrt{x}}{\sqrt{x}}>0\Rightarrow4-2\sqrt{x}>0\) (vì \(\sqrt{x}>0\) ) \(\Rightarrow-2\sqrt{x}>-4\Rightarrow\sqrt{x}< 2\Rightarrow x< 4\) kết hợp với điều kiện
\(\Rightarrow0< x< 4\)