\(A+B=\dfrac{\sqrt{x}+1}{\sqrt{x}-1}+\left(\dfrac{\sqrt{x}-1}{\sqrt{x}+1}-\dfrac{3\sqrt{x}+1}{x-1}\right)\\ =\dfrac{\sqrt{x}+1}{\sqrt{x}-1}+\dfrac{\sqrt{x}-1}{\sqrt{x}+1}-\dfrac{3\sqrt{x}+1}{\left(\sqrt{x}-1\right)\left(\sqrt{x}+1\right)}\\ =\dfrac{\left(\sqrt{x}+1\right)^2}{\left(\sqrt{x}-1\right)\left(\sqrt{x}+1\right)}+\dfrac{\left(\sqrt{x}-1\right)^2}{\left(\sqrt{x}+1\right)\left(\sqrt{x}-1\right)}-\dfrac{3\sqrt{x}+1}{\left(\sqrt{x}-1\right)\left(\sqrt{x}+1\right)}\\ =\dfrac{x+2\sqrt{x}+1+x-2\sqrt{x}+1-3\sqrt{x}-1}{\left(\sqrt{x}-1\right)\left(\sqrt{x}+1\right)}\\ =\dfrac{2x-3\sqrt{x}+1}{\left(\sqrt{x}-1\right)\left(\sqrt{x}+1\right)}\)
\(=\dfrac{2x-2\sqrt{x}-\sqrt{x}+1}{\left(\sqrt{x}-1\right)\left(\sqrt{x}+1\right)}\\ =\dfrac{2\sqrt{x}\left(\sqrt{x}-1\right)-\left(\sqrt{x}-1\right)}{\left(\sqrt{x}-1\right)\left(\sqrt{x}+1\right)}\\ =\dfrac{\left(\sqrt{x}-1\right)\left(2\sqrt{x}-1\right)}{\left(\sqrt{x}-1\right)\left(\sqrt{x}+1\right)}\\ =\dfrac{2\sqrt{x}-1}{\sqrt{x}+1}\left(\text{đ}pcm\right)\)
A+B
\(=\dfrac{\sqrt{x}+1}{\sqrt{x}-1}+\dfrac{\sqrt{x}-1}{\sqrt{x}+1}-\dfrac{3\sqrt{x}+1}{x-1}\)
\(=\dfrac{x+2\sqrt{x}+1+x-2\sqrt{x}+1-3\sqrt{x}-1}{x-1}\)
\(=\dfrac{2x-3\sqrt{x}+1}{x-1}=\dfrac{2\sqrt{x}-1}{\sqrt{x}+1}\)