what is the rate of change of the function? -2, -1/2,1/2,2?

Given:
The graph of linear function.
To find:
The rate of change the given linear function.
Solution:
From the given graph it is clear that the line passes through the points (0,1) and (1,-1). So, rate of change is
[tex]m=\dfrac{y_2-y_1}{x_2-x_1}[/tex]
[tex]m=\dfrac{-1-1}{1-0}[/tex]
[tex]m=\dfrac{-2}{1}[/tex]
[tex]m=-2[/tex]
Therefore, the rate of change of the given linear function is -2. Hence, the correct option is A.