FUNCTIONS
SUBMITTED BY:-Ms.MEHAK KAPOOR
PG DEPT COMP SC.&IT
Definition of Functions�
f: A ⇢ B.
A is called the domain of the function
B is called the codomain function.
NOTE:- If b is a unique element of B to element a of A assigned by function F then, it is written as f(a) = b.
Function f maps A to B means f is a function from A to B i.e. f: A ⇢ B
Domain of a function:
Codomain of a function:
Pre-image and Image of a function:
Types of function:
One-One function ( or Injective Function):
A function f: A ⇢ B is said to be a one-one (injective) function if different elements of A have different images in B.
f: A ⇢ B is one-one
⇒ a ≠ b ⇒ f(a) ≠ f(b) for all a, b ∈ A
⇒ f(a) = f(b) ⇒ a = b for all a, b ∈ A
Many-One function:
f: A ⇢ B is many-one
⇒ a ≠ b but f(a) = f(b) for all a, b ∈ A
Onto function( or Surjective Function):
f: A ⇢ B is onto if for each b∈ B, there exists a∈ A such that f(a) = b.
Into Function:
EXAMPLE
One-One Correspondent function( or Bijective Function or One-One Onto Function):
One-One Into function:
Many-one onto function:
Many-one into a function:
Inverse of a function:
Composition of functions :-
THANKS!!!