15.08.2015 Views

Introduction to the Modeling and Analysis of Complex Systems

introduction-to-the-modeling-and-analysis-of-complex-systems-sayama-pdf

introduction-to-the-modeling-and-analysis-of-complex-systems-sayama-pdf

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

5.6. ASYMPTOTIC BEHAVIOR OF DISCRETE-TIME LINEAR DYNAMICAL... 89Now we see <strong>the</strong> complex unit j (yes, Python uses j instead <strong>of</strong> i <strong>to</strong> represent <strong>the</strong> imaginaryunit i) in <strong>the</strong> result, which means this system is showing oscillation. Moreover, you cancalculate <strong>the</strong> absolute value <strong>of</strong> those eigenvalues:Code 5.10:map(abs, eig([[0.5, 1], [-0.5, 1]])[0])Then <strong>the</strong> result is as follows:Code 5.11:[0.99999999999999989, 0.99999999999999989]This means that |λ| is essentially 1, indicating that <strong>the</strong> system shows sustained oscillation,as seen in Fig. 4.3.For higher-dimensional systems, various kinds <strong>of</strong> eigenvalues can appear in a mixedway; some <strong>of</strong> <strong>the</strong>m may show exponential growth, some may show exponential decay,<strong>and</strong> some o<strong>the</strong>rs may show rotation. This means that all <strong>of</strong> those behaviors are goingon simultaneously <strong>and</strong> independently in <strong>the</strong> system. A list <strong>of</strong> all <strong>the</strong> eigenvalues is called<strong>the</strong> eigenvalue spectrum <strong>of</strong> <strong>the</strong> system (or just spectrum for short). The eigenvaluespectrum carries a lot <strong>of</strong> valuable information about <strong>the</strong> system’s behavior, but <strong>of</strong>ten, <strong>the</strong>most important information is whe<strong>the</strong>r <strong>the</strong> system is stable or not, which can be obtainedfrom <strong>the</strong> dominant eigenvalue.Exercise 5.12 Study <strong>the</strong> asymp<strong>to</strong>tic behavior <strong>of</strong> <strong>the</strong> following three-dimensionaldifference equation model by calculating its eigenvalues <strong>and</strong> eigenvec<strong>to</strong>rs:x t = x t−1 − y t−1 (5.53)y t = −x t−1 − 3y t−1 + z t−1 (5.54)z t = y t−1 + z t−1 (5.55)Exercise 5.13 Consider <strong>the</strong> dynamics <strong>of</strong> opinion diffusion among five people sittingin a ring-shaped structure. Each individual is connected <strong>to</strong> her two nearestneighbors (i.e., left <strong>and</strong> right). Initially <strong>the</strong>y have r<strong>and</strong>om opinions (represented asr<strong>and</strong>om real numbers), but at every time step, each individual changes her opinion<strong>to</strong> <strong>the</strong> local average in her social neighborhood (i.e, her own opinion plus those <strong>of</strong>her two neighbors, divided by 3). Write down <strong>the</strong>se dynamics as a linear difference

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!