Convergence time of a recursive function

Click For Summary

Discussion Overview

The discussion centers on the convergence time of a recursive function, specifically how to measure the rate of convergence for different inputs that lead to either a fixed value or a limit cycle. The context includes numerical methods as the solution will be implemented in a computer program aimed at identifying inputs that result in long convergence times.

Discussion Character

  • Exploratory
  • Technical explanation
  • Mathematical reasoning

Main Points Raised

  • One participant describes a recursive function that converges to different values or cycles based on inputs and seeks methods to measure the convergence rate.
  • Another participant inquires whether the summation in the function is over a finite or infinite number of integers, suggesting that if it is infinite, the summability of the series should be checked.
  • A participant clarifies that the summation is finite, specifically from i=0 to i=2r+1, and mentions their educational background in college calculus.
  • Another participant asserts that summing a finite number of finite terms will always yield a finite result, regardless of the terms involved.
  • A later reply emphasizes that the recursion involves a finite summation within a recursive structure, indicating a distinction between the summation and the recursion itself.

Areas of Agreement / Disagreement

Participants express differing views on the nature of the summation and its implications for convergence. There is no consensus on the best approach to measure convergence time, and the discussion remains unresolved regarding the specifics of the recursive function's behavior.

Contextual Notes

Participants have not fully explored the implications of the finite versus infinite summation, nor have they resolved the mathematical steps necessary to analyze the convergence properties of the recursive function.

wolfpax50
Messages
20
Reaction score
0
I have a recursive function that will eventually converge to either a fixed value or a limit cycle. Depending on the inputs, it will converge to different values (or cycles) at different rates. How could I go about measuring the rate of convergence for different inputs, regardless of what type of limit it ends up at?

To be specific, the relevant equation is:

pt+1 = f(a0,...,a2r+1;pt)
f(x) = \sumai(pt)i(1-pt)2r+1-i

The solution must be numerical as it will be part of a computer program. The program will be used to search for inputs that produce long convergence times.
 
Last edited:
Physics news on Phys.org
Hey wolfpax50.

Is the summand i over a finite number of integers or an infinite number?

If its infinite you will want to check whether |ai| and the other term is a summable series. If they are both summable in some norm (typically 2-norm or |.|^2) then your series will converge.

The result is due to the relationship between |a||b| and |a|^2 and |b|^2.

Have you got a book or resource on these sorts of things?
 
The summation in the second function is finite, from i=0 to i=2r+1. Sorry if that was unclear.

I don't have a book in front of me but I'm educated through college calculus. If you could point me in the right direction the internet is usually a good resource.
 
Last edited:
If you are summing a finite number of finite terms, then the answer will always be finite no matter what the terms are.
 
No, it's an infinite recursion of a finite summation. There is a function f which is a finite summation, and a function p which is the recursive iteration of function f.
 

Similar threads

  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K