Explore the foundational concepts of sets in discrete mathematicsDr Chetan Bawankar
Explore the foundational concepts of sets in discrete mathematics with this comprehensive PowerPoint presentation. Whether you are a student delving into the world of discrete structures or an enthusiast eager to understand the fundamentals, this presentation serves as an insightful guide.
SET
A set is a well defined collection of objects, called the “elements” or “members” of the set.
A specific set can be defined in two ways-
If there are only a few elements, they can be listed individually, by writing them between curly braces ‘{ }’ and placing commas in between. E.g.- {1, 2, 3, 4, 5}
The second way of writing set is to use a property that defines elements of the set.
e.g.- {x | x is odd and 0 < x < 100}
If x is an element o set A, it can be written as ‘x A’
If x is not an element of A, it can be written as ‘x A’
Special types of sets-
Standard notations used to define some sets:
N- set of all natural numbers
Z- set of all integers
Q- set of all rational numbers
R- set of all real numbers
C- set of all complex numbers
TYPES OF SETS
-subset
-singleton set
-universal set
-empty set
-finite set
-infinte set
-eual set
-disjoint set
-cardinal set
-power set
OPERATIONS ON SET
The four basic operations are:
1. Union of Sets
2. Intersection of sets
3. Complement of the Set
4. Cartesian Product of sets
Union of two given sets is the smallest set which contains all the elements of both the sets.
A B = {x | x A or x B}
Let a and b are sets, the intersection of two sets A and B, denoted by A B is the set consisting of elements which are in A as well as in B
A B = {X | x A and x B}
If A B= , the sets are said to be disjoint.
If U is a universal set containing set A, then U-A is called complement of a set.
After going through this module, you are expected to:
• define well-defined sets and other terms associated to sets
• write a set in two different forms;
• determine the cardinality of a set;
• enumerate the different subsets of a set;
• distinguish finite from infinite sets; equal sets from equivalent sets
• determine the union, intersection of sets and the difference of two sets
Read| The latest issue of The Challenger is here! We are thrilled to announce that our school paper has qualified for the NATIONAL SCHOOLS PRESS CONFERENCE (NSPC) 2024. Thank you for your unwavering support and trust. Dive into the stories that made us stand out!
Explore the foundational concepts of sets in discrete mathematicsDr Chetan Bawankar
Explore the foundational concepts of sets in discrete mathematics with this comprehensive PowerPoint presentation. Whether you are a student delving into the world of discrete structures or an enthusiast eager to understand the fundamentals, this presentation serves as an insightful guide.
SET
A set is a well defined collection of objects, called the “elements” or “members” of the set.
A specific set can be defined in two ways-
If there are only a few elements, they can be listed individually, by writing them between curly braces ‘{ }’ and placing commas in between. E.g.- {1, 2, 3, 4, 5}
The second way of writing set is to use a property that defines elements of the set.
e.g.- {x | x is odd and 0 < x < 100}
If x is an element o set A, it can be written as ‘x A’
If x is not an element of A, it can be written as ‘x A’
Special types of sets-
Standard notations used to define some sets:
N- set of all natural numbers
Z- set of all integers
Q- set of all rational numbers
R- set of all real numbers
C- set of all complex numbers
TYPES OF SETS
-subset
-singleton set
-universal set
-empty set
-finite set
-infinte set
-eual set
-disjoint set
-cardinal set
-power set
OPERATIONS ON SET
The four basic operations are:
1. Union of Sets
2. Intersection of sets
3. Complement of the Set
4. Cartesian Product of sets
Union of two given sets is the smallest set which contains all the elements of both the sets.
A B = {x | x A or x B}
Let a and b are sets, the intersection of two sets A and B, denoted by A B is the set consisting of elements which are in A as well as in B
A B = {X | x A and x B}
If A B= , the sets are said to be disjoint.
If U is a universal set containing set A, then U-A is called complement of a set.
After going through this module, you are expected to:
• define well-defined sets and other terms associated to sets
• write a set in two different forms;
• determine the cardinality of a set;
• enumerate the different subsets of a set;
• distinguish finite from infinite sets; equal sets from equivalent sets
• determine the union, intersection of sets and the difference of two sets
Read| The latest issue of The Challenger is here! We are thrilled to announce that our school paper has qualified for the NATIONAL SCHOOLS PRESS CONFERENCE (NSPC) 2024. Thank you for your unwavering support and trust. Dive into the stories that made us stand out!
Honest Reviews of Tim Han LMA Course Program.pptxtimhan337
Personal development courses are widely available today, with each one promising life-changing outcomes. Tim Han’s Life Mastery Achievers (LMA) Course has drawn a lot of interest. In addition to offering my frank assessment of Success Insider’s LMA Course, this piece examines the course’s effects via a variety of Tim Han LMA course reviews and Success Insider comments.
Instructions for Submissions thorugh G- Classroom.pptxJheel Barad
This presentation provides a briefing on how to upload submissions and documents in Google Classroom. It was prepared as part of an orientation for new Sainik School in-service teacher trainees. As a training officer, my goal is to ensure that you are comfortable and proficient with this essential tool for managing assignments and fostering student engagement.
The French Revolution, which began in 1789, was a period of radical social and political upheaval in France. It marked the decline of absolute monarchies, the rise of secular and democratic republics, and the eventual rise of Napoleon Bonaparte. This revolutionary period is crucial in understanding the transition from feudalism to modernity in Europe.
For more information, visit-www.vavaclasses.com
The Roman Empire A Historical Colossus.pdfkaushalkr1407
The Roman Empire, a vast and enduring power, stands as one of history's most remarkable civilizations, leaving an indelible imprint on the world. It emerged from the Roman Republic, transitioning into an imperial powerhouse under the leadership of Augustus Caesar in 27 BCE. This transformation marked the beginning of an era defined by unprecedented territorial expansion, architectural marvels, and profound cultural influence.
The empire's roots lie in the city of Rome, founded, according to legend, by Romulus in 753 BCE. Over centuries, Rome evolved from a small settlement to a formidable republic, characterized by a complex political system with elected officials and checks on power. However, internal strife, class conflicts, and military ambitions paved the way for the end of the Republic. Julius Caesar’s dictatorship and subsequent assassination in 44 BCE created a power vacuum, leading to a civil war. Octavian, later Augustus, emerged victorious, heralding the Roman Empire’s birth.
Under Augustus, the empire experienced the Pax Romana, a 200-year period of relative peace and stability. Augustus reformed the military, established efficient administrative systems, and initiated grand construction projects. The empire's borders expanded, encompassing territories from Britain to Egypt and from Spain to the Euphrates. Roman legions, renowned for their discipline and engineering prowess, secured and maintained these vast territories, building roads, fortifications, and cities that facilitated control and integration.
The Roman Empire’s society was hierarchical, with a rigid class system. At the top were the patricians, wealthy elites who held significant political power. Below them were the plebeians, free citizens with limited political influence, and the vast numbers of slaves who formed the backbone of the economy. The family unit was central, governed by the paterfamilias, the male head who held absolute authority.
Culturally, the Romans were eclectic, absorbing and adapting elements from the civilizations they encountered, particularly the Greeks. Roman art, literature, and philosophy reflected this synthesis, creating a rich cultural tapestry. Latin, the Roman language, became the lingua franca of the Western world, influencing numerous modern languages.
Roman architecture and engineering achievements were monumental. They perfected the arch, vault, and dome, constructing enduring structures like the Colosseum, Pantheon, and aqueducts. These engineering marvels not only showcased Roman ingenuity but also served practical purposes, from public entertainment to water supply.
Macroeconomics- Movie Location
This will be used as part of your Personal Professional Portfolio once graded.
Objective:
Prepare a presentation or a paper using research, basic comparative analysis, data organization and application of economic information. You will make an informed assessment of an economic climate outside of the United States to accomplish an entertainment industry objective.
3. Objectives :
At the end of the lesson, students will be able to identify the sets denoted by
N,Z,W,O,E,P,C and by other symbols;
4.
5. What is Number System
•A numeral system (or system of
numeration) is a writing system for
expressing numbers, that is, a mathematical
notation for representing numbers of a
given set, using digits or other symbols in a
consistent manner.
7. Natural Numbers
•Natural numbers are a part of the number system
which includes all the positive integers from 1 till
infinity. It is an integer which is always greater
than zero(0).
•Example; { 1, 2, 3, 4, 5, … }
8. Integers
•Integers. Integers are like whole numbers, but
they also include negative numbers ... but still no
fractions allowed! So, integers can be negative
{−1, −2,−3, −4, ... }, positive {1, 2, 3, 4, ... }, or
zero {0}
9. Whole Numbers
•whole numbers are the basic counting numbers 0, 1, 2, 3, 4,
5, 6, … and so on. 17, 99, 267, 8107 and 999999999 are
examples of whole numbers. Whole numbers include
natural numbers that begin from 1 onwards. Whole
numbers include positive integers along with 0.
10. Even Numbers
•An even number is a number that can be divided into
two equal groups.
OR
A number which is divisible by 2 and generates a
remainder of 0 is called an even number.
•Even numbers end in 2, 4, 6, 8 and 0
•All the numbers ending with 0,2,4,6 and 8 are even
numbers. For example, numbers such as 14, 26, 32, 40
and 88 are even numbers.
11. Odd Numbers
•An odd number is a number that cannot be divided into
two equal groups.
•All the numbers ending with 1,3,5,7 and 9 are odd
numbers. For example, numbers such as 11, 23, 35, 47
etc. are odd numbers.
12. Prime Numbers
•a number that is divisible only by itself and 1
(e.g. 2, 3, 5, 7, 11).
OR
prime numbers are whole numbers greater than 1,
that have only two factors – 1 and the number itself.
13. Composite Numbers
•A number that is divisible by a number other than 1
and the number itself, is called a composite number.
OR
A number that is a multiple of at least two numbers
other than itself and 1.
17. Key Words
• Set
• Description
• Roaster method or Tabular method.
• Set builder method or Rule method
• Cardinality of set
18. What is a set?
The theory of sets was developed by
German
• mathematician Georg Cantor
(1845-1918).
He firstencountered sets while
working on “problems on
trigonometric series”.
Sets are used to define the concepts of relations and functions. The study of
geometry, sequences, probability, etc. requires the knowledge of sets.
Studying sets helps us categorize information. It allows us to
make sense of a large amount of information by breaking it
down into smaller groups.
Georg Cantor
(1845-1918)
19. A group or collection of well-defined distinct objects is
called a set .
When do we say that a collection is
“well-defined”?
When do we say that an object belongs to
a group?
¤ Each object in a set is called a member
or an element of a set.
20. 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.
In other words A set is a collection of objects.
These objects are called elements or members of the set.
The symbol for element is .
The following points are noted while writing a set.
Sets are usually denoted by capital letters A, B, S, etc.
The elements of a set are usually denoted by small letters a, b,
t, u, etc
Examples:
A = {a, b, d}
B = {math, religion, literature, computer science}
C = { }
21. Sets
Other ways to denote sets
N = {1, 2, 3, 4. . .}
(set of natural numbers)
Z = {. . ., -3, -2, -1, 0, 1, 2, 3,. . .}
(set of integers)
E = {0, 2, 4, 6. . .}
(set of even natural numbers)
Sets can be well defined.
A well defined set is a set whose contents are clearly determined. The
set defined as “colors” would not be well defined while “the set of colors in a
standard box of eight crayons” is well defined.
22. There are three methods used to indicate a set:
• 1. Description
• 2. Roaster method or Tabular method.
• 3. Set builder method or Rule method
23. Description
Description means just that, words
describing what is included in a set.
For example, Set M is the set of months that
start with the letter J.
24. Roster Form
•All elements of the sets are listed , each element separated
by comma(,) and enclosed within brackets
•e.g Set C= {1,6,8,4}
• Set T ={Monday,Tuesdy,Wednesday,Thursday,
Friday,Saturday}
• Set k={a,e,i,o,u}
25. Rule method or set builder method
• All elements of set posses a common property
• e.g. set of natural numbers is represented by
• K= {x|x is a natural no}
•Here | stands for ‘such that’ ‘:’can be used in place of ‘|’
• Set T={y|y is a season of the year} Set H={x|x is blood type}
26. Cardianility of set
• Number of element in a set is called as cardianility of set.
No of elements in set n (A)
e.g Set A= {he,she, it,the, you} Here no. of elements are n
|A|=5
Singleton set containing only one elements
e.g Set A={3}
28. Describe the following sets using thespecified methods.
A. Write a verbal description for each of the following sets:
1. D = {1, 3, 5, 7, . . . }
2. E = {a, b, c, . . . , z}
3. F = {4, 8, 12, 16, . . . , 96}
Answer:
1. The set of odd numbers.
2. The set of small letters in the English alphabet.
3. The set of multiples of 4 between 0 and 100.
Home Work
29. Describe the following sets using the specified methods.
B. List the elements of the following sets:
1. M = {x|x > 7, x is an odd integer}
2. A = {x|7 < x < 8, x is a counting number}
3. T = {x|x is a city in Metro Manila}
4. H = {x|x is a counting number between 7 and 10}
Answers:
1. M = {9, 11, 13, 15, 17, . . . }
2. A = { } or
3. T = {Manila, Caloocan, Las Piñas, . . . Pasig}
4. H = {8, 9}
Class Work
30. Describe the following sets using thespecified methods.
C. Write a rule for the following: 1. S = {a, e,
i, o, u}
2. E = {3, 6, 9, . . . , 30}
3. T = {Monday, Tuesday, Wednesday, . . . , Sunday}
Home Work
35. Key Words
1. Empty set
2. Finite set
3. Infinite set
4. Equal set
5. Equivalent set
6. Disjoint set
7. Overlapping set
8. Subset Universal set
36. Empty sets
• A set which does not contain any elements is called as Empty set or Null or Void
set. Denoted by or { }
e.g. Set A= {set of months containing 32 days}
Here n (A)= 0; hence A is an empty set.
e.g. set H={no of cars with three wheels}
• Here n (H)= 0; hence it is an empty set.
37. Finite set
• Set which contains definite no of element.
• e.g. Set A= {1,2,3,4}
• Counting of elements is fixed.
Set B = { x|x is no of pages in a particular book}
Set T ={ y|y is no of seats in a bus}
38. Infinite set
• A set which contains indefinite numbers of elements.
Set A= { x|x is a of whole numbers}
Set B ={y|y is point on a line}
39. Equal sets
• Two sets kand R are called equal if they have equal numbers and
of similar types of elements.
• e.g. If k={1,3,4,5,6} R ={1,3,4,5,6} then both Set k and R are equal.
• We can write as Set K= Set R
40. Equivalent Set
• Equivalent sets have different elements but have the same
amount of elements. If we want to write that
two sets are equivalent, we would use the tilde (~) sign.
A set's cardinality is the number of elements in the set.
Therefore, if two sets have the same cardinality, they
are equivalent!
• OR
• Two sets A and B are said to be equivalent if they have the
same cardinality .
• i.e. n(A) = n(B)
• Example. A={1,2,3} , B={2,3,4} then
• A ~ B
41. Disjoint Set
Sets with no common elements are
calleddisjoint
• If A ∩ B = Ø, then A and B aredisjoint
42. Overlapping Set
• Two sets A and B are said to be overlapping if they contain at least
one element in common.
• For example; • A = {a, b, c, d} B = {a, e, i, o, u}
43. Subset
• Sets which are the part of another set are called
subsets of the original set. For example, if
A={3,5,6,8} and B ={1,4,9}
then B is a subset of A it is
represented as B A
• Every set is subset of itself i.e A
A
Empty set is a subset of
every set. i.e A
.3
.5
.6.
.8
.1
.9
A
.4 B
44. Universal set
• The universal set is the set of all elements
pertinent to a given discussion
It is designated by the symbol U
e.g. Set T ={The deck of ordinary playing cards}.
Here each card is an element of universal set.
Set A= {All the face cards} Set B=
{numbered cards}
Set C= {Poker hands} each of these sets are Subset
of universal set T
46. ACTIVITY 1
Determine whether the following is a set ornot:
1. The collection of all Math teachers.
2. Tall students in Grade 9.
3. Rich people in the Pakistan.
4. Planets in the Solar System.
5. Beautiful followers.
6. People living on the moon.
7. The collection of all large numbers.
8. The set of all multiples of 5.
9. A group of good writers.
10. Nice people in your class.
47. Power Sets
Given any set, we can form a set of all possible subsets.
This set is called the power set.
Notation: power set or set A denoted as P(A)
Ex: Let A = {a}
P(A) = {Ø, {a}}
Let A = {a, b}
P(A) = {Ø, {a}, {b}, {a, b}}
• Let B = {1, 2, 3}
P(B)={Ø,{1},{2},{3},{1,2},{1,3}
,{2,3},{1,2,3}}
49. Applications
1.A set having no element is empty set. ( yes/no)
2.A set having only one element is singleton set. (yes/no)
3.A set containing fixed no of elements.{ finite/
infinite set)
4. Two set having no common element. ( disjoint set
/complement set)
52. Objectives :
• End of the lesson students student able to understand about
operations of set
53. Operation on Sets
• Union of sets
• Intersection of sets
• Difference of two sets
• symmetric difference
• Complement of a set
54. Union
Definition: Let A and Bbe sets. The union of thesets
A and B,denoted by A ∪ B, is the set:
Example: What is
Solution: {1,2,3,4,5} U
A B
{1,2,3} ∪ {3, 4, 5}?
Venn Diagram for A ∪ B
55. Intersection
Definition: The intersection of sets A and B, denoted by A ∩ B,is
Note if the intersection is empty, then A and Bare said to be disjoint.
Example: What is {1,2,3} ∩ {3,4,5} ?
Solution: {3}
Example: What is
{1,2,3} ∩ {4,5,6} ?
Solution: ∅
U
A B
Venn Diagram for A ∩B
56. Difference
Definition: Let A and Bbe sets. The difference of A and B, denoted
by A–B,is the set containing the elements of A that are not in B.
The difference of A and Bis also called the complement of Bwith respect to
A.
A –B= {x| x ∈A x ∉ B} = A - B
U
A
B
Venn Diagram for A− B
57. Symmetric Difference
• Definition: The symmetric difference of Aand B, denoted by
• A B is the set
• Example:
• U = {0,1,2,3,4,5,6,7,8,9,10}
A = {1,2,3,4,5} B={4,5,6,7,8}
A B ={1,2,3,4,5} {4,5,6,7,8}
Solution: {1,2,3,6,7,8}
Venn Diagram
58. Universal Set
A universal set is the super set of all sets under consideration
and is denoted by U.
Example: If we consider the sets A, B and C as the cricketers of India,
Australia and England respectively, then we can say that the universal set (U)
of these sets contains all the cricketers of the world.
The union of two sets A and B is the set which contains all those elements
which are only in A, only in B and in both A and B, and this set is denoted by
“A ŭB”.
59. Complement
of a set is the set of all elements notin
• theset.
– Written𝐴𝑐 𝑜𝑟 𝐴′
– Need a universe of elements to drawfrom.
– Set U is usually called the universalset.
– Ac = {x| x U - A}
– B’= U- B
64. Objectives :
• End of the lesson students student able to understand about
properties of union and intersection and there vein diagram
65. Commutative Properties
•The Commutative Property for Union and the Commutative
Property for Intersection say that the order of the sets in which we
do the operation does not change the result.
67. Commutative Property of Union
• Let A = {x : x is a whole number between 4 and 8} and B = {x : x is an even
natural number less than 10}.
• W.r.t Addition
• AUB=BUA
• A ∪ B = {5, 6, 7} ∪ {2, 4, 6, 8} = {2, 4, 5, 6, 7, 8}
• BUA= {2, 4, 6, 8} ∪ {5, 6, 7} = {2, 4, 5, 6, 7, 8}
• Hence prove L.H.S = R.H.S
68. Commutative Property of Intersection
• Let A = {x : x is a whole number between 4 and 8} and B = {x : x is an
even natural number less than 10}.
• A ∩ B = B ∩ A
• A ∩ B = {5, 6, 7} ∩ {2, 4, 6, 8} = {6}
• B ∩ A = {2, 4, 6, 8} ∩ {5, 6, 7} = {6}
• Hence prove L.H.S=R.H.S
69. Associative Properties
•The Associative Property for Union and the Associative
Property for Intersection says that how the sets are grouped
does not change the result.
71. Associative Property of union
• (A ∪ B) ∪ C = A ∪ (B ∪ C)
• Let A = {a, n, t}, B = {t, a, p}, and C = {s, a, p}.
• L.H.S (A ∪ B) ∪ C
(A ∪ B) = {a, n, t} ∪ {t, a, p} = {p, a, n, t}
(A ∪ B) ∪ C = {p, a, n, t} U {s, a, p} = {p, a, n, t, s}
• R.H.S A ∪ (B ∪ C)
(B ∪ C) = {t, a, p} U {s, a, p} = {t, a, p, s}
A ∪ (B ∪ C) = {a, n, t} U {t, a, p, s} = {p, a, n, t, s}
Hence prove L.H.S = R.H.S
72. Associative Property of Intersection
• (A ∩ B) ∩ C = A ∩ (B ∩ C)
• Let A = {a, n, t}, B = {t, a, p}, and C = {s, a, p}.
• L.H.S (A ∩ B) ∩ C
(A ∩ B) = {a, n, t} ∩ {t, a, p} = {a,t}
(A ∩ B) ∩ C = {p, a, n, t} ∩ {a, t} = {a}
• R.H.S A ∩ (B ∩ C)
(B ∩ C) = {t, a, p} ∩ {s, a, p} = {a, p }
A ∪ (B ∪ C) = {a, n, t} ∩ {a, p } = {a}
Hence prove L.H.S = R.H.S
73. Identity Property for Union
The Identity Property for Union says that the union
of a set and the empty
set is the set, i.e., union of a set with the empty set
includes all the members of the set.
75. A ∪ ∅ = ∅ ∪ A = A
•Example:
Let A = {3, 7, 11} and { }
Then A ∪ ∅ = {3, 7, 11} ∪ { }.
A ∪ ∅ = {3, 7, 11}
76. Intersection Property of the Empty Set
• The Intersection Property of the Empty Set says that any set intersected with the empty
set gives the empty set.
A ∩ ∅ = ∅ ∩ A = ∅.
Example: Let A = {3, 7, 11} and B = {x : x is a natural number less than 0}.
Then A ∩ B = {3, 7, 11} ∩ { } = { }.
B ∩ A = { } ∩ { 3,7,11} = { }
77. Distributive Properties
•The Distributive Property of Union over
Intersection and the Distributive Property of
Intersection over Union show two ways of finding results
for certain problems mixing the set operations of union
and intersection.
•A ∪ (B ∩ C) = (A ∪ B) ∩ (A ∪ C)
•and A ∩ (B ∪ C) = (A ∩ B) ∪ (A ∩ C)
79. Distributive Property of Union over Intersection
• A ∪ (B ∩ C) = (A ∪ B) ∩ (A ∪ C)
• Let A = {a, n, t}, B = {t, a, p}, and C = {s, a, p}. Then
L.H.S A ∪ (B ∩ C)
(B ∩ C) = { t, a, p} ∩ { s, a, p} = {a, p}
A ∪ (B ∩ C)= {a, n, t} ∪ {a, p} = {a, n, t, p}
R.H.S (A ∪ B) ∩ (A ∪ C)
AUB= {a, n, t} U {t, a, p} = {a, n, t, p}
A ∪ C = {a, n, t} U {s, a, p} = { a, n, s, t, p}
(A ∪ B) ∩ (A ∪ C) = {a, n, t, p} ∩ { a, n, s, t, p} = {a, n, t, p}
• Hence prove L.H.S = R.H.S
80. Distributive Property of Intersection
over Union
• A ∩ (B U C) = (A ∩ B) U (A ∩ C)
• Let A = {a, n, t}, B = {t, a, p}, and C = {s, a, p}. Then
L.H.S A ∩ (B U C)
(B U C) = { t, a, p} ∩ { s, a, p} = {a, t, s, p}
A ∩ (B u C)= {a, n, t} ∩ {a, t, s, p}= {a, t }
R.H.S (A ∪ B) ∩ (A ∪ C)
A ∩ B= {a, n, t} ∩ {t, a, p} = {a, t}
A ∩ C = {a, n, t} ∩ {s, a, p} = { a }
(A ∩ B) U (A ∩ C) = {a, t } ∩ { a } = {a, t }
• Hence prove L.H.S = R.H.S
83. De Morgan’s law
• The complement of the union of two sets is equal to the
intersection of their complements and the complement of the
intersection of two sets is equal to the union of their
complements. These are called De Morgan’s laws.
• (i) (A U B)' = A' ∩ B' (which is a De Morgan's law of union).
• (ii) (A ∩ B)' = A' U B' (which is a De Morgan's law of
intersection).
89. Objectives :
• End of the lesson students student able to understand Cartesian
product and Binary Relation
90. Cartesain Product
Ordered pairs - A list of elements in which the order is significant.
Order is not significant for sets!
Notation: use round brackets.
• (a, b)
{a,b} = {b,a}
(a,b) (b,a)
Cartesian Product: Given two sets A and B, the set of
– all ordered pairs of the form (a , b) where a is any
– element of A and b any element of B, is called the
– Cartesian product of A and B.
Denoted as A x B
• A x B = {(a,b) | a A and b B}
• Ex: Let A= {1,2,3}; B = {x,y}
– A x B = {(1,x),(1,y),(2,x),(2,y),(3,x),(3,y)}
– B x A ={(x,1),(y,1),(x,2),(y,2),(x,3),(y,3)}
– B x B = B2 = {(x,x),(x,y),(y,x),(y,y)}
• (1, 2) • (2, 1)
91. Binary Relation
• Let P and Q be two non- empty sets. A binary relation R is defined to be a subset of
P x Q from a set P to Q. If (a, b) ∈ R and R ⊆ P x Q then a is related to b by R i.e.,
aRb. If sets P and Q are equal, then we say R ⊆ P x P is a relation on P
• (i) Let A = {a, b, c}
• B = {r, s, t}
• Then R = {(a, r), (b, r), (b, t), (c, s)}
• is a relation from A to B.
•
• (ii) Let A = {1, 2, 3} and B = A
• R = {(1, 1), (2, 2), (3, 3)}
• is a relation (equal) on A.
93. Examples Of Relations
• Example1: If A has m elements and B has n elements. How many relations are there
from A to B and vice versa?
• Solution: There are m x n elements; hence there are 2m x n relations from A to A.
• Example2: If a set A = {1, 2}. Determine all relations from A to A.
• Solution: There are 22= 4 elements i.e., {(1, 2), (2, 1), (1, 1), (2, 2)} in A x A. So, there
are 24= 16 relations from A to A. i.e.
• {(1, 2), (2, 1), (1, 1), (2, 2)}, {(1, 2), (2, 1)}, {(1, 2), (1, 1)}, {(1, 2), (2, 2)},
• {(2, 1), (1, 1)},{(2,1), (2, 2)}, {(1, 1),(2, 2)},{(1, 2), (2, 1), (1, 1)},
• {(1, 2), (1, 1), (2, 2)}, {(2,1), (1, 1), (2, 2)}, {(1, 2), (2, 1), (2, 2)}, {(1, 2), (2, 1), (1, 1), (2,
2)} and ∅.