a: Ta có: \(P=\dfrac{\sqrt{x}+1}{\sqrt{x}-1}+\dfrac{\sqrt{x}-1}{\sqrt{x}+1}-\dfrac{3\sqrt{x}+1}{x-1}\)
\(=\dfrac{2x+2-3\sqrt{x}-1}{\left(\sqrt{x}-1\right)\left(\sqrt{x}+1\right)}\)
\(=\dfrac{2\sqrt{x}-1}{\sqrt{x}+1}\)
b: Thay x=16 vào P, ta được:
\(P=\dfrac{2\cdot4-1}{4+1}=\dfrac{7}{5}\)