RS Aggarwal Class 12 Solutions Chapter-2 Functions
RS Aggarwal Class 12 Solutions Chapter-2 Functions
Exercise - 2A
Q1
A function is defined as the relation between two sets, where for
every element of set A, there is exactly one element in set B.
A function is represented as f: A → B, which means ‘f’ is a
function from A to B.
A domain is the set of all possible values which can be plug in the
function to get a real value.
A co-domain is the set of all possible values that can be realised
from the function.
A range is the set of all values which actually comes as an output
when any value from the domain is plugged in the function.
Say, f: A → B, then set A is the domain of the function f and set B
is the co-domain of the function. The images for the elements of set
A is the range of the function f.
For Example: For function f(x) = x2, the domain can be Natural
numbers (1, 2, 3, 4…), the co-domain is again natural numbers (1,
2, 3, 4…) and the range is (1, 4, 9, 16…).
Q3
(a) One-One but not Onto
f: N → N be a mapping given by f(x) = x2
For one-one
f(x) = f(y)
x2 = y2
x = y (x cannot be y as y ∈ N)
So, f(x) = x2 For each element in Set A, it has unique image in Set B
For onto
Let f(x) = y, for y ∈ N
x2 = y
For one-one
f(x) = f(y)
𝑥−7 𝑦−7
= 𝑦−5
𝑥 −5
⇒ xy - 5x – 7y + 35 = xy -7x – 5y + 35
⇒ 2x = 2y
⇒x=y
𝑥−7
So, f(x) = is one-one
𝑥 −5
For onto
Let f(x) = y
𝑥−7
⇒ =y
𝑥 −5
⇒ x – 7 = y(x – 5)
7 − 5𝑦
⇒x= 1−𝑦
7 − 5𝑦
Clearly, x = is a real number for all y ≠ 1
1−𝑦
x, if x ≥ 0
f: R → R given by f(x) = |x| = -x, if x ≤ 0
For One-one
f(x) = f(y)
|x| = |y|
x = y or x = -y
So, it is not one-one.
For Onto
It is known that f(x) = |x| is always non-negative. Therefore there
won’t be any element in domain R for which f(x) is negative.
So, it is not onto.
Therefore, f(x) =|x| is neither one-one nor onto.
(d) Onto but not one-one
f(x) = |x| from the set of Real numbers to the Set of Whole numbers.
For one-one
f(x) = f(y)
|x| = |y|
f(x) = 1 + x2
Since the range of f(x) is [1,∞] is not equal to the codomain which
is the set of Real numbers.
Hence f(x) = 1 + x2 is not onto, thus it is into.
Hence, f(x) is many-one into.
Q6
To show that f: R → R given by f(x) = x4 is many-one into.
A function which is not onto is into.
A function where more than one element in Set A maps to one
element in Set B is many-one.
f(x) = x4
For x = 1, f(x) = 1
Class XII www.vedantu.com RS Aggarwal Solutions
For x = -1, f(x) = 1
∴ f(x) = x4 is many-one.
f(x) = x4
Since the range of f(x) is [0,∞] is not equal to the codomain which
is the set of Real numbers.
Hence f(x) = x4 is not onto, thus it is into.
Hence, f(x) is many-one into.
Q7
To show that f: R → R given by f(x) = x5 is one-one and onto.
A function which is onto has every element of co domain mapped
to the at least one element of Domain. i.e Range is equal to co
domain
A function where more than one element in Set A maps to one
element in Set B is many-one.
f(x) = x5
Since the range of f(x) is [-∞,∞] is equal to the codomain which is
the set of Real numbers.
Hence f(x) = x5 is onto.
Hence, f(x) is one-one and onto.
Q8
𝜋
f: [0, 2 ] → R for given function f(x) = sin
x
If we recall the graph for sin x, then we
realise that for any two values on the curve, say x1 and x2,
𝜋
f: [0, 2 ] → R for given function f(x) = cos
x
If we recall the graph for cos x, then we
realise that for any two values on the
curve, say x1 and x2, cos
x1 ≠ cos x2
Hence, f(x) = cos x is one to one.
Now, f + g = sin x + cos x mapped from
𝜋
[0, 2 ] to R
Q11
f: R → R : f(x) = sin x
For one-one
If we look at the sin x graph, we will see that for every value of y,
there are two values of sin x, Therefore, f(x) = sin x is not one-one
Class XII www.vedantu.com RS Aggarwal Solutions
For onto
Range of f(x) is [-1,1] which is not equal to co domain which is set
of Real numbers.
Hence, f(x) is not onto
∴ f: R → R : f(x) = sin x neither is one-one nor onto.
Q12
f: N → N given by function f(n) = (n2 + n + 1)
For one-one
f(n) has one element from co domain for every element in the
domain, so it is one-one.
For onto
Range of the function f(n) is [0.75, ∞] which is not equal to the co
domain i.e. set of natural numbers.
So, f(n) = n2 + n + 1 is not onto.
∴ f: N → N given by function f(n) = (n2 + n + 1) is one-one but not
onto.
Q13 11
-22(n-1), when
n, when n isneven
is odd
f(n) =
Q14
f: R → R : f(x) = x2 + 1
As per the graph, the f(x) as lowest value of -1 and goes upto to ∞
Range of the f(x) = [-1, ∞]
Or range (f) = {y ϵ R : y ≥ 1}
And f(x) can be input with any number from the domain, which is
set of real numbers.
So, the domain of the function f(x) is R.
valued points of y.
f: R → R : f(x) =
1
(a) f(2)
1
x = 2, which is rational and satisfying first condition
1
So, f(2) = 1
(b) f(√2)
x = √2, which is irrational and satisfying second condition
So, f(√2)= -1
(c) f(𝜋)
x = 𝜋, which is irrational and satisfying second condition
So, f(𝜋)= -1
(d) f(2 + √3)
x = 2 + √3, which is irrational and satisfying second condition
So, f(2 + √3)= -1
Exercise - 2B
Q1
(a) gof
Here, A = {1, 2, 3, 4}
f = {(1,4), (2,1), (3,3),(4,2)}
and g = {(1,3), (2,1), (3,2), (4,4)}
As per combination of f and g,
Fog(x) = g(f(x)), for all x ϵ A
So, gof(1) = g(f(1)
= g(4)
=4
and gof(2) = g(f(2)
= g(1)
=3
Q3
f: R → R : f(x) = x2 (given)
g: R → : g(x) = x + 1 (given)
To show: (gof) ≠ (fog)
As per composition of f and f,
gof(x) = g(f(x))
= g(x2) = x2 + 1 [∵ g(x) = x + 1]
fog(x) = f(g(x))
= f(x + 1) = (x + 1)2 [∵ f(x) = x2]
= x2 + 2x + 1
Hence, gof ≠ fog
Q5
f: R → R : f(x) = x2 + 3x + 1 (given)
f: R → R : f(x) = 2x – 3 (given)
(a) gof
We know that, gof(x) = g(f(x))
= g(x2 + 3x + 1)
= 2(x2 + 3x + 1) – 3 [∵ g(x) = 2x – 3]
= 2x2 + 6x + 2 – 3
= 2x2 + 6x – 1
Q6
f: R → R : f(x) = |x| (given)
To Prove : f of (x) = f(x)
We know that, f of (x) = f(f(x)
= f(|x|)
= ||x|| [∵ f(x) = |x|]
= |x|
= f(x)
Q7
f: R → R: f(x) = x2 (given)
g: R → R: g(x) = tan x (given)
h: R → R: h(x) = log x (given)
We know that, gof(x) = g(f(x))
= g(x2)
= tan x2 [∵ g(x) = tan x]
Now, hogof = h(gof)
= h(tan x2)
= log (tan x2) [∵ h(x) = log x]
∴ [ho(gof)](x) = log (tan x2)
𝜋 𝜋
This implies, [ho(gof)](√4 ) = log (tan (√4 )2)
𝜋
= log ( tan 4 )
= log 1
=0
Q8
f: R → R : f(x) (2x – 3) (given)
1
g: R → R : g(x) = 2 (x + 3) (given)
Class XII www.vedantu.com RS Aggarwal Solutions
To Show: (fog) = IR = gof
We know that (fog) (x) = f(g(x))
𝑥+3
= f( )
2
𝑥+3
= 2( )–3 [∵ f(x) = 2x – 3]
2
=x+3–3
=x
Similarly, (gof)(x) = g(f(x))
= g(2x – 3)
1 1
= 2 [(2x – 3) + 3] [∵ g(x) = 2(x + 3)]
2𝑥
= =x
2
Q9
f: Z → Z : f(x) = 2x (given)
g: Z → Z (given)
gof = IZ (given)
This implies, gof = IZ(x) for all x ∈ Z
g(f(x)) = x
Class XII www.vedantu.com RS Aggarwal Solutions
g(2x) = x
Let, 2x = y
𝑦
This implies g(y) = 2 for all y ∈ Z
𝑥
∴ g(x) = for all x ∈ Z
2
Q10
f: N → N : f(x) = 2x (given)
g: N → N : g(y) = 3y + 4 (given)
h: N → N : h(z) = sin z (given)
To show: ho(gof) = (hog)of
ho(gof) = ho(g(f(x))
= ho(g(2x))
= ho(3(2x) + 4) [∵ g(y) = 3y + 4)]
= h(6x + 4)
= sin (6x + 4) [∵ h(z) = sin z)]
(hog)of = [h(g(x)]of
= [h(3x + 4]of [∵ g(y) = 3y + 4)]
= [Sin(3x + 4)]of [∵ h(z) = Sin z)]
= [Sin(3x + 4)]f(x)
= [Sin(3x + 4)][2x]
Here, Sin(3x + 4) is a function
Class XII www.vedantu.com RS Aggarwal Solutions
= Sin[3(2x) + 4]
= Sin[6x + 4]
Hence, it is proved that ho(gof) = (hog)of
Q11
Let f(x) = [x] (greatest integer function)
and g(x) = |x| (absolute value function)
We know that fog(x) = f(g(x)
= f(|x|)
= [|x|]
3 3
This implies that (fog)(− 2) = [|− 2|]
3
= [2] = [1.5] = 1
= |[1.33]|
= |1| = 1
3 4
So, (fog)(− 2) + gof(3) = 1 + 1 = 2
fog(x) = f(g(x))
𝑥
= f(𝑥−1)
𝑥
= (𝑥−1)2 + 2 [∵ f(x) = x2 + 2]
=4+2
=6
(−3)2 + 2 x2 + 2
And, gof(-3) = (−3)2 +1
[∵ gof(x)= ]
x2 +1
9+2
= 9+1
11
=
10
Since, v ∈ R
𝑣 𝑣
f(x) = f(2) = 2(2) = v
⇒ f(x) = v
This shows that every element in the co-domain has its preimage in
domain.
Hence, f(x) is a surjection or onto function.
Q3
One-One function
Let p, q be two arbitrary elements in R.
Class XII www.vedantu.com RS Aggarwal Solutions
Then, f(p) = f(q)
⇒ p2 = q2
⇒ p = q or p = -q
When f(p) = f(q), p = q
Since, p does not have unique image, f(x) is a many-one function.
Hence, f(x) is not one-one function.
Onto function
Let v be an arbitrary element of R (Co-domain)
Then, f(x) = v
⇒ x2 = v
⇒ x = √𝑣
If v = -1
⇒ x = √−1
Thus, v = -1 ∈ R does not have its pre-image in domain.
Hence, f(x) is not onto function.
Q4
One-One function
Let p, q be two arbitrary elements in R.
Then, f(p) = f(q)
⇒ p2 = q2
Class XII www.vedantu.com RS Aggarwal Solutions
⇒ p = q or p = -q
But, p = -q cannot be considered as x ∈ N.
⇒ p = q can only be considered.
Hence, f(x) is a one-one function.
Into function
Let v be an arbitrary element of R (Co-domain)
Then, f(x) = v
⇒ x2 = v
⇒ x = √𝑣
If v = 3
⇒ x = √3
Thus, v = 3 ∈ R does not have its pre-image in domain.
Hence, f(x) is into function.
Q5
One-One function
Let p, q be two arbitrary elements in R.
Then, f(p) = f(q)
⇒ p4 = q4
⇒ p4 – q4 = 0
⇒ (p2 – q2)(p2 + q2) = 0
Class XII www.vedantu.com RS Aggarwal Solutions
⇒ (p – q)(p + q)(p2 + q2) = 0
p–q=0 p+q=0 p2 + q2 = 0
p=q p = -q p2 = - q2
Since, p does not have unique image, f(x) is a many-one function.
Hence, f(x) is not one-one function.
Onto function
Let v be an arbitrary element of R (Co-domain)
Then, f(x) = v
⇒ x4 = v
⇒ x = 4√𝑣
If v = -3
4
⇒ x = √−3
Thus, v = -3 ∈ R does not have its pre-image in domain.
Hence, f(x) is not onto function.
Q6
One-One function
Let p, q be two arbitrary elements in R.
Then, f(p) = f(q)
⇒ p3 = q3
⇒p=q
Class XII www.vedantu.com RS Aggarwal Solutions
When f(p) = f(q), p = q
Hence, f(x) is one-one function.
Into function
Let v be an arbitrary element of R (Co-domain)
Then, f(x) = v
⇒ x3 = v
3
⇒ x = √𝑣
If v = 2
3
⇒ x = √2
Thus, v = 2 ∈ Z does not have its pre-image in domain.
Hence, f(x) is into function.
Q7
One-One function
Let p, q be two arbitrary elements in R.
Then, f(p) = f(q)
1 1
⇒𝑝=𝑞
⇒ p= q
When f(p) = f(q), p = q
Hence, f(x) is one-one function.
Since, v ∈ Ro
1 1
⇒ f(x) = f(𝑣) = 1/𝑣 = v
⇒ f(x) = v
This shows that every element in the co-domain has its pre-image in
domain.
Hence, f(x) is onto function.
Q8
Many-One function
Let p, q be two arbitrary elements in R.
Then, f(p) = f(q)
⇒ 1 + p2 = 1 + q 2
⇒ p2 = q2
⇒ p = q or –p = q
Since, p and –p have same image, f(x) is many-one function
Q9
2𝑥 − 7
f(x) = 4
Let f(x) = y
2𝑥 − 7
y= 4
Q10
f(x) = 10 x + 3
Let f(x) = y
y = 10x + 3
Now, replace all x with y and all y with x
x = 10y + 3
Now solve for y
⇒ x – 3 = 10y
𝑥–3
⇒ =y
10
Q11
Many-one function:
Class XII www.vedantu.com RS Aggarwal Solutions
f(x) = 1, if x is rational
If x = 1
f(1) = 1
If x = 2
f(2) = 1
1
If x = 2
1
f(2) = 1
Q12
f(x) = x + 7, x ∈ R (given)
g(x) = x - 7, x ∈ R (given)
We know that
fog(x) = f(g(x)
= f(x – 7)
= [(x – 7) + 7] [∵ f(x) = x + 7]
Class XII www.vedantu.com RS Aggarwal Solutions
=x–7+7
=x
Since, fog(x) = x
⇒ fog(7) = 7
Q13
f(x) = x2 (given)
g(x) = x + 1 (given)
We know that
gof(x) = g(f(x))
= g(x2)
= x2 + 1 [∵ g(x) = x + 1]
And fog(x) = f(g(x))
= f( x + 1)
= (x + 1)2 [∵ f(x) = x2]
= x2 + 2x + 1
Hence, gof ≠ fog
Q14
f(x) = (3 – x3)1/3 (given)
We known that,
Q15
f(x) = 3x + 2 (given)
f(f(x) = f(3x + 2)
= 3(3x + 2) + 2 [∵ f(x) = 3x + 2]
= 9x + 6 + 2
= 9x + 8
Q16
f = {(1,2), (3,5), (4,1)}
g = {(1,3), (2,3), (5,1)}
Domain of f = {1, 3, 4}
Co-domain of f = {1, 2, 5}
Q17
f = {(1,4), (2,1), (3,3), (4,2)} (given)
A = {1, 2, 3, 4} (given)
We know that,
fof(x) = f(f(x))
Q18
f(x) = 8x3 (given)
g(x) = x1/3 (given)
We know that
gof(x) = g(f(x))
= g(8x3)
Exercise - 2D
Q1
A function is invertible if it is a bijection.
(i.e. One-One Onto function)
One-One function
f = {(2,7), (3,9), (4,11), (5,13)}
We observe that different elements of A have different images in
B.
Thus, f is One-One function.
Q2
f(x) = 2x + 3 (given)
f(x) is invertible if f(x) is a bijection (i.e one-one onto function)
One-One function
Let p,q be two arbitrary elements in R
Then, f(p) = f(q)
⇒ 2p + 3 = 2q + 3
⇒ 2p = 2q
⇒p=q
When f(p) = f(q), p = q
Thus, f(x) is one-one function.
Since v ∈ R
𝑣–3
⇒ ∈R
2
𝑣–3
f(x) = f( )
2
𝑣–3
= 2( ) +3
2
=v–3+3=v
⇒ f(x) = v
This shows that every element in the co-domain has its pre-image in
domain.
Thus, f(x) is onto function.
Hence, f(x) is invertible.
Now to find f-1,
Let f(x) = y
y = 2x + 3
Now, replace all x with y and all y with x.
Class XII www.vedantu.com RS Aggarwal Solutions
Now, solve for y
⇒ x – 3 = 2y
𝑥–3
⇒y= 2
Q3
f(x) = 3x – 4 (given)
f(x) is invertible if f(x) is a bijection (i.e one-one onto function)
One-One function
Let p,q be two arbitrary elements in R
Then, f(p) = f(q)
⇒ 3p – 4 = 3q – 4
⇒ 3p = 3q
⇒p=q
When f(p) = f(q), p = q
Thus, f(x) is one-one function.
Onto function
Let v be an arbitrary element of R (Co-domain)
Then, f(x) = v
3x – 4 = v
Class XII www.vedantu.com RS Aggarwal Solutions
⇒ 3x = v + 4
𝑣+4
⇒x= 3
Since v ∈ Q
𝑣+4
⇒ ∈Q
3
𝑣+ 4
f(x) = f( )
3
𝑣+ 4
= 3( )–4
3
=v+4–4 =v
⇒ f(x) = v
This shows that every element in the co-domain has its pre-image in
domain.
Thus, f(x) is onto function.
Hence, f(x) is invertible.
Now to find f-1,
Let f(x) = y
y = 3x – 4
Now, replace all x with y and all y with x.
Now, solve for y
⇒ x + 4 = 3y
𝑥+ 4
⇒y= 3
Q4
1
f(x) = 2(3x + 1) (given)
⇒ 3p + 1 = 3q + 1
⇒p=q
When f(p) = f(q), p = q
Thus, f(x) is one-one function.
Onto function
Let v be an arbitrary element of R (Co-domain)
Then, f(x) = v
1
(3x + 1) = v
2
⇒ 3x + 1 = 2v
2𝑣 – 1
⇒x= 3
Class XII www.vedantu.com RS Aggarwal Solutions
Since v ∈ R
2𝑣 – 1
⇒ ∈R
3
2𝑣 – 1
f(x) = f( )
3
1 3(2𝑣 – 1)
= 2[( ) + 1]
3
1
= 2(2v – 1 + 1)
1
= 2(2v) = v
⇒ f(x) = v
This shows that every element in the co-domain has its pre-image in
domain.
Thus, f(x) is onto function.
Hence, f(x) is invertible.
Now to find f-1,
Let f(x) = y
1
y = 2(3x + 1)
⇒ 2x = 3y + 1
Q5
4𝑥 + 3 2
f(x) = 6𝑥 − 4, x ≠ 3 (given)
2
To Show: fof(x) = x for all x ≠ 3
=x
Hence, proved that fof(x) = x
Class XII www.vedantu.com RS Aggarwal Solutions
We know that fof-1(x) = x
fof-1 (x) = fof(x) [∵ fof(x) = x)]
f(f-1(x)) = f(f(x))
4𝑥 + 3
f-1(x) = 6𝑥 − 4
Q6
4𝑥 + 3
f(x) = 6𝑥 − 4 (given)
⇒ 4x + 3 = v(6x – 4)
⇒ 4x + 3 = 6vx – 4v
⇒ 4x – 6vx = -4v – 3
⇒ x( 4 – 6v) = -4v – 3
−4𝑣 – 3
⇒x=
4−6𝑣
Since v ∈ R
−4𝑣 – 3
⇒ ∈R
4−6𝑣
−4𝑣 – 3
f(x) = f( )
4−6𝑣
−4𝑣 – 3
−4( 4−6𝑣 ) – 3
= −4𝑣 – 3
4−6( 4−6𝑣 )
−16𝑣 – 12 + 12 – 18𝑣
=
−24𝑣 − 18 − 16 + 24𝑣
−34𝑣
= =v
−34
⇒ f(x) = v
⇒ x(6y – 4) = 4y + 3
⇒ 6xy – 4x = 4y + 3
⇒ y(4 – 6x) = -4x – 3
4𝑥 + 3
⇒ y = 6𝑥 − 4
Q7
4𝑥
f(x) = 3𝑥+ 4 (given)
One-One function
Class XII www.vedantu.com RS Aggarwal Solutions
Let p,q be two arbitrary elements in R
Then, f(p) = f(q)
4𝑝 4𝑞
⇒ 3𝑝+ 4 = 3𝑞+ 4
𝑝 𝑞
⇒ =
3𝑝+ 4 3𝑞+ 4
⇒ p(3q + 4) = q(3p + 4)
⇒ 3pq + 4p = 3pq + 4q
⇒ 4p = 4q
⇒p=q
When f(p) = f(q), p = q
Thus, f(x) is one-one function.
Onto function
Let v be an arbitrary element of R (Co-domain)
Then, f(x) = v
4𝑥
=v
3𝑥+ 4
⇒ 4x = v(3x + 4)
⇒ 4x = 3vx + 4v
⇒ 4x – 3vx = 4v
⇒ x(4 – 3v) = 4v
4𝑣
⇒x=
4 − 3𝑣
16𝑣
= 12𝑣+ 16− 12𝑣
16𝑣
= =v
16
⇒ f(x) = v
This shows that every element in the co-domain has its pre-image in
domain.
Thus, f(x) is onto function.
Now to find f-1,
Let f(x) = y
4𝑥
y = 3𝑥+ 4
⇒ x(3y + 4) = 4y
⇒ 3xy + 4x = 4y
Q8
f(x) = 9x2 + 6x – 5 (given)
f(x) is invertible if f(x) is a bijection (i.e one-one onto function)
One-One function
Let p,q be two arbitrary elements in R
Then, f(p) = f(q)
⇒ 9p2 + 6p – 5 = 9q2 + 6q – 5
⇒ 9p2 + 6p = 9q2 + 6q
⇒ 9p2 - 9q2 + 6p – 6q = 0
⇒ 9(p – q)(p + q) + 6(p – q)= 0
⇒(p-q)[9(p + q) + 6] = 0
⇒p–q=0 or 9(p + q) + 6 = 0
⇒p=q
Since v ∈ R → [-5, ∞]
−1 + √𝑣+6
⇒ ∈ R → [-5, ∞]
3
Q9
f(x) = 4x2 + 12x + 15 (given)
f(x) is invertible if f(x) is a bijection (i.e one-one onto function)
One-One function
Let p,q be two arbitrary elements in R
Then, f(p) = f(q)
⇒ 4p2 + 12p + 15 = 4q2 + 12q + 15
⇒ 4p2 + 12p= 4q2 + 12q
⇒ 4p2 - 4q2 + 12p – 12q = 0
⇒ (p – q)(p + q) + 3(p – q)= 0
⇒ (p-q)[p + q + 3] = 0
⇒p–q=0 or p+q+3=0
⇒p=q
When f(p) = f(q), p = q
Thus, f(x) is one-one function.
Since v ∈ R → [6, ∞]
−3 + √𝑣−6
⇒ ∈ R → [6, ∞]
2
Q10
𝑥−1
f(x) = 𝑥−2 (given)
One-One function
Let p,q be two arbitrary elements in R
Then, f(p) = f(q)
𝑝−1 𝑞−1
⇒ 𝑝−2 = 𝑞−2
⇒ (p – 1)(q – 2) = (q – 1)(p – 2)
⇒ pq – 2p – q + 2 = pq – 2q – p + 3
⇒ -2p – q = -2q – p
⇒ 2p – p = 2q - q
⇒p=q
When f(p) = f(q), p = q
Thus, f(x) is one-one function.
Onto function
Let v be an arbitrary element of R (Co-domain)
Then, f(x) = v
𝑥−1
=v
𝑥−2
Class XII www.vedantu.com RS Aggarwal Solutions
⇒ x – 1 = v(x – 2)
⇒ x – vx = - 2v + 1
⇒ x(1 – v) = 1 – 2v
1 – 2𝑣
⇒x= 1−𝑣
Since v ∈ R
1 – 2𝑣
⇒ ∈R
1−𝑣
⇒ x(y – 2) = y – 1
⇒ xy – 2x = y – 1
⇒ y(x – 1) = 2x – 1
2𝑥 − 1
⇒y=
𝑥−1
Q11
f(x) = |x| + x (given)
g(x) = |x| - x (given)
We know that
fog(x) = f(g(x))
= f(|x| - x )
= ||x| - x| + |x| - x [∵ f(x) = |x| + x]
Case 1: When x ≥ 0
Let x = 2
fog(2) = ||2| - 2| + |2| -2
=0
Let x = 7
fog(7) = ||7| - 7| + |7| - 7
=0
⇒ When x ≥ 0, fog(x) = 0
Objective Questions
Q1
f(x) = 2x
One-One function
Let p,q be two arbitrary elements in N
Then, f(p) = f(q)
⇒ 2p = 2q
⇒p=q
When f(p) = f(q), p = q
Thus, f(x) is one-one function.
Onto function
Let v be an arbitrary element of N (Co-domain)
Then, f(x) = v
2x = v
𝑣
⇒x=2
Since v ∈ N
𝑣
⇒2∈N
Class XII www.vedantu.com RS Aggarwal Solutions
𝑣
If v = 1, 2 = 0.5, which is not possible as x ∈ N
Q2
f(x) = x2 + x + 1
One-One function
Let p,q be two arbitrary elements in N
Then, f(p) = f(q)
⇒ p2 + p + 1 = q2 + q + 1
⇒ p2 – q2 + p – q = 0
⇒ (p – q)( p + q + 1) = 0
⇒p=q p + q + 1 ≠ 0( ∵ p, q ∈ N)
When f(p) = f(q), p = q
Thus, f(x) is one-one function.
Onto function
For x = 1, f(x) assumes value 3.
As, f(x) cannot assume value less than 3, for x ∈ N
Thus, f(x) is not onto function. It is into function.
Therefore, Option B is correct.
Q4
f: R → R : f(x) = x3
Class XII www.vedantu.com RS Aggarwal Solutions
One-One function
Let p,q be two arbitrary elements in R
Then, f(p) = f(q)
⇒ p3 = q3
⇒p=q
Thus, f(x) is one-one function.
Onto function
Let v be an arbitrary element of R (Co-domain)
Then, f(x) = v
x3 = v
⇒ x = 3√𝑣
Since v ∈ N
If v = 2, 3√𝑣= 1.260, which is not possible as x ∈ R
Thus, f(x) is not onto function. It is into function.
Therefore, Option B is correct.
Q5
f : R+ → R+ : f(x) = ex
One-One function
Let p,q be two arbitrary elements in R+
Then, f(p) = f(q)
Class XII www.vedantu.com RS Aggarwal Solutions
⇒ ep = e q
⇒ ln ep = ln eq (Taking natural log on both sides)
⇒p=q
Thus, f(x) is one-one function.
Onto function
Let v be an arbitrary element of R+ (Co-domain)
Then, f(x) = v
ex = v
⇒ ln ex = ln v
⇒ x = ln v
Since v ∈ R+
If we put x into f(x), Then f(ln v) = eln v = v
Thus, f(x) is onto function.
Therefore, Option A is correct.
Q6
−𝜋 𝜋
f:[ , ] → [-1,1] : f(x) = sin(x)
2 2
−𝜋 𝜋
As per graph for sin(x), for given range of [ 2 , 2 ], f(x) is not
Q7
f : R → R : f(x) = cos x
One-one Function
Class XII www.vedantu.com RS Aggarwal Solutions
cos x graph cuts y axis repeatedly, hence it is many-one.
Onto function
Range of f(x) is [-1, 1]
Co-domain is R
Here, Range of f(x) ≠ co-domain
Hence, f(x) = cos x is many-one into
Therefore, Option C is correct.
Q8
f: C → R: f(z) = |z|
One-One function
Let p,q be two arbitrary elements in R+
Then, f(p) = f(q)
⇒ |p| = |q|
⇒ p = q or -q
Thus, f(x) is many-one function.
Onto function
f(x) can only assume values between 0 and ∞, which is not equal to
Class XII www.vedantu.com RS Aggarwal Solutions
the codomain, which is R.
Thus, f(x) is not onto function. It is into
Therefore, Option C is correct.
Q9
(𝑥 – 2)
f: A → B: f(x) = (𝑥 − 3)
⇒ (p – 2)(q – 3) = (q – 2)(p – 3)
⇒ pq – 2q – 3p + 6 = pq – 3q – 2p + 6
⇒ – 2q – 3p = – 3q – 2p
⇒q=p
When f(p) = f(q), p = q
Thus, f(x) is one-one function.
Onto function
Let v be an arbitrary element of R (Co-domain)
Then, f(x) = v
⇒ x – 2 = v(x – 3)
⇒ x – 2 = vx – 3v
⇒ x – vx = – 3v + 2
⇒ x(1 – v) = – 3v + 2
− 3𝑣 + 2
⇒x= 1−𝑣
Since v ∈ R
− 3𝑣 + 2
⇒ ∈R
1−𝑣
− 3𝑣 + 2
f(x) = f( )
1−𝑣
− 3𝑣 + 2
( 1−𝑣 ) –2
= − 3𝑣 + 2
( 1−𝑣 ) − 3
− 3𝑣 + 2− 2 + 2𝑣
= − 3𝑣 + 2 − 3 + 3𝑣
=v
⇒ f(x) = v
This shows that every element in the co-domain has its pre-image in
domain.
Thus, f(x) is onto function.
Therefore, Option B is correct.
One-One function
When n is odd When n is even
f(1) = 1 f(2) = 1
f(3) = 2 f(4) = 2
It is clear from the above that the function is many-one.
Onto function
For any value of n ∈ N, The range of f(x) is a natural number.
Thus, f(x) is onto function.
Therefore, Option D is correct.
Q11
f : (A × B) → (B × A) : f(a, b) = (b, a)
One-One Function
Let p1, p2, q1, q2 be two arbitrary elements in R+
Then, f(p1,q1) = f(p2, q2)
⇒ (q1, p1) = (q2, b2)
⇒ p1 = p2 and q1 = q2
Q12
f: Q → Q : f(x) = (2x + 3)
To find f-1,
Let f(x) = y
y = (2x + 3)
⇒ y = 2x + 3
⇒ y – 3 = 2x
1
⇒ x = (y – 3)
2
To find f-1,
Let f(x) = y
4𝑥
y = (3𝑥+4)
⇒ 3xy + 4y = 4x
⇒ 4y = 4x – 3xy
⇒ 4y = x(4 – 3y)
4𝑦
⇒ x = 4 − 3𝑦
4𝑦
Hence, f-1(y) = (4 − 3𝑦)
Q14
f : N → X : f(x) = 4x2 + 12x + 15
To find f-1,
Let f(x) = y
4x2 + 12x + 15 = y
⇒ (4x2 + 12x + 9) + 6 = y
⇒ (2x + 3)2 + 6 = y
Class XII www.vedantu.com RS Aggarwal Solutions
⇒ (2x + 3)2 = y – 6
⇒ 2x + 3 = √𝑦 − 6
⇒ 2x = √𝑦 − 6 – 3
1
⇒ x = 2(√𝑦 − 6 – 3)
1
Hence, f-1(y) = 2(√𝑦 − 6 – 3)
Q15
(4𝑥+3) 2
f(x) = (6𝑥−4), x ≠ 3
16𝑥 + 12 + 18𝑥 − 12
= 24𝑥 + 18 − 24𝑥 + 16
34𝑥
= =x
𝑥
Q17
1 1
f(x+ 𝑥) = (x2 + 𝑥 2)
1 1
⇒ f(x+ 𝑥) = (x2 + 𝑥 2) + 2 – 2
1 1
⇒ f(x+ 𝑥) = (x + 𝑥)2 – 2
⇒ f(x) = x2 – 2
Therefore, Option C is correct.
Q18
1−𝑥
= f(1−𝑥−1)
1
= f(1- 𝑥)
1 1
= 1 = 1 =x
(1−(1− 𝑥)) 𝑥
Q19
3
f(x) √3 − 𝑥 3
As per combination of f and f,
fof(x) = f(f(x))
So, fof(x) = f(f(x))
3
= f( √3 − 𝑥 3 )
3
= √3 − (3 − 𝑥 3 )
3
= √𝑥 3
=x
Therefore, Option B is correct.
Q20
f(x) = x2 – 3x + 2
As per combination of f and f,
fof(x) = f(f(x))
So, fof(x) = f(f(x))
= f(x2 – 3x + 2)
= (x2 – 3x + 2)2 – 3(x2 – 3x + 2) + 2
= x4 – 9x2 + 4 – 6x3 –12x + 4x2 – 3x2 – 3x + 2 + 2
= x4 – 6x3 + 10x2 – 3x
Therefore, Option D is correct.
Q21
f(x) = 8x3
g(x) = x1/3
Q22
f(x) = x2
g(x) = tan x
h(x) = log x
As per combination of f, g and h,
𝜋 𝜋
{ho(gof)}(√4 ) = h(g(f(√4 ))
= log (1)
Class XII www.vedantu.com RS Aggarwal Solutions
=0
Therefore, Option A is correct.
Q23
f = {(1, 2), (3, 5), (4, 1)}
g = {(2, 3), (5, 1), (1, 3)}
As per combination of f and g,
gof= g(f(x)
So, g(f(x) = {(1, 3), (3, 1), (4, 3)}
Therefore, Option B is correct.
Q24
f(x) = √9 − 𝑥 2
domain of the function can be defined for √9 − 𝑥 2 ≥ 0
⇒ √9 − 𝑥 2 ≥ 0
⇒ 9 − 𝑥2 ≥ 0
⇒ x2 ≤ 9
⇒ – 3≤ x ≤ 3
Therefore, domain of f(x) is [– 3, 3]
Therefore, Option A is correct.
𝑥−1
domain of the function can be defined for √𝑥+4 ≥ 0
𝑥−1
⇒√ ≥0
𝑥+4
𝑥−1
⇒ 𝑥+4 ≥ 0
⇒ x– 1 ≥ 0
⇒ x ≥ 1 and x ≠ 4
The intersection of above two equations gives (- ∞, 1)∪(4, ∞)
Therefore, domain of f(x) is (- ∞, 1)∪(4, ∞)
Therefore, Option D is correct.
Q26
2 −1
f(x) = 𝑒 √𝑥 . log (𝑥 − 1)
Domain of the function is defined for
x–1>0 and x2 – 1 ≥ 0
⇒x>1 ⇒ x2 ≥ 1
⇒–1 ≤x≥0
Q27
𝑥
f(x) = (𝑥 2−1)
Q28
sin−1 𝑥
f(x) =
𝑥
Q30
f(x) = cos-1 (3x – 1)
The domain for function cos-1 x is [-1, 1] and range is [0, π]
When a function is multiplied by an integer, the domain of the
function is decreased by the same number.
So, domain of cos-1 x is [-1, 1]
Multiply function by 3
−1 1
⇒ domain of cos-1 3x is [ 3 , 3]
1 1 1 1 2
⇒ domain of cos-1 (3x – 1) is [ − , + ] i.e [0, ]
3 3 3 3 3
𝜋 3𝜋
According to graph of √𝑐𝑜𝑠 𝑥 the domain is [0, 2 ]∪[ , 2π]
2
Q32
f(x) = √log(2𝑥 − 𝑥 2 )
For f(x) to be defined 2x – x2 should be positive.
Solving inequality,
log (2x – x2) ≥ 0
⇒ 2x – x2 ≥ e0 (Log taken to the opposite side of the
equation becomes e)
⇒ x2 – 2x + 1 ≤ 0
⇒ (x – 1)2 ≤ 0
⇒x–1≤0
⇒x≤1
Class XII www.vedantu.com RS Aggarwal Solutions
Hence, domain of f(x) is (–∞, 1)
Therefore, Option C is correct.
Q33
f(x) = x2
f(x) can assume any value, so domain of f(x) is R
The Range of the function can only be positive Real numbers, as the
square of any number is always positive, So Range of f(x) is R+
Therefore, Option C is correct.
Q34
f(x) = x3
f(x) can assume any value, so domain of f(x) is R
The Range of the function can be positive or negative Real
numbers, as the cube of any number depends on the sign of the
number, So Range of f(x) is R
Therefore, Option A is correct.
Q35
f(x) = log (1 – x) + √𝑥 2 – 1
Solving inequality,
Q36
1
f(x) = (1− 𝑥 2)
⇒ y – yx2 = 1
⇒ yx2 = y – 1
𝑦–1
⇒ x2 = 𝑦
𝑦–1
⇒√ ≥0
𝑦
⇒y≥1
Hence, Range of the f(x) = [1, ∞)
Therefore, Option B is correct.
Q37
𝑥2
f(x) = (1 + 𝑥 2)
⇒ y + yx2 = x2
⇒ y = x2 - x2y
⇒ y = x2(1 – y)
𝑦
⇒ x = √1 − 𝑦
1
⇒ √1 − 𝑦 ≥ 0
⇒ y ≥ 0 and y < 1
On taking intersection of two equations of y, we get
Q38
1
f(x) = x + 𝑥
Q39
f(x) = ax, where a>0
Case 1: When x < 0, then ax lies between (0, 1)
Case 2: When x ≥ 0, then ax ≥ 1
Union of above two cases, gives us the Range as (0, ∞)
Therefore, Option D is correct.