






Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!







INJE IVE FUNCTION or ONE-TO-ONE FU or one-to-one if, and only if, โ x1, o-one if it maps distinct ain into the distinct points of the co-domain.
Let f: X โY be a function. f is injective x 2 โX, if x1 โ x2then f(x1) โ f(x2)That is, f is one-t points of the dom
A one-to-one function separates points.
FUNCTION NOT ONE-TO-ONE A function f: X โY i s not one-to-one iff there exist elements x 1 and x 2 in such
e function value.
that x 1 โ x 2 but f(x 1 ) = f(x 2 ).That is, if distinct elements x 1 and x 2 can found in domain of f that have the sam
f
x (^1)
X=domain of f f(x^1 )=f(x^2 ) Y=co-domain of f
x (^2)
A function that is not one-to-one collapses points together.
-one functions?
Which of the arrow diagrams define one-to
f is clearly one-to-one function, because no two different elements of X are mapped onto the same element of Y. is not one-to-one because the elements a and c are mapped onto the same element 2 of Y.
LTERNATIVE DEFINITION FOR ONE-TO-ONE FUNCTION
g
function f: X โY is one-to-one (1-1) iff โ x 1 , x 2 โX, if x 1 โ x 2 then f(x 1 ) โ f(x 2 ) i.e distinct elements of 1st^ set have their distinct images in 2nd^ set) he equivalent contra-positive statement for this implication isโ x 1 , x 2 โX, if f(x 1 ) = f(x 2 ), then x 1 = x (^2)
Define f: R โR by the rule f(x) = 4x - 1 for all x โR.Is f one-to-one? Prove or give a counter example. SOLUTION:- Let x 1 , x 2 โR such that f(x 1 ) = f(x 2 ) โ 4x 1 - 1 = 4 x 2 โ 1 (by definition of f) โ 4 x 1 = 4 x 2 (adding 1 to both sides) โ x 1 = x 2 (dividing both sides by 4) Thus we have shown that if f(x 1 ) = f(x 2 ) then x 1 =x (^2) Therefore, f is one-to-one
EXAMPLE:- Define g : Z โ Z by the rule g(n)=n^2 for all n โZ.Is g one-to-one? Prove or give a counter example.
SOLUTION:- Let n 1 , n 2 โZ and suppose g(n 1 ) = g(n 2 ) โ n 12 = n 22 (by defini on of g) โ either n 1 = + n 2 or n 1 = - n 2 (n 1 ) = g(n 2 ) does not imply n = n 2 always.
f: X โY is not one-to-one iff โ x 1 , x 2 โX with f(x 1 ) = f(x 2 ) but x 1 โ x 2
E
ti
Thus g (^1) As a counter example, let n 1 = 2 and n 2 = -2.
Two elements in X could be mapped to the two elements in Y separately. But there is no new element in Y to which the third element in X could be mapped. Accordingly there is no one-to-one function om a set with three elements to a set with two elements. TO-ONE FUNCTION
fr GRAPH OF ONE- A graph of a function f is one-to-one iff every horizontal line inter sects the graph in at most one point. EXAMPLE:-
y (^) y = x 2
-2 0 + 2 x
F ro m R to R +
y
x
fro m R +^ to R
SURJECTIVE FUNCTION or ONTO FUNCTION
Let f: XโY be a function. f is surjective or onto if, and only if,๏ "โ y ฮต Y, โ x ฮตX such that f(x) = y. That is, f is onto if every element of its co-dom of some element(s) of its domain.i.e., co-domain of f = range of f
ain isthe image
Each element y in Y equals f(x) for at least one x in X
FUNCTION NOT ONTO A function f:XโY is not onto iff there exists yฮต Y such that โx ฮตX, f(x) โ y. That is, there is some element in Y that is not the image of any element in X.
Which of the arrow diagrams define onto functions?
As a counter example , let m = 0โ Z, then h(n) = 0 โ 4n-1 = 0 โ 4n = 1
Hence there is no integer n for which h(n) = 0.
Accordingly, h is not onto. GRAPH OF ONTO FUNCTION A graph of a function f is onto iff every horizontal line intersects the graph in at least one point. EXAMPLE:-
{1,5,9} and Y = {3,4,7}.Define g: X โY by specifying that 4
ne-to-one because each of the three elements of X are mapped to a different elements of Y by g. g(1) โ g(5), g(1) โ g(a), g(5) โ g(a) nto as well, because each of the three elements of co-domain Y of g is the image of some
, 4 = g(9), 7 = g(1)
โP ({a,b,c}), f(A)= the number of elements in A.
Let X = g(1) = 7, g(5) = 3, g(9) = Is g one-to-one? Is g onto? SOLUTION:- g is o
g is o element of the domain of g. 3 = g(5)
EXERCISE:- Define f: P({a,b,c})โZ as follows: for all A a. Is f one-to-one? Justify. b. Is f onto? Justify. SOLUTION:-
a. f is not one-to-one because f({a}) = 1 and f({b}) = 1 but {a}โ {b} se, there is no element of P({a,b,c}) that is mapped
etermi ive or surjective.
as g(x) = (x,x+1) UT
d +a in Z such that
. ร Z defined as g(x) = (x,x+1) g(x ) = g(x ) for x1, x2 โZ+
) = g(x2) then x = x . Z+^ ement of Z+.
b. f is not onto becau to 4 โZ. EXERCISE:- D ne if each of the functions is inject
a. f: Z โZ+ define as f(x) = |x|
b g: Z โ Z
- . +^ +^ ร Z+ defined SOL ION: a. f is not injective , because f(1) = |1| = 1 and f(- i.e., f(1) = f(-1)
f is onto , because for every aโZ+, there exist โa an f(-a) = |-a| = a and f(a) = |a| = a
b g: Z+^ โ Z+^ +
Let (^1 ) โ (x1, x1 +1) = (x2, x2+1) (by definition of g) โ x1 = x2 and x1 + 1 = x2 + 1 (by equality of ordered pairs) โ x1 = x Thus if g(x 1 1 2 Hence g is one-to-one g is not onto because (1,1) โ รZ^ + is not the image of any el
BIJECTIVE FUNCTION or ONE-TO-ONE CORRESPONDENCE
A function f: XโY that is both one-to-one (injective) an ndence.
d onto (surjective) is called a bijective
he arrow diagram is both one-to-one and onto; hence a bijective
function or a one-to-one correspo
The function f: XโY defined by t function.
0 x
y (^) y=x 3
BIJECTIVE FUNCTION from R to R
(0,5)
(5,0) O(0,0)
BIJECTIVE FUNCTION o R
from R t
iven a set X, define a function ix from X to X by ix(x) = x from all x โX.
agram
Prove that the identity function on X is bijective. OLUTION:- Let ix: X โX be the identity function defined as ix(x) = x โโX
. ix is injective (one-to-one) Let ix(x1) = ix(x2) for x1, x2 โX โ x1 = x2 (by definition of ix) Hence ix is one-to-one. 2. ix is surjective (onto)
Let y โX (co-domain of ix) Then there exists y โX (domain of ix) such that ix (y) = y Hence ix is onto. Thus, ix being injective and surjective is bijective. N
The function ix is called the identity function on X because it sends each element of X to itself.
EXAMPLE:- Let X = {1,2,3,4}. The identity function ix on X is represented by the arrow di
L et X be a non-empty set. S
A function f:XโY is a constant function if it maps (sends) all elements of X to one element of Y i.e. x โX, f(x) = c, for some c โ Y XAMPLE:- he function f defined by the arrow diagram is constant.
on.
. A constant function is one-to-one iff its domain is a singleton.