lim(k→0)[f(x0-k)-f(x0)]/2k =- 1/2 lim(k→0)[f(x0-k)-f(x0)]/(-k)=- 1/2f '(x0)=- 1
Note that it is x0-k, so the denominator corresponds to -k.