One-one and onto functions: JEE Main PYQ with Solutions
21 questions on One-one and onto functions from the Functions chapter, newest first. Open "Show answer and solution" under a question to check your work.
Let f:R→R be defined as f(x)=3x2+x+32x2−3x+2. Then f is :
Aboth one-one and onto
Bone-one but not onto
Conto but not one-one
Dneither one-one nor onto
Show answer and solution
Answer: (D)
Dividing top and bottom by x shows f(x) depends only on x+x1, so f(x)=f(x1); for example f(2)=f(21)=174. Not one-one. For the range: (3y−2)x2+(y+3)x+(3y−2)=0 needs (y+3)2−4(3y−2)2≥0, that is (7−5y)(7y−1)≥0. So the range is [71,57], not all of R: not onto.
Given below are two statements: Statement I: The function f:R→R defined by f(x)=1+∣x∣x is one-one. Statement II: The function f:R→R defined by f(x)=x2−8x+18x2+4x−30 is many-one. In the light of the above statements, choose the correct answer from the options given below :
ABoth Statement I and Statement II are true
BStatement I is true but Statement II is false
CStatement I is false but Statement II is true
DBoth Statement I and Statement II are false
Show answer and solution
Answer: (A)
Statement I: for x≥0, f=1−1+x1 increases; f is odd, so it increases on the whole line and is one-one. True. Statement II: the function tends to 1 as x→±∞ and is continuous and not constant, so it cannot be monotonic on the whole line; it takes some value twice. True.
The function f:(−∞,∞)→(−∞,1), defined by f(x)=2x+2−x2x−2−x is :
ANeither one-one nor onto
BOnto but not one-one
CBoth one-one and onto
DOne-one but not onto
Show answer and solution
Answer: (D)
f(x)=22x+122x−1=1−22x+12, which increases with x, so f is one-one. Its values fill (−1,1) only, which is smaller than the co-domain (−∞,1): not onto.
Let f(x)={−ax+aif −a≤x≤0if 0<x≤a where a>0 and g(x)=(f(∣x∣)−∣f(x)∣)/2. Then the function g:[−a,a]→[−a,a] is
Aneither one-one nor onto.
Bonto.
Cboth one-one and onto.
Done-one.
Show answer and solution
Answer: (A)
For 0<x≤a: f(∣x∣)=∣f(x)∣=x+a, so g(x)=0. That already shows g is not one-one. For −a≤x<0: f(∣x∣)=a−x and ∣f(x)∣=a, so g(x)=−2x, between 0 and 2a. At x=0: g(0)=−a. Values such as a are never taken, so g is not onto.
The numerator is (x+5)(x−3), so f(−5)=f(3)=0: not one-one. For the range, (y−1)x2−2(2y+1)x+(9y+15)=0 needs (2y+1)2−(y−1)(9y+15)≥0, that is (5y−8)(y+2)≤0. So the range is [−2,58], not all of R: not onto.
Let f:R→R be a function such that f(x)=x2+1x2+2x+1. Then
Af(x) is many-one in (−∞,−1)
Bf(x) is many-one in (1,∞)
Cf(x) is one-one in [1,∞) but not in (−∞,∞)
Df(x) is one-one in (−∞,∞)
Show answer and solution
Answer: (C)
f(x)=1+x2+12x and f′(x)=(x2+1)22(1−x2). So f decreases on (−∞,−1), increases on (−1,1) and decreases on (1,∞). It is one-one on each of these pieces, in particular on [1,∞), but not on the whole line (for example f(2)=f(21)).
Let f:(0,1)→R be a function defined by f(x)=1−e−x1, and g(x)=(f(−x)−f(x)). Consider two statements (I) g is an increasing function in (0,1) (II) g is one-one in (0,1) Then,
AOnly (I) is true
BOnly (II) is true
CNeither (I) nor (II) is true
DBoth (I) and (II) are true
Show answer and solution
Answer: (D)
f(−x)=1−ex1 and f(x)=ex−1ex, so g(x)=1−ex1+ex. Then g′(x)=(1−ex)22ex>0 on (0,1). So g is increasing there, and therefore also one-one. Both statements are true.
Let f,g:N−{1}→N be functions defined by f(a)=α, where α is the maximum of the powers of those primes p such that pα divides a, and g(a)=a+1, for all a∈N−{1}. Then, the function f+g is
Aone-one but not onto
Bonto but not one-one
Cboth one-one and onto
Dneither one-one nor onto
Show answer and solution
Answer: (D)
(f+g)(4)=2+5=7 and (f+g)(5)=1+6=7, so f+g is not one-one. For a≥2, f(a)≥1 and g(a)≥3, so f+g≥4: the values 1,2,3 are never taken, and it is not onto.
Let a function f:N→N be defined by f(n)=⎩⎨⎧2n,n−1,2n+1,n=2,4,6,8,…n=3,7,11,15,…n=1,5,9,13,… then, f is
AOne-one and onto
BOne-one but not onto
COnto but not one-one
DNeither one-one nor onto
Show answer and solution
Answer: (A)
Even n go to 4,8,12,… (the multiples of 4). n=3,7,11,… go to 2,6,10,… (the other even numbers). n=1,5,9,… go to 1,3,5,… (the odd numbers). The three sets of values do not overlap and together cover N, with no value repeated. So f is one-one and onto.
Consider function f:A→B and g:B→C(A,B,C⊆R) such that (gof)−1 exists, then:
Af and g both are one-one
Bf and g both are onto
Cf is one-one and g is onto
Df is onto and g is one-one
Show answer and solution
Answer: (C)
gof has an inverse, so it is a bijection from A to C. If f(x1)=f(x2) then gof(x1)=gof(x2), so f must be one-one. Every element of C is g of something, so g must be onto. Nothing more is forced.
Let f,g:N→N such that f(n+1)=f(n)+f(1)∀n∈N and g be any arbitrary function. Which of the following statements is NOT true?
AIf f is onto, then f(n)=n∀n∈N
BIf g is onto, then fog is one-one
Cf is one-one
DIf fog is one-one, then g is one-one
Show answer and solution
Answer: (B)
The relation gives f(n)=nf(1), which is one-one (C true). If f is onto it must reach 1, so f(1)=1 and f(n)=n (A true). If g(x1)=g(x2) then f(g(x1))=f(g(x2)), so a one-one fog forces x1=x2: g is one-one (D true). But g can be onto without being one-one, and then fog is not one-one. B is not true.
Let a function f:(0,∞)→(0,∞) be defined by f(x)=1−x1. Then f is :
Anot injective but it is surjective
Binjective only
Cneither injective nor surjective
DNone of the above
Show answer and solution
Answer: (D)
f(1)=0, and 0 is not in the co-domain (0,∞). So with this co-domain f is not a properly defined function at all, and none of the first three descriptions applies.
Let A={x∈R:x is not a positive integer}. Define a function f:A→R as f(x)=x−12x, then f is:
AInjective but not surjective
BNot injective
CSurjective but not injective
DNeither injective nor surjective
Show answer and solution
Answer: (A)
f(x)=2+x−12. Equal values force equal x, so f is injective. It never takes the value 2 (and values such as f(2)=4 are also missed, because 2 is not in A), so it is not surjective.
Let A={1,2,3,4} and R:A→A be the relation defined by R={(1,1),(2,3),(3,4),(4,2)}. The correct statement is :
AR does not have an inverse.
BR is not a one to one function.
CR is an onto function.
DR is not a function.
Show answer and solution
Answer: (C)
Each of 1,2,3,4 appears exactly once as a first entry, so R is a function. The images 1,3,4,2 are all different and cover all of A, so it is one-one and onto, and it has an inverse. The correct statement is that R is an onto function.
Let f:(−1,1)→B, be a function defined by f(x)=tan−11−x22x, then f is both one-one and onto when B is the interval
A(0,2π)
B[0,2π)
C[−2π,2π]
D(−2π,2π)
Show answer and solution
Answer: (D)
For −1<x<1, tan−11−x22x=2tan−1x. As x goes from −1 to 1, tan−1x goes from −4π to 4π (end values not reached), so f increases through (−2π,2π). That is B.
A function f from the set of natural numbers to integers defined by f(n)=⎩⎨⎧2n−1,−2n,when n is oddwhen n is even is
Aneither one-one nor onto
Bone-one but not onto
Conto but not one-one
Done-one and onto both.
Show answer and solution
Answer: (D)
Odd n=1,3,5,… go to 0,1,2,… and even n=2,4,6,… go to −1,−2,−3,…. Different n give different values, and every integer is reached. So f is one-one and onto.