SUNY Geneseo Department of Mathematics

Set Algebra

Friday, April 9

Math 239 03
Spring 2021
Prof. Doug Baldwin

Return to Course Outline

Previous Lecture

Anything You Want to Talk About?

(No.)

Set Algebra

Based on section 5.3 in the textbook and the set algebra discussion.

Some Distributive Rules

(From the discussion.) Does set difference distribute over intersection and union from the right, i.e., is it or is it not true that

Some thoughts on how to think about a question like this one:

Overlapping sets A, B, C with region in A and B but not C doubly shaded

Ultimately though, you need an actual rigorous proof to show that a suspicion is correct. We wrote one for subtraction distributing from the right over intersection as a formal proof in LaTeX. We chose to use set algebra as the main way of reasoning, although element chasing such as we did on Wednesday would also work. The source file and PDF output are available from Canvas (in the same files as the element-chasing proof from Wednesday, to make comparisons between the two styles easier).

Some key things I pointed out in the proof include…

I also introduced LaTeX’s \mathrm command, which lets you write non-italic text (in this case, the superscript “C” that denotes set complement) while in math mode.

We also outlined the proof about union, namely that (A ∪ B) - C = (A - C) ∪ (B - C). This proof is also mainly a series of equalities:

(A ∪ B) - C

= (A ∪ B) ∩ CC 

= (A ∩ CC) ∪ (B ∩ CC)

= (A - C) ∪ (B - C)

“Exclusive Or”

Prove that A ∪ B - A ∩ B = (A-B) ∪ (B-A)

We thought a little bit about this, and decided that rewriting the difference on the lefthand side as an intersection would be a good start. Here’s how the proof could proceed from there:

A ∪ B - A ∩ B

= (A ∪ B) ∩ (A ∩ B)C

= (A ∪ B) ∩ (AC ∪ BC) (by DeMorgan’s law)

= (A ∩ (AC ∪ BC)) ∪ (B ∩ (AC ∪ BC)) (distributive property)

= (A ∩ AC) ∪ (A ∩ BC) ∪ (B ∩ AC) ∪ (B ∩ BC) (distributive property again)

= ∅ ∪ (A ∩ BC) ∪ (B ∩ AC) ∪ ∅ (the intersection of a set with its complement is empty)

= (A ∩ BC) ∪ (B ∩ AC)

= (A - B)  ∪ (B - A)

Problem Set

Problem set 9 is ready if you want to see it early (it “officially” starts Monday).

Next

Another, probably less familiar, set operation: Cartesian product.

Please read section 5.4 of the textbook.

Please also contribute to this Cartesian product discussion.

Next Lecture