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