Advertisements
Advertisements
Question
Give examples of two functions f : N → N and g : N → N, such that gof is onto but f is not onto.
Advertisements
Solution
Let us consider a function f : N → N given by f(x) = x +1 , which is not onto.
[This not onto because if we take 0 in N (co-domain), then,
0=x+1
⇒">⇒ x = - ∉ N ]
Let us consider g : N → N given by
g (x) = `{(x-1, ifx>1),(1,if x = 1):}`
Now, let us find (gof) (x)
Case 1 : x >1
(gof) (x) = g (f (x)) = g (x+1) = x+1−1 = x
Case 2 : x = 1
(gof) (x) = g (f (x)) = g (x+1) = 1
From case-1 and case-2, (gof) (x) = x, ∀x ∈ N,
which is an identity function and, hence, it is onto.
APPEARS IN
RELATED QUESTIONS
Let f : R → R be defined as f(x) = x4. Choose the correct answer.
Let S = {a, b, c} and T = {1, 2, 3}. Find F−1 of the following functions F from S to T, if it exists.
F = {(a, 3), (b, 2), (c, 1)}
Which of the following functions from A to B are one-one and onto?
f1 = {(1, 3), (2, 5), (3, 7)} ; A = {1, 2, 3}, B = {3, 5, 7}
Classify the following function as injection, surjection or bijection : f : N → N given by f(x) = x3
If f : A → B is an injection, such that range of f = {a}, determine the number of elements in A.
If A = {1, 2, 3}, show that a onto function f : A → A must be one-one.
Show that f : R→ R, given by f(x) = x — [x], is neither one-one nor onto.
If f : A → B and g : B → C are onto functions, show that gof is a onto function.
Consider f : R → R given by f(x) = 4x + 3. Show that f is invertible. Find the inverse of f.
Consider f : R+ → [−5, ∞) given by f(x) = 9x2 + 6x − 5. Show that f is invertible with `f^-1 (x) = (sqrt (x +6)-1)/3 .`
Let f : [−1, ∞) → [−1, ∞) be given by f(x) = (x + 1)2 − 1, x ≥ −1. Show that f is invertible. Also, find the set S = {x : f(x) = f−1 (x)}.
Which one of the following graphs represents a function?

If A = {a, b, c} and B = {−2, −1, 0, 1, 2}, write the total number of one-one functions from A to B.
If f : R → R is defined by f(x) = x2, find f−1 (−25).
If f : R → R be defined by f(x) = (3 − x3)1/3, then find fof (x).
If f : {5, 6} → {2, 3} and g : {2, 3} → {5, 6} are given by f = {(5, 2), (6, 3)} and g = {(2, 5), (3, 6)}, then find fog. [NCERT EXEMPLAR]
Let
f : R → R be given by
\[f\left( x \right) = \left[ x^2 \right] + \left[ x + 1 \right] - 3\]
where [x] denotes the greatest integer less than or equal to x. Then, f(x) is
(d) one-one and onto
Which of the following functions from
to itself are bijections?
If a function\[f : [2, \infty )\text{ to B defined by f}\left( x \right) = x^2 - 4x + 5\] is a bijection, then B =
Let
The inverse of the function
\[f : R \to \left\{ x \in R : x < 1 \right\}\] given by
\[f\left( x \right) = \frac{e^x - e^{- x}}{e^x + e^{- x}}\] is
Let
\[A = \left\{ x \in R : x \leq 1 \right\} and f : A \to A\] be defined as
\[f\left( x \right) = x \left( 2 - x \right)\] Then,
\[f^{- 1} \left( x \right)\] is
Let \[f\left( x \right) = \frac{1}{1 - x} . \text{Then}, \left\{ f o \left( fof \right) \right\} \left( x \right)\]
If \[f : R \to \left( - 1, 1 \right)\] is defined by
\[f\left( x \right) = \frac{- x|x|}{1 + x^2}, \text{ then } f^{- 1} \left( x \right)\] equals
Write about strlen() function.
If A = {a, b, c, d} and f = {a, b), (b, d), (c, a), (d, c)}, show that f is one-one from A onto A. Find f–1
Let f, g: R → R be two functions defined as f(x) = |x| + x and g(x) = x – x ∀ x ∈ R. Then, find f o g and g o f
Let f: R → R be defined by f(x) = 3x – 4. Then f–1(x) is given by ______.
Consider the set A containing n elements. Then, the total number of injective functions from A onto itself is ______
Are the following set of ordered pairs functions? If so, examine whether the mapping is injective or surjective.
{(a, b): a is a person, b is an ancestor of a}
Let X = {1, 2, 3}and Y = {4, 5}. Find whether the following subset of X ×Y are function from X to Y or not
k = {(1,4), (2, 5)}
Let f : R → R, g : R → R be two functions such that f(x) = 2x – 3, g(x) = x3 + 5. The function (fog)-1 (x) is equal to ____________.
A general election of Lok Sabha is a gigantic exercise. About 911 million people were eligible to vote and voter turnout was about 67%, the highest ever

Let I be the set of all citizens of India who were eligible to exercise their voting right in the general election held in 2019. A relation ‘R’ is defined on I as follows:
R = {(V1, V2) ∶ V1, V2 ∈ I and both use their voting right in the general election - 2019}
- Three friends F1, F2, and F3 exercised their voting right in general election-2019, then which of the following is true?
Sherlin and Danju are playing Ludo at home during Covid-19. While rolling the dice, Sherlin’s sister Raji observed and noted the possible outcomes of the throw every time belongs to set {1,2,3,4,5,6}. Let A be the set of players while B be the set of all possible outcomes.
A = {S, D}, B = {1,2,3,4,5,6}
- Raji wants to know the number of functions from A to B. How many number of functions are possible?
Raji visited the Exhibition along with her family. The Exhibition had a huge swing, which attracted many children. Raji found that the swing traced the path of a Parabola as given by y = x2.
Answer the following questions using the above information.
- Let f: {1,2,3,....} → {1,4,9,....} be defined by f(x) = x2 is ____________.
'If 'f' is a linear function satisfying f[x + f(x)] = x + f(x), then f(5) can be equal to:
Write the domain and range (principle value branch) of the following functions:
f(x) = tan–1 x.
Find the domain of sin–1 (x2 – 4).
Which one of the following graphs is a function of x?
![]() |
![]() |
| Graph A | Graph B |


