Can You Calculate the Derivative of a Function that is a Sum of n Terms?

  • Context: Graduate 
  • Thread starter Thread starter jimmy1
  • Start date Start date
  • Tags Tags
    Derivative
Click For Summary
SUMMARY

The discussion centers on calculating the derivative of a function defined as a sum of n terms, specifically the expression g(n) = \sum_{i=1}^n f(i). It is established that while it is possible to differentiate this function with respect to n, it requires a sensible definition of the sum for non-integral n. The proposed method involves extending the definition to g(n) = \sum_{i=1}^{\infty} [f(i) - f(i+n)], allowing for term-by-term differentiation under conditions of uniform convergence, leading to g'(n) = -\sum_{i=1}^{\infty} f'(i+n).

PREREQUISITES
  • Understanding of calculus, specifically differentiation
  • Familiarity with infinite series and convergence concepts
  • Knowledge of functions and their derivatives
  • Experience with Mathematica for symbolic computation
NEXT STEPS
  • Research the concept of uniform convergence in calculus
  • Explore the use of Mathematica for handling infinite series
  • Study the extension of functions to non-integral values
  • Learn about term-by-term differentiation and its conditions
USEFUL FOR

Mathematicians, calculus students, and anyone interested in advanced differentiation techniques, particularly those dealing with sums of functions and infinite series.

jimmy1
Messages
60
Reaction score
0
Is it possible to calculate the derivative of a function of the form [tex]\sum_{i=1}^n f(i)[/tex] with respect to n.

That is, I have an function that is the sum of n terms and there is no closed form expression for it, and I need to get the derivative of the function w.r.t to n. I've tried to do it in Mathematica but just get error messages all the time, so is there any way to get the derivative w.r.t n of such a function?
 
Physics news on Phys.org
jimmy1 said:
Is it possible to calculate the derivative of a function of the form [tex]\sum_{i=1}^n f(i)[/tex] with respect to n.

That is, I have an function that is the sum of n terms and there is no closed form expression for it, and I need to get the derivative of the function w.r.t to n. I've tried to do it in Mathematica but just get error messages all the time, so is there any way to get the derivative w.r.t n of such a function?

It is possible, but you need to define the sum for non itegral n in some sensable way. I do not believe this can be done in all cases. In particular the extension should be as one expects. For example convergence and consistensy allowing take a function
[tex]g(n)= \sum_{i=1}^n f(i)[/tex]
defined for n=0,1,2,3,4,...
and extend the definition to
[tex]g(n)= \sum_{i=1}^{\infty} [f(i)-f(i+n)][/tex]
Where we allow n to take new values
Then we may formally differentiate term by term to obtain
[tex]g'(n)= -\sum_{i=1}^{\infty} f'(i+n)[/tex]
Which under favorable conditions (i.e. uniform convergence) we can justify
 
Last edited:

Similar threads

  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 15 ·
Replies
15
Views
3K
  • · Replies 14 ·
Replies
14
Views
3K
  • · Replies 16 ·
Replies
16
Views
3K
  • · Replies 3 ·
Replies
3
Views
4K
  • · Replies 8 ·
Replies
8
Views
3K