3

Let $S$ be a nonempty set. Prove that the power set $P(S)$ whose elements are all subsets of $S$, forms ring under the following operations:

\begin{align*} a + b &= (a \cup b) \setminus (a \cap b)\\ a \cdot b &= a \cap b \end{align*}

For proving it's an abelian group first, I've gotten that the identity is $\emptyset$.

\begin{align*} a + \emptyset &= (a \cup \emptyset) \setminus (a \cap \emptyset)\\ &= a \setminus \emptyset\\ &= a \end{align*}

Each element is it's own inverse.

\begin{align*} a + a &= (a \cup a) \setminus (a \cap a)\\ &= a \setminus a\\ &= \emptyset \end{align*}

It's certainly commutative. \begin{align*} a + b &= (a \cup b) \setminus (a \cap b)\\ &= (b \cup a) \setminus (b \cap a)\\ &= b + a \end{align*}

But I can't get associative. That is, $(a + b) + c = a + (b + c)$. Anyone want to aid?

The properties for multiplication aren't too bad either. The only one that is throwingme a curve ball is the left/right distribution. That is,

$a(b + c) = ab + ac$ and $(a + b)c = ac + bc$.

While this questions is asked elsewhere on this site and has answers to most parts in proving that it is a ring, it does not explain or show the associativity portion for addition in detail. That is $(a + b) + c = a + (b + c)$ is left very vague.

  • Just a tip: For these exercizes, I recommand drawing a Venn diagram to get familiar with what the operations are doing. This way you can convince yourself that they are in fact associative and distributive, and I find it easier to write a proof when you see it. – TonioElGringo Jan 29 '18 at 14:29

3 Answers3

5

It's much easier if you compute the truth table for $+$: $$ \begin{array}{cc|c} a & b & a+b \\ \hline T & T & F \\ T & F & T \\ F & T & T \\ F & F & F \end{array} $$ Then the truth table for $(a+b)+c$ is $$ \begin{array}{ccc|c} a & b & c & a+b & (a+b)+c \\ \hline T & T & T & F & T \\ T & T & F & F & F \\ T & F & T & T & F \\ T & F & F & T & T \\ F & T & T & T & F \\ F & T & F & T & T \\ F & F & T & F & T \\ F & F & F & F & F \end{array} $$ You can clearly see that a return of $T$ corresponds to an odd number of $T$’s in the data and $F$ to an even number of $T$. This is independent on the order $a$, $b$ and $c$ are considered in. Hence the truth table for $(b+c)+a$ is the same, which means $$ (a+b)+c=(b+c)+a=a+(b+c) $$ using the obvious commutativity of $+$.

You can do similarly for the distributive property: $$ \begin{array}{ccc|c} a & b & c & a+b & (a+b)c \\ \hline T & T & T & F & F \\ T & T & F & F & F \\ T & F & T & T & T \\ T & F & F & T & F \\ F & T & T & T & T \\ F & T & F & T & F \\ F & F & T & F & F \\ F & F & F & F & F \end{array} $$ and computing the one for $ac+bc$.

A different strategy is to consider indicator functions. The indicator function for $a$ is the map $\chi_a\colon S\to\{0,1\}$ defined by $\chi_a(x)=1$ if $x\in a$, $\chi_a(x)=0$ if $x\notin a$. Two subsets of $S$ are equal if and only if they have the same indicator function.

If we use modulo $2$ arithmetic, the indicator function of $a+b$ is easily seen to be $\chi_{a}+\chi_b$ (pointwise sum). Thus the indicator function for $(a+b)+c$ is $\chi_a+\chi_b+\chi_c$.

For the distributive property, observe that the indicator function of $ab$ is $\chi_a\chi_b$ (pointwise product).

egreg
  • 238,574
  • Great answer! This is just a very minor thing, but you are missing the entry $a = F$, $b = T$, $c = F$ in your last two truth tables, and you have duplicate $a = F$, $b = F$, $c = F$ entries. – bames Jan 29 '18 at 09:25
  • @bames Thanks for spotting the mistake. Now it should be OK. – egreg Jan 29 '18 at 09:46
3

Hint: $a+b=\ldots =a\backslash b\cup b\backslash a$

Second hint: $x\backslash y=x\cap y^c$

Now write out both $(a+b)+c$ and $a+(b+c)$ independently in terms of $\cap$, $\cup$ and compare.

  • I've gotten that far. I guess I just keep getting lost in the long chain of sets intersected/unioned with other sets and compliments of sets etc. – Travis Hayes Jan 29 '18 at 09:14
3

Here is an answer using Damian's hints, if you want to go that route for some reason. We have: \begin{align}a + b &= (a \cup b)\setminus(a\cap b) \\ &= (a\cup b) \cap (a\cap b)^c \\ &= (a\cup b) \cap (a^c \cup b^c) \\ &= (a\cap b^c) \cup (b\cap a^c) \\ &= (a\setminus b) \cup (b\setminus a)\end{align} So, in excruciating detail, we see that: \begin{align} (a+b)+c &= ((a\setminus b) \cup (b\setminus a)) + c \\ &= [((a\setminus b)\cup (b\setminus a))\setminus c] \cup [c \setminus ((a\setminus b)\cup (b\setminus a))] \\ &= [((a\cap b^c)\cup (b\cap a^c))\cap c^c] \cup [c\cap ((a\cap b^c) \cup (b\cap a^c))^c] \\ &= [(a\cap b^c \cap c^c) \cup (b\cap a^c \cap c^c)]\cup [c\cap (a^c \cup b)\cap (b^c \cup a)] \\ &=(a\cap b^c \cap c^c) \cup (b\cap a^c\cap c^c) \cup (c\cap a^c \cap b^c) \cup (c\cap b \cap a) \\ &= (c\cap a^c \cap b^c) \cup (b\cap a^c \cap c^c) \cup (a \cap b^c \cap c^c) \cup (a\cap b \cap c)\\ &= [(c\cap a^c \cap b^c) \cup (b\cap a^c \cap c^c)]\cup [a \cap (c^c \cup b)\cap (b^c \cup c)] \\ &= [((c\cap b^c)\cup (b\cap c^c))\cap a^c] \cup [a\cap ((c^c\cap b)\cup (b^c\cap c))^c] \\ &= [((c\setminus b) \cup (b\setminus c))\setminus a]\cup [a\setminus ((c\setminus b) \cup (b\setminus c))] \\ &= a + ((c\setminus b) \cup (b\setminus c)) \\ &= a + (b + c) \end{align}

For distribution property, we have, in less detail \begin{align} a(b + c) &= a\cap ((b\setminus c) \cup (c\setminus b))\\ &= ((a\cap b)\setminus c) \cup ((a\cap c)\setminus b) \\ &= ((a\cap b)\setminus (a\cap c))\cup ((a\cap c)\setminus (a\cap b)) \\ &= (a\cap b) + (a\cap c) \\ &= ab + ac \end{align} and similarly for the other way around.

bames
  • 2,106
  • 1
  • 8
  • 15
  • While reading through your work, you have in your 5th to 6th line on the right hand side \begin{align} (a + b) + c &= \cdots\ &= \cdots \cup (c \cap a^c \cap b^c) \cup (c \cap b \cap a)\ &= \cdots \cup [a \cap (c^c \cup b) \cap (b^c \cup c) ] \end{align} I'm not sure if this is true. – Travis Hayes Jan 29 '18 at 10:04
  • I rearranged line 5 to obtain line 6. If you expand line 6, you will find that it is equal to line 5. In particular, the rearrangement is from line 5 to $(c\cap a^c \cap b^c) \cup (b\cap a^c \cap c^c) \cup (a\cap b^c \cap c^c) \cup (a\cap b \cap c)$ – bames Jan 29 '18 at 10:12
  • @TravisHayes Since I know it might be hard to see the difference, I switched the first and third terms in line 5 to get the expression in my comment above. From there, I obtained line 6. – bames Jan 29 '18 at 10:18
  • @TravisHayes I have to leave my computer now, but I added the rearrangement of line 5 to my answer to make things clear. I hope it helps, and if you have more questions, feel free to ask! – bames Jan 29 '18 at 12:07