Archive for Cosmic Web.

Colour in Fourier Space

Posted in The Universe and Stuff with tags , , , , , on February 9, 2010 by telescoper

As I threatened promised after Anton’s interesting essay on the perception of colour, a couple of days ago, I thought I’d write a quick item about something vaguely relevant that relates to some of my own research. In fact, this ended up as a little paper in Nature written by myself and Lung-Yih Chiang, a former student of mine who’s now based in his homeland of Taiwan.

This is going to be a bit more technical than my usual stuff, but it also relates to a post I did some time ago concerning the cosmic microwave background and to the general idea of the cosmic web, which has also featured in a previous item. You may find it useful to read these contributions first if you’re not au fait with cosmological jargon.

Or you may want to ignore it altogether and come back when I’ve found another look-alike

The large-scale structure of the Universe – the vast chains of galaxies that spread out over hundreds of millions of light-years and interconnect in a complex network (called the cosmic web) – is thought to have its origin in small fluctuations generated in the early universe by quantum mechnical effects during a bout of cosmic inflation.

These fluctuations in the density of an otherwise homogeneous universe are usually expressed in dimensionless form via the density contrast, defined as\delta({\bf x})=(\rho({\bf x})-\bar{\rho})/\bar{\rho}, where \bar{\rho} is the mean density. Because it’s what physicists always do when they can’t think of anything better, we take the Fourier transform of this and write it as \tilde{\delta}, which is a complex function of the wavevector {\bf k}, and can therefore be written

\tilde{\delta}({\bf k})=A({\bf k}) \exp [i\Phi({\bf k})],

where A is the amplitude and \Phi is the phase belonging to the wavevector {\bf k}; the phase is an angle between zero and 2\pi radians.

This is a particularly useful thing to do because the simplest versions of inflation predict that the phases of each of the Fourier modes should be randomly distributed. Each is independent of the others and is essentially a random angle designating any point on the unit circle. What this really means is that there is no information content in their distribution, so that the harmonic components are in a state of maximum statistical disorder or entropy. This property also guarantees that fluctuations from place to place have a Gaussian distribution, because the density contrast at any point is formed from a superposition of a large number of independent plane-wave modes  to which the central limit theorem applies.

However, this just describes the initial configuration of the density contrast as laid down very early in the Big Bang. As the Universe expands, gravity acts on these fluctuations and alters their properties. Regions with above-average initial density (\delta >0) attract material from their surroundings and get denser still. They then attract more material, and get denser. This is an unstable process that eventually ends up producing enormous concentrations of matter (\delta>>1) in some locations and huge empty voids everywhere else.

This process of gravitational instability has been studied extensively in a variety of astrophysical settings. There are basically two regimes: the linear regime covering the early stages when \delta << 1 and the non-linear regime when large contrasts begin to form. The early stage is pretty well understood; the latter isn’t. Although many approximate analytical methods have been invented which capture certain aspects of the non-linear behaviour, general speaking we have to  run N-body simulations that calculate everything numerically by brute force to get anywhere.

The difference between linear and non-linear regimes is directly reflected in the Fourier-space behaviour. In the linear regime, each Fourier mode evolves independently of the others so the initial statistical form is preserved. In the non-linear regime, however, modes couple together and the initial Gaussian distribution begins to distort.

About a decade ago, Lung-Yih and I started to think about whether one might start to understand the non-linear regime a bit better by looking at the phases of the Fourier modes, an aspect of the behaviour that had been largely neglected until then. Our point was that mode-coupling effects must surely generate phase correlations that were absent in the initial random-phase configuration.

In order to explore the phase distribution we hit upon the idea of representing the phase of each Fourier mode using a  colour model. Anton’s essay discussed the  RGB (red-green-blue) parametrization of colour is used on computer screens as well as the CMY (Cyan-Magenta-Yellow) system preferred for high-quality printing.

However, there are other systems that use parameters different to those representing basic tones in these schemes. In particular, there are colour models that involve a parameter called the hue, which represents the position of a particular colour on the colour wheel shown left. In terms of the usual RGB framework you can see that red has a hue of zero, green is 120 degrees, and blue is 240. The complementary colours cyan, magenta and yellow lie 180 degrees opposite their RGB counterparts.

This representation is handy because it can be employed in a scheme that uses colour to represent Fourier phase information. Our idea was simple. The phases of the initial conditions should be random, so in this representation the Fourier transform should just look like a random jumble of colours with equal amounts of, say, red green and blue. As non-linear mode coupling takes hold of the distribution, however, a pattern should emerge in the phases in a manner which is characteristic of gravitational instability.

I won’t go too much further into the details here, but I will show a picture that proves that it works!

What you see here are four columns. The leftmost shows (from top to bottom) the evolution of a two-dimensional simulation of gravitational clustering. You can see the structure develops hierarchically, with an increasing characteristic scale of structure as time goes on.

The second column shows a time sequence of (part of) the Fourier transform of the distribution seen in the first; for the aficianados I should say that this is only one quadrant of the transform and that the rest is omitted for reasons of symmetry. Amplitude information is omitted here and the phase at each position is represented by an appropriate hue. To represent on this screen, however, we had to convert back to the RGB system.

The pattern is hard to see on this low resolution plot but two facts are noticeable. One is that a definite texture emerges, a bit like Harris Tweed, which gets stronger as the clustering develops. The other is that the relative amount of red green and blue does not change down the column.

The reason for the second property is that although clustering develops and the distribution of density fluctuations becomes non-Gaussian, the distribution of phases remains uniform in the sense that binning the phases of the entire Fourier transform would give a flat histogram. This is a consequence of the fact that the statistical properties of the fluctuations remain invariant under spatial translations even when they are non-linear.

Although the one-point distribuition of phases stays uniform even into the strongly non-linear regime, they phases do start to learn about each other, i.e. phase correlations emerge. Columns 3 and 4 illustrate this in the simplest possible way; instead of plotting the phases of each wavemode we plot the differences between the phases of neighbouring modes in the x  and y directions respectively.

If the phases are random then the phase differences are also random. In the initial state, therefore, columns 3 and 4 look just like column 2. However, as time goes on you should be able to see the emergence of a preferred colour in both columns, showing that the distribution of phase differences is no longer random.

The hard work is to describe what’s going on mathematically. I’ll spare you the details of that! But I hope I’ve at least made the point that this is a useful way of demonstrating that phase correlations exist and of visualizing some of their properties.

It’s also – I think – quite a lot of fun!

P.S. If you’re interested in the original paper, you will find it in Nature, Vol. 406 (27 July 2000), pp. 376-8.

The Cosmic Web

Posted in The Universe and Stuff with tags , , , , , on November 23, 2009 by telescoper

When I was writing my recent  (typically verbose) post about chaos  on a rainy saturday afternoon, I cut out a bit about astronomy because I thought it was too long even by my standards of prolixity. However, walking home this evening I realised I could actually use it in a new post inspired by a nice email I got after my Herschel lecture in Bath. More of that in a minute, but first the couple of paras I edited from the chaos item…

Astronomy provides a nice example that illustrates how easy it is to make things too complicated to solve. Suppose we have two massive bodies orbiting in otherwise empty space. They could be the Earth and Moon, for example, or a binary star system. Each of the bodies exerts a gravitational force on the other that causes it to move. Newton himself showed that the orbit followed by each of the bodies is an ellipse, and that both bodies orbit around their common centre of mass. The Earth is much more massive than the Moon, so the centre of mass of the Earth-Moon system is rather close to the centre of the Earth. Although the Moon appears to do all the moving, the Earth orbits too. If the two bodies have equal masses, they each orbit the mid-point of the line connecting them, like two dancers doing a waltz.

Now let us add one more body to the dance. It doesn’t seem like too drastic a complication to do this, but the result is a mathematical disaster. In fact there is no known mathematical solution for the gravitational three-body problem, apart from a few special cases where some simplifying symmetry helps us out. The same applies to the N-body problem for any N bigger than 2. We cannot solve the equations for systems of gravitating particles except by using numerical techniques and very big computers. We can do this very well these days, however, because computer power is cheap.

Computational cosmologists can “solve” the N-body problem for billions of particles, by starting with an input list of positions and velocities of all the particles. From this list the forces on each of them due to all the other particles can be calculated. Each particle is then moved a little according to Newton’s laws, thus advancing the system by one time-step. Then the forces are all calculated again and the system inches forward in time. At the end of the calculation, the solution obtained is simply a list of the positions and velocities of each of the particles. If you would like to know what would have happened with a slightly different set of initial conditions you need to run the entire calculation again. There is no elegant formula that can be applied for any input: each laborious calculation is specific to its initial conditions.

Now back to the Herschel lecture I gave, called The Cosmic Web, the name given to the frothy texture of the large-scale structure of the Universe revealed by galaxy surveys such as the 2dFGRS:

One of the points I tried to get across in the lecture was that we can explain the pattern – quite accurately – in the framework of the Big Bang cosmology by a process known as gravitational instability. Small initial irregularities in the density of the Universe tend to get amplified as time goes on. Regions just a bit denser than average tend to pull in material from their surroundings faster, getting denser and denser until they collapse in on themselves, thus forming bound objects.

This  Jeans instability  is the dominant mechanism behind star formation in molecular clouds, and it leads to the rapid collapse of blobby extended structures  to tightly bound clumps. On larger scales relevant to cosmological structure formation we have to take account of the fact that the universe is expanding. This means that gravity has to fight against the expansion in order to form structures, which slows it down. In the case of a static gas cloud the instability grows exponentially with time, whereas in an expanding background it is a slow power-law.

This actually helps us in cosmology because the process of structure formation is not so fast that it destroys all memory of the initial conditions, which is what happens when stars form. When we look at the large-scale structure of the galaxy distribution we are therefore seeing something which contains a memory of where it came from. I’ve blogged before about what started the whole thing off here.

Here’s a (very low-budget) animation of the formation of structure in the expanding universe as computed by an N-body code. The only subtlety in this is that it is in comoving coordinates, which expand with the universe: the box should really be getting bigger but is continually rescaled with the expansion to keep it the same size on the screen.

You can see that filaments form in profusion but these merge and disrupt in such a way that the characteristic size of the pattern evolves with time. This is called hierarchical clustering.

One of the questions I got by email after the talk was basically that if the same gravitational instability produced stars and large-scale structure, why wasn’t the whole universe just made of enormous star-like structures rather than all these strange filaments and things?

Part of the explanation is that the filaments are relatively transient things. The dominant picture is one in which the filaments and clusters
become incorporated in larger-scale structures but really dense concentrations, such as the spiral galaxies, which do
indeed look a bit like big solar systems, are relatively slow to form.

When a non-expanding cloud of gas collapses to form a star there is also some transient filamentary structure  but the processes involved go so rapidly that it is all swept away quickly. Out there in the expanding universe we can still see the cobwebs.