Some functions are defined in pieces by different formulas in different parts of the domain. We saw two of such functions in Example 1 of the previous section. We call such functions piecewise-defined functions.
Table of Contents
Absolute Value Function
An important example of a piecewise defined function is the absolute value function
The graph of this function is shown in Fig 1.
Sign Function
Another important piecewise defined function is the sign (or signum) function. The sign function, often denoted by
Greatest Integer Function or Floor Function
A function that takes a real number
- The greatest integer function is a function from
to (set of all integers)
- Using mathematical notations, we can write
- Other symbols for the greatest integer function are
and .
Figure 3: Graph of
The graph of is shown in Figure 3.