The same wizard from this problem decides to cast a more complicated transmutation spell, this time with five spell components: copper, tin, silver, lead, and gold. The spell matrix is described below:
⎣ ⎢ ⎢ ⎢ ⎢ ⎡ C t + 1 T t + 1 S t + 1 L t + 1 G t + 1 ⎦ ⎥ ⎥ ⎥ ⎥ ⎤ = ⎣ ⎢ ⎢ ⎢ ⎢ ⎡ 0 . 2 0 . 5 0 . 2 0 . 0 7 5 0 . 0 2 5 0 . 3 0 . 4 0 . 2 0 . 0 5 0 . 0 5 0 . 0 2 5 0 . 0 2 5 0 . 8 0 . 0 5 0 . 1 0 . 0 2 5 0 . 0 7 5 0 . 1 0 . 6 0 . 2 0 0 0 0 . 0 2 5 0 . 9 7 5 ⎦ ⎥ ⎥ ⎥ ⎥ ⎤ ⎣ ⎢ ⎢ ⎢ ⎢ ⎡ C t T t S t L t G t ⎦ ⎥ ⎥ ⎥ ⎥ ⎤
Let ⎣ ⎢ ⎢ ⎢ ⎢ ⎡ C ∞ T ∞ S ∞ L ∞ G ∞ ⎦ ⎥ ⎥ ⎥ ⎥ ⎤ be the wizard's stockpile of metals if the spell is applied indefinitely.
What is G ∞ : ( C ∞ + T ∞ + S ∞ + L ∞ ) , rounded down?
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
The problem immediately reduces to finding the stationary distribution of a Markov chain with the kernel given by P = Q T , where Q is the given coefficient matrix. It can be easily verified that the chain is ergodic (i.e., irreducible and aperiodic). Hence, the unique stationary distribution is obtained by solving the balance equation π P = π . By solving the above system of linear equations with the constraint that ∑ i π i = 1 , we obtain the following stationary distribution π = [ 0 . 0 1 1 9 , 0 . 0 2 0 8 , 0 . 0 6 5 3 , 0 . 0 6 5 3 , 0 . 8 3 6 8 ] . From which, the answer follows.
I got an answer of 5.12727273.
Sorry about that! In a previous edit of this problem I meant to add "rounded down" to the end of the problem. It has now been added. Thanks for pointing this out and I apologize for the confusion.
C : T : S : L : G = 4 : 7 : 22 : 22 : 282
Problem Loading...
Note Loading...
Set Loading...
The approach to solving this problem is the same as in the easier version of Transmutation, with the exception that this problem uses a 5x5 matrix instead of a 2x2 matrix. Simply find the eigenvalues and eigenvectors of the matrix, diagonalize the matrix, and find the limit as t goes to infinity. The code at the very bottom does this process, substituting infinity for a really large value. This isn't a formal proof of the answer, but it gets the job done.
Running the code yields the following matrix:
⎣ ⎢ ⎢ ⎢ ⎢ ⎡ 0 . 0 1 1 8 6 9 4 4 0 . 0 2 0 7 7 1 5 1 0 . 0 6 5 2 8 1 9 0 . 0 6 5 2 8 1 9 0 . 8 3 6 7 9 5 2 7 0 . 0 1 1 8 6 9 4 4 0 . 0 2 0 7 7 1 5 1 0 . 0 6 5 2 8 1 9 0 . 0 6 5 2 8 1 9 0 . 8 3 6 7 9 5 2 7 0 . 0 1 1 8 6 9 4 4 0 . 0 2 0 7 7 1 5 1 0 . 0 6 5 2 8 1 9 0 . 0 6 5 2 8 1 9 0 . 8 3 6 7 9 5 2 7 0 . 0 1 1 8 6 9 4 4 0 . 0 2 0 7 7 1 5 1 0 . 0 6 5 2 8 1 9 0 . 0 6 5 2 8 1 9 0 . 8 3 6 7 9 5 2 7 0 . 0 1 1 8 6 9 4 4 0 . 0 2 0 7 7 1 5 1 0 . 0 6 5 2 8 1 9 0 . 0 6 5 2 8 1 9 0 . 8 3 6 7 9 5 2 7 ⎦ ⎥ ⎥ ⎥ ⎥ ⎤
Which corresponds to the following set of equations:
Σ ∞ = C ∞ + T ∞ + S ∞ + L ∞ + G ∞
C ∞ = 0 . 0 1 1 8 6 9 4 4 Σ ∞
T ∞ = 0 . 0 2 0 7 7 1 5 1 Σ ∞
S ∞ = 0 . 0 6 5 2 8 1 9 Σ ∞
L ∞ = 0 . 0 6 5 2 8 1 9 Σ ∞
G ∞ = 0 . 8 3 6 7 9 5 2 7 Σ ∞
Thus, the answer is ⌊ C ∞ + T ∞ + S ∞ + L ∞ G ∞ ⌋ = 5