Comparison of two different versions of Taylor expansion

31 Views Asked by At

I am taking a numerical analysis course and, when explaining the approximation of the first order derivative, it uses the following Taylor expansion:

$$f(x+h) = \sum_{i = 0}^\infty \frac{f^{(i)}(x)}{i!}h^i$$

Whereas, the formula here https://en.wikipedia.org/wiki/Taylor_series specifies that it is

$$f(x+h) = \sum_{i=0}^\infty \frac{f^{(i)}(-h)}{i!}(x-h)^i$$ since it would be centered around $-h$ isn't it?

Here, $h$ is the perturbation.

I feel I am making a really dumb mistake, but I can't find what that is.