



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




Definition 1 (Set). A set is a collection of objects. We usually denote sets by capitol letters from the end of the alphabet: X, Y , Z.
Definition 2 (Element). The objects in a set are called ele- ments. Elements are usually denoted by lower case letters: x, y, z. If x is an element of the set X we denote this by x ∈ X.
There are two ways of showing what elements are in a set.
Bracket notation The first way we will represent the elements in a set is to list the elements in the set between curly braces, {}. Let us have the set consisting of the elements 1,2, and 3. This set is written in bracket notation as: { 1 , 2 , 3 }.
Set builder notation The other way that we represent the el- ements in a set is to use what is known as set builder no- tation. This looks like
{x | P (x)} and is read as { x | P (x) } the set of all x such that x satisfies property P
The property P is a proposition.
Example 1. Suppose E is the set of all positive even integers. Let write this using both bracket and set builder notation. For bracket notation we write
E = { 2 , 4 , 6 , 8 ,... }
and in set builder notation we would write
E = {x | x is an integer ∧ x > 0 ∧ x is divisible by 2 }
If E is the set of all positive even integers, then 2 is an element of E. So we can write 2 ∈ E. Since 3 is odd we have 3 ∈/ E. Now suppose we have the sets A = { 1 , 2 , 3 } and B = { 1 , 2 , 3 , 4 }. We note that every element of A is also an element of B, since 1 ∈ A, 1 ∈ B, 2 ∈ A, 2 ∈ B and 3 ∈ A, 3 ∈ B. We say that A is a subset of B.
Definition 3 (Subset). The set A is a subset of B, A ⊂ B, if for every a ∈ A, then a ∈ B.
So { 1 , 2 , 3 } ⊂ { 1 , 2 , 3 , 4 }, but { 1 , 2 , 3 , 4 } is not a subset of { 1 , 2 , 3 }. There is a special set that contains no elements.
Definition 4 (Empty set). The empty set is the set that has no elements. It is denoted by ∅ or {}
Let A = { 1 , 2 , 3 }. Is ∅ ⊂ A? It turns out that the empty set is a subset of any set. Why? Well in order for A to be subset of B each element of A must also be an element of B. We can restate this as
If x ∈ A, then x ∈ B.
So, if we ask, “Is the empty set a subset of the set X?”, then we must have:
If x ∈ ∅, then x ∈ X
Let us look at the statement x ∈ ∅. Is this true or false? Since the empty set has no elements, the statement that x is an el- ement if ∅ must be false. We recall from the truth table for
Now what if we wanted a set that only contained elements that are in both sets A and B. That is called the intersection.
Definition 6 (Intersection). The intersection of the sets A and B is A ∩ B = {x | x ∈ A ∧ x ∈ B}.
So x is an element of A ∩ B if x is in A and x is in B.
Let us see some examples.
Example 3.
Let us set up some notation for the different sets of numbers that we commonly use.
Name(Symbol) Set Natural numbers(N) { 1 , 2 , 3 ,... } Integers(Z) {... , − 2 , − 1 , 0 , 1 , 2 ,... } Rational numbers(Q) {m n | m, n ∈ Z ∧ n 6 = 0} Irrational numbers(J) {x | x has nonrepeating nonterminating decimal} Real numbers(R) Q ∪ J Since some sets are infinite, let us think about what it means to be infinite. For the moment we will restrict ourselves to the natural numbers, N. The first thing we notice is that there is no largest natural number. Why? Well suppose there is a largest natural number. Lets call it L. But L + 1 is bigger than L. So L cannot have been the biggest natural number. Hence there is no biggest natural number. Now there is a smallest natural number, 1. What about the positive real numbers? Is there a smallest positive real number? Suppose there is a smallest real number. Let us call it a. So we have 0 < a and there does not exist a positive real number b such that 0 < b < a, otherwise b would be the smallest positive real number. Now we recall that given any positive number if we take half of it it becomes smaller. So 0 < a 2 < a. But this contradicts our assumption that a was the smallest positive real number. Therefore there must not be a smallest positive real number. Let us look at another interesting thing that happens with infinity. Suppose we have an urn and an infinite number of balls numbered 1, 2 , 3 ,.... Let us also suppose that we can move as fast as we want to. Now here is the situation. At 11:00 we
(c) { 2 , 4 , 6 , 8 ,... } ⊂ { 1 , 2 , 3 , 4 ,... } (d) { 1 , 2 , 3 } ⊂ { 1 , 2 , 3 , 4 ,... } (e) { 5 , 3 , 7 } ⊂ { 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 9 } (f) { 1 , 2 , 3 } ⊂ { 2 , 3 , 4 ,... } (g) ∅ ⊂ { 1 , 3 , 4 , 7 , 9 } (h) { 1 , 3 , 5 , 7 } ⊂ ∅
(a) { 1 , 3 , 4 } ∪ { 1 , 2 , 3 } (b) { 1 , 4 , 6 , 9 } ∪ { 2 , 3 , 5 , 9 } (c) { 2 , 7 , 4 , 9 , 11 } ∪ { 1 , 9 , 4 , 12 } (d) { 1 , 2 , 3 , 4 , 5 } ∩ { 3 , 4 , 5 , 6 , 7 } (e) { 1 , 2 , 3 , 4 } ∩ { 2 , 4 , 6 , 8 , 10 } (f) { 2 , 3 , 5 , 7 , 11 , 13 , 17 , 19 ,... } ∩ { 2 , 4 , 6 , 8 ,... } Note: The first set is the set of prime numbers. (g) { 2 , 4 , 6 , 8 ,... } ∩ { 1 , 2 , 3 , 4 ,... } (h) { 2 , 4 , 6 , 8 ,... } ∪ ∅ (i) { 1 , 2 , 3 , 4 ,... } ∩ ∅