« previous | Monday, September 19, 2011 | next »
Sets
An unordered collection of objects called elements or members.
A set is said to contain its members.
Defining Sets
- List (Roster)


- Rule (Set builder)

- Real intervals
![{\displaystyle (2,5]=\{x\in \mathbb {R} |2<x\leq 5\}}](https://wikimedia.org/api/rest_v1/media/math/render/svg/9dde0794d279afaf9c70700ccfef89935a421433)
Common Sets
- natural numbers:

- integers:
- positive integers:

- multiples:

- rational numbers:

- complex numbers:

- null set:

- universe:

Set Comparison
Equality
Two sets are equal if and only if every element in
is an element in
and every element in
is an element in
.
Subsets
Set
is a subset of
, denoted by
, if and only if every element in
is an element in
.
"Element Chasing" Proof. To prove
, let
be an arbitrary element of
. Then argue to show that
is an element of
.
The empty set is a subset of every set, every set is a subset of itself, and every set is a subset of the universe.
Proper Subset
Set
is a proper subset of
if and only if
and
. Written
Venn diagrams
Graphical version/representation of truth table/membership table for Propoitional logic
Cardinality
denoted by
and represents the number of elements in
Cartesian Product
is the set of all possible ordered pairs between
and
:
Relationships to Propositional Logic
Connectives
and (∧) |
intersection (∩)
|
or (∨) |
union (∪)
|
not (¬) |
complement (A)
|
conditional (→) |
subset (⊆)
|
biconditional (↔) |
equality (=)
|
Laws
Law |
Logical |
Sets
|
distribution |
 |
|
deMorgan's |
 |
|
To prove these laws, show that the left side is a subset of the right side and vice versa.
Example Proof of deMorgan's Law
Proposition:
Proof (direct). To prove the above, we need to prove the following:


Proof of (1). Let
be an arbitrary element.
(definition of complement)
(definiton of negation)
(definition of union)
(deMorgan's law)
(notation)
(definition of complement)
(definition of intersection)
Proving part (1).
Proof of (2). reverse the proof of part (1).
Q.E.D.
Note: Be careful! Not all proofs are reversible