n → ∞ lim ⎣ ⎢ ⎢ ⎡ 2 1 0 0 4 1 2 1 2 1 0 4 1 0 2 1 2 1 0 0 0 2 1 2 1 ⎦ ⎥ ⎥ ⎤ n
The matrix formed from the limit above has elements that can be expressed as c b i j , where b i j and c are integers. Find the minimum positive value of c .
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.
I've changed the question. How do you solve it now?
I use the python code below, and yields the answer 7
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 |
|
Why didn't you use library such as NumPy?
Problem Loading...
Note Loading...
Set Loading...
Let the results be
⎣ ⎢ ⎢ ⎡ v 1 v 2 v 3 v 4 ⎦ ⎥ ⎥ ⎤
where v 1 , v 2 , v 3 , v 4 are row vectors.
Pre-multiply with the base matrix:
⎩ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎨ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎧ 2 1 v 1 + 2 1 v 2 = v 1 2 1 v 2 + 2 1 v 3 = v 2 2 1 v 3 + 2 1 v 4 = v 3 4 1 v 1 + 4 1 v 2 + 2 1 v 4 = v 4 ⇒ v 1 = v 2 = v 3 = v 4 = v
Let v = [ x 1 , x 2 , x 3 , x 4 ]
Post-multiply with the base matrix: ⎩ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎨ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎧ 2 1 x 1 + 4 1 x 4 = x 1 2 1 x 1 + 2 1 x 2 + 4 1 x 4 = x 2 2 1 x 2 + 2 1 x 3 = x 3 2 1 x 3 + 2 1 x 4 = x 4 x 1 + x 2 + x 3 + x 4 = 1 ⇒ ⎩ ⎪ ⎨ ⎪ ⎧ x 1 = 7 1 x 2 = x 3 = x 4 = 7 2
The last equation is due to the fact that the product of transition matrices is still a transition matrix.