Skip to main content

Show that f : N → N, given by f(x)={ x+1, if x is odd, and x-1, if x is even} is both one-one and onto.

Class 12, NCERT Chapter 1,  Example12

Suppose f(x1 ) = f(x2 ).
Note that if x1 is odd and x2 is even, then we will have
x1 + 1 = x2 – 1, i.e., x2 – x1 = 2, which is impossible.
Similarly, the possibility of x1 being even and x2 being odd can also be ruled out, using a similar argument.
Therefore, both x1 and x2 must be either odd or even.
Suppose both x1 and x2 are odd.
Then f(x1 ) = f(x2 )
⇒ x1 + 1 = x2 + 1
⇒ x1 = x2
Similarly, if both x1 and x2 are even, then also
f(x1 ) = f(x2 )
⇒ x1 – 1 = x2 – 1
⇒ x1 = x2 .
Thus, f is one-one.
Also, any odd number 2r + 1 in the co-domain N is the image of 2r + 2 in the domain N and
any even number 2r in the co-domain
N is the image of 2r – 1 in the domain N

Thus, f is onto.

Comments

Popular posts from this blog

. Let f : R → R be defined as f(x) = 3x. Choose the correct answer. (A) f is one-one onto (B) f is many-one onto (C) f is one-one but not onto (D) f is neither one-one nor onto.

Class 12, NCERT Chapter 1,  Exercise 1.2, Q12 f : R → R defined as  f ( x ) = 3 x . Let  x ,  y  ∈  R  such that  f ( x ) =  f ( y ). ⇒ 3 x  = 3 y ⇒  x  =  y ∴ f  is one-one. Also, for any real number ( y)  in co-domain  R , there exists  in  R  such that . ∴ f  is onto. Hence, function  f  is one-one and onto. The correct answer is A.

Let f : N → N be defined by f (n) ={ (n+1)/2, if n is odd and (n-1)/2, if n is even, for all n ∈ N.State whether the function f is bijective. Justify your answer

Class 12, NCERT Chapter 1,  Exercise 1.2, Q9 Thus it is bijective.