a) Thay x=4 vào biểu thức \(B=\dfrac{3}{\sqrt{x}-1}\), ta được:
\(B=\dfrac{3}{\sqrt{4}-1}=\dfrac{3}{2-1}=3\)
Vậy: Khi x=4 thì B=3
b) Ta có: P=A-B
\(\Leftrightarrow P=\dfrac{6}{x-1}+\dfrac{\sqrt{x}}{\sqrt{x}+1}-\dfrac{3}{\sqrt{x}-1}\)
\(\Leftrightarrow P=\dfrac{6}{\left(\sqrt{x}-1\right)\left(\sqrt{x}+1\right)}+\dfrac{\sqrt{x}\left(\sqrt{x}-1\right)}{\left(\sqrt{x}+1\right)\left(\sqrt{x}-1\right)}-\dfrac{3\left(\sqrt{x}+1\right)}{\left(\sqrt{x}-1\right)\left(\sqrt{x}+1\right)}\)
\(\Leftrightarrow P=\dfrac{6+x-\sqrt{x}-3\sqrt{x}-3}{\left(\sqrt{x}-1\right)\left(\sqrt{x}+1\right)}\)
\(\Leftrightarrow P=\dfrac{x-\sqrt{x}-3\sqrt{x}+3}{\left(\sqrt{x}-1\right)\left(\sqrt{x}+1\right)}\)
\(\Leftrightarrow P=\dfrac{\sqrt{x}\left(\sqrt{x}-1\right)-3\left(\sqrt{x}-1\right)}{\left(\sqrt{x}-1\right)\left(\sqrt{x}+1\right)}\)
\(\Leftrightarrow P=\dfrac{\left(\sqrt{x}-1\right)\left(\sqrt{x}-3\right)}{\left(\sqrt{x}-1\right)\left(\sqrt{x}+1\right)}\)
\(\Leftrightarrow P=\dfrac{\sqrt{x}-3}{\sqrt{x}+1}\)