Exercises on the Graphs and Domains of Piecewise Functions
For the following functions, draw their graph and determine their domain and range.

Notice that on the interval
(that is, on the right-hand side of the plane) we have the function
.
On the other hand, on the interval
(the left-hand side of the plane), we have the function
.
Therefore, the graph is as shown in the following figure:

As we mentioned earlier, the function is defined for
and for
. Therefore, the domain is

On the other hand, from the graph we can see that the range is


Notice that the function is defined over four different regions. First, for the interval
it has the value 1. Then, for the interval
it has the value of
and so on.
Therefore, the graph is as shown in the following figure:

Next, notice that the domain is

On the other hand, notice that the range is


If we graph the expressions for each of the given regions, we obtain the following graph:

In addition, the domain is given by

Then, the range is given by


Let us recall that
is the sign function, which is defined as

Therefore, the graph is given by the following figure:

In addition, the domain is

While the range is


Let us recall that the function
is known as the floor function and is defined as the greatest integer
such that
. For example:
1
2
3
4
Therefore, the graph is shown in the following figure:

Let us observe that the domain of the function is

while the range is


In this case, from each
we are subtracting
, which is the integer part. Therefore, the result of
is the decimal part of
. Thus, the graph is the following:

this graph is usually known as a "sawtooth".
Likewise, let us observe that the following is satisfied

The domain is given by
and the range is given by


Notice that this function is exactly the same as the previous one, but adding 1 to it. Therefore, the graph is

The domain is the same,
; while the range is


We can see that function as
. Therefore, to the function of the decimal part of
we add
. This graph looks as follows:

Then, the domain is also
; while the range is now
(which we can observe in the graph).

Let us observe that now we first divide by 2, and then we take the integer part. Therefore, this is a kind of "scaling" of the floor function. It is as if we stretched the graph horizontally.
The graph is shown in the following figure:

However, the domain and the range are the same as for the floor function:

and

Determining the Function From the Graph
Look at the following graph and determine the analytical expression of the function it describes.

The function
will be the piecewise function. The functions
,
, and so on will be auxiliary functions that will be defined on parts of the domain.
1 First, let us observe that on the interval
we have a line with a negative slope. In fact, it is the function

2 Then,
.
3 Next, on the interval
we have the function
.
4 The function is not defined on the interval
.
5 Finally, on the interval
the function is constant:

Therefore, the function is given by

Summarize with AI:









, and an open dot where it isn't, such as 