An operation * is defined on a set of numbers S by x * y = x + y - 2(x^2)(y^2)

in z+, q and q+

for z + its not a binary operation because you can get a negative answer say x = 3 and y = 4

for q it is a binary operation

for q+ it is a binary operation