Chapter 2: Sets. Diana Pell. In the roster method: elements are listed between braces, with commas between the elements

Similar documents
What is Set? Set Theory. Notation. Venn Diagram

Math 110 FOUNDATIONS OF THE REAL NUMBER SYSTEM FOR ELEMENTARY AND MIDDLE SCHOOL TEACHERS

CSC Discrete Math I, Spring Sets

SET DEFINITION 1 elements members

2.1 Symbols and Terminology

Review of Sets. Review. Philippe B. Laval. Current Semester. Kennesaw State University. Philippe B. Laval (KSU) Sets Current Semester 1 / 16

SEVENTH EDITION and EXPANDED SEVENTH EDITION

2.2 Set Operations. Introduction DEFINITION 1. EXAMPLE 1 The union of the sets {1, 3, 5} and {1, 2, 3} is the set {1, 2, 3, 5}; that is, EXAMPLE 2

Set and Set Operations

Math Week in Review #5. A proposition, or statement, is a declarative sentence that can be classified as either true or false, but not both.

1.1 - Introduction to Sets

CS100: DISCRETE STRUCTURES

Math Week in Review #5

Section 1.1. Inductive Reasoning. Copyright 2013, 2010, 2007, Pearson, Education, Inc.

9/19/12. Why Study Discrete Math? What is discrete? Sets (Rosen, Chapter 2) can be described by discrete math TOPICS

Taibah University College of Computer Science & Engineering Course Title: Discrete Mathematics Code: CS 103. Chapter 2. Sets

Sets MAT231. Fall Transition to Higher Mathematics. MAT231 (Transition to Higher Math) Sets Fall / 31

Section Sets and Set Operations

2.1 Sets 2.2 Set Operations

Section 1.1. Inductive Reasoning. Copyright 2013, 2010, 2007, Pearson, Education, Inc.

2. Sets. 2.1&2.2: Sets and Subsets. Combining Sets. c Dr Oksana Shatalov, Fall

Sets. X. Zhang Dept. of Computer & Information Sciences Fordham University

2 Review of Set Theory

Abe Mirza Test 1 Review & Practice Math 1. List all the elements for: 1. B C 2. B A 3. C B. Draw the Venn diagram and shade the proper region for,

c) the set of students at your school who either are sophomores or are taking discrete mathematics

1.2 Venn Diagrams and Partitions

Today s Topics. What is a set?

Introduction. Sets and the Real Number System

Definition. A set is a collection of objects. The objects in a set are elements.

Sets. Mukulika Ghosh. Fall Based on slides by Dr. Hyunyoung Lee

Outline. CISC 1100/1400 Structures of Comp. Sci./Discrete Structures Chapter 1 Sets. Sets. Enumerating the elements of a set

Chapter 3. Set Theory. 3.1 What is a Set?

SETS. Sets are of two sorts: finite infinite A system of sets is a set, whose elements are again sets.

Solution: It may be helpful to list out exactly what is in each of these events:

MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question.

Sets 1. The things in a set are called the elements of it. If x is an element of the set S, we say

[Ch 6] Set Theory. 1. Basic Concepts and Definitions. 400 lecture note #4. 1) Basics

Full file at


Discrete Mathematics

Your Turn: Explain why each of the following sets are, or are not, well defined:

Sets and Venn Diagrams Quiz 2 [101 marks]

Full download all chapters instantly please go to Solutions Manual, Test Bank site: testbanklive.com

1 Sets, Fields, and Events

2/18/14. Uses for Discrete Math in Computer Science. What is discrete? Why Study Discrete Math? Sets and Functions (Rosen, Sections 2.1,2.2, 2.

11 Sets II Operations

COLLEGE ALGEBRA. Intro, Sets of Real Numbers, & Set Theory

COMP Logic for Computer Scientists. Lecture 17

CHAPTER 1 SETS AND PROBLEM SOLVING

About the Tutorial. Audience. Prerequisites. Copyright & Disclaimer. Discrete Mathematics

LECTURE NOTES ON SETS

Figure 1: From Left to Right, General Venn Diagrams for One, Two, and Three Sets

IB Sets and Venn Diagram Questions- Package #1

2) 2) A) 23 B) 3613 C) 4262 D) 722 3) 3) A) 1100 B) 111 C) 1101 D) ) 4) A) 3603 B) 363 C) 3063 D) 3630

The Intersection of Two Sets

A set with only one member is called a SINGLETON. A set with no members is called the EMPTY SET or 2 N

Question7.How many proper subsets in all are there if a set contains (a) 7 elements (b) 4 elements

Fundamental Mathematical Concepts Math 107A. Professor T. D. Hamilton

Introduction II. Sets. Terminology III. Definition. Definition. Definition. Example

1-1 Sets of Numbers. Warm Up Lesson Presentation Lesson Quiz. Holt Algebra 2

Relational terminology. Databases - Sets & Relations. Sets. Membership

Math 395: Topology. Bret Benesh (College of Saint Benedict/Saint John s University)

MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question.

Objective. Vocabulary. 1.1: Sets of Numbers. 1-1 Sets of Numbers

SET AND VENN DIAGRAMS

Hillel Academy. Grade 9 Mathematics End of Year Study Guide September June 2013

COUNTING AND PROBABILITY

Review of Operations on the Set of Real Numbers

In this section we take an aside from the normal discussion in algebra.

Algorithm. Algorithm Analysis. Algorithm. Algorithm. Analyzing Sorting Algorithms (Insertion Sort) Analyzing Algorithms 8/31/2017

CSE 215: Foundations of Computer Science Recitation Exercises Set #9 Stony Brook University. Name: ID#: Section #: Score: / 4

Functions. Def. Let A and B be sets. A function f from A to B is an assignment of exactly one element of B to each element of A.

Basic Counting Principles: The Product Rule

SHORT ANSWER. Write the word or phrase that best completes each statement or answers the question.

Lesson 10: Representing, Naming, and Evaluating Functions

Topology notes. Basic Definitions and Properties.

Slides for Faculty Oxford University Press All rights reserved.

1.2. Pictorial and Tabular Methods in Descriptive Statistics

This Lecture. We will first introduce some basic set theory before we do counting. Basic Definitions. Operations on Sets.

The set consisting of all natural numbers that are in A and are in B is the set f1; 3; 5g;

1. The collection of the vowels in the word probability. 2. The collection of real numbers that satisfy the equation x 9 = 0.

The Language of Sets and Functions

3.1. 3x 4y = 12 3(0) 4y = 12. 3x 4y = 12 3x 4(0) = y = x 0 = 12. 4y = 12 y = 3. 3x = 12 x = 4. The Rectangular Coordinate System

Counting. Rosen, Chapter 6 Walls and Mirrors, Chapter 3

following determine whether it is an element, subset or neither of A and

3. Determine whether f is a function from the set of all bit strings to the set of integers if

Complexity Theory. Compiled By : Hari Prasad Pokhrel Page 1 of 20. ioenotes.edu.np

1/12/2012. Jim Williams HONP-112 Week 3

Functions. How is this definition written in symbolic logic notation?

Problem One: A Quick Algebra Review

Open and Closed Sets

Algebra of Sets (Mathematics & Logic A)

Lecture 15: The subspace topology, Closed sets

MAT 090 Brian Killough s Instructor Notes Strayer University

Sets and set operations. Lecture 5 ICOM 4075

WUCT121. Discrete Mathematics. Graphs

Algebraic Expressions

My dear students, Believe in yourselves. Believe in your abilities. You have got this! -Dr. M

2 Sets. 2.1 Notation. last edited January 26, 2016

Algebra of Sets. Aditya Ghosh. April 6, 2018 It is recommended that while reading it, sit with a pen and a paper.

Transcription:

Chapter 2: Sets Diana Pell 2.1: The Nature of Sets Set: any collection of elements. Elements: objects of the set. In the roster method: elements are listed between braces, with commas between the elements Exercise 1. Write the set of months of the year that begin with the letter M. Natural Numbers Exercise 2. Write each set, using the roster method. a) The set of even natural numbers from 80 to 90. b) The set of odd natural numbers greater than 10. 1

means belongs to or is an element of / means is not an element of Exercise 3. (You Try!) Decide whether each statement is true or false. a) 27 {1, 5, 9, 13, 17,... } b) z / {v, w, x, y, z} c) map / {m, a, p} The Descriptive Method: uses a short statement to describe the set. Exercise 4. Use the descriptive method to describe the set B containing 2, 4, 6, 8, 10, and 12. Exercise 5. (You Try!) Use the descriptive method to describe the set A containing -3, -2, -1, 0, 1, 2, 3. Set-builder notation Exercise 6. The set {1, 2, 3, 4, 5, 6} can be written in set-builder notation as {x x N and x < 7} 2

Exercise 7. Use set-builder notation to designate each set, then write how your answer would be read aloud. a) The set R contains the elements 2, 4, and 6. b) The set W contains the elements red, yellow, and blue. Exercise 8. (You Try!) Use set-builder notation to designate each set, then write how your answer would be read aloud. a) The set K contains the elements 10, 12, 14, 16, 18. b) The set W contains the elements Democrat and Republican. Exercise 9. Designate the set S with elements 32, 33, 34, 35,... using a) The roster method b) The descriptive method. 3

c) Set-builder notation. Exercise 10. (You Try!) Designate the set E with elements 11, 13, 15, 17,... using a) The roster method b) The descriptive method. c) Set-builder notation. Writing a Set Using Ellipsis Exercise 11. Using the roster method, write the set containing all even natural numbers between 99 and 201. Exercise 12. (You Try!) Using the roster method, write the set of odd natural numbers between 50 and 500. 4

Empty set (or null set): set which contains no elements and is written or {}. Identifying Empty Sets Exercise 13. Which of the following sets are empty? a) { } b) {x x is a natural number between 1 and 2} c) {x x is a human being living on Mars} Cardinal Number of a Set Definition 1. The number of elements in a set is called the cardinal number of a set. For a set A the symbol for the cardinality is n(a), which is read as n of A. Exercise 14. If R = {2, 4, 6, 8, 10}, then one could say that the cardinality of set R is 5 or write n(r) = 5. Exercise 15. Find the cardinal number of each set. a) A = {5, 10, 15, 20, 25, 30} b) B = {x x N and x < 16} c) d) A = {z, y, x, w, v} e) C = {Chevrolet} 5

Finite and Infinite Sets Definition 2. A set is called finite if it has no elements, or has cardinality that is a natural number. A set that is not finite is called an infinite set. Exercise 16. Classify each set as finite or infinite. a) {x x N and x < 100} b) {100, 102, 104, 106,... } c) Set M is the set of people in your immediate family. d) Set S is the set of songs that can be written. Equal and Equivalent Sets Definition 3. Two sets A and B are equal (written A = B) if they have exactly the same members or elements. Two finite sets A and B are said to be equivalent (written A = B) if they have the same number of elements: that is, n(a) = n(b) a) {a, b, c} and {c, b, a} are equal. b) {4, 5, 6} and {4, 4, 5, 6} are equal (4 need not be written twice in the second set). c) the set of all names of students in your class and the set of their ID numbers are equivalent sets because they have the same number of elements, but they have different elements so the sets are not equal. 6

Exercise 17. State whether each pair of sets is equal, equivalent, or neither. a) {p, q, r, s}; {a, b, c, d} b) {213}; {2, 1, 3} c) { even natural numbers less than 10 } ; {2, 4, 6, 10} d) {t, o, p} ; {p, o, t} Section 2.2: Subsets and Set Operations A universal set, denoted by U, is the set of all elements being discussed. Complement of A: denoted by A, is the set of elements of U which are not in A. Set-builder notation: Exercise 18. Let U = {v, w, x, y, z} and A = {w, y, z}. Find A and draw a Venn diagram that illustrates these sets. 7

Subsets Suppose that we are given a set A. We may form new sets by selecting elements from A. Sets formed in this way are called subsets of A. Empty set (or null set): set which contains no elements and is written. Note: Empty set is a subset of every set. Exercise 19. Let A = {a, b, c}. Find all subsets of A. If a set A is a subset of a set B and is not equal to B, then we call A a proper subset of B, and write A B. 8

Note: If a finite set has n elements, then the set has 2 n subsets and 2 n 1 proper subsets. Exercise 20. Decide if each statement is true or false. a) {1, 3, 5} {1, 3, 5, 7, } b) {a, b} {a, b} c) {x x E and x > 10} N d) {5, 10, 15} e) {0} Let A and B be sets. 1. The set A B, called the union of A and B, consists of all elements which are in A or in B or in both. 2. The set A B, called the intersection of A and B, consists of all elements which are in both A and B. Exercise 21. Let U = {1, 2, 3, 4, 5, 6, 7}, S = {1, 2, 3, 4}, and T = {1, 3, 5, 7}. List the elements of the sets a) S b) S T c) S T 9

d) S T Exercise 22. Let U = {a, b, c, d, e, f, g}, R = {a, b, c, d}, S = {c, d, e}, and T = {c, e, g}. List the elements of the sets a) R b) R S c) R S T d) R S T Exercise 23. Let U = {10, 20, 30, 40, 50, 60, 70, 80}, A = {10, 30, 50, 70}, B = {40, 50, 60, 70}, and C = {20, 40, 60}. List the elements of the sets a) A C b) (A B) C c) B (A C ) Finding the Difference of Two Sets Exercise 24. Let A = {4, 6, 8, 10}, B = {2, 6, 12}, and C = {8, 10}. Find each set. a) A B b) B C c) (A B) C Finding Cartesian Products The Cartesian product (denoted A B) of two sets A and B is formed by writing all possible ordered pairs in which the first component is an element of A and the second component is an element of B. Set-builder notation: A B = {(x, y) : x A and y B}. 10

Exercise 25. If A = {freshman, sophomore, junior} and B = {quarterback, running back}, find A B and describe its significance. Section 2.3: Using Venn Diagrams to Study Set Operations Drawing Venn Diagrams a) A b) A c) A B 11

d) A B e) A B f) A B g) (A B) h) A B 12

i) A B C j) A (B C) k) (A B) C l) (A B ) C m) A (B C) 13

Exercise 26. Write the set illustrated by the Venn diagram below. De Morgan s Laws For any two sets A and B, (A B) = A B (A B) = A B 2.4: Using Sets to Solve Problems Exercise 27. In 2011, there were 39 states that had some form of casino gambling in the state, 43 states that sold lottery tickets of some kind, and 34 states that had both casinos and lotteries. Draw a Venn diagram to represent the survey results, and find how many states have only casino gambling, how many states have only lotteries, and how many states have neither. 14

Exercise 28. In a survey published in the Journal of the American Academy of Dermatologists, 500 people were asked by random telephone dialing whether they have a tattoo and/or a body piercing. Of these, 79 reported having a tattoo only, 31 reported having a piercing only, and 151 reported having at least one of the two. Draw a Venn diagram to represent these results and use your diagram to find the percentage of respondents that have a tattoo, that have a piercing, that have both, and that have neither. Exercise 29. In a study of 400 entres served at 75 campus cafeterias, 70 had less than 10 grams of fat but not less than 350 calories; 48 had less than 350 calories but not less than 10 grams of fat; 140 had over 350 calories and over 10 grams of fat. a) What percentage of entres had less than 10 grams of fat? b) What percentage of entres had less than 350 calories? 15

Inclusion-Exclusion Principle Let S and T be set. Then n(s T ) = n(s) + n(t ) n(s T ) Note: If S T =, then n(s T ) = Exercise 30. Find n(s T ), given that n(s) = 5, n(t ) = 4, and n(s T ) = 2. Note: Keep in mind that OR means and AND means. Exercise 31. Suppose that each of the 245 million adults in South America is fluent in Portuguese or Spanish. If 134 million are fluent in Portuguese and 130 million are fluent in Spanish, how many are fluent in both languages? Exercise 32. (You Try!) In the year 2007, Executive magazine surveyed the presidents of the 500 largest corporations in the United States. OF these 500 people, 310 had degrees (of any sort) in business, 238 had undergraduate degrees in business, and 184 had graduate degrees in business. How many presidents had both undergraduate and graduate degrees in business? 16

Exercise 33. An advertising agency finds that the media use of its 170 clients is as follows: 115 use television (T) 100 use radio (R) 130 use magazines (M) 75 use television and radio 95 use radio and magazines 85 use television and magazines 70 use all three. a) Complete the Venn diagram. b) How many people use radio only? c) How many people use all three of the media? d) How many people use magazines but not television? e) How many people use exactly one of the three media? f) How many people use at least one of the three media? g) How many people use none of the three media? h) How many people use exactly two of the three media? i) How many people use at least two of the three media? j) How many people use radio or magazines? k) How many people use television and radio? l) How many people use television and radio, but not magazines? 17

Exercise 34. (You Try!) Three of the most dangerous risk factors for heart attack are high blood pressure, high cholesterol, and smoking In a survey of 690 heart attack survivors, 62 had only high cholesterol among those three risk factors; 36 had only smoking, and 93 had only high blood pressure. There were 370 total with high cholesterol, 159 with high blood pressure and cholesterol that didn t smoke, and 23 that smoked and had high cholesterol but not high blood pressure. Finally, 585 had at least one risk factor. Draw a Venn diagram representing this information and use it to answer the following questions. a) How many survivors had all three risk factors? b) How many had exactly two of the three risk factors? c) How many had none? d) What percentage were smokers? 18