Following the discussion in the Introduction, I will assume that I intuitively know what a set is, and that I can reasonably talk about the relation in the language of sets. I write if the set is element of , or in other words if belongs to .

Basic properties of sets

I denote by the set with no elements. That is, the set satisfying that (recall that represents “for all”)

Definition.

Given two sets and , I say is a subset of , or is contained in , in symbols,

if for all , implies . I say the sets and are equal, in symbols,

if they are subsets of each other. That is, and .

Remark.

The sets and are equal if and only if for all ,

This is a great moment to develop some skills that will serve you in learning math in general. Whenever encountering a definition for the first time, always do the following exercise:

Exercise scheme.

  1. What is the negation of the definition? In this case, what does it mean for to not be a subset of ? I use the symbol .
  2. What are examples and non-examples of the situation? In this case, can you list out all subsets of the set ?
  3. Write down a proof of a set being a subset of another set. Write down a proof of a set not being subset of a given set. What techniques did you use to prove these different statements?

Proposition.

For any sets and ,

  1. (Reflexivity);
  2. (Minimum element / Vacuous truth);
  3. if and , then (Transitivity); and
  4. if and , then (Anti-symmetry).

Exercise.

Prove the above properties from the definition.

Basic operations on sets

Below, family is just another word for set, to avoid saying “set of sets.”

Definition.

The powerset of a set , denoted by , is the family of all subsets of .

Examples.

  1. .
  2. .

Powerset|300

In this course, I do not formally define the ordered pair , but all you need to know about it is that if and only if and . So, for instance, even though .

Definition.

Let and be sets. I define the following operations.

  1. The union . ( represents “or”)
  2. The intersection . ( represents “and”)
  3. The Cartesian product .
  4. The difference .

intersection of two sets|300

Exercise.

Show that for any , and ,

Exercise.

Show that the following statements are equivalent for any sets and .

Finite sets (informal discussion)

This definition is informal and this concept will be formalized in a later chapter, but it is good enough to give examples and exercises now.

Definition.

A set is finite if there exist such that .

A set is infinite if it is not finite.

Proposition.

  1. Subsets of finite sets are finite.
  2. The union of two finite sets is finite.