Practice Problems On Functions (Maths)
Practice Problems On Functions (Maths)
CPP: FUNCTIONS(1)
Find the domain of the following functions.
1. ( )
2
f x x 1 x =
2. ( )
1
f x
x x
=
3. ( ) ( )
3
10 10
log log 1 f x x = +
4. ( ) ln ln f x x =
5. ( )
( )
1 2
4
cos log x
f x e
=
6. ( ) [ ] ( )
ln f x x x = , [.] = G.I.F.
7. 2 2 2
x y
+ =
8. ( )
2
1 2
1
sin 1
2
x
f x x
x
| | +
= +
|
\
9. ( ) [ ] ( )
1
sin f x x x
= + , [.] = G.I.F.
10.
( ) ( )
2
1 1
2
1 x
f x sin log x cos(sinx) cos
2x
| | +
= + +
|
\
11. ( )
( )
10
1
2
log 1
f x x
x
= + +
12. ( )
( )
2
2
log 3
3 2
x
f x
x x
+
=
+ +
13. ( )
1
f x sin 2x
6
= +
14. ( )
( )
2
1
4
sin 2
x
f x
x
15. ( ) ( ) ( )
2
10 10
log 1 log 5 16 f x x x = +
16. ( )
( )
0.3
2
log 1
3 18
x
f x
x x
=
17. ( )
1
2
x
f x
x
18. ( )
2
10
5
log
4
x x
f x
| |
=
|
\
19. ( )
1
1
1 2
cos log
3
x
x
f x x
| |
= +
|
\
20. ( ) ( )
2
4 5 3
log log log 18 77 f x x x =
21. ( )
10
1
log
sin
f x
x
=
22. ( ) [ ]
1
, . . . .
1 7 6
f x G I F
x x
= =
( ( +
23. ( ) [ ]
1
, . . . .
1 5
f x G I F
x
= =
(
24. ( )
( )
1 2
2 1 ! 3
5cos
1
2
x
f x x
x
x
+
= +
( +
(
, [.] =
G.I.F.
25. ( )
10
100
2log 1
log
x
x
f x
x
+ | |
=
|
\
26. ( )
12 9 4
1
1
f x
x x x x
=
+ +
27. ( )
7
3
x
x
f x P
=
28. ( )
10 10 10 10
log log log log f x x =
29. ( )
0.4
1
log
5
x
f x
x
| |
=
|
\
+
30. ( ) [ ]
1 2
sec 1 , . f x x x
( = + =
G.I.F.
31. ( )
( )
2
1
log
x
f x x
=
2
32. ( ) { } log
x
f x x = , {.} = fractional part
33. ( )
1 2
sin 2 3 , f x x
( =
[.] = G.I.F.
34. ( )
( )
1
3 1
cos
2 ln 4
x
f x
x
| |
= +
|
\
35. ( )
[ ]
log ,
x
f x x = [.] = G.I.F.
36. ( )
1 2
2
1
sin log
2
f x x
| |
| |
=
|
|
\ \
37. ( )
[ ] [ ]
[ ]
2
1
, .
6
f x
x x
= =
G.I.F.
38. ( )
3 1 1
2 5
1
log log 1 1 f x
x
| | | |
| | = +
| |
\
\
39. ( )
( )
2
2
2
log
log
3 4 log
x
f x
x
| |
=
|
\
40. ( )
1
1
cos
sin
f x
x
=
ANSWERS
1.
1
,1
2
(
(
2. ( ) , 0 3. (0, ) 4. (0, 1) (1, )
5.
1 1
2, , 2
2 2
( (
( (
6. R I 7. (-, 1) 8. {-1, 1}
9. [0, 1) 10. {1} 11. [-2, 1) {0} 12. ( ) { } 3, 2, 1
13.
1 1
,
4 2
(
(
14.
[ ) 1, 2 15. ( ) 2, 3 16.
[ ) 2, 6
17. ( ) [ ] ( ) , 2 1,1 2, 18.
[ ]
1, 4 19. ( ) ( ) 0,1 1, 2 20. ( ) 8,10
21. { } | R n n Z 22. ( ] { } [ ) { }
0,1 2, 3, 4, 5, 6 7, 8 R 23. ( ] [ ) , 7 7,
24.
1
2
`
)
25.
1 1 1
0, ,
100 100 10
| | | |
| |
\ \
26. R
27. { } 3, 4, 5 28.
( )
10
10 , 29. ( ) 1, 30. ( ] [ ) , 0 1,
31.
( )
2, 32. ( ) 0,1 33.
[ ] { } 1,1 0
34.
[ ] [ ) ( ) 5, 1 1, 3 3, 4 35.
[ ) 2, 36.
[ ] [ ]
2, 1 1, 2 37. ( ) [ ) , 2 4,
38. ( ) 0,1 39.
[ ) 8,16 40. ( ) 2 1 ,
2
n n Z
+
3
CPP: FUNCTIONS(2)
Find the range of the following functions.
1. ( )
2
2
1
1
f x x
x
= +
+
2. ( )
2
f x 9 x =
3. ( )
1
2 cos3
f x
x
=
4. ( )
2
1
x
f x
x
=
+
5. ( )
2
2
3sin
16
f x x
=
6. ( )
7
3
x
x
f x P
=
7. ( )
1 1 1
sin cos tan f x x x x
= + +
8. ( )
2
2
x x 2
f x
x x 1
+ +
=
+ +
9. ( ) ( )
2
10
log 3 4 5 f x x x = +
10. ( ) ( )
2
3
log 5 4 f x x x = +
11. ( )
2
sin cos 3 2
log
2
x x
f x
| |
+
=
|
\
12. ( )
2 4
sin cos f x x x = +
13. ( ) ( )
1 2
cot 2 f x x x
=
14. ( )
[ ]
[ ]
,
1
x x
f x
x x
=
+
[.] = G.I.F.
15. ( ) , 0
x x
x x
e e
f x x
e e
= >
+
16. ( ) 1 5 f x x x = +
17. ( )
1
f x
1 2cos x
=
18. ( )
2
1
2
x
f x cos
1 x
| |
=
|
+ \
19. ( )
( )
1 2
f x sin x x 1
= + +
20. ( ) 1 2 3 f x x x x = + +
21. ( ) 1 2 f x x x = +
22. ( )
cos 2 sin 2
81 27
x x
f x =
23. ( ) 4 2 1
x x
f x = +
24. ( )
2
2
2
x x
f x
x x
=
+
25. ( )
5
3
x
f x
x
=
+
26. ( )
2
2
9
3sin
16
f x x
=
1. [1, ) 2. [0, 3] 3.
1
,1
3
(
(
4.
1 1
,
2 2
(
(
5.
3
0,
2
(
(
6. { } 1, 2, 3 7.
3
,
4 4
(
(
8.
7
1,
3
| (
(
\
9.
10
11
log ,
3
|
|
|
14.
1
0,
2
|
|
18. 0,
2
| (
(
\
19. ,
3 2
(
(
20.
[ ) 2,
21.
[ ]
0, 3 22.
5
5
1
, 3
3
(
(
23.
3
,
4
|
24.
1
,1
2
R
`
)
25. ( ) 5, 5 26.
[ ]
0, 3
Even/Odd Functions
1. ( )
( )
2
a
f x log x 1 x , a 0, a 1 = + + >
2. ( )
x
x
a 1
f x x
a 1
| | +
=
|
\
3. ( )
x
x x
f x 1
e 1 2
= + +
4. ( ) ( )
1
2 tan
2
x
f x e
=
5. Let
[ ]
: 10,10 f R , where
( )
2
sin ,
x
f x x
a
(
= +
(
[.] = G.I.F. be an odd
function. Find the values of a.
6. Draw the graph of the following function
and decide whether it is even or odd.
x | x |, x 1
f (x) [1 x] [1 x] 1 x 1
x | x |, x 1
= + + < <
, where
[.] = G.I.F.
7. If a function f satisfies
( ) ( ) 0 f x f x a + + = for all real x and
0, a > prove that the function is periodic.
Also, find its period.
8. Let : f R R be a function given by
( ) ( ) ( ) ( ) 2 f x y f x y f x f y + + = for all
real , x y . If ( ) 0 0, f prove that f is an
even function. If ( ) 0 0, f = prove that f
is an odd function.
1. Odd 2. Even 3. Even 4. Odd
5. (100, ) 6. Even 7. 2a
Periodic Functions
1. ( ) ( ) ( ) cos sin cos cos f x x x = +
2. ( )
2 3
sin tan sin tan
2 2 2
x x x
f x x = + + + +K
1
sin tan
2 2
n n
x x
+ +
3. ( )
| sin x cos x |
f x
| sin x | | cos x |
+
=
+
4. ( )
[ ] cos cos 2 cos x x x x n x
f x e
+ + + +
=
K
, [.] =
G.I.F.
5. ( ) ( ) sin cos f x x x = +
6. ( ) ( )
cos sin cos f x x x =
7. ( ) [ ]
tan ,
2
f x x
| |
=
|
\
[.] = G.I.F.
8. ( )
3
sin sin3 f x x x =
9. ( )
( )
1 sin
cos 1 cos
x
f x
x ecx
+
=
+
10. For what value of a are the functions
sin cos ax ax + and sin cos x x + periodic
with the same period?
1.
2
2. 2
n
3. 4. 1
5. 2 6.
2
7. 2 8.
9. 10. a = 4
5
CPP: FUNCTIONS(3)
One-One/Many-One/Onto/Into Functions
1. : , f R R ( )
3 2
6 11 6 f x x x x = +
2. : , f R R ( ) 2 sin f x x x = +
3.
[ ) [ ) : 0, 0, , f ( )
1
x
f x
x
=
+
4. : , f R R ( )
3 2
3 sin f x x x x x = + + +
5. : , f R R ( )
2
2
4
1
x
f x
x
=
+
6. : , f R R ( )
2
2
x 4x 30
f x
x 8x 18
+ +
=
+
7. : , f N N ( ) ( ) 1
x
f x x =
8. : , f R R ( ) 4 4
x x
f x = +
9. : , f R R ( )
2
f x x x = +
10.
[ ] [ ]
: 1,1 1,1 , f ( ) f x x x =
11. { } { } : 3 1 , f R R ( )
2
3
x
f x
x
+
=
12. : , f R R ( )
0, x rational
f x
x, x irrational
=
: , g R R ( )
0, x irrational
g x
x, x rational
=
Then ( ) ( ) f g x is ...
13. Which of the following functions from Z
to itself is a bijection?
(a) ( ) 3 f x x = + (b) ( )
5
f x x =
(c) ( ) 3 2 f x x = + (d) ( )
2
f x x x = +
14. Which of the following functions is one-
one?
(a) ( )
2
2, f x x x R = +
(b) ( ) [ ) 2 , 2, f x x x = +
(c) ( ) ( ) ( ) 4 5 , f x x x x R =
(d) ( ) { }
2
2
4 3 5
, , ,
4 3 5
x x
f x x R
x x
+
=
+
where , are the roots of the equation
2
4 3 5 0. x x + =
15. If the function : , f A B
( )
2
6 8 f x x x = + is bijective, find the
maximum interval for B.
16. Find the number of bijective functions
from a set A to itself when A contains 100
elements.
17. Find the number of surjections from
{ } 1, 2, 3, , A n = K onto { } , . B a b =
18. Set A has 3 elements and set B has 4
elements. Find the number of injections
that can be defined from A to B.
19. Find two distinct linear functions which
map [-1, 1] onto [0, 2].
20. If : , f R R ( ) sin f x px x = + is one-one
and onto, find the interval in which p lies.
21. Let f be a one-one function with domain
{ } , , x y z and range { } 1, 2, 3 such that
exactly one of the following statements is
true and the rest are false:
( ) ( ) ( ) 1, 1, 2. f x f y f z = Find the
value of ( )
1
1 . f
22. Find the interval of values of a for which
the function : f R R defined by
( ) ( )
3 2
4 6 6 f x x a x ax = + + + + is one-one.
23. Find the interval of values of a for which
the function : f R R defined by
( )
2
2
6 8
6 8
ax x
f x
a x x
+
=
+
is onto.
1. Many-one and Onto 2. One-one and Onto 3. One-one and Into 4. One-one and Onto
5. Many-one and Into 6. Many-one and Into 7. One-one and Onto 8. Many-one and Into
9. Many-one and Into 10. One-one and Onto 11. One-one and Onto 12. One-one and Onto
13. (a) 14. (b) 15. ( ]
,1 B = 16. 100!
17. 2 2
n
18. 24 19. 1 x + and 1 x 20. ( ) 1,1 R
21. y 22.
[ ]
2, 8 a 23.
[ ]
2,14 a
6
Inverse Function
1. Find the inverse of the function
( ) , 0, 1.
x x
x x
a a
f x a a
a a
= >
+
2. Let
[ ) [ ) : 4, 1, f be defined by
( )
( ) 4
5 .
x x
f x
= Find ( )
1
. f x
3. Let ( ] ( ]
: , 2 , 4 f be defined by
( )
2
4 . f x x x = Find ( )
1
. f x
4. Let
[ ) [ ) : 1, 2, f be defined by
( )
1
. f x x
x
= + Find ( )
1
. f x
5. Let
1 3
f : , ,
2 4
| |
| |
be defined by
( )
2
1. f x x x = + Find the inverse of
( ) f x if it exists. Hence or otherwise,
solve the equation
2
1 3
1 .
2 4
x x x + = +
6. Find the values of the parameter a for
which the function ( ) 1 f x ax = + is the
inverse of itself.
7. Let : f R R be a function given by
( ) , . f x ax b x R = + Find a and b such
that ( ) . fof x I =
8. If ( )
2
, 1
, 1 4,
8 , 4
x x
f x x x
x x
<
>
find ( )
1
. f x
9. Let : f X Y be defined by
( ) sin cos .
4
f x a x b x c
| |
= + + +
|
\
If f is
bijective, find X and . Y
10. If ( ) ( ) ( )
3 / 2 1
, ,
x
f x x e g x f x
= + = find
the value of ( ) ' 1 . g
1. ( )
1
1 1
log
2 1
a
x
f x
x
+ | |
=
|
\
2.
5
2 4 log x + + 3. 2 4 x 4.
2
4
2
x x +
5. ( )
1
1 3
f x x
2 4
= + , x = 1 6. 1 a = 7. 1, 0 a b = = or 1, a b R =
8. ( )
1
2
, 1
, 1 16
, 16
64
x x
f x x x
x
x
<
>
9.
[ ]
, , , ,
2 2
X Y c r c r
(
= = +
(
where
1
2
tan
a b
a
| |
+
=
|
\
and
2 2
2 r a b ab = + +
10. 2
Composite Functions
1. If ( )
x 1, x 1
f x ,
2x 1, 1 x 2
+
=
+ <
( )
2
x , 1 x 2
g x ,
x 2, 2 x 3
<
=
+
find ( ) fog x
and ( ). gof x
2. If ( ) 1 1 , 1 3 f x x x = + and
( ) 2 1 , 2 2 g x x x = + , find
( ) fog x and ( ). gof x
3. If ( )
2
2 , 1
2 1, 1
x x
f x
x x
<
=
and
( )
2, 0
,
2 , 0
x x
g x
x x
+ <
=
find ( ). fog x
4. If ( )
1 , 0 2
,
3 , 2 3
x x
f x
x x
+
=
<
find ( ). fof x
5. If ( )
, 1
,
2 , 1
x x
f x
x x
=
>
find ( ). fof x
7
6. Let f be a function defined on
[ ]
2, 2
and given by ( )
1, 2 0
1, 0 2
x
f x
x x
=
<
and ( ) ( ) ( ) . g x f x f x = + Find ( ). g x
7. If ( ) [ ]
1 , 3, 3 , f x x x = find the
domain of ( ). fof x
8. If ( ) 2 f x x = and ( ) 1 2 , g x x = find
the domain of ( ). fog x
1. ( )
2
2
x 1, 1 x 1
fog x ,
2x 1, 1 x 2
+
=
+ <
( ) ( )
2
gof x x 1 , 2 x 1 = +
2. ( )
1, 2 1
1, 1 0
1, 0 2
x x
fog x x x
x x
+ <
<
, ( )
1 , 1 1
3 , 1 3
x x
gof x
x x
+
=
<
3. ( )
2
2
2 4, 1
2 8 7, 1 0
1
4 , 0
2
1
8 1,
2
x x
x x x
fog x
x x
x x
+ <
+ + <
=
<
4. ( )
2 , 0 1
2 , 1 2
4 , 2 3
x x
fof x x x
x x
+
= <
<
5. ( )
2 , 1
, 1 1
2 , 1
x x
fof x x x
x x
<
>
6. ( )
, 2 0
0, 0 1
2 2, 1 2
x x
g x x
x x
<
= <
7.
[ ]
2, 3 8.
3 1
,
2 2
(
(
Functional Equations
1. If
2
2
1 1
, 0, f x x x
x x
| |
+ = +
|
\
prove that
( )
2
2, 2. f x x x =
2. If ( ) ( ) cos ln , f x x = find the value of
( ) ( ) ( )
1
.
2
x
f x f y f f xy
y
| | | |
+
| |
\ \
3. ( ) f x is a polynomial function satisfying
( ) ( )
1 1
, f x f f x f
x x
| | | |
= +
| |
\ \
{ } 0 x R
and ( ) 3 28. f = Find ( ) 4 . f
4. g is a function satisfying
( ) ( ) ( ) ( ) ( ) 2 g x g y g x g y g xy = + + for
all real , x y and ( ) 2 5. g = Find ( ) 5 . g
5. If ( ) , 0,
x
x
a
f x a
a a
= >
+
prove that
( ) ( ) 1 1. f x f x + = Also, find the value of
1 2 1996
.
1997 1997 1997
f f f
| | | | | |
+ + +
| | |
\ \ \
K
2. 0 3. 65 4. 26 5. 998
8
Miscellaneous
1. The function ( ) f x is defined for
[ ]
0,1 . x Find the domain of (i) ( ) 2 3 f x + , (ii) ( ) tan f x , and (iii)
( ) sin . f x
2. Solve for x : { } [ ] [ ]
6 2 5 3 . x x x x + + + = +
3. f is an even function defined on ( ) 5, 5 . Find the real values of x satisfying ( )
1
.
2
x
f x f
x
+ | |
=
|
\
+
4. The function ( ) f x satisfies ( ) ( ) ( ) ( ) ( ) ( )
( )
1
2 3
3
1 2 3 3 f x p f x f x f x + = + + for all real x and
0 p > is a constant. Prove that f is periodic and find its period.
5. The function ( ) f x satisfies ( ) ( ) ( ) 1 1 3 f x f x f x + + = for all real x . Prove that the function is
periodic and find its period.
6. The function ( ) f x satisfies the relation ( )
1 1
5, 0, . af x bf x a b
x x
| |
+ =
|
\
Find ( ) f x .
7. The function ( ) , f x y satisfies the relation ( ) 2 , 2 . f x y x y xy + = Find ( ) , . f x y
8. If ( ) ( ) ( ) f x y f x f y + = for , , x y N ( ) 1 2 f = and ( ) ( )
1
16 2 1
n
n
k
f a k
=
+ =
3. Solve for x:
( )
1 1 2 .
x x x
e e e + =
4.
cos
2 sin ,
x
x =
[ ]
2 , 5 x
5. sin ln x x =
6. 7 5
x
x
=
1. 6 2. ( ) [ ) , 1 0, 4 x 3. ln3 x = 4. 14
5. 6 6. 4