Chapter 3 – Set Theory  .

Slides:



Advertisements
Similar presentations
Introduction to Set Theory
Advertisements

Basic Structures: Sets, Functions, Sequences, Sums, and Matrices
Instructor: Hayk Melikya
Basic Structures: Sets, Functions, Sequences, Sums, and Matrices
Week 21 Basic Set Theory A set is a collection of elements. Use capital letters, A, B, C to denotes sets and small letters a 1, a 2, … to denote the elements.
Denoting the beginning
1 Section 1.7 Set Operations. 2 Union The union of 2 sets A and B is the set containing elements found either in A, or in B, or in both The denotation.
Sets Definition of a Set: NAME = {list of elements or description of elements} i.e. B = {1,2,3} or C = {x  Z + | -4 < x < 4} Axiom of Extension: A set.
Discrete Structures Chapter 3 Set Theory Nurul Amelina Nasharuddin Multimedia Department.
Copyright © Zeph Grunschlag, Set Operations Zeph Grunschlag.
Chapter 2 The Basic Concepts of Set Theory
Sets 1.
Sets 1.
1 Chapter 3 Set Theory Yen-Liang Chen Dept of Information Management National Central University.
Chapter 2 Chapter The sample space of an experiment, denoted S , is the set of all possible outcomes of that experiment. An event is any collection.
Set Theory.
Mathematics.
Basic Concepts and Approaches
2.1 – Sets. Examples: Set-Builder Notation Using Set-Builder Notation to Make Domains Explicit Examples.
Week 15 - Wednesday.  What did we talk about last time?  Review first third of course.
MTH 231 Section 2.1 Sets and Operations on Sets. Overview The notion of a set (a collection of objects) is introduced in this chapter as the primary way.
Set, Combinatorics, Probability & Number Theory Mathematical Structures for Computer Science Chapter 3 Copyright © 2006 W.H. Freeman & Co.MSCS Slides Set,
CS 103 Discrete Structures Lecture 10 Basic Structures: Sets (1)
1 Set Theory Chapter 3. 2 Chapter 3 Set Theory 3.1 Sets and Subsets A well-defined collection of objects (the set of outstanding people, outstanding is.
Barnett/Ziegler/Byleen Finite Mathematics 11e1 Chapter 7 Review Important Terms, Symbols, Concepts 7.1. Logic A proposition is a statement (not a question.
Set Theory Dr. Ahmed Elmoasry. Contents Ch I: Experiments, Models, and Probabilities. Ch II: Discrete Random Variables Ch III: Discrete Random Variables.
Discrete Structure Sets. 2 Set Theory Set: Collection of objects (“elements”) a  A “a is an element of A” “a is a member of A” a  A “a is not an element.
CS201: Data Structures and Discrete Mathematics I
CompSci 102 Discrete Math for Computer Science
Thinking Mathematically Chapter 2 Set Theory 2.1 Basic Set Concepts.
Slide Chapter 2 Sets. Slide Set Concepts.
Chapter 2 Section 1 - Slide 1 Copyright © 2009 Pearson Education, Inc. AND.
1 Introduction to Abstract Mathematics Sets Section 2.1 Basic Notions of Sets Section 2.2 Operations with sets Section 2.3 Indexed Sets Instructor: Hayk.
ELEMENTARY SET THEORY.
Discrete Mathematical Structures 4 th Edition Kolman, Busby, Ross © 2000 by Prentice-Hall, Inc. ISBN
Chapter SETS DEFINITION OF SET METHODS FOR SPECIFYING SET SUBSETS VENN DIAGRAM SET IDENTITIES SET OPERATIONS.
Set Theory Chapter 3. Chapter 3 Set Theory 3.1 Sets and Subsets A well-defined collection of objects (the set of outstanding people, outstanding is very.
Probability: Terminology  Sample Space  Set of all possible outcomes of a random experiment.  Random Experiment  Any activity resulting in uncertain.
Chapter 2 With Question/Answer Animations. Section 2.1.
Rosen 1.6, 1.7. Basic Definitions Set - Collection of objects, usually denoted by capital letter Member, element - Object in a set, usually denoted by.
Discrete Mathematics Set.
Probability theory is the branch of mathematics concerned with analysis of random phenomena. (Encyclopedia Britannica) An experiment: is any action, process.
UNIT 3. OUTLINE: Sets and Subsets Set Operations the Laws of Set Theory Counting and Venn Diagrams. A First Word on Probability. The Axioms of Probability.
College Algebra: Section 8.1 Sets and Counting Objectives of this Section Find All the Subsets of a Set Find All the Subsets of a Set Find the Intersection.
1 Section 1.2 Sets A set is a collection of things. If S is a set and x is a member or element of S we write x  S. Othewise we write x  S. The set with.
Module #3 - Sets 3/2/2016(c) , Michael P. Frank 2. Sets and Set Operations.
Set Operations Section 2.2.
Notions & Notations (2) - 1ICOM 4075 (Spring 2010) UPRM Department of Electrical and Computer Engineering University of Puerto Rico at Mayagüez Spring.
Fr: Discrete Mathematics by Washburn, Marlowe, and Ryan.
Chapter 7 Sets and Probability Section 7.1 Sets What is a Set? A set is a well-defined collection of objects in which it is possible to determine whether.
1 Probability- Basic Concepts and Approaches Dr. Jerrell T. Stracener, SAE Fellow Leadership in Engineering EMIS 7370/5370 STAT 5340 : PROBABILITY AND.
Basic Probability. Introduction Our formal study of probability will base on Set theory Axiomatic approach (base for all our further studies of probability)
Thinking Mathematically Venn Diagrams and Set Operations.
Chapter 2 1. Chapter Summary Sets (This Slide) The Language of Sets - Sec 2.1 – Lecture 8 Set Operations and Set Identities - Sec 2.2 – Lecture 9 Functions.
Introduction to Set Theory (§1.6) A set is a new type of structure, representing an unordered collection (group, plurality) of zero or more distinct (different)
Chapter 1: Outcomes, Events, and Sample Spaces men 1.
Discrete Math by R.S. Chang, Dept. CSIE, NDHU1 Set Theory Two's company, three is none. Chapter 3.
Section 6.1 Set and Set Operations. Set: A set is a collection of objects/elements. Ex. A = {w, a, r, d} Sets are often named with capital letters. Order.
Dr. Ameria Eldosoky Discrete mathematics
CHAPTER 3 SETS, BOOLEAN ALGEBRA & LOGIC CIRCUITS
CSNB 143 Discrete Mathematical Structures
Chapter 1 Logic and Proofs Homework 2 Given the statement “A valid password is necessary for you to log on to the campus server.” Express the statement.
Taibah University College of Computer Science & Engineering Course Title: Discrete Mathematics Code: CS 103 Chapter 2 Sets Slides are adopted from “Discrete.
CS100: Discrete structures
Set Operations Section 2.2.
        { } Sets and Venn Diagrams Prime Numbers Even Numbers
Sets A set is simply any collection of objects
2.1 – Symbols and Terminology
Set Theoretic Operations
Two's company, three is none.
Presentation transcript:

Chapter 3 – Set Theory  

3.1 Sets and Subsets A set is a well-defined collection of objects. These objects are called elements and are said to be members of the set. For a set A, we write x  A if x is an element of A; y  A indicated that y is not a member of A. A set can be designated by listing its elements within set braces, e.g., A = {1, 2, 3, 4, 5}. Another standard notation for this set provides us with A = {x | x is an integer and 1  x  5}. Here the vertical line | within the set braces is read “such that”. The symbols {x |…} are read “the set of all x such …”. The properties following | help us determine the elements of the set that is being described.

Example 3.1: page 128.

Example 3.2: page 128.

Example 3.2 page 128 From the above example, A and B are examples of finite sets, where C is an infinite set. For any finite set A, |A| denotes the number of elements in A and is referred to as the cardinality, or size, of A, e.g., |A| = 9, |B| = 4.

Definition 3.1: If C, D are sets from a universe U, we say that C is a subset of D and write C  D, or D  C, if every element of C is an element of D. If, in addition, D contains an element that is not in C, then C is called a proper subset of D, and this is denoted by C  D or D  C. Note: 1) For all sets C, D from a universe U, if C  D, then x [x  C  x  D], and if x [x  C  x  D], then C  D. That is, C  D  x [x  C  x  D]. 2) For all subsets C, D of U, C  D  C  D. 3) When C, D are finite, CD  |C||D|, and CD  |C|<|D|.

Example 3.3: page 129.

Example 3.4: page 129.

Definition 3.2: For a given universe U, the sets C and D (taken from U) are said to be equal, and we write C = D, when C  D and D  C. Note: Some notions from logic: page 130 (line 4 from top).

Example page 130.

Example 3.5

Theorem 3.1: Let A, B, C  U, a) If AB and BC, then AC. b) If AB and BC, then AC. c) If AB and BC, then AC. d) If AB and BC, then AC.

Proof of Theorem 3.1

Example 3.6: page 131.

Definition 3.3: The null set, or empty set, is the (unique) set containing no elements. It is denoted by  or { }. (Note that ||=0 but {0}. Also, {} because {} is a set with one element, namely, the null set.)

Theorem 3.2: For any universe U, let AU. Then A, and if A, then A.

Example 3.7: page 132.

Definition 3.4: If A is a set from universe U, the power set of A, denoted (A), is the collection (or set) of all subsets of A.

Example 3.8: page 132.

Lemma: For any finite set A with |A| = n  0, we find that A was 2n subsets and that |(A)| = 2n. For any 0  k  n, there are subsets of size k. Counting the subsets of A according to the number, k, of elements in a subset, we have the combinatorial identity , for n  0.

Example 3.9: page 133.

Example 3.10

Example 3.11: page 135. (Note: )

Example 3.13: page 136. (Pascal’s triangle)

3.2 Set Operations and the Laws of Set Theory

Definition 3.5: For A, B  U we define the followings: A  B (the union of A and B) = {x | x  A  x  B }. A  B (the intersection of A and B) = {x | x  A  x  B }. A  B (the symmetric difference of A and B) = {x | (xA  xB)  xAB} = {x | xAB  xAB}. Note: If A, B  U, then A  B, A  B, A  B  U. Consequently, , , and  are closed binary operations on (A), and we may also say that (A) is closed under these (binary) operations.

Example 3.14: page 140.

Definition 3.6: Let S, T  U. The sets S and T are called disjoint, or mutually disjoint, when S  T = .

Theorem 3.3: If S, T  U, then S and T are disjoint if and only if S  T = S  T. proof) proof by contradiction.

Definition 3.7: For a set A  U, the complement of A denote U – A, or , is given by {x | xU  xA}.

Example 3.15: page 141.

Definition 3.8: A, B  U, the (relative) complement of A in B, denoted B – A, is given by {x | xB  xA}.

Example 3.16: page 141.

Theorem 3.4: For any universe U and any sets A, B  U, the following statements are equivalent: a) A  B b) A  B = B c) A  B = A d) B’  A’

The Laws of Set Theory: page 142~143.

Definition 3.9: Let s be a (general) statement dealing with the equality of two set expressions. Each such expression may involve one or more occurrences of sets (such as A, , B, , etc.), one or more occurrences of  and U, and only the set operation symbols  and . The dual of s, denoted sd, is obtained from s by replacing (1) each occurrence of  and U (in s) by U and , respectively; and (2) each occurrence of  and  (in s) by  and , respectively.

Theorem 3.5: The Principle of Duality. Let s denote a theorem dealing with the equality of two set expressions (involving only the set operations  and  as described in Definition 3.9). Then sd, the dual of s, is also a theorem.

Venn diagram Venn diagram is constructed as follows: U is depicted as the interior of a rectangle, while subsets of U are represented by the interiors of circles and other closed curves. (See Fig 3.5 and 3.6, page 145.)

Membership table: We observe that for sets A, B  U, an element xU satisfies exactly one of the following four situations: a) xA, xB b) xA, xB c) xA, xB d) xA, xB. When x is an element of a given set, we write a 1 in the column representing that set in the membership table; when x is not in the set, we enter a 0. See Table 3.2 and 3.3, page 147.

(1) A Venn diagram is simply a graphical representation of a membership table. (2) The use of Venn diagrams and/or membership tables may be appealing, especially to the reader who presently does not appreciate writing proofs.

Example 3.18: page 148.

Example 3.19: page 148.

Example 3.20

Example 3.21

Example 3.22

3.3 Counting and Venn Diagrams

Fig 3.8 (page 152) demonstrates and , so by the rule of sum, |A| + || = |U| or || = |U| - |A|. If the sets A, B have empty intersection, Fig 3.9 shows |A  B| = |A| + |B|; otherwise, |A  B| = |A| + |B| - | A  B| (Fig 3.10).

Lemma: If A and B are finite sets, then |A  B| = |A| + |B| - | A  B|. Consequently, finite sets A and B are (mutually) disjoint if and only if |A  B| = |A| + |B|. In addition, when U is finite, from DeMorgan’s Law we have || = || = |U|-|A  B| = |U|-|A|-|B|+|A  B|.

Lemma: If A, B, C are finite sets, then . From the formula for |A  B  C| and DeMorgan’s Law, we find that if the universe U is finite, then Example 3.25: page 153~154.

3.4 A Word on Probability

Lemma: Under the assumption of equal likelihood, let Φ be a sample space for an experiment Ε. Any subset A of Φ is called an event. Each element of Φ is called an elementary event, so if |Φ| = n and a  Φ, A  Φ, then Pr(a) = The probability that a occurs =, and Pr(A) = The probability that A occurs =.

Example 3.26: page 154.

Example 3.27: page 155.

Example 3.29: page 155~156.