Properties of Integers and Basic Counting
Properties of Integers and Basic Counting
1.1
We have already seen examples of sets, such as N, Z, Q, R and C at the beginning of this chapter.
For example, one can also look at the following sets.
Example 1.1.1.
1. Let A be a set. If B is a
set such that each element of B is also an element of the set A, then B is said to be a
subset of the set A, denoted B A.
2. Two sets A and B are said to be equal if A B and B A, denoted A = B.
3. Let A be a subset of a set . Then the complement of A in , denoted A , is a set that
contains every element of that is not an element of A. Specifically, A = {x : x 6 A}.
4. Let A and B be two subsets of a set . Then their
(a) union, denoted A B, is the set that exactly contains all the elements of A and all
the elements of B. To be more precise, A B = {x : x A or x B}.
(b) intersection, denoted A B, is the set that exactly contains those elements of A that
are also elements of B. To be more precise, A B = {x : x A and x B}.
Example 1.1.3.
4. As mentioned earlier, all examples that appear in Example 1.1.1 are subsets of one or more
sets from N, Z, Q, R and C.
5. Let A be the set of odd integers and B be the set of even integers. Then A B = and
6. Let A = {{b, c}, {{b}, {c}}} and B = {a, b, c} be subsets of a set . Then A B = and
A B = {a, b, c, {b, c}, {{b}, {c}} }.
Definition 1.1.4 (Cardinality). A set A is said to have finite cardinality, denoted |A|, if the
number of distinct elements in A is finite, else the set A is said to have infinite cardinality.
Example 1.1.5.
2. Fix a positive integer n and consider the set A = {1, 2, . . . , n}. Then |A| = n.
3. Let S = {2x Z : x Z}. Then S is the set of even integers and its cardinality is infinite.
4. Let A = {a1 , a2 , . . . , am } and B = {b1 , b2 , . . . , bn } be two finite subsets of a set , with
|A| = m and B| = n. Also, assume that A B = . Then, by definition it follows that
A B = {a1 , a2 , . . . , am , b1 , b2 , . . . , bn }
and hence |A B| = |A| + |B|.
5. Let A = {a1 , a2 , . . . , am } and B = {b1 , b2 , . . . , bn } be two finite subsets of a set . Then
|A B| = |A| + |B| |A B|. Observe that Example 1.1.5.4 is a particular case of this
result, when A B = .
an element a such that a 6= ai , for any i, 1 i n. Then verify that the set
Definition 1.1.6 (Power Set). Let A be a subset of a set . Then the set that contains all
subsets of A is called the power set of A and is denoted by P(A) or 2A .
Example 1.1.7.