a) Ta có: \(B=\left(\dfrac{\sqrt{x}+1}{\sqrt{x}-1}-\dfrac{\sqrt{x}-1}{\sqrt{x}+1}\right):\dfrac{\sqrt{x}}{\sqrt{x}-1}\)
\(=\left(\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)}\right):\dfrac{\sqrt{x}}{\sqrt{x}-1}\)
\(=\dfrac{x+2\sqrt{x}+1-x+2\sqrt{x}-1}{\left(\sqrt{x}+1\right)\left(\sqrt{x}-1\right)}:\dfrac{\sqrt{x}}{\sqrt{x}-1}\)
\(=\dfrac{4\sqrt{x}}{\left(\sqrt{x}+1\right)\left(\sqrt{x}-1\right)}\cdot\dfrac{\sqrt{x}-1}{\sqrt{x}}\)
\(=\dfrac{4}{\sqrt{x}+1}\)
b. Để A và B trái dấu \(\Leftrightarrow AB< 0\)
\(\Leftrightarrow\left(\dfrac{\sqrt{x}+1}{\sqrt{x}-1}\right)\left(\dfrac{4}{\sqrt{x}+1}\right)< 0\)
\(\Leftrightarrow\dfrac{4}{\sqrt{x}-1}< 0\Leftrightarrow\sqrt{x}-1< 0\)
\(\Rightarrow0< x< 1\)