ĐK : \(x\ge0\) và \(x\ne1\)
\(A=\dfrac{\sqrt{x}+1}{x-1}-\dfrac{x+2}{x\sqrt{x}-1}-\dfrac{\sqrt{x}+1}{x+\sqrt{x}+1}\)
\(=\dfrac{1}{\sqrt{x}-1}-\dfrac{x+2}{\left(\sqrt{x}-1\right)\left(x+\sqrt{x}+1\right)}-\dfrac{\sqrt{x}+1}{x+\sqrt{x}+1}\)
\(=\dfrac{x+\sqrt{x}+1}{\left(\sqrt{x}-1\right)\left(x+\sqrt{x}+1\right)}-\dfrac{x+2}{\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)}\)
\(=\dfrac{x+\sqrt{x}+1-x-2-x+1}{\left(\sqrt{x}-1\right)\left(x+\sqrt{x}+1\right)}\)
\(=\dfrac{-x\left(\sqrt{x}-1\right)}{\left(\sqrt{x}-1\right)\left(x+\sqrt{x}+1\right)}\)
\(=\dfrac{-\sqrt{x}}{x+\sqrt{x}+1}\)
Ta có : \(\dfrac{2}{A}+\sqrt{x}=\dfrac{-2x-2\sqrt{x}-2}{\sqrt{x}}+\sqrt{x}\)
\(=\dfrac{-x-2\sqrt{x}-2}{\sqrt{x}}=-\sqrt{x}-2-\dfrac{2}{\sqrt{x}}=-\left(\sqrt{x}+\dfrac{2}{\sqrt{x}}+2\right)\)
Theo BĐT Cô - si ta có : \(\sqrt{x}+\dfrac{2}{\sqrt{x}}\ge2\sqrt{2}\)
\(\Leftrightarrow\sqrt{x}+\dfrac{2}{\sqrt{x}}+2\ge2\sqrt{2}+2\)
\(\Leftrightarrow-\left(\sqrt{x}+\dfrac{2}{\sqrt{x}}+2\right)\le-2\sqrt{2}-2\)
Vậy GTLN của Q là \(-2\sqrt{2}-2\) . Dấu \("="\) xảy ra khi \(x=2\)