\(M=\left(\frac{\sqrt{x}\left(\sqrt{x}+1\right)}{\left(\sqrt{x}-1\right)\left(\sqrt{x}+1\right)}+\frac{\sqrt{x}}{\left(\sqrt{x}-1\right)\left(\sqrt{x}+1\right)}\right):\left(\frac{2\left(\sqrt{x}+1\right)}{x\left(\sqrt{x}+1\right)}-\frac{2-x}{x\left(\sqrt{x}+1\right)}\right)\)
\(=\frac{\left(x+2\sqrt{x}\right)}{\left(\sqrt{x}-1\right)\left(\sqrt{x}+1\right)}.\frac{x\left(\sqrt{x}+1\right)}{\left(x+2\sqrt{x}\right)}=\frac{x}{\sqrt{x}-1}\)
\(M=-\frac{1}{2}\Leftrightarrow\frac{x}{\sqrt{x}-1}=-\frac{1}{2}\Leftrightarrow2x=1-\sqrt{x}\)
\(\Leftrightarrow2x+\sqrt{x}-1=0\Leftrightarrow\left(\sqrt{x}+1\right)\left(2\sqrt{x}-1\right)=0\)
\(\Leftrightarrow2\sqrt{x}-1=0\Rightarrow\sqrt{x}=\frac{1}{2}\Rightarrow x=\frac{1}{4}\)
\(M=\left(\frac{\sqrt{x}\left(\sqrt{x}+1\right)+\sqrt{x}}{\left(\sqrt{x}+1\right)\left(\sqrt{x}-1\right)}\right):\left(\frac{2}{x}-\frac{2-x}{x\left(\sqrt{x}+1\right)}\right)\)
\(M=\frac{x+\sqrt{x}+\sqrt{x}}{\left(\sqrt{x}+1\right)\left(\sqrt{x}-1\right)}:\left(\frac{2\left(\sqrt{x}+1\right)-2+x}{x\left(\sqrt{x}+1\right)}\right)\)
\(M=\frac{x+2\sqrt{x}}{\left(\sqrt{x}+1\right)\left(\sqrt{x}-1\right)}.\frac{x\left(\sqrt{x}+1\right)}{2\sqrt{x}+2-2+x}\)
\(M=\frac{x\left(x+2\sqrt{x}\right)}{\left(\sqrt{x}+1\right)\left(x+2\sqrt{x}\right)}=\frac{x}{\sqrt{x}+1}\)
b/ \(\frac{x}{\sqrt{x}+1}=\frac{-1}{2}\Leftrightarrow2x=-\sqrt{x}-1\Leftrightarrow2x+\sqrt{x}+1=0\) (vô n)