Docsity

Set Theory: Understanding Sets, Their Elements, and Operations, Study notes of Mathematics

Partial preview of the text

Download Set Theory: Understanding Sets, Their Elements, and Operations and more Study notes Mathematics in PDF only on Docsity!

Set Theory

The Use of Sets

Sets are the most simple, yet non-trivialstructures in mathematics. Many othermathematical objects and properties can bedefined by them. Initially, they were used to investigate thefoundations of mathematics, especially thenotion of infinity. For us, sets are useful to understand theprinciples of counting and probability theory.

Sets and Their Elements^ A^ set

A is a collection of

elements

.

If x is an element of A, we write x

∈A; if not: x

∉A.

We say: “x is a

member

of A” or “x is in A”.

We use lowercase letters for elements and

capitals for sets. Notation: use^ set braces

“{“,”}” around the elements. Example: 2

∈^ A = {0,1,2,3,4} and 6

∉^ A = {0,1,2,3,4}

Or A = {x | x is an integer between 0 and 4}.

Defining Sets A set is well-defined

if we can tell if any element belongs tothe set or isn’t an element of the set.

This can be done by:

1.^ Listing ALL elements of the within the braces. 2.^ Listing enough elements to show the pattern then anellipsis. 3.^ Use set builder notation to define “rules” fordetermining membership in the set.

Set-Builder Notation

Some Symbols Used With Set

Builder Notation The^

for this is called "

".

standard form of notationFor instance,

set builder notation {^ is an odd positive integer}

{1, 3, 5, 7, represents the set

9,^

}

{^ is

…

x x x x an odd positive integer}the set consisting of all^ such that

is read as^ is an "^

".

The vertical bar, "

", stands for "such

odd positive inthat" teger x^ x Other "short-hand" notation used in working with setsfor eve "^ " stands for "

"^

" " stan ry^

thereds f exisor " ts"

∀^

∃

"^ " stands for "

"^

"^ " stands for "

"

"^ " stands

union^

intersection

is a subsetfor " "of ∪^ ⊆

∩

is a (proper) subset of

is a not a (proper)

"^ " stands for "

"

"^ " stands for "

"^ "^ " stands for the "

"

"^ " s

subset of^

empt

tands for

y set

is an e em"^ l

⊂

⊄^

∅

∈^

"^

"^ " stands for "

"

" " stands for "

ent of^ "

is not an e "^ " stands

lement of

cartesian cross product

is equalfor "^ "to ∉

×^

=

Proper Subsets

If A⊆B and B contains an element that is not in A,^ then we say “A is a

proper subset

of B”: A

⊂B or

B⊃A. Formally: A

⊆B means

∀x [x∈A

→^ x∈B].

For all sets: A

⊆A.

Equal Sets

The sets A and B are

equal^

(A=B) if and

only if each element of A is an element of B and vice versa. Formally: A=B means

∀x [x∈

A^ ↔^ x∈

B].

How to Think of Sets The elements of a set do not have an ordering, hence {a,b,c} = {b,c,a} The elements of a set do not have multitudes, hence {a,a,a} = {a,a} = {a} All that matters is: “Is x an element of A or not?” The size of A is thus the number of

different^

elements

x∈ U^

x∈A?

Yes, x∈A No, x∉A

Proofs and Sets

Sets are ideal to hone your proving skills. Example: Prove that if A

⊆B and B

⊆C, then A

⊆C.

Proof: By the assumptions^ (and the definition of

⊆) we know that ∀x[x∈A^

→^ x∈B] and

∀x[x∈B

→^ x∈C].

We see that for all x

∈A we have x

∈B hence x∈C. Using syllogism, we have that

∀x[x∈A

→^ x∈C],

which proves that indeed A

⊆C.

Union

The^ union

of two sets A and B, is the set A

∪B

of elements x such that x

∈A or x

∈B.

Notation: A

∪B = { x | x

∈A or x

∈B}

Unions for several sets A

,A^ ,A^ ,…^12 3 }Tjafor Ax|x {A

j j^ Tj

∈ ∈ = ∪∈

Difference

The^ difference

A - B is the set of elements that are in A but not in B.^ A - B = { x | (x∈A and x

∉B)

Equivalently: A - B = { x | x

∈A∪B and x

∉A∩B }.

Complement of a set The complement A’

c^ (or A or^ Ā) of a set A are the elements of

U

that are not elements of A Hence A’= { x | x

∈ U^ and x

∉A }.

Intersection

The^ intersection

of two sets A and B, is the set A

∩B of elements x such that both x

∈A and x

∈B.

Notation: A

∩B = { x | x

∈A and x

∈B}

Intersection for several sets A

,A^ ,A^ ,… 12 3 }Tjall forAx |x{ A^

j j^ Tj

∈ ∈ = ∩∈