Relation and Function
Relation and Function
Relations
and
Functions
Real Analysis
01 02 03
Relations Properties of Relations Equivalence Relations
• Ordered Pairs • Reflexive • Reflexive
• Cartesian Products • Symmetric • Symmetric
• Anti-symmetric • Transitive
• Transitive
04 05 06
FUNCTIONS Types of Functions Inverse of a Function
• Composition of • One-one(injective)
functions • Onto(surjective)
• One-one and onto(bijective
01
Relations
INTRODUCTION
A relation from a set A to set B is a subset of
the cartesian product A X B. It is denoted by
R.
R = {(x,y): x ꞓ A, y ꞓ B}
A x B = {(a,b): a ꞓ A and b ꞓ B}
Properties of Relations on a set
02
b)Symmetric
a)Reflexive
A relation R on a set A is said to be
A relation R on a set A is said to be reflexive symmetric if every first element x of A is
if every element x of A is related to itself i.e. related to the second element y of A implies
Ɐx ꞓ A, x R x or (x,x) ꞓ R that y is related to x. i.e.
x,y ꞓ A, (x,y) ꞓ R =>(y,x) ꞓ R.
or, x,y ꞓ A, x R x => y R x.
c)Anti-Symmetric d)Transitive
A relation R on a set A is said to be transitive
A relation R on a set A is said to be anti- if every first element ‘a’ of A is related to a
symmetric if second element ‘b’ of A and ‘b’ is related to
x,y ꞓ A, x R y, y R x => x = y. another element ‘c’ implies ‘a’ is related to ‘c’
or, x,y ꞓ A, (y,x) ꞓ R => x = y. i.e.
x,y,z ꞓ A, x R y and y R z => x R z.
or, x,y,z ꞓ R, (x,y) ꞓ R, (y,z) ꞓ R => x R z.
03
Equivalence
Relations
A relation defined on a set A
is called an equivalence
relation on A if it is reflexive,
symmetric and transitive.
It is usually denoted by ∼
Functions
04
Function:
● If A and B are non-empty sets, then the cartesian
product A X B of A and B is the set of all ordered
pairs (a,b) with a ꞓ A and b ꞓ B. i.e.
A X b = {(a,b): a ꞓ A, b ꞓ B}
Difference between
Function and Relation
05 Types of
Functions
Let f: A B be a function from A to B.
● The function f is said to be injective( or one-one ) if
whenever x1 ≠ x2, then f(x1) ≠ f(x2). If f is an injective
function, we also say that f is an injection.
f-1 : B A