a,\(P=\left(\dfrac{x+2}{x\sqrt{x}-1}+\dfrac{\sqrt{x}}{x+\sqrt{x}+1}+\dfrac{1}{1-\sqrt{x}}\right):\dfrac{\sqrt{x}-1}{2}\)
\(P=\left[\dfrac{x+2}{\left(\sqrt{x}-1\right)\left(x+\sqrt{x}+1\right)}+\dfrac{\sqrt{x}\left(\sqrt{x}-1\right)}{\left(\sqrt{x}-1\right)\left(x+\sqrt{x}+1\right)}-\dfrac{x+\sqrt{x}+1}{\left(\sqrt{x}-1\right)\left(x+\sqrt{x}+1\right)}\right].\dfrac{2}{\sqrt{x}-1}\)
\(P=\dfrac{x+2+x-\sqrt{x}-x-\sqrt{x}-1}{\left(\sqrt{x}-1\right)\left(x+\sqrt{x}+1\right)}.\dfrac{2}{\sqrt{x}-1}\)
\(P=\dfrac{x-2\sqrt{x}+1}{\left(\sqrt{x}-1\right)\left(x+\sqrt{x}+1\right)}.\dfrac{2}{\sqrt{x}-1}\)
\(P=\dfrac{\left(\sqrt{x}-1\right)^2}{\left(\sqrt{x}-1\right)\left(x+\sqrt{x}+1\right)}.\dfrac{2}{\sqrt{x}-1}=\dfrac{2}{x+\sqrt{x}+1}\)
Vậy \(P=\dfrac{2}{x+\sqrt{x}+1}\)
b, Ta có \(x+\sqrt{x}+1=\left(x+2\sqrt{x}.\dfrac{1}{2}+\dfrac{1}{4}\right)+\dfrac{3}{4}=\left(\sqrt{x}+\dfrac{1}{2}\right)^2+\dfrac{3}{4}\ge\dfrac{3}{4}>0\forall x\)Suy ra \(\dfrac{2}{x+\sqrt{x}+1}>0\forall x>0,x\ne1\)
hay \(P>0\forall x>0,x\ne1\)(đpcm)