Câu hỏi: Tất cả các số thực x, y thỏa mãn ${{x}^{2}}-1+yi=-1+2i$ là
A. $x=\sqrt{2},y=2.$
B. $x=-\sqrt{2},y=2.$
C. $x=0,y=2.$
D. $x=\sqrt{2},y=-2.$
A. $x=\sqrt{2},y=2.$
B. $x=-\sqrt{2},y=2.$
C. $x=0,y=2.$
D. $x=\sqrt{2},y=-2.$
Từ${{x}^{2}}-1+yi=-1+2i\Rightarrow \left\{ \begin{aligned}
& {{x}^{2}}-1=-1 \\
& y=2 \\
\end{aligned} \right.\Leftrightarrow \left\{ \begin{aligned}
& x=0 \\
& y=2 \\
\end{aligned} \right.$
& {{x}^{2}}-1=-1 \\
& y=2 \\
\end{aligned} \right.\Leftrightarrow \left\{ \begin{aligned}
& x=0 \\
& y=2 \\
\end{aligned} \right.$
Đáp án C.