Solve the system of equations:
$$ \left\{\begin{matrix}2\sqrt{x+y} = y^2+y-x & \quad(1) \\ x(y^2+y)=(y^4-y^2)^2-2 & \quad(2) \end{matrix}\right. $$
My attempt:
From $(1)$ I get:
$$(1) \implies (\sqrt{x+y}+y+2)(\sqrt{x+y}-y) = 0$$
So either $\sqrt{x+y}+y+2 = 0 \implies x = y^2+3y+4$ or $\sqrt{x+y}-y = 0 \implies x = y^2-y$. If I replace either of them into $(2)$, It would be very messy since this will become a $8$th-degree polynomial.
How can I solve this problem?
If $x=y^2-y$ so $$y^4-y^2=(y^4-y^2)^2-2,$$ which gives $$y^4-y^2=-1,$$ which is impossible, or $$y^4-y^2=2.$$ Can you end it now?
I got that the second case: $$\sqrt{x+y}+y+2=0$$ is impossible.
Indeed, $y\leq-2$ and $$x+y=(y+2)^2$$ or $$x=y^2+3y+4,$$ which gives $$(y^2+3y+4)(y^2+y)=(y^4-y^2)^2-2$$ or $$y^8-2y^6-4y^3-7y^2-4y-2=0$$ or $$y^8-4y^6+2y^6-8y^4+8y^4-32y^2-4y^3+25y^2-100-4y+98=0$$ or $$(y^2-4)(y^6+2y^4+8y^2+25)-4y^3-4y+98=0,$$ which is impossible for $y\leq-2$.