Chaos Theory
What a seemingly strange name for a discipline! What is this chaos to which mathematicians and scientists make allusions? Maybe they're living in a grand illusion? And, no, I am not speaking of the holographic universe model nor especially one with Charon ferrying people across a river.
Let me first make a very important note. Mathematics and science in general that is publicly funded is all about story-telling and even more about marketing (although, one could argue that there is a lack of good marketing for mathematics).
As the story unfolds, observers see the playfulness that comes with the territory. Often, sexual innuendos dot the landscape. If you do not think that certain concepts and phrases--the pigeon hole principle, groups, group actions, the center of a group action, dirty data, cleaning dirty data, etc.--are innuendos, then I dunno what to tell you. Maybe it's me that thinks certain terms used in mathematics and science are made to sound sexual. I have no idea since no one comes right out and says anything along this line of thought, mainly due to societal norms and political correctness. However, the metaphor is always in the back of my mind.
Anyway, let us return to ChA0s ...
History of Chaos Theory
Chaos was originally termed by T. Y. Li and James A. Yorke in their seminal paper Period 3 Implies Chaos
and was originally observed by Lorenz when conducting weather simulations. Lorenz found that if he used slightly different parameters (but relatively close!) for the input of his simulations, the results of the simulation would range wildly, seemingly in a (deterministically known) chaotic fashion. This observation became known as Sensitivity to Initial Conditions.
Chaos as Mixing
Chaos, in a nutshell, can be seen as a type of 'mixing theory.' Since 'chaos' sounds more sexy than 'mixing' (although, mixing can be a little sexy -- my mind goes back to college mixers), and probably since it was the original term, the field is Chaos Theory as opposed to Mixing Theory. The nomenclature probably also comes from looking at fractals at odd hours of the day and staring at the seemingly random and chaotic patterns that emerge from following simple rules. These visualizations provide an alternative (beyond algebra and analysis) to study Chaos Theory.
The Mandelbrot Set
The 'Sea-horse' Valley
I had a mathematics professor during my undergraduate years who described Chaos Theory as mixing theory to me. At the time, we were researching Symbolic Dynamics and considering a generalization of the Tent Map to a map with N piecewise linear functions with the same slope on the unit interval.
Q: What is being mixed?
A: Points in a space.
One considers a function F
that takes as input a point in domain (or space) and spits out as a result a different point that same domain. Mathematically, we write F : D -> D
.
In Symbolic Dynamics, you subdivide your domain into finite pieces and label them, say from
X_1, X_2, ..., X_n
.
With the unit interval, i.e. D = [0,1]
, you can let X_1 = [0, 1/n), X_2 = [1/n, 2/n), ..., X_i = [(i-1)/n, i/n), ..., X_n = [(n-1)/n, 1]
. One then wants to study the differences in the itinerary of two points, x and y, in the space. An itinerary is constructed by re-using the output as a new input using the function F
.
Often, we want to consider neighboring points, or points that within some specified distance from one another. This information tells us how the space becomes 'mixed' over time (if it even does!) as you iterate over the same function. The basic notion is that if two points are close to one another initially, then eventually over time (which means more iterations), the itineraries will be vastly different.
What happens in chaotic systems is that the itineraries of two points match closely for awhile, the points separate and move apart, and then over more iterations of the function, will come back together. This pattern is repeated over and over again in 'chaotic systems.'
Let us consider a simple example.
Let us look at the Tent Map (named, because it looks like a simple tent) on the unit interval. This function is
F : [0,1] -> [0,1] with the rule for F being
F(x) = 2x, if x < 1/2
F(x) = -2x + 2 if x >= 1/2.
Let's label the two intervals [0,1/2) = A
and [1/2,1] = B
Now, we want to consider the itineraries of x =(.5)^.5
and y=0.7071
in terms of A and B. These two points are close in their initial conditions, but by comparing the symbolic itinerary, we will observe that the itineraries diverge, converge, diverge, etc., in a (deterministic) chaotic fashion.
We write F^{k}(x)
to indicate the k'th
iteration of the function F on a point x
. Let's compare the first 30 'stops' in the itineraries for x and y, in terms of their location on the map.
We compute quickly that the chosen 'x' and 'y' have 17 iterations in common (including the initial starting location), and we see that as soon as divergence occurs (which will happen if the points are unique), that when the itineraries converge is (deterministically) random.
Here are the two itineraries :
Itinerary(x) = BBBABBBBBAAAABBABAAABABABAB
Itinerary(y) = BBBABBBBBAAAABBABBAAAAABBBA
Now, one can partition a domain in a multitude of ways, 2-way partitions, 3-way partitions, .., k-way partitions and play this same game again and compare the itineraries of different points.
Fixed points
A fundamental object of study in Chaos Theory is the notion of a 'fixed point in space'. This means that given a function F
on a domain D
, what are all the points in the space that always gives the same output as input, i.e. F(x) = x
.
When viewed from the Symbolic Dynamics world, this is saying that from all iterations onward, the location of a point is in the same labeled portion of the space.
Formally, we would say that there exists a finite k
such that for all l > k, F^{l} = X_i.
The two fixed points of the tent map are thus x = 0 and x = 2/3.
Period-k points
We can extend the notion of fixed points of a map and the (uninteresting) Symbolic Dynamics that comes with these fixed points to periodicity k points. Mathematically, we are then solving for points that satisfy
F^{k}(x) = x
.
If we move over to the Symbolic Dynamics world, then a point x
has periodicity k if its itinerary repeats itself at every k'th step.
Conclusion
So, Li and Yorke's main result says that if you have an iterative function and if you can find a point that has periodicity 3, then (mathematical) chaos ensues. It doesn't matter what the function is, as long as there exists a 3-periodic point!
The Aftermath
One can start delving into stranger territories like 'invariant spaces', mixing with respect to fluids as they flow over time (a question to ask does one expect complete mixing of a fluid or not?), Mandelbrot sets and their corresponding Julia Sets, visualizations of other functions iterations over time, Newton basins of attraction, properties of the itineraries of irrational and rational points, etc.
Newton Basins of Attraction
Some Julia Sets
Cool fact
Instead of the tent map, consider the map:
F(x) = 2*x, if x < 1/2
F(x) = 2*x - 1, if x >= 1/2
Instead of labeling the locations of the points as A or B, we will use 0 or 1, with the same convention as before. It turns out that the itinerary of a point is the same as its binary expansion! Crazy, huh?!
What's even cooler is that one can generalize the binary expansion to any finite number of k symbols and find any point's k-ary expansion by constructing the right function.
Exercise : What's this function look like?
The double-pendulum is a great example of chaos in action and how the ever slightest change in initial conditions causes the system to get out of whack pretty quickly. Another cool example are the spaghetti models used to predict the track of hurricanes. Several may all point in one general direction, but one is totally off because of a slight change in the model. Even with our advanced supercomputers, we are not very precise when it comes to weather forecasting. Back when hurricane Charlie hit Florida several years ago, my friend evacuated to Orlando thinking we were going to have a direct hit (Pinellas/Tampa), but in the last 24 hours it moved inland and hit Puta Gorda. We had nothing where we were, but Orlando was actually hit pretty hard.
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Is it possible to say chaos is opposite of attractors? If chaos is sensitivity to initial conditions - huge differences from slight differences; and attractors non-sensitivity to initial conditions - slight differences from huge differences? Or how should I think about this?
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Attractors and detractors in chaos theory are intimately related to fixed points. In fact, fixed points and detractors / attractors are the same.
What changes is the fundamental behavior that occurs around each fixed point.
In 2-space, this can be catalogued with the derivative of the iterative function F at the point x. The slope of the tangent line and its magnitude determine two properties : attraction and spirality. This can also be characterized by eigenvectors and eigenvalues of a dynamical system, if you consider a dynamical system in discrete updates as being the results of the iterative function, and the iterative function being an update function, like Euler's method, or any other such choice.
In 3 (and higher) spaces, the type of fixed point, be it an attractor or detractor, depends on the direction at which the fixed point is approached in space.
A fixed point may be both repelling and attracting, but how you approach, i.e. the direction that is chosen, the fixed point determines which of these it is.
Attraction is related to a fixed point's eigenvalues in that if all the real parts of the eigenvalues are negative, then the fixed point is an attractor.
But if some eigenvalues are negative and some are positive, one needs to consider the path that approaches the fixed point.
One does this by considering the so-called eigenbasis, i.e. a basis of the space that is given by the (generalized) eigenvectors.
Now, locally, you can re-orient the frame about the fixed point in terms of a different basis. Just take your right-hand and do the right-hand rule with it. Now, the thumb and the index and middle fingers form the 3 different vectors in 3-space. If you slightly deform them, you can make the vectors not orthogonal to one another. And then you can also rotate your hand in any way. The vectors that your 3 fingers are pointing in are still a basis of 3-space, and if you think of the centroid of those three fingers as the fixed point, you are then considering a basis about that point.
Now, consider, for simplicity, any smooth path towards a fixed point. If we look at the direction of the tangent line at a particular moment in time on our path, we can then rewrite this vector in terms of our eigen basis. The weight of each eigenvector, i.e. the corresponding coefficient in the linear combination, tells us to what extent that eigen vector plays a role in the current direction that is used for the approach to the fixed point in question, which in turn then tells us how much attraction / detraction that is happening for that path. This is done by looking at the eigenvalues of which eigenvectors have the most 'weight' for a particular apprach.
In other news, if one of the eigenvalues is complex, one sees spirality in the direction of the eigenvector that corresponds to that complex eigenvalue.
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Upvote for the first mention on Steemit that I have heard of eigenvalues.
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Thanks for the thorough explanation!
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
so, the 3d space in a 3d software and particle emitters in such softwares are all based on chaos theory as portrayed in this article?
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
I'm not sure I understand. When I say 3-D space, I mean, 3-D Euclidean Space or a different space with 3 variables.
3-D space in software is 3-D Euclidean Space. The 3-D space in particle emitters is probably also 3-D space, if you think of the coordinate system of the particles as consisting of an (x,y,z) or (r,z,phi) position.
If you mean if you have a particular simulator and the particles are bouncing / moving around, and they are doing so based on some initial conditions, and you want to compare how slightly different initial conditions will give different simulation results, then yes.
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Yes, That is what I understood from your article. Cool Stuff!!!
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Here is my greatest disappointment with chaos theory
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Oh I like this!! Thank you and Namaste.
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Thanks for the math lesson.
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit