\(A=\left(\dfrac{2x+\sqrt{x}}{\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)}\right)\left(\dfrac{\left(\sqrt{x}+1\right)\left(x-\sqrt{x}+1\right)}{\sqrt{x}+1}-\sqrt{x}\right)\)
\(=\left(\dfrac{2x+\sqrt{x}-x+1}{\left(\sqrt{x}-1\right)\left(x+\sqrt{x}+1\right)}\right)\left(x-\sqrt{x}+1-\sqrt{x}\right)\)
\(=\left(\dfrac{x+\sqrt{x}+1}{\left(\sqrt{x}-1\right)\left(x+\sqrt{x}+1\right)}\right)\left(\sqrt{x}-1\right)^2\)
\(=\dfrac{\left(\sqrt{x}-1\right)^2}{\sqrt{x}-1}=\sqrt{x}-1\)
b. Đặt \(B=A-2x\)
\(B=\sqrt{x}-1-2x=-2\left(\sqrt{x}-\dfrac{1}{4}\right)^2-\dfrac{7}{8}\le-\dfrac{7}{8}\)
\(B_{max}=-\dfrac{7}{8}\) khi \(\sqrt{x}-\dfrac{1}{4}=0\Leftrightarrow x=\dfrac{1}{16}\)