Home
Class 12
MATHS
Show that f: N to N given by f(x)={(...

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

Text Solution

Verified by Experts

for one-one
CASE1: When` x_1,x_2`,are odd natural number
`f(x_1)=f(x_2)` `Rightarrow``x_1+1=x_2+1 forall x_1,x_2 in N
so x_1=x_2`
i.e. one -one .
Case II: When` x_1,x_2`are even natural number
`f(x_1)=f(x_2)rightarrow x_1-1=x_2_1`
`Rightarrow``x_1=x_2`
i.e. f is one-one
Case(iii): When` x_1` is odd and `x_2` is even natural number
.`f(x_1)=f(x_2)``Rightarrow``x_1+1=x_2-1`
`Rightarrow``x_2-x_2=2`which is never possible as the difference of odd and even number number is always add number
.Hence in this case `f(x_1)nef(x_2)`
i,e.` f `is one-one
Case (iv): When `x_1` is even and `x_2`is odd natural number similar as case III, We can prove `f` is one-one
For onto:
`f(x)=x+1` if x is odd
`=x-1`if x is even
For every even number `y` of codomain exists odd
number `y-1`in domain and for every add number y
of codomain exists even number `y+1` in domain.
i.e. f is onto function
Hence f is one-one onto function
Promotional Banner

Topper's Solved these Questions

  • RELATIONS AND FUNCTIONS

    NCERT|Exercise EXERCISE 1.4|13 Videos
  • RELATIONS AND FUNCTIONS

    NCERT|Exercise EXERCISE 1.2|12 Videos
  • RELATIONS AND FUNCTIONS

    NCERT|Exercise EXERCISE 1.3|14 Videos
  • PROBABILITY

    NCERT|Exercise EXERCISE 13.2|18 Videos
  • SETS

    NCERT|Exercise EXERCISE 1.3|1 Videos

Similar Questions

Explore conceptually related problems

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

Show that f : NvecN , given by f(x)={x+, if x i s od dx-1, if x i s e v e n is both one-one and onto.

Let f:N to Z and f (x)=[{:((x-1)/(2),"when x is odd"),(-(x)/(2),"when x is even"):}, then:

If f:NrarrN is given by f(x)={((x+1)/(2), if x " is odd"),((x)/(2),if x " is even"):} and g:NrarrN is given by g(x)=x-(-1)^x, then f(g(x)) is (a) one one and onto (b) may one and onto (c) one one and not onto (d) neither one-one onto

Show that the function f:N rarr Z, defined by f(n)=(1)/(2)(n-1) when n is odd ;-1/2 n when n is even is both one-one and onto

Show that the Signum Function f" ": R->R , given by f(x)={1,""if""""x"""">""""0 0,""""if""""x=0-1, if""""x<0 is neither one-one nor onto.

Show that the Signum function f:R rarr R , given by f(x)={[1,x>00,x=0-1,x<0]) is neither one-one nor onto

Show that the function f:N rarr N, given by f(x)=2x, is one-one but not onto.

Let N be the set of numbers and two functions f and g be defined as f,g:N to N such that f(n)={((n+1)/(2), ,"if n is odd"),((n)/(2),,"if n is even"):} and g(n)=n-(-1)^(n) . Then, fog is (A) one-one but not onto (B) onto but not one-one (C) both one-one and onto (D) neither one-one nor onto

NCERT-RELATIONS AND FUNCTIONS-SOLVED EXAMPLES
  1. Show that the function f: N->N given by f(1)=f(2)=1 and f(x)=x-1 for e...

    Text Solution

    |

  2. Show that an onto function f : {1, 2, 3} ->{1, 2, 3}is always one-one...

    Text Solution

    |

  3. Show that f: N to N given by f(x)={(x+1,"if x is odd"),(x-1,"if x ...

    Text Solution

    |

  4. Show that the function f: N->N , given by f(x)=2x , is one-one but not...

    Text Solution

    |

  5. Prove that the function f : R ->R, given by f (x) = 2x, is one-one and...

    Text Solution

    |

  6. Let R be the relation defined on the set A={1,\ 2,\ 3,\ 4,\ 5,\ 6,\ 7}...

    Text Solution

    |

  7. Let A be the set of all 50 students of class X I I in a central scho...

    Text Solution

    |

  8. Show that the relation R in the set {1, 2, 3}given by R = {(1, 1), (2...

    Text Solution

    |

  9. Show that the relation R on the set Z of integers, given by R={(a ,\ b...

    Text Solution

    |

  10. Let "T" be the set of all triangles in a plane with "R" as relation ...

    Text Solution

    |

  11. Let L be the set of all lines in a plane and R be the relation in L de...

    Text Solution

    |

  12. Let A be the set of all students of a boys school. Show that the rela...

    Text Solution

    |

  13. Show that – a is the inverse of a for the addition operation '+' on R ...

    Text Solution

    |

  14. Show that zero is the identity for addition on R and 1 is the identit...

    Text Solution

    |

  15. Show that the vv: R ->R given by (a , b)->m a x {a , b}and the ^^: R -...

    Text Solution

    |

  16. Let P be the set of all subsets of a given set X. Show that uu: P xx ...

    Text Solution

    |

  17. Show that ∗ : RxxR->R given by (a ,b)->a+4b^2is a binary operation.

    Text Solution

    |

  18. Show that subtraction and division are not binary operations on N.

    Text Solution

    |

  19. Show that *: Rxx R ->Rgiven by a*b = a +2bis not associative.

    Text Solution

    |

  20. Show that addition and multiplication are associative binary operatio...

    Text Solution

    |