\(P=\frac{x^2+\sqrt{x}}{x-\sqrt{x}+1}+1-\frac{2x+\sqrt{x}}{\sqrt{x}}\)
\(=\frac{x^2-\sqrt{x}-2x\sqrt{x}+2x}{x-\sqrt{x}+1}=\frac{\left(x-\sqrt{x}\right)\left(x-\sqrt{x}+1\right)}{x-\sqrt{x}+1}=x-\sqrt{x}\)
\(=\left(x-\frac{2\sqrt{x}}{2}+\frac{1}{4}\right)-\frac{1}{4}=\left(\sqrt{x}-\frac{1}{4}\right)^2-\frac{1}{4}\ge-\frac{1}{4}\)
Vậy GTNN là \(\frac{-1}{4}\)đạt được khi x = \(\frac{1}{4}\)