Sets
Source: http://www.ucblueash.edu/koehler/comath/26.html
Set Theory
As is always the case for standard notation which is not available on keyboards, we will sometimes denote the empty set by the numeral 0; when confusion might arise, we will use {} instead. The universal set is denoted by the capital letter U.
Two sets are equivalent if they have exactly the same objects in them. For example,
{a, b, c, d} and {c, a, d, b}
are equivalent, while
{a, b, c, d} and {{a, b}, c, d}
Set membership is notated using the symbol ε:
This is read "a is a member of the set {a, b, c}" or "a is an element of the set {a, b, c}".
For example, the set {a, b} is a proper subset of the set {a, b, c}:
An "improper subset" is a subset which can be equal to the original set; it is notated by the symbol
which can be interpreted as "is a proper subset or is equal to".
Note that the empty set is a member of the universal set; it is also a subset of the universal set. In fact, the empty set is a subset of every set.
Set Operations
but we will instead use "+" for the usual reasons. If
A + B = {a, b, c, d}
A & B = {b, c}
The following Venn Diagram illustrates the elementary set operations:
Here,
- A + B is the total of the white areas containing the letters A and B, together with the red, yellow, green and blue areas
- A & B is the red area plus the yellow area
- B + C is the total of the white areas containing the letters B and C, together with the red, yellow, green and blue areas
- B & C is the yellow area plus the green area
- A + C is the total of the white areas containing the letters A and C, together with the red, yellow, green and blue areas
- A & C is the yellow area plus the blue area
- A + B + C is everything except the magenta area
- A & B & C is the yellow area
- A c is the total of the white areas containing the letters B and C, together with the green area and the magenta area
- B c is the total of the white areas containing the letters A and C, together with the blue area and the magenta area
- C c is the total of the white areas containing the letters A and B, together with the red area and the magenta area
- (A + B) c is the total of the white area containing the letter C and the magenta area
- (B + C) c is the total of the white area containing the letter A and the magenta area
- (A + C) c is the total of the white area containing the letter B and the magenta area
- (A + B + C) c is the magenta area
- (A & B) c is everything except the red and yellow areas
- (B & C) c is everything except the yellow and green areas
- (A & C) c is everything except the yellow and blue areas
- (A & B & C) c is everything except the yellow area
- A & B & C c is the red area
- B & C & A c is the green area
- A & C & B c is the blue area
and so on.
Set Theory is a Boolean Algebra
Set theory is isomorphic to Boolean Algebra, as we can see using the follow substitutions:
- set union becomes the Boolean sum
- set intersection becomes the Boolean product
- set complement becomes the Boolean complement
- the universal set becomes the Boolean value 1
- the empty set becomes the Boolean value 0
The following table illustrates all of the Boolean properties and axioms as applied to set theory:
| Set Theory | Boolean Algebra | |
| Identities | A + 0 = A | a + 0 = a |
| A & U = A | a * 1 = a | |
| Boundedness | A + U = U | a + 1 = 1 |
| A & 0 = 0 | a * 0 = 0 | |
| Commutative | A & B = B & A | a * b = b * a |
| A + B = B + A | a + b = b + a | |
| Associative | (A + B) + C = A + (B + C) | (a + b) + c = a + (b + c) |
| (A & B) & C = A & (B & C) | (a * b) * c = a * (b * c) | |
| Distributive | A + (B & C) = (A + B) & (A + C) | a + (b * c) = (a + b) * (a + c) |
| A & (B + C) = (A & B) + (A & C) | a * (b + c) = (a * b) + (a * c) | |
| Complement Laws | A + A c = U | a + a' = 1 |
| A & A c = 0 | a * a' = 0 | |
| Uniqueness of Complement | A + B = U, A & B = 0 -> B = A c | a + x = 1, a * x = 0 -> x = a' |
| Involution | (A c) c = A | (a')' = a |
| 0 c = U | 0' = 1 | |
| U c = 0 | 1' = 0 | |
| Idempotent | A + A = A | a + a = a |
| A & A = A | a * a = a | |
| Absorption | A + (A & B) = A | a + (a * b) = a |
| A & (A + B) = A | a * (a + b) = a | |
| DeMorgan's | (A + B) c = A c & B c | (a + b)' = a' * b' |
| (A & B) c = A c + B c | (a * b)' = a' + b' |
We can represent these using Venn diagrams, as shown by our depiction of the first distributive property:
![]()
A + (B & C) is the sum of the yellow and red areas, while (A + B) & (A + C) is the cyan (light blue) area (cyan is the sum of green and blue in the RGB, or Red-Green-Blue, color model).
and by our depiction of the second DeMorgan's Law:
![]()
(A & B) c is the white area on the left, while A c + B c is everything except the white area on the right.
It is interesting to note that the regions in a Venn diagram correspond to the terms in a Boolean sum of products expression. In the colored graph below, the colored areas have the following Boolean equivalences:
The universal set corresponds of course to the sum of all eight terms, which equals 1. The empty set corresponds to Boolean 0, as we mentioned above.
Other Set Operations
Another set operation is set difference, denoted as
A = {a, b, c} and B = {b, c, d}
then
A - B = {a}
A x B = {{Tom, Mary}, {Tom, Jill}, {Dick, Mary}, {Dick, Jill}, {Harry, Mary}, {Harry, Jill}}
M film, F film, M jazz, F jazz
For a given female client who is a film lover but who hates jazz, the set difference
M film - M jazz
would provide a list of possible matches, while for a male who likes both, the set union
F film + F jazz
would be possibilities. For the very picky male client who demands both, the set intersection
F film & F jazz
would be more appropriate.
In the next chapter, we will study yet another non-numerical branch of mathematics: Graph Theory.
| Go to: | Title Page | Table of Contents | Index |
©2002, Kenneth R. Koehler. All Rights Reserved. This document may be freely reproduced provided that this copyright notice is included.
- Printer-friendly version
- Login or register to post comments











