The given quadratic equation is;
[tex]x^2+2=x[/tex]This can be written properly as;
[tex]x^2-x+2=0[/tex]The discriminant is used to test for nature of roots of a quadratic equation and it is given by the equation;
[tex]D=b^2-4ac[/tex]From the given quadratic equation;
[tex]\begin{gathered} x^2-x+2=0 \\ a=1;b=-1,c=2 \end{gathered}[/tex]Thus, the discriminant will be;
[tex]\begin{gathered} D=b^2-4ac \\ D=(-1)^2-4(1)(2) \\ D=1-8 \\ D=-7 \end{gathered}[/tex]Since the discrimiant has a value(-7) less than zero(0), thus it has two(2) complex roots.
Hence, the correct option is option B