If f : R → R is defined by f(x) = [x], the greatest integer function, find its domain, range and draw its graph.
Advertisements
Question
If f : R → R is defined by f(x) = [x], the greatest integer function, find its domain, range and draw its graph.
Graph
Advertisements
Solution
f(x) = [x]
where [x] denotes the greatest integer less than or equal to x.
\[ f(x) = \left\{ \begin{array}{ll} \vdots & \vdots \\ -2, & -2 \leq x < -1 \\ -1, & -1 \leq x < 0 \\ 0, & 0 \leq x < 1 \\ 1, & 1 \leq x < 2 \\ 2, & 2 \leq x < 3 \\ \vdots & \vdots \end{array} \right. \]
Since [x] is defined for every real number x,
Domain = R
Since [x] always takes integer values only,
Range = Z (the set of integers)

It consists of horizontal line segments (steps), each closed at the left end (filled dot) and open at the right end (empty circle).
shaalaa.com
Is there an error in this question or solution?
