If we numerically differentiate a given time series data consisting of N points by finite forward difference method, we will have N-1 points corresponding to first derivative. If it is a second derivative, we will have N-2 points and so on.
Let us say for the first derivative
$$ \approx\frac{f(x+\Delta x)-f(x)}{\Delta x} $$
I have searched several books and webpages, but no one explicitly describes what is the corresponding x value for the numerically differentiated value if we wish to plot those N-1 values.
In most science and engineering applications, we will not have an exact formula for f(x). One would use a set of data points ($x_1$, $y_1$), ($x_2$, $y_2$), . . . , ($x_n$, $y_n$) available to describe the functional dependence y = f(x). Many users ignore the $x_1$ and use the remaining $x_i$ for plotting N-1 differentiated points.
Others say that the first differentiated value corresponding to the average of $\frac{x_1+x_2}{2}$ i.e., this belongs to the center of $x_1$ and $x_2$.
What is the mathematically and rigorously correct way of dealing with $N-1$ values for the first derivative and $N-2$ values for the second derivative when we have N x-values? If we wish to plot them, how should we modify the x-coordinates?
EDIT: The reason for interest in the x-coordinates is utilitarian. The reason is that in chemical analysis applications, the derivative is used to locate the inflection points of titraton curve or detect a hidden peak in an over lapped spectrum. In such cases the interest is not in the accuracy of the value of the derivative but its corresponding x-coordinate. For example, in a potentiometric titration curve, the end point of titration is located by the first derivative, the inflection point's x-coordinate is the required volume.
Thanks.