a) ĐKXĐ có thêm \(x\ne4\)
\(A=\left(\dfrac{x-\sqrt{x}+2}{x-\sqrt{x}-2}-\dfrac{x}{x-2\sqrt{x}}\right):\dfrac{1-\sqrt{x}}{2-\sqrt{x}}\)
\(=\left(\dfrac{x-\sqrt{x}+2}{\left(\sqrt{x}-2\right)\left(\sqrt{x}+1\right)}-\dfrac{x}{\sqrt{x}\left(\sqrt{x}-2\right)}\right).\dfrac{2-\sqrt{x}}{1-\sqrt{x}}\)
\(=\dfrac{\sqrt{x}\left(x-\sqrt{x}+2\right)-x\left(\sqrt{x}+1\right)}{\sqrt{x}\left(\sqrt{x}+1\right)\left(\sqrt{x}-2\right)}.\dfrac{2-\sqrt{x}}{1-\sqrt{x}}\)
\(=\dfrac{-2x+2\sqrt{x}}{\sqrt{x}\left(\sqrt{x}+1\right)\left(\sqrt{x}-2\right)}.\dfrac{\sqrt{x}-2}{\sqrt{x}-1}\)
\(=\dfrac{-2\sqrt{x}\left(\sqrt{x}-1\right)}{\sqrt{x}\left(\sqrt{x}+1\right)\left(\sqrt{x}-2\right)}.\dfrac{\sqrt{x}-2}{\sqrt{x}-1}=\dfrac{-2}{\sqrt{x}+1}\)
\(B=\left(\dfrac{x}{\sqrt{x}+3}+\dfrac{1}{\sqrt{x}+3}\right):\left(1-\dfrac{2}{\sqrt{x}}+\dfrac{6}{x+3\sqrt{x}}\right)\)
\(=\dfrac{x+1}{\sqrt{x}+3}:\left(1-\dfrac{2}{\sqrt{x}}+\dfrac{6}{\sqrt{x}\left(\sqrt{x}+3\right)}\right)\)
\(=\dfrac{x+1}{\sqrt{x}+3}:\dfrac{x+3\sqrt{x}-2\left(\sqrt{x}+3\right)+6}{\sqrt{x}\left(\sqrt{x}+3\right)}\)
\(=\dfrac{x+1}{\sqrt{x}+3}:\dfrac{x+\sqrt{x}}{\sqrt{x}\left(\sqrt{x}+3\right)}=\dfrac{x+1}{\sqrt{x}+3}.\dfrac{\sqrt{x}\left(\sqrt{x}+3\right)}{\sqrt{x}\left(\sqrt{x}+1\right)}\)
\(=\dfrac{x+1}{\sqrt{x}+1}\)