If the real numbers x and y satisfy (x ^ 2 + y ^ 2 + 1) (x ^ 2 + y ^ 2-4) = 0, find the value of x ^ 2 + y ^ 2

If the real numbers x and y satisfy (x ^ 2 + y ^ 2 + 1) (x ^ 2 + y ^ 2-4) = 0, find the value of x ^ 2 + y ^ 2

(x^2+y^2+1)(x^2+y^2-4)=0
(x ^ 2 + y ^ 2 + 1) = 0, or (x ^ 2 + y ^ 2-4) = 0
X ^ 2 + y ^ 2 = - 1, or x ^ 2 + y ^ 2 = 4