Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
SlideShare a Scribd company logo
Lecture 7

Set Theory
Course Teachers:
Md. Moazzem Hossain, Assistant Professor, CSE (BAUST)
2
Set Theory
Set Basics
Set Terminologies
Venn Diagram
Page  3
Set Theory
3
Page  4
Set Basics
Examination [5]
1. What is Set?
2. State whether the sets in each pair are equal or not.
a) {a, b, c, d} and {a, c, d, b}
b) {2, 4, 6} and {x | x is an even number, 0<x<8}

Recommended for you

General Mathematis with the Topic of SETs Story
General Mathematis with the Topic of SETs StoryGeneral Mathematis with the Topic of SETs Story
General Mathematis with the Topic of SETs Story

General Mathematics Concepts

general mathssets story
Discrete Structure Mathematics lecture 1
Discrete Structure Mathematics lecture 1Discrete Structure Mathematics lecture 1
Discrete Structure Mathematics lecture 1

The document summarizes key concepts in discrete mathematics including sets, operations on sets, functions, sequences, and counting techniques. It defines what a set is, ways to describe sets, and set operations like unions and intersections. Examples are given of common sets like integers, rational numbers, and real numbers. Subsets, the empty set, cardinality (size) of sets, and Venn diagrams are also explained.

discrete mathematicssetscommon sets
Sets in Maths (Complete Topic)
Sets in Maths (Complete Topic)Sets in Maths (Complete Topic)
Sets in Maths (Complete Topic)

Sections Included: 1. Collection 2. Types of Collection 3. Sets 4. Commonly used Sets in Maths 5. Notation 6. Different Types of Sets 7. Venn Diagram 8. Operation on sets 9. Properties of Union of Sets 10. Properties of Intersection of Sets 11. Difference in Sets 12. Complement of Sets 13. Properties of Complement Sets 14. De Morgan’s Law 15. Inclusion Exclusion Principle

collectionsetsnotation
Page  5
Set Basics
Definition
A set is an unordered collection of objects, called elements or members
of the set. A set is said to contain its elements.
Example
People in a class: {Jui, Sujit, Salman, Koni}
Districts in the BD : {Rajshahi, Dhaka, Nator, … }
Sets can contain non-related elements: {3, a, Potato}
All positive numbers less than or equal to 5: {1, 2, 3, 4, 5}
Page  6
Set Basics
Definition
A set is an unordered collection of objects, called elements or members
of the set. A set is said to contain its elements.
Example
People in a class: {Soumita, Moumita, Taohid, Shahriar….}
Districts in the BD : {Rajshahi, Dhaka, Nator, … }
Sets can contain non-related elements: {3, a, Potato}
All positive numbers less than or equal to 5: {1, 2, 3, 4, 5}
Page  7
Set Basics
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 ∈ A to denote that a is an element of the set A. (∈ = belongs to)
• The notation a ∈ A denotes that a is not an element of the set A. ( ∉ =
not belongs to)
Page  8
Set Basics
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 ∈ Ato denote that a is an element of the set A. (∈ = belongs to)
• The notation a ∈ A denotes that a is not an element of the set A. ( ∉ =
not belongs to)
• It is common for SETS to be denoted using uppercase letters.
• Lowercase letters are usually used to denote elements of sets.

Recommended for you

Set
SetSet
Set

This document introduces some basic concepts of set theory, including: 1) Defining sets by listing elements or describing properties. Common sets include real numbers, integers, etc. 2) Basic set operations like union, intersection, difference, and complement. 3) Relationships between sets like subset, proper subset, and equality. 4) Other concepts like partitions, power sets, and Cartesian products involving ordered pairs from multiple sets.

 
by H K
operationsset theory
INTRODUCTION TO SETS.pptx
INTRODUCTION TO SETS.pptxINTRODUCTION TO SETS.pptx
INTRODUCTION TO SETS.pptx

The document introduces basic concepts of set theory, including: - A set is a collection of distinct objects called elements or members. - Special sets include the natural numbers, integers, rational numbers, and real numbers. - Types of sets include subsets, equal sets, empty sets, singleton sets, finite sets, infinite sets, disjoint sets, power sets, and universal sets. - Cardinal numbers represent the number of elements in a set.

#sumitmalviya #mathematics
SetTheory.ppt
SetTheory.pptSetTheory.ppt
SetTheory.ppt

1. Set theory deals with operations between, relations among, and statements about sets. 2. A set is an unordered collection of distinct objects that can be defined by listing its elements or using set-builder notation. 3. Basic set operations include union, intersection, difference, and complement. The union of sets A and B contains all elements that are in A, B, or both. The intersection contains all elements that are in both A and B.

Page  9
Set and Elements
9
Let, A = { 1, a, e, u, i, o, 2, 3}
• Name of the Set?
• 1 ∉ 𝐴 (true or false)
• a ∈ A (true or false)
Page  10
How to describe a Set?
10
Three popular methods
1. Word description
Set of even counting numbers less than 10
2. The listing method / Roster method
{2, 4, 6, 8}
3. Set-builder notation
{x | x is an even counting number less than 10}
Page  11
How to describe a Set?
11
1. Word description
• Make a word description of the set.
1. Multiples of ten between ten and hundred inclusively
={10, 20,30,40,50,60,70,80,90,100}
2. The counting number multiples of 5 that are less than 35
={5,10,15,20,25,30}
Page  12
How to describe a Set?
12
2. The Listing/Roster Method
• Represented by listing its elements between braces {}
• Example : 𝐴 = { 1, 2, 3, 4}
• Sometime use ellipses (...) rather than listing all elements.
• The set of positive integers less than 100 can be denoted by
{1,2,3,...,99}.

Recommended for you

SetTheory.ppt
SetTheory.pptSetTheory.ppt
SetTheory.ppt

1. Set theory deals with operations between, relations among, and statements about sets. 2. A set is an unordered collection of distinct objects that can be defined by listing its elements or using set-builder notation. 3. Basic set operations include union, intersection, difference, and complement. The union of sets A and B contains all elements that are in A, B, or both. The intersection contains all elements that are in both A and B.

set
Introduction to set theory with application
Introduction to set theory with applicationIntroduction to set theory with application
Introduction to set theory with application

A set is a structure, representing an unordered collection (group, plurality) of zero or more distinct (different) objects. Set theory deals with operations between, relations among, and statements about sets

1. set theory
1. set theory1. set theory
1. set theory

1. Set theory deals with operations between, relations among, and statements about sets. 2. A set is an unordered collection of distinct objects that can be defined by listing its elements or using set-builder notation. 3. Basic set operations include union, intersection, difference, and complement. The union of sets A and B contains all elements that are in A, B, or both. The intersection contains all elements that are in both A and B.

Page  13
How to describe a Set?
13
3. Set-builder notation
• characterize all elements in the set by stating the property or properties they must have
to be members.
• the set O of all odd positive integers less than 10 can be written as
O = { x | x is an odd positive integer less than 10 }
O = { x ∈ Z+ | x is odd and x < 10 }
Example: B = {x | x is an even integer, x > 0}
• Read as- “B is the set of x such that x is an even integer and x is greater than 0”
• | is read as “such that” and comma as “and”.
Page  14
How to describe a Set?
14
3. Set-builder notation with interval
• the notation for intervals of real numbers. When a and b are real
numbers with a < b, we write
• [a, b] = {x | a ≤ x ≤ b}
• [a, b) = {x | a ≤ x < b}
• (a, b] = {x | a < x ≤ b}
• (a, b) = {x | a < x < b}
• Note that [a, b] is called the closed interval from a to b and (a, b) is
called the open interval from a to b.
Page  15
• N = {0, 1, 2, 3, …} is the set of natural numbers
• Z = {…, -2, -1, 0, 1, 2, …} is the set of integers
• Z+ = {1, 2, 3, …} is the set of positive integers (a.k.a whole numbers)
– Note that people disagree on the exact definitions of whole numbers and natural numbers
• Q = {p/q | p  Z, q  Z, q ≠ 0} is the set of rational numbers
– Any number that can be expressed as a fraction of two integers (where the bottom one is not zero)
• R is the set of real numbers
• R+ the set of positive real numbers
• C the set of complex numbers.
15
Often used sets
Page  16
16
Venn Diagram of used sets

Recommended for you

A set is a structure, representing an unordered collection (group, plurality)...
A set is a structure, representing an unordered collection (group, plurality)...A set is a structure, representing an unordered collection (group, plurality)...
A set is a structure, representing an unordered collection (group, plurality)...

The lecture presents an introduction to set theory. All fundamentals of the topic were discussed using an easy grasp approach.

sets and their introduction and their exercises.pptx
sets and their introduction and their exercises.pptxsets and their introduction and their exercises.pptx
sets and their introduction and their exercises.pptx

sets and their introduction and their exercises

educationasset management
Discrete Math Chapter 2: Basic Structures: Sets, Functions, Sequences, Sums, ...
Discrete Math Chapter 2: Basic Structures: Sets, Functions, Sequences, Sums, ...Discrete Math Chapter 2: Basic Structures: Sets, Functions, Sequences, Sums, ...
Discrete Math Chapter 2: Basic Structures: Sets, Functions, Sequences, Sums, ...

1) The document summarizes key concepts from a discrete mathematics course including sets, operations on sets, functions, sequences, and sums. 2) It covers topics like basic set theory, operations on sets like union and intersection, subsets, power sets, Cartesian products, and cardinality. 3) Examples are provided to illustrate concepts like Venn diagrams, disjoint sets, complements, and set differences.

chapter 2: basic structures: setsfunctionssequences
Page  17
Specifying Sets (cont.)
• A = {a, e, i, o, u}
• B = {x | x is an even integer, x > 0}
• E = {x | 𝑥2
− 3𝑥 + 2 = 0}
17
A = {x | x is a letter in English, x is a vowel}
B = {2, 4, 6, …….}
E = {1, 2}
Specifying Set
Page  18
Specifying Sets (cont.)
• A = {x: x  Z, x is even, x <15 }
• B = {x: x  Z, x + 4 = 3 }
• C = {x: x  Z, x2 + 2 = 6 }
18
A = {… -8, -6, -4, -2, 0, 2, 4, …., 14}
B = {-1}
E = {-2, +2}
Specifying Set
Page  19
Order does not matter-
{1, 2, 3, 4, 5} is equivalent to {3, 5, 2, 4, 1}
19
Set - properties
Frequency does not matter
- Consider the list of students in this class
- It does not make sense to list somebody twice
{1,2,2,2,3,3,4,4,4,4,5} is equivalent to {1,2,3,4,5}
Page  20
Set Terminology : The universal set
20
Definition
U is the universal set – the set of all of elements (or the “universe”)
from which given any set is drawn.
• For the set {-2, 0.4, 2}, U would be the real numbers
• For the set {0, 1, 2}, U could be the N, Z, Q, R depending on the context
• For the set of the vowels of the alphabet, U would be all the letters of the
alphabet

Recommended for you

CMSC 56 | Lecture 6: Sets & Set Operations
CMSC 56 | Lecture 6: Sets & Set OperationsCMSC 56 | Lecture 6: Sets & Set Operations
CMSC 56 | Lecture 6: Sets & Set Operations

A set is an unordered collection of objects called elements. A set contains its elements. Sets can be finite or infinite. Common ways to describe a set include listing elements between curly braces or using a set builder notation. The cardinality of a set refers to the number of elements it contains. Power sets contain all possible subsets of a given set. Cartesian products combine elements of sets into ordered pairs. Common set operations include union, intersection, difference, and testing if sets are disjoint.

computer sciencecomputeralgebra
Set theory
Set theorySet theory
Set theory

The document provides notes on set theory concepts including: 1. Sets are well-defined collections of objects called elements or members. Examples of sets include collections of boys in a class or numbers within a specified range. 2. For a collection to be considered a set, the objects must be well-defined so it is clear which objects are members. 3. There are different ways to represent sets including roster form listing elements, statement form describing characteristics of elements, and rule form using logical statements.

set theoryintersectionunion
Sets (Mathematics class XI)
Sets (Mathematics class XI)Sets (Mathematics class XI)
Sets (Mathematics class XI)

A power point presentation on the topic SETS of class XI Mathematics. it includes all the brief knowledge on sets like their intoduction, defination, types of sets with very intersting graphics n presentation.

classximathematicssets classxi
Page  21
Set Terminology : The Empty Set
21
Definition
If a set has zero elements, it is called the empty (or null) set
• Written using the symbol 
• Thus,  = { }  VERY IMPORTANT
• It can be a element of other sets
{ , 1, 2, 3, x } is a valid set
•  ≠ {  }
The first is a set of zero elements
The second is a set of 1 element [A set with one element is called a singleton set]
Page  22
• Represents sets graphically
– The box represents the universal set
– Circles represent the set(s)
• Consider set S, which is the set of all
vowels in the alphabet
• The individual elements are usually not
written in a Venn diagram
22
a e i
o u
b c d f
g h j
k l m
n p q
r s t
v w x
y z
U
S
Venn diagrams
Page  23
Set Terminology : Subset
23
Definition
The set A is a sub set of B if and only if every element of A is also an
element of B.
• We use the notation A ⊆ B to indicate that A is a subset of the set B.
We see that A ⊆ B if and only if the quantification ∀x (x∈ A → x ∈ B) is true
Page  24
Set Terminology : Subset
24
Example
• If A = {2, 4, 6} and B = {1, 2, 3, 4, 5, 6, 7}; A is a subset of B
• If A = {1, 2, 3, 4} and B = {1, 2, 3, 4}; A is a subset of B
• Every nonempty set S has at least two subset
For any set S, S  S (S S  S)
For any set S,   S (S   S)

Recommended for you

Discrete mathematics OR Structure
Discrete mathematics OR Structure Discrete mathematics OR Structure
Discrete mathematics OR Structure

This slide help in the study of those students who are enrolled in BSCS BSC computer MSCS. In this slide introduction about discrete structure are explained. As soon as I upload my next lecture on proposition logic.

discrete mathematics lecturediscrete structures. lecture 1discrete mathematics lecture notes
Chap2_SETS_PDF.pdf
Chap2_SETS_PDF.pdfChap2_SETS_PDF.pdf
Chap2_SETS_PDF.pdf

The document defines basic set theory concepts including: - A set is a collection of distinct objects called elements. - Sets can be represented using curly brackets or set builder notation. - The empty set, subsets, proper subsets, unions, intersections and complements are defined. - Cardinality refers to the number of elements in a finite set. - Power sets are the set of all subsets of a given set.

Ashiyana Colony @Call @Girls Lucknow 08923113531 Unlimited Short Near by your...
Ashiyana Colony @Call @Girls Lucknow 08923113531 Unlimited Short Near by your...Ashiyana Colony @Call @Girls Lucknow 08923113531 Unlimited Short Near by your...
Ashiyana Colony @Call @Girls Lucknow 08923113531 Unlimited Short Near by your...

Ashiyana Colony @Call @Girls Lucknow 08923113531 Unlimited Short Near by your location

Page  25
Set Terminology : Proper Subset
25
Definition
When a set A is a subset of a set B but that A ≠ B, we write A ⊂ B and
say that A is a proper subset of B.
• For A ⊂ B to be true, it must be the case that A ⊆ B and there must exist an
element y of B that is not an element of A.
That is, A is a proper subset of B if and only if
∀x (x ∈ A → x ∈ B) ∧ ∃y (y ∈ B ∧ y ∉A) is true
Page  26
Set Terminology : Proper Subset
26
Example
• If A = {2, 4, 6} and B = {1, 2, 3, 4, 5, 6, 7}; A is a subset of B and also proper subset
A ⊂ B and A ⊆ B both are true.
• If A = {1, 2, 3, 4} and B = {1, 2, 3, 4}; A is not a proper subset of B but subset.
A ⊆ B but A ⊄ B.
Page  27
Set Terminology : Set Equality
27
Definition
Two sets are equal if and only if they have the same elements. We write
A = B if A and B are equal sets.
• Therefore, if A and B are sets, then A and B are equal if and only if
∀x (x ∈ A ↔ x ∈ B)
Page  28
Set Terminology : Set Equality
28
Example
• Let two sets A = {1, 2, 3} and B = {3, 2, 1}
then A = B (true or false?)
• Let two sets A = {1, 2, 3} and B = {3, 3, 2, 1, 2, 1}
then A = B (true or false?)
A = {x: x is an odd positive integer less than 10}
B = {1, 3, 5, 7, 9}
A = B ?

Recommended for you

At the intersection of SEO & Product - Vanda Pokecz presentation
At the intersection of SEO & Product - Vanda Pokecz presentationAt the intersection of SEO & Product - Vanda Pokecz presentation
At the intersection of SEO & Product - Vanda Pokecz presentation

This presentation deals with SEO Product Management. Topics like discovery, experimentation and prioritisation are covered.

seoproduct managementseo product management
2024-06-02 Transformed: Changed from the Inside Out 01.pptx
2024-06-02 Transformed: Changed from the Inside Out 01.pptx2024-06-02 Transformed: Changed from the Inside Out 01.pptx
2024-06-02 Transformed: Changed from the Inside Out 01.pptx

Lesson 1 of 13 in a Heritage Bible Master Class study of "Transformed: Changed from the Inside Out"

matthew 11:28-30
2024-07-07 Transformed 06 (shared slides).pptx
2024-07-07 Transformed 06 (shared slides).pptx2024-07-07 Transformed 06 (shared slides).pptx
2024-07-07 Transformed 06 (shared slides).pptx

Lesson 6 of 13 in a Heritage Bible Master Class study of "Transformed: Changed from the Inside Out"

Page  29
Set Terminology : Set Cardinality
29
Definition
Let S be a set. If there are exactly n distinct elements in S where n is a
nonnegative integer, we say that S is a finite set and that n is the
cardinality of S. The cardinality of S is denoted by |S|.
The term cardinality comes from the common usage of the term cardinal number as
the size of a finite set.
Page  30
Set Terminology : Set Cardinality
30
Example
• Let A be the set of odd positive integers less than 10. Then |A| =
• Let S be the set of letters in the English alphabet. Then |S| =
• Let R = {1, 2, 3, 4, 5}. Then |R| =
• || =
• | 𝜙 | =
5
0
5
26
1
Page  31
Set Terminology : Finite Set and Infinite Set
31
Definition : Finite Set
Let S be a set. If there are exactly n distinct elements in S where n is a
nonnegative integer, we say that S is a finite set
• R = {1, 2, 3, 4, 5} finite set
Definition : Infinite Set
A set is said to be infinite if it is not finite.
• The set of positive integers is infinite.
Page  32
Set Terminology : Power Set
32
Definition
Given a set S, the power set of S is the set of all subsets of the set S. The
power set of S is denoted by P(S).
• What is the power set of the set {0,1,2}?
• What is the power set of the empty set?
• What is the power set of the set{∅}?
P({})={{}}
P({∅})={∅,{∅}}

Recommended for you

A study on drug utilization evaluation of bronchodilators using DDD method
A study on drug utilization evaluation of bronchodilators using DDD methodA study on drug utilization evaluation of bronchodilators using DDD method
A study on drug utilization evaluation of bronchodilators using DDD method

The abstract was published as a conference proceeding in a Newsletter after being presented as an e-posture and secured 2nd prize during the scientific proceedings of "National Conference on Health Economics and Outcomes Research (HEOR) to Enhance Decision Making for Global Health" held at Raghavendra Institute of Pharmaceutical Education and Research (RIPER)- Autonomous in association with the International Society for Pharmacoeconomics and Outcomes Research (ISPOR)-India Andhra Pradesh Regional Chapter during 4th& 5th August 2023. Nasir A. A study on drug utilization evaluation of bronchodilators using the DDD method. RIPER - PDIC Bulletin ISPOR India Andhra Pradesh Regional Chapter Newsletter [Internet]. 2023 Sep;11(51):14. Available from: www.riper.ac.in

bronchodilatordefined daily doseprescribed daily dose
Mohanlalganj @Call @Girls Lucknow 08923113531 Unlimited Short Near by your lo...
Mohanlalganj @Call @Girls Lucknow 08923113531 Unlimited Short Near by your lo...Mohanlalganj @Call @Girls Lucknow 08923113531 Unlimited Short Near by your lo...
Mohanlalganj @Call @Girls Lucknow 08923113531 Unlimited Short Near by your lo...

Mohanlalganj @Call @Girls Lucknow 08923113531 Unlimited Short Near by your location

Recruitment articles and posts- different & effective ways of recruitment
Recruitment articles and posts- different & effective ways of recruitmentRecruitment articles and posts- different & effective ways of recruitment
Recruitment articles and posts- different & effective ways of recruitment

different and effective ways of recruitment

Page  33
Set Terminology : Cartesian Product
33
Definition
Let A and B be sets. The Cartesian product of A and B, denoted by A x B,
is the set of all ordered pairs (a, b) where a  A and b B.
Hence A×B = {(a, b) | a ∈ A ∧ b ∈ B}.
Let, A = {1, 2} and b = {a, b, c}
A x B = {(1, a), (1, b), (1, c), (2, a), (2, b), (2, c)}
B x A = ?
Page  34
34
END

More Related Content

Similar to Moazzzim Sir (25.07.23)CSE 1201, Week#3, Lecture#7.pptx

Module week 1 Q1
Module week 1 Q1Module week 1 Q1
Module week 1 Q1
Rommel Limbauan
 
Digital text sets pdf
Digital text sets  pdfDigital text sets  pdf
Digital text sets pdf
stephy1234
 
Set and Set operations, UITM KPPIM DUNGUN
Set and Set operations, UITM KPPIM DUNGUNSet and Set operations, UITM KPPIM DUNGUN
Set and Set operations, UITM KPPIM DUNGUN
baberexha
 
General Mathematis with the Topic of SETs Story
General Mathematis with the Topic of SETs StoryGeneral Mathematis with the Topic of SETs Story
General Mathematis with the Topic of SETs Story
HussanRaza
 
Discrete Structure Mathematics lecture 1
Discrete Structure Mathematics lecture 1Discrete Structure Mathematics lecture 1
Discrete Structure Mathematics lecture 1
Amr Rashed
 
Sets in Maths (Complete Topic)
Sets in Maths (Complete Topic)Sets in Maths (Complete Topic)
Sets in Maths (Complete Topic)
Manik Bhola
 
Set
SetSet
Set
H K
 
INTRODUCTION TO SETS.pptx
INTRODUCTION TO SETS.pptxINTRODUCTION TO SETS.pptx
INTRODUCTION TO SETS.pptx
Sumit366794
 
SetTheory.ppt
SetTheory.pptSetTheory.ppt
SetTheory.ppt
bryanchristianbrione1
 
SetTheory.ppt
SetTheory.pptSetTheory.ppt
SetTheory.ppt
sanjeevnandwani
 
Introduction to set theory with application
Introduction to set theory with applicationIntroduction to set theory with application
Introduction to set theory with application
Okunlola Oluyemi Adewole
 
1. set theory
1. set theory1. set theory
1. set theory
caymulb
 
A set is a structure, representing an unordered collection (group, plurality)...
A set is a structure, representing an unordered collection (group, plurality)...A set is a structure, representing an unordered collection (group, plurality)...
A set is a structure, representing an unordered collection (group, plurality)...
OluyemiOkunlola
 
sets and their introduction and their exercises.pptx
sets and their introduction and their exercises.pptxsets and their introduction and their exercises.pptx
sets and their introduction and their exercises.pptx
ZenLooper
 
Discrete Math Chapter 2: Basic Structures: Sets, Functions, Sequences, Sums, ...
Discrete Math Chapter 2: Basic Structures: Sets, Functions, Sequences, Sums, ...Discrete Math Chapter 2: Basic Structures: Sets, Functions, Sequences, Sums, ...
Discrete Math Chapter 2: Basic Structures: Sets, Functions, Sequences, Sums, ...
Amr Rashed
 
CMSC 56 | Lecture 6: Sets & Set Operations
CMSC 56 | Lecture 6: Sets & Set OperationsCMSC 56 | Lecture 6: Sets & Set Operations
CMSC 56 | Lecture 6: Sets & Set Operations
allyn joy calcaben
 
Set theory
Set theorySet theory
Set theory
Prerak Trivedi
 
Sets (Mathematics class XI)
Sets (Mathematics class XI)Sets (Mathematics class XI)
Sets (Mathematics class XI)
VihaanBhambhani
 
Discrete mathematics OR Structure
Discrete mathematics OR Structure Discrete mathematics OR Structure
Discrete mathematics OR Structure
Abdullah Jan
 
Chap2_SETS_PDF.pdf
Chap2_SETS_PDF.pdfChap2_SETS_PDF.pdf
Chap2_SETS_PDF.pdf
RatipornChomrit
 

Similar to Moazzzim Sir (25.07.23)CSE 1201, Week#3, Lecture#7.pptx (20)

Module week 1 Q1
Module week 1 Q1Module week 1 Q1
Module week 1 Q1
 
Digital text sets pdf
Digital text sets  pdfDigital text sets  pdf
Digital text sets pdf
 
Set and Set operations, UITM KPPIM DUNGUN
Set and Set operations, UITM KPPIM DUNGUNSet and Set operations, UITM KPPIM DUNGUN
Set and Set operations, UITM KPPIM DUNGUN
 
General Mathematis with the Topic of SETs Story
General Mathematis with the Topic of SETs StoryGeneral Mathematis with the Topic of SETs Story
General Mathematis with the Topic of SETs Story
 
Discrete Structure Mathematics lecture 1
Discrete Structure Mathematics lecture 1Discrete Structure Mathematics lecture 1
Discrete Structure Mathematics lecture 1
 
Sets in Maths (Complete Topic)
Sets in Maths (Complete Topic)Sets in Maths (Complete Topic)
Sets in Maths (Complete Topic)
 
Set
SetSet
Set
 
INTRODUCTION TO SETS.pptx
INTRODUCTION TO SETS.pptxINTRODUCTION TO SETS.pptx
INTRODUCTION TO SETS.pptx
 
SetTheory.ppt
SetTheory.pptSetTheory.ppt
SetTheory.ppt
 
SetTheory.ppt
SetTheory.pptSetTheory.ppt
SetTheory.ppt
 
Introduction to set theory with application
Introduction to set theory with applicationIntroduction to set theory with application
Introduction to set theory with application
 
1. set theory
1. set theory1. set theory
1. set theory
 
A set is a structure, representing an unordered collection (group, plurality)...
A set is a structure, representing an unordered collection (group, plurality)...A set is a structure, representing an unordered collection (group, plurality)...
A set is a structure, representing an unordered collection (group, plurality)...
 
sets and their introduction and their exercises.pptx
sets and their introduction and their exercises.pptxsets and their introduction and their exercises.pptx
sets and their introduction and their exercises.pptx
 
Discrete Math Chapter 2: Basic Structures: Sets, Functions, Sequences, Sums, ...
Discrete Math Chapter 2: Basic Structures: Sets, Functions, Sequences, Sums, ...Discrete Math Chapter 2: Basic Structures: Sets, Functions, Sequences, Sums, ...
Discrete Math Chapter 2: Basic Structures: Sets, Functions, Sequences, Sums, ...
 
CMSC 56 | Lecture 6: Sets & Set Operations
CMSC 56 | Lecture 6: Sets & Set OperationsCMSC 56 | Lecture 6: Sets & Set Operations
CMSC 56 | Lecture 6: Sets & Set Operations
 
Set theory
Set theorySet theory
Set theory
 
Sets (Mathematics class XI)
Sets (Mathematics class XI)Sets (Mathematics class XI)
Sets (Mathematics class XI)
 
Discrete mathematics OR Structure
Discrete mathematics OR Structure Discrete mathematics OR Structure
Discrete mathematics OR Structure
 
Chap2_SETS_PDF.pdf
Chap2_SETS_PDF.pdfChap2_SETS_PDF.pdf
Chap2_SETS_PDF.pdf
 

Recently uploaded

Ashiyana Colony @Call @Girls Lucknow 08923113531 Unlimited Short Near by your...
Ashiyana Colony @Call @Girls Lucknow 08923113531 Unlimited Short Near by your...Ashiyana Colony @Call @Girls Lucknow 08923113531 Unlimited Short Near by your...
Ashiyana Colony @Call @Girls Lucknow 08923113531 Unlimited Short Near by your...
rajk0345
 
At the intersection of SEO & Product - Vanda Pokecz presentation
At the intersection of SEO & Product - Vanda Pokecz presentationAt the intersection of SEO & Product - Vanda Pokecz presentation
At the intersection of SEO & Product - Vanda Pokecz presentation
Vanda Pokecz
 
2024-06-02 Transformed: Changed from the Inside Out 01.pptx
2024-06-02 Transformed: Changed from the Inside Out 01.pptx2024-06-02 Transformed: Changed from the Inside Out 01.pptx
2024-06-02 Transformed: Changed from the Inside Out 01.pptx
Dale Wells
 
2024-07-07 Transformed 06 (shared slides).pptx
2024-07-07 Transformed 06 (shared slides).pptx2024-07-07 Transformed 06 (shared slides).pptx
2024-07-07 Transformed 06 (shared slides).pptx
Dale Wells
 
A study on drug utilization evaluation of bronchodilators using DDD method
A study on drug utilization evaluation of bronchodilators using DDD methodA study on drug utilization evaluation of bronchodilators using DDD method
A study on drug utilization evaluation of bronchodilators using DDD method
Dr. Afreen Nasir
 
Mohanlalganj @Call @Girls Lucknow 08923113531 Unlimited Short Near by your lo...
Mohanlalganj @Call @Girls Lucknow 08923113531 Unlimited Short Near by your lo...Mohanlalganj @Call @Girls Lucknow 08923113531 Unlimited Short Near by your lo...
Mohanlalganj @Call @Girls Lucknow 08923113531 Unlimited Short Near by your lo...
rams20316
 
Recruitment articles and posts- different & effective ways of recruitment
Recruitment articles and posts- different & effective ways of recruitmentRecruitment articles and posts- different & effective ways of recruitment
Recruitment articles and posts- different & effective ways of recruitment
Rashi427200
 
the sparks foundation JOB READINESS- how to be job ready. task 2
the sparks foundation JOB READINESS- how to be job ready. task 2the sparks foundation JOB READINESS- how to be job ready. task 2
the sparks foundation JOB READINESS- how to be job ready. task 2
Rashi427200
 
(Badshah Nagar ) @Call @Girls Lucknow +91-8923113531 (MONIKA) - High Profile ...
(Badshah Nagar ) @Call @Girls Lucknow +91-8923113531 (MONIKA) - High Profile ...(Badshah Nagar ) @Call @Girls Lucknow +91-8923113531 (MONIKA) - High Profile ...
(Badshah Nagar ) @Call @Girls Lucknow +91-8923113531 (MONIKA) - High Profile ...
parichopra4
 
₹Call ₹Girls Kalyanpur Lucknow 08630512678 Deshi Chori Near You
₹Call ₹Girls Kalyanpur Lucknow 08630512678 Deshi Chori Near You₹Call ₹Girls Kalyanpur Lucknow 08630512678 Deshi Chori Near You
₹Call ₹Girls Kalyanpur Lucknow 08630512678 Deshi Chori Near You
giihuu300#S07
 
Developing Strategies for Adoption of Sustainable Development Goals in Insti...
Developing Strategies for Adoption of Sustainable  Development Goals in Insti...Developing Strategies for Adoption of Sustainable  Development Goals in Insti...
Developing Strategies for Adoption of Sustainable Development Goals in Insti...
Amgad Morgan
 
Air New Zealand OSL Terminal (1). PDF...
Air New Zealand OSL Terminal (1). PDF...Air New Zealand OSL Terminal (1). PDF...
Air New Zealand OSL Terminal (1). PDF...
argen tina
 
(Nishatganj ) @Call @Girls Lucknow +91-8923113531 (MONIKA) - High Profile Unl...
(Nishatganj ) @Call @Girls Lucknow +91-8923113531 (MONIKA) - High Profile Unl...(Nishatganj ) @Call @Girls Lucknow +91-8923113531 (MONIKA) - High Profile Unl...
(Nishatganj ) @Call @Girls Lucknow +91-8923113531 (MONIKA) - High Profile Unl...
saroohilakhatariroy
 
Takrohi @Call @Girls Lucknow 08923113531 Unlimited Short Near by your location
Takrohi @Call @Girls Lucknow 08923113531 Unlimited Short Near by your locationTakrohi @Call @Girls Lucknow 08923113531 Unlimited Short Near by your location
Takrohi @Call @Girls Lucknow 08923113531 Unlimited Short Near by your location
meenukumari59
 
@Call @Girls Amausi Lucknow phone 9920874524 You Are Serach A Beautyfull Doll...
@Call @Girls Amausi Lucknow phone 9920874524 You Are Serach A Beautyfull Doll...@Call @Girls Amausi Lucknow phone 9920874524 You Are Serach A Beautyfull Doll...
@Call @Girls Amausi Lucknow phone 9920874524 You Are Serach A Beautyfull Doll...
sanamw9823
 
(Aishbagh Road ) ₹Call ₹Girls Lucknow 08923113531 (MONIKA) - The perfect matc...
(Aishbagh Road ) ₹Call ₹Girls Lucknow 08923113531 (MONIKA) - The perfect matc...(Aishbagh Road ) ₹Call ₹Girls Lucknow 08923113531 (MONIKA) - The perfect matc...
(Aishbagh Road ) ₹Call ₹Girls Lucknow 08923113531 (MONIKA) - The perfect matc...
annujverma2
 
stackconf 2024 | On-Prem is the new Black by AJ Jester
stackconf 2024 | On-Prem is the new Black by AJ Jesterstackconf 2024 | On-Prem is the new Black by AJ Jester
stackconf 2024 | On-Prem is the new Black by AJ Jester
NETWAYS
 
HERO.pdf hero company working cap management project
HERO.pdf hero company working cap management projectHERO.pdf hero company working cap management project
HERO.pdf hero company working cap management project
SambalpurTokaSatyaji
 
(Amausi ) @Call @Girls Lucknow +91-8923113531 (MONIKA) - High Profile Unlimit...
(Amausi ) @Call @Girls Lucknow +91-8923113531 (MONIKA) - High Profile Unlimit...(Amausi ) @Call @Girls Lucknow +91-8923113531 (MONIKA) - High Profile Unlimit...
(Amausi ) @Call @Girls Lucknow +91-8923113531 (MONIKA) - High Profile Unlimit...
parichopra4
 
Effective-Recruitment-Strategies and leveraging linkedin
Effective-Recruitment-Strategies and leveraging linkedinEffective-Recruitment-Strategies and leveraging linkedin
Effective-Recruitment-Strategies and leveraging linkedin
DivyaMehta193660
 

Recently uploaded (20)

Ashiyana Colony @Call @Girls Lucknow 08923113531 Unlimited Short Near by your...
Ashiyana Colony @Call @Girls Lucknow 08923113531 Unlimited Short Near by your...Ashiyana Colony @Call @Girls Lucknow 08923113531 Unlimited Short Near by your...
Ashiyana Colony @Call @Girls Lucknow 08923113531 Unlimited Short Near by your...
 
At the intersection of SEO & Product - Vanda Pokecz presentation
At the intersection of SEO & Product - Vanda Pokecz presentationAt the intersection of SEO & Product - Vanda Pokecz presentation
At the intersection of SEO & Product - Vanda Pokecz presentation
 
2024-06-02 Transformed: Changed from the Inside Out 01.pptx
2024-06-02 Transformed: Changed from the Inside Out 01.pptx2024-06-02 Transformed: Changed from the Inside Out 01.pptx
2024-06-02 Transformed: Changed from the Inside Out 01.pptx
 
2024-07-07 Transformed 06 (shared slides).pptx
2024-07-07 Transformed 06 (shared slides).pptx2024-07-07 Transformed 06 (shared slides).pptx
2024-07-07 Transformed 06 (shared slides).pptx
 
A study on drug utilization evaluation of bronchodilators using DDD method
A study on drug utilization evaluation of bronchodilators using DDD methodA study on drug utilization evaluation of bronchodilators using DDD method
A study on drug utilization evaluation of bronchodilators using DDD method
 
Mohanlalganj @Call @Girls Lucknow 08923113531 Unlimited Short Near by your lo...
Mohanlalganj @Call @Girls Lucknow 08923113531 Unlimited Short Near by your lo...Mohanlalganj @Call @Girls Lucknow 08923113531 Unlimited Short Near by your lo...
Mohanlalganj @Call @Girls Lucknow 08923113531 Unlimited Short Near by your lo...
 
Recruitment articles and posts- different & effective ways of recruitment
Recruitment articles and posts- different & effective ways of recruitmentRecruitment articles and posts- different & effective ways of recruitment
Recruitment articles and posts- different & effective ways of recruitment
 
the sparks foundation JOB READINESS- how to be job ready. task 2
the sparks foundation JOB READINESS- how to be job ready. task 2the sparks foundation JOB READINESS- how to be job ready. task 2
the sparks foundation JOB READINESS- how to be job ready. task 2
 
(Badshah Nagar ) @Call @Girls Lucknow +91-8923113531 (MONIKA) - High Profile ...
(Badshah Nagar ) @Call @Girls Lucknow +91-8923113531 (MONIKA) - High Profile ...(Badshah Nagar ) @Call @Girls Lucknow +91-8923113531 (MONIKA) - High Profile ...
(Badshah Nagar ) @Call @Girls Lucknow +91-8923113531 (MONIKA) - High Profile ...
 
₹Call ₹Girls Kalyanpur Lucknow 08630512678 Deshi Chori Near You
₹Call ₹Girls Kalyanpur Lucknow 08630512678 Deshi Chori Near You₹Call ₹Girls Kalyanpur Lucknow 08630512678 Deshi Chori Near You
₹Call ₹Girls Kalyanpur Lucknow 08630512678 Deshi Chori Near You
 
Developing Strategies for Adoption of Sustainable Development Goals in Insti...
Developing Strategies for Adoption of Sustainable  Development Goals in Insti...Developing Strategies for Adoption of Sustainable  Development Goals in Insti...
Developing Strategies for Adoption of Sustainable Development Goals in Insti...
 
Air New Zealand OSL Terminal (1). PDF...
Air New Zealand OSL Terminal (1). PDF...Air New Zealand OSL Terminal (1). PDF...
Air New Zealand OSL Terminal (1). PDF...
 
(Nishatganj ) @Call @Girls Lucknow +91-8923113531 (MONIKA) - High Profile Unl...
(Nishatganj ) @Call @Girls Lucknow +91-8923113531 (MONIKA) - High Profile Unl...(Nishatganj ) @Call @Girls Lucknow +91-8923113531 (MONIKA) - High Profile Unl...
(Nishatganj ) @Call @Girls Lucknow +91-8923113531 (MONIKA) - High Profile Unl...
 
Takrohi @Call @Girls Lucknow 08923113531 Unlimited Short Near by your location
Takrohi @Call @Girls Lucknow 08923113531 Unlimited Short Near by your locationTakrohi @Call @Girls Lucknow 08923113531 Unlimited Short Near by your location
Takrohi @Call @Girls Lucknow 08923113531 Unlimited Short Near by your location
 
@Call @Girls Amausi Lucknow phone 9920874524 You Are Serach A Beautyfull Doll...
@Call @Girls Amausi Lucknow phone 9920874524 You Are Serach A Beautyfull Doll...@Call @Girls Amausi Lucknow phone 9920874524 You Are Serach A Beautyfull Doll...
@Call @Girls Amausi Lucknow phone 9920874524 You Are Serach A Beautyfull Doll...
 
(Aishbagh Road ) ₹Call ₹Girls Lucknow 08923113531 (MONIKA) - The perfect matc...
(Aishbagh Road ) ₹Call ₹Girls Lucknow 08923113531 (MONIKA) - The perfect matc...(Aishbagh Road ) ₹Call ₹Girls Lucknow 08923113531 (MONIKA) - The perfect matc...
(Aishbagh Road ) ₹Call ₹Girls Lucknow 08923113531 (MONIKA) - The perfect matc...
 
stackconf 2024 | On-Prem is the new Black by AJ Jester
stackconf 2024 | On-Prem is the new Black by AJ Jesterstackconf 2024 | On-Prem is the new Black by AJ Jester
stackconf 2024 | On-Prem is the new Black by AJ Jester
 
HERO.pdf hero company working cap management project
HERO.pdf hero company working cap management projectHERO.pdf hero company working cap management project
HERO.pdf hero company working cap management project
 
(Amausi ) @Call @Girls Lucknow +91-8923113531 (MONIKA) - High Profile Unlimit...
(Amausi ) @Call @Girls Lucknow +91-8923113531 (MONIKA) - High Profile Unlimit...(Amausi ) @Call @Girls Lucknow +91-8923113531 (MONIKA) - High Profile Unlimit...
(Amausi ) @Call @Girls Lucknow +91-8923113531 (MONIKA) - High Profile Unlimit...
 
Effective-Recruitment-Strategies and leveraging linkedin
Effective-Recruitment-Strategies and leveraging linkedinEffective-Recruitment-Strategies and leveraging linkedin
Effective-Recruitment-Strategies and leveraging linkedin
 

Moazzzim Sir (25.07.23)CSE 1201, Week#3, Lecture#7.pptx

  • 1. Lecture 7  Set Theory Course Teachers: Md. Moazzem Hossain, Assistant Professor, CSE (BAUST)
  • 2. 2 Set Theory Set Basics Set Terminologies Venn Diagram
  • 3. Page  3 Set Theory 3
  • 4. Page  4 Set Basics Examination [5] 1. What is Set? 2. State whether the sets in each pair are equal or not. a) {a, b, c, d} and {a, c, d, b} b) {2, 4, 6} and {x | x is an even number, 0<x<8}
  • 5. Page  5 Set Basics Definition A set is an unordered collection of objects, called elements or members of the set. A set is said to contain its elements. Example People in a class: {Jui, Sujit, Salman, Koni} Districts in the BD : {Rajshahi, Dhaka, Nator, … } Sets can contain non-related elements: {3, a, Potato} All positive numbers less than or equal to 5: {1, 2, 3, 4, 5}
  • 6. Page  6 Set Basics Definition A set is an unordered collection of objects, called elements or members of the set. A set is said to contain its elements. Example People in a class: {Soumita, Moumita, Taohid, Shahriar….} Districts in the BD : {Rajshahi, Dhaka, Nator, … } Sets can contain non-related elements: {3, a, Potato} All positive numbers less than or equal to 5: {1, 2, 3, 4, 5}
  • 7. Page  7 Set Basics 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 ∈ A to denote that a is an element of the set A. (∈ = belongs to) • The notation a ∈ A denotes that a is not an element of the set A. ( ∉ = not belongs to)
  • 8. Page  8 Set Basics 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 ∈ Ato denote that a is an element of the set A. (∈ = belongs to) • The notation a ∈ A denotes that a is not an element of the set A. ( ∉ = not belongs to) • It is common for SETS to be denoted using uppercase letters. • Lowercase letters are usually used to denote elements of sets.
  • 9. Page  9 Set and Elements 9 Let, A = { 1, a, e, u, i, o, 2, 3} • Name of the Set? • 1 ∉ 𝐴 (true or false) • a ∈ A (true or false)
  • 10. Page  10 How to describe a Set? 10 Three popular methods 1. Word description Set of even counting numbers less than 10 2. The listing method / Roster method {2, 4, 6, 8} 3. Set-builder notation {x | x is an even counting number less than 10}
  • 11. Page  11 How to describe a Set? 11 1. Word description • Make a word description of the set. 1. Multiples of ten between ten and hundred inclusively ={10, 20,30,40,50,60,70,80,90,100} 2. The counting number multiples of 5 that are less than 35 ={5,10,15,20,25,30}
  • 12. Page  12 How to describe a Set? 12 2. The Listing/Roster Method • Represented by listing its elements between braces {} • Example : 𝐴 = { 1, 2, 3, 4} • Sometime use ellipses (...) rather than listing all elements. • The set of positive integers less than 100 can be denoted by {1,2,3,...,99}.
  • 13. Page  13 How to describe a Set? 13 3. Set-builder notation • characterize all elements in the set by stating the property or properties they must have to be members. • the set O of all odd positive integers less than 10 can be written as O = { x | x is an odd positive integer less than 10 } O = { x ∈ Z+ | x is odd and x < 10 } Example: B = {x | x is an even integer, x > 0} • Read as- “B is the set of x such that x is an even integer and x is greater than 0” • | is read as “such that” and comma as “and”.
  • 14. Page  14 How to describe a Set? 14 3. Set-builder notation with interval • the notation for intervals of real numbers. When a and b are real numbers with a < b, we write • [a, b] = {x | a ≤ x ≤ b} • [a, b) = {x | a ≤ x < b} • (a, b] = {x | a < x ≤ b} • (a, b) = {x | a < x < b} • Note that [a, b] is called the closed interval from a to b and (a, b) is called the open interval from a to b.
  • 15. Page  15 • N = {0, 1, 2, 3, …} is the set of natural numbers • Z = {…, -2, -1, 0, 1, 2, …} is the set of integers • Z+ = {1, 2, 3, …} is the set of positive integers (a.k.a whole numbers) – Note that people disagree on the exact definitions of whole numbers and natural numbers • Q = {p/q | p  Z, q  Z, q ≠ 0} is the set of rational numbers – Any number that can be expressed as a fraction of two integers (where the bottom one is not zero) • R is the set of real numbers • R+ the set of positive real numbers • C the set of complex numbers. 15 Often used sets
  • 16. Page  16 16 Venn Diagram of used sets
  • 17. Page  17 Specifying Sets (cont.) • A = {a, e, i, o, u} • B = {x | x is an even integer, x > 0} • E = {x | 𝑥2 − 3𝑥 + 2 = 0} 17 A = {x | x is a letter in English, x is a vowel} B = {2, 4, 6, …….} E = {1, 2} Specifying Set
  • 18. Page  18 Specifying Sets (cont.) • A = {x: x  Z, x is even, x <15 } • B = {x: x  Z, x + 4 = 3 } • C = {x: x  Z, x2 + 2 = 6 } 18 A = {… -8, -6, -4, -2, 0, 2, 4, …., 14} B = {-1} E = {-2, +2} Specifying Set
  • 19. Page  19 Order does not matter- {1, 2, 3, 4, 5} is equivalent to {3, 5, 2, 4, 1} 19 Set - properties Frequency does not matter - Consider the list of students in this class - It does not make sense to list somebody twice {1,2,2,2,3,3,4,4,4,4,5} is equivalent to {1,2,3,4,5}
  • 20. Page  20 Set Terminology : The universal set 20 Definition U is the universal set – the set of all of elements (or the “universe”) from which given any set is drawn. • For the set {-2, 0.4, 2}, U would be the real numbers • For the set {0, 1, 2}, U could be the N, Z, Q, R depending on the context • For the set of the vowels of the alphabet, U would be all the letters of the alphabet
  • 21. Page  21 Set Terminology : The Empty Set 21 Definition If a set has zero elements, it is called the empty (or null) set • Written using the symbol  • Thus,  = { }  VERY IMPORTANT • It can be a element of other sets { , 1, 2, 3, x } is a valid set •  ≠ {  } The first is a set of zero elements The second is a set of 1 element [A set with one element is called a singleton set]
  • 22. Page  22 • Represents sets graphically – The box represents the universal set – Circles represent the set(s) • Consider set S, which is the set of all vowels in the alphabet • The individual elements are usually not written in a Venn diagram 22 a e i o u b c d f g h j k l m n p q r s t v w x y z U S Venn diagrams
  • 23. Page  23 Set Terminology : Subset 23 Definition The set A is a sub set of B if and only if every element of A is also an element of B. • We use the notation A ⊆ B to indicate that A is a subset of the set B. We see that A ⊆ B if and only if the quantification ∀x (x∈ A → x ∈ B) is true
  • 24. Page  24 Set Terminology : Subset 24 Example • If A = {2, 4, 6} and B = {1, 2, 3, 4, 5, 6, 7}; A is a subset of B • If A = {1, 2, 3, 4} and B = {1, 2, 3, 4}; A is a subset of B • Every nonempty set S has at least two subset For any set S, S  S (S S  S) For any set S,   S (S   S)
  • 25. Page  25 Set Terminology : Proper Subset 25 Definition When a set A is a subset of a set B but that A ≠ B, we write A ⊂ B and say that A is a proper subset of B. • For A ⊂ B to be true, it must be the case that A ⊆ B and there must exist an element y of B that is not an element of A. That is, A is a proper subset of B if and only if ∀x (x ∈ A → x ∈ B) ∧ ∃y (y ∈ B ∧ y ∉A) is true
  • 26. Page  26 Set Terminology : Proper Subset 26 Example • If A = {2, 4, 6} and B = {1, 2, 3, 4, 5, 6, 7}; A is a subset of B and also proper subset A ⊂ B and A ⊆ B both are true. • If A = {1, 2, 3, 4} and B = {1, 2, 3, 4}; A is not a proper subset of B but subset. A ⊆ B but A ⊄ B.
  • 27. Page  27 Set Terminology : Set Equality 27 Definition Two sets are equal if and only if they have the same elements. We write A = B if A and B are equal sets. • Therefore, if A and B are sets, then A and B are equal if and only if ∀x (x ∈ A ↔ x ∈ B)
  • 28. Page  28 Set Terminology : Set Equality 28 Example • Let two sets A = {1, 2, 3} and B = {3, 2, 1} then A = B (true or false?) • Let two sets A = {1, 2, 3} and B = {3, 3, 2, 1, 2, 1} then A = B (true or false?) A = {x: x is an odd positive integer less than 10} B = {1, 3, 5, 7, 9} A = B ?
  • 29. Page  29 Set Terminology : Set Cardinality 29 Definition Let S be a set. If there are exactly n distinct elements in S where n is a nonnegative integer, we say that S is a finite set and that n is the cardinality of S. The cardinality of S is denoted by |S|. The term cardinality comes from the common usage of the term cardinal number as the size of a finite set.
  • 30. Page  30 Set Terminology : Set Cardinality 30 Example • Let A be the set of odd positive integers less than 10. Then |A| = • Let S be the set of letters in the English alphabet. Then |S| = • Let R = {1, 2, 3, 4, 5}. Then |R| = • || = • | 𝜙 | = 5 0 5 26 1
  • 31. Page  31 Set Terminology : Finite Set and Infinite Set 31 Definition : Finite Set Let S be a set. If there are exactly n distinct elements in S where n is a nonnegative integer, we say that S is a finite set • R = {1, 2, 3, 4, 5} finite set Definition : Infinite Set A set is said to be infinite if it is not finite. • The set of positive integers is infinite.
  • 32. Page  32 Set Terminology : Power Set 32 Definition Given a set S, the power set of S is the set of all subsets of the set S. The power set of S is denoted by P(S). • What is the power set of the set {0,1,2}? • What is the power set of the empty set? • What is the power set of the set{∅}? P({})={{}} P({∅})={∅,{∅}}
  • 33. Page  33 Set Terminology : Cartesian Product 33 Definition Let A and B be sets. The Cartesian product of A and B, denoted by A x B, is the set of all ordered pairs (a, b) where a  A and b B. Hence A×B = {(a, b) | a ∈ A ∧ b ∈ B}. Let, A = {1, 2} and b = {a, b, c} A x B = {(1, a), (1, b), (1, c), (2, a), (2, b), (2, c)} B x A = ?