Ah, I see thank you. I should have recognized the definition of a derivative.
My only question is that in method 1 it doesn't look like you are making any approximations because you're just applying the definition of a derivative, while in method 2 it looks like you use an approximation because...