\(A=\left[\frac{\left(\sqrt{x}-1\right)\left(\sqrt{x}-2\right)}{\left(\sqrt{x}+2\right)\left(\sqrt{x}-2\right)}-\frac{\sqrt{x}-2}{\sqrt{x}+2}\right].\left[\frac{\left(\sqrt{x}+1\right)\left(x-\sqrt{x}+1\right)}{\sqrt{x}+1}+\sqrt{x}+4\right]\) \(ĐKXĐ:\hept{\begin{cases}x\ge0\\x\ne4\end{cases}}\)
\(=\frac{\sqrt{x}-1-\sqrt{x}+2}{\sqrt{x}+2}.\left(x+5\right)\)
\(=\frac{x+5}{\sqrt{x}+2}\)
\(=\frac{2\left(\sqrt{x}+2\right)}{\sqrt{x}+2}+\frac{x-2\sqrt{x}+1}{\sqrt{x}+2}\)
\(=2+\frac{\left(\sqrt{x}-1\right)^2}{\sqrt{x}+2}\ge2\)
Dấu '=' xảy ra khi \(x=1\)
Vậy \(A_{min}=2\) khi \(x=1\)