Submitted to:
Falguni Roy
Lecturer,
Institute of Information Technology (IIT)
NSTU
Emran Hossain
Roll:ASH1825002M
Muin Uddin
Roll:ASH1825012M
Presented by:
Anwar Kabir
Roll:ASH1825038M
Azad Hossain
Roll:ASH1825014M
Anwar Kabir
Roll:ASH1825038M
Azad Hossain
Roll:ASH1825014M
Slide Introduction
• Definition of a function
• Representation of a function
• Special types of function
DEFINATION
f(x)x Y
• A function is a relation in which each element of the domain is paired with
exactly one element of the range.
• Another way of saying it is that there is one and only one output (y) with
each input (x). X is called Domain & Y is called Codomain of function ‘f ’.
Function Notation
y = f(x)
Input
Input
Name of
function
Output
1
2
3
D
B
C
A
Domain Codomain
The above diagram represents a function with domain {1,2,3} ,codomain{A,B,C,D} & set of
ordered pairs {(1,D),(2,C),(3,C)}.The image is {C,D}.
Domain & Codomain of a function
Types of function
• Injective / One-to-one function
• Surjective / Onto function
• Bijective / One-to-one correspondent
• Inverse function
Injective / One-to-one function
Example of one-to-one function
Model of one-to-one function
Figure:1 Figure:2
Surjective / Onto function
Example of onto function
Figure:1 Figure:2
Bijective function
Example of bijective
Figure:1 Figure:2
Inverse of a function
1
3
4
4
6
0
1
3
4
4
6
0
Domain Range RangeDomain
Domain and Range are switched
Functions & it’s Inverse
(1,4)
(3,6)
(4,0)
(4,1)
(6,3)
(0,4)
Function

Function