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.

Slides:



Advertisements
Similar presentations
Learning Objectives for Section 7.2 Sets
Advertisements

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.
Statements and Reasoning
Introduction to Set Theory
A veterinarian surveys 26 of his patrons
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.
Basic Probability Sets, Subsets Sample Space Event, E Probability of an Event, P(E) How Probabilities are assigned Properties of Probabilities.
Math for Elementary Teachers
Denoting the beginning
SET.   A set is a collection of elements.   Sets are usually denoted by capital letters A, B, Ω, etc.   Elements are usually denoted by lower case.
Chapter 5 Section 1 Sets Basics Set –Definition: Collection of objects –Specified by listing the elements of the set inside a pair of braces. –Denoted.
Chapter 2 The Basic Concepts of Set Theory
Set Theory.
Chapter 2 The Basic Concepts of Set Theory © 2008 Pearson Addison-Wesley. All rights reserved.
Set Theory: Using Venn Diagrams Universal Set (U): the set of all elements under consideration. #1) U = {prime.
1 Learning Objectives for Section 7.2 Sets After today’s lesson, you should be able to Identify and use set properties and set notation. Perform set operations.
Survey of Mathematical Ideas Math 100 Chapter 2
Survey of Mathematical Ideas Math 100 Chapter 2 John Rosson Thursday January 25, 2007.
SET Miss.Namthip Meemag Wattanothaipayap School. Definition of Set Set is a collection of objects, things or symbols. There is no precise definition for.
Set Notation.
©1999 Indiana University Trustees Basic Set Theory Definitions A set is a collection of objects or elements An element is an object that make up a set.
Objectives: By the end of class, I will be able to:  Identify sets  Understand subsets, intersections, unions, empty sets, finite and infinite sets,
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.
Definition and Representation A set is a well-defined collection of objects; The objects are called elements or members of the set; A set can be represented.
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)
Chapter 7 Logic, Sets, and Counting Section 2 Sets.
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.
CS201: Data Structures and Discrete Mathematics I
Slide Chapter 2 Sets. Slide Set Concepts.
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.
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.
Definition of a Set DM is study of discrete structures. Fundamental discrete structure upon which most of other discrete structures are built is the sets.
Module Code MA1032N: Logic Lecture for Week Autumn.
Set Notation and Description Kinds of Sets Operations on Sets By: Mr. Gerzon B. Mascariñas.
CSNB143 – Discrete Structure Topic 1 - Set. Topic 1 - Sets Learning Outcomes – Student should be able to identify sets and its important components. –
Sets & venn diagrams; probability
Discrete Mathematics Lecture # 10. Set Theory  A well defined collection of {distinct} objects is called a set.  The objects are called the elements.
Venn Diagrams.
Quiz – last week on the month both Algebra and Geometry Algebra range – Permutation, Combinations, Systems of Linear Inequalities, Linear Programming.
Welcome to Form 4 Mathematics Topic for the day SETS.
Sets. What is a set? Have you heard the word ‘set’ before? Can you think of sets you might have at home? A set is a well-defined collection or group of.
Notions & Notations (2) - 1ICOM 4075 (Spring 2010) UPRM Department of Electrical and Computer Engineering University of Puerto Rico at Mayagüez Spring.
MATH 2311 Section 2.2. Sets and Venn Diagrams A set is a collection of objects. Two sets are equal if they contain the same elements. Set A is a subset.
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.
Introduction to Sets Definition, Basic and Properties of Sets
Thinking Mathematically Venn Diagrams and Subsets.
Set Theorem By Derek Mok, Alex Yau, Henry Tsang and Tommy Lee.
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.
The set of whole numbers less than 7 is {1, 2, 3, 4, 5, 6}
Sets Page 746.
CHAPTER 3 SETS, BOOLEAN ALGEBRA & LOGIC CIRCUITS
Set, Combinatorics, Probability & Number Theory
ALGEBRA II H/G - SETS : UNION and INTERSECTION
Set and Set Operations Grab a sheet from front.
        { } Sets and Venn Diagrams Prime Numbers Even Numbers
SEVENTH EDITION and EXPANDED SEVENTH EDITION
ALGEBRA I - SETS : UNION and INTERSECTION
SETS Sets are denoted by Capital letters Sets use “curly” brackets
Chapter 7 Logic, Sets, and Counting
ALGEBRA II H/G - SETS : UNION and INTERSECTION
Sets A set is simply any collection of objects
Number Talk What is a Number Talk?
Introduction A set is a collection of objects.
Presentation transcript:

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 of well defined objects, so that given an object we should be able to say whether it is a member of the set or not. For example, the items we wear: these would include shoes, socks, hat, shirt, pants, and so on.

Obviously if somebody asks whether a ‘leg’ belongs to this collection, the answer is ‘no’. But if it is asked whether a ‘vest’ belongs to this collection, the answer is ‘yes’. Another example is types of fingers of the left hand: these are index, middle, ring, and pinky. The third example is all 26 English letters: these are a, b, c,..

Notation There is a fairly simple notation for sets. We simply list each element, separated by a comma, and then put some curly brackets around the whole thing. Notations for the above sets are the following: {socks, shoes, watches, shirts,...} {index, middle, ring, pinky} {a, b, c,..., x, y, z}

Numerical Sets Set of even numbers: {..., -4, -2, 0, 2, 4,...} (infinite set) Set of odd numbers: {..., -3, -1, 1, 3,...} (infinite set) Set of prime numbers: {2, 3, 5, 7, 11, 13,,...} (infinite set) Positive multiples of 3 that are less than 10: {3, 6, 9} (finite set)

Some standard notations Usually a set is denoted by a capital letter, but an element of the set is denoted by a small letter. Thus ‘A’ denotes a set, but ‘a’ denotes an element of the set A. If a belongs to A, we denote it by the symbol If a does not belong to A, we denote it by the symbol

Equality of sets Equality of two subsets: If A and B are two sets such that every element of A is an element of B, and every element of B is an element of A, then the two sets A and B are equal. It is denoted by A = B. Example: A is the set whose members are the first four positive whole numbers and B = {4, 2, 1, 3}

Proper and improper subsets A set A is called a proper subset of B if every element of A is an element of B, but A is not whole of B. It is denoted by. Similarly a set B is called a proper subset of A if every element of B is an element of A, but B is not whole of A. It is denoted by

A set A is called an improper subset of B if every element of A is an element of B, where A may be whole of B. It is denoted by In particular, A is an improper subset of A. It is denoted by If A is a subset of B, then B is called a superset of A. is called ‘inclusion’ and is called ‘containing’. Thus A is included in B, but B contains A.

Examples 1. Is A a subset of B?, or B a subset of A, where A = {1, 3, 4} and B = {1, 4, 3, 2}? 2. Let A be all multiples of 4 and B be all multiples of 2. Is A a subset of B? and is B a subset of A? A = {..., -8, -4, 0, 4, 8,...} B = {..., -8, -6, -4, -2, 0, 2, 4, 6, 8,...}

Universal set and null set If we consider infinite number of subsets Then to make the process meaningful, we are to consider existence of a set U such that The set U is called the universal set. In fact, all sets are contained in U.

If we consider infinite number of subsets Then to make the process meaningful, we are to consider existence of a set such that The set is called a null set or an empty set. In fact, it is contained in every set.

Power set Power set of a set A is the collection of all its subsets. Example: Power set of {1,2,3} These are three point set {1,2,3}, one in number; two point sets {1,2}, {1,3}, {2,3}, three in number; one point set {1}, {2}, {3}, three in number and the single null set Total number of subsets is. In general the power set of a set of n elements is

Example of voting primaries

OPERATIONS ON SETS Sets can be combined in a number of different ways to produce another set. Here four basic operations are introduced. Definition (Union): The union of sets A and B, denoted by A B, is the set defined as A B = { x | x A or x B or to both}

Example 1: If A = {1, 2, 3} and B = {4, 5} then A B = {1, 2, 3, 4, 5}. Example 2: If A = {1, 2, 3} and B = {1, 2, 4, 5}, then A B = {1, 2, 3, 4, 5}. Definition (Intersection): The intersection of sets A and B, denoted by A B, is the set defined as A B = { x | x A and x B }

Example 3: If A = {1, 2, 3} and B = {1, 2, 4, 5}, then A B = {1, 2}. Example 4: If A = {1, 2, 3} and B = {4, 5}, then A B =. Definition (Difference): The difference of sets A from B, denoted by A - B, is the set defined as A - B = { x | x A and x B }

Example 5: If A = {1, 2, 3} and B = {1, 2, 4, 5}, then A - B = {3}. Example 6: If A = {1, 2, 3} and B = {4, 5}, then A - B = {1, 2, 3}. Note that in general A - B B - A

Definition (Complement): For a set A, the difference U - A, where U is the universal set, is called the complement of A and it is denoted by. It is the set of everything that is not in A.

VENN DIAGRAM

Complement of P

P-Q

Example of P-Q

Solve the following problems with the use of a Venn diagram. 1. In a class of 50 students, 18 take Chorus, 26 take Band, and 2 take both Chorus and Band. How many students in the class are not enrolled in either Chorus or Band? [Ans. 8] x = x = 50 x = 8 students

2. In a school of 320 students, 85 students are in the band, 200 students are on sports teams, and 60 students participate in both activities. How many students are involved in either band or sports? [Ans. 225] = 225 There are 225 students involved in either band or sports.

3. A veterinarian surveys 26 of his patrons. He discovers that 14 have dogs, 10 have cats, and 5 have fish. Four have dogs and cats, 3 have dogs and fish, and one has a cat and fish. If no one has all three kinds of pets, how many patrons have none of these pets? [Ans.5] x = x = 26 x = 5 patrons have none of these animals

4. A guidance counselor is planning schedules for 30 students. Sixteen students say they want to take French, 16 want to take Spanish, and 11 want to take Latin. Five say they want to take both French and Latin, and of these, 3 wanted to take Spanish as well. Five want only Latin, and 8 want only Spanish. How many students want French only? [Ans.7] x = 30 x + 23 = 30 x = 7

More examples of sets and Venn diagrams Ten Best Friends You could have a set made up of your ten best friends: {alex, blair, casey, drew, erin, francis, glen, hunter, ira, jade} Each friend is an "element" (or "member") of the set Now let's say that alex, casey, drew and hunter play Soccer: Soccer = {alex, casey, drew, hunter} (The Set "Soccer" is made up of the elements alex, casey, drew and hunter).

And casey, drew and jade play Tennis: Tennis = {casey, drew, jade} Soccer ∪ Tennis = {alex, casey, drew, hunter, jade} Soccer ∩ Tennis = {casey, drew}

Soccer − Tennis = {alex, hunter} Volleyball = {drew, glen, jade} S means the set of Soccer players T means the set of Tennis players V means the set of Volleyball players

Drew plays Soccer, Tennis and Volleyball jade plays Tennis and Volleyball alex and hunter play Soccer, but don't play Tennis or Volleyball no-one plays only Tennis

S = {alex, casey, drew, hunter} T ∪ V = {casey, drew, jade, glen} S ∩ V = {drew} (S ∩ V) − T = { }