Tuesday, April 15, 2014

Eclipses and Saros Cycles 2

This is the second part of a post concerning eclipses and saros cycles. For the first, see here.

To understand how solar eclipses are predicted, we first must define some terminology relating to various types of "months". These months are not calendar months, but rather are time intervals related to the moon's orbit.

Synodic Month (29.53 days): This is the most common period referenced in the context of the moon. It measures the time it takes for the Moon to complete a revolution with respect to the line between the Earth and the Sun, or the time between two full moons or two new moons. However, this month is not equal to the period of the Moon's orbit, because the line between the Earth and the Sun shifts, as the Earth itself revolves.



The above image shows the position of the Earth and the Moon relative to the Sun at two successive new moons. Note the angle between the line connecting the Earth and Sun and the line marking the point at which the Moon has completed exactly one orbit around the Earth. Such an orbit takes 27.32 days.

Draconic Month (27.21 days): This "month" is the average time between successive crossings of the ascending node by the Moon on its orbit. The nodes of an orbit are the orbit's intersection with some plane of reference. In the context of eclipses, we are concerned with the intersection of the Moon's orbit around the Earth with the plane containing the Earth's orbit and the Sun. Since the Moon's orbit is inclined to this plane, there are only two points of intersection (see diagram below).



The two nodes of the Moon's orbit are the ascending node, at which point the Moon crosses from below the plane of the Earth's orbit to above (where the area "above" the plane is the space beyond the Earth's north pole), and the descending node, where the opposite occurs. Since, due to the effect of the Sun's gravity, the nodes of the Moon's orbit shift with time against the Moon's direction of orbit, the draconic month (time between crossing ascending node twice) is slightly shorter than the orbital period of the Moon (27.32 days). The draconic month is important for the prediction of eclipses because eclipses can only occur when the Moon is in the plane of the Earth's orbit and the Sun, i.e., when the Moon is at an ascending or descending node.

Anomalistic Month (27.55 days): The Moon's orbit, just like the Earth's and that of other celestial bodies, is not a perfect circle. Thus the Moon's distance from Earth varies. The farthest point of the Moon's orbit from the Earth is known as the apogee (deriving from Ancient Greek "from" and "earth", the second of which also gives us geography, geocentric, etc.), and the closest point the perigee (with "peri" meaning "around").

Diagram of the Moon's orbit (elongation exaggerated)

The anomalistic month measures the time it takes for the Moon to travel from one apogee (or perigee) to the next. Note that this length of time is slightly longer than a lunar orbital period, because the apogee and perigee move along the lunar orbit in the same direction as the Moon's motion, so it takes longer for the Moon to "catch up" to its apogee than for the Moon to simply complete an orbit. The anomalistic month is important for eclipse prediction, because although it does not affect the apparent position of the Moon in the sky, whether the Moon is closer to apogee or perigee does affect its apparent size, and thus can affect the type and duration of an eclipse.

Apparent size of the Moon at apogee and perigee.

Note that the apparent size of the Sun varies too, as the Earth's orbit is also elliptical, but the variation occurs at only a fraction of the magnitude (about 3% variation versus the Moon's 12%). Therefore, we focus on the Moon's apparent angular diameter as the determining factor.

In summary, progress through the synodic month indicates the Moon's position relative to the Earth-Sun line (in the Earth-Sun orbital plane), progress through the draconic month indicates how far the Moon is from the Earth-Sun orbital plane, and progress through the anomalistic month indicates the Moon's apparent size. It so happens that the length of time equal to 223 synodic months is about the same as that of 242 draconic months and 239 anomalistic months, all of which equal approximately 6585.32 days. The reason this is significant is that after this period of time passes, a whole number multiple of each of the three "months" will have passed, and the Moon will be in almost exactly the same position relative to the Sun, the same apparent size, and the same inclination from the Earth-Sun orbital plane. Thus if an eclipse occurs at a given date, a nearly identical eclipse will occur again 6585.32 days later! A period of 6585.32 days, about 18 years, is known as a saros cycle.

The sequence of eclipses produced beginning at a given date and including all the eclipses separated from the first by some number of saros cycles is known as a saros series. Eclipses, both lunar and solar, are classified by saros series. The next post explores the details and applications of saros cycles and series.

Sources: http://www.hermit.org/eclipse/Graphics/diagrams/Rotations3.png, http://en.wikipedia.org/wiki/Saros_(astronomy), http://www.hermit.org/eclipse/Graphics/diagrams/Draconic.png, http://www.metahistory.org/images/moonorbit.gif, http://www.astro.virginia.edu/class/whittle/astr1230/im/moon_sidereal.gif

Monday, April 7, 2014

Eclipses and Saros Cycles 1

Solar and lunar eclipses are among the most spectacular of celestial phenomena. One of the great triumphs of astronomy was the accurate prediction of solar eclipses, beginning with Ancient Greek and Chinese astronomers. These predictions depend on a study of the cycles of the Earth, the Moon, and the Sun, known as Saros Cycles.

First, however, an explanation for the mechanism of eclipses is in order. A eclipse occurs when the Sun, the Moon, and the Earth are in a straight line, so that the Moon casts a shadow on the Earth, or vice versa. When the Earth casts a shadow on the Moon, the eclipse is lunar. When the Moon casts a shadow on the Earth, the eclipse is solar. An illustration of both of these eclipse types is shown below (not to scale).



In a solar eclipse, only a very small portion of the Earth's surface receives the shadow of the Moon, and this shadow moves across the Earth's surface as the Moon moves along its orbit. Furthermore, from the viewpoint of the observer on Earth, a solar eclipse is total when one is within the shadow of the Moon, and partial when one is in the partial shadow of the Moon (see above figure). The dark gray area is the shadow of the Moon, where both sides of the Sun are invisible. Thus in a total solar eclipse, none of the Sun is visible.

Total Solar Eclipse

The light gray area in the above diagram is the partial shadow, or penumbra. In this region, one side of the Sun is visible, but the other is blocked from view. In a partial solar eclipse, the Sun is never completely covered by the Moon, but the Moon rather skirts the Sun, covering only one of its edges.

Partial Solar Eclipse

Note that, on the diagram, since the Sun is larger than the Moon, the rays of the Sun on either side of the Moon converge with distance, and the shadow of the Moon on the Earth is a great deal smaller than the Moon itself. In fact, since the distance between the Earth and the Moon varies, when the Moon is farthest from the Earth and an eclipse occurs, the shadow of the Moon no longer reaches the Earth. In other words, from the perspective of the Earth viewer, the size of the Moon's disc is smaller than the size of the Sun's disc, and the Moon cannot cover the Sun. This leads to a phenomenon known as a annular solar eclipse.

Annular Solar Eclipse

Conversely, a lunar eclipse occurs when the Earth is between the Sun and the Moon. There are partial and total lunar eclipses as well, although the definitions differ slightly, as they are geocentric; in other words, the definitions are not based on an observer on the Moon, rather one on the Earth. Since the Earth's shadow is large, it can completely cover the Moon, as opposed to a solar eclipse, which is a localized event. A partial lunar eclipse is one in which the Earth's shadow does not completely cover the Moon, and a total lunar eclipse is one in which the Earth's shadow completely covers the Moon. During a total lunar eclipse, the Moon takes on a characteristic red color.

Total Lunar Eclipse

The Moon appears red during a lunar eclipse due to the fact that the only light reaching the Moon passes through a good deal of the Earth's atmosphere. Most short wavelengths of light are scattered by the time the Sun's rays have passed all the way through, so only long-wavelength light remains, causing the Moon to appear red in the visible spectrum. The same effect makes sunrises and sunsets appear red.

Though these types of solar and lunar eclipses differ in appearance, they are all manifestations of the same phenomenon: the alignment of the Sun and the Moon with respect to the Earth. Looking only at the diagram of a solar eclipse, one would believe that such events would be quite common, and would occur every time the Moon orbits around the Earth to come in line with the Sun. This would be true if the orbits of the Sun and the Moon lay in the same plane. However, the plane of the Moon's orbit around the Earth is inclined relative to the plane of the Earth's orbit around the Sun, and to make matters worse, the orbit is constantly shifting.

The next post discusses how eclipses can be predicted by understanding the various cycles of the Moon, Earth, and Sun.

Sources: http://eclipse.gsfc.nasa.gov/eclipse.html, http://image.gsfc.nasa.gov/poetry/ask/a11846.html, http://kids.britannica.com/elementary/art-87433/During-a-solar-eclipse-the-Moon-passes-between-the-sun, http://indiancountrytodaymedianetwork.com/sites/default/files/uploads/2012/11/solar-eclipse.jpg, http://www.topnews.in/files/SolarEclipse.jpg, http://upload.wikimedia.org/wikipedia/commons/thumb/3/37/Annular_Eclipse._Taken_from_Middlegate,_Nevada_on_May_20,_2012.jpg/320px-Annular_Eclipse._Taken_from_Middlegate,_Nevada_on_May_20,_2012.jpg, http://en.wikipedia.org/wiki/Saros_(astronomy),

Sunday, March 30, 2014

Gravitational Waves 2

This is the second part of a two-part post on gravitational waves. For the first part, see here.

The previous post introduces gravitational waves, and discusses early attempts at their detection, such as LIGO. Despite LIGO's failure to detect these waves, new instruments promise to increase precision, allowing us to find weaker gravitational waves, and other indirect methods have yielded results. Overall, these techniques will give us new methods of observing our Universe.

LIGO, as well as other early laser interferometer observatories such as VIRGO (a similar detector in Italy), are sometimes known as the "first generation" of gravitational wave detectors. During LIGO's operation, upgrades led to modest increases in sensitivity. However, after the temporary cessation of operations in 2010, more major upgrades were made to LIGO including heavier mirrors and more powerful lasers, which will increase sensitivity and reduce background noise caused by thermal energy. The new Advanced LIGO began operation in 2016, and should have a range of hundreds of millions of light years, ten times that of the original design (see diagram below). These upgraded observatories were the "second generation" of detectors.



The original LIGO could detect gravitational wave sources only within our Local supercluster and its neighbors (small gray sphere), but Advanced LIGO was able to scour an volume of space 1000 times as large for gravitational wave signals (the entire scope of the figure above).



The above diagram shows the actual and estimated sensitivities for different gravitational wave detectors, including LIGO, VIRGO, and their respective upgrades. The x-axis of the graph is the frequency of the gravitational wave (gravitational waves have different frequencies in the same way that electromagnetic waves do) and the y-axis indicates the intensity of the waves. The detectors exhibit different sensitivities to different frequencies; curves that dip lower indicate better detectors. The Einstein GW Telescope is a proposed "third-generation" laser interferometer concept, still in design phase. This design would have the facility be underground to reduce seismic noise and cryogenically cooled to prevent thermal vibrations from altering the distance between mirrors.

Another "third-generation" design concept which would theoretically yield numerous detections is the Laser Interferometer Space Antenna (LISA), a spaced-based model.



LISA would consist of three separate spacecraft, which would create a equilateral triangle of side length 5 million kilometers (3.1 million miles). The above diagram is an artist's conception. This triangle would trail the Earth in heliocentric orbit, and would be very sensitive to different frequencies of gravitational waves than ground-based detectors like LIGO.



The above figure shows that LISA would detect much longer wavelengths than Advanced LIGO (due to LISA's enormous arms). Advanced LIGO could only discover very high frequency oscillations, such as neutron stars rotating very close to each other just before colliding. Such systems are rare and short-lived, since neutron star systems contract and ultimately collide. However, LISA could detect more slowly orbiting binary systems, long before their final collision. These are very common, and many are already known through other means of observation, guaranteeing that LISA would find many sources if it functions correctly.

There are unfortunately no definite plans for launching LISA, but a small test mission, known as LISA Pathfinder, launched in 2015. This small probe contained a tiny interferometer meant to test the LISA concept in space and evaluate the proposal's feasibility.

Ultimately, the most important goal of gravitational-wave observatories is to peer farther into the early universe than could be possible with telescopes measuring electromagnetic radiation. Using ordinary visual telescopes (of sufficient power), we can view objects billions of light years away (seeing them as they were billions of years ago, since it takes light a year to travel each light-year). However, there is a fundamental limit to how far these telescopes can see. Before 380,000 years after the Big Bang (or about 13.8 billion years ago), the temperature of the Universe was too high for electrons to combine with atomic nuclei into atoms, and, since electrons scatter electromagnetic radiation, the Universe was opaque. Thus the "oldest" light in the Universe is from 380,000 years after the Big Bang; it is called the Cosmic Microwave Background (CMB), and traditional telescopes cannot see farther. However, gravitational wave astronomy has the potential to receive signals from earlier periods and study them directly, leading to a greater understanding of the Big Bang.

For an update on recent developments in the detection of gravitational waves, see here!

Sources: https://www.advancedligo.mit.edu/summary.html, http://www.ligo.caltech.edu/docs/G/G080303-00.pdf, http://www.et-gw.eu/, http://www.physik.hu-berlin.de/qom/research/freqref/lisa, http://lisa.nasa.gov/, http://cosmology.berkeley.edu/~yuki/CMBpol/CMBpol.htm, http://www.theguardian.com/science/2014/mar/17/primordial-gravitational-wave-discovery-physics-bicep, http://www.nytimes.com/2014/03/25/science/space/ripples-from-the-big-bang.html?_r=0, "An Ear to the Big Bang" from The Scientific American October 2013 issue

Saturday, March 22, 2014

Gravitational Waves 1

Gravitational waves, in brief, are the propagations of gravitational fields through space. Before dealing with gravitational waves directly, we attempt to provide historical context and a way to visualize how the waves work.

In 1865, James Clerk Maxwell (1831-1879) published a paper outlining his theory of electromagnetism, compiling and uniting earlier work into a single theory explaining the properties of both electricity and magnetism. For example, it deals with the properties objects possessing positive and negative charges, and the forces they exert on their environments (electric and magnetic fields). This theory also describes electromagnetic waves, or propagating changes in the electromagnetic field. Such waves are characterized by their wavelength and amplitude.



The above simplified diagram of a wave shows its wavelength and amplitude. We also define the frequency of a wave as the number of oscillations per second. In the diagram above, the wave has a frequency of 2 Hz. For electromagnetic waves, amplitude corresponds to intensity of the wave, and wavelength to type (or in the case of visual light, color). The continuous interval of electromagnetic wavelengths is known as the electromagnetic spectrum and includes many familiar types of radiation, including radio waves, microwaves, infrared rays, visible light, ultraviolet rays, X-rays, and gamma rays (all of these types are discussed in the link above).

Such waves are produced when charged objects move through space, causing a change in electric field. When a charge has moved, it will not exert the same forces on its surroundings as it had previously. The change in field is "carried" by waves, which move at the speed of light, a finite (though very fast) speed. The diagram below shows an example of electromagnetic wave production by a dipole, or a pair of equal and opposite charges.



As the charges oscillate up and down, an electromagnetic wave is produced, and propagates away from the dipole (the blue and red parts of the oscillation are the electric and magnetic field components, respectively). Since the oscillation is periodic, the wave signal it produces is also periodic. The magnitude of the charges forming the dipole determines the amplitude of the generated wave. Also, the frequency of the oscillation determines the frequency of the electromagnetic waves.

At the beginning 20th century, though Maxwell's theory had supplanted earlier understandings of electromagnetism, Newton's was still the dominant paradigm for gravitation. The theories did have similarities, among them the fact that both electromagnetic and gravitational forces shrank with distance in inverse proportion with the square of this distance (F ~ 1/r2). However, while there were both attractive and repulsive electromagnetic forces, gravity was always an attractive force. Another crucial difference was that, as shown above, electromagnetic fields move at the speed of light. Newton's theory, though, simply assumed that all bodies pulled instantaneously on one another. Albert Einstein (1879-1955) developed the theory of general relativity in 1916 and resolved this difference. His theory predicted that differences in gravitational fields would move analogously to electromagnetic fields: using gravitational waves. Further, these postulated gravitational waves would travel at the speed of light.



Gravitational waves, in Einstein's theory, would also be produced in an analogous manner to electromagnetic waves. Instead of oscillating charges, oscillating masses would produce the waves. For example, two massive bodies (such as black holes) orbiting one another at close range would produce gravitational radiation, as in the diagram below.



The conception above illustrates how gravitational waves move away from the orbiting system in all directions. Unlike their electromagnetic counterparts, gravitational waves travel undisturbed through matter, and as a consequence are much more difficult to detect. Nevertheless, they do have a subtle effect on the matter which they pass through. The medium through which gravitational waves travel is the fabric of space itself. The diagram above illustrates distortions of a two-dimensional space fabric; in reality, gravitational waves would cause small "ripples" in our three-dimensional space.

Beginning in the 1960's scientists on Earth have constructed increasingly sophisticated gravitational wave detectors. The first variety were known as Weber bars, or large bars of metal which, if sufficiently isolated from the surrounding environment, could oscllate as gravitational waves passed through them. However, the waves had to be very strong to be detected, and the original models were not up to the task. More modern Weber bars have been supercooled to temperatures very near absolute zero to reduce outside vibrations and increase their sensitivity.

Another method for identifying incoming gravitational waves is known as laser interferometry.



Laser interferometry works by using light beams to measure distances. In the usual design (diagram above), a laser creates a beam of light which is split by a beam-splitting mirror into two beams which travel down the two perpendicular arms of the interferometer. On the return trip, if the arms are exactly the same length, the beams interfere with one another in such a way that all the light travels back to the laser. If, however, the arms have slightly different lengths, some light will be reflected by the beam-splitter into a detector.

The Laser Interferometer Gravitational-Wave Observatory (LIGO) wass one project making use of a laser interferometer to detect gravitational waves. In each of LIGO's facilities (there is one in Louisiana and one in Washington) there was a laser inteferometer with arms four kilometers (2.5 miles) long. Theory held that when a gravitational wave passes through the detector, it distorts space and actually alters the lengths of the arms slightly. Since the arms are perpendicular, the distortions are different, and sufficiently strong waves should then cause the laser beams to be enough out of sync to send light to the detector. There were two LIGO stations to weed out false data and to determine which way gravitational waves moved through the Earth. Despite the precision of LIGO, it did not make any unambiguous detections during its operation (2002-2010).

Despite these setbacks, concepts for more precise instruments and new detectors have since been developed, and the road to gravitational wave detection has also proceeded through more indirect means (see the next post).

Sources: http://www.britannica.com/EBchecked/topic/242499/gravity-wave, http://rsta.royalsocietypublishing.org/content/366/1871/1849.full, http://www.tapir.caltech.edu/~teviet/Waves/differences.html, http://www.geo.mtu.edu/~scarn/teaching/GE4250/EM_wave_lecture.pdf, http://ned.ipac.caltech.edu/level5/ESSAYS/Boughn/figure1.gif, http://upload.wikimedia.org/wikipedia/commons/3/35/Onde_electromagnetique.svg, http://www.vias.org/wirelessnetw/img/wndw-print_img_3.png, spaceplace.nasa.gov, http://en.wikipedia.org/wiki/Gravitational-wave_detector, http://www.learner.org/courses/physics/visual/visual.html?shortname=ligo_interfermometer, http://www.ligo-la.caltech.edu/LLO/overviewsci.htm

Friday, March 14, 2014

Unnamed Subtropical Storm (2013)

Storm Active: December 4-7

*This subtropical storm received no name despite being counted among the total of storms in the 2013 season. This is because though the low pressure system was monitored for development during its period of activity, analysis at the time did not indicate that it had become a subtropical cyclone. In February 2014, this storm was added to the 2013 season during the usual postseason analysis.

This system originated from an extratropical low pressure system formed which formed over the eastern Atlantic on December 3. Though the disturbance was already producing strong winds, there was not significant convection associated with it at the time. After completing a small counterclockwise loop well south of the Azores Islands, the low began to move northward and thunderstorm activity became more concentrated about the center of circulation. It was late in the evening on December 4 when the low was estimated to have developed into a subtropical storm. The cyclone had its peak intensity as a subtropical storm immediately after formation, with wind speeds of 50 mph and a central pressure of 997 mb.

Initially, the cyclone had a nested convective structure in that it had an area of central convection surrounded by a void of dry air around which there were a few outer bands. After persisting for about a day, this structure resolved into more traditional banding on December 6. By this time, the storm had begun to accelerate north-northwestward, approaching the Azores from the south. Wind shear also increased out of the west, and the subtropical storm began to weaken as it moved into cooler water. The unnamed storm lost subtropical characteristics very early on December 7, and dissipated shortly thereafter, bringing only showers and gusty winds to the Azores.



The above image illustrates the nested convective structure of the unnamed storm shortly after its formation.



The unnamed subtropical storm existed only in the far eastern Atlantic. It was one of only 15 December tropical cyclones in the Atlantic on record through 2013 and the first since 2007.

Thursday, March 6, 2014

Exceptions to Continuity 3

This is the final part of a three-part post. For the first, see here.

In the previous post, it was stated that every function has an Fσ set of discontinuities. We cannot prove this fact, since the proof is beyond the scope of this blog, but we can demonstrate its converse, which is also true, namely that for any Fσ set S, there exists a function f: R → R (a real-valued function defined on all reals) with a set of discontinuities S.

Expand S into its subsets in the following way:



where each Si is closed (this is just the definition of an Fσ set, i.e. a countable union of closed sets). We wish to define this set as an Fσ set in a slightly different way as a countable union of closed sets. We define a new series of sets Tj, where



In other words, T1 = S1, T2 = S1∪S2, and in general the Tj is the union of the first j sets of the collection of S-sets, {Si|i∈Z+}. Note that each Tj is a closed set, being a union of a finite number of closed sets (since j is finite), and that the union of all of the Tj is the same as the union of all of the Si, since each Tj is simply formed from a union of the Si. However, this new collection of sets possesses a useful feature in constructing our desired function f: each Tj is contained within the next member of the sequence Tj + 1.

Before defining the function itself, we need one more collection of sets based off of the Tj. These sets, for each j, essentially carry information about the differences between consecutive sets among the Tj. Symbolically, they are defined in the following way:



What this means is that Uj contains those real numbers which are contained in the set difference of Tj and Tj - 1, or the set of numbers in Tj but not Tj - 1 (note in fact, that this set difference might be empty; we will return to this later). Note also that for j = 1, the definition of U1 makes use of a set "T0". We define this to be the empty set. Finally, among the real numbers contained in the set difference, only those which are on the boundary of the set (the condition preceding the "or" symbol, ∨) or are rational (the second condition, which states that such numbers are contained within the intersection of the set difference and the rational numbers, Q) are in Uj. The importance of these conditions will be made clear, but first we must finally define our long-sought function f:



Thus f takes a different constant value on each of the Uj, namely 2-j. This definition is well-defined because no two Uj intersect. If some member x of Um were a member of Un for n > m, then x would have to be contained in the set difference Tn - Tn - 1. However, since m ≤ n - 1, x must also be within Tn - 1, since the T's are nested. This is a contradiction, so the Uj are disjoint. Finally, the function f is defined as 0 outside of all of the Uj. Next, to illustrate how this definition works and is applied to sets, we consider a few examples.

Let S be the set {1/5,2,π}. To illustrate the concepts above, we initially assign S1 = {1/5}, S2 = {2}, S3 = {π}, and Sn = Ø for n ≥ 4 (note that this is not the only way to divide S into sets Si and that different divisions may yield different functions with the same discontinities). Clearly the union of the Si is indeed S. Next, T1 = S1 = {1/5}, T2 = S1∪S2 = {1/5,2}, T3 = S1∪S2∪S3 = {1/5,2,π}, and Tn = {1/5,2,π} for n ≥ 4, since the Si are empty above i = 3 and empty sets do not contribute to a union. Also, by definition, T0 is the empty set. Now we shall determine what form the Uj take. U1 takes elements from the set difference T1 - T0 = {1/5} - Ø = {1/5}. Since 1/5 is rational, it satisfies at least one of the additional conditions above and is indeed in U1. There are no other elements in T1 - T0, so U0 = {1/5}. Similarly, T2 - T1 contains one member, 2, and since it is rational, it is also the sole member of U2. Finally, T3 - T2 = {π}. Though π is not rational and so is not a member of (T3 - T2)∩Q, it still is contained within U3 because it is on the boundary of the set difference (the boundary of a set containing a single point is merely the same set). Thus U3 = {π}.

Using these facts, our previous definitions yield the following formula for f:



This formula yields the graph below:



Clearly this function has exactly our desired set S = {1/5,2,π} as its set of discontinuities. Note also the importance of the condition that those elements on the boundary of the set difference Ti - Ti - 1 are in Ui, as this was crucial in having π as a discontinuity, since it is irrational.

For a more intricate example, we now allow the set S to be the half-open interval (0,1]. S is Fσ because it is the union of the sets [1/2,1], [1/3,1/2], [1/4,1/3],..., each of which is closed. We therefore let Si = [1/(i + 1), 1/i] for every positive integer i. Clearly each number between 0 and 1 is contained in one of these sets, and 1 is contained in S1. However, the union of the infinite collection of sets is (0,1] because it does not include 0; if 0 were a member of the union, it would have to be a member of some Si. However, 0 is strictly less than 1/i for any positive integer i, and therefore cannot be in the union of the Si.

From these definitions for the Si, we see that T1 = S1 = [1/2,1], T2 = S1∪S2 = [1/3,1], and in general, Tj = [1/(j + 1),1]. Each set difference Tj - Tj - 1 is of the form [1/(j + 1),1/j), except for T1 - T0, which equals [1/2,1] and includes its right endpoint, since T0 is the empty set. As before, we select certain elements from each set difference to form the Uj, namely those which are rational (the boundary condition offers nothing new, since ∂(Tj - Tj - 1) = ∂[1/(j + 1),1/j) = {1/(j + 1)}, and 1/(j + 1) is rational). Thus each Uj contains exactly the the rationals between 1/(j + 1) and 1/j, including 1/(j + 1) but not including 1/j. Restricting our attention briefly to just one of these intervals, we see, for example in the vicinity of 2/3, which is in U1, that our function f will assume positive values at rationals and a value of zero at irrationals, since no irrational is a member of any Uj for this function. Our entire function will then consist of several smaller "copies" of the nowhere continuous Dirichlet function, which is 1 at rationals and 0 at irrationals. Before presenting a visualization of this function, we give its definition:



The image below "graphs" this function. Due to the Dirichlet construction, the function jumps infinitely many times within every interval between 0 and 1. Therefore, when the function is split among the rationals and irrationals, the function's value at the rationals is given as a short-dashed line, and the function's value at the irrationals a long-dashed line. Note that at the value 2/3 below, the long-dashed line is at 0 and the short-dashed line at 2-1. Additionally, the segments on which the rationals are situated continued to shrink and move towards 0 as one approaches the origin, as indicated by the ellipsis.



It is easy to see that the function f is discontinuous on the entire interior of the unit interval, (0,1), because member of this set is surrounded arbitrarily closely by rational numbers, for which f is nonzero, and irrational numbers, for which f is zero. Additionally, since f(1) = 2-1, and f(x) = 0 for x > 1, f is additionally discontinuous at 1. However, to see that f is indeed discontinuous at exactly the set S, we must show the the function is not discontinuous, that is, continuous, at x = 0.

Consider the behavior of f(x) as x approaches 0. Given an arbitrarily small positive number ε, we can find a positive integer n such that 2-n < ε. As we know, on the interval [0,1/n), the largest value f can take is 2-n. Thus we have that for |x| < 1/n = δ, f(x) will be less than ε. Thus f is continuous at 0, and f has all the desired properties.

We have seen, for two examples, that the process above does yield a function f with discontinuities on exactly the members of a given Fσ set. After the above motivational examples, we finish the post by proving that this fact holds in the general case.

Let S be an Fσ set, f its corresponding function by the above scheme, and let the {Tj} be defined as above. We consider first the case of a point belonging to one of the set differences Tj - Tj - 1. If a point x is in the interior of this set difference f is discontinuous at x for the same reasons that the Dirichlet function is, since f behaves in the same manner as the Dirichlet function on the interiors of the set differences. If x is on the boundary of a set difference, f(x) = 2-j. However, neighboring points outside of the set difference must differ from this value by at least 2-(j + 1), since the closest possible value to 2-j that the function can take outside of Tj - Tj - 1 is 2-(j + 1), namely on the set difference Tj + 1 - Tj. Thus f is discontinuous at x. We have proven that f is discontinuous at every point of every set difference of the Tj. Since the union of the {Tj} is S, we see that S is exactly the union of all the set differences of the {Tj}. Thus f is discontinuous on S.

To finish the proof, we must show that f always continuous outside S. Let x now be any point outside of S, and therefore outside of every set difference. Since each Tj is closed, it contains its boundary, so x cannot be on the boundary of any Tj. Thus there is some neighborhood surrounding the point x that does not contain any member of Tj for some fixed value of j. For example, in the second example above, any set containing 0 in its interior contains part of a set Tj for some j, since the left endpoints of the {Tj} in that example, 1/(j + 1), become arbitrarily small. However, for any fixed Tj, say T3 = [1/4,1], we can choose a neighborhood of 0, for example (-1/5,1/5) which excludes all the {Tj} up to T3. This is the most difficult subtlety of the proof. Having found a neighborhood U of x (in the example, 0) that excludes the first n of the {Tj}, we note that the function must take values less than 2-n on U. Since this can be done for any finite n, we see that the function approaches 0 as one approaches x and that f is continuous at x. Therefore f is discontinuous on exactly the set S.

The above series describes a complete classification of discontinuities for real-valued functions. Also, this and related results give additional insight into the structure of real numbers, for example the distinction between rational numbers, on exactly which set a function can be discontinuous, and the irrational numbers, which are not Fσ. Such a classification demonstrates the power of mathematical techniques, as it provides simple conditions on all of the strange functions and sets which can exist on the real numbers.

Sources: Sources: Counterexamples in Analysis by Bernard R. Gelbaum and John M. H. Olmsted, Froda's Theorem on Wikipedia, http://holdenlee.wordpress.com/2010/04/26/can-a-function-be-continuous-only-on-rationals/, http://samjshah.com/2009/10/03/sin1x/,

Wednesday, February 26, 2014

Exceptions to Continuity 2

This is the second post of a three-part post. For the first, see here.

The question arose in the previous post whether for any set S in R, the real numbers, there exists a function f such that S is the set of discontinuities of f, or, in our previous notation, D(f) = S. Note that solving this problem is exactly equivalent to solving the problem of whether every set can be the set of points at which a function is continuous, since every function f is continuous at exactly the points that it is not discontinuous. Before tackling the whole problem, we solve it for a more limited class of functions, called the monotone functions.

A monotonically increasing function on an interval (image from wikipedia)
A function is monotone if it is either always increasing or always decreasing (such a function is called a monotonically increasing or monotonically decreasing function). A function f is increasing if for any real numbers a and b, a ≤ b means that f(a) ≤ f(b), with a similar definition for decreasing. The function above increases, then stays constant for awhile, and then continues to increase. It is thus a monotonically increasing function. Some common examples of monotonically increasing functions are y = x, y = c (for any constant c), y = xn (where n is an odd integer), and y = ex.

Next, it is important to note that there is a one-to-one correspondence between monotonically increasing and monotonically decreasing functions caused by flipping sign, that is, the negative of a monotonically increasing function is monotonically decreasing, and the negative of every monotonically decreasing function is monotonically increasing. Thus y = -x, etc., are monotonically decreasing.

A theorem in mathematics called Froda's theorem after the Romanian mathematician Alexandru Froda completely classifies the possible sets of discontinuities over the monotone functions. We outline the proof of the theorem, noting that, due to the one-to-one correspondence discussed above, the result for monotonically increasing functions will hold for all monotone functions. The statement runs thus: For any monotone function f defined on closed interval [a,b], D(f) is at most a countable set in [a,b], that is, the set is empty (for an everywhere continuous function), finite, or countable (can be put in a one-to-one correspondence with the natural numbers).

The first step in the proof is noting that, for a monotonically increasing function f defined on the interval [a,b], the only discontinuities that f can have are jump discontinuities. Other types of continuities require some type of infinite oscillation (e.g. the function y = sin(1/x)), but this involves the function increasing and decreasing, which is not allowed for monotone functions. Thus we consider jump discontinuities only.

Consider the difference d = f(b) - f(a) of the values of the function at the endpoints of the interval [a,b]. Clearly it is positive and finite, due to the properties of f and the fact that it is defined on both endpoints. Note also that the jumps can only be positive, since the function is increasing; the function can only jump up, not down. For any positive number ε, therefore, there can only be a finite number of jumps of length ε, since the sum of the jumps cannot exceed d.



For example, in the above diagram, the function f, which increases from 1 to 3 over the interval [a,b], cannot have more than two jump discontinuities with jump 1, since the sum would then exceed the value of d, in this case, 2.

Therefore, given a monotonically increasing function f, for each positive number ε we can construct a set of points {x1,x2,...,xn}, containing every point that is a jump discontinuity of f with a jump greater than or equal to ε. By the previous remarks, this set is finite for any positive ε (although it is allowed to be empty, e.g., for continuous monotonically increasing functions). Finally, we define Dn(f) for a positive integer n to be the set corresponding to the value ε = 1/n. The union of all of the Dn for positive integer n then includes every jump discontinuity of f, since for any jump discontinuity with jump ε, ε is greater than 1/n for some n. If the jump were 0, the discontinuity would not be a discontinuity at all! Thus every jump discontinuity is in some Dn, and thus in their union, which we shall call D, as consistent with previous notation.

Therefore, the set of discontinuities of a monotonically increasing function f (and similarly for all monotone functions) is a countable union of finite sets, which is countable.

This result is extensible to a monotone function on the real numbers. The set of real numbers R can be expressed as a countable union of closed intervals [n,n + 1], where the union is over every integer n. One can simply collect the discontinuities from each interval (on which the function must be monotone, since it is monotone everywhere) into a larger set. Since a countable union of countable sets is countable, the set of discontinuities over all of R is countable also. Lastly, this result also extends to any function f defined on the real numbers such that there is a countable collection of sets A such that the union of all members of A is R and f is monotone on each member of A. In other words, if the real numbers can be appropriately split into pieces on which a function f is monotone, then the set of discontinuities of f is countable.

As general as this result may be, it certainly does not classify the sets of discontinuities of all functions. We have already seen an example of a function discontinuous everywhere. The function of that example is not monotone on any interval, so Froda's theorem is inapplicable.

To complete the classification of sets of discontinuities, we must introduce the notion of a Fσ set. A subset S of the real numbers is an Fσ set if and only if it is a countable union of closed sets. A closed set in the context of the real numbers is one which contains its boundary points. For example, [0,1], the interval containing 0 and 1, is a closed interval, because it contains its boundary points, 0 and 1. The sets (0,1), [0,1), and (0,1], missing one or both endpoints, are not closed. In addition, any union of disjoint closed intervals such as [-1,2]∪[3,4]∪[5,7] is closed.

The realm of Fσ sets is quite general. First, since R itself, the set of real numbers, has no boundary, it by definition must "contain" its boundary, and is thus closed, and therefore Fσ. Since the empty set has no boundary, it is also closed, and {} is Fσ. Any countable set of points is also Fσ, as a set containing one point, {x}, is always closed, and the collection of Fσ sets is closed under countable union. Thus Q is Fσ. Finally, as an example of a set that is not Fσ, consider the set of irrationals, R - Q. Since Q is dense, i.e. there is a rational number between any two distinct real numbers, no part of R - Q has an interior; there are no "blocks" of irrational numbers with no intervening rationals among the reals. Thus to get the irrationals into a collection of closed sets, we have to "package" them individually, using, for example, countable collections of points. However, the irrationals are uncountable, so no countable union of closed sets can yield R - Q. With this definition, we state the following theorem completely classifying sets of discontinuities:

A set S can occur as a set of discontinuities of a function f on the real numbers if and only if S is Fσ.

The proof that every function f has D(f) an Fσ set is too difficult to consider here. However, we can demonstrate the proof in the reverse direction. To finish this series (see the next post), we construct a function whose discontinuities form an arbitrarily chosen Fσ set.

Sources: Counterexamples in Analysis by Bernard R. Gelbaum and John M. H. Olmsted, Froda's Theorem on Wikipedia, http://holdenlee.wordpress.com/2010/04/26/can-a-function-be-continuous-only-on-rationals/, http://samjshah.com/2009/10/03/sin1x/,

Tuesday, February 18, 2014

Exceptions to Continuity 1

An important class of functions in mathematics is the class of continuous functions. A continuous function is a function without any jumps or undefined points (for a more formal definition, see here). For convenience, we shall limit our scope to functions f on the real numbers.

The class of continuous functions on the real numbers is quite general; all linear, polynomial, and exponential functions fall under this category. However, many other functions fall into the class of discontinuous functions, or those which have at least one point at which they are not continuous. Take as an example the Heaviside step function, which is (conditionally) defined by the equation

.

This function, often denoted θ(x) as above, is graphed below.



The function assumes a constant value of 0 as the value of x approaches 0, and then at zero, it assumes the value 1/2 (solid blue dot). θ(x) then equals 1 for all positive values of x. This function is discontinuous at exactly one point, namely at x = 0 because the function jumps from 0 to 1/2 to 1 at this point. We can then consider the set of points of discontinuity of the function, which for a function f we shall denote D(f) (where "D" stands for discontinuity). In this way, D itself is a function; to each function f on the real numbers it associates the set of points of discontinuity of f. For instance, if f(x) = x2, then D(f) = Ø (the empty set), and, by the discussion above, D(θ) = {0}.

However, many functions have more than one point of discontinuity. Some in fact have an infinite number of discontinuities! Take for example the greatest integer or floor function, which to every real number assigns the greatest integer less than or equal to it. For example, floor(2.5) = 2, floor(6.93) = 6, and floor(1) = 1. The graph of this function is shown below:



The set of discontinuities of the floor function is just the set of integers; as soon as the input of the function increases from 0.999 to 1.000, for example, the output jumps from 0 to 1. Thus D(floor) = Z = {...-3,-2,-1,0,1,2,3,...} (Z is often used to stand for the set of integers). Even for this function, however, the discontiuities are isolated, and "most" of the function still behaves normally. However, there are functions for which every real number is a discontinuity. One notable example is the Dirichlet function, denoted IQ(x) and defined on all real numbers as being equal to 1 if x is rational, and 0 if it is not (see here for information on and examples of rational and irrational numbers). The function is denoted this way because it is also called the characteristic function of the rational numbers on the reals. A characteristic function of any set is the function that is equal to 1 on the set and 0 elsewhere. The symbol IQ indicates that the set in question is Q, the rational numbers. It is difficult to imagine the graph of this function, but it consists of an (countably) infinite set of points along the line y = 1 and an (uncountably) infinite set of points along the line y = 0.

To see that IQ(x) is discontinuous at every real number x, consider the following argument. If x is irrational, let the decimal expansion of x be 0.a1a2a3..., where a1, a2, a3, etc. are the digits of the infinite expansion. Clearly, every member of the sequence 0.a1000..., 0.a1a200..., 0.a1a2a30... is a rational number (as the decimal expansion of each terminates) and the sequence generates rational numbers arbitrarily close to the irrational number x. Thus the function takes the value 1 at points arbitrarily close to where it takes the value 0 and IQ(x) is discontinuous at x. For the case in which x is rational, it is clear that there is an irrational number between every two rationals (for definiteness, one such an irrational number between x and y would be (2-1/2)x + (1 - 2-1/2)y), so the rationals must be isolated points, and thus discontinuities of the function. In conclusion, the function IQ(x), though defined at every real number, is discontinuous at every point in its domain, so D(IQ) = R, the set of real numbers.

Though one might argue that the odd definition of this function seems artificial, as it uses rational and irrational numbers in its definition, this particular function does have a closed form, albeit in the form of an infinite limit. The function IQ(x) can also be defined by the expression:



In the expression above, the limit is calculated pointwise, i.e. the value of the limit is calculated for each real number x, giving the value of the function at x. To see that this expression indeed produces the characteristic function of the rational numbers on the real numbers, first consider the inner limit, indexed by the variable j, for constant k (assume k = 1, so k! = 1). The function cos(πx) is equal to 1 or -1 at every integer.



For large j, cos(πx)2j = 1 at all integers. The "2" in the exponent insures that all outputs of the function are positive. If the exponent were just j, the value of the function at x = 1 would simply oscillate between -1 and 1 and never converge, and the function would be undefined at odd integers. For any point that is not an integer, the value of cos(πx) will have an absolute value less than 1 and therefore approach zero in the limit. The inner limit therefore gives a function which has the value 1 at every integer and 0 elsewhere.

Now let k→+∞. We have already seen that the function will have value 1 whenever the expression within the cosine is integral. For any rational number r/q, where r and q are integers and the fraction is reduced to lowest form, clearly q! (q factorial) has q as a factor. Thus q!(r/q) is an integer. Finally, since q! is a factor of every subsequent factorial, k!(r/q) is an integer for every k ≥ q. Therefore, the value of the limit at every rational number becomes 1 as k increases without bound. If the function were 1 at an irrational number s, however, we would have k!(s) equal to an integer for some k, because integers are the only values for which cos(πx) = 1. Thus s would be expressible as a quotient of two integers, which is a contradiction, since s is irrational. We have then confirmed that the function expression indeed gives IQ(x).

Another important example is a modified version of Dirichlet's function, called Thomae's function or the popcorn function. It is defined in the following way.



This function agrees with Dirichlet's function on the irrational numbers, but for any rational number gives the reciprocal of its denominator in lowest form. At the nonzero integers, since these numbers can be represented as n/1, the function assumes the value 1. For simplicity, we also assume that f(0) = 1. A graph of this function is shown below (click to enlarge):



The above shows a graph (a collection of points, in this case) of Thomae's function on the interval (0,1), and some examples of points: 1/2 yields the largest possible output of any number between 0 and 1, namely 1/2. Also, along the horizontal line y = 1/q for any positive integer n lie all points (p/q,1/q), where p and q share no factors, or are said to be relatively prime. Thus the number of points along each line y = 1/q also gives the number of positive integers less than or equal to q that are relatively prime to q. For example, the point (2/5,1/5) is illustrated, and there are a total of four points along the horizontal line containing it, since 1, 2, 3, and 4 are all relatively prime to 5. Notice however that (2/4,1/4) is not a valid ordered pair satisfying Thomae's function because 2/4 can be simplified to 1/2. The points get denser as one approaches the x-axis, (for example following the sequence of points (1/n,1/n), and the only horizontal line along which there are an infinite number of points is y = 0, since Thomae's function assumes the value 0 at every irrational number.

Now we must consider where Thomae's function, if anywhere, is continuous. Clearly, it is discontinuous at any rational number for the same reason as before: any rational number yields a nonzero output, but is surrounded by irrational numbers which are mapped to 0. However, using the formal definition of continuity, we can confirm that Thomae's function is actually continuous on the irrational numbers. The function will be continuous there if the differences in the outputs at an irrational number and at "nearby" points tend to 0 as the "nearby" points come closer and closer to the chosen number. Let s be any irrational, and choose any small positive number ε to be the desired upper bound for the difference between the value of the function at s and at a nearby point. Let q be the smallest positive integer such that ε > 1/q. Since s is irrational, clearly it is not equal to any p/q (p,q relatively prime). Let δ be the distance between s and the closest rational number (in lowest form) with a denominator less than or equal to q. Within a distance δ of s, the function assumes values strictly less than 1/q. Thus the largest possible difference is less than 1/q (since f(s) = 0) which is less than ε, and the function is continuous at s. To make this clearer, the above reasoning is made explicit in the diagram below (click to enlarge):

A demonstration of the above reasoning for an arbitrary irrational s = 0.559246... and ε = 0.22
In the above diagram, the smallest positive integer with ε > 1/q is q = 5, since 1/5 = 0.20 < 0.22. Among those rationals with denominators less than or equal to 5 (which are copied on a duplicated x-axis so that they can more easily be seen), 3/5 is the one closest to s, with a difference δ of about 0.04. If, for any x, x is within a distance 0.04 of s, the function value at x is guaranteed to be less than 0.20 and so within 0.22 of the value of the function at s, 0. Since this can be done for any positive ε, the function is continuous at s. Similarly, the function is continuous at every irrational.

Therefore, there exists a function f (Thomae's function) with D(f) = Q (the set of rational numbers). The question naturally arises whether any set can be the set of discontinuities of a function. This question is explored in the next post.

Sources: Counterexamples in Analysis by Bernard R. Gelbaum and John M. H. Olmsted, The Road to Reality by Roger Penrose, Weierstrass Function, Dirichlet Function on Wikipedia, http://www.maa.org/pubs/Calc_articles/ma001.pdf, http://www.whitman.edu/mathematics/SeniorProjectArchive/2007/huh.pdf

Monday, February 10, 2014

Further Properties of Space-filling Curves

This is the final part of a three-part post. For the first, see here.

In the previous post, we examined an iterative sequence of curves, the limit of which after an infinite number of iterations is called the Hilbert curve. We now prove that the Hilbert curve indeed has the property it was constructed to have: it fills the unit square. Consider the first iteration again.



The first iteration includes all four points of the form (m/2,n/2) when m and n are each either one or three. In binary decimal notation, 1/4 = 0.01 and 3/4 = 0.11. To see the relevance of this fact, now consider the second iteration.



The points along the curve marked by black dots are of the form (m/8,n/8) with m and n both odd (and between 0 and 8), and two of these points are explicitly marked with their coordinates for clarity. It is obvious that the second iteration contains all points of this form. In binary notation, the points are of the form (0.ab1,0.cd1), where a, b, c, and d can stand for either 0 or 1. For example, (7/8,5/8) = (0.111,0.101). Since each iteration contains smaller copies of the previous one, it is clear that this pattern continues, and the third iteration will include all points of the form (m/16,n/16), with 0 < m, n < 16 and both m and n odd. In decimal notation, the curve includes all points each of whose coordinates has a 4-digit terminating binary expansion that ends in 1 (just as the second iteration had 3-digit terminating binary expansions ending in 1).

Next, we must note that any binary expansion can be approximated to arbitrary accuracy by others ending in the digit "1". For example, let P be the point in the unit square (0.101010101...,0.10100000...), where the repetition in the first expansion continues infinitely. Now consider the sequence {(0.11,0.11), (0.101,0.101),(0.1011, 0.1011),(0.10101,0.10001),...}. The nth point in this sequence lies on the curve of the nth iteration, and the sequence converges to the point P defined above. Thus the point P lies on the limit of the iterations, i.e., the Hilbert Curve itself. Note that the second coordinate of point P is exactly matched by the point on the 2nd iteration, and the sequence goes on to actually veer away (temporarily) from its final value. However, it still approaches the same limit as the sequence continues.

Since binary is simply another way of writing the real numbers, it is easy to show that there is a binary expansion for every real number from 0 to 1. For more discussion on this topic, see The Infinity Series, specifically here. Therefore, the Hilbert Curve visits every point in (and on) the unit square, and is indeed a space-filling curve. We note next that the Hilbert curve actually "overachieves" its goal; it actually visits several points of the unit square multiple times. For example, the point (1/2,1/2) is the limit of the sequence {(0.11,0.11), (0.101,0.101),(0.1001, 0.1001),(0.10001,0.10001),...} as well as of another sequence {(0.01,0.01), (0.011,0.011),(0.0111, 0.0111),(0.01111,0.01111),...}. Thus the function mapping the unit interval onto the Hilbert Curve is not one-to-one though it is continuous. Contrast this with the first function we constructed from the unit interval onto the unit square, which was one-to-one (after resolving the issue of multiple decimal representations) but not continuous.

It is impossible for a function from the unit interval to the unit square to be one-to-one and continuous. Such functions are called homeomorphisms, and two spaces for which is it possible to construct a homeomorphism mapping one onto the other are topologically equivalent in a certain sense. This means that they share certain intrinsic toplogical properties. For example, if a homeomorphism from a space that is connected (see image below) to another space exists, the latter space must also be connected.

Examples of connected and disconnected spaces.    Connected spaces can only have one component (A),  while  disconnected ones have multiple disjoint components (B).

Also, two homeomorphic spaces (this means that there is a homeomorphism from one onto the other) share other connectedness properties. For example, the unit interval has the property that, when any point of it (except an endpoint) is removed, it becomes disconnected. However, the unit square cannot be disconnected by the removal of any single point. Hence the two spaces differ in a topological property that is conserved by homeomorphisms and are not homeomorphic. Therefore, a continuous space-filling curve that is also one-to-one is impossible.

It is also worth noting that the concept of a Hilbert curve can be extended to any finite dimension; in three dimensions, instead of filling the unit square, the curve fills the unit cube. This would be done by dividing the cube into 23 = 8 cubes of side length 1/2 and divding the unit interval into 8 corresponding subintervals for the first iteration, and so on. Generally, the Hilbert curve, like many other mathematical oddities, shatters our intuition when it comes to what properties mathematical objects can possess, and reminds us of the differences between the physical and mathematical worlds.

Sources: Counterexamples in Analysis by Bernard R. Gelbaum and John M. H. Olmsted, Space-filling Curve on Wikipedia, http://upload.wikimedia.org/wikipedia/commons/9/95/Connected_and_disconnected_spaces.svg

Sunday, February 2, 2014

Constructing a Space-filling Curve

This is the second part of a three-part post. For the first, see here.

The previous post introduced the concept of a curve in the plane, presenting it as a type of mapping from one-dimensional to two-dimensional space, with the added condition that it be continuous. Finally, an interesting mapping that fills the unit square was presented. However, this example is not continuous. To show this, we shall demonstrate that a particular sequence {xn} = {x1,x2,x3,...} of points in t-space (the one-dimensional domain of the mapping) converges to a point x, also in the domain of f. Then, we shall show that the corresponding sequence of points {f(x1),f(x2),f(x3),...} does not converge to the image f(x) of the limit of the sequence. This will prove that the mapping is discontinuous.

Let {xn} be the sequence {0.490000...,0.499000...,0.499900...,...}. Clearly this sequence converges to x = 0.500. The sequence in the unit square {(0.400...,0.900...),(0.490...,0.900...),(0.490...,0.990...)}, whose members correspond to the value of f at each member of {xn} converges to (0.500...,0.999...), but the value of f at x is not this value. Rather it is f(0.500...) = (0.500...,0.000...). Thus f is not a continuous mapping. Note that even if the non-terminating decimal expansions were selected for those members of the unit interval where there are two possibilities, the function would still be discontinuous, and one would this time use a sequence of points approaching t = 1/2 from above rather than below.

Though, as mentioned previously, Peano was the first to demonstrate the existence of a continuous space-filling curve, the process described below actually refers to a space-filling curve devised by Hilbert shortly afterward, as it is more straightforward geometrically.

To actually construct a space-filling curve f that is continuous, we make use of a limiting process, which goes through steps called iterations. The first iteration of the process that results in the curve is as shown below:



This is the image of the first iteration of the mapping in the plane, but the way it is constructed is more easily understood when the square is divided into four smaller squares. The part of the curve lying in each smaller square is the image of one-quarter of the unit interval, as illustrated below.



Each subset of the unit interval marked with a Roman numeral is mapped to the corresponding red segment contained within the square marked by the same numeral. Clearly the parametrization of the red curve defined this way is continuous, and is a mapping of the unit interval into the unit square. Also, at each point, the segment is equidistant from the center and edge of the square, so each of the three straight parts is of length 1/2.

The next step is to apply the limiting process. The second iteration of the curve is essentially several smaller connected copies of the first, as shown below.



The second iteration of the limiting process (the blue curve at bottom) consists of four copies of the first iteration (some have been rotated) and segments connecting them so that the curve is continuous. Instead of mapping 1/4 of the unit interval into the segment contained within each square we now cut the interval into 16 regions and map each to the part of the curve within each of the 16 squares of side length 1/4 in the proper order. The first eight squares are numbered by Roman numerals in the diagram.

The process then continues, with each step consisting of four copies of the previous one, rotated in the same manner. On the nth step of the process, we can visualize the mapping as taking each subset of the unit interval of length 1/4n to the portion of the curve contained within a square of side length 1/2n, of which there are 4n in total.

Note in addition that the curve of the first iteration is composed of three segments of length 1/2, and thus has total length 3/2. Since the second iteration is made up of copies of the first scaled down by a factor of 1/2 (to fit in the squares which have half the sidelength of the original), it is made of 12 segments of length 1/4, plus 3 additional segments of this length to connect the copies. Thus the total length of the curve of the second iteration is 15/4. Generally, it is easy to see that, taking into account the segments that must be attached to the copies of previous iterations to connect them, that the length of the nth iteration is 2n - 1/2n. This sequence of lengths increases without bound, and therefore the end result, the Hilbert curve, is a curve of infinite length contained within a finite area.

In the next post, we prove that the Hilbert curve indeed fills the unit square and explore more of its properties and extensions.

Counterexamples in Analysis by Bernard R. Gelbaum and John M. H. Olmsted, Hilbert Curve on Wikipedia