[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference rusure::math

Title:Mathematics at DEC
Moderator:RUSURE::EDP
Created:Mon Feb 03 1986
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:2083
Total number of notes:14613

1108.0. "Recurrence Plot" by SSDEVO::LARY (Old programmers never die, they just ) Sun Aug 13 1989 04:33

Here's a problem that I got from Stan. He got it from Andy Odlyzko.

Define a sequence as follows:

x[1]=1,

x[n+1] = Sqrt( 3-x[n]^2 ) - x[n].

The problem is to plot the pairs (x[n],x[n+1]) for the first 10,000 or so
values and to then explain the unusual result.  You get a very unusual figure
(something like a non-convex 17-gon with curved edges).

Note: Stan was reciting this problem from memory and there is a slight
possibility that the coefficients are wrong; he says he gave the correct
coefficients to Peter Gilbert who can therefore issue a correction if
the above statement is wrong.
T.RTitleUserPersonal
Name
DateLines
1108.1BEING::POSTPISCHILAlways mount a scratch monkey.Mon Aug 14 1989 13:555
    x[6] is complex.  Does that indicate an error in the coefficients or
    should only the real part be plotted?
    
    
    				-- edp 
1108.2Sorry, Don't Have the Date HandyDRUMS::FEHSKENSMon Aug 14 1989 20:576
    Isn't this just a variant of the iteration that was presented in
    the issue of Scientific American with the cover art on "Wallpaper
    for the Mind"?                     
    
    len.
    
1108.3Corrected equations4GL::GILBERTOwnership ObligatesTue Aug 15 1989 16:465
	x[0]=1,

	x[1]=2,

	x[n+1] = Sqrt( 3 + x[n]^2 ) - x[n].
1108.4AITG::DERAMODaniel V. {AITG,ZFC}:: D'EramoTue Aug 15 1989 18:034
        That looks like it will be rather boring, x[n] converges
        rather rapidly to 1.
        
        Dan
1108.5Try these!RDGENG::HALLWed Aug 16 1989 08:5434
        Try

	x[0]=1,

	x[1]=2,

	x[n+1] = Sqrt( 3 + x[n]^2 ) - x[n-1].

        You can vary x[0] and x[1], and also the 3, to get various forms of
        the basic pattern.
    

        Another interesting recurrance is:

        x[0]=1.1

        x[1]=1

        x[n+1] = C1*x[n] + C0*x[n-1]

        If you plot x[n+1] against x[n] with C0 = -1.03, C1 = -1.99 the 
        resulting pattern is a rather attractive expanding star. And with 
        the same C0, but C1 = 0.1 you get a rotating, expanding box. 
                
        In fact, varying x[0], x[1], C0, C1 provides a large range of 
        interesting graphics. And still further variations if you plot x[n+a]
        against x[n].

        What intrigues me is that such simple expressions can produce such 
        surprising and complex patterns. I'd like to hear of any interesting
        results! 

        Martin.
        
1108.6KOBAL::GILBERTOwnership ObligatesWed Aug 16 1989 16:011
Oops.  Ignore the equations in .3; Martin has them correct in .5.