I am reading my first book on abstract algebra. I am not enrolled in a class on the subject.
Given $S = \{0,1\}$. Is $(S,\cdot)$ a group?
$S$ is closed under multiplication. $$0\cdot1=0,\,1\cdot0=0,\,0\cdot0=0,\,1\cdot1=1.$$ $S$ has an identity, $1$, I think.
$$0\cdot1=0,\,1\cdot1=1.$$
I don't believe $S$ satisfies $a\cdot a^{-1}=\operatorname{id}.$
However, zero is excluded when stating that $\mathbb R$ satisfies $a\cdot a^{-1} = \operatorname{id}$ under multiplication.
$S$ would be a group if zero is excluded. $1\cdot1=1.$
So is $S$ a group or not?