Solve reccurence relation with ceiling

ceiling-and-floor-functionsrecurrence-relations

I have no clue how to solve a recurrence relation which contains ceiling function

How can I solve this:

Equation: $a_n=0.2*\lceil a_{n-1} \rceil$ with $a_0 = 0$ and $a_1 = 20$
?

Thanks!

Best Answer

Note there is no general method to deal with recurrence relations involving the ceiling function. It depends on things like how the ceiling function is being used, what the initial value is, etc. To handle them, I suggest you calculate a few values to see if there's any pattern you can determine, and then try to prove it.

For example, consider the equation you gave of

$$a_n=0.2*\lceil a_{n-1} \rceil \tag{1}\label{1}$$

You didn't specify an initial value, so I will show the behavior of various ranges. First, if $-1 \lt a_0 \le 0$, then $a_1 = 0.2 \times \lceil a_0 \rceil = 0.2 \times 0 = 0$. Thus, you get $0 = a_2 = a_3 = \ldots$, i.e., $a_n = 0$ for all $n \ge 0$. Note having $a_1 = 20$ is not consistent with using $a_0 = 0$ and the recurrence relation for the rest of the values. However, if you do start from $a_1 = 20$ instead, then you get $a_2 = 4$, $a_3 = 0.8$, then $0.2 = a_4 = a_5 = \ldots$, i.e., $a_n = 0.2$ for $n \ge 4$.

Next, if $0 \lt a_0 \le 1$, then you have $a_1 = 0.2 \times \lceil a_0 \rceil = 0.2 \times 1 = 0.2$. However, then $a_3 = 0.2$ as well and, in fact, $a_n = 0.2$ for all $n \ge 1$.

However, if $1 \lt a_0 \le 2$, then $a_1 = 0.2 \times \lceil a_0 \rceil = 0.2 \times 2 = 0.4$. Once again, you then get $0.2 = a_2 = a_3 \ldots$, so $a_n = 0.2$ for all $n \ge 2$.

In fact, for any positive $a_0$, you'll eventually get all later values of $a_n$ to be $0.2$, and for any $a_0$ being non-positive, you'll eventually get all later values to be $0$.

Related Question