If
is the water level after
days, then at the start
we have
. After the first day
, the water level falls by 1.5, so that
. After the second day
, the water level falls by a total of 2(1.5) = 3, so that
. And so on.
The idea is that
has the closed form
(to answer part b).
could be any non-negative number of days, which means we can pick
from the set of non-negative real numbers. However, after a certain point, our function
will start returning negative values, which would translate to the water level falling below the riverbed. So for the purposes of this problem, we should first find out when
reaches 0:

That is, the river dries up completely after 14 days. So we can say the domain of
is
.
The range is the set of values that
can take on for the values of
in the domain. In this case, we start at 21 and steadily fall to 0, so the range is
.
After 9 days, the water level falls to

so in total, the water level would have subsided by a depth of 21 - 7.5 = 13.5 ft.