Lec 06 - Relations

IIT Madras - B.S. Degree Programme
25 Jun 202020:59

Summary

TLDRThis video script explores the concept of sets and relations in mathematics. It begins by explaining set operations like union, intersection, and difference, and introduces set comprehension for creating subsets. The script then delves into the Cartesian product, a method of combining sets to form pairs, and uses it to define binary relations. Examples of relations, both numerical and conceptual, are given, such as teacher-course allocations and parent-child relationships. The video also covers properties of relations, including reflexivity, symmetry, transitivity, and anti-symmetry, culminating in the explanation of equivalence relations and equivalence classes. The script effectively uses geometric visualizations and real-world analogies to clarify abstract mathematical ideas.

Takeaways

  • 😀 Sets are collections of items from which new sets can be constructed through operations like unions, intersections, and differences.
  • 📚 Set comprehension is a notation that allows for creating subsets based on a base set and a specified condition.
  • 🤝 The Cartesian product is a method of combining two sets to form a new set consisting of ordered pairs from each set.
  • 📏 In the Cartesian product, the order of elements is crucial, meaning that (a, b) is not the same as (b, a).
  • 📈 Relations are subsets of a Cartesian product, formed by applying a condition to select specific pairs, which can be visualized as points on a graph.
  • 🔍 Relations can be represented in various ways, including as a graph with nodes and arrows, or by using set-builder notation.
  • 🔢 Relations can define geometric shapes, such as a circle, by specifying conditions on the elements' coordinates.
  • 🏷️ Special binary relations include the identity relation, which maps every element to itself, and equivalence relations, which are reflexive, symmetric, and transitive.
  • 🔄 Equivalence relations partition a set into disjoint equivalence classes, where elements within a class are considered equivalent, and elements across different classes are not.
  • 📊 Relations can be defined on an arbitrary number of sets, not just binary relations, and can involve tuples of varying lengths.
  • 📋 Properties of relations such as reflexivity, symmetry, transitivity, and anti-symmetry are important for understanding the nature and behavior of the relationships between elements.

Q & A

  • What is a set in the context of this script?

    -A set is a collection of items from which new sets can be constructed through operations like unions, intersections, and differences.

  • What is set comprehension notation used for?

    -Set comprehension notation is used to carve out subsets of a set by applying some condition to the elements of the base set and collecting the elements that meet the condition.

  • Can you explain the concept of the Cartesian product in the context of sets?

    -The Cartesian product is a way to combine two sets to form a new set consisting of all possible ordered pairs, where the first element of each pair comes from the first set and the second element comes from the second set.

  • How is the order of elements important in the context of pairs in a Cartesian product?

    -In the context of pairs in a Cartesian product, the order of elements is crucial because it determines the distinctness of pairs. For example, the pair (a, b) is not the same as the pair (b, a) unless a equals b.

  • What is a relation in terms of sets and the Cartesian product?

    -A relation is a subset of a Cartesian product that is formed by applying a condition to filter out pairs of interest from the set of all possible pairs.

  • How can a relation be denoted or represented?

    -A relation can be denoted by naming it as a set and stating that a pair (a, b) belongs to the relation R, or by using the relation as an operator, writing a R b to indicate that a is related to b by R.

  • Can you provide an example of a relation outside the context of numbers?

    -An example of a relation outside the context of numbers is an allocation relation in a school, where the set of teachers T is crossed with the set of courses C to form pairs indicating which teacher is teaching which course.

  • What is an equivalence relation and how does it differ from other relations?

    -An equivalence relation is a special type of binary relation that is reflexive, symmetric, and transitive. It partitions a set into disjoint equivalence classes, where elements within a class are equivalent to each other and not equivalent to elements in other classes.

  • How does the script explain the concept of equivalence classes?

    -The script explains equivalence classes as groups of elements that are equivalent to each other based on an equivalence relation. It uses the example of integers modulo 5, which partitions the integers into five disjoint classes based on their remainder when divided by 5.

  • What are the properties of binary relations mentioned in the script?

    -The script mentions reflexivity, symmetry, transitivity, and anti-symmetry as properties of binary relations. These properties help define the nature of the relation between elements in a set.

  • Can you give an example of how relations can define geometric shapes?

    -The script provides an example where all points (a, b) in the Cartesian product R x R that are at a distance of 5 from the origin (0, 0) define a circle with a radius of 5 centered at the origin. This demonstrates how relations can be used to describe geometric shapes.

Outlines

00:00

🔍 Introduction to Relations and Set Operations

The paragraph introduces the concept of relations, building upon the idea of sets as collections of items. It discusses how new sets can be formed through operations like unions, intersections, and differences, and how set comprehension is used to create subsets based on certain conditions. The Cartesian product is introduced as a method to combine two sets by forming pairs of elements, emphasizing the importance of order in these pairs. The concept is illustrated with examples, including the set of integers divisible by 2, fractions with coprime numerators and denominators, and real numbers within specific intervals. The paragraph also explains how to visualize these relations as points on a graph, particularly when dealing with numbers.

05:04

📚 Relations in Various Contexts and Their Representation

This paragraph delves into different contexts where relations can be applied, such as in a school setting where teachers and courses are represented as sets, and the allocation relation shows which teachers are teaching which courses. It also discusses the representation of relations as graphs with nodes and arrows, and how this can be used to visualize relations on finite sets. The paragraph further explores relations in the context of familial relationships, specifically between mothers and children, and how geometric shapes can be defined by relations, such as points at a certain distance from the origin forming a circle. It also touches on how relations can be viewed in different ways, such as rational numbers in reduced form being a relation on integers.

10:07

📐 Advanced Relations and Geometric Interpretations

The paragraph discusses the extension of the Cartesian product notation to multiple sets and provides examples, including Pythagorean triples that satisfy the theorem a^2 + b^2 = c^2, and squares on a plane defined by their corners. It explains how these relations can involve multiple sets of points, each being a pair of real numbers. The concept of n-tuples is introduced, showing how relations can be defined on an arbitrary number of copies of a set, moving from pairs to triples to quadruples, and so on. Special binary relations such as the identity relation, which maps every element to itself, are also highlighted, with examples of how they can be simplified in notation.

15:12

🔄 Properties of Relations: Reflexivity, Symmetry, and Transitivity

This paragraph explores various properties that relations may possess, such as reflexivity, where an element is related to itself, symmetry, where the relation of a to b implies the relation of b to a, and transitivity, where a relation between a and b and between b and c implies a relation between a and c. It provides examples of these properties, such as the divisibility relation being reflexive, the greatest common divisor relation being symmetric, and the less than relation being transitive. The paragraph also introduces anti-symmetry, which states that if a relation exists from a to b, then it cannot exist from b to a in the opposite way, using the mother-child relationship as an example.

20:17

🔗 Equivalence Relations and Their Impact on Set Partitioning

The final paragraph introduces equivalence relations, which are relations that are reflexive, symmetric, and transitive. It explains how equivalence relations can partition a set into disjoint classes, where all elements within a class are equivalent to each other, and all elements across different classes are not equivalent. The concept of modulo arithmetic is used as an example to illustrate how equivalence relations can group numbers with the same remainder when divided by a certain number. The paragraph also relates equivalence relations to the concept of a clock, which partitions time into AM and PM, showing how equivalence classes can represent a form of equality with similar properties to actual equality.

Mindmap

Keywords

💡Set

A set is a fundamental concept in mathematics representing a collection of distinct items, which can be numbers, objects, or even other sets. In the video, sets are used as the basis for constructing more complex mathematical structures. For example, new sets can be formed by taking unions, intersections, and differences of existing sets, which are operations that combine sets in various ways to create new ones.

💡Relation

A relation in mathematics is a way of describing a connection between two sets. The video script introduces relations as subsets of a Cartesian product, which are formed by applying certain conditions to pairs of elements from two sets. Relations are essential in understanding how elements from different sets can be associated with one another, and they can be visualized using graphs or other means.

💡Cartesian Product

The Cartesian product is a operation that combines two sets to create a new set, where each element of the new set is an ordered pair consisting of one element from each of the original sets. In the video, the Cartesian product is used to form pairs that can then be filtered by certain conditions to define relations. For instance, the script mentions 'A cross B' to denote the set of all ordered pairs (a, b) where a is from set A and b is from set B.

💡Set Comprehension

Set comprehension is a concise way to define a set by specifying a rule or condition that its elements must satisfy. In the video, set comprehension is used to describe subsets of a base set that meet certain criteria, such as all integers divisible by 2 or fractions where the numerator and denominator have no common divisors. This concept is crucial for creating specific sets that are relevant to the discussion of relations.

💡Binary Relation

A binary relation is a specific type of relation that involves two sets. It is a subset of the Cartesian product of these two sets, where only certain pairs that meet a given condition are included. The video script discusses binary relations extensively, using them to illustrate various mathematical concepts, such as the teacher-student relation or the mother-child relation.

💡Equivalence Relation

An equivalence relation is a special type of binary relation that is reflexive, symmetric, and transitive. It is used to partition a set into disjoint equivalence classes, where elements within each class are considered equivalent based on the relation's criteria. In the video, equivalence relations are exemplified by the relation of congruence modulo 5, which groups integers based on their remainder when divided by 5.

💡Reflexivity

Reflexivity is a property of a relation where every element is related to itself. This means that for a relation to be reflexive, each element a in the set must be paired with itself (a, a) in the relation. The video script uses the example of the identity relation on natural numbers to illustrate reflexivity, where every number is paired with itself on a grid.

💡Symmetry

Symmetry in the context of relations means that if one element is related to another, then the second element is also related to the first. In other words, if (a, b) is in the relation, then (b, a) must also be in the relation. The script gives the example of the greatest common divisor relation, where if 'a' and 'b' share no common divisors, the same is true if 'b' and 'a' are considered.

💡Transitivity

Transitivity is a property of relations that states if 'a' is related to 'b' and 'b' is related to 'c', then 'a' must also be related to 'c'. This property is important for understanding how relations can propagate through a set. The video script explains transitivity with the example of divisibility, where if a number 'a' divides 'b', and 'b' divides 'c', then 'a' divides 'c'.

💡Anti-symmetry

Anti-symmetry is a property of a relation where if (a, b) is in the relation, then (b, a) cannot be in the relation. This property is used to ensure that the relation does not allow for two elements to be related in both directions. The video provides the example of the 'less than' relation, where if 'a' is less than 'b', then 'b' cannot be less than 'a'.

Highlights

Introduction to the concept of Relations as a way to combine sets into new sets.

Explanation of set operations such as union, intersection, and difference.

Set comprehension notation for creating subsets based on conditions.

Introduction of Cartesian product for forming pairs from two sets.

Visual representation of Cartesian products as grids or graphs.

Definition and example of binary relations using set comprehension.

Different notations for expressing relations, such as R(a, b) and aRb.

Real-world application of relations in teacher-course allocation.

Graphical representation of relations using nodes and arrows.

Relation between mothers and children as an example of a binary relation.

Use of Pythagorean theorem to define relations in geometry.

Concept of n-tuples and their relation to Cartesian products.

Special binary relations like identity, and their properties.

Properties of relations: reflexivity, symmetry, and transitivity.

Explanation of anti-symmetry and its difference from symmetry.

Introduction and characteristics of equivalence relations.

Equivalence relations partitioning sets into disjoint equivalence classes.

Practical example of equivalence relations using a clock for modulo arithmetic.

Summary of the key concepts and properties of relations discussed in the transcript.

Transcripts

play00:14

So, we have seen Sets, now let us move on to Relations. As we saw a set is a collection

play00:20

of items and we can construct new sets from old sets. So, we can take unions combine two

play00:25

sets into one. We can take intersections, take the common elements. We can take the

play00:28

difference that is take the elements of X which are not in Y and if we define the universe

play00:33

with with respect to which we are working, we can define the complement those elements

play00:37

that are not in X. Now, in general we are interested in carving

play00:41

out subsets of a set and so, we use the set comprehension notation. So, what this does

play00:47

is it takes a base set and takes elements of that set, then it applies some condition

play00:51

those elements we are interested in and then it collects them all together. So, we can

play00:55

take all the integers which are divisible by 2 or not divisible by 2 in this case, so

play00:59

we get the odd one; so, those where the remainder is 1.

play01:01

Or we can take all fractions in which the numerator and the denominator have no common

play01:06

divisor or we can take for instance the real numbers which lie in an interval in the with

play01:13

the left closed interval 3 and the right open interval 17.

play01:16

So, now, we will see a new way to combine sets to form new sets and this is called the

play01:22

Cartesian product. And, in the Cartesian product basically what we do is we take two sets and

play01:27

we take one element from each and form a pair. So, A cross B as it is called is the set of

play01:33

all pairs which we write with this normal bracket notation a comma b such that the first

play01:38

element A comes from the big the set capital A and the second element comes from the set

play01:42

capital B . So, for instance, if A is the set 0, 1 and

play01:46

B is a set 2, 3 then all possible pairs we can form in the Cartesian product a 0 combined

play01:51

with 2. So, 0 comma 2, 0 comma 3 and then 1 combined with 2, 1 comma 2 and 1 comma 3.

play01:56

So, we have four possible pairs . Now, in sets we said that the order of the

play02:02

element is not important, but of course, when we are doing this kind of a pairing, then

play02:06

we know that the left set comes from the left part of the product and the right element

play02:10

comes from the right part of the product . So, for example, 0 comma 1 is not equal to 1 comma

play02:14

0. So, here we have to respect the order when we talk about a pair.

play02:18

Now, if we have sets of numbers right then we normally visualize the product as a space

play02:26

which we draw familiarly as a graph. So, for instance if we take N cross N then we draw

play02:31

N cross N as this grid, where on the x-axis you have one copy of N, on the y-axis you

play02:36

have another copy of N . And, for example, if you want to look at the pair 2 comma 3,

play02:40

then such that the x-coordinate is 2 and the y-coordinate is 3 and you get this point and

play02:45

similarly, if you look at the point 5 comma 6 you get this point right.

play02:48

So, you can take the first coordinate plot it on the x-axis; take the second coordinate

play02:52

plot it on the y-axis and where those two points meet in the grid is the point that

play02:56

we are interested in. So, this is one way of visualizing a binary relation on numbers.

play03:00

And, we can do the same thing if you are using say the reals, in which case the grid points

play03:05

that we are going to plot will have real coordinates and not just natural number coordinates.

play03:10

So, now we have this Cartesian product which consists of all possible pairs of the two

play03:16

sets and as we did with set comprehension we might want to pick out some of these sets

play03:22

some of these pairs and this is what we call a relation.

play03:24

So, we combine this Cartesian product operation with set comprehension. So, for instance,

play03:30

we can take all pairs of numbers which are natural numbers n comma n, but we want to

play03:35

insist that the second number is 1 plus the first number.

play03:39

So, we get for instance 0, 1 because the second number one is 0 plus 1; 2, 3 because 3 is

play03:45

2 plus 1, 17, 18 and so on . And, if we plot these points alone on the right then we get

play03:51

these so, we get a subset of the overall points and this these points satisfied this set comprehension

play03:58

condition . Another example would be pairs again of natural

play04:03

numbers d comma n, where d is a factor of n. Remember, d is a factor of n means that

play04:08

if I divide n by d, I get remainder 0. So, for instance 2 is a factor of 82, 14 is a

play04:13

factor of forty 56. So, these will be points in our relation. So, this is what is called

play04:19

a binary relation. So, formally it is a subset of the product. So, we take the Cartesian

play04:23

product all possible pairs and then we apply some kind of a condition which filters out

play04:28

the pairs of interest to us and it gives us therefore, a subset of pairs and this is what

play04:33

we call a relation. Now, to denote the pairs that belonged to

play04:37

the relation either we can give the name of the relation as a set and say that a comma

play04:42

b belongs to R or sometimes to say that a is related to b we use R as a kind of operator.

play04:48

We say a is related by R to b and so, we write a R b. So, these are two notations which you

play04:54

might see in different books and they mean exactly the same thing.

play04:57

So, let us let us look at some other examples of relations outside the numbers. So, supposing

play05:03

you have a school in which there are some teachers and some courses to be taught. So,

play05:08

T is the set of teachers; C is the set of courses that are being offered in this term,

play05:14

then you need to describe which teachers are teaching which courses. So, we would have

play05:19

an allocation relation A which is a subset of all possible pairs T cross C.

play05:23

So, every teacher and principle could be teaching every course, but of course, this is not normally

play05:28

the case. We do not have all teachers teaching all courses, we have some teachers teaching

play05:32

some courses. So, we would specifically say take every pair of possible teacher course

play05:37

pairs, then we take out those were precisely the teacher T is actually teaching the course

play05:43

C and we collect those together to form this allocation relation.

play05:46

So, here is a different graphical way of describing a relation not in terms of the grid and the

play05:53

graph that we have learned when we do graphs in school. So, this is also called a graph,

play05:57

but this is a graph in which we have some nodes representing the elements on the set.

play06:02

So, on the left hand side we have five teachers, on the right hand side we have 5 four courses

play06:08

and the arrows from the left hand side to the right hand side connect the pairs which

play06:11

are in the relation. So, we see that Kumar teaches maths; Deb teaches history and so

play06:16

on. So, this is a useful useful way of visualizing

play06:20

relations on finite sets and we will see this often as we go along. Another example of a

play06:26

similar type of a relation is that between a parent and a child specifically let us look

play06:30

at mothers and children. So, if we have a set of people in a country, then we can take

play06:35

the set of all pairs of people and then isolate from that pairs in which the first element

play06:41

of the pair is the mother of the second element. So, we want m comma c which belongs to P cross

play06:46

P such that m is the mother of c. So, let us go back to a numbers. So, supposing

play06:54

we want to plot all points which are in R cross R which are at a distance 5 from 0,

play07:01

comma 0 which is normally called the origin. So, one thing you need to know for this we

play07:05

probably you should have learned this at some point is that if I take a point a comma b

play07:10

and calculate its difference from 0 comma 0. So, this is calculated using the Pythagoras

play07:15

theorem and it comes out to be square root of a squared plus b squared.

play07:18

So, in other words, the relation we are looking for in this case is all a comma b whose distance

play07:24

from 0 comma 0 is 5. So, all a comma b and R cross R such that the square root of a squared

play07:30

plus b squared is equal to 5. So, here are some of the points 0 comma 5 for instance

play07:36

you can see 0 comma 5 is there because the sum is 0 plus 25 and the square root of that

play07:40

is 5. 3 comma 4 is there because 3 squared is 9, 4 squared is 16, 9 plus 16 is 25, square

play07:47

root to 25 is again 5. So, interestingly these points if we plot

play07:52

every such point in R cross R which satisfies this actually defines a circle of radius 5

play07:58

with center at 0 comma 0. So, relations can define interesting geometric shapes and very

play08:03

often we do deal with geometric shapes in this relational form because it is easier

play08:08

to manipulate than looking at pictures. Now, depending on how we are going to view a relation,

play08:15

we can look at it in different ways. So, remember that we looked at rationals in

play08:20

reduced form. So, we said that a rational in reduced form has p comma q, p by q such

play08:26

that p and q are integers and the gcd is 1 right; that means, that they do not have a

play08:32

greatest common divisor other than 1. But, we can also think of this as a relation on

play08:37

integers itself. We want all pairs of integers. So, every rational is really a pair of integers,

play08:42

the numerator and the denominator and we want every pair of integers where the gcd is 1,

play08:49

that is, there is no common divisor. So, we do not have to restrict our self to

play08:55

binary relations. The Cartesian product notation extends to multiple sets. Let us look at three

play09:02

sets for instance. Remember, Pythagoras theorem which says that the square on the hypotenuse

play09:07

is the sum of the squares on the opposite sides. So, what values of a, b and c could

play09:12

be the sides of a right triangle are determined by Pythagoras's theorem.

play09:16

So, we would say that a, b and c is a valid triple in the Pythagoras sense if a, b, c

play09:22

belongs to N cross N cross N. So, here we now have three copies of N and a, b, c must

play09:29

all be nonzero. They must all be positive length, we do not want to have triangles in

play09:34

which one line one side is collapsed to a point and we want the constraint that a squared

play09:39

plus b squared is equal to c squared . Here is another example. Suppose, we look

play09:44

at squares on the plane squares with real corners right. So, a corner is a point x comma

play09:52

y which is in R cross R. So, we define the x coordinate and the y coordinate that defines

play09:56

the corner of a square and we want four corners which together form a square if we connect

play10:02

them by lines. So, for instance, if you look on the right the four blue dots correspond

play10:07

to a square which is cornered at 0, 0; 0, 2; 2, 0 and 2, 2.

play10:12

The red square is also red points also define a square because this is a rotated square,

play10:17

but then if you rotate it vertically you will turn out that this diamond is actually a square

play10:21

. So, there are many such four sets of points which form the corners of squares and we might

play10:27

be interested in all such four sets of points. So, now, we have a relation which involves

play10:32

four sets of points, but each point itself is a pair of real numbers; it is an x and

play10:39

a y. So, square if we think of it as a relation

play10:42

is actually a relation on R squared that is the first corner times R squared the second

play10:46

corner times R squared the third corner and the fourth corner R squared again. So, this

play10:50

is actually either a relation on eight copies of R or if you want to group it four copies

play10:57

of pairs of R . So, this just says that we can take relations

play11:00

on arbitrary an arbitrary number of copies of a set and we get larger and larger from

play11:05

pairs we move to triples we move to quadruples and in general if we have n copies we call

play11:09

this an n tuple . So, there are some special binary relations

play11:15

which pop up all over the place. So, it is useful to know their names. The first one

play11:18

is called the identity relation and as you would expect, the identity relation maps every

play11:23

element to itself. So, if I take A cross A, so, first of all the identity relation is

play11:28

defined on two copies of the same set because identity means equality. So, I take A cross

play11:34

A. So, this has all kinds of pairs a comma b, where both a and b belong to A and now,

play11:39

I want the condition that a is equal to b. So, in other words, I want things of the form

play11:43

a comma a. So, if I plot this for instance on the natural numbers and N cross N, then

play11:48

I get 0, 0; 1, 1 and so on, and these are the points which are drawn on the right in

play11:52

this grid . Now, point of notation we sometimes it is

play11:57

tedious to write this notation as it is says us a comma b time in n. So, we do not want

play12:02

to you know have to write out this long thing. So, sometimes we simplify this by saying I

play12:07

want all pairs such that a comma a belongs to A cross A. So, what we are really saying

play12:12

is that the second day and the first day must be the same. So, we are collapsing the equality

play12:16

and this. Now, this is not technically correct, but this is often used in order to simplify

play12:21

the notation . And, sometimes we might drop the product altogether.

play12:24

We might just say we want all pairs a comma a where a comes from the set A. So, in other

play12:29

words we are pulling out one copy of the element from the set and then we are constructing

play12:32

a pair by taking two copies of it. So, all of these are equivalent ways of writing this

play12:38

although only the first one technically follows the notation that we are using to introduce

play12:43

relations . Now, there are some properties that relations

play12:48

may have. The first one is called reflexivity. So, reflexivity refers to the fact that an

play12:54

element is related to itself. So, a reflexive relation is one in which for every element

play13:01

a; a comma a belongs to R. So, in other words based on what we just wrote above, it means

play13:07

that the identity relation is included in R. So, it does not mean that that is the only

play13:11

thing. The identity relation has only the reflexive elements. A relation that is reflexive

play13:16

will have the identity pairs and it will have other pairs, but it must have all the identity

play13:21

pairs to be called reflexive . A symmetric relation for instance is one where

play13:26

if a, b is there, then b a must be there. So, for instance looking at reflexive relations

play13:32

one example is the division relation. So, if we provided we make sure that the numbers

play13:37

are not 0, then we know it is reflexive because every number divides itself. So, if we take

play13:43

the reflect division relation as the relation that we introduced in the first part of this

play13:47

lecture that would be reflexive because a divides a for every a which is not 0.

play13:53

Similarly, symmetric relations if we look at pairs where the greatest common divisor

play13:59

is 1, in other words they have no common divisors. This is what happens for example, in reduced

play14:05

fractions, then it does not matter whether we write it as a comma b or b comma a. So,

play14:09

if a comma b has greatest common divisor 1, so does b comma a. So, a comma b and b comma

play14:14

a must both either be there in the relation or neither will be there.

play14:18

Similarly, if we look at this which is asking about the absolute value so, it is saying

play14:23

give me all numbers a and b such that a minus b is either plus 2 or minus 2. So, the absolute

play14:29

value takes the difference and removes the negative sign. Now, we see that for instance

play14:34

if 5 comma 7 is there, then 7 comma 5 must be there because they both have the same difference

play14:38

depending on how we write it. Normally, in subtraction we have a sign difference, but

play14:42

because we are taking the absolute value there is no difference actually between these two

play14:46

. So, this absolute value relation also if we fix is a symmetric relation.

play14:53

A third property that relations may have and which are useful is called transitivity. So,

play14:58

transitivity says that if we have two pairs which are related such that they share an

play15:05

elements. So, a is related to b and b is related to c, then a must be related to c. So, again

play15:12

our divisibility is a relation. So, supposing we say that 2 divides 6 and we say that 6

play15:17

divides 36, then from this we can conclude that 2 divides 36 as well, right.

play15:23

Similarly, if we take less than if we say that 3 is less than 10 and 10 is less than

play15:28

28, then we know from this that 3 must be less than 28. So, this is transitivity.

play15:33

So, if we want to draw it pictorially if we have three elements a and a, b and c and this

play15:38

arrow remember we had this graph notation which says a is related to b and b is related

play15:43

to a, then this dashed line represents the requirement for transitivity a must be related

play15:48

to c . Now, we saw symmetry. So, symmetry says that

play15:53

if a, b is in R, then b comma a must also be in R. Anti-symmetry says something different

play15:59

it says if a, b is in R, then b comma a should not be in R. So, less than for example, which

play16:05

was transitive above is also anti-symmetric. If you take strictly less than, if a is strictly

play16:10

less than b then it cannot be that be strictly less than a. So, this is an anti symmetric

play16:15

relation, but anti symmetry does not require that one of the two must be there. It only

play16:19

says that if one pair is there the opposite pair should not be there ok.

play16:23

Similarly, if we look at our mother and children example; obviously, if p is the mother of

play16:28

c then c cannot be the mother of p ok. Now, there may be p and c such that neither p is

play16:34

the mother of c nor is c is the mother of p. So, that is allowed. We do not insist that

play16:38

every pair p comma c must be related one way or another, but if it is related one way it

play16:43

should not be related the other way is what anti-symmetry says.

play16:47

So, if we combine some of these conditions we get an interesting class relations called

play16:51

equivalence relations. So, equivalence relation is something that is reflective, reflexive,

play16:57

symmetric and transitive. So, as an example supposing we connect together all numbers

play17:02

which have the same remainder modulo 5. So, for instance 7 has a remainder 2 with respect

play17:08

to 5 and so does 22. So, 7 and 5 would be related in this way if we define the relationship

play17:14

as having the same remainder modulo 5. Now, notice that if two numbers have the same

play17:19

remainder modulo 5; that means, that going from one number to the other you are going

play17:23

in multiples of 5. So, for instance 22 minus 7 is 15 right. So, this is this modulo arithmetic.

play17:29

So, if you add the number that you are dividing by, then you get the same remainder and so,

play17:34

in set notation we can say that the integers modulo 5 are all pairs a, b such that b minus

play17:40

a mod 5 is 0. In other words, we are not asking what is the actual remainder of b and a, we

play17:45

are just saying that b and a are separated by a multiple of 5 therefore, they must have

play17:49

the same remainder modulo 5. Now, this divides the integers into five groups

play17:56

if I based on the remainder. So, there are the group of numbers which are divisible by

play18:01

5, they have remainder 0. Those like 6, 11 and all which have remainder 1, 7, 12 and

play18:05

all which one remainder 2 and so on. So, we have five possible remainders 0, 1, 2, 3,

play18:11

4 and therefore, this divides the set of integers into five disjoint classes.

play18:17

As an example of modulo arithmetic that we are all familiar with, consider what happens

play18:21

when we look at a normal clock. Now, a normal clock measures time from 0 to 12 and then

play18:26

cycles around again. So, though there are 24 hours in a day, the clock is actually partitioning

play18:31

these 24 into two sets where we have 0 and 12 as same, 1 and 13 as same and so on right.

play18:38

So, 2 am and 2 pm there is no distinction on the clock .

play18:42

So, the clock is actually showing us this equivalence class of hours regarding am and

play18:47

pm as being equal and we have to know from context whether the clock is showing am or

play18:52

pm. So, the main thing to note about an equivalence relation is that it partitions a set. It partitions

play18:58

a set into disjoint groups, all of the elements within a group are equivalent and all of the

play19:03

elements outside across groups are not equivalent to each other.

play19:07

So, the groups of equivalent elements that we formed through an equivalence relation

play19:10

are called equivalence classes . So, this might look a little abstract now, but equivalence

play19:15

classes really represent a kind of equality and sometimes we are happy to work with this

play19:21

equality in terms of equivalence relations rather than actual equality and it has very

play19:25

much the same properties as equality does .

play19:28

So, to summarize as we have seen a Cartesian product can generate n-tuples of elements

play19:35

from n sets. So, if we have x 1, x 2, up to x n n n sets these can be different or the

play19:41

same then we can take one element from each set and form an n-tuple small x 1, small x

play19:46

2 up to small x n . And, when we now pick out some particular subset of these n-tuples

play19:52

we get a relation. So, for instance, if we take pairs from N cross R and we want the

play19:58

second element of the pair the real number to be the square root of the first element,

play20:02

then we get N cross R such that r is square root of m .

play20:06

So, here on the right we have seen we show one picture of this. So, there are some elements

play20:10

like 2 comma square root of 2, 4 comma 2, 7 comma square root of 7 and so on. Now, just

play20:17

notice that in this picture the y-axis is elongated compared to the x-axis. So, this

play20:21

is not in some sense to scale in both dimensions because the square root function behaves like

play20:26

this. So, we have seen that there are some properties

play20:31

that we would like to record of binary relations - reflexivity, symmetry, transitivity and

play20:37

sometimes anti-symmetry. And, using reflexivity, symmetry and transitivity together we get

play20:43

what is called an equivalence relation an equivalence relations partition sets into

play20:49

equivalence classes which behave like equality. Thank you .

Rate This

5.0 / 5 (0 votes)

Related Tags
Set TheoryRelationsEquivalenceCartesian ProductSet ComprehensionBinary RelationsPropertiesReflexivitySymmetryTransitivityMathematics