a: \(P=\dfrac{x-1}{\sqrt{x}}:\dfrac{x-1+1-\sqrt{x}}{\sqrt{x}\left(\sqrt{x}+1\right)}\)
\(=\dfrac{x-1}{\sqrt{x}}\cdot\dfrac{\sqrt{x}\left(\sqrt{x}+1\right)}{\sqrt{x}\left(\sqrt{x}-1\right)}\)
\(=\dfrac{\left(\sqrt{x}+1\right)^2\left(\sqrt{x}-1\right)}{\sqrt{x}\left(\sqrt{x}-1\right)}=\dfrac{\left(\sqrt{x}+1\right)^2}{\sqrt{x}}\)
b: \(x=\dfrac{2}{2+\sqrt{3}}=2\left(2-\sqrt{3}\right)=4-2\sqrt{3}\)
Khi x=4-2căn 3 thì \(P=\dfrac{\left(\sqrt{3}-1+1\right)^2}{\sqrt{3}-1}=\dfrac{3}{\sqrt{3}-1}=\dfrac{3\sqrt{3}+3}{2}\)