Professional Documents
Culture Documents
North-Holland,
Amsterdam
Received18 October1984
0167-2789/85/$03.30
ElsevierSciencePublishers
(North-H01!and
PhysicsPublishingDivision)
286 A. Wolf et al./ Determining Lyapunov exponentsfrom a time series
thesumof thefirst j exponents is definedby the thatwe will discussaredefinedin tableI.) Since
long termexponential growthrateof a j-volume Lyapunovexponents involvelong-timeaveraged
element. This alternate definition will providethe behavior,the short segments of the trajectories
basisof our spectraltechnique for experimental shownin the figurecannotbe expected to accu-
data. ratelycharacterize thepositive,zero,andnegative
Any continuous time-dependent dynamical sys- exponents; nevertheless, thethreedistincttypesof
tem withouta fixed pointwill haveat leastone behaviorare clear.In a continuous four-dimen-
zero exponent[22],corresponding to the slowly sionaldissipative systemthereare threepossible
changing magnitude of a principalaxistangent to typesof strange attractors: theirLyapunov spectra
the flow. Axes thatareon theaverage expanding are ( + , + , 0 , - ) , ( + , 0 , 0 , - ) ,and ( + , 0 , - , - ) .
(contracting) correspond to positive(negative) ex- An exampleof the first typeis Rossler'shyper-
ponents.The sumof the Lyapunovexponents is chaos attractor[24] (see table I). For a given
the time-averaged divergence of the phasespace systema changein parameters will generally
velocity;henceany dissipative dynamical system changethe Lyapunovspectrumand may also
will haveat leastonenegative exponent, thesum changeboth the typeof spectrum and type of
of all of the exponents is negative, and thepost- attractor.
transientmotionof trajectories will occuron a The magnitudes of the Lyapunovexponents
zerovolumelimitset,an attractor. quantify a n attractor's dynamicsin information
The exponential expansion indicated by a posi- theoretic terms.The exponents measure therateat
tive Lyapunovexponent is incompatible withmo- whichsystem processes createor destroy informa-
tion on a boundedattractor unlesssomesort of tion [10];thustheexponents areexpressed in bits
folding processmergeswidelyseparated trajecto- of information/s or bits/orbitfor a continuous
ries. Eachpositiveexponent reflectsa "direction" systemand bits/iteration for a discretesystem.
in which the systemexperiencesthe repeated For example, in theLorenzattractor thepositive
stretchingand folding that decorrelates nearby exponent has a magnitude of 2.16bits/s(for the
stateson the attractor. Therefore,the long-term parameter valuesshownin tableI). Henceif an
behaviorof an initial conditionthatis specified initialpointwerespecified withan accuracy of one
with any uncertainty cannotbe predicted; thisis part per million (20 bits), the futurebehavior
chaos.An attractor for a dissipatiVe systemwith couldnotbepredicted afterabout9 s [20bits/(2.16
one or morepositiveLyapunov exponents is said bits/s)],corresponding to about20 orbits.After
to be "strange" or "chaotic". this timethe smallinitialuncertainty will essen-
The signsof theLyapunov exponents providea tiallycovertheentireattractor, reflecting 20bitsof
qualitative pictureof a system's dynamics. One- new information thatcan be gainedfrom an ad:
dimensional mapsare characterized by a single ditionalmeasurement of the system.This new
Lyapunovexponent whichis positivefor chaos, information arisesfrom scalessmallerthan our
zerofor a marginally stableorbit,andnegative for initial uncertainty and resultsin an inabilityto
a periodicorbit.In a three-dimensional continuous specifythestateof thesystem exceptto saythatit
dissipativedynamicalsystemthe only possible is somewhere on the attractor.This processis
spectra,and the attractors theydescribe,are as sometimes calledan information gain-reflecting
follows:( + , 0 , - ) , a strange attractor; ( 0 , 0 , - ) ,a new information from the heatbath,and some-
two-toms; (0, - , - ) , a limitcycle;and( - , - , - ) , timesis calledan information loss-bitsshifted
a fixed point. Fig. 1 illustratesthe expanding, out of a phasespacevariable"register" whenbits
"slowerthanexponential," and contracting char- fromtheheatbathareshiftedin.
acterof the flow for a three,dimensional system, The averagerate at which information con-
the Lorenzmodel[23].(All of themodelsystems tainedin transients is lostcanbe determined from
288 A. Wolf et al. / Determining Lyapunov exponents from a time series
o .
. .,:'..~..--..:~::.-.:..:'..:..:..
-.....
" " ":'" : " : : " ' "
~'"""""
".':':"'( (,~'."~,m
.. ..
~" "
start
N~
":'"'"'""
,~ .,.:..
~"
" .'~"."
:'.."
.- ""
i
time-~
IIIIIl[l l
. - - '...:,....": /"~% V 4 " ;.' : '" : " .'. -. . " "..'. .. . . . ".. .. . .. .~ . . . . . " .
. . . .
. . . . . . -.. .. , : , , . : :o
. ,-:... ".. -..
.
~start
.........
time
t W e have beenquite successfulwith an algorithmfor de- of greatestimportanceis that post-transient data may not
termiuingthe dominant(smallestmagnitude) negativeexpo- containresolvablenegativeexponentinformationand per-
nent from pseudo-experimental data(a singletime seriesex- turbed datamustrefl~tproperties of theunperturbed system,
tractedfrom the solutionof a modelsystemand treatedas an thatis, perturbationsmustonly changethestateof thesystem
experimental observable)for systemsthat are nearlyinteger- (currentvaluesof the dynamical variables).
The response of a
dimensional.Unfortunately,our approach,whichinvolvesmea- physicalsystemto a non-delta functionperturbation is difficult
suringthe meandecayrateof manyinducedperturbations of to interpret,as an orbit separating from the attractormay
thedynamicalsystem,is unlikelyto work on manyexperimen- reflect either a locally repellingregion of the attractor(a
tal systems.Thereare severalfundamental problemswith the positivecontribution to thenegativeexponent) or thefiniterise
calculationof negativeexponentsfrom experimental data,but timeof theperturbation.
A. Wolf et al. / Determining Lyapunov exponents from a time series 289
TableI
The modelsystems
considered
in thispaperandtheirLyapunov
spectra
anddimensions
ascomputed
fromtheequations
of motion
Lyapunov Lyapunov
System Parameter spectrum dimension*
values (bits/s)t
H~non: [25]
~1= 0.603
X. +1= 1 - aX;. + Yn { b = 1.4 h 2 = - 2.34 1.26
Y. + 1 = bX. = 0.3 (bits/iter.)
Rossler-chaos: [26]
)( = - (Y + Z) [ a = 0.15 )k 1 = 0.13
2.01
)'= X+ aY I b = 0.20 ~2=0.00
= b + Z(X- c) c = 10.0 h 3 = - 14.1
Lorenz: [23]
)(= o(Y- X) [ o = 16.0 h 1 = 2.16
2.07
~'= X ( R - Z ) - Y I R=45.92 X2 =0.00
= X Y - bZ b = 4.0 ;k3 = - 32.4
Rossler-hyperchaos: [24]
Jr'= - ( Y + Z ) ( a = 0.25 At = 0.16
)'= X+ aY+ W [ b = 3.0 X2 =0.03 3.005
= b + XZ | c = 0.05 h 3 = 0.00
if" = c W - d Z k d = 0.5 h4 = - 39.0
Mackey-Glass: [27]
( a = 0.2 ht = 6.30E-3
j( = aX(t + s ) - bX(t) / b = 0.1 )~2= 2.62E-3 3.64
1 + [ X(t + s)]c ) c = 10.0 IX31<8.0E-6
s = 31.8 )'4 = - 1.39E-2
the operation may be written in two different from the growth rate of the length of the first
ways. For example, for the vector (0,l) we have vector and the growth rate of the area defined by
both vectors.
In eq. (8) the product Jacobian acts on each of
the initial axis vectors. The columns of the product
matrix converge to large multiples of the eigenvec-
or, by regrouping the terms, tor of the biggest eigenvalue, so that elements of
the matrix diverge and the matrix becomes singu-
lar. Here GSR corresponds to factoring out a large
scalar multiplier of the matrix to prevent the mag-
nitude divergence, and doing row reduction with
In eq. (7) the latest Jacobi matrix multiplies pivoting to retain the linear independence of the
each current axis vector, which is the initial vector columns. Lyapunov exponents are computed from
multiplied by all previous Jacobi matrices. The the eigenvalues of the long-time product matrix?.
magnitude of each current axis vector diverges, We emphasize that Lyapunov exponents are not
and the angular separation between the two vec- local quantities in either the spatial or temporal
tors goes to zero. Fig. 2 shows that divergent sense. Each exponent arises from the average, with
behavior is visible within a few iterations. .GSR respect to the dynamical motion, of the local de-
corresponds to the replacement of each current formation of various phase space directions. Each
axis vector. Lyapunov exponents are computed is determined by the long-time evolution of a
singZe volume element. Attempts to estimate expo-
nents by averaging local contraction and expan-
sion rates of phase space are likely to fail at the
point where these contributions to the exponents
are combined. In fig. 3a we show vector vi at each
renormalization step for the Lorenz attractor over
the course of several hundred orbits [32]. The
apparent multivaluedness of the most rapidly
growing direction (in some regions of the attrac-
tor) shows that this direction is not simply a
function of position on the attractor. While this
direction is often nearly parallel to the flow on the
Lorenz attractor (see fig. 3b) it is usually nearly
transverse to the flow for the Rossler attractor. We
conclude that exponent calculation by averaging
local divergence estimates is a dangerous proce-
dure.
(b)
_ - .__ ,,,, .--_- -
J leo #1
Fig. 3. A modification
to theODE spectral code(seeappendix A) allowsus to plot therunningdirectionof greatest
growth(vector
v~) in theLorenzattractor.
In (a),infrequent
renormalizations
confirmthatthisdirectionis not single-valuedon theattractor.
In (b),
frequentrenormalizationsshowus thatthisdirectionis usuallynearlyparallelto theflow. In theRosslerattractor,
thisdirectionis
usuallynearlyorthogonal to theflow.
In appendixB we includeFortrancode and may see L' shrink as the two trajectories which
documentation for the h 1 fixed evolutiontime define it pass througha folding region of the
program.This programis not sophisticated, but it attractor.This would lead to an underestimation
is concise,easilyunderstood, and usefulfor learn- of hi- We now look for a new datapoint that
ing aboutour technique. We do not includethe satisfiestwo criteria reasonablywell: its sep-
fixedevolutiontimecodefor )~x+ )~2(thoughit is aration,L(tl), from the evolvedfiducialpoint is
brieflydiscussed at theendof appendixB) or our small, and the angularseparationbetweenthe
otherprograms, but we will supplythemto inter- evolvedand replacement elementsis small(seefig.
estedparties.We can also providea highlyeffi- 4a). If an adequate replacementpoint cannotbe
cientdatabasemanagement algorithmthatcanbe found,we retainthe pointsthatwerebeingused.
used in any of our programsto eliminatethe This procedure is repeated
untilthefiducialtrajec-
expensive processof exhaustive searchfor nearest tory has traversedthe entiredata file, at which
neighbors.We now discussthe fixed evolution pointwe estimate
time programfor At and the variableevolution
timeprogramfor ~x+ h2 in somedetail. M L,(tk)
Y'~ log2 , (9)
)k I = tM_ to k=l L(tt,_x)
5.1. F i x e d evolution time program for )~1 whereM is thetotalnumberof replacement steps.
Given the time seriesx(t), an m-dimensional In the fixedevolutiontimeprogramthe timestep
phaseportraitis reconstructed with delaycoordi- A = tk+ 1 - - t k (EVOLV in the Fortranprogram)
nates[2, 33, 34], i.e., a point on the attractoris between replacements is heldconstant. In thelimit
given by { x ( t ) , x ( t + ~'). . . . . x ( t + [m - 1]~')} of an infiniteamount of noise-free data our proce-
where z is the almost arbitrarily chosen durealwaysprovidesreplacement vectorsof infini-
delay time. We locatethe nearestneighbor(in tesimalmagnitude with no orientation error,and
the Euclidean sense) to the initial point )k 1 is obtained by definition.In sections 6 and7 we
{ x ( t o) . . . . . X(to + [ m - 1]~)}and denotethe dis- discuss the severityof errors of orientation and
tancebetweenthesetwo pointsL(to). At a later finitevectorsizefor finiteamounts of noisyexperi-
time tt, the initial lengthwill have evolvedto mentaldata.
length L'(tx). The lengthelementis propagated
throughthe attractorfor a time shortenoughso
5.2. Variable evolution time program for )~1 + )~2
thatonly smallscaleattractor structure is likelyto
be examined. If theevolutiontimeis too largewe The algorithmfor estimating h x+ 1~2is similar
in spirit to the preceeding algorithm, but is more
complicatedin implementation. A trio of data
nent programs.This programallowsthe operatorto observe: pointsis chosen,consistingof the initial fiducial
the attractor,a lengthor areaelementevolvingovera rangeof point and its two nearestneighbors.The area
times,the best replacement pointsavailableover a rangeof
A ( t o ) definedby thesepoints is monitoredun-
times,and so forth. Each of theseis seenin a two or three-
dimensionalprojection(dependingon the graphicaloutput til a replacement stepis both desirable and possi-
device)with terminaloutputprovidingsupplementary informa- b l e - the evolutiontimeis variable.This mandates
tion aboutvectormagnitudes and anglesin the dimensionof
the use of severaladditionalinput parameters: a
the attractorreconstruction. Using this informationthe oper-
ator choosesappropriateevolutiontimes and replacement minimum number of evolution steps between re-
points.The p r o g r a mis currentlywrittenfor a Vector General placements (JUMPMN), the numberof stepsto
3405 but m a y easily be modifiedfor use on other graphics evolvebackwards (HOPBAK) whena replacement
machines.A 1 6 m m movie summarizing our algorithmand
showingthe operationof the programon the Lorenzattractor site provesinadequate, and a maximum lengthor
has beenmadeby one of the authors(A.W.). areabeforereplacement is attempted.
296 A. Wolf et aL/ DeterminingLyapunov exponentsfrom a time series
(a) /~
tLI m i
s %/
L l t ~ t! t2 tiqtulol t
(b, .
"t iI
M t o ) ~ r tI ' -- ~ I t2 ~itluci*l
f ..~'tect'
'o
Fig. 4. A schematic representation of the evolutionand replacement procedure usedto estimateLyapunovexponents from
experimentaldata.a) ThelargestLyapunov exponent is computed fromthegrowthof lengthelements.
Whenthelengthof thevector
between twopointsbecomes large,a newpointis chosen nearthereferencetrajectory,
minimizing
boththereplacementlengthL and
theorientationchange~.b) A similarprocedure is followedto calculatethesumof thetwolargestLyapunovexponents fromthe
growthof areaelements. Whenan areaelement becomes toolargeor too skewed, twonewpointsarechosennearthereference
trajectory,minimizingthereplacement areaA andthechange in phasespace orientation
between
theoriginalandreplacementarea
elements.
attractorsthat are very nearlytwo dimensional on separate lobesof the Lorenzattractor maybe
thereis no needto worryaboutpreserving orienta- coincident in a two-dimensional reconstruction of
tion whenwe replacetriplesof points.Theseele- the attractor.When this occurs,replacement ele-
mentsmayrotateand deformwithinthe planeof mentsmaycontainpointswhoseseparation in the
the attractor,but replacement triplesalwayslie originalattractoris verylarge;suchelements are
withinthis sameplane.SinceX 2 for theseattrac- liable to grow at a dramaticrate in our recon-
tors is zero, areaevolutionprovidesa directesti- structedattractor in the shortterm,providingan
matefor h 1. With experimental datathatappear enormous contribution to theestimated exponent.
to definean approximately two-dimensional at- As theseelementstend to blow up almostim-
tractor,an independent calculationof df fromits mediately, theyare also quitetroublesome to re-
definition(feasiblefor attractors
of dimension less place,.
thanthree[35]) mayjustifythis approachto esti- If m is chosentoo largewe can expect,among
matinghx. otherproblems,thatnoisein thedatawill tendto
decrease the densityof pointsdefiningthe attrac-
tor, makingit harderto find replacement points.
6. Implementation details Noise is an infinitedimensional processthat,un-
like the deterministic component of the data,flUs
6.1. Selection of embedding dimension and delay each available phase space dimension in a re-
time constructed attractor (see section 7.2). Increasing
m pastwhatis minimallyrequired hastheeffectof
In principle,when using delaycoordinates to unnecessarily increasing thelevelof contamination
reconstruct an attractor,
an embedding [34]of the of the data.
originalattractoris obtainedfor any sufficiently Anotherproblemis seenin a three-dimensional
largem andalmostanychoiceof timedelay~-,but reconstruction of the Htnon attractor. The recon-
in practiceaccurateexponentestimation requires structedattractorlooks much like the original
somecarein choosingthesetwo parameters. We attractorsittingon a two-dimensional sheet,with
shouldobtainan embedding if m is chosento be this sheetshowinga simpletwist in three-space.
greaterthantwicethedimension of theunderlying We expectthatthisbehavioris typical;whenm is
attractor[34]. However,we find that attractors increased, surfacecurvature increases ~.Increasing
reconstructed using smallervalues of m often m therefore makesit increasingly difficultto satisfy
yield reliableLyapunovexponents. For example, orientation constraints at replacement time,as the
in reconstructing the Lorenz attractorfrom its attractoris not sufficientlyflat on the smallest
x-coordinate timeseriesan embedding dimension
lengthscalesfilled out by the fixed quantityof
of 3 is adequate for accurate exponent estimation, data. It is advisableto checkthe stationarity of
well belowthe sufficientdimension of 7 givenby
ref. [3411".When attractorreconstruction is per- *If two pointslie at oppositeendsof an attractor,it is
formedin a spacewhosedimensionis too low, possiblethattheirseparation vectorlies entirelyoutsideof the
attractorso thatno orientation preserving replacement canbe
"catastrophes" thatinterleave distinctpartsof the found. If this goesundetected, the currentpair of pointsis
attractorare likely to restflt.For example,points likelyto be retainedfor an orbitalperiodor longer,untilthese
pointsareaccidentally thrownclosetogether.
fWe havefound thatit is oftenpossibleto ignoreseveral *A simplestudy for the Htnon systemshowedthat for
components of evolvingvectorsin computingtheir average reconstructionsof increasing
dimension themeandistance be-
exponentialrateof growth:keepingtwo or morecomponents tweenthepointsdefiningtheattractor rapidlyconvergedto an
of thevectoroftensufficesfor thispurpose.As our discussion attractor independentvalue.The fold put in eachnew phase
of "catastrophes"
will soonmakeclear,thesearchfor replace- spacedirectionby the reconstructionprocesstendedto make
mentpointsmostoftenrequiresthatall of the delaycoordi- the conceptof "nearbypointin phasespace"meaningless for
natesbe used. thisfinitedataset.
298 A. Wolf et al./ Determining Lyapunov exponents from a time series
o-21
I (a)
. /~^ ^
~0.t
)..
.._i
l I l I l * l l I I I I I I I I I I I
o. 8 o: 4 ' ' 'o: 8 ' ' ' 1: 2 ' I.B 1 2 3
TAU (ORBITS) EVOLUTION TINE (ORglT~
0,2
(c) '2f(d)
e
~ - ~ ~"k
J
>- J
~q~ '"~ .... tb" . . . .15
... ~ ' " ' 25 ~S ' ' ' ' 5' . . . . ,b . . . . 15
WAXINUN LEN&~ CUTOFF N I N I B LENGTH
(% OF HORIZONThL EXTENT) (% OF HORIZONTALBCI'ENT)
Fig. 6. Stationarity
of ~t forRosslerattractor
data(8192pointsspanning
135orbits)forthefixedevolution
timeprogram is shown
for theinputparameters:a)Tau(delay time);b)evolution
timebetweenreplacement
steps; c) maximumlength ofreplacement vector
lengthallowed;andd)minimum length
of replacement
vectorallowed.
Thecorrect
valueof thepositive
exponent is 0.13bits/sandis
shownby thehorizontal linein these
figures.
is longenoughthatgrowthalongdirections d1 and to be
d2 are reasonablywell characterized
by the expo-
nents h 1 and h 2 respectively.
Then for the new a~.l -#2 [ bE(I-bEN')]
replacement vector hi 2(ln2)NtAltr Nt 1 bE '
(18)
L(t.) = L ( ~ cos#. + t2sin #.) (11)
whereN t is thetotalnumberof replacement steps.
If thereis no degeneracy, i.e., bE<<1, eqs. (17)
and at the nextreplacement
and (18) showthatorientation errorsdo not accu-
mulate,i.e, thereis no N t dependence, and our
L'(tn+l)= L(tCx(cos~.)2xa,+ ~(sin~n)2X=tr),
fractionalerrorin hI is
(12)
a>,l -#2
where t r is the time betweensuccessive
replace- ~'1 = 2(ln2)~.ltr" (19)
mentsteps(tn+1- t.). The contributionto eq. (9)
For the Lorenzattractor,b2 has a valueof about
from this evolutionis then
0.33 for an evolutiontime of one orbit, so an
orientation errorof about19 degreesresultsin a
+ sinE7~.22a2',]
log2 [COS27~n22h'tr (13) 10% errorin X1. If we can manageto evolvethe
vectorfor two orbits,thepermissible initial orien-
and the anglethenextreplacement
vectorL (t. +1) tationerroris about27 degrees, and so on. We see
makeswith ~ is
that a givenorientation errorat replacement time
shrinksto a valuenegligiblecompared to the next
~n+l= arctan(b" tan#.) + 19.+1, (14) orientation error,providedthatpropagation times
are long enough.Orientationerrorsdo not accu-
where
mulatebecausethereis no memoryof previous
errors.
b = 2(a2-a*)tr. (15)
This calculationmay be generalized to an at-
tractorwith an arbitraryLyapunovspectrum and
If we assumeall anglesare small comparedto
a similarresultis obtained. The easeof estimating
unityand set #0= ~90,eq. (14)impliesthat
the i th exponent dependson how smallthequan-
tity 2(x'*~-x,)tr is. Problemsarisewhensuccessive
~n = ~ ~n-m bm~ (16) exponents are verycloseor identical.Hyperchaos,
m=O with a spectrum of [0.16,0.03,0.00, = - 40]bits/s
and an orbitalperiodof about5.16s, hasan easily
If the orientation
changes
havezeromeanand are determinable first exponent, but distinguishing ~2
uncorrelated fromreplacement
to replacement
then from A 3 is moredifficult.
an average overthechangesgives
(a)
,,at,.~;...'.~
I. j. - . ,
, , ,
f "
:.. ...., ..i~. : ~~Y --~ " -
,.#"
start
I
cb~ .~- .~... ~ ..~...
.---'-'.':....2-. "' " "" ".'%.'...
.~':'.:_,,2-'.. ' .. ." : ..'~
..~f.'". ::':': ~ - - " ' " " ." " ' .'.. ' . " '-~'h.~
"'7':" "" "I"" ,'" "" ' " / " " '-'~
.'.::": . ~ .... i. .. ':. ~,/~ . .t
~.:-::~..-/,..-~;-~~'.:~.:~i.
..".: ~ /
.,:...\"v,!:,"."'.::..." ) j /-.
" - "~- _ _ ~ ! " "
.% , , y."
~. ~....
'% '%,. :.o,'
Fig. 7. Experimental data for two different Belousov-Zhabotinskii systems shows chaos on large and small length scales respectively.
In the Texas attractor [2] a), the separation between a single pair of points is shown for one orbital period. In the French attractor
[36]; b), the separation between a pair of points is shown for two periods. Estimation of Lyapunov exponents is quite difficult for the
latter system.
perimental data. There are three somewhat related c o m p a r e d to the extent of the attractor; and (3)
reasons why this is so: (1) a finite amount of noise defines a length scale below which sep-
attractor data can only define finite length scales; arations are meaningless. We discuss each of these
(2) the stretching and folding that is the chaotic problems in turn and then consider whether expo-
element of a flow m a y occur on a scale small nent estimation is possible in spite of them.
A. Wolf et al./ Determining Lyapunov exponents from a time series 303
Fig. 8. a) Unfiltered
experimentaldatafor theBelousov-Zhabotinskii reaction[2];b) thesamedata,low-passfilteredwith a filter
cutoffof 0.046Hz, comparedto themeanorbitalfrequency of 0.009Hz. Our estimateof X1 for these
datawasonly5%lowerthanthe
estimate fromtheunfiltered
data.Replacement frequenciesin theregionof stationarity
for theseresultswereapproximately
0.005Hz.
c) thedataareover-filtered
at 0.023H_z. h1 differsby only20%fromtheexponent estimate for unfiltered
data.
IX 14 (b)
e and in general,
(,)
D
[1.10
LU
N i~=l~ki od_j
o,2 m
J
TINE ,'
O,l
Q_
>,-
,.J
o,o LL
Fig. 10. The temporalconvergence
samplingrateis heldconstant;
of ~'xis shownas a functionof the numberof datapointsdefiningthe Rosslerattractor.The
thelongertimeseriescontainmoreorbits.Note thatlengthening the timeseriesnot only allowsmore
timefor convergencebut alsoprovidesmorereplacement candidatesat eachreplacementstep.(Heretheembedding dimension was3,
the embedding delay(~) was a sixthof an orbit,and theevolutiontime-stepwas three-quarters
of an orbit.)
The next factorwe consideris the numberof n-D map,thenumberof orbitsof datarequiredto
orbitsof datarequired.The analysisis simplestif estimateany non-negative exponent is givenby a
chaos arisesthrougha once per orbit stretching constant, C, raisedto a powerwhichis thenumber
and foldingmechanism, whichmaybe represented of positiveexponents.The numberof positive
by a discretemappingin one or moredimensions exponents is approximately the dimensionof the
(as, for example,in the Lorenz, Rossler,hyper- attractorminusone, thus the requirednumberof
chaos,and Belousov-Zhabotinskii attractors).
Ex- orbits is about C d-x. C is a systemdependent
ponentconvergence requiresthatvolumeelements quantitydepending on the amountof structure in
be operatedon manytimesby the mappinguntil the map,perhapsin therange10 to 100.
the d e m e n thas sampledthe slopeprofileof the The last and simplestpoint we consideris the
map, suitablyweightedby the map'sprobability requirednumberof pointsper orbit, P. Thereis
density.The Lorenz and Rosslerattractors have no benefitto choosingP any largerthan is ab-
simpleunderlying 1-D maps;on theorderof 10 to solutelynecessary. We might try to chooseP so
100 map points are requiredfor adequateslope small that in an evolutionof a single step, the
profiles[13]. For theseattractors, we expectbe- average replacement vectorwouldgrowto as large
tween 10 and 100 orbits worth of data will be a separation as we care to allow. In the Lorenz
requiredfor estimatingX1 or for confirmingthat attractor,for example,we mightdecideto allow
2 = 0. N o additionalorbitsare requiredfor area the average replacement vectorto growby a factor
propagation in a systemdefinedby a 1-D map.If of 32 in a singletimestep,so thatwe wouldhave
the systemhad an underlying 2-D map as hyper- one datapoint per 6 orbits.The problemis that
chaos does, we might expect,dependingon the with data this sparsewe are unlikelyto obtaina
complexity of themap,thatroughlythe squareof good reconstruction of our attractor.Often, the
this numberof orbits would be required.This relationshipm ~ =1 is used in reconstructions,
would providethe samesamplingresolutionfor wherem is theembedding dimension and T is the
the slopeprofileof the map (seeref. 13) in each delayin units of orbitalperiods.We assumethat
dimension.In general,for a systemdefinedby an reconstruction is performedin an approximately
308 A. Wolf et aL / Determining Lyapunov exponents from a time series
8. Results
~o.
0
oo5
We now presentour results for the various
ILl
model and experimental
systemson which our
of the delaydifferential
equation;Mark Hayefor Appendix A
assistancein programming the Vector General;
and ShannonSpires for programming support, Lyapunov spectrum program for systems of dif-
and for producingthe Lyapunovexponentfilm. ferential equations
This researchis supported by the Departmentof This programcomputes thecompleteLyapunov
Energy,Office of Basic EnergySciencescontract spectrum of a nonlinearsystemwhoseequations of
DE-AS05-84ER13147. H. Swinneyacknowledges motionand theirlinearizationsaresuppliedby the
the supportof a GuggenheimFellowshipand userin the routineFCN. The programis set up
J. Vastanoacknowledges thesupportof an Exxon here for the threevariableLorenz systembut is
Fellowship. easilymodifiedfor anyothersystemof equations.
P R O G R A M ODE
C
C N = # OF N O N L I N E A R EQTNS., NN = T O T A L # OF EQTNS.
C
P A R A M E T E R N=3
P A R A M E T E R NN=I2
E X T E R N A L FCN
C
DIMENSION Y(NN),ZNORM(N),GSC(N),CUM(N),C(24),W(NN,9)
C
C INITIAL CONDITIONS FOR N O N L I N E A R SYSTEM
C
Y(1) -- I0.0
Y(2) -- 1.0
Y(3) = 0.0
DO I0 1 = N + I , N N
Y(1) -- 0 . 0
i0 CONTINUE
DO 20 I = I,N
Y((N+I)*I) -- 1.0
CUM(I) = 0.0
20 CONTINUE
NEQ = NN
X=O.O
IND -- 1
A. Wolf et al./ Determining Lyapunov exponents from a time series 311
DO I00 I = I,NSTEP
XEND = S T P S Z E * F L O A T ( 1 )
CALL DVERK ( N E Q , F C N , X , Y , X E N D , T O L , I N D , C , N E Q , W , I E R )
C
C C O N S T R U C T A NEW O R T H O N O R M A L BASIS BY G R A M - S C H M I D T M E T H O D
C
C. N O R M A L I Z E FIRST V E C T O R
C
ZNORM(1) = 0.0
DO 30 J = I,N
ZNORM(1) = Z N O R M ( 1 ) + Y ( N * J + I ) * * 2
30 CONTINUE
ZNORM(1) = S Q R T ( Z N O R M ( 1 ) )
DO 40 J = I,N
Y(N*J+I) = Y(N*J+I)/ZNORM(1)
40 CONTINUE
DO 80 J = 2~N
DO 50 K = l,(J-l)
GSC(K) = 0.0
DO 50 L = I,N
GSC(K) = G S C ( K ) + Y ( N * L + J ) * Y ( N * L + K )
50 CONTINUE
C O N S T R U C T A NEW VECTOR.
DO 60 K = I,N
DO 60 L = l,(J-l)
Y(N*K+J) = Y ( N * K + J ) - G S C ( L ) * Y ( N * K + L )
60 CONTINUE
ZNORM(J) = 0.0
DO 70 K = IjN
ZNORM(J) = Z N O R M ( J ) + Y ( N * K + J ) * * 2
70 CONTINUE
ZNORM(J) = S Q R T ( Z N O R M ( J ) )
C
C N O R M A L I Z E THE NEW VECTOR.
C
DO 8 0 K = I , N
Y(N*K+J) = Y(N*K+J)/ZNORM(J)
80 CONTINUE
312 A. Wolf et aL/ Determining Lyapunov exponentsfrom a time series
DO 90 K -- I,N
CUM(K) = CUM(K)+ALOG(ZNORM(K) )/ALOG(2. )
90 CONTINUE
I00 CONTINUE
CALL EXIT
END
PROGRAM FETI
INTEGER DIM~TAU,EVOLV
DIMENSION X(16384) ,PTI(12) ,PT2(12)
C
C **DEFINE DELAY COORDINATES WITH A STATEMENT FUNCTION**
C **Z(I,J)=JTH COMPONENT OF ITH RECONSTRUCTED ATTRACTOR POINT**
C
Z(I,J) -- X(I+(J-I)*TAU)
C
OPEN (UNIT==1 ,FILE--"INPUT." ~TYPE='OLD" )
C
TYPE*, " N P T D D I M , T A U , D T ~ S C A I ~ , S C A L M N , E V O L V ?"
ACCEPT*, NPT jDIM, TAU, DT, S CALMX ~S CALMN, EVOLV
C
C **IND POINTS TO FIDUCIAL TRAJECTORY**
C **IND2 POINTS TO SECOND TRAJECTORY**
C **SUM HOLDS RUNNING EXPONENT ESTIMATE SANS I/TIME**
C **ITS IS TOTAL NUMBER OF PROPAGATION STEPS**
C
IND = 1
SUM = 0.0
ITS = 0
C
C **READ IN TIME SERIES**
C
DO I0 I = I,NPT
READ (1,*) X(1)
I0 CONTINUE
C
C **CALCULATE USEFUL SIZE OF DATAFILE
C
NPT = NPT - DIM*TAU - EVOLV
C
C **FIND NEAREST NEIGHBOR TO FIRST DATA POINT**
C
DI r- I.E38
C
C **DONT TAKE POINT TOO CLOSE TO FIDUCIAL POINT**
C
DO 30 I = II,NPT
C
C **COMPUTE SEPARATION BETWEEN FIDUCIAL POINT AND CANDIDATE**
C
D-- 0.0
DO 20 J = I~DIM
D = D+(Z(IND,J)-Z(I,J))**2
20 CONTINUE
D ~ SQRT(D)
C
C **STORE THE BEST POINT SO FAR BUT NO CLOSER THAN NOISE SCALE**
C
IF (D.GT.DI.OR.D.LT.SCAI~N) GO TO 30
DI=D
IND2 = I
30 CONTINUE
A. Wolf et aL/ Determining Lyapunov exponents from a time series 315
40 DO 50 J = 1,DIM
FTI(J) = Z(IND+EVOLV,J)
FT2(J) = Z(IND2+EVOLV,J)
50 CONTINUE
DF = 0.0
DO 60 J = 1,DIM
DF = D F + ( P T I ( J ) - P T 2 ( J ) ) * * 2
60 CONTINUE
DF = SQRT(DF)
ITS = ITS+I
SUM = S U M + A L O G ( D F / D I) / (FLOAT (EVOLV) *DT*ALOG(2. ) )
ZLYAP = SUM/FLOAT(ITS)
TYPE*, ZLYAP, EVO LV* ITS, D I, DF
* * L O O K F O R REPLACEMENT POINT**
**ZMULT IS M U L T I P L I E R OF SCAIFaX W H E N GO TO LONGER DISTANCES**
INDOLD -- IND2
ZMULT = I. 0
ANGI/~X = 0.3
70 T H M I N = 3.14
DO i00 1 = I,NPT
III = IABS(I-(IND+EVOLV))
IF (III.LT.10) GO TO I00
DNEW = 0.0
DO 80 J = 1,DIM
DNEW DNEW+(PTI(J)-Z(I,J))**2
=
80 CONTINUE
DNEW = SQRT(DNEW)
IF ( D N E W . G T . Z M U L T * S C A I ~ X . O R . D N E W . L T . S C A I N N ) GO TO I00
C
C * * F I N D A N G U L A R CHANGE OLD TO NEW V E C T O R * *
C
DOT = 0 0
DO 90 J = 1,DIM
DOT = D O T ( P T I ( J ) - Z ( I , J ) ) * ( P T I ( J ) - P T 2 ( J ) )
90 CONTINUE
316 A. Wolf et al. / Determining Lyapunov exponents from a time series
CTH = ABS(DOT/(DNEW*DF))
IF (CTH.GT.I.0) CTH = 1.0
TH = ACOS(CTH)
IF (TH.GT.THMIN) GO TO I00
THMIN = TH
DII= DNEW
IND2 = I
100 C O N T I N U E
IF (THMIN.LT.ANGIFuX) GO TO ii0
**CANT F I N D A R E P L A C E M E N T - L O O K AT L O N G E R D I S T A N C E S * *
ZMULT = ZMULT+I.
IF (ZMULT.LE.5.) GO TO 70
ZMULT = 1.0
ANGIMX = 2.*ANGIMX
IF (ANGIMX.LT.3.14) GO TO 70
IND2 = INDOLD + E V O L V
DII = DF
110 C O N T I N U E
IND = I N D + E V O L V
IF (IND.GE.NPT) GO TO 120
DI = DII
GO TO 40
120 C A L L EXIT
END
"Lyapunov Characteristic
Exponents for SmoothDynami- Lett.57A (1976)397.
cal Systems andfor Hamiltonian Systems;A Methodfor [27] M.C. Mackeyand L. Glass,"Oscillationand Chaosin
Computing All of Them,"Meccanica15(1980)9. PhysiologicalControlSystems," Science197(1977)287.
[9] I. Shimada andT. Nagashima, " A Numerical Approachto [28] J. Kaplan and J. Yorke, "Chaoticbehaviorof multi-
ErgodicProblemof Dissipative Dynamical Systems," Prog. dimensional differenceequations," in: FunctionalDif-
Theor.Phys.61 (1979)1605. ferentialEquationsand the Approximation of Fixed
[10] R. Shaw,"StrangeAttractors, ChaoticBehavior,andIn- Points,LectureNotes in Mathematics,vol. 730,H.O.
formation Flow,"Z. Naturforsch. 36A (1981)80. PeitgenandH.O. Walther,eds.(Springer,Berlin),p. 228;
[11] J.L. Hudson and J.C. Mankin, "Chaos in the P. Frederickson, J. Kaplan,E. Yorke andJ. Yorke, "The
Belousov-Zhabotinskii Reaction,"J. Chem. Phys. 74 LyapunovDimension of StrangeAttractors,"J. Diff. Eqs.
(1981)6171. 49 (1983)185.
[12] H. Nagashima,"Experiment on ChaoticResponseof [29] L.-S. Young,"Dimension, Entropy,andLyapunov Expo-
ForcedBelousov-Zhabotinskii Reaction,"J. Phys. SOc. nents,"ErgodicTheoryandDynamical Systems2 (1982)
Japan51 (1982)21. 109.F. Ledrappier, "SomeRelations BetweenDimension
[13] A. Wolf andJ. Swift,"Progress in Computing Lyapunov andLyapunov Exponents," Comm.Math.Phys.81(1981)
Exponents fromExperimental Data,"in: Statistical
Physics 229.
andChaosin FusionPlasmas,C.W. HortonJr. andL.E. [30] D.A. Russell,J.D. Hansonand E. Ott, "Dimension of
Reichl,eds.(Wiley,New York, 1984).. Strange Attractors," Phys.Rev.Lett.45 (1980)1175.
[14] J. Wright,"Methodfor Calculating a LyapunovExpo- [31] D. RueUe,privatecommunication.
nent,"Phys.Rev.A29 (1984)2923. [32] After R~Shaw,unpublished.
[15] S. BlacherandJ. Perdang, "Powerof Chaos,"Physica3D [33] N.H. Packard,LP. Crutchfield,J.D. Farmerand R.S.
(1981)512. Shaw,"Geometry from a TimeSeries,"Phys.Rev. Lett.
[16] J.P. Crutchfield andN.H. Packard,"Symbolic Dynamics 45 (1980)712.
of NoisyChaos,"Physica7D (1983)201. [34] F. Takens,"Detecting StrangeAttractorsin Turbulence,"
[17] P. Grassberger and I. Procaccia,"Estimationof the in LectureNotesin Mathematics, vol. 898,D.A. Randand
KolmogorovEntropyfroma ChaoticSignal,"Phys.Rev. L.-S. Young,eds.(Springer,Berlin,1981),p. 366.
A28 (1983)2591. [35] H.S. Greenside, A. Wolf, J. SwiftandT. Pignataro, "The
[18] R. Shaw,The DrippingFaucet,(AerialPress,SantaCruz, Impracticality
of a Box-Counting Algorithmfor Calculat-
California,1984). ing theDimensionality of StrangeAttractors," Phys.Rev.
[19]J.D. Farmer,E. Ott andJ.A. Yorke, "The Dimension of A25 (1982)3453.
ChaoticAttractors," Physica7D (1983)153. [36] J.-C. Roux and A. Rossi, "Quasiperiodicity in chemical
[20] S. CilibertoandJ.P. Gollub,"ChaoticModeCompetition dynamics,"in: Nonequilibrium Dynamicsin Chemical
in Parametrically ForcedSurfaceWaves"--preprint. Systems,C. Vidal andA. Pacault,eds.(Springer,Berlin,
[21] P. Grassberger and I. Procaccia,"Characterization of 1984),p. 141.
Strange Attractors," Phys.Rev.Lett. 50(1983)346. [37]J.P. Crutchfield,J.D. Farmer and B.A. Huberman,
[22] H. Haken,"At LeastOneLyapunov Exponent Vanishesif "FluctuationsandSimpleChaoticDynamics," Phys.Rep.
theTrajectory of an AttractorDoesNot Containa Fixed 92 (1982)45.
Point,"Phys.Lett. 94A (1983)71. [38] R. BowenandD. Ruelle,"TheErgodicTheoryof Axiom-A
[23] E.N. Lorenz,"Deterministic Nonperiodic Flow,"J. Atmos. Flows,"Inv. Math. 29 (1975)181.D. Ruelle,"Applica-
SCi.20 (1983)130. tions conservant une mesureabsolument continu6par
[24] O.E. Rossler,"An Equationfor Hyperchaos," Phys.Lett. rapporth dx sur[0,1],"Comm.Math.Phys.55(1977)47.
71A (1979)155. [39] D.E. Knuth, The Art of ComputerProgramming, vol.
[25] M. H~non,"A Two-Dimensional Mappingwitha Strange 3-Sortingand Searching,(Addison-Wesley, Reading,
Attractor,"Comm.Math. Phys.50(1976)69. Mass.,1975). *
[26] O.E. Rossler,"An Equation for Continuous Chaos,"Phys.
All in-text references underlined in blue are linked to publications on ResearchGate, letting you access and read them immediately.