




























































































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!





























































































Florida State University
Tallahassee, Florida 32306-
Copyright ©c2004 Florida State University
Written by Dr. John Bryant and Dr. Penelope Kirby All rights reserved. No part of this publication may be reproduced, stored in a retrieval system, or transmitted in any form or by any means without permission from the authors or a license from Florida State University.
Sets can be written in a variety of ways. One can, of course, simply list the elements if there are only a few. Another way is to use set builder notation, which specifies the sets using a predicate to indicate the attributes of the elements of the set. For example, the set of even integers is
{x|x = 2n, n ∈ Z}
or
{... , − 2 , 0 , 2 , 4 , 6 ,... }.
The first set could be read as “the set of all x’s such that x is twice an integer.” The symbol | stands for “such that.” A colon is often used for “such that” as well, so the set of even integers could also be written
{x : x = 2n, n ∈ Z}.
1.3. Common Universal Sets. The following notation will be used throughout these notes.
Discussion
The real numbers, natural numbers, rational numbers, and integers have special notation which is understood to stand for these sets of numbers. Corresponding bold face letters are also a common notation for these sets of numbers. Some authors do not include 0 in the set of natural numbers. We will include zero.
Exercise 1.3.1. Which of the following sets are equal to the set of all integers that are multiples of 5. There may be more than one or none.
(1) { 5 n|n ∈ R} (2) { 5 n|n ∈ Z} (3) {n ∈ Z|n = 5k and k ∈ Z} (4) {n ∈ Z|n = 5k and n ∈ Z} (5) {− 5 , 0 , 5 , 10 }
1.4. Complements and Subsets. Definition 1.4.1. The complement of A A = {x ∈ U |x 6 ∈ A}. Definition 1.4.2. A set A is a subset of a set B, denoted
A ⊆ B, if and only if every element of A is also an element of B. Definition 1.4.3. If A ⊆ B but A 6 = B then we say A is a proper subset of B and denote it by A ⊂ B. Definition 1.4.4. The null set, or empty set, denoted ∅, is the set with no members.
Note:
Discussion
Please study the notation for elements, subsets, proper subsets, and the empty set. Two other common notations for the complement of a set, A, is Ac^ and A′. Notice that we make a notational distinction between subsets in general and proper subsets. Not all texts and/or instructors make this distinction, and you should check in other courses whether or not the notation ⊂ really does mean proper as it does here.
1.5. Element v.s. Subsets. Sets can be subsets and elements of other sets. Example 1.5.1. Let A = {∅, {∅}}. Then A has two elements ∅ and {∅}
and the four subsets ∅, {∅}, {{∅}}, {∅, {∅}}. Example 1.5.2. Pay close attention to whether the symbols means “element” or “subset” in this example
If S = { 2 , 3 , { 2 }, { 4 }}, then
Definition 1.7.2. The intersection of sets A and B, denoted by A ∩ B (read “A intersection B”), is the set consisting of all elements that belong both A and B. In symbols A ∩ B = {x|x ∈ A and x ∈ B} Definition 1.7.3. The difference or relative compliment of two sets A and B, denoted by A − B is the set of all elements in A that are not in B. A − B = {x|x ∈ A and x 6 ∈ B}
Discussion
The operations of union and intersection are the basic operations used to combine two sets to form a third. Notice that we always have A ⊆ A ∪ B and A ∩ B ⊆ A for arbitrary sets A and B.
1.8. Example 1.8.1. Example 1.8.1. Suppose A = { 1 , 3 , 5 , 7 , 9 , 11 }, B = { 3 , 4 , 5 , 6 , 7 } and C = { 2 , 4 , 6 , 8 , 10 }. Then
(a) A ∪ B = { 1 , 3 , 4 , 5 , 6 , 7 , 9 , 11 } (b) A ∩ B = { 3 , 5 , 7 } (c) A ∪ C = { 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 9 , 10 , 11 } (d) A ∩ C = ∅ (e) A − B = { 1 , 9 , 11 } Exercise 1.8.1. Let A = { 1 , 2 , { 1 }, { 1 , 2 }} and B = { 1 , { 2 }}. True or false:
(a) 2 ∈ A ∩ B (b) 2 ∈ A ∪ B (c) 2 ∈ A − B (d) { 2 } ∈ A ∩ B (e) { 2 } ∈ A ∪ B (f ) { 2 } ∈ A − B
1.9. Product. Definition 1.9.1. The (Cartesian) Product of two sets, A and B, is denoted A × B and is defined by A × B = {(a, b)|a ∈ A and b ∈ B}
Discussion
A cartesian product you have used in previous classes is R × R. This is the same as the real plane and is shortened to R^2. Elements of R^2 are the points in the plane.
Notice the notation for and element in R × R is the same as the notation for an open interval of real numbers. In other words, (3, 5) could mean the ordered pair in R × R or it could mean the interval {x ∈ R| 3 < x < 5 }. If the context does not make it clear which (3, 5) stands for you should make it clear.
Example 1.9.1. Let A = {a, b, c, d, e} and let B = { 1 , 2 }. Then
(1) A × B = {(a, 1), (b, 1), (c, 1), (d, 1), (e, 1), (a, 2), (b, 2), (c, 2), (d, 2), (e, 2)}. (2) |A × B| = 10 (3) {a, 2 } 6 ∈ A × B (4) (a, 2) 6 ∈ A ∪ B Exercise 1.9.1. Let A = {a, b, c, d, e} and let B = { 1 , 2 }. Find
(1) B × A. (2) |B × A| (3) Is (a, 2) ∈ B × A? (4) Is (2, a) ∈ B × A? (5) Is 2 a ∈ B × A?
2.2. Terminology Related to Functions. Let A and B be sets and suppose f : A → B.
Discussion
Some of the fine points to remember:
2.3. Example 2.3.1.
Example 2.3.1. Let A = {a, b, c, d} and B = {x, y, z}. The function f is defined by the relation pictured below:
a
< << << << << << <<
<<< << x
b //y
c //z
d
q^ q^88 qqq qqq qqq qq
Discussion
This example helps illustrate some of the differences between the codomain and the range. f (A) = {y, z} is the range, while the codomain is all of B = {x, y, z}.
Notice also that the image of a single element is a single element, but the preimage of a single element may be more than one element. Here is another example.
Example 2.3.2. Let f : N → R be defined by f (n) =
n.
(1) the range of f. (2) the image of Z, the set of integers. (3) f −^1 (π). (4) f −^1 (−1). (5) f −^1 (Q), where Q is the set of rational numbers.
2.4. Floor and Ceiling Functions. Definitions 2.4.1. Floor and ceiling functions:
2.5. Characteristic Function.
Definition: Let U be a universal set and A ⊆ U. The Characteristic Func- tion of A is defined by
χA(s) =
1 if s ∈ A 0 if s 6 ∈ A
Discussion
The Characteristic function is another function that may be new to you.
Example 2.5.1. Consider the set of integers as a subset of the real numbers. Then χZ(y)
will be 1 when y is an integer and will be zero otherwise.
Exercise 2.5.1. Graph the function χZ
given in the previous example in the plane.
Exercise 2.5.2. Find
(1) χZ(0) (2) χ− Z 1 (0) (3) χZ([3, 5]) (4) χ− Z 1 ([3, 5]) Exercise 2.5.3. Let E = { 4 n|n ∈ N} and consider the characteristic function χE : Z → Z. What is the...
(1) domain (2) codomain (3) range (4) χE ({ 2 n|n ∈ N}) (5) χ− E 1 ({ 2 n|n ∈ N})
1.1. Propositions. Definition 1.1.1. A proposition is a declarative sentence that is either
true (denoted either T or 1) or
false (denoted either F or 0).
Notation: Variables are used to represent propositions. The most common variables used are p, q, and r.
Discussion
Logic has been studied since the classical Greek period ( 600-300BC). The Greeks, most notably Thales, were the first to formally analyze the reasoning process. Aristo- tle (384-322BC), the “father of logic”, and many other Greeks searched for universal truths that were irrefutable. A second great period for logic came with the use of sym- bols to simplify complicated logical arguments. Gottfried Leibniz (1646-1716) began this work at age 14, but failed to provide a workable foundation for symbolic logic. George Boole (1815-1864) is considered the “father of symbolic logic”. He developed logic as an abstract mathematical system consisting of defined terms (propositions), operations (conjunction, disjunction, and negation), and rules for using the opera- tions. It is this system that we will study in the first section.
Boole’s basic idea was that if simple propositions could be represented by pre- cise symbols, the relation between the propositions could be read as precisely as an algebraic equation. Boole developed an “algebra of logic” in which certain types of reasoning were reduced to manipulations of symbols.
1.2. Examples. Example 1.2.1. “Drilling for oil caused dinosaurs to become extinct.” is a propo- sition.
20