0% found this document useful (0 votes)
10 views10 pages

Lecture1and2 Ver2

Uploaded by

nomoszeng
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
10 views10 pages

Lecture1and2 Ver2

Uploaded by

nomoszeng
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 10

Math 299 Lectures 1 and 2: Chapter 1.

Sets

Definition:
A set is a well–defined collection of distinct objects called the elements (or
members).

Sets are conventionally denoted with capital letters.

1. We enclose a set with braces (curly brackets) {}.


2. The objects can be anything.
3. Order of elements is irrelevant and no repeated elements are allowed.
4. We can describe a set in two different ways

(a) An extensional definition: simply list elements in curly brackets:


Ex: A={a, MATH, 3}, B={1, 2, 3, 4, · · · }, C = {φ, Ah, {1, 2}}.

(b) An intensional definition: use a rule.


Ex: Let S(x) be a statement.
– C={x | S(x)} asserts that
C is the class all the elements x which satisfy S(x).

– B={x | x is even positive number}.

Examples.
1. Write the following sets by listing its elements.
(1) S1 = {x | |x| < 5 and x is a negative integer}

(2) S2 = {x | x2 = 7}

(Unless otherwise specified, sets are assumed to be a subsets of the real numbers.)

2. Write the following sets using an intensional definition (using a rule).


(1) S3 = {..., −6, −4, −2, 0, 2, 4, 6, ...}

(2) S4 = {1, 8, 27, 64, 125}


We will use the following notational convention:
(a) Lower–case letters a, b, x, . . . will be used only to designate elements.

(b) A capital letter may denote either an element or a set.

1. x ∈ X : x is an element of a set X.

2. x ∈
/ X : x is not an element of a set X.

3. Definition: The set with no element is called the empty set


and we denote it by φ = {}.

4. Definition: A universal set U is the set of all elements in the domain of discourse.
In our previous examples, this is the set of real numbers.

5. Definition: If a set A has a finite number of elements, then A is a finite set. The
number of elements of a set A is called the cardinality of A and we write |A| .

Examples. Find the cardinalities of the following sets.

(a) ∅

(b) {∅}

(c) {{1, 2}, 3, 4}

6. Definition: Let A and B be sets. If every element of A is an element of B, a set A


is a subset of a set B.

This is denoted by A ⊆ B .
This means that, if c ∈ A, then c ∈ B.

7. Definition If A is a subset of B and A is not equal to B we denote this by A ⊂ B.


A is called a proper subset of B.
8. Definition: We define A = B to mean that every element of A is an element of B
and vice versa.
That is, if x ∈ A implies x ∈ B and x ∈ B implies x ∈ A, then A is equal to B.

9. Definition: The set consisting of all subsets of a given set A is called the power set
of A and is denoted by P(A).

Examples

A. Given the set S = {{1, 2}, 3, 4}.

(a) List the elements of S.

(b) Which of the following are true statements?


(i) 2 ∈ S

(ii) {1, 2} ∈ S

(iii) {1, 2} ⊆ S

(iv) {3, 4} ⊆ S

B. Find the corresponding powersets of the set M = {0, 1} and of the set K = {a, b, c}.

C. What is the cardinality of P(M )? What is |P(K)|?

D. Can you make a conjecture about how A and |P(A)| are related if A is a finite set?
1. Theorem: For any set A,

I. φ ⊆ A.
II. A ⊆ U.

2. Theorem: For any sets A, B and C, if A ⊆ B and B ⊆ C, then A ⊆ C.


Some interesting sets of numbers
• Natural numbers: denoted by N.

N = {0, 1, 2, 3, 4, · · · }

Note: To remember that 0 ∈ N, think of the letter ‘N’ as an abbreviation for the word
‘nonnegative’. Not all authors follow this convention.

• Integers: denoted by Z.

Z = {· · · , −3, −2, −1, 0, 1, 2, · · · }

Note: The letter ‘Z’ comes from the German word ‘zahlen’ which means ‘to count’.

• Rational numbers: denoted by Q.


p
Q = {x | x can be written in the form where p, q ∈ Z and q 6= 0.}
q

Note: A rational number x can be expressed in more than one way as a fraction p/q
of two integers. For example, if x = 1, then x can be written as 1/1 or as 2/2.

• Real numbers: denoted by R.


It is tricky to give a correct definition since we have assumed R to be our universal
set in the above discussion. Here is a description worth thinking about: the real
numbers consists of values corresponding to points on a continuous line which extends
infinitely in both directions. A point (the origin) is chosen on the line and the line is
given a sense of ‘to the right of the origin’ and ‘to the left of the origin’. The value 0
corresponds to the origin. The positive real numbers correspond to points to the right
of the origin. One point to the right of the origin is selected to represent 1. From
this it is clear which points correspond to the integers. Which points correspond to
the rational numbers? Does every point correspond to a rational number? These last
two questions are meant to be pondered rather than answered immediately. You may
revisit this foundational question again in a course on mathematical analysis. We will
revisit the second question later in this course.

• Complex numbers: denoted by C.

C = {x | x can be written in the form a + bi, where a, b ∈ R and i2 = −1.}

Note: Two complex numbers, a + bi and c + d i, represent the same element if an only
if a = c and b = d. Complex numbers of the form a + 0i are denoted by the single
value a, and a is viewed as a real number contained in the set of complex numbers.
Complex numbers of the form 0 + bi are denoted by bi; such complex numbers are said
to be purely imaginary.

Remark: N ⊂ Z ⊂ Q ⊂ R ⊂ C.
Operations on sets:
All logical relations between a finite collection of sets can be represented graphically
by means of a Venn diagram . A set is represented by a simple (closed) plane area.

• The union of A and B is the set of all the elements which are in either A or B or in
both. It is denoted by A ∪ B and in symbols,
A ∪ B = {x | x ∈ A or x ∈ B}.

• The intersection of A and B is the set of all elements which are in A and B. It is
denoted by A ∩ B and in symbols,
A ∩ B = {x | x ∈ A and x ∈ B}.

• Definition: The difference of A and B is the set of elements that are in A but not
in B. We denote this by A − B (or A \ B) .
A − B = {x | x ∈ A and x ∈
/ B}.

• Definition: The complement of a set A is the set of all the elements which do not
0
belong to A. It is denoted by A (or A or Ac ) and in symbols,

A = {x | x ∈
/ A}.
or equivalently
A = U − A = {x | x ∈ U and x ∈
/ A}.

Remark: A − B = A ∩ B. Why?
Example. A group incoming first–year students at Michigan State University were sur-
veyed in order to determine the factors that influenced their decision to choose to attend
Michigan State University. The survey revealed the following information.

• 55 said ”great football team”.

• 51 said ”very good academic reputation”.

• 61 said ”I was offered financial assistance”.

• 9 said ”great football team” but didn’t say ”very good academic reputation” and
didn’t say ”I was offered financial assistance”.

• 26 said ”I was offered financial assistance” and ”great football team” and ”very good
academic reputation”.

• 31 said ”very good academic reputation” and ”great football team”.

• 8 said only ”very good academic reputation”.

• 4 said none of the above reasons.

(1) How many said ”I was offered financial assistance” and ”very good academic reputa-
tion”?

(2) How many said ”great football team” or ”I was offered financial assistance”?

(3) How many said ”great football team” but not ”very good academic reputation”?

(4) How many were surveyed?


Indexed Collections of Sets
n
[
1. Definition: The union of n ≥ 2 sets A1 , A2 , · · · , An is denoted by Ai and is
i=1
defined as
n
[
Ai = {x : x ∈ Ai for some i, 1 ≤ i ≤ n}.
i=1

n
[
? What does “a ∈ Ai ” mean?
i=1

n
\
2. Definition: The intersection of n ≥ 2 sets A1 , A2 , · · · , An is denoted by Ai and
i=1
is defined as
n
\
Ai = {x : x ∈ Ai for every i, 1 ≤ i ≤ n}.
i=1
Tn
? What does “a ∈ i=1 Ai ” mean?

3. Consider the sets A1 , A10 , A11 , A12 , A31 , A42 , · · · .

How can we write the union or intersection of a collection of those sets without listing
every set?

A. Let us call a nonempty set I an index set.


B. Suppose that there is a set Sα where α ∈ I.
C. {Sα }α∈I is the collection of all sets Sα , where α ∈ I, and it is called an indexed
collection of sets.
Example : I = {n ∈ N | n = 2m + 1 for some m ∈ N} and Sr = {r, r + 1, r + 2}.
Determine
[ \ [10
Si , Sx , Sj .
i∈I x∈I j∈I

Partitions of Sets

1. If the intersection of two sets is the empty set, then the two sets are disjoint.

2. Let S be a collection of subsets of a set A.


If every two distinct sets in S are disjoint, then the collection S of subsets of a set A
is called pairwise disjoint.

3. Let A be a nonempty set. A partition of a set A is defined as a collection S of


subsets of A satisfying the three properties

(1) X is not an empty set for every set X∈S.


(2) For every two sets X, Y ∈ S, either X = Y or X ∩ Y = {}. In other words, S is
a collection of pairwise disjoint subsets of A.
[
(3) X=A
X∈S

Cartesian Products of Sets

• The order in which the elements of a set A are listed doesn’t matter.

• This is not the case for an ordered pair: (1, 2) 6= (2, 1). Note that we use parentheses,
not braces, for an ordered pair.

• What does “(a, b) = (c, d)” mean?


• How about “(x1 , x2 , ..., xn ) = (y1 , y2 , ..., yn )”? (These are ordered n-tuples).

Definition: Let X and Y be two sets. The Cartesian product of X and Y is the set of
all possible ordered pairs (x, y) where x belongs to a set X and y belongs to a set Y . We
denote it by X × Y .

X × Y = {(x, y) | x ∈ X and y ∈ Y }.

a. Note that X × Y is not a subset of either X or Y . Why?

b. In general, X × Y is not equal to Y × X. Why?

c. What is the cardinality of X × Y ?

Theorem. |X × Y | = |X| · |Y |.

You might also like