\(\dfrac{1}{2}\left(x^2+y^2\right)^2-2x^2y^2=\dfrac{1}{2}x^4+x^2y^2+\dfrac{1}{2}y^4-2x^2y^2\\ =\dfrac{1}{2}x^4-x^2y^2+\dfrac{1}{2}y^4=\dfrac{1}{2}\left(x^4-2x^2y^2+y^4\right)\\ =\dfrac{1}{2}\left(x^2-y^2\right)^2\)
\(2\left(x^2+y^2\right)^2-2x^2y^2=2\left(x^4+2x^2y^2+y^4\right)-2x^2y^2\\ =2x^4+4x^2y^2+2y^4-2x^2y^2=2x^4+2x^2y^2+2y^4\\ =2\left(x^4+x^2y^2+y^4\right)\)