Home
Class 12
MATHS
Give examples of function: f:NrarrN an...

Give examples of function:
`f:NrarrN and g:NrarrN`
such that gof is onto but f is not onto.

Text Solution

AI Generated Solution

The correct Answer is:
To solve the problem, we need to provide examples of two functions \( f: \mathbb{N} \to \mathbb{N} \) and \( g: \mathbb{N} \to \mathbb{N} \) such that the composition \( g \circ f \) is onto, but \( f \) itself is not onto. ### Step 1: Define the function \( f \) Let's define the function \( f \) as follows: \[ f(x) = x + 1 \] This function takes a natural number \( x \) and maps it to \( x + 1 \). ### Step 2: Show that \( f \) is not onto To prove that \( f \) is not onto, we need to show that there exists at least one natural number \( y \) in the codomain that does not have a pre-image in the domain. - The codomain of \( f \) is \( \mathbb{N} \), which includes all natural numbers \( 1, 2, 3, \ldots \). - For \( f(x) = y \), we have \( x + 1 = y \). - Rearranging gives \( x = y - 1 \). Now, if we take \( y = 1 \): \[ x = 1 - 1 = 0 \] Since \( 0 \) is not a natural number, there is no \( x \in \mathbb{N} \) such that \( f(x) = 1 \). Thus, \( f \) is not onto. ### Step 3: Define the function \( g \) Now, let's define the function \( g \) as: \[ g(x) = \begin{cases} 1 & \text{if } x = 1 \\ x - 1 & \text{if } x > 1 \end{cases} \] This function maps \( 1 \) to \( 1 \) and any natural number greater than \( 1 \) to its predecessor. ### Step 4: Show that \( g \circ f \) is onto Now, we need to show that the composition \( g \circ f \) is onto. 1. We calculate \( g(f(x)) \): \[ g(f(x)) = g(x + 1) \] 2. For \( x = 1 \): \[ g(f(1)) = g(1 + 1) = g(2) = 2 - 1 = 1 \] 3. For \( x > 1 \): \[ g(f(x)) = g(x + 1) = (x + 1) - 1 = x \] Now, let's analyze the outputs: - For \( x = 1 \), \( g(f(1)) = 1 \). - For \( x = 2 \), \( g(f(2)) = g(3) = 3 - 1 = 2 \). - For \( x = 3 \), \( g(f(3)) = g(4) = 4 - 1 = 3 \). - And so on... Thus, for every natural number \( y \), we can find an \( x \) such that \( g(f(x)) = y \). Therefore, \( g \circ f \) is onto. ### Conclusion We have defined: - \( f(x) = x + 1 \) (not onto) - \( g(x) = 1 \) if \( x = 1 \) and \( g(x) = x - 1 \) if \( x > 1 \) (such that \( g \circ f \) is onto).
Promotional Banner

Topper's Solved these Questions

  • RELATIONS AND FUNCTIONS

    MODERN PUBLICATION|Exercise NCERT - FILE (Question from NCERT Book) (Exercise 1.1)|16 Videos
  • RELATIONS AND FUNCTIONS

    MODERN PUBLICATION|Exercise NCERT - FILE (Question from NCERT Book) (Exercise 1.2)|12 Videos
  • RELATIONS AND FUNCTIONS

    MODERN PUBLICATION|Exercise Objective Type Questions (C. True/False Questions)|5 Videos
  • PROBABILITY

    MODERN PUBLICATION|Exercise MOCK TEST SECTION D|6 Videos
  • THREE DIMENSIONAL GEOMETRY

    MODERN PUBLICATION|Exercise CHAPTER TEST 11|11 Videos

Similar Questions

Explore conceptually related problems

Given examples of two functions f:" "N ->N" "a n d""""""g:" "N->N such that g o f is onto but f is not onto. (Hint: Consider f(x)" "= x+1 a n d""""""""g(x)" "=" "|x| ) .

Prove that the function f:N rarr N so that f(x)=2x^(2)-1 is one-one but not onto.

If f:A rarr B and g:B rarr C are onto functions show that gof is an onto function.

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

Give an example of a function which is one-one but not onto.which is not one-one but onto. (iii) which is neither one-one nor onto.

A function f:RrarrR be defined by f(x) = 5x + 6, prove that f is one-one and onto.

Show that the function f:N rarr N given by f(x)=3x is one one but not onto

Prove that the function f:N rarr N, defined by f(x)=x^(2)+x+1 is one-one but not onto

Prove that function f:NrarrN , defined by f(x)=x^(2)+x+1 is one-one but not onto. Find inverse of f:NrarrS , where S is range of f.

Let f:NrarrN in such that f(n+1)gtf(f(n)) for all n in N then

MODERN PUBLICATION-RELATIONS AND FUNCTIONS-Objective Type Questions (D. Very Short Answer Types Questions)
  1. If f is a function from RrarrR such that f(x)=x^(2)AA x inR, then show...

    Text Solution

    |

  2. Let A = {1, 2, 3}, B = {4, 5, 6, 7}and let f = {(1, 4), (2, 5), (3, 6)...

    Text Solution

    |

  3. The function P is defined as: ''To each person on the earth is assig...

    Text Solution

    |

  4. Write the function whose graph is shown below:

    Text Solution

    |

  5. Consider functions f and g such that composite gof is defined and i...

    Text Solution

    |

  6. Are f and g both necessarily onto, if gofis onto?

    Text Solution

    |

  7. Give examples of two functions f:" "N->Z" "a n dg:" "Z->Z such that o...

    Text Solution

    |

  8. Give examples of function: f:NrarrN and g:NrarrN such that gof is ...

    Text Solution

    |

  9. Find fog, if f:RrarrR and g:RrarrR are given by: f(x)=cosxandg(x)=x^...

    Text Solution

    |

  10. If f (x) = sin x, g(x) = x^(2), if x inR, then find [(fog)(x)].

    Text Solution

    |

  11. If f:RrarrR is defined by f(x)=3x+1, find f(f(x)).

    Text Solution

    |

  12. Let '**' be a binary operation on N given by: a**b=LCM (a,b) for all...

    Text Solution

    |

  13. Let '**' be a binary operation on N given by: a**b=LCM (a,b) for all...

    Text Solution

    |

  14. The binary operation **:RxxRrarrR is defined as: a**b=2a+b. Find (...

    Text Solution

    |

  15. Show that + : R xx R ->Rand xx : R xx R ->Rare commutative binary ope...

    Text Solution

    |

  16. Show that + : R xx R ->Rand xx : R xx R ->Rare commutative binary ope...

    Text Solution

    |

  17. Show that addition and multiplication are associative binary operat...

    Text Solution

    |

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

    Text Solution

    |

  19. Show that " "a is not the inverse of a in N for the addition op...

    Text Solution

    |

  20. Show that " "a is not the inverse of a in N for the addition op...

    Text Solution

    |