SlideShare a Scribd company logo
Function and Relation
Prepared by: Angela Clarito
Relation
● It is a Rule that pairs each element in one set.
● It is a set of ordered pairs, x and y.
● A relation R on a set X is a subset of X x X. If (a,b) ∊ R,
we write x R y. Reads as “ x is related to y”.
Relation
● A = {(1,1),(1,2),(1,3),(2,1),(2,2),(2,3))
X y
2
1 1
2
3
R
Types of Relations
Reflexive
Irreflexive
Symmetric
Asymmetric
Antisymmetric
Transitive
Reflexive Relation
● A relation R on a set is called reflexive if (a,a) ∊ R for every
element a ∊ A. In other words, ∀ a((a,a) ∊ R).
● A relation will be known as reflexive relative if every element of
set A is related to itself. The word reflexive means that in a set,
the image of every element has its own reflection.
Example:
Let A = {1,2,3,4}
R={(1,1),(2,2),(3,3),(4,4)}
Irreflexive Relation
● A relation R on a set A is called irreflexive if ∀a ∊ A,
(a,a) ∉ R.
Example:
Let A = {1,2,3,4}
R={(1,2),(1,3),(1,4),(2,1),(2,3),(2,4),(3,1),(3,2),
(3,4),(4,1),(4,2),(4,3)}
Symmetric Relation
● A relation R on a set A is called symmetric if (b,a) ∊ R
holds when (a,b) ∊ R for all a, b ∊ A.
● In other words, relation R on a set A is symmetric if
∀a ∀b((a,b) ∊ R → (b,a) ∊ R.
Example:
Let A = {1,2,3,4}
R={(1,2),(2,1),(1,3),(3,1),(1,4),(4,1)}
Antisymmetric Relation
● A relation R on a set A is called antisymmetric if ∀a
∀b((a,b) ∊ R ^ (b,a) ∊ R → (a=b)) whenever we have
(a,b) in R, we will never have (b,a) in R until or unless
(a=b).
Example:
Let A = {1,2}
R1
={(1,1),(2,1),(2,2)}
R2
={(1,1),(1,2),(2,1),(2,2)}
Asymmetric Relation
● A relation R on a set A is called asymmetric if ∀a
∀b((a,b) ∊ R ^ (b,a) ∉ R) whenever we have (a,b) in R,
we will never have (b,a) in R until or unless (a=b).
Example:
Let A = {1,2,3,4}
R={(1,2),(1,3),(1,4),(2,3),(2,4)}
Transitive Relation
● A relation R on a set A is called transitive if ∀a ∀b
∀c(((a,b) ∊ R ^ (b,c) ∊ R) → (a,c) ∊ R)
Example:
Let A = {1,2,3}
R={(1,3),(1,2),(3,2)}
Function
● It is a Rule that pairs each x-coordinate to exactly one element
from y-coordinates.
● It is a set of ordered pairs (relation) where x-coordinate should
not be repeated.
● Are sometimes called as mappings or transformations.
● A function f from A to B , denoted f: A → B, assign each
element of A exactly on element of B.
Relation
● A = {(1,1),(1,2),(1,3),(2,1),(2,2),(2,3))
X y
2
1 1
2
3
R
Terminologies
Domain
Codomain
Image
Preimage
Range
Domain
Is the set x.
Codomain
Is the set y .
Range
The values in set y that is paired. .
Preimage
The value in y that is paired to the
value in x.
Image
The value in x that is paired to the
value in y.
Answer the following
for f: X → Y
Domain
Codomain
Range
Image(s)
Preimage
f(y) = ?
Types of Functions
Injective
Surjective
Bijective
Inverse
Composition
Injective (One to one) Functions
Each Value in the range corresponds to exactly one element in
then domain.
∀ a ∀ b (( a ≠ b) → f (a) ≠ f (b)))
∀ a ∀ b ((f (a) = f (b)) → (a = b))
∀ reads as “for all”
≠ reads as “not equal to”
CONTRAPOSITIVE
Injective (One to one) Functions
Surjective (Onto) Functions
Each element in the codomain maps to at least one element in the
domain.
∀ y ∃ x (f(x) = y)
∃ reads as “ there exists”
Surjective (Onto) Functions
Bijective (One to one correspondence)
Functions
Functions that are both one-to-one and onto, or both surjective
and injective.
∀ y ∃ x (f(x) = y)
∃ reads as “ there exists”
Bijective (One to one correspondence)
Functions
Problem:
Let f be a function from X = { a, b, c, d } to Y = { 1, 2, 3 } defined by
f(a) = 3, f(b) = 2, f(c) = 2 and f(d) = 3. Is f: X → Y either one-to one
or onto?
Examples of Different Types of
Correspondences
One-to-one, not onto Onto, not one-to-one
One-to-one, onto Neither one-to-one, onto
Not a Function
Inverse Function
● Given any function, f, the inverse of the function f-1,
is a relation
that is formed by interchanging each (x, y) of f to a (y, x) of f-1,
.
● The function f would be denoted as f-1,
and read as “f inverse”.
NOTE:
A one-to-one correspondence is called invertible because we can define
an inverse of this function. A function is not invertible if it is not a one-to
one correspondence, because inverse of such a function does not exist.
Inverse Function
Composition of Function
● The composition of two functions g: A → B and f: B → C, denoted
by f о g, is defined by (f о g) (a) = f(g(a)) or (g о f) (a) = g(f(a))
This means that
First, function g is applied to element A, mapping it into an element of B.
Then, function f is applied to this element of B, mapping it into an element
of C.
Therefore, the composite function maps from A to C.
Composition of Function
Thank You!

More Related Content

PPT
Geogebra intro
PPTX
PPTX
Section 9: Equivalence Relations & Cosets
PPTX
Connectivity of graph
PPTX
Matlab polynimials and curve fitting
PDF
Mcqs -Matrices and determinants
PPTX
Applications of graph theory
PPTX
6.2 volume of solid of revolution
Geogebra intro
Section 9: Equivalence Relations & Cosets
Connectivity of graph
Matlab polynimials and curve fitting
Mcqs -Matrices and determinants
Applications of graph theory
6.2 volume of solid of revolution

What's hot (20)

PPT
Calculus of One Variable
PPT
CHAIN RULE AND IMPLICIT FUNCTION
PPTX
application of partial differentiation
PPT
Chapter 5 Graphs (1).ppt
PDF
Nonlinear Differential Equations
PPTX
4.5 continuous functions and differentiable functions
PPTX
Special Right Triangles 1
PPTX
Application of derivatives
PPT
Derivatie class 12
PPT
Continuity
PPT
Relations and functions
PPTX
Volume of revolution
PPTX
Group Theory
PPTX
2.1 definition of a function
PPTX
Continuity of a Function
PPTX
5.3 integration by substitution dfs-102
PPTX
Introduction to Set Theory
PDF
GE 4.3 proving triangles congruent 12-2
DOCX
Matrices and determinants assignment
Calculus of One Variable
CHAIN RULE AND IMPLICIT FUNCTION
application of partial differentiation
Chapter 5 Graphs (1).ppt
Nonlinear Differential Equations
4.5 continuous functions and differentiable functions
Special Right Triangles 1
Application of derivatives
Derivatie class 12
Continuity
Relations and functions
Volume of revolution
Group Theory
2.1 definition of a function
Continuity of a Function
5.3 integration by substitution dfs-102
Introduction to Set Theory
GE 4.3 proving triangles congruent 12-2
Matrices and determinants assignment
Ad

Similar to Function and Relation.pdf (20)

PDF
PPT MATHS (Relation and Functions) class 12.pdf
PPTX
Relations & functions
PPTX
SETS,FUNCTION,RELATIONhahahahahaahh.pptx
PPTX
Relation and function
PPTX
The bestest final set theory 071124.pptx
PPTX
Relation and function_xii
PPTX
Introductory calculus
PDF
Relations and functions assignment (2019 20)
PPTX
7_One.to.one.and.Inverse Functions-Gen-Math.pptx
PDF
CBSE - Grade 12 - Mathematics - Ch 1 - Relations and Function (PDF Format)
DOCX
Notes chapter 1
PPT
inbound38351872686383732942924290993.ppt
PPTX
Relations and function class xii copy
PDF
relations (1).pdf
PPT
Inverse Functions, one to one and inverse functions
PPTX
realtion ppt for disteane maths for engg
PPTX
relation and operations power point presentation
DOC
Final relation1 m_tech(cse)
DOC
Final relation1 m_tech(cse)
PPT MATHS (Relation and Functions) class 12.pdf
Relations & functions
SETS,FUNCTION,RELATIONhahahahahaahh.pptx
Relation and function
The bestest final set theory 071124.pptx
Relation and function_xii
Introductory calculus
Relations and functions assignment (2019 20)
7_One.to.one.and.Inverse Functions-Gen-Math.pptx
CBSE - Grade 12 - Mathematics - Ch 1 - Relations and Function (PDF Format)
Notes chapter 1
inbound38351872686383732942924290993.ppt
Relations and function class xii copy
relations (1).pdf
Inverse Functions, one to one and inverse functions
realtion ppt for disteane maths for engg
relation and operations power point presentation
Final relation1 m_tech(cse)
Final relation1 m_tech(cse)
Ad

More from AngelaClarito1 (7)

PPTX
History of Operating System (1).pptx
PPTX
Permutation and combination.pptx
PPTX
Lecture-4.1-Operating-System.pptx
PPTX
Introduction to Java.pptx
PDF
Lecture_1___Introduction_to_OOP.pdf.pdf
PPTX
JAVA.1st lesson.pptx
PPTX
01 IT Vocabulary.pptx
History of Operating System (1).pptx
Permutation and combination.pptx
Lecture-4.1-Operating-System.pptx
Introduction to Java.pptx
Lecture_1___Introduction_to_OOP.pdf.pdf
JAVA.1st lesson.pptx
01 IT Vocabulary.pptx

Recently uploaded (20)

PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
Machine learning based COVID-19 study performance prediction
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PPTX
Programs and apps: productivity, graphics, security and other tools
PDF
MIND Revenue Release Quarter 2 2025 Press Release
PPTX
sap open course for s4hana steps from ECC to s4
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
A comparative analysis of optical character recognition models for extracting...
PPTX
A Presentation on Artificial Intelligence
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PPTX
Machine Learning_overview_presentation.pptx
PPTX
Spectroscopy.pptx food analysis technology
PDF
Encapsulation theory and applications.pdf
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Diabetes mellitus diagnosis method based random forest with bat algorithm
Machine learning based COVID-19 study performance prediction
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Advanced methodologies resolving dimensionality complications for autism neur...
“AI and Expert System Decision Support & Business Intelligence Systems”
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
Programs and apps: productivity, graphics, security and other tools
MIND Revenue Release Quarter 2 2025 Press Release
sap open course for s4hana steps from ECC to s4
Encapsulation_ Review paper, used for researhc scholars
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Chapter 3 Spatial Domain Image Processing.pdf
Review of recent advances in non-invasive hemoglobin estimation
A comparative analysis of optical character recognition models for extracting...
A Presentation on Artificial Intelligence
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Machine Learning_overview_presentation.pptx
Spectroscopy.pptx food analysis technology
Encapsulation theory and applications.pdf
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx

Function and Relation.pdf

  • 1. Function and Relation Prepared by: Angela Clarito
  • 2. Relation ● It is a Rule that pairs each element in one set. ● It is a set of ordered pairs, x and y. ● A relation R on a set X is a subset of X x X. If (a,b) ∊ R, we write x R y. Reads as “ x is related to y”.
  • 3. Relation ● A = {(1,1),(1,2),(1,3),(2,1),(2,2),(2,3)) X y 2 1 1 2 3 R
  • 6. Reflexive Relation ● A relation R on a set is called reflexive if (a,a) ∊ R for every element a ∊ A. In other words, ∀ a((a,a) ∊ R). ● A relation will be known as reflexive relative if every element of set A is related to itself. The word reflexive means that in a set, the image of every element has its own reflection. Example: Let A = {1,2,3,4} R={(1,1),(2,2),(3,3),(4,4)}
  • 7. Irreflexive Relation ● A relation R on a set A is called irreflexive if ∀a ∊ A, (a,a) ∉ R. Example: Let A = {1,2,3,4} R={(1,2),(1,3),(1,4),(2,1),(2,3),(2,4),(3,1),(3,2), (3,4),(4,1),(4,2),(4,3)}
  • 8. Symmetric Relation ● A relation R on a set A is called symmetric if (b,a) ∊ R holds when (a,b) ∊ R for all a, b ∊ A. ● In other words, relation R on a set A is symmetric if ∀a ∀b((a,b) ∊ R → (b,a) ∊ R. Example: Let A = {1,2,3,4} R={(1,2),(2,1),(1,3),(3,1),(1,4),(4,1)}
  • 9. Antisymmetric Relation ● A relation R on a set A is called antisymmetric if ∀a ∀b((a,b) ∊ R ^ (b,a) ∊ R → (a=b)) whenever we have (a,b) in R, we will never have (b,a) in R until or unless (a=b). Example: Let A = {1,2} R1 ={(1,1),(2,1),(2,2)} R2 ={(1,1),(1,2),(2,1),(2,2)}
  • 10. Asymmetric Relation ● A relation R on a set A is called asymmetric if ∀a ∀b((a,b) ∊ R ^ (b,a) ∉ R) whenever we have (a,b) in R, we will never have (b,a) in R until or unless (a=b). Example: Let A = {1,2,3,4} R={(1,2),(1,3),(1,4),(2,3),(2,4)}
  • 11. Transitive Relation ● A relation R on a set A is called transitive if ∀a ∀b ∀c(((a,b) ∊ R ^ (b,c) ∊ R) → (a,c) ∊ R) Example: Let A = {1,2,3} R={(1,3),(1,2),(3,2)}
  • 12. Function ● It is a Rule that pairs each x-coordinate to exactly one element from y-coordinates. ● It is a set of ordered pairs (relation) where x-coordinate should not be repeated. ● Are sometimes called as mappings or transformations. ● A function f from A to B , denoted f: A → B, assign each element of A exactly on element of B.
  • 13. Relation ● A = {(1,1),(1,2),(1,3),(2,1),(2,2),(2,3)) X y 2 1 1 2 3 R
  • 16. Domain Is the set x. Codomain Is the set y . Range The values in set y that is paired. .
  • 17. Preimage The value in y that is paired to the value in x. Image The value in x that is paired to the value in y.
  • 18. Answer the following for f: X → Y Domain Codomain Range Image(s) Preimage f(y) = ?
  • 21. Injective (One to one) Functions Each Value in the range corresponds to exactly one element in then domain. ∀ a ∀ b (( a ≠ b) → f (a) ≠ f (b))) ∀ a ∀ b ((f (a) = f (b)) → (a = b)) ∀ reads as “for all” ≠ reads as “not equal to” CONTRAPOSITIVE
  • 22. Injective (One to one) Functions
  • 23. Surjective (Onto) Functions Each element in the codomain maps to at least one element in the domain. ∀ y ∃ x (f(x) = y) ∃ reads as “ there exists”
  • 25. Bijective (One to one correspondence) Functions Functions that are both one-to-one and onto, or both surjective and injective. ∀ y ∃ x (f(x) = y) ∃ reads as “ there exists”
  • 26. Bijective (One to one correspondence) Functions
  • 27. Problem: Let f be a function from X = { a, b, c, d } to Y = { 1, 2, 3 } defined by f(a) = 3, f(b) = 2, f(c) = 2 and f(d) = 3. Is f: X → Y either one-to one or onto?
  • 28. Examples of Different Types of Correspondences
  • 29. One-to-one, not onto Onto, not one-to-one
  • 30. One-to-one, onto Neither one-to-one, onto
  • 32. Inverse Function ● Given any function, f, the inverse of the function f-1, is a relation that is formed by interchanging each (x, y) of f to a (y, x) of f-1, . ● The function f would be denoted as f-1, and read as “f inverse”. NOTE: A one-to-one correspondence is called invertible because we can define an inverse of this function. A function is not invertible if it is not a one-to one correspondence, because inverse of such a function does not exist.
  • 34. Composition of Function ● The composition of two functions g: A → B and f: B → C, denoted by f о g, is defined by (f о g) (a) = f(g(a)) or (g о f) (a) = g(f(a)) This means that First, function g is applied to element A, mapping it into an element of B. Then, function f is applied to this element of B, mapping it into an element of C. Therefore, the composite function maps from A to C.