SUNY Geneseo Department of Mathematics

Set Operations

Friday, April 2

Math 239 03
Spring 2021
Prof. Doug Baldwin

Return to Course Outline

Previous Lecture

Anything You Want to Talk About?

(No.)

Misc

Problem set 8 (a review of induction and proof by contradiction) technically doesn’t start until Monday, but if anyone wants an early look at it, it’s available through Canvas.

Set Operations

Based on section 5.1 of the textbook and this discussion of set operations.

Examples

Any questions about the examples in the discussion? No.

Give some real-world examples of sets (not from the discussion)

How about sets of people in a grocery store, for instance the people who carry purchases in a cart, the people who carry them in a basket, and the people who just carry them in their hands?

Shoppers, some with carts, some with baskets, some with neither

Then we can describe the sets as

This example is particularly good for talking about universal sets and complements.

A universal set is a “universe” of relevant possible set members. In this case the natural universal set is the set of all shoppers in the store, i.e., { A, B, C, D, E, F, G, H, I, J }

The complement of a set, written as the set’s name with a superscript “C,” is everything not in that set, but in the universal set. For instance, in our example NoneC = { A, B, C, D, E, F, G, H }.

This example isn’t as interesting for illustrating intersections, unions, or differences though.

To get some more varied examples of intersections and differences we divided the hypothetical shoppers up into 2 different sets, namely the set of shoppers who have 2 or more purchases (marked “>” below), and the set who have fewer (marked “<”):

Shoppers, some with carts, some with baskets, some neither, and some with many items, some with few

So the sets of shoppers who have many items and few items are

And now we can talk about, for example,

Power Set and Cardinality

The power set of S is the set of all subsets of S.

Power set is often written as a script “P” used as a function, for example

Power set of set 'None' has 4 elements

Notice that this power set has “cardinality” (i.e., size) 4, which is somewhat bigger than the cardinality of set None.

How do cardinalities of some other power sets grow? For example

Power sets of a 4-element set and a 3-element set

After working out the power set of Carts, where the power set had cardinality 16 and Carts has cardinality 4, we conjectured that maybe the power set of a set S has cardinality |S|2 (“|S|” being a notation for the cardinality of a set).

But then we looked at a set of size 3, whose power set should have 9 elements according to that rule, but in fact only has 8.

Using 2|S|as the formula for the cardinality of a power set would fit all three of these examples. Can we prove that this formula is in fact correct? Someone suggested that induction might be a promising way to do it, but the actual proof will be our next topic of discussion….

Next

The cardinality of the power set of set S in terms of the size of S

No new reading, but you can use this discussion of the proof to start thinking about it.

Next Lecture