Pages

Saturday, January 25, 2014

Introduction to Space-filling Curves

In mathematics, one often encounters curves, often as graphs of functions. In the two-dimensional case, these graphs often come about when a dependent variable y has some relationship with an independent variable x, e.g. the parabola y = x2.



The graph of the function y = x2 is a pictorial representation of this specific relationship between y and x.

Alternatively, we may encounter some more complicated graphs when we allow both x and y to be dependent variables of another variable t, called a parameter. For example, consider the parametric function defined by the two equations y = t2 and
x = t, where we specify that the independent variable t can take any real number value. To graph this function on an xy-plane like before, we find the ordered pair (x,y) for each value of t and graph these points.

The perceptive reader will have noted that, through a simple substitution, the two equations of the parametric function above can be combined into the simple relation
y = x2, the same parabola as before. Thus the graph of our parametric function is precisely the same as that of our original function, and they represent the same curve in the xy-plane. We say that the parabola is parametrized by y = t2, x = t, -∞ < t < +∞, where the inequality specifies the domain of t.

However, though some parametric functions can be easily expressed simply with x and y alone, others do not create a simple, or even single-valued, dependence. Consider the more complicated parametric function y = 3cos(3t) + t, x = sin(t), and its graph in the xy-plane, below (for convenience, t is restricted to the domain -2π/3 < t < 2π on the graph below):



In such a function, substituting to obtain a relation directly between y and x would be much more complicated, and could not be a function of the form y = f(x) anyway as some values of x correspond to multiple values of y. Such curves can also intersect themselves many times, as the one above demonstrates.

Yet another way to look at a parametric function is as a mapping from 1-dimensional space (the "number line" of t) to 2-dimensional space (the xy-plane). In fact, we shall define the term curve as the range in 2-dimensional Euclidean space of such a mapping. We also specify that this mapping must be continuous, i.e. that the graph of the curve does not have any "jumps".

From now on we shall consider only mappings of the unit interval, therefore setting 0 ≤ t ≤ 1. The intuitive idea of the range, or image, of this type of curve in the xy-plane is that it is very "narrow", and does not have any area. For example, for any rectangle in the plane, one can easily measure area, but the area of just one of the sides is zero, or for that matter, the area of all four sides (for more about areas, see here). Only the region contained by the four sides has positive area.

However, in 1890, the Italian mathematician Giuseppe Peano made a remarkable discovery. There is a curve whose domain is the unit interval and whose image (graph) fills the entire unit square! (in the xy-plane, this is defined as the region such that both 0 ≤ x ≤ 1 and 0 ≤ y ≤ 1 are satisfied) In other words, a single line can take up a square, even one mapped from a finite interval.

It is crucial to note the significance of the fact that the mapping is continuous, i.e. produces a curve that fills the unit square. It is relatively "easy" to create a mapping from the unit interval to the unit square without this restriction. One way is through use of a number's decimal expansion (in base 10 notation).

Any number in the unit interval can be written in the form 0.a1a2a3..., where we use 0.999... to obtain 1. Consider the function f defined on the unit interval, that "splits" the decimal expansion into two parts and makes each of these a coordinate of a point in the unit square, with

f(0.a1a2a3a4a5a6...) = (0.a1a3a5,0.a2a4a6...).

To ensure that this function is well-defined, we must "make up our minds" what decimal expansion to use to represent numbers such as 1/2, which equals both 0.5000... and 0.4999.... To remedy this, simply chose as the input of the function the terminating (where terminating means that for some N, n > N implies an = 0; for the terminating decimal expansion of 1/2, set N ≡ 1) expansion. Thus f(1/2) ≡ f(0.5000...) and not f(0.4999...). The diagram below indicates graphically the domain and range of the mapping, along with its effect on a selected point.



The function f defined on the unit interval in t-space has as its range the entire unit square in the xy-plane. To see that the entire square is filled, let (0.a1a2a3...,0.b1b2b3...) be a point of the unit square. Then it is easily seen that 0.a1b1a2b2a3b3... maps to this point under f. Since every point in the unit square can be expressed this way, the mapping fills it in its entirety, confirming that the unit interval has "just as many" points as the unit square.

But is the mapping above continuous? It turns out that it is not. For a proof of this fact, and an example of a space-filling curve (where continuity is required), see the next post.

Sources: Counterexamples in Analysis by Bernard R. Gelbaum and John M. H. Olmsted, Space-filling Curve on Wikipedia

Friday, January 17, 2014

Milankovitch Cycles 3

This is the third part of a series on the celestial cycles that periodically influence Earth's climate. For the first part, see here. For the second, see here.

In the first two parts of this post, two types of precession and their combined effect on the Earth's climate were explored. However, the Earth's orbit, as well as rotating over time, also varies in eccentricity. Currently, the eccentricity of Earth's orbit is about 0.017. However, due to slight perturbations from the other planets, the elongation of the ellipse that is Earth's orbit changes over time, going as low as 0.005 (nearly a perfect circle) and as high as 0.058. The mean value of the cycle is 0.028.

Unlike the variations discussed thus far, eccentricity variation does not have a simple cycle, but is rather a sum of component cycles, with all of the planets adding a contribution, some greater than others. Since these components are of different periods, simply evaluating the period by multiplying yields an exact period longer than the age of the Solar System. Thus one must use an "approximate" period that yields a cyclic variation, but within a certain error margin. Such a approximation yields a period of about 100,000 years, but with error margins that vary considerably.



The above diagram is an analysis of the periods of the eccentricity variations in the Earth's orbit. The x-axis has lengths of periods in thousands of years, organized logarithmically. For example, the value of 3 on the x-axis corresponds to a period of 23*1000 = 8000 years. The y-axis indicates "how closely" the eccentricity variation has a component with a period of a given length. For example, as indicated, there is a peak in the curve labeled "413", meaning that it occurs at 413,000 years. The peak indicates that there is a significant component of the variation with a period of this length.

Overall, the eccentricity variation has the effect of accentuating or dampening the effects of axial and apsidal precession. Before we delve into the climatological effects more fully, one more variation must be considered: axial tilt variation.

In addition, to the Earth's axis precessing in a circular motion, the obliquity of the axis, or the angle between the line through the center of the Earth perpendicular to the plane of the Earth's orbit and the line of the Earth's poles, changes in an approximately periodic manner. This process is also called nutation.



A diagram illustrating the obliquity of the Earth's axis. However, the tilt shown in the figure, which is currently about 23.4°, is not constant. It too changes with time, with a period of about 41,000 years, varying from 22.1° to 24.5° over its cycle.



The image shows the highest and lowest obliquities that Earth's axis experiences during its cycle. The current obliquity is near the midpoint of the two end values and is decreasing towards 22.1°. However, the amplitude of the variation of the obliquity over its period is not constant. The high and low values shown in the above diagram represent the most extreme variation, but some 41,000 year periods have seen variation of less than half a degree.

The Moon, which exerts gravitational forces on the Earth, acts to stabilize the variation in the position of the Earth's axis. It has been estimated that, without the Moon, the Earth's obliquity could vary enormously, on the scale of tens of degrees over its period. The influence that the Moon has on stabilizing the Earth's axis is quite important in keeping climate patterns stable. Without it, the Earth's climate could vary chaotically, with formerly polar regions becoming tropical and vice versa within tens of thousands of years which, though still a long period, would be devastating to delicate ecosystems and biodiversity.

Both of these variations have great effects on climate, the most significant of which are the amplitudes of seasonal variation. Near the highest eccentricity over the period of variation in its orbit, the Earth receives over 20% more sunlight (per unit area) at perihelion than aphelion. Due to the dampening effect of the insulation of Earth's atmosphere, the planet's heat content does not vary to this degree. However, seasonal variation would increase significantly, making these phases of the eccentricity cycle more susceptible to ice ages, as is reflected in paleoclimatological records.

Thus far, we have been treating the properties of the orbit of the Earth and all its effects on climate as if it were lying exactly in the plane of the Solar System. However, the orbit is also inclined from the plane, and this inclination varies. Before discussing the climatological effects of this variance, we must pin down precisely what the "plane of the Solar System" is.

On Earth, we typically consider the positions of bodies in the sky relative to the plane of the ecliptic, which is the plane of Earth's orbit (the ecliptic itself is the "intersection" of this plane with the celestial sphere). However, abandoning this geocentric view, we consider what is called the invariable plane. To find the invariable plane, one must find the barycenter, or center of mass, of the Solar System. The Solar System as a whole (neglecting any internal interactions) behaves as if it is a single object with a mass equivalent to that of the Solar System at its barycenter. The average rotational properties of all bodies of the Solar System provide the angular momentum vector for this ersatz representation of the system, and the invariable plane is defined as the plane passing through the barycenter perpendicular to this vector.



The angular momentum vector for an object is perpendicular to the plane of rotation, as in the top above, where L is the direction of the vector. Similarly, the angular momentum of the imaginary object representing the Solar System is perpendicular to its (again imaginary) plane of rotation.

The Sun, being on top of the center of gravity of the Solar System, does not contribute significantly to its overall angular momentum. The biggest contributions come from the gas giants, particularly Jupiter. The angle between the plane of Earth's orbit and this invariable plane is about 1.57°, which varies with a period of about 100,000 years. The places where the Earth's orbit crosses the invariable plane "going up" and "going down" are called the ascending node and descending node, respectively, and these presently occur on July 9 and January 9, respectively. Note that these nodes can be defined with respect to any plane, but we are taking it to be the invariable plane in this instance.



The above figure is a summary of some other orbital parameters of a celestial body, including the ascending and descending nodes and their longitudes, i.e., their angle from a reference direction in the invariable plane. The inclination of Earth's orbit and the position of these nodes have subtle and varied effects on climate; the positions of the nodes effect where the Earth passes through meteor showers. These, in turn, create atmospheric dust, especially in the polar regions, that form high-altitude clouds, as water vapor clings to the dust particles. These clouds are called noctilucent clouds, and a possible correlation between their abundance and ice ages has been observed in geologic records.

Milankovitch cycles help to explain at least some of the cycles of cooling and warming that the Earth experiences. However, some important disclaimers must be made. First, some feedback mechanisms help to accentuate or dampen any climatological changes brought about by orbital or rotational properties. For example, in a warming period, the polar ice caps shrink, releasing some trapped carbon dioxide that causes further warming. Therefore, even changes that are started by the Milankovitch cycles cannot be solely attributed to the cosmos, as they are but the beginning of a chain reaction here on Earth.

Second, there are many climage changes that cannot be explained through Milankovitch cycles. Large meteoroid impacts, volcanic eruptions, and other Earth-based phenomena could change or even counteract any effect of the orbit on Earth's climate, and often work in much shorter time periods.

Despite these shortcomings, the Milankovitch cycles have explained much about past climate variation on Earth, and may play a significant role in the future. The complicated web of cause and effect between the cycles and various periods of Earth's geologic history is not yet fully elucidated, but many significant correlations have been observed that promise to help us understand our planet's history.

Sources: Milankovitch Cycles on Wikipedia, http://www.clim-past-discuss.net/2/519/2006/cpd-2-519-2006.pdf,http://bugle.imcce.fr/fr/presentation/equipes/ASD/person/Laskar/misc_files/Laskar_Robutel_1993.pdf

Thursday, January 9, 2014

Milankovitch Cycles 2

This is the second part of a series on the celestial cycles that periodically influence Earth's climate. For the first part, see here.

It was discussed in the last post that Earth's orbit, though very closely approximating a conic section, rotates over time with respect to its apsides, mainly due to the gas giants. However, another type of precession must also be considered: axial procession. This precession, rather than being involved with the orbit of the Earth, is concerned with its rotation.



The Earth revolves about an axis through its center, but this axis is not exactly perpendicular to the plane of the Earth and the Sun (see the figure above). Thus, at any given time, portions of the globe receive more sunlight than others over the course of a day. The hemisphere tilted away from the Sun and receiving less solar radiation is experiencing winter, and the hemisphere tilted toward the Sun and receiving more radiation is in summer. Over a complete revolution of the Earth around the Sun, different areas of the Earth are irradiated differently. The angle of the Earth's axis from the imaginary line through the center of the Earth perpendicular to the plane of the Solar system is 23.4°.



In the process of axial precession, the tilt of the axis does not change. The direction of the axis merely follows a circle (the white circle shown in the figure) with respect to the stars. A complete cycle of the axis takes 26,000 years. As this cycle occurs, the Earth's axis will point to different stars, so the "pole stars" will change over the period. For example, the closest fairly bright star to the celestial north pole (the position among the stars found by extending the Earth's axis into space) is currently Polaris, but over the 26,000 year period, the pole will drift, and become close to other stars, notably Vega and Deneb. Axial precession is caused by forces exerted by the Sun and Moon.

In addition to alterations of the appearance of the celestial sphere, axial precession also causes changes in climate. However, while apsidal precession changes the position of the apsides along the Earth's orbit, axial precession slowly shifts the position of the equinoxes along the orbit. To be more specific, the equinoxes move "backward" relative to the revolution of the Earth. This effect leads to some different definitions of the word "year". A sidereal year is the length of time it takes for the Earth to complete a orbit with respect to the stars, and is in many ways the "simplest" way to define a year. The length of the sidereal year is 365.256 days.

But this year is not that on which our calendar is based; our calendar is based on the tropical year, or the length of a complete cycle of seasons. This is loosely equal to the time from one equinox to the next. There is a slight subtlety here, though: the equinoxes do not shift at the same rate due to the eccentricity of the Earth's orbit. Due to the inequality of the lengths of the seasons, the vernal and autumnal equinox do not precess at the same rate. The equinox closer to perihelion "moves faster" than that near aphelion. Averaging the two rates gives the value used in calculating the tropical year. The tropical year is 365.2422 days, a slightly, but meaningfully different value than the sidereal year.

Thus the equinoxes and solstices will stay at approximately the same date on our (Gregorian) calendar, since this calendar is built around the tropical year using the following rules:
  1. A regular year is 365 days
  2. If the year is a number divisible by 4, it is a leap year, containing 366 days
    • This makes the "average" year over a 4-year period equal to 365.25 days
  3. But if a year is divisible by 100, it is not a leap year
    • Over the 100-year period 1900-1999, for example, there were 24 leap years: all years divisible by 4 except 1900
    • This yields an "average" year of 365.24 days
  4. Finally, if the year number is divisible by 400 it is a leap year
    • Over the 400-year period 1700-2099, for example, there are 97 leap years: 96 years divisible by 4 but not 100, three years, namely 1700, 1800, and 1900, that were not leap years, and one year, 2000, which by the above rule was a leap year
    • These rules yield an "average" year over the 400-year period of 365.2425 days
This final value for the average year is only about 0.0003 years off the actual value of the tropical year, equal to an error of about 158 minutes per 400 years. There have been proposals to correct this small error by perhaps making the year 4000 not a leap year, but no such proposal has been passed.

Returning to the effect of axial precession on the climate, it has an essentially the same effect as apsidal precession, in that both cause changes in the equinoxes relative to the Earth's orbit. These two types of precession essentially "add" yielding a period of 21,000 years. What this means is that, relative to the tropical year, which is measured by the equinoxes, the perihelion will return to the same position every 21,000 years. To obtain this figure, consider the time which it takes for an equinox to travel fully around Earth's orbit: 26,000 years. Since the tropical year is shorter than the sidereal year, the equinoxes move backward with respect to the Earth's orbit, i.e. opposite to its direction of motion. In this same time, however, perihelion will shift forward by a certain amount, reducing the time that must elapse before the two again coincide to 21,000 years. Therefore, in this time, the Northern hemisphere winter, initially coinciding with perihelion, will cycle completely, and once again coincide with perihelion at the end of the interval.

However, in addition to traveling through a cycle, the amplitude of the variations of the positions of the Earth's orbit and axis also vary, as we shall see in the next post.

Sources: Milankovitch Cycles, Axial Precession on Wikipedia

Wednesday, January 1, 2014

Milankovitch Cycles

Milankovitch cycles, named after Milutin Milanković, a Serbian mathematician, are the periodic changes in the Earth's orbit and rotation that are the cause of gradual climate changes over periods of tens or hundreds of thousands of years. The composition of all the separate cycles involved yields a fairly complete long-term climactic picture.

In an idealized two-body problem, in which the Earth and the Sun are point masses isolated from the rest of the masses in the Universe, and assuming the orbiting body, the Earth, to be negligible in mass in comparison with the Sun, the bodies behave very predictably. The orbit of the less massive body is a conic section, with the Sun at one of the foci. "Conic section" is the general term for circles, ellipses, parabolas, and hyperbolas, each of which is depicted below.



All of the above conic sections share a focus (the dot at the center of the figure). For a circle, there is only one focus, and it is located at the center of the circle. For all other conic sections, two foci and a additional parameter (variable) determine them uniquely.

The defining property of a conic section, the one which determines its type, is a value known as eccentricity, denoted e. The parameter e is some nonnegative real number. If e = 0, the conic section is a circle. If it is between 0 and 1, the conic section is an ellipse, with the ellipse becoming more elongated as the eccentricity increases from 0 to 1. If e is exactly 1, then the curve is a parabola, and if e > 1, it is a hyperbola. Conic sections of eccentricity less than 1 represent orbits in which the orbiting object is trapped in the gravitational field of the larger object. Such orbits are periodic, and thus repeat after some amount of time. The others, of eccentricity 1 or greater, represent paths of objects in which the gravitational attraction of the larger mass is not enough to trap the smaller object, and it escapes.

These curves represent remarkably accurate approximations to planets' actual orbits, but are slightly different due to perturbations from other planets in their system. These perturbations often cause gradual changes in the shape or position of the orbit over time. We shall now focus our attention to the Earth's orbit.

The eccentricity of the Earth's orbit is about 0.0167, meaning that the orbit of the Earth is very nearly a circle, and only slightly elliptic. However, even this slight elongation causes the Earth to be closer to the Sun in some parts of its orbit than others. Earth's closest point to the Sun is called the perihelion (or periapsis) of the orbit, and the farthest point the aphelion (or apoapsis). These extreme points are called the apsides, and are always opposite one another about the focus.



In the case of the Earth, the difference between aphelion and perihelion is about 3 million miles, or 5 million kilometers, which is not too large relative to its average distance from the Sun of 93 million miles. Despite this, the eccentricity of the Earth's orbit greatly affects our climate. Currently, perihelion occurs during January and aphelion during July, as shown above (the eccentricity is exaggerated for emphasis). However, due to the gravitational influences of the other planets, particularly Jupiter and Saturn, the apsides precess about Earth's orbit. This cycle, called the cycle of apsidal precession, takes place relative to a fixed direction, called the reference direction.



The above figure illustrates apsidal procession, with both eccentricity and rate of precession exaggerated. If we treat the apsidal line of the first orbit (the horizontal line in the figure) as the reference direction, the angle (in the positive counterclockwise sense) that the apsidal line of each subsequent orbit (on the periapsal side) is what is called the angle of periapsis. Over a full cycle of apsidal procession, the angle of periapsis increases by 360°, i.e., the orbit returns to its former position. For the Earth, this cycle takes 112,000 years. This is one of the Milankovitch cycles, and it has a profound impact on our climate.

For the northern hemisphere, perihelion occurs during winter, and aphelion during summer. Since the Earth receives 6.8% more sunlight at perihelion (this figure comes from the fact that the light intensity dies off with squared distance; even though the distance of the Earth at aphelion is only 103.4% of that at perihelion, the light intensity differs by about 6.8%), our planet actually receives more sunlight in northern hemisphere winter than summer. However, the Earth's axial tilt, which we will consider later, dominates this relatively small effect. Currently, apsidal procession slightly dampens the seasonal variations in climate in the northern hemisphere, while accentuating them in the southern hemisphere.

If apsidal procession were the only cause of climactic variance, the state of the northern and southern hemispheres (with respect to the dampening or accentuating of seasonal variances) would reverse in 56,000 years, but apsidal precession is not the only effect on the seasons (see the next post).

One final interesting effect that the apsides have on our seasons is their lengths. The Earth travels slightly faster at perihelion, as it is closer to the Sun, so whatever season the Earth is experiencing at perihelion will be slightly shorter than the opposite season at aphelion, where the Earth is moving at its slowest relative to the Sun. Thus northern hemisphere winter (the time between the winter solstice and vernal equinox) is over four days shorter than summer. Through apsidal precession other seasons will become the longest over the 112,000 year time period.

Sources: Milankovitch Cycles on Wikipedia, http://www.jimloy.com/geometry/conic0.htm, http://huminities.blogspot.com/, http://www.answers.com/topic/why-are-the-lengths-of-the-seasons-not-equal