If $$f(n)= \sum_{k=1}^n g(k)\space for \space n\in N$$ then can we find $f'(n) , \space i.e. its \space derivative\space wrt. \space 'n'?$
Just give me some reasons & correct me...
If $$f(n)= \sum_{k=1}^n g(k)\space for \space n\in N$$ then can we find $f'(n) , \space i.e. its \space derivative\space wrt. \space 'n'?$
Just give me some reasons & correct me...
The derivative only really makes sense when taken with respect to a continuous variable. You normally interpret the upper limit as "$\lfloor n \rfloor$" if $n$ is continuous, so you can see that the derivative would be zero wherever it is defined (because the sum is constant on intervals $[n,n+1)$. Not interesting.
On the other hand, if you can find a closed form of this sum, you might be able to take the derivative of the extended function if it is interestingly differentiable.
For example: suppose $g(n)=n!$ (factorial function). Normally, we only consider discrete values of $n$ ($0,1,2,\ldots$). However, this can be extended to the Gamma function as $n! = \Gamma(n+1)$, which you can differentiate on the positive reals.
One sees that, from this, if $f(n)$ can be made a differentiable function $f:\mathbb R\to\mathbb R$, and likewise $g(n)$ is differentiable, then,
$$f(n)=f(n-1)+g(n)$$
Differentiate and you get
$$f'(n)=f'(n-1)+g'(n)$$
And solving this,we get
$$f'(n)=f'(0)+\sum_{k=1}^ng'(k)$$
And without more information, I am unsure if more is concludable.
If $f$ is monotone, for example, you could approximate $f'(0)$ using finite differences.