Part 1 Module 1 Sets, elements, subsets In this course we cover a variety of topics, some of which may seem to be completely unrelated to others. Set mathematics.

Slides:



Advertisements
Similar presentations
Learning Objectives for Section 7.2 Sets
Advertisements

Algebra Problems… Solutions
Discrete Structures Chapter 6: Set Theory
22 March 2009Instructor: Tasneem Darwish1 University of Palestine Faculty of Applied Engineering and Urban Planning Software Engineering Department Introduction.
Lecture 2 Introduction To Sets CSCI – 1900 Mathematics for Computer Science Fall 2014 Bill Pine.
 A set is a collection of objects. Each object in the set is called an element or member of the set. Example. Let A be a collection of three markers.
Basic Structures: Sets, Functions, Sequences, Sums, and Matrices
Section 1.6: Sets Sets are the most basic of discrete structures and also the most general. Several of the discrete structures we will study are built.
Analytical Methods in CS (CIS 505)
CSE115/ENGR160 Discrete Mathematics 02/10/11 Ming-Hsuan Yang UC Merced 1.
Sets. Copyright © Peter Cappello Definition Visualize a dictionary as a directed graph. Nodes represent words If word w is defined in terms of word.
Survey of Mathematical Ideas Math 100 Chapter 2 John Rosson Thursday January 25, 2007.
2.1 – Symbols and Terminology Definitions: Set: A collection of objects. Elements: The objects that belong to the set. Set Designations (3 types): Word.
SET Miss.Namthip Meemag Wattanothaipayap School. Definition of Set Set is a collection of objects, things or symbols. There is no precise definition for.
Sets and subsets D. K. Bhattacharya. Set It is just things grouped together with a certain property in common. Formally it is defined as a collection.
This section will discuss the symbolism and concepts of set theory
Objectives: By the end of class, I will be able to:  Identify sets  Understand subsets, intersections, unions, empty sets, finite and infinite sets,
Set Theory. What is a set?  Sets are used to define the concepts of relations and functions. The study of geometry, sequences, probability, etc. requires.
Set, Combinatorics, Probability & Number Theory Mathematical Structures for Computer Science Chapter 3 Copyright © 2006 W.H. Freeman & Co.MSCS Slides Set,
SET THEORY. BASIC CONCEPTS IN SET THEORY Definition: A set is a collection of well-defined objects, called elements Examples: The following are examples.
CS 103 Discrete Structures Lecture 10 Basic Structures: Sets (1)
Chapter 7 Logic, Sets, and Counting Section 2 Sets.
2.1 Sets and Whole Numbers Remember to Silence Your Cell Phone and Put It In Your Bag!
Mathematical Proofs. Chapter 1 Sets 1.1 Describing a Set 1.2 Subsets 1.3 Set Operations 1.4 Indexed Collections of Sets 1.5 Partitions of Sets.
Chapter 2: Basic Structures: Sets, Functions, Sequences, and Sums (1)
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.
Copyright © Cengage Learning. All rights reserved.
Section 2.1. Section Summary Definition of sets Describing Sets Roster Method Set-Builder Notation Some Important Sets in Mathematics Empty Set and Universal.
Naïve Set Theory. Basic Definitions Naïve set theory is the non-axiomatic treatment of set theory. In the axiomatic treatment, which we will only allude.
Chapter 2 Section 2.1 Sets and Set Operations. A set is a particular type of mathematical idea that is used to categorize or group different collections.
Chapter 2 Sets and Functions Section 2.1 Sets. A set is a particular type of mathematical idea that is used to categorize or group different collections.
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.
Set theory Neha Barve Lecturer Bioinformatics
Chapter SETS DEFINITION OF SET METHODS FOR SPECIFYING SET SUBSETS VENN DIAGRAM SET IDENTITIES SET OPERATIONS.
Module Code MA1032N: Logic Lecture for Week Autumn.
Set Notation and Description Kinds of Sets Operations on Sets By: Mr. Gerzon B. Mascariñas.
Sets Goal: Introduce the basic terminology of set theory.
CSNB143 – Discrete Structure Topic 1 - Set. Topic 1 - Sets Learning Outcomes – Student should be able to identify sets and its important components. –
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.
1 Chapter Two Basic Concepts of Set Theory –Symbols and Terminology –Venn Diagrams and Subsets.
Discrete Mathematics Lecture # 10. Set Theory  A well defined collection of {distinct} objects is called a set.  The objects are called the elements.
Virtual Field Trip: We’ll visit the Academic Support Center, click “My Studies” on your KU Campus Homepage. The pdf and additional materials about Sets.
 A set is a collection of objects. Each object in the set is called an element or member of the set. Example. Let A be a collection of three markers.
Chapter 1 Section 1 - Slide 1 Copyright © 2009 Pearson Education, Inc. AND.
Module #3 - Sets 3/2/2016(c) , Michael P. Frank 2. Sets and Set Operations.
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.
“It is impossible to define every concept.” For example a “set” can not be defined. But Here are a list of things we shall simply assume about sets. A.
Thinking Mathematically Basic Set Concepts. A “set” is a collection of objects. Each object is called an “element” of the set. Often the objects in a.
Set Builder Notation. If you recall, a set is a collection of objects which we write using brackets and name using a capital letter. Remember also that:
Sets.
Math in Our World Section 2.1 The Nature of Sets.
Sets Page 746.
Lesson 2.1 Basic Set Concepts.
CHAPTER 3 SETS, BOOLEAN ALGEBRA & LOGIC CIRCUITS
Set, Combinatorics, Probability & Number Theory
Taibah University College of Computer Science & Engineering Course Title: Discrete Mathematics Code: CS 103 Chapter 2 Sets Slides are adopted from “Discrete.
        { } Sets and Venn Diagrams Prime Numbers Even Numbers
SEVENTH EDITION and EXPANDED SEVENTH EDITION
CHAPTER 1 - Sets and Intervals
Applied Discrete Mathematics Week 2: Proofs
CHAPTER 1 - Sets and Intervals
2 Chapter Numeration Systems and Sets
Section 2.2 – Subsets and Set Operations
Chapter 7 Logic, Sets, and Counting
Which sets are equal? Which sets are equivalent?
Introduction A set is a collection of objects.
Presentation transcript:

Part 1 Module 1 Sets, elements, subsets In this course we cover a variety of topics, some of which may seem to be completely unrelated to others. Set mathematics Combinatorics Symbolic logic Statistics Probability Geometry

Logic and reasoning in mathematics The unifying theme in this course is the role of logic and reasoning in mathematics. For every fact or procedure in math, there is a simple logical explanation for why that fact must be true, or why that procedure must produce the desired results. The content of this course is such that a novice student should be able understand the logical underpinnings for every fact or procedure that we introduce.

Set mathematics We begin the semester with an introduction to set mathematics (Part 1 Modules 1, 2, and 3). There are several reasons for this, including: Set math is a user-friendly topic. Set math presents good examples of the role of logic and reasoning in mathematics. Many of the facts and procedures in set math carry over directly to other topics in the course.

Any collection of objects is a set. The objects contained in a set are called its elements or members. The roster method defines a particular set by listing its elements, separated by commas, within curly brackets. Sets, elements

Here are examples of sets defined by the roster method. {a, b, c} {1, 2, 3, 4, 5} {Moe, Larry, Curly} {cat, dog} Roster method

Names for sets It is conventional to use capital letters for names of sets. S = {a, b, c} A = {1, 2, 3, 4, 5} T = {Moe, Larry, Curly} B = {cat, dog}

Sets, elements Referring to the sets S = {a, b, c} and T = {Moe, Larry, Curly}, we observe, for example, that a is an element of S and Larry is an element of T. These statements are denoted symbolically, as follows: a S Larry T

Sets, elements Referring to the sets S = {a, b, c} and T = {Moe, Larry, Curly}, we observe, for example, that d is not an element of S and Shemp is not an element of T. These statements are denoted symbolically, as follows: d S Shemp T

Cardinality The cardinality of a set is the number of elements contained in that set. For example, let S = {a, b, c} and B ={dog, cat}. Then, the cardinality of S is 3, and the cardinality of B is 2. These facts are denoted symbolically, as follows: n(S) = 3 n(B) = 2

Cardinality In general, if V is any set, then n(V) represents the number of elements in set V.

Set Equality Two sets are equal if they contain exactly the same elements. For example {1, 2, 3, 4, 5} = {5, 3, 1, 4, 2} {Moe, Larry} = {Moe, Larry} {b, c, a} = S (referring to the set S defined earlier). However, {1, 2, 3, 4, 5} {a, b, c, d, e}

Set Equality More formally, if V and W are any sets, then V = W means that every element of V is also an element of W and every element of W is also an element of V. Note that the order in which the elements are listed is not important.

Subsets (informal definition) Suppose V is a set, and W is a set that is formed using only the elements of V (that is, W can be formed entirely by including/excluding elements of V). We say that W is a subset of V. This is conveyed symbolically as follows: W V

Subsets Example Let T = {Moe, Larry, Curly} List all the subsets of T. {Moe} {Larry} {Curly} {Moe, Larry} {Moe, Curly} {Larry, Curly} {Moe, Larry, Curly} { } This set is known as the empty set.

Subsets Observe the following, from the previous example. 1. {Moe, Larry, Curly} {Moe, Larry, Curly} General fact: Every set is a subset of itself. 2. { } {Moe, Larry, Curly} General fact: The empty set is a subset of every set.

Subsets (formal definition) Here is a more formal definition of the term subset: Suppose V and W are sets, and that every element of W is also an element of V. Then W V. This is equivalent to saying that W is a subset of V, if there is no element of W that isnt also an element of V. Examples (True or false) 1. {b, h, r, q} {h, r} A. TrueB. False 2. {3, 12, 5, 19} {19, 3, 5, 12, 18} A. TrueB. False 3. {a, 13, d, 2} {13, 2, d, a} A. TrueB. False

Proper Subsets Suppose W is a subset of V, but W is not equal to V. Then W is a proper subset of V. This is denoted W V

Proper Subsets A proper subset is a subset that is not equal to the set it is a subset of. A proper subset is a subset that is smaller than the set it is a subset of. A moment ago, we listed all the subsets of the set {Moe, Larry, Curly}. Here they are: 1. { }2. {Moe} 3. {Larry} 4. {Curly} 5. {Moe, Larry} 6. {Moe, Curly} 7. {Larry, Curly}8. {Moe, Larry, Curly} Which of these are also proper subsets of {Moe, Larry, Curly}? Answer: They are all proper subsets, except #8.

Complements and Universal Sets Let T = {Moe, Larry, Curly}. List all elements that arent in T. Without a frame of reference, we cant go anywhere with this exercise.

Universal Sets For a particular discussion or sequence of exercises in set mathematics, a Universal Set (U) is larger set that contains, at least, all the elements of all the other sets in the discussion. A universal set serves as a frame of reference for the discussion. Example Let U = {Moe, Larry, Curly, Shemp, Curly Joe}. Let T = {Moe, Larry, Curly}. List all the elements that arent in T. {Shemp, Curly Joe} We call this set the complement of T, denoted T

Set-builder notation So far, we have been using the roster method for defining sets. The roster method defines a set by listing its elements. An alternative approach is to define a set by describing its elements, rather than literally listing them. Set-builder notation is a way of defining a set by describing its elements, rather than listing them.

Set-builder notation Let U = {a, b, c, d, e, f}. The universe for this discussion consists of six letters, four of which are consonants, two of which are vowels. Within this universe, let C be the set containing all the consonants, and let V be the set containing all the vowels.

Set-builder notation Let U = {a, b, c, d, e, f}. C = {x|x is a consonant} C is the set of all x, such that x is a consonant. C = {x|x is a consonant} = {b, c, d, f} V = {x|x is a vowel} V is the set of all x, such that x is a vowel. V = {x|x is a vowel} = {a, e}

Exercises Let U = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10} A = {3, 5} E = {2, 4, 6, 8, 10} F = {x|x is an odd number} True or false: 1. E = FA. True B. False 2. F AA. True B. False 3. {1, 2, 3} {2, 3, 5, 6} A. True B. False 4. {4, 7} {4, 7}A. True B. False

Exercises Let U = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10} A = {3, 5} E = {2, 4, 6, 8, 10} F = {x|x is an odd number} True or false: 5. {4, 7} {4, 7} A. True B. False 6. {4} {4, 7} A. True B. False

Exercise Let U = {Moe, Larry, Curly, Shemp, Curly Joe} T = {Moe, Larry, Curly} True or False: { } A. TrueB. False

The number of subsets in a finite set Common sense suggests that the more elements a set has, the more subsets it will have. As we shall see, there is a precise relationship between the cardinality of a set an the number of subsets it has.

The number of subsets in a finite set. Sn(S)subsets of Snumber of subsets { } {a} {a, b} {a, b, c} {a, b, c, d}

The number of subsets in a finite set. For a set V, suppose n(V) = k. Then V has 2 k subsets and 2 k – 1 proper subsets.