Tag Archives: complexity

Fun Science: Chaos

The common concept of chaos as the disordered unknown is a concept thousands of years old. Chaos as a branch of mathematics refers to an extremely ordered but complex behavior. In some lights, mathematical chaos might seem utterly random; different inspections reveal order. The first model of chaos emerged in the 1950s to model the movement of air in the atmosphere– the Lorenz model.

Defining Chaos in Mathematics

First, let’s discuss what chaos is in a mathematical sense (chaos on scholarpedia). In daily language, we would assume that something chaotic is not at all predictable. Chaos is deterministic, which means that if we know the position or value of a chaotic element exactly, then we know every value that it will ever have for all times. Many non chaotic systems are deterministic also; if we measure the position and velocity of a pendulum and its frictional loss, we can predict its path for all time.

If we are measuring some value, there is a limit to our possible accuracy. If you measure your weight, you are measuring your weight plus or minus some error associated with the instrument. We know some scales are more accurate, and some are less accurate. When we measure the position and velocity of the pendulum, there is some error, but the behavior at position x plus a little bit (or x+ε) is essentially identical to the behavior at position x. In a chaotic system, the paths following positions x+ε and x will be entirely different after some window of time. The paths will be similar for some window of time; the length of this window is determined by how chaotic the system is. This behavior is known as sensitive dependence upon initial conditions (or more famously, the butterfly effect).

The lower half of the image below shows the difference between two paths starting at x+ε and x in the Lorenz attractor. The paths are nearly the same, until they quickly become very different. You can look at the Lorenz attractor in more detail and play with it here. The link goes to a Java applet hosted by Caltech where you can change the parameters and see what happens in a time series and in a different representation called the state space.

The above image also shows the third of the three most common criteria for chaos: periodicity. This means that the system oscillates in some kind of way. The top half the picture above shows the time series of z variable (see link above for the full model if you are interested). If we plot the data in a different way, we get the image below. This image is called the Lorenz attractor. We see it loops around, but that it is bounded in space. That is, there are places we can say the path will not go. Intriguingly, the Lorenz attractor has a fractal dimension of 2.06. For more on fractals, you can read my posts on fractals and fractal dimensions.

Simple example of chaos: the double pendulum

Many pretty simple systems can exhibit chaos. The easiest example is the double pendulum, which is just a pendulum whose bottom is the top for a second pendulum.  The video below shows the complexity of behavior achieved by the double pendulum. Chaos has also been demonstrated in electrical circuits, biological systems, electrochemical reactions and planetary orbits. In another post, I will write about the amazingly universality of chaos, which shows how all of the diverse systems I listed are in fact very similar.

Advertisement

Fun Science: Synchrony

Have you ever wondered why fireflies flash at the same time ? Or how the heart contracts and relaxes? Why they had to shut down the Millennium Bridge in London for repairs? These are all questions related to synchrony. (See the following papers about these questions if you are interested in the mathematics: J Buck, 1988, Quar Rev Biol; Strogatz, 2000, Physica D; Strogatz et al, 2005, Nature; Michaels et al, 1987, Circulation Res.)

By synchrony, I am talking about the tendency of systems that periodically do something to align into patterns. This periodic action could be contracting (heart cells), chirping (crickets), firing (neurons), stepping (people walking), swinging (pendulums)… you get the idea. Synchrony can apply to the simplest or the most complicated interacting items, from transistors to crickets and neurons and people. The study requires only some kind of repetitive action.

How do all these systems synchronize? The elements communicate in some way. At a concert, thousands of people can clap together at the same beat because they hear each other. In the example below, 32 metronomes synchronize because the table is not fully rigid. Each metronome is slightly disturbed by the shaking in the table, and is slightly changed by it. As a dominant timing emerges, the metronomes synchronize. And each metronome retains its natural character– no oscillators stop or become greatly faster to achieve synchrony.

Synchrony isn’t always desirable. When the Millennium Bridge was opened, it was a new kind of bridge design. As thousands of people crossed it, it began to sway from side to side. Due to the slight swaying, people trying to maintain their balance began stepping with this rhythm, adding energy to this rhythm. This continued to the point where the bridge swung visibly. It was shut down, and dampening was added. The Millennium Bridge was similar to the famous Tacoma Narrows bridge, except that thousands of people had to act in unison to activate the resonant frequency. Synchrony is also believed to play a role in epilepsy. The theory is that a strong synchronous signal emerges, and this signal overwhelms the normal functions in the brain. So when we study synchrony, we wish to understand how it arises, and sometimes how to destroy it.

I study synchrony in electrochemical oscillators. Drop me a note or a comment if you have questions or thoughts.

Some more cool videos:

And a topic for future discussion, chaos

  • Chaotic double pendulum– amazingly, something as simple as a pendulum with two vertices exhibits some wild and chaotic behavior.