\(P=\left(1-\frac{\sqrt{x}}{\sqrt{x}+1}\right):\left(\frac{\sqrt{x}+3}{\sqrt{x}-2}+\frac{\sqrt{x}+2}{3-\sqrt{x}}+\frac{\sqrt{x}+2}{x-5\sqrt{x}+6}\right)\\ \)\(=\left(\frac{\sqrt{x}+1}{\sqrt{x}+1}-\frac{\sqrt{x}}{\sqrt{x}+1}\right):\left(\frac{\left(\sqrt{x}+3\right).\left(\sqrt{x}-3\right)}{\left(\sqrt{x}-2\right).\left(\sqrt{x}-3\right)}-\frac{\left(\sqrt{x}+2\right).\left(\sqrt{x}-2\right)}{\left(\sqrt{x}-3\right).\left(\sqrt{x-2}\right)}+\frac{\sqrt{x}+2}{\left(\sqrt{x}-2\right).\left(\sqrt{x}-3\right)}\right)\)
\(=\frac{1}{\sqrt{x}+1}:\left(\frac{x-9}{\left(\sqrt{x}-2\right).\left(\sqrt{x}-3\right)}-\frac{x-4}{\left(\sqrt{x}-2\right).\left(\sqrt{x}-3\right)}+\frac{\sqrt{x}+2}{\left(\sqrt{x}-2\right).\left(\sqrt{x}-3\right)}\right)\)
\(=\frac{1}{\sqrt{x}+1}:\frac{\sqrt{x}-3}{\left(\sqrt{x}-2\right).\left(\sqrt{x}-3\right)}=\frac{1}{\sqrt{x}+1}:\frac{1}{\sqrt{x}-2}=\frac{\sqrt{x}-2}{\sqrt{x}+1}\)
b.
\(P=\frac{\sqrt{x}-2}{\sqrt{x}+1}=\frac{\left(\sqrt{x}+1\right)-3}{\sqrt{x}+1}=1-\frac{3}{\sqrt{x}+1}\)
Vì \(\sqrt{x}\ge0\Rightarrow\sqrt{x}+1\ge1\Rightarrow\frac{3}{\sqrt{x}+1}\le3\Rightarrow1-\frac{3}{\sqrt{x}+1}\ge1-3=-2\Rightarrow P\ge-2\)
Dấu "=" xảy ra <=> x=0
vậy Min (P) = -2 <=> x=0
Rút gọn: \(P=\left(1-\frac{\sqrt{x}}{\sqrt{x}+1}\right):\left(\frac{\sqrt{x}+3}{\sqrt{x}-2}+\frac{\sqrt{x}+2}{3-\sqrt{x}}+\frac{\sqrt{x}+2}{x-5\sqrt{x}+6}\right)\)
\(=\left(\frac{\sqrt{x}+1-\sqrt{x}}{\sqrt{x}+1}\right):\left(\frac{\sqrt{x}+3}{\sqrt{x}-2}-\frac{\sqrt{x}+2}{\sqrt{x}-3}+\frac{\sqrt{x}+2}{x-5\sqrt{x}+6}\right)\)
\(=\frac{1}{\sqrt{x}+1}:\left(\frac{\left(\sqrt{x}+3\right)\left(\sqrt{x}-3\right)-\left(\sqrt{x}+2\right)\left(\sqrt{x}-2\right)+\sqrt{x}+2}{x-5\sqrt{x}+6}\right)\)
\(=\frac{1}{\sqrt{x}+1}:\left(\frac{x-9-x+4+\sqrt{x}+2}{\left(\sqrt{x}-2\right)\left(\sqrt{x}-3\right)}\right)=\frac{1}{\sqrt{x}+1}:\frac{\sqrt{x}-3}{\left(\sqrt{x}-2\right)\left(\sqrt{x}-3\right)}\)
\(=\frac{1}{\sqrt{x}+1}.\left(\sqrt{x}-2\right)=\frac{\sqrt{x}-2}{\sqrt{x}+1}\)
b) \(P=\frac{\sqrt{x}-2}{\sqrt{x}+1}=\frac{\left(\sqrt{x}+1\right)-3}{\sqrt{x}+1}=1-\frac{3}{\sqrt{x}+1}\)
Vì \(\sqrt{x}\ge0\Rightarrow\sqrt{x}+1\ge1\Leftrightarrow\frac{3}{\sqrt{x}+1}\le3\)
\(\Rightarrow1-\frac{3}{\sqrt{x}+1}\ge1-3\Leftrightarrow P\ge-2\)
Vậy Pmin = -2 khi và chỉ khi x = 0