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