Skip to main content

Authors in a Markov matrix: Which author do people find most inspiring? (18)


Let's back to the question, how does the number of inhabitants looks like many years later. Before we perform the calculation, let's make some hypotheses and check them out. Why do we make some hypotheses? Since it is the fun of mathematics. If I predict something based on mathematics, then I can check it out by calculation. If my prediction is correct, that's the fun. It is like my plan succeeded in my chess game.

One thing is clear, the total number is 1000 since no one is born or die and these people always stay in one of the cities.
  • Hypothesis 1: One day, all the inhabitants move to Berlin since the ratio of staying Berlin (0.8) is larger than that of the Potsdam (0.7).
This hypothesis seems not correct. The amount of outgoing people is 20% of the inhabitants of Berlin, when Berlin inhabitants increased, the total amount of people is larger than the incoming amount. For example, When Berlin's inhabitants is 900, 20% of it is 180, on the other hand, Potsdam's inhabitants is 100, 30% of it is 30 which is smaller than 180. In fact, Potsdam's inhabitants increased at the first year and second year.

  • Hypothesis 2: the inhabitant of Potsdam increased \(100 \rightarrow 250 \rightarrow 325\) in these two years. However, one point, the number of inhabitant of Potsdam becomes enough large, then inhabitant of Potsdam will decrease. Some years later of that, the inhabitants of Berlin becomes larger than Potsdam. Repeating that, the number of inhabitants of the cities may oscillates.

Let's try some computation with octave to check this hypothesis 2. (Nowadays I may rely on computer too much. In old time, people first ``think'' and prove the following...)

octave:5> M^3 * p
   637.50
   362.50
octave:6> M^4 * p
   618.75
   381.25
octave:7> M^10 * p
   600.29
   399.71
octave:8> M^100 * p
   600.00
   400.00

It seems there is no oscillation, but the number of inhabitants converges to a specific value. 100 years later, Berlin has 600 people, and Potsdam has 400 people. Figure 11 shows this change.
Figure 11: Population history of Berlin and Potsdam.
Initially, Berlin has 1000 people, Potsdam has 0 people. The population goes to Berlin 600, Potsdam 400 and then there is no change anymore.

You might notice the intermediate results has fraction. We computed number of people and you might think what is 600.29 people means. Because we first assume the ratio of moving people 0.2. This doesn't happen in reality. In reality, some people move and then we can think how much percentage people was moved. However, this is not completely nonsense. For example, moving out ratio of a city or birth ratio of a city don't change so drastically in a year. It is a good guess next year is the same ratio. The calculus has more sophisticated guessing method, but, we will stick this guess. Current guess is called first order approximation. Making a plan with such guess is not so bad compare to assuming completely different number. We could interpret the fraction as some people spent a few months in Berlin and rest of the months in Potsdam.

By the way, is this result depends on the initial state? In other words, are these conversing numbers the property of the matrix only, or the property of both the matrix and the initial population vector? Let's see this in the next article.

Comments

Popular posts from this blog

Why parallelogram area is |ad-bc|?

Here is my question. The area of parallelogram is the difference of these two rectangles (red rectangle - blue rectangle). This is not intuitive for me. If you also think it is not so intuitive, you might interested in my slides. I try to explain this for hight school students. Slides:  A bit intuitive (for me) explanation of area of parallelogram  (to my site, external link) . 

Geometric Multiplicity: eignvectors (2)

If eigenvectors of a matrix A are independent, it is a happy property. Because the matrix A can be diagonalized with a matrix S that column vectors are eigenvectors of A . For example, Why this is a happy property of A? Because I can find A's power easily. A^{10} is not a big deal. Because Λ is a diagonal matrix and power of a diagonal matrix is quite simple. A^{10} = SΛ^{10} S^{-1} Then, why if I want to compute power of A ? That is the same reason to find eigenvectors. Eigenvectors are a basis of a matrix. A matrix can be represented by a single scalar. I repeat this again. This is the happy point, a matrix becomes a scalar. What can be simpler than a scalar value. But, this is only possible when the matrix S's columns are independent. Because S^{-1} must be exist. Now I come back to my first question. Is the λ's multiplicity related with the number of eigenvectors? This time I found this has the name. Geometric multiplicity (GM): the number of in...

Tezuka Osamu's Black Jack, "Shrinking"

I like several novel authors. My first favorite author is probably Teduka, Osamu. I still love him. The list grows by adding Hoshi, Shinichi, Agatha Christie, Hermann Hesse, and so forth. My first favorite article of Tezuka was Atom as most of the (boy's) Tezuka fans did. But my favorite is Black Jack. I try to summarize one story, it is still quite vivid in my memory. I first read this story when I was 13 - 15 years old. I re-read it at least several times since Black Jack is composed of many short episodes. The title should be "ちぢむ (SHRINKING)" or it might be "縮む(Shrinking)". (It is not so convenient to translate this to English, since English does not have a system to say the exact same word in several ways. So I just simulate it with capital letters.) Black Jack is a genius surgeon, but he does not have the license. In short, his medical activity is illegal. His skill is top level in the world, but, the fee is also out-of-law expensive. In the story ...