Logistic map: xn+1 = rxn(1 - xn)
Return to the Math APIs page.
Background: The logistic map is a simple nonlinear difference equation that models the population of a species with the passing of each generation (or similar fixed length of time). In the above equation x represents the ratio of the population to its maximum possible value, the first term (rx) represents reproduction, the second term (-rx2) represents starvation, and the growth-rate parameter r is between 0 and 4. Despite the equation's simplicity and depending upon the value of r, the solutions can be remarkably complex, giving rise to period doubling and chaos. The table below summarizes some of this. See Wikipedia for more information.
rmin | rmax | asymptotic behavior |
---|---|---|
0 | 1 | converges to zero |
1 | 3 | converges to nonzero value |
3 | 3.44949 | two cycle |
3.44949 | 3.54409 | four cycle |
3.54409 | 3.56441 | eight cycle |
3.56441 | 3.56995 | more period doubling |
3.56995 | 4 | chaos |
Instructions: After ...herokuapp.com above you should type either /json/ or /svg/ depending upon whether you want the results returned numerically or graphically. After that you should type the following two to four numerical inputs separated by hyphens:
creator: Peter Knipp