Lời giải:
ĐKXĐ: $x>0$
a. \(P=\frac{x-1}{\sqrt{x}}:\left[\frac{(\sqrt{x}-1)(\sqrt{x}+1)}{\sqrt{x}(\sqrt{x}+1)}+\frac{1-\sqrt{x}}{\sqrt{x}(\sqrt{x}+1)}\right]\)
\(=\frac{x-1}{\sqrt{x}}:\frac{x-1+1-\sqrt{x}}{\sqrt{x}(\sqrt{x}+1)}=\frac{x-1}{\sqrt{x}}:\frac{\sqrt{x}(\sqrt{x}-1)}{\sqrt{x}(\sqrt{x}+1)}=\frac{(\sqrt{x}-1)(\sqrt{x}+1)}{\sqrt{x}}.\frac{\sqrt{x}+1}{\sqrt{x}-1}\)
\(=\frac{(\sqrt{x}+1)^2}{\sqrt{x}}\)
b.
\(x=\frac{4}{4+2\sqrt{3}}=(\frac{2}{\sqrt{3}+1})^2\Rightarrow \sqrt{x}=\frac{2}{\sqrt{3}+1}\)
\(P=\frac{(\frac{2}{\sqrt{3}+1}+1)^2}{\frac{2}{\sqrt{3}+1}}=\frac{3+3\sqrt{3}}{2}\)
a: Ta có: \(P=\left(\sqrt{x}-\dfrac{1}{\sqrt{x}}\right):\left(\dfrac{\sqrt{x}-1}{\sqrt{x}}+\dfrac{1-\sqrt{x}}{x+\sqrt{x}}\right)\)
\(=\dfrac{\left(\sqrt{x}-1\right)\left(\sqrt{x}+1\right)}{\sqrt{x}}:\dfrac{x-1+1-\sqrt{x}}{\sqrt{x}\left(\sqrt{x}+1\right)}\)
\(=\dfrac{\left(\sqrt{x}-1\right)\left(\sqrt{x}+1\right)}{\sqrt{x}}\cdot\dfrac{\sqrt{x}\left(\sqrt{x}+1\right)}{\sqrt{x}\left(\sqrt{x}-1\right)}\)
\(=\dfrac{x+2\sqrt{x}+1}{\sqrt{x}}\)