6.Special Types of Functions
6.1 Greatest/Smallest Integer Functions
These are also called step functions as they look like steps when graphically plotted.
Greatest integer function of x, also denoted as [x], returns the greatest integer less than or equal to x.
For instance, [1] = 1 , [1.2] =1 , [1.99] = 1,[2] = 2
This is also called a floor function. |
 |
Least integer function of x, returns the least integer greater than or equal to x.
For instance, LIF(1) = 1 , LIF(1.2) = 2 , LIF(1.99) = 2,
LIF(2) = 2
This is also called a ceiling function. |
 |
Example 12
If [X] denotes the greatest integer less than or equal to X, then
[31]+[31+991]+[31+992]+[31+9998]=
[XAT 2008]
(1)33 (2)34 (3)66 (4)67 (5)98
Solution
[31+990]=0, [31+991]=0 and so on till [31+9965]
From [31+9966]=1 onwards, all the terms equal 1.
Between 66 and 98 (both inclusive), there are total of 98−66+1=33 terms, each of whose value is 1.
∴ Total of these 33 terms is 33.
Answer: (1) 33
6.2 Nested & Composite Functions
In nested functions, we will given a function
f(x) and asked to find f(f(x)). This is a function within a function.
In composite functions, we will be given 2 or more functions, say f(x) and g(x). We will then be asked to find f(g(x)), etc.
Example 13
If f(x)=x2,g(x)=10−x and h(x)=x10, then
(I) What is f(g(x))?
(II) What is g(g(x))?
(III) What is h(g(f(x)))?
Solution
Case I: f(g(x))=f(10−x)
=(10−x)2
=100−20x+x2
Case II: g(g(x))=g(10−x)
=10−(10−x)
=x
Case III: h(g(f(x)))=h(g(x2))
=h(10−x2)
=10−x210