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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

12.3. MEAN-FIELD APPROXIMATION 217Table 12.1: Possible scenarios <strong>of</strong> state transitions for binary CA with <strong>the</strong> majority rule.Current state Neighbors’ states Next state Probability <strong>of</strong> this transition4∑( 80 Four 1’s or fewer 0 (1 − p) pk)k (1 − p) (8−k)0 Five 1’s or more 1 (1 − p)1 Three 1’s or fewer 0 p1 Four 1’s or more 1 p3∑k=08∑k=4k=08∑k=5( 8k)p k (1 − p) (8−k)( 8k)p k (1 − p) (8−k)( 8k)p k (1 − p) (8−k)because <strong>the</strong> next value <strong>of</strong> <strong>the</strong> average state, p t+1 , is <strong>the</strong> probability for <strong>the</strong> next state <strong>to</strong> be1. Therefore, we can write <strong>the</strong> following difference equation (<strong>the</strong> subscript <strong>of</strong> p t is omittedon <strong>the</strong> right h<strong>and</strong> side for simplicity):p t+1 = (1 − p)==k=58∑k=5( 8k)p k (1 − p) (8−k) + p8∑k=4( 8k)p k (1 − p) (8−k) (12.6)8∑( ( 8 8pk)k (1 − p) (8−k) + p p4)4 (1 − p) 4 (12.7)( 85)p 5 (1 − p) 3 +( ( ( 8 8 8p6)6 (1 − p) 2 + p7)7 (1 − p) + p8)8 + 70p 5 (1 − p) 4 (12.8)= 56p 5 (1 − p) 3 + 28p 6 (1 − p) 2 + 8p 7 (1 − p) + p 8 + 70p 5 (1 − p) 4 (12.9)= 70p 9 − 315p 8 + 540p 7 − 420p 6 + 126p 5 (12.10)This result may still seem ra<strong>the</strong>r complicated, but it is now nothing more than a onedimensionalnonlinear iterative map, <strong>and</strong> we already learned how <strong>to</strong> analyze its dynamicsin Chapter 5. For example, we can draw a cobweb plot <strong>of</strong> this iterative map by replacing<strong>the</strong> function f(x) in Code 5.4 with <strong>the</strong> following (you should also change xmin <strong>and</strong> xmax<strong>to</strong> see <strong>the</strong> whole picture <strong>of</strong> <strong>the</strong> cobweb plot):Code 12.4: cobweb-plot-for-mfa.pydef f(x):return 70*x**9 - 315*x**8 + 540*x**7 - 420*x**6 + 126*x**5

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

Saved successfully!

Ooh no, something went wrong!