Let $x\circ y= x +y-xy, \quad (x,y) \in \mathbb{Z}$
where $\circ$ is a binary operation on $\mathbb{Z}$, prove that this is a semigroup.
My Work
To prove we have to check two things:
$\mathbb{Z}$ is closed under $\circ$
$\circ$ is associative on $\mathbb{Z}$
For the first one, since we are only adding, subtractive and multiplying integers, the results will always be integers. Hence $\mathbb{Z}$ is closed under $\circ$.
For the second, I just have to show that $(x\circ y) \circ z =x\circ(y\circ z)$.
RHS: $(x\circ y) \circ z =(x+y-xy)\circ z= x+y-xy+z-zx-zy+xyz$
LHS: $x\circ(y\circ z)=x\circ (y+z-yz)=x +y-xy+z-zx-zy+xyz$
Hence RHS$=$LHS.
Therefore $(\mathbb{Z},\circ)$ is a semigroup.
Is this correct? And is there a better way to show that it's closed?
This structure as @Cameron confirmed, defines a infinite semigroup $S$. $S$ has $0$ and $1$ as two idempotent elements, since $0*0=0$ and $1*1=1$ and so it is not a band. It seems that $S$ has $0$ as its identity $e$ i.e. for all $a\in S$, $a*e=e*a=a$. $S$ looks like a commutative semigroup, since $$x*y=y*x, \forall x,y\in\mathbb Z$$