The rate of change can be thought of as the slope of the line that passes through all the points, when plotted on a the x-y plant.
Alternatively, the rate of change can be thought of as the rate at which the output is changing as compared to the change in input.
According to the second explanation, the rate of change can be written as:
Now, let us select to inputs and their corresponding outputs.
Thus:
for input 0, we have output 2
for input 3, we have output -1
Therefore:
and:
The rate of change is thus:
Therefore, the rate of change is -1