\(A=\frac{x-\sqrt{x}+1}{\left(\sqrt{x}+1\right)\left(x-\sqrt{x}+1\right)}-\frac{3}{\left(\sqrt{x}+1\right)\left(x-\sqrt{x}+1\right)}+\frac{2\left(\sqrt{x}+1\right)}{\left(\sqrt{x}+1\right)\left(x-\sqrt{x}+1\right)}\)
\(=\frac{x-\sqrt{x}+1-3+2\sqrt{x}+2}{\left(\sqrt{x}+1\right)\left(x-\sqrt{x}+1\right)}=\frac{x+\sqrt{x}}{\left(\sqrt{x}+1\right)\left(x-\sqrt{x}+1\right)}=\frac{\sqrt{x}}{x-\sqrt{x}+1}\)
\(\left\{{}\begin{matrix}\sqrt{x}\ge0\\x-\sqrt{x}+1=\left(\sqrt{x}-\frac{1}{2}\right)^2+\frac{3}{4}>0\end{matrix}\right.\) \(\Rightarrow A\ge0\)
\(\Rightarrow A_{min}=0\) khi \(x=0\)
Với \(x\ne0\Rightarrow A=\frac{1}{\sqrt{x}+\frac{1}{\sqrt{x}}-1}\le\frac{1}{2\sqrt{\sqrt{x}.\frac{1}{\sqrt{x}}}-1}=\frac{1}{2-1}=1\)
\(\Rightarrow A_{max}=1\) khi \(\sqrt{x}=\frac{1}{\sqrt{x}}\Leftrightarrow x=1\)