a) P = \(\dfrac{x+2}{\sqrt{x}^3-1}+\dfrac{\sqrt{x}+1}{x+\sqrt{x}+1}-\dfrac{\sqrt{x}+1}{x-1}\)
= \(\dfrac{x+2}{\left(\sqrt{x}-1\right)\left(x+\sqrt{x}+1\right)}+\dfrac{\sqrt{x}+1}{x+\sqrt{x}+1}-\dfrac{\sqrt{x}+1}{\left(\sqrt{x}+1\right)\left(\sqrt{x}-1\right)}\)
= \(\dfrac{x+2}{\left(\sqrt{x}-1\right)\left(x+\sqrt{x}+1\right)}+\dfrac{\left(\sqrt{x}-1\right)\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)}\)
= \(\dfrac{x+2+x-1-x-\sqrt{x}-1}{\left(\sqrt{x}-1\right)\left(x+\sqrt{x}+1\right)}\)
= \(\dfrac{x-\sqrt{x}}{\left(\sqrt{x}-1\right)\left(x+\sqrt{x}+1\right)}=\dfrac{\sqrt{x}}{x+\sqrt{x}+1}\)
b) Để \(\dfrac{\sqrt{x}}{x+\sqrt{x}+1}< \dfrac{1}{3}\)
<=> \(\dfrac{\sqrt{x}}{x+\sqrt{x}+1}-\dfrac{1}{3}< 0\)
<=> \(\dfrac{3\sqrt{x}-x-\sqrt{x}-1}{3\left(x+\sqrt{x}+1\right)}< 0\)
Mà \(x+\sqrt{x}+1=\left(\sqrt{x}+\dfrac{1}{2}\right)^2+\dfrac{3}{4}>0\)
<=> \(-x+2\sqrt{x}-1< 0\)
<=> \(-\left(\sqrt{x}-1\right)^2< 0\) (luôn đúng)
=> P \(< \dfrac{1}{3}\)