31 August, 2011

random thoughts

Here’s an interesting experiment that you might like to try: ask someone to choose a random number between one and six. Ask them again. And again, six times in all. This is not a scientifically verified statement, but it is very likely that your subject will select six different numbers. Now, it is possible for a random selection to give precisely this result, but it isn’t likely. There are 46,656 possible ways of choosing six numbers from a pool of six, only 720 of which make up a set of six different numbers.

Many years ago, I conducted a similar experiment to that outlined above with a friend. I would roll a single die, behind a screen, and note the result. He would guess the result and write it down. We did this 36 times. When we compared notes, it turned out that my friend had been correct 19 times. Nothing remarkable in that, you might think, but this result is considerably above chance expectations, which would be six correct answers out of 36. But the most interesting part of the result was a sequence in which my friend had written ‘one’ five times in a row. He was correct each time.

This highlights one of the characteristics of randomness: that there are likely to be clusters rather than a roughly even distribution. The next time you see a flock of sheep in a field, if there are no external distractions and the sheep have been grazing for some time, there will be a noticeable concentration of animals in some parts of the field, while other parts will be almost empty. If we assume that the quality of grazing is uniform across the field, the distribution will be random.

Now consider what is not random. Chaos theory is, philosophically, one of the most intriguing theories in modern science, and about ten years ago, when my full-time occupation was editing academic textbooks, it was ‘flavour of the month’ and everyone had something to say on the subject. Most of it was utter drivel, usually because the author simply didn’t understand the theory, but one example stands out as something worse: it was wrong. I was unable to persuade the author of An Introduction to Global Environmental Issues that his definition of chaos theory in the glossary was fundamentally incorrect, precisely because it included the word ‘randomness’:
chaos theory — theory explaining phenomena as being a consequence of inherent randomness in a system. There are mathematical models to simulate chaotic systems.
In the same glossary, chaos was defined as ‘unpredictable or random processes and their consequences’, which is also incorrect.

I had the melancholy satisfaction, later that same year, of watching the Royal Institution Christmas Lectures on TV. These lectures, aimed at children, are given each year by a scientist who is a leader in their particular field. That year, they were delivered by a mathematician, who tackled the subject of chaos theory head on. He was emphatic that there is nothing random about chaos. It is merely predictably unpredictable. I wondered whether the recalcitrant author had been watching, and if so, whether he took on board what he was hearing.

In fact, chaos theory is best explained with reference to the following hypothetical scenario, which in its initial state is a typical example of a linear system. Imagine two bodies that interact through mutual gravitational attraction—a single planet orbiting a star, for example. In this system, any slight change in the velocity of the planet will lead to only a slight change in its orbit at any time in the future, even millions of years later. Such stability means that the position of the planet can be predicted millions of years into the future, the only constraints on the accuracy of prediction being the accuracy of the initial measurements.

However, such simple, linear systems are rare. They are merely approximations of nature or abstractions from it, but the hypothetical model can be made rather more realistic by the addition of a third body—a comet that is also orbiting the star. The comet will be influenced by the planet’s gravity, in the same way that comets in our own solar system are influenced by the planets, especially Jupiter.

We now have a nonlinear system: the planet will orbit the star for ever, but after a finite number of orbits the comet will inevitably approach the planet so closely that it will be thrown out of the system. This system is nonlinear because any tiny change in the comet’s calculated velocity results in changes in its predicted position that grow exponentially with time. Thus, if there is a minuscule mistake in measuring the velocity today, within a relatively short time, a few orbits, it will be impossible to predict even roughly the comet’s position or whether it will have been expelled from the system entirely.

To illustrate this situation, a computer simulation was devised some years ago to predict the number of orbits that such a comet would make before being expelled from the system. This model included only the sun and Jupiter, and the accuracy with which the orbit of the comet was calculated was varied. If all velocities were calculated to a precision of one part in a million, the model predicted that the comet would stick around for 757 orbits. When the accuracy was improved to one part in ten million, the prediction was 38 orbits; one part in one hundred million, 235 orbits; and so on down to one part in ten thousand trillion, when the comet was predicted to disappear after 17 orbits. There was absolutely no tendency for the predictions to approach a single solution with increasing accuracy—increases in the accuracy of the initial measurements had no predictable effect.

Without absolute, infinite knowledge of the comet’s velocity and infinite precision in calculation, its orbit is simply unpredictable. Unexpectedly, this is not an effect of chance. At all points, the orbit is under the direct control of gravitation, and the noted unpredictability arises as a direct result of the instability of the three-body interaction. Instability and nonlinearity are thus defining characteristics of chaos.

In the real world, the most obvious manifestation of chaos is in forecasting future weather. Modern-day weather forecasts are derived from computer simulations, and it is now standard practice to run not one but hundreds of such simulations. In most of these, the results are broadly similar up to five days in advance, but beyond five days this similarity rapidly disappears, and a wide range of different results appear, hence the pointlessness of offering a weather forecast more than five days in advance.

If you’ve been unable to follow this explanation of chaos theory, then the ‘classic’ explanation—that a butterfly flapping its wings in the Amazonian jungle could cause a hurricane in the Atlantic Ocean—is unlikely to be any more helpful. It’s true, of course, but unless it’s explained to you, the point of this analogy—that tiny changes in initial conditions can have massive long-term effects—will be lost, especially when you bear in mind that the opposite scenario, that of a butterfly failing to flap its wings because it has just been eaten by a passing iguana, can have equally devastating consequences.

08 August, 2011

roman holiday

You get but one chance to do something for the first time. This may sound like a statement of the blindingly obvious, but the point I’m trying to make is that if something is exciting to do, that excitement is not as intense the second time around, because you now know what to expect. My friend Barry is a professional driver, yet until Saturday he’d never driven over any of the Lake District’s most notorious passes. He has now.

Our journey began in Penrith, on the eastern fringe of the Lake District, but the excitement started only when we reached the village of Grasmere, one-time home of William Wordsworth and a tourist magnet for that reason. The road from here to Great Langdale ascends the notorious Red Bank, and we were given some advance warning of the difficulties ahead by a road sign at the turn-off from Grasmere’s main street: ‘DO NOT USE SATNAV’, alongside an icon of a crossed-out wagon. Apparently, a few years ago, a large wagon became stuck on the steepest part of the hill for five days, unable to move either forwards or backwards. Some people have far too much faith in modern technology.

This photo is a general view of Langdale (the modifier ‘Great’ is only ever used to distinguish it from the adjacent valley of Little Langdale). The so-called Langdale Pikes (Pike O’ Stickle on the left, Harrison Stickle on the right) are probably the most recognizable mountain profiles in the entire district.

When we reached the head of the valley, there was only one way to go: over the hill into Little Langdale. This single-track road has a few twists and turns, and one or two steep bits, but I knew that the real test of driving ability still lay ahead. Barry didn’t.

Unfortunately, we reached Little Langdale just in time to see a line of cars heading for Wrynose Pass. It’s time to introduce the first rule for tackling this kind of road: if there’s traffic ahead, pull over for a few minutes to allow it to get further ahead. Most people driving on these roads are visitors who have never been on such roads before, and it’s my guess that many are terrified when they discover how difficult the driving conditions are. If there is a car immediately in front of you, it is important to anticipate that its driver may stop suddenly, particularly on one of the many steep hairpin bends, because they lack the ability to steer around the bend and maintain forward momentum at the same time. By hanging back, you gain the ability to attack the hills without fear of being impeded.

On the Little Langdale side of Wrynose Pass, a road sign warns of gradients up to 30% ahead, but this refers to the conditions on Hardknott Pass. The maximum gradient on Wrynose is probably about 22%.

This photo shows the descent from Wrynose Pass into Wrynose Bottom, which displays the classic U-shaped cross-section typical of glacial erosion. The road up and over Hardknott Pass can be seen straight ahead in the distance. Between the two passes lies Cockley Beck Farm, the most remote dwelling in the Lake District (the only other means of access is a single-track road that comes up the valley from the south and is itself not easy to find unless you know what you’re looking for).

The Eskdale side of Hardknott Pass. The white car is negotiating one of the nastiest hairpins.

On the descent from the summit of Hardknott, the road passes close to the remains of Mediobogdum, a Roman fort built between AD 120 and 138. There are no signposts on the road itself, so most people drive past without realizing that there is anything of historical interest in the area. However, there is room for about eight cars to park, and a detour to view the fort’s remains is well worth the effort:

There is a gate in the centre of each side of the fort. This is the remains of the eastern gate.

The remains of the fort's granary, looking west. The walls in the middle distance are the fort's perimeter walls.

Looking down Eskdale from the fort. This tranquil valley would not have been so picturesque in Roman times.

I cannot visit this site without contemplating what the Roman legionaries might have thought about being stationed in such a wild location, especially as, in line with standard Roman military practice, the garrison came from another part of the empire, Dalmatia in this case. The fort was abandoned towards the end of the fourth century, although the Roman road over Hardknott continued in use as a packhorse trail until the nineteenth century. The present road over the pass was constructed after the Second World War following use by the Ministry of Defence for tank training during the war.

You have been warned! This is where it all starts on the Eskdale side. Note the walls, which have been built without mortar. Such dry-stone walls are a longstanding Lake District tradition.

In the early 1970s, I was hitch-hiking north along the M6 towards Penrith when I was offered a lift with someone going to Whitehaven, on the Cumbrian coast west of Penrith. I asked him how he planned to get there, and he showed me his copy of the AA (Automobile Association) members’ handbook, which in those days was a limited atlas of Britain’s road network, with no details other than the thickness of lines as a guide to the importance of the road. There, he said, pointing to the line indicating Wrynose and Hardknott.

As any hitch-hiker knows, getting a lift is always uncertain, so when you have a chance to get all the way home with the current lift, well, I couldn’t resist. You do realize that some of that road is steeper than 1 in 3, and the bends are extremely tight, and the steepest parts are the bends, I asked. I can recommend a faster way: simply turn left at Penrith and keep going. I like to think that I did him a favour. When I worked in Eskdale around that time, I always took the long way round. Despite being more than 20 miles longer, it was considerably faster than the direct route over the passes. It’s the way we came home too.