a.
ĐKXĐ: \(x>0\)
\(\sqrt{x\left(x+3\right)}+2\sqrt{x+2}=2x+\sqrt{\dfrac{\left(x+2\right)\left(x+3\right)}{x}}\)
\(\Leftrightarrow\sqrt{x}\left(2\sqrt{x}-\sqrt{x+3}\right)+\sqrt{\dfrac{x+2}{x}}\left(\sqrt{x+3}-2\sqrt{x}\right)=0\)
\(\Leftrightarrow\sqrt{x}\left(\dfrac{4x-x-3}{2\sqrt{x}+\sqrt{x+3}}\right)-\sqrt{\dfrac{x+2}{x}}\left(\dfrac{4x-x-3}{\sqrt{x+3}+2\sqrt{x}}\right)=0\)
\(\Leftrightarrow\dfrac{3\left(x-1\right)}{2\sqrt{x}+\sqrt{x+3}}\left(\sqrt{x}-\sqrt{\dfrac{x+2}{x}}\right)=0\)
\(\Leftrightarrow\left[{}\begin{matrix}x=1\\x=\dfrac{x+2}{x}\end{matrix}\right.\) \(\Leftrightarrow\left[{}\begin{matrix}x=1\\x=2\\x=-1\left(loại\right)\end{matrix}\right.\)
b.
ĐKXĐ: \(x\ge-\dfrac{1}{2};x\ne1-\sqrt{2}\)
\(x+2+x\sqrt{2x+1}=x\sqrt{x+2}+\sqrt{\left(x+2\right)\left(2x+1\right)}\)
\(\Leftrightarrow\sqrt{x+2}\left(\sqrt{2x+1}-\sqrt{x+2}\right)-x\left(\sqrt{2x+1}-\sqrt{x+2}\right)=0\)
\(\Leftrightarrow\left(\sqrt{2x+1}-\sqrt{x+2}\right)\left(\sqrt{x+2}-x\right)=0\)
\(\Leftrightarrow\left[{}\begin{matrix}\sqrt{2x+1}=\sqrt{x+2}\\\sqrt{x+2}=x\left(x\ge0\right)\end{matrix}\right.\)
\(\Leftrightarrow\left[{}\begin{matrix}2x+1=x+2\\x^2-x-2=0\left(x\ge0\right)\end{matrix}\right.\)
\(\Leftrightarrow\left[{}\begin{matrix}x=1\\x=2\\x=-1\left(loại\right)\end{matrix}\right.\)