\(\left(x^2+x-2\right)^2=3\left(x^4+x^2+1\right)\)
\(\Leftrightarrow\left[\left(x-1\right)\left(x+2\right)\right]^2=3\left(x^4+x^2+1\right)\)
\(\Leftrightarrow\left(x-1\right)^2\left(x+2\right)^2=3\left(x^4+x^2+1\right)\)
\(\Leftrightarrow x^4+4x^3+4x^2-2x^3-8x^2-8x+x^2+4x+4=3x^4+3x^2+3\)
\(\Leftrightarrow x^4+2x^3-3x^2-4x+4-3x^4-3x^2-3=0\)
\(\Leftrightarrow-2x^4+2x^3-6x^2-4x+1=0\)