a: Ta có: \(\sqrt{1-x^2}=x-1\)
\(\Leftrightarrow1-x^2=x-1\)
\(\Leftrightarrow1-x^2-x+1=0\)
\(\Leftrightarrow x^2+x-2=0\)
\(\Leftrightarrow\left(x+2\right)\left(x-1\right)=0\)
\(\Leftrightarrow\left[{}\begin{matrix}x=-2\left(loại\right)\\x=1\left(nhận\right)\end{matrix}\right.\)
b: Ta có: \(\sqrt{x^2+4x+4}=x-2\)
\(\Leftrightarrow\left|x+2\right|=x-2\)
\(\Leftrightarrow\left[{}\begin{matrix}x+2=x-2\left(x\ge-2\right)\\x+2=2-x\left(x< -2\right)\end{matrix}\right.\Leftrightarrow2x=0\)
hay x=0(loại)