Set: an unordered collection of objects.

is used to indicate that an object belongs to a set.

A is a subset of B, each elements in A is also an element of B

two sets are equal if they contain exactly the same elements.

A convenient way to prove is:

  1. prove that , and
  2. prove that

Set Expressions

The “mathese” of set expression has the following form:

e.g. The set of non-negative numbers

The set consisting of all elements x of the set of real numbers such that x is greater or equal to 0

Sometimes this gets simplified to:

if it is considered clear what kind of values are supposed to take on.

Cardinality

If a set is not infinite denotes the number of elements, or the cardinality of the set.

Cartesian product

is the set of all pairs where and .

e.g.
for and

if and are finite, then:

Tuples in set expressions

The set expression:

denotes the set of all pairs of real numbers in which the second element is the square of the first.

The set expression:

denotes the set of all triples consisting of non-negative numbers.
In the right-part of the expression, the commas have to be interpreted as “and” logical expression, so, a triple, to be included in the sets must satisfy all the listed condition on the right.