For a function f, f(1)=8 and f(−2)=−4. If the graph of y=f(x) is a line in the xy-plane, what is the slope of the line?
We can convert the given information into (x,y) coordinates.
f(1)=8; (1,8)
f(−2)=−4; (−2,−4)
Using the slope equation,
m=x2−x1y2−y1
m=1−(−2)8−(−4)
m=312
m=4