Set Notation.

Slides:



Advertisements
Similar presentations
Learning Objectives for Section 7.2 Sets
Advertisements

Lecture 2 Introduction To Sets CSCI – 1900 Mathematics for Computer Science Fall 2014 Bill Pine.
Basic Structures: Sets, Functions, Sequences, Sums, and Matrices
Basic Structures: Sets, Functions, Sequences, Sums, and Matrices
Sets DISCRETE STRUCTURE ABDUL BASIT TAHIR, KAMRAN ALI, FAIZAN ILLAHI, NOMAN AHMAD, ARSALAN MUBASHIR.
Analytical Methods in CS (CIS 505)
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.
Slide 2-1 Copyright © 2005 Pearson Education, Inc. SEVENTH EDITION and EXPANDED SEVENTH EDITION.
Chapter 2 The Basic Concepts of Set Theory
Chapter 2 The Basic Concepts of Set Theory © 2008 Pearson Addison-Wesley. All rights reserved.
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.
This section will discuss the symbolism and concepts of set theory
Real Numbers and Algebraic Expressions
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.
CompSci 102 Discrete Math for Computer Science
1 Copyright © 2015, 2011, 2007 Pearson Education, Inc. Chapter 1-1 Basic Concepts Chapter 1.
Slide Chapter 2 Sets. Slide Set Concepts.
Copyright © Cengage Learning. All rights reserved.
Unit 2 Sets.
Section 2.1. Section Summary Definition of sets Describing Sets Roster Method Set-Builder Notation Some Important Sets in Mathematics Empty Set and Universal.
Copyright © 2010 Pearson Education, Inc. All rights reserved Sec
ELEMENTARY SET THEORY.
Set Operations Chapter 2 Sec 3. Union What does the word mean to you? What does it mean in mathematics?
Sets and Set Notation What are sets? A set is a collection of things. The "things" in the set are called the "elements”. A set is represented by listing.
Chapter 2 With Question/Answer Animations. Section 2.1.
Chapter P Prerequisites: Fundamental Concepts of Algebra 1 Copyright © 2014, 2010, 2007 Pearson Education, Inc. 1 P.1 Algebraic Expressions, Mathematical.
Real Numbers Natural Numbers – {1,2,3,4,5,6….}
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.
Sets Definition: A set is an unordered collection of objects, called elements or members of the set. A set is said to contain its elements. We write a.
Section 1Chapter 1. 1 Copyright © 2012, 2008, 2004 Pearson Education, Inc. Objectives Basic Concepts Write sets using set notation. Use number.
Set Operations Section 2.2.
Sets. The Universal & Complement Sets Let the Universal Set be U U = { 1, 2, 3, 4, 5, 6, 7, 8, 9} and a set A = { 2,3,4,5,6}. Then, the complement.
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.
Chapter 2 1. Chapter Summary Sets (This Slide) The Language of Sets - Sec 2.1 – Lecture 8 Set Operations and Set Identities - Sec 2.2 – Lecture 9 Functions.
Sets and Operations TSWBAT apply Venn diagrams in problem solving; use roster and set-builder notation; find the complement of a set; apply the set operations.
CPCS 222 Discrete Structures I
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.
Sets Finite 7-1.
Chapter 2 Sets and Functions.
The Language of Sets If S is a set, then
Copyright © 2014, 2010, 2007 Pearson Education, Inc.
Set, Combinatorics, Probability & Number Theory
The Basic Concepts of Set Theory
Copyright © 2014, 2010, 2007 Pearson Education, Inc.
Taibah University College of Computer Science & Engineering Course Title: Discrete Mathematics Code: CS 103 Chapter 2 Sets Slides are adopted from “Discrete.
CS100: Discrete structures
Set and Set Operations Grab a sheet from front.
        { } Sets and Venn Diagrams Prime Numbers Even Numbers
Algebra 1 Section 1.1.
The Basic Concepts of Set Theory
Chapter 1 Section 1.
Set-Builder Notation.
SEVENTH EDITION and EXPANDED SEVENTH EDITION
CHAPTER 1 - Sets and Intervals
Chapter 2 The Basic Concepts of Set Theory
CHAPTER 1 - Sets and Intervals
Precalculus Essentials
SETS Sets are denoted by Capital letters Sets use “curly” brackets
2 Chapter Numeration Systems and Sets
Chapter 2 The Basic Concepts of Set Theory
Chapter 7 Logic, Sets, and Counting
2.1 – Symbols and Terminology
Introduction A set is a collection of objects.
Presentation transcript:

Set Notation

Set Notation Essential Question How is set notation used to denote elements of a set?

This section will discuss the symbolism and concepts of set theory Sets This section will discuss the symbolism and concepts of set theory

Set Properties and Set Notation Definition: A set is any collection of objects specified in such a way that we can determine whether a given object is or is not in the collection. Notation: e  A means “e is an element of A”, or “e belongs to set A”. The notation e  A means “e is not an element of A”.

Set Properties and Set Notation (continued) Example. A is the set of all the letters in the alphabet. We write that as A = { a, b, c, d, e, …, z}. We use capital letters to represent sets. We list the elements of the set within braces. The three dots … indicate that the pattern continues. This is called the roster method of specifying the set. A is a set because we can determine whether an object is or is not in the collection. For example, 3  A.

Null Set Example. What are the real number solutions of the equation

Null Set Example. What are the real number solutions of the equation Answer: There are no real number solutions of this equation since no real number squared added to one can ever equal 0. We represent the solution as the null set, written { } or .

Set Builder Notation Sometimes it is convenient to represent sets using set builder notation. For example, instead of representing the set A (letters in the alphabet) by the roster method, we can use A = {x | x is a letter of the English alphabet} which means the same as A = {a , b, c, d, e, …, z} Example. {x | x2 = 9} = {3, -3} This is read as “the set of all x such that the square of x equals 9.” This set consists of the two numbers 3 and -3.

Subsets A is a subset of B if every element of A is also contained in B. This is written A  B. For example, the set of integers { …-3, -2, -1, 0, 1, 2, 3, …} is a subset of the set of real numbers. Formal Definition: A  B means “if x  A, then x  B.”

Subsets (continued) Claim: Ø (the null set) is a subset of every set. To verify this statement, pick an arbitrary set A, and apply the definition of subset: If x  , then x  A. Since the null set contains no elements, the statement x   is false. We know that p  q is true if p is false. Since p is false, we conclude that the conditional statement is true. Therefore, the null set is a subset of every set.

Number of Subsets Example: List all the subsets of set A = {bird, cat, dog} For convenience, we will use the notation A = {b, c, d} to represent set A.

Number of Subsets Example: List all the subsets of set A = {bird, cat, dog} For convenience, we will use the notation A = {b, c, d} to represent set A. Solution: Ø is a subset of A. We also know that every set is a subset of itself, so A = {b, c, d} is a subset of set A. What two-element subsets are there? {b, c}, {b, d}, {c, d} What one-element subsets? {b}, {c} and {d} . There are a total of 8 subsets of set A.

Union of Sets The union of two sets A and B is the set of all elements formed by combining all the elements of set A and all the elements of set B into one set. It is written A  B. In the Venn diagram on the left, the union of A and B is the entire region shaded. B A

Example of Union The union of the rational numbers with the set of irrational numbers is the set of real numbers. Rational numbers are those numbers that can be expressed as fractions, while irrational numbers are numbers that cannot be represented exactly as fractions, such as . Irrational numbers such as square root of two, pi , square root of 3 Rational numbers, such as ¾, 2/3 , 0.6 Real numbers: represented by entire shaded region

Intersection of Sets The intersection of two sets A and B is the set of all elements that are common to both A and B. It is written A  B. In the Venn diagram on the left, the intersection of A and B is the shaded region. B A

Disjoint Sets If two sets have no elements in common, they are said to be disjoint. Two sets A and B are disjoint if A  B = . Example: The rational and irrational numbers are disjoint.

The Universal Set The set of all elements under consideration is called the universal set U. For example, when discussing numbers, the universal set may consist of the set of real numbers. All other types of numbers (integers, rational numbers, irrational numbers ) are subsets of the universal set of real numbers.

The Complement of a Set The complement of a set A is defined as the set of elements that are contained in U, the universal set, but not contained in set A. The symbolism and notation for the complement of set A are In the Venn diagram on the left, the rectangle represents the universe. A is the shaded area outside the set A.

Application A marketing survey of 1,000 commuters found that 600 answered listen to the news, 500 listen to music, and 300 listen to both. Let N = set of commuters in the sample who listen to news and M = set of commuters in the sample who listen to music. Find the number of commuters in the set The number of elements in a set A is denoted by n(A), so in this case we are looking for

Solution The study is based on 1000 commuters, so n(U)=1000. The number of elements in the four sections in the Venn diagram need to add up to 1000. The red part represents the commuters who listen to both news and music. It has 300 elements. The set N (news listeners) consists of a green part and a red part. N has 600 elements, the red part has 300, so the green part must also be 300. Continue in this fashion.

Solution (continued) U 200 people listen to neither news nor music is the green part, which contains 300 commuters. M N 300 listen to news but not music. 200 listen to music but not news 300 listen to both music and news