a: Ta có: \(P=\left(\dfrac{x-2\sqrt{x}+4}{\sqrt{x}-2}\right):\left(\dfrac{\sqrt{x}+2}{\sqrt{x}-2}+\dfrac{\sqrt{x}}{\sqrt{x}+2}-\dfrac{x+4}{x-4}\right)\)
\(=\dfrac{x-2\sqrt{x}+4}{\sqrt{x}-2}:\dfrac{x+4\sqrt{x}+4+x-2\sqrt{x}-x-4}{\left(\sqrt{x}-2\right)\left(\sqrt{x}+2\right)}\)
\(=\dfrac{x-2\sqrt{x}+4}{1}\cdot\dfrac{\sqrt{x}+2}{x+2\sqrt{x}}\)
\(=\dfrac{x-2\sqrt{x}+4}{\sqrt{x}}\)
b: \(P-2=\dfrac{x-4\sqrt{x}+4}{\sqrt{x}}=\dfrac{\left(\sqrt{x}-2\right)^2}{\sqrt{x}}>0\forall x\) thỏa mãn ĐKXĐ
nên P>2