{"id":477,"date":"2007-07-25T09:33:49","date_gmt":"2007-07-25T09:33:49","guid":{"rendered":"http:\/\/scientopia.org\/blogs\/goodmath\/2007\/07\/25\/fractal-pathology-peanos-space-filling-curve\/"},"modified":"2018-11-27T20:23:10","modified_gmt":"2018-11-28T01:23:10","slug":"fractal-pathology-peanos-space-filling-curve","status":"publish","type":"post","link":"http:\/\/www.goodmath.org\/blog\/2007\/07\/25\/fractal-pathology-peanos-space-filling-curve\/","title":{"rendered":"Fractal Pathology: Peano&#8217;s Space Filling Curve"},"content":{"rendered":"<p><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" alt=\"colored-hilbert.jpg\" src=\"https:\/\/i0.wp.com\/scientopia.org\/img-archive\/goodmath\/img_217.jpg?resize=133%2C134\" width=\"133\" height=\"134\" class=\"inset right\" \/><\/p>\n<p>One of the strangest things in fractals, at least to me, is the idea of space filling curves. A space filling curve is a curve constructed using a Koch-like replacement method, but instead of being self-avoiding, it eventually contacts itself at every point.<\/p>\n<p>What&#8217;s so strange about these things is that they start out as a non-self-contacting curve. Through further steps in the construction process, they get closer and closer to self-contacting, without touching. But in the limit, when the construction process is complete, you have a filled square. <\/p>\n<p>Why is that so odd? Because you&#8217;ve basically taken a one-dimensional thing &#8211; a line &#8211; with no width at all &#8211; and by bending it enough times, you&#8217;ve wound up with a two-dimensional figure.  This isn&#8217;t just odd to me &#8211; this was considered a crisis by many mathematicians &#8211; it seems to break some of the fundamental assumptions of geometry: how did we get width from something with no width? It&#8217;s nonsensical! <\/p>\n<p><!--more--><br \/>\n<img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" alt=\"peano-generator.jpg\" src=\"https:\/\/i0.wp.com\/scientopia.org\/img-archive\/goodmath\/img_218.jpg?resize=91%2C66\" width=\"91\" height=\"66\" class=\"inset right\" \/><\/p>\n<p>The original Peano curve is slightly less pathological than that; it&#8217;s at least trivially self-overlapping. The basic Peano curve starts a line segment as an initiator; then uses the curve to the right as a generator. What you get, by applying it in successive iterations is what&#8217;s show below &#8211; the gaps inside the squares getting smaller with each iteration, until in the limit, they disappear entirely. Using appropriate formalisms, you can easily show that every point in the square is part of the Peano curve.<\/p>\n<p><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" alt=\"peano-series.jpg\" src=\"https:\/\/i0.wp.com\/scientopia.org\/img-archive\/goodmath\/img_219.jpg?resize=540%2C216\" width=\"540\" height=\"216\" \/><\/p>\n<p> This is bad &#8211; in the sense of the seeming impossibility of a line &#8211; something with no width, no area &#8211; becoming something with an area simply by bending it enough times. But it&#8217;s also not as bad as it could be. If you look at a Peano curve topologically, it&#8217;s clearly something peculiar. Subsequent steps in the construction are not homeomorphic: each step in the construction adds holes. So while it has the bizarreness of a line filling space, at least it preserves the fact that a line segment and a filled square are two different things.<\/p>\n<p>But like most things, it&#8217;s possible to go from bad to worse. Following the idea of the Peano curve, you can create something with the same space-filling property, and construct it so that it doesn&#8217;t even have the redeeming feature of breaking homeomorphisms between iterations.  Hilbert, among others, took the original idea of the Peano curve, and found better formulations that are non-self-contacting in any finite approximation. What that means is that no matter how many iterations you do, you&#8217;ll never see the curve contact itself; but in the limit, it contacts itself everywhere. That&#8217;s the really pathological curve that gave people nightmares at first; and you can still find geometers who complain that it&#8217;s insane, ill-defined, broken, or non-existent in some odd way, because they can&#8217;t accept it.<\/p>\n<p> The Hilbert curve is a more complicated construction. The easiest definition I&#8217;ve seen is grammatical, using pairs of elements. The members of each pair are geometrically identical, but in the replacement rules, they&#8217;re replaced differently.<\/p>\n<ul>\n<li> Right<sub>1<\/sub>, and Right<sub>2<\/sub>: a clockwise right angle with legs length L.<\/li>\n<li> Left<sub>1<\/sub> and Left<sub>2<\/sub>:  a counterclockwise right angle with legs length L.<\/li>\n<li> Straight<sub>1<\/sub> and Straight<sub>2<\/sub>: a straight line segment with length 2L.<\/li>\n<\/ul>\n<p> The replacement rules are:<\/p>\n<ol>\n<li> Left<sub>1<\/sub> &rarr; Straight<sub>2<\/sub>, Left<sub>1<\/sub>, Left<sub>2<\/sub>, Right<sub>1<\/sub><\/li>\n<li> Left<sub>2<\/sub> &rarr; Right<sub>2<\/sub>, Left<sub>1<\/sub>, Left<sub>2<\/sub>, Straight<sub>2<\/sub><\/li>\n<li> Right<sub>1<\/sub> &rarr; Left<sub>1<\/sub>, Right<sub>2<\/sub>, Right<sub>1<\/sub>, Straight<sub>1<\/sub>.<\/li>\n<li> Right<sub>2<\/sub> &rarr; Straight<sub>1<\/sub>, Right<sub>2<\/sub>, Right<sub>1<\/sub>, Left<sub>2<\/sub>.<\/li>\n<li>Straight<sub>1<\/sub> &rarr; Right<sub>2<\/sub>, Left<sub>1<\/sub>, Left<sub>2<\/sub>, Right<sub>1<\/sub><\/li>\n<li>Straight<sub>2<\/sub> &rarr; Left<sub>1<\/sub>, Right<sub>2<\/sub>, Right<sub>1<\/sub>, Left<sub>2<\/sub><\/li>\n<\/ol>\n<p> Below is a series of stages of the Hilbert curve, using a square (&lt;Left<sub>1<\/sub>, Left<sub>2<\/sub>, Left<sub>1<\/sub>, Left<sub>2<\/sub>) as an initiator, and the above rules as the generator. (Note that the distortions in the far right stage are the result of a minor glitch in my turtle graphics package, not a real property of the curve.)<\/p>\n<p><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" alt=\"hilbert-series.jpg\" src=\"https:\/\/i0.wp.com\/scientopia.org\/img-archive\/goodmath\/img_220.jpg?resize=373%2C176\" width=\"373\" height=\"176\" \/><\/p>\n<p> As I said &#8211; the idea of these curves caused quite an uproar, with famous mathematicians talking about them as tearing down the entire structure of mathematics. There were some efforts, along the lines of the infamous Principia, to somehow ban these pathological curves from the realm of geometry. They&#8217;re frightening in their way &#8211; they demonstrate that some of the things we believe about how math <em>should<\/em> work are just wrong. <\/p>\n<p> For example,  look at topology. As a very brief reminder, topology studies the structure of sets by looking at relations that define what points are <em>close to<\/em> or <em>in the neighborhood of<\/em> other points. Any two sets that have the same closeness relationships between their points are called <em>homeomorphic<\/em>, which means, roughly, topologically equivalent. Any transformation that doesn&#8217;t change those relationships is topologically a no-op.<\/p>\n<p> A line segment and a filled square are <em>very<\/em> different things topologically. In a line segment, the neighborhood of a point are the points on either side of it &#8211; the points within a what&#8217;s called a 1-D open sphere around the point.  In a filled square, the neighborhood of a point is the collection of points in a 2-D open sphere around the point &#8211; points to its left and right, but also points above, below, and at all sorts of angles from the point.  The neighborhood relationships of the line segment and the square are very different.<\/p>\n<p> The Hilbert curve, if you&#8217;re not very careful about your definitions, can be taken as an argument for the idea that a line segment is homeomorphic (that is, topologically equivalent) to a filled square. After all &#8211; any two steps of a finite construction of the Hilbert curve are homeomorphic to each other &#8211; they&#8217;re <em>all<\/em> homeomorphic to a line segment.  But if you take it to the limit, the curve after an infinite number of steps, it becomes a filled square. So somehow, the repetition of steps that preserve homeomorphism <em>fails<\/em> to preserve homeomorphism.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>One of the strangest things in fractals, at least to me, is the idea of space filling curves. A space filling curve is a curve constructed using a Koch-like replacement method, but instead of being self-avoiding, it eventually contacts itself at every point. What&#8217;s so strange about these things is that they start out as [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[86],"tags":[],"class_list":["post-477","post","type-post","status-publish","format-standard","hentry","category-fractals"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p4lzZS-7H","jetpack_sharing_enabled":true,"jetpack_likes_enabled":true,"_links":{"self":[{"href":"http:\/\/www.goodmath.org\/blog\/wp-json\/wp\/v2\/posts\/477","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.goodmath.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.goodmath.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.goodmath.org\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.goodmath.org\/blog\/wp-json\/wp\/v2\/comments?post=477"}],"version-history":[{"count":2,"href":"http:\/\/www.goodmath.org\/blog\/wp-json\/wp\/v2\/posts\/477\/revisions"}],"predecessor-version":[{"id":3668,"href":"http:\/\/www.goodmath.org\/blog\/wp-json\/wp\/v2\/posts\/477\/revisions\/3668"}],"wp:attachment":[{"href":"http:\/\/www.goodmath.org\/blog\/wp-json\/wp\/v2\/media?parent=477"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.goodmath.org\/blog\/wp-json\/wp\/v2\/categories?post=477"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.goodmath.org\/blog\/wp-json\/wp\/v2\/tags?post=477"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}