Prove that polynomial $f(x,y)=x^2y^2(x^2+y^2-3)+1$ is non-negative.
Prove that $f(x,y)$ cannot be represented as the sum of squares of polynomials with real coefficients.
Would be grateful to see solution. I was thinking for couple days but unfortunately no results.

Considering the function
$$ f(x,y) = x^2 y^2 (x^2 + y^2 - 3) + 1 $$
we have a stationary point at $x = y = 1$
At this point the Hessian is
$$ H = \left( \begin{array}{cc} 4 & 2 \\ 2 & 4 \\ \end{array} \right) $$
which is definite positive then $f(x,y)$ has a minimum at $(1,1)$ and at this point $f(1,1) = 0$ hence
$$ f(x,y) \ge 0 $$