Bài 5:
a: ĐKXĐ: \(\left\{{}\begin{matrix}x\ge0\\x\ne4\end{matrix}\right.\)
b: Ta có: \(P=\dfrac{\sqrt{x}+1}{\sqrt{x}-2}+\dfrac{2\sqrt{x}}{\sqrt{x}+2}-\dfrac{5\sqrt{x}+2}{x-4}\)
\(=\dfrac{x+3\sqrt{x}+2+2x-4\sqrt{x}-5\sqrt{x}-2}{\left(\sqrt{x}-2\right)\left(\sqrt{x}+2\right)}\)
\(=\dfrac{3\sqrt{x}}{\sqrt{x}+2}\)

