Below is a partly filled in table for a binary operation ($*$) on the set $M=\{a,b,c,d\}$. I am trying to fill in the rest such that the magma $(M,*)$ becomes associative, commutative, has an identity element and has no zero-elements.
Using the fact that $(M,*)$ is supposed to be commutative we can fill in a few cells and get:
Now we want the magma to be associative too, so I can get the following information:
$(c*a)*b = c*(a*b)$
$a*b = c*b$
$b*c = b = c*b$
and we end up with:
$(a*c)*d = a*(c*d)$
$a*d = a*c$
$a*d = a = d*a$
and we end up with:
$(b*c)*d = b*(c*d)$
$b*d = b*c$
$b*d = b = d*b$
and we end up with:
Now we see that $d$ must be the identity element due to the d-row being equal to the heading row and the d-column is equal to the heading column.
we end up with:
Now this is where I get stuck, I can't figure out what the two last cells need to be. I have gained some information though, the magma $(M,*)$ does not form a group. This due to the fact that we for example have duplicate entries on the a-row [_ b a a] which would not be allowed if the magma was a group. We also notice that not every element seems to have an inverse, which again is not allowed if the magma was to be a group.