Sets. Alice E. Fischer. CSCI 1166 Discrete Mathematics for Computing Spring, Outline Sets An Algebra on Sets Summary

Size: px
Start display at page:

Download "Sets. Alice E. Fischer. CSCI 1166 Discrete Mathematics for Computing Spring, Outline Sets An Algebra on Sets Summary"

Transcription

1 An Algebra on Alice E. Fischer CSCI 1166 Discrete Mathematics for Computing Spring, 2018 Alice E. Fischer... 1/37

2 An Algebra on 1 Definitions and Notation Venn Diagrams 2 An Algebra on 3 Alice E. Fischer... 2/37

3 An Algebra on Definitions and Notation Venn Diagrams Definitions and Notation Venn Diagrams Alice E. Fischer... 3/37

4 An Algebra on Definitions and Notation Venn Diagrams are basic to this course and to much of modern mathematics. A set is a collection of discrete objects. A set can be empty. It can contain one object or many objects. It might be finite or infinite. The objects in a set are called its elements. The objects in a particular set all come from some collection such as Students, or Polygons, or Integers. That collection is called the universe of the set. Letters (upper case) are used to name sets. Alice E. Fischer... 4/37

5 Notation for An Algebra on Definitions and Notation Venn Diagrams In the next several slides, integers are the universe of interest. There are three ways to denote a set: Some sets have standard names. Z is the set of all integers. Sometimes, we define a set by listing its elements individually. A = {2, 3, 5, 7} A is the set of one-digit primes. Sometimes we define a set by describing it: B = {x Z x > 1} B is the set of all x contained in Z such that x > 1. More simply, A is the set of all integers > 1. Alice E. Fischer... 5/37

6 An Algebra on Notation for Subsets or Supersets Definitions and Notation Venn Diagrams These examples refer to the sets defined on the previous slide. A B A is a subset of B because every element of A is also an element of B. A B Actually, A is a proper subset of B because there are elements of B that are NOT in A. B A B is a NOT a subset of A because there are elements of B that are NOT in A. We can also talk about supersets: B A, B A, and A B Alice E. Fischer... 6/37

7 The Empty Set An Algebra on Definitions and Notation Venn Diagrams The empty set is called. By definition, every set, that is, is a proper subset of every set. Alice E. Fischer... 7/37

8 The Universal Set An Algebra on Definitions and Notation Venn Diagrams Any time a mathematician uses sets, the elements of those sets are some particular kind of object: books or people or numbers or anything else. If we are talking about sets of books, then Books is the domain of concern. The universal set is the set of all objects in the current domain of concern. The universal set is called U. U is a superset of every set. Alice E. Fischer... 8/37

9 Venn Diagrams An Algebra on Definitions and Notation Venn Diagrams Venn diagrams are often used to represent sets and relationships among sets. Circles are used to represent sets. The area inside the circle represents all of the elements of the set. A dot inside the circle represents a particular element. If two circles overlap, the overlapping area represents elements that are in both sets. If B is a subset of A, then B s circle is entirely within A s circle Alice E. Fischer... 9/37

10 An Algebra on Relationships Between two Definitions and Notation Venn Diagrams Disjoint Subset A B B A A B A=B Overlapping Same Alice E. Fischer... 10/37

11 An Algebra on Definitions and Notation Venn Diagrams Example: Reals, Rationals, and Integers Z Q R The integers (Z) are a subset of the rational numbers (Q) and the rationals are a subset of the reals (R). U = All numbers R Q Z Alice E. Fischer... 11/37

12 An Algebra on Practice: Venn Diagrams Definitions and Notation Venn Diagrams 1. Diagram the Universal set, a set named M, and a proper subset of M named P. 2. Suppose A = {1, 2, 3}. Define D = any superset of A. 3. Diagram the sets A = {1,2,3}, B = {1,2,4,8}, U, and Z. Show the elements of sets A and B, above, as points in the diagram. 4. Define two small, non-empty, disjoint sets named F and G. Choose any elements you want for these sets. Then diagram them and the Universal set. Show all the set elements in your diagram. Alice E. Fischer... 12/37

13 An Algebra on The Algebra of Set Identities Rules for set calculations are given in the following slides. These are analogs of the laws for algebra. They are easily proved using Venn diagrams. Alice E. Fischer... 13/37

14 The Algebra of. An Algebra on The algebra of sets defines the properties and laws of sets, the set operations or, and, and complement, and the relations of set equality and set inclusion. It provides systematic procedures for evaluating expressions and performing calculations involving these operations and relations. Alice E. Fischer... 14/37

15 An Algebra on Set algebra is analogous to the algebra of numbers. Addition + is associative and commutative, so is (union). Multiplication is associative and commutative, so is (intersection). The relation is reflexive, antisymmetric and transitive, and so is the relation. Alice E. Fischer... 15/37

16 Set Algebra An Algebra on Set algebra is based on: The operations (union), (intersection), (set difference), and complement. The relations (contained in), (subset), and (proper subset). A list of algebraic identities that can be easily proved from the definitions using Venn diagrams. Two special sets that have been given names: The empty set is The universal set is U. Alice E. Fischer... 16/37

17 Complement An Algebra on The complement of a set B (B c ) is a set containing all elements of the universe that are not in B. In this diagram, B c is gray. B Universe Alice E. Fischer... 17/37

18 Union An Algebra on The union of two sets is a set containing all elements of both. Below, A B (the union of A and B) is the areas colored pink, lavender, and blue, but not the area colored gray. Universe A B Theorem For all sets A and B, A (A B) and B (A B) Proof by the diagram: All points in A and in B are in the union (the non-gray area). Alice E. Fischer... 18/37

19 Intersection An Algebra on The intersection of two sets contains only the elements that occur in both. In the diagram, the intersection, A B is the purple area. Universe A B Theorem For all sets A and B, A B A and A B B Proof by the diagram: All points in the intersection (purple) are in both A and B. Alice E. Fischer... 19/37

20 Difference An Algebra on The difference of two sets is a set containing all the remaining elements of the first, after all elements of the second set have been removed. In the diagram, A B is just the pink area B A is just the blue area. Universe A B Alice E. Fischer... 20/37

21 An Algebra on The Transitive Property of Subsets C B For all sets A, B, and C: if A B and B C then A C A Use the Venn diagram to prove this relationship. Alice E. Fischer... 21/37

22 1. Commutative Laws An Algebra on Both intersection and union are commutative. That is, the left and right sides can be reversed without changing the meaning of the expression. A B B A A B B A U A U U A B B Alice E. Fischer... 22/37

23 2. Associative Laws An Algebra on Both intersection and union are associative. That is, if the same operator occurs twice in a row in an expression, you may parenthesize the expression either way without changing its meaning. (P Q) R P (Q R) (P Q) R P (Q R) U U U P P I I R I R Q Q Q Alice E. Fischer... 23/37

24 3. Distributive Laws An Algebra on Either intersection or union can be distributed over the other. P (Q R) (P Q) (P R) P (Q R) (P Q) (P R) P P * R R Q Q P P P * R R Q Q Alice E. Fischer... 24/37

25 An Algebra on 4. Identity, 5. Complement, and 6. Double Complement These laws are based on the definitions of complement,,. Remember: is the empty set and U is the universal set. 4. Set identity. 5. Set complement. 6. Set double-complement. A A A U A A A c U A A c (A c ) c A Alice E. Fischer... 25/37

26 7. Idempotent Law An Algebra on Intuition: able to produce the same thing repeatedly. A binary operation is idempotent if, whenever it is applied to two equal sets, it gives that same set as the result. Law: intersection and union are idempotent, meaning that the trivial computations have no effect and can be repeated without changing the meaning of the expression. A A A A A A Alice E. Fischer... 26/37

27 An Algebra on 8. Universal Bounds Law Intuition: The universal set is as large as you can get. Law: The universal set is the result of any with U. A U U Intuition: The empty set is as small as you can get. Law: The empty set is the result of any with. A Alice E. Fischer... 27/37

28 An Algebra on 9a. DeMorgan s Law for When you distribute complement over, the changes to. (A B) c A c B c Proof by diagram: By definition, A B is the pink and purple and blue areas taken together. Let V = A B. Then V c is the gray area. A c = the combo of gray and blue areas. B c = the combo of gray and pink areas. A c B c is only the gray area. A c B c V c (A B) c. U A B Alice E. Fischer... 28/37

29 An Algebra on 9b. DeMorgan s Law for When you distribute complement over, the changes to. (A B) c A c B c The proof is left for the student. It is analogous to the proof on the prior slide. Alice E. Fischer... 29/37

30 An Algebra on 10. Absorption Laws and 11. Complements of U and Absorption Laws: For all sets A and B, A (A B) A A (A B) A U A B The complement of the Universe is empty, and vice versa. U c c U Alice E. Fischer... 30/37

31 An Algebra on 12. Set Difference Law. Theorem For all sets A and B, A B A B c Proof by diagram: A B is the pink area, by definition. B c is everything in the universe except the elements of B. B c is the area that is gray or pink. B c excludes the purple and blue parts. A B c is the pink part excluding the lavender part. A B c is the same as A B. U A B Alice E. Fischer... 31/37

32 An Algebra on Practice: Using the Laws of Set Theory For each exercise, give the answer and the name of the laws or definitions that are used to answer the question. 5. If A B and B C, What can you say about A and C? 6. Assume A B C. What can you say about A and C? 7. Let A = {1, 2, 3, 4} and B = {1, 2}. Then A (A B) =? 8. Let Z be the universal set and let E = {even numbers}. List five elements of E c. 9. Use a diagram argument to prove A (A B) A. You will need 3 diagrams. Alice E. Fischer... 32/37

33 An Algebra on Alice E. Fischer... 33/37

34 An Algebra on 1 A set is a collection of discrete objects drawn from a specified universe. 2 are a basic concept on which much of modern math and databases are based. 3 A finite set can be literally listed, by writing its elements enclosed in curly braces. 4 A set can be denoted by giving a way to compute the set. 5 A set can be denoted by a name. Alice E. Fischer... 34/37

35 Set Notation An Algebra on subset set union proper subset set intersection is an element of set difference universal set U complement of a set A c the empty set Alice E. Fischer... 35/37

36 Laws of Set Algebra -1 An Algebra on 1. Commutative Laws A B B A A B B A 2. Associative Laws (P Q) R P (Q R) (P Q) R P (Q R) 3. Distributive Laws P (Q R) (P Q) (P R) P (Q R) (P Q) (P R) 4. Identity Laws A A A U A 5. Complement Laws A A c U A A c 6. Double Complement Law (A c ) c A Alice E. Fischer... 36/37

37 Laws of Set Algebra -2 An Algebra on 7. Idempotent Laws A A A A A A 8. Universal Bounds A A U U 9. DeMorgan s Laws (A B) c A c B c (A B) c A c B c 10. Absorption Laws A (A B) A A (A B) A 11. Complement Laws U c c U 12. Set Difference Law A B A B c Alice E. Fischer... 37/37

Discrete Basic Structure: Sets

Discrete Basic Structure: Sets KS091201 MATEMATIKA DISKRIT (DISCRETE MATHEMATICS ) Discrete Basic Structure: Sets Discrete Math Team 2 -- KS091201 MD W-07 Outline What is a set? Set properties Specifying a set Often used sets The universal

More information

Equivalence and Implication

Equivalence and Implication Equivalence and Alice E. Fischer CSCI 1166 Discrete Mathematics for Computing February 7 8, 2018 Alice E. Fischer Laws of Logic... 1/33 1 Logical Equivalence Contradictions and Tautologies 2 3 4 Necessary

More information

1. SET 10/9/2013. Discrete Mathematics Fajrian Nur Adnan, M.CS

1. SET 10/9/2013. Discrete Mathematics Fajrian Nur Adnan, M.CS 1. SET 10/9/2013 Discrete Mathematics Fajrian Nur Adnan, M.CS 1 Discrete Mathematics 1. Set and Logic 2. Relation 3. Function 4. Induction 5. Boolean Algebra and Number Theory MID 6. Graf dan Tree/Pohon

More information

CM10196 Topic 2: Sets, Predicates, Boolean algebras

CM10196 Topic 2: Sets, Predicates, Boolean algebras CM10196 Topic 2: Sets, Predicates, oolean algebras Guy McCusker 1W2.1 Sets Most of the things mathematicians talk about are built out of sets. The idea of a set is a simple one: a set is just a collection

More information

Discrete Mathematics. (c) Marcin Sydow. Sets. Set operations. Sets. Set identities Number sets. Pair. Power Set. Venn diagrams

Discrete Mathematics. (c) Marcin Sydow. Sets. Set operations. Sets. Set identities Number sets. Pair. Power Set. Venn diagrams Contents : basic definitions and notation A set is an unordered collection of its elements (or members). The set is fully specified by its elements. Usually capital letters are used to name sets and lowercase

More information

Statistics for Financial Engineering Session 2: Basic Set Theory March 19 th, 2006

Statistics for Financial Engineering Session 2: Basic Set Theory March 19 th, 2006 Statistics for Financial Engineering Session 2: Basic Set Theory March 19 th, 2006 Topics What is a set? Notations for sets Empty set Inclusion/containment and subsets Sample spaces and events Operations

More information

1. (B) The union of sets A and B is the set whose elements belong to at least one of A

1. (B) The union of sets A and B is the set whose elements belong to at least one of A 1. (B) The union of sets A and B is the set whose elements belong to at least one of A or B. Thus, A B = { 2, 1, 0, 1, 2, 5}. 2. (A) The intersection of sets A and B is the set whose elements belong to

More information

Sets and Functions. MATH 464/506, Real Analysis. J. Robert Buchanan. Summer Department of Mathematics. J. Robert Buchanan Sets and Functions

Sets and Functions. MATH 464/506, Real Analysis. J. Robert Buchanan. Summer Department of Mathematics. J. Robert Buchanan Sets and Functions Sets and Functions MATH 464/506, Real Analysis J. Robert Buchanan Department of Mathematics Summer 2007 Notation x A means that element x is a member of set A. x / A means that x is not a member of A.

More information

Spring Based on Partee, ter Meulen, & Wall (1993), Mathematical Methods in Linguistics

Spring Based on Partee, ter Meulen, & Wall (1993), Mathematical Methods in Linguistics 1 / 17 L545 Spring 2013 Based on Partee, ter Meulen, & Wall (1993), Mathematical Methods in Linguistics 2 / 17 Why set theory? Set theory sets the foundation for much of mathematics For us: provides precise

More information

Finite Math Section 6_1 Solutions and Hints

Finite Math Section 6_1 Solutions and Hints Finite Math Section 6_1 Solutions and Hints by Brent M. Dingle for the book: Finite Mathematics, 7 th Edition by S. T. Tan. DO NOT PRINT THIS OUT AND TURN IT IN!!!!!!!! This is designed to assist you in

More information

CHAPTER 1 SETS AND EVENTS

CHAPTER 1 SETS AND EVENTS CHPTER 1 SETS ND EVENTS 1.1 Universal Set and Subsets DEFINITION: set is a well-defined collection of distinct elements in the universal set. This is denoted by capital latin letters, B, C, If an element

More information

SET THEORY. 1. Roster or Tabular form In this form the elements of the set are enclosed in curly braces { } after separating them by commas.

SET THEORY. 1. Roster or Tabular form In this form the elements of the set are enclosed in curly braces { } after separating them by commas. SETS: set is a well-defined collection of objects. SET THEORY The objects in a set are called elements or members of the set. If x is an object of set, we write x and is read as x is an element of set

More information

CISC 1100: Structures of Computer Science

CISC 1100: Structures of Computer Science CISC 1100: Structures of Computer Science Chapter 2 Sets and Sequences Fordham University Department of Computer and Information Sciences Fall, 2010 CISC 1100/Fall, 2010/Chapter 2 1 / 49 Outline Sets Basic

More information

1 Chapter 1: SETS. 1.1 Describing a set

1 Chapter 1: SETS. 1.1 Describing a set 1 Chapter 1: SETS set is a collection of objects The objects of the set are called elements or members Use capital letters :, B, C, S, X, Y to denote the sets Use lower case letters to denote the elements:

More information

BOOLEAN ALGEBRA INTRODUCTION SUBSETS

BOOLEAN ALGEBRA INTRODUCTION SUBSETS BOOLEAN ALGEBRA M. Ragheb 1/294/2018 INTRODUCTION Modern algebra is centered around the concept of an algebraic system: A, consisting of a set of elements: ai, i=1, 2,, which are combined by a set of operations

More information

A set is an unordered collection of objects.

A set is an unordered collection of objects. Section 2.1 Sets A set is an unordered collection of objects. the students in this class the chairs in this room The objects in a set are called the elements, or members of the set. A set is said to contain

More information

CS 2336 Discrete Mathematics

CS 2336 Discrete Mathematics CS 2336 Discrete Mathematics Lecture 9 Sets, Functions, and Relations: Part I 1 What is a Set? Set Operations Identities Cardinality of a Set Outline Finite and Infinite Sets Countable and Uncountable

More information

With Question/Answer Animations. Chapter 2

With Question/Answer Animations. Chapter 2 With Question/Answer Animations Chapter 2 Chapter Summary Sets The Language of Sets Set Operations Set Identities Functions Types of Functions Operations on Functions Sequences and Summations Types of

More information

Example: Use a direct argument to show that the sum of two even integers has to be even. Solution: Recall that an integer is even if it is a multiple

Example: Use a direct argument to show that the sum of two even integers has to be even. Solution: Recall that an integer is even if it is a multiple Use a direct argument to show that the sum of two even integers has to be even. Solution: Recall that an integer is even if it is a multiple of 2, that is, an integer x is even if x = 2y for some integer

More information

Math 3201 Unit 1 Set Theory

Math 3201 Unit 1 Set Theory Math 3201 Unit 1 Set Theory Overview In this unit, we will organize information into. We will use diagrams to illustrate between sets and subsets and use to describe sets. We will determine the in each

More information

CHAPTER 1. Preliminaries. 1 Set Theory

CHAPTER 1. Preliminaries. 1 Set Theory CHAPTER 1 Preliminaries 1 et Theory We assume that the reader is familiar with basic set theory. In this paragraph, we want to recall the relevant definitions and fix the notation. Our approach to set

More information

ELEC Digital Logic Circuits Fall 2014 Boolean Algebra (Chapter 2)

ELEC Digital Logic Circuits Fall 2014 Boolean Algebra (Chapter 2) ELEC 2200-002 Digital Logic Circuits Fall 2014 Boolean Algebra (Chapter 2) Vishwani D. Agrawal James J. Danaher Professor Department of Electrical and Computer Engineering Auburn University, Auburn, AL

More information

Some Basic Notations Of Set Theory

Some Basic Notations Of Set Theory Some Basic Notations Of Set Theory References There are some good books about set theory; we write them down. We wish the reader can get more. 1. Set Theory and Related Topics by Seymour Lipschutz. 2.

More information

PREFACE. Synergy for Success in Mathematics 7 is designed for Grade 7 students. The textbook

PREFACE. Synergy for Success in Mathematics 7 is designed for Grade 7 students. The textbook Synergy for Success in Mathematics 7 is designed for Grade 7 students. The textbook contains all the required learning competencies and is supplemented with some additional topics for enrichment. Lessons

More information

Chapter 2 - Basics Structures MATH 213. Chapter 2: Basic Structures. Dr. Eric Bancroft. Fall Dr. Eric Bancroft MATH 213 Fall / 60

Chapter 2 - Basics Structures MATH 213. Chapter 2: Basic Structures. Dr. Eric Bancroft. Fall Dr. Eric Bancroft MATH 213 Fall / 60 MATH 213 Chapter 2: Basic Structures Dr. Eric Bancroft Fall 2013 Dr. Eric Bancroft MATH 213 Fall 2013 1 / 60 Chapter 2 - Basics Structures 2.1 - Sets 2.2 - Set Operations 2.3 - Functions 2.4 - Sequences

More information

MA : Introductory Probability

MA : Introductory Probability MA 320-001: Introductory Probability David Murrugarra Department of Mathematics, University of Kentucky http://www.math.uky.edu/~dmu228/ma320/ Spring 2017 David Murrugarra (University of Kentucky) MA 320:

More information

Operations on Sets. Gazihan Alankuş (Based on original slides by Brahim Hnich et al.) August 6, 2012

Operations on Sets. Gazihan Alankuş (Based on original slides by Brahim Hnich et al.) August 6, 2012 on Sets Gazihan Alankuş (Based on original slides by Brahim Hnich et al.) August 6, 2012 Gazihan Alankuş (Based on original slides by Brahim Hnich et al.) on Sets Gazihan Alankuş (Based on original slides

More information

Sets. your school. A group of odd natural numbers less than 25.

Sets. your school. A group of odd natural numbers less than 25. 1 Sets The set theory was developed by German Mathematician Georg Cantor (1845-1918). He first encountered sets while working on problems on trigonometric series. This concept is used in every branch of

More information

Math 3338: Probability (Fall 2006)

Math 3338: Probability (Fall 2006) Math 3338: Probability (Fall 2006) Jiwen He Section Number: 10853 http://math.uh.edu/ jiwenhe/math3338fall06.html Probability p.1/8 Chapter Two: Probability (I) Probability p.2/8 2.1 Sample Spaces and

More information

Introduction to Set Operations

Introduction to Set Operations Introduction to Set Operations CIS008-2 Logic and Foundations of Mathematics David Goodwin david.goodwin@perisic.com 12:00, Friday 21 st October 2011 Outline 1 Recap 2 Introduction to sets 3 Class Exercises

More information

ICS141: Discrete Mathematics for Computer Science I

ICS141: Discrete Mathematics for Computer Science I ICS141: Discrete Mathematics for Computer Science I Dept. Information & Computer Sci., Jan Stelovsky based on slides by Dr. Baek and Dr. Still Originals by Dr. M. P. Frank and Dr. J.L. Gross Provided by

More information

Today s topics. Introduction to Set Theory ( 1.6) Naïve set theory. Basic notations for sets

Today s topics. Introduction to Set Theory ( 1.6) Naïve set theory. Basic notations for sets Today s topics Introduction to Set Theory ( 1.6) Sets Definitions Operations Proving Set Identities Reading: Sections 1.6-1.7 Upcoming Functions A set is a new type of structure, representing an unordered

More information

Step-by-step and detailed demonstrations of how a specific concept or technique is applied in solving problems.

Step-by-step and detailed demonstrations of how a specific concept or technique is applied in solving problems. PREFACE Synergy for Success in Mathematics 7 contains all the required learning competencies and is supplemented with some additional topics for enrichment. Lessons are presented using effective Singapore

More information

Exclusive Disjunction

Exclusive Disjunction Exclusive Disjunction Recall A statement is a declarative sentence that is either true or false, but not both. If we have a declarative sentence s, p: s is true, and q: s is false, can we rewrite s is

More information

Chapter 1 Math Set: a collection of objects. For example, the set of whole numbers is W = {0, 1, 2, 3, }

Chapter 1 Math Set: a collection of objects. For example, the set of whole numbers is W = {0, 1, 2, 3, } Chapter 1 Math 3201 1 Chapter 1: Set Theory: Organizing information into sets and subsets Graphically illustrating the relationships between sets and subsets using Venn diagrams Solving problems by using

More information

Mathematics Foundation for College. Lesson Number 1. Lesson Number 1 Page 1

Mathematics Foundation for College. Lesson Number 1. Lesson Number 1 Page 1 Mathematics Foundation for College Lesson Number 1 Lesson Number 1 Page 1 Lesson Number 1 Topics to be Covered in this Lesson Sets, number systems, axioms, arithmetic operations, prime numbers and divisibility,

More information

Sets. Introduction to Set Theory ( 2.1) Basic notations for sets. Basic properties of sets CMSC 302. Vojislav Kecman

Sets. Introduction to Set Theory ( 2.1) Basic notations for sets. Basic properties of sets CMSC 302. Vojislav Kecman Introduction to Set Theory ( 2.1) VCU, Department of Computer Science CMSC 302 Sets Vojislav Kecman A set is a new type of structure, representing an unordered collection (group, plurality) of zero or

More information

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

2. Sets. 2.1&2.2: Sets and Subsets. Combining Sets. c Dr Oksana Shatalov, Spring c Dr Oksana Shatalov, Spring 2015 1 2. Sets 2.1&2.2: Sets and Subsets. Combining Sets. Set Terminology and Notation DEFINITIONS: Set is well-defined collection of objects. Elements are objects or members

More information

Review CHAPTER. 2.1 Definitions in Chapter Sample Exam Questions. 2.1 Set; Element; Member; Universal Set Partition. 2.

Review CHAPTER. 2.1 Definitions in Chapter Sample Exam Questions. 2.1 Set; Element; Member; Universal Set Partition. 2. CHAPTER 2 Review 2.1 Definitions in Chapter 2 2.1 Set; Element; Member; Universal Set 2.2 Subset 2.3 Proper Subset 2.4 The Empty Set, 2.5 Set Equality 2.6 Cardinality; Infinite Set 2.7 Complement 2.8 Intersection

More information

Sets. Slides by Christopher M. Bourke Instructor: Berthe Y. Choueiry. Spring 2006

Sets. Slides by Christopher M. Bourke Instructor: Berthe Y. Choueiry. Spring 2006 Slides by Christopher M. Bourke Instructor: Berthe Y. Choueiry Spring 2006 1 / 1 Computer Science & Engineering 235 Introduction to Discrete Mathematics Sections 1.6 1.7 of Rosen Introduction I We ve already

More information

Set Operations. Combining sets into new sets

Set Operations. Combining sets into new sets Set Operations Combining sets into new sets Union of Sets The union of two sets is the set of all elements that are in one or the other set: A B = {x x A x B} The union is the set theoretic equivalent

More information

Welcome to CS103! Two Handouts Today: Course Overview Introduction to Set Theory The Limits of Computation

Welcome to CS103! Two Handouts Today: Course Overview Introduction to Set Theory The Limits of Computation Welcome to CS103! Two Handouts Today: Course Overview Introduction to Set Theory The Limits of Computation Course Staff Keith Schwarz (htiek@cs.stanford.edu) Kyle Brogle (broglek@stanford.edu) Maurizio

More information

Circles & Interval & Set Notation.notebook. November 16, 2009 CIRCLES. OBJECTIVE Graph a Circle given the equation in standard form.

Circles & Interval & Set Notation.notebook. November 16, 2009 CIRCLES. OBJECTIVE Graph a Circle given the equation in standard form. OBJECTIVE Graph a Circle given the equation in standard form. Write the equation of a circle in standard form given a graph or two points (one being the center). Students will be able to write the domain

More information

Logic, Sets, and Proofs

Logic, Sets, and Proofs Logic, Sets, and Proofs David A. Cox and Catherine C. McGeoch Amherst College 1 Logic Logical Operators. A logical statement is a mathematical statement that can be assigned a value either true or false.

More information

Chapter 2 - Basics Structures

Chapter 2 - Basics Structures Chapter 2 - Basics Structures 2.1 - Sets Definitions and Notation Definition 1 (Set). A set is an of. These are called the or of the set. We ll typically use uppercase letters to denote sets: S, A, B,...

More information

Sets are one of the basic building blocks for the types of objects considered in discrete mathematics.

Sets are one of the basic building blocks for the types of objects considered in discrete mathematics. Section 2.1 Introduction Sets are one of the basic building blocks for the types of objects considered in discrete mathematics. Important for counting. Programming languages have set operations. Set theory

More information

Problem 2: (Section 2.1 Exercise 10) (a.) How many elements are in the power set of the power set of the empty set?

Problem 2: (Section 2.1 Exercise 10) (a.) How many elements are in the power set of the power set of the empty set? Assignment 4 Solutions Problem1: (Section 2.1 Exercise 9) (a.) List all the subsets of the set {a, b, c, d} which contain: (i.) four elements (ii.) three elements (iii.) two elements (iv.) one element

More information

A B is shaded A B A B

A B is shaded A B A B NION: Let and be subsets of a universal set. The union of sets and is the set of all elements in that belong to or to or to both, and is denoted. Symbolically: = {x x or x } EMMPLE: Let = {a, b, c, d,

More information

Sets. Slides by Christopher M. Bourke Instructor: Berthe Y. Choueiry. Fall 2007

Sets. Slides by Christopher M. Bourke Instructor: Berthe Y. Choueiry. Fall 2007 Slides by Christopher M. Bourke Instructor: Berthe Y. Choueiry Fall 2007 1 / 42 Computer Science & Engineering 235 Introduction to Discrete Mathematics Sections 2.1, 2.2 of Rosen Introduction I Introduction

More information

Worksheet on Relations

Worksheet on Relations Worksheet on Relations Recall the properties that relations can have: Definition. Let R be a relation on the set A. R is reflexive if for all a A we have ara. R is irreflexive or antireflexive if for all

More information

Chapter 7. Inclusion-Exclusion a.k.a. The Sieve Formula

Chapter 7. Inclusion-Exclusion a.k.a. The Sieve Formula Chapter 7. Inclusion-Exclusion a.k.a. The Sieve Formula Prof. Tesler Math 184A Fall 2019 Prof. Tesler Ch. 7. Inclusion-Exclusion Math 184A / Fall 2019 1 / 25 Venn diagram and set sizes A = {1, 2, 3, 4,

More information

1. To be a grandfather. Objects of our consideration are people; a person a is associated with a person b if a is a grandfather of b.

1. To be a grandfather. Objects of our consideration are people; a person a is associated with a person b if a is a grandfather of b. 20 [161016-1020 ] 3.3 Binary relations In mathematics, as in everyday situations, we often speak about a relationship between objects, which means an idea of two objects being related or associated one

More information

Basic Equations and Inequalities. An equation is a statement that the values of two expressions are equal.

Basic Equations and Inequalities. An equation is a statement that the values of two expressions are equal. Hartfield College Algebra (Version 2018 - Thomas Hartfield) Unit ZERO Page - 1 - of 7 Topic 0: Definition: Ex. 1 Basic Equations and Inequalities An equation is a statement that the values of two expressions

More information

Axioms of Probability

Axioms of Probability Sample Space (denoted by S) The set of all possible outcomes of a random experiment is called the Sample Space of the experiment, and is denoted by S. Example 1.10 If the experiment consists of tossing

More information

1.1 Introduction to Sets

1.1 Introduction to Sets Math 166 Lecture Notes - S. Nite 8/29/2012 Page 1 of 5 1.1 Introduction to Sets Set Terminology and Notation A set is a well-defined collection of objects. The objects are called the elements and are usually

More information

Semantics and Generative Grammar. Formal Foundations: A Basic Review of Sets and Functions 1

Semantics and Generative Grammar. Formal Foundations: A Basic Review of Sets and Functions 1 Formal Foundations: A Basic Review of Sets and Functions 1 1. Naïve Set Theory 1.1 Basic Properties of Sets A set is a group of objects. Any group of objects a, b, c forms a set. (1) Representation of

More information

3 Boolean Algebra 3.1 BOOLEAN ALGEBRA

3 Boolean Algebra 3.1 BOOLEAN ALGEBRA 3 Boolean Algebra 3.1 BOOLEAN ALGEBRA In 1854, George Boole introduced the following formalism which eventually became Boolean Algebra. Definition. An algebraic system consisting of a set B of elements

More information

BASIC MATHEMATICAL TECHNIQUES

BASIC MATHEMATICAL TECHNIQUES CHAPTER 1 ASIC MATHEMATICAL TECHNIQUES 1.1 Introduction To understand automata theory, one must have a strong foundation about discrete mathematics. Discrete mathematics is a branch of mathematics dealing

More information

Algebra I. abscissa the distance along the horizontal axis in a coordinate graph; graphs the domain.

Algebra I. abscissa the distance along the horizontal axis in a coordinate graph; graphs the domain. Algebra I abscissa the distance along the horizontal axis in a coordinate graph; graphs the domain. absolute value the numerical [value] when direction or sign is not considered. (two words) additive inverse

More information

Notes. Relations. Introduction. Notes. Relations. Notes. Definition. Example. Slides by Christopher M. Bourke Instructor: Berthe Y.

Notes. Relations. Introduction. Notes. Relations. Notes. Definition. Example. Slides by Christopher M. Bourke Instructor: Berthe Y. Relations Slides by Christopher M. Bourke Instructor: Berthe Y. Choueiry Spring 2006 Computer Science & Engineering 235 Introduction to Discrete Mathematics Sections 7.1, 7.3 7.5 of Rosen cse235@cse.unl.edu

More information

Boolean Algebra CHAPTER 15

Boolean Algebra CHAPTER 15 CHAPTER 15 Boolean Algebra 15.1 INTRODUCTION Both sets and propositions satisfy similar laws, which are listed in Tables 1-1 and 4-1 (in Chapters 1 and 4, respectively). These laws are used to define an

More information

= A. Example 2. Let U = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10}, A = {4, 6, 7, 9, 10}, and B = {2, 6, 8, 9}. Draw the sets on a Venn diagram.

= A. Example 2. Let U = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10}, A = {4, 6, 7, 9, 10}, and B = {2, 6, 8, 9}. Draw the sets on a Venn diagram. MATH 109 Sets A mathematical set is a well-defined collection of objects A for which we can determine precisely whether or not any object belongs to A. Objects in a set are formally called elements of

More information

Section-A. Short Questions

Section-A. Short Questions Section-A Short Questions Question1: Define Problem? : A Problem is defined as a cultural artifact, which is especially visible in a society s economic and industrial decision making process. Those managers

More information

CS 173: Discrete Structures. Eric Shaffer Office Hour: Wed. 1-2, 2215 SC

CS 173: Discrete Structures. Eric Shaffer Office Hour: Wed. 1-2, 2215 SC CS 173: Discrete Structures Eric Shaffer Office Hour: Wed. 1-2, 2215 SC shaffer1@illinois.edu Agenda Sets (sections 2.1, 2.2) 2 Set Theory Sets you should know: Notation you should know: 3 Set Theory -

More information

More Sets Exercises with complete solutions

More Sets Exercises with complete solutions More Sets Exercises with complete solutions Introduction 1 Let us define the following sets: M = {males}, = {burglars}, S = {unsuccessful people}, P = {members of the police-force}, H = {happy people}where

More information

Fundamentals of Mathematics I

Fundamentals of Mathematics I Fundamentals of Mathematics I Kent State Department of Mathematical Sciences Fall 2008 Available at: http://www.math.kent.edu/ebooks/10031/book.pdf August 4, 2008 Contents 1 Arithmetic 2 1.1 Real Numbers......................................................

More information

3 PROBABILITY TOPICS

3 PROBABILITY TOPICS Chapter 3 Probability Topics 135 3 PROBABILITY TOPICS Figure 3.1 Meteor showers are rare, but the probability of them occurring can be calculated. (credit: Navicore/flickr) Introduction It is often necessary

More information

Study skills for mathematicians

Study skills for mathematicians PART I Study skills for mathematicians CHAPTER 1 Sets and functions Everything starts somewhere, although many physicists disagree. Terry Pratchett, Hogfather, 1996 To think like a mathematician requires

More information

Math Final Exam December 14, 2009 Page 1 of 5

Math Final Exam December 14, 2009 Page 1 of 5 Math 201-803-Final Exam December 14, 2009 Page 1 of 5 (3) 1. Evaluate the expressions: (a) 10 C 4 (b) 10 P 4 (c) 15!4! 3!11! (4) 2. (a) In how many ways can a president, a vice president and a treasurer

More information

Chapter Summary. Sets The Language of Sets Set Operations Set Identities Functions Types of Functions Operations on Functions Computability

Chapter Summary. Sets The Language of Sets Set Operations Set Identities Functions Types of Functions Operations on Functions Computability Chapter 2 1 Chapter Summary Sets The Language of Sets Set Operations Set Identities Functions Types of Functions Operations on Functions Computability Sequences and Summations Types of Sequences Summation

More information

The objects in a set are the elements or members of the set. Always enclose the elements of a set in curly brackets. is read is an element of

The objects in a set are the elements or members of the set. Always enclose the elements of a set in curly brackets. is read is an element of Math 166 (c)2013 Epstein Chapter 1 Page 1 Chapter 1: SETS ND PROBBILITY 1.1 Introduction to Sets set is a collection of objects. The objects in a set are the elements or members of the set. lways enclose

More information

Outline Inverse of a Relation Properties of Relations. Relations. Alice E. Fischer. April, 2018

Outline Inverse of a Relation Properties of Relations. Relations. Alice E. Fischer. April, 2018 Relations Alice E. Fischer April, 2018 1 Inverse of a Relation 2 Properties of Relations The Inverse of a Relation Let R be a relation from A to B. Define the inverse relation, R 1 from B to A as follows.

More information

SETS. JEE-Mathematics

SETS. JEE-Mathematics STS J-Mathematics ST : A set is a collection of well defined objects which are distinct from each other Set are generally denoted by capital letters A, B, C,... etc. and the elements of the set by a, b,

More information

Assignment #2 COMP 3200 Spring 2012 Prof. Stucki

Assignment #2 COMP 3200 Spring 2012 Prof. Stucki Assignment #2 COMP 3200 Spring 2012 Prof. Stucki 1) Construct deterministic finite automata accepting each of the following languages. In (a)-(c) the alphabet is = {0,1}. In (d)-(e) the alphabet is ASCII

More information

HW 4 SOLUTIONS. , x + x x 1 ) 2

HW 4 SOLUTIONS. , x + x x 1 ) 2 HW 4 SOLUTIONS The Way of Analysis p. 98: 1.) Suppose that A is open. Show that A minus a finite set is still open. This follows by induction as long as A minus one point x is still open. To see that A

More information

Section F Ratio and proportion

Section F Ratio and proportion Section F Ratio and proportion Ratio is a way of comparing two or more groups. For example, if something is split in a ratio 3 : 5 there are three parts of the first thing to every five parts of the second

More information

Sets. 1.1 What is a set?

Sets. 1.1 What is a set? Section 1 Sets 1 Sets After working through this section, you should be able to: (a) use set notation; (b) determine whether two given sets are equal and whether one given set is a subset of another; (c)

More information

Homework every week. Keep up to date or you risk falling behind. Quizzes and Final exam are based on homework questions.

Homework every week. Keep up to date or you risk falling behind. Quizzes and Final exam are based on homework questions. Week 1 Fall 2016 1 of 25 CISC-102 Fall 2016 Week 1 David Rappaport daver@cs.queensu.ca Goodwin G-532 Office Hours: Monday 1:00-3:00 (or by appointment) Homework Homework every week. Keep up to date or

More information

CISC-102 Fall 2017 Week 1 David Rappaport Goodwin G-532 Office Hours: Tuesday 1:30-3:30

CISC-102 Fall 2017 Week 1 David Rappaport Goodwin G-532 Office Hours: Tuesday 1:30-3:30 Week 1 Fall 2017 1 of 42 CISC-102 Fall 2017 Week 1 David Rappaport daver@cs.queensu.ca Goodwin G-532 Office Hours: Tuesday 1:30-3:30 Homework Homework every week. Keep up to date or you risk falling behind.

More information

Packet #2: Set Theory & Predicate Calculus. Applied Discrete Mathematics

Packet #2: Set Theory & Predicate Calculus. Applied Discrete Mathematics CSC 224/226 Notes Packet #2: Set Theory & Predicate Calculus Barnes Packet #2: Set Theory & Predicate Calculus Applied Discrete Mathematics Table of Contents Full Adder Information Page 1 Predicate Calculus

More information

In this initial chapter, you will be introduced to, or more than likely be reminded of, a

In this initial chapter, you will be introduced to, or more than likely be reminded of, a 1 Sets In this initial chapter, you will be introduced to, or more than likely be reminded of, a fundamental idea that occurs throughout mathematics: sets. Indeed, a set is an object from which every mathematical

More information

Economics 204 Fall 2011 Problem Set 1 Suggested Solutions

Economics 204 Fall 2011 Problem Set 1 Suggested Solutions Economics 204 Fall 2011 Problem Set 1 Suggested Solutions 1. Suppose k is a positive integer. Use induction to prove the following two statements. (a) For all n N 0, the inequality (k 2 + n)! k 2n holds.

More information

Chapter-2 SETS In Mathematics, Set theory was developed by George Cantor ( ).

Chapter-2 SETS In Mathematics, Set theory was developed by George Cantor ( ). Chapter-2 SETS In Mathematics, Set theory was developed by George Cantor (1845 1918). Set: A well defined collections of objects is called a Set. Well defined means that (i) (ii) All the objects in the

More information

Stat 451: Solutions to Assignment #1

Stat 451: Solutions to Assignment #1 Stat 451: Solutions to Assignment #1 2.1) By definition, 2 Ω is the set of all subsets of Ω. Therefore, to show that 2 Ω is a σ-algebra we must show that the conditions of the definition σ-algebra are

More information

Math Lecture 3 Notes

Math Lecture 3 Notes Math 1010 - Lecture 3 Notes Dylan Zwick Fall 2009 1 Operations with Real Numbers In our last lecture we covered some basic operations with real numbers like addition, subtraction and multiplication. This

More information

Modern Algebra Prof. Manindra Agrawal Department of Computer Science and Engineering Indian Institute of Technology, Kanpur

Modern Algebra Prof. Manindra Agrawal Department of Computer Science and Engineering Indian Institute of Technology, Kanpur Modern Algebra Prof. Manindra Agrawal Department of Computer Science and Engineering Indian Institute of Technology, Kanpur Lecture 02 Groups: Subgroups and homomorphism (Refer Slide Time: 00:13) We looked

More information

R1: Sets A set is a collection of objects sets are written using set brackets each object in onset is called an element or member

R1: Sets A set is a collection of objects sets are written using set brackets each object in onset is called an element or member Chapter R Review of basic concepts * R1: Sets A set is a collection of objects sets are written using set brackets each object in onset is called an element or member Ex: Write the set of counting numbers

More information

Set Theory Basics of Set Theory. 6.2 Properties of Sets and Element Argument. 6.3 Algebraic Proofs 6.4 Boolean Algebras.

Set Theory Basics of Set Theory. 6.2 Properties of Sets and Element Argument. 6.3 Algebraic Proofs 6.4 Boolean Algebras. 9/6/17 Mustafa Jarrar: Lecture Notes in Discrete Mathematics. Birzeit University Palestine 2015 Set Theory 6.1. Basics of Set Theory 6.2 Properties of Sets and Element Argument 6.3 Algebraic Proofs 6.4

More information

Boolean Algebra and Digital Logic

Boolean Algebra and Digital Logic All modern digital computers are dependent on circuits that implement Boolean functions. We shall discuss two classes of such circuits: Combinational and Sequential. The difference between the two types

More information

CHAPTER 3: THE INTEGERS Z

CHAPTER 3: THE INTEGERS Z CHAPTER 3: THE INTEGERS Z MATH 378, CSUSM. SPRING 2009. AITKEN 1. Introduction The natural numbers are designed for measuring the size of finite sets, but what if you want to compare the sizes of two sets?

More information

Basic counting techniques. Periklis A. Papakonstantinou Rutgers Business School

Basic counting techniques. Periklis A. Papakonstantinou Rutgers Business School Basic counting techniques Periklis A. Papakonstantinou Rutgers Business School i LECTURE NOTES IN Elementary counting methods Periklis A. Papakonstantinou MSIS, Rutgers Business School ALL RIGHTS RESERVED

More information

Welcome to CS103! Three Handouts Today: Course Overview Introduction to Set Theory The Limits of Computation

Welcome to CS103! Three Handouts Today: Course Overview Introduction to Set Theory The Limits of Computation Welcome to CS103! Three Handouts Today: Course Overview Introduction to Set Theory The Limits of Computation Course Staff Keith Schwarz (htiek@cs.stanford.edu) Rakesh Achanta (rakesha@stanford.edu) Kyle

More information

Sets and Motivation for Boolean algebra

Sets and Motivation for Boolean algebra SET THEORY Basic concepts Notations Subset Algebra of sets The power set Ordered pairs and Cartesian product Relations on sets Types of relations and their properties Relational matrix and the graph of

More information

INTRODUCTION TO THE GROUP THEORY

INTRODUCTION TO THE GROUP THEORY Lecture Notes on Structure of Algebra INTRODUCTION TO THE GROUP THEORY By : Drs. Antonius Cahya Prihandoko, M.App.Sc e-mail: antoniuscp.fkip@unej.ac.id Mathematics Education Study Program Faculty of Teacher

More information

Set theory. Math 304 Spring 2007

Set theory. Math 304 Spring 2007 Math 304 Spring 2007 Set theory Contents 1. Sets 2 1.1. Objects and set formation 2 1.2. Unions and intersections 3 1.3. Differences 4 1.4. Power sets 4 1.5. Ordered pairs and binary,amscdcartesian products

More information

Set Theory. CSE 215, Foundations of Computer Science Stony Brook University

Set Theory. CSE 215, Foundations of Computer Science Stony Brook University Set Theory CSE 215, Foundations of Computer Science Stony Brook University http://www.cs.stonybrook.edu/~cse215 Set theory Abstract set theory is one of the foundations of mathematical thought Most mathematical

More information

Discrete Mathematics: Lectures 6 and 7 Sets, Relations, Functions and Counting Instructor: Arijit Bishnu Date: August 4 and 6, 2009

Discrete Mathematics: Lectures 6 and 7 Sets, Relations, Functions and Counting Instructor: Arijit Bishnu Date: August 4 and 6, 2009 Discrete Mathematics: Lectures 6 and 7 Sets, Relations, Functions and Counting Instructor: Arijit Bishnu Date: August 4 and 6, 2009 Our main goal is here is to do counting using functions. For that, we

More information

Mathematics Review for Business PhD Students Lecture Notes

Mathematics Review for Business PhD Students Lecture Notes Mathematics Review for Business PhD Students Lecture Notes Anthony M. Marino Department of Finance and Business Economics Marshall School of Business University of Southern California Los Angeles, CA 90089-0804

More information

MATH 13 SAMPLE FINAL EXAM SOLUTIONS

MATH 13 SAMPLE FINAL EXAM SOLUTIONS MATH 13 SAMPLE FINAL EXAM SOLUTIONS WINTER 2014 Problem 1 (15 points). For each statement below, circle T or F according to whether the statement is true or false. You do NOT need to justify your answers.

More information

Sets and Functions. (As we will see, in describing a set the order in which elements are listed is irrelevant).

Sets and Functions. (As we will see, in describing a set the order in which elements are listed is irrelevant). Sets and Functions 1. The language of sets Informally, a set is any collection of objects. The objects may be mathematical objects such as numbers, functions and even sets, or letters or symbols of any

More information