0

I had a question where they ask me if a matrix is convergent. Matrix is as below:

A = {{-1.7, -12.6, -12.6}, {-1.2, -5.6, -6.6}, {1.5, 7.8, 8.8}}

I put it in matrix form:

MatrixForm[A]

And used the command:

MatrixPower[A, n]

With increasingly big n until I got (at n=100 000, with I believe is enough to see convergence)

{{-2.84217*10^-14, -1.13687*10^-13, -1.42109*10^-13}, {-1., -4., \
-5.}, {1., 4., 5.}}

So I wrote that the matrix was not convergent for its first row, and convergent to {-1, -4, -5} for row 2, and convergent towards {1, 4, 5} for row 3. And it is incorrect.

I even tried: MatrixPower[A, n] Limit[n->Infinity] but it did not work either.

MarcoB
  • 67,153
  • 18
  • 91
  • 189
Dovendyr
  • 225
  • 2
  • 6

1 Answers1

3

This the correct way to write your final command

MatrixPower[A, n] // Limit[#, n -> Infinity] &  

And the result is

{{-3.20081*10^-14, -1.28033*10^-13, -1.60041*10^-13}, 
 {-1., -4., -5.}, 
 {1., 4., 5.}}

Hope this helps.

MarcoB
  • 67,153
  • 18
  • 91
  • 189
  • Thank you @Konstantinos. But you agree that it converges to -1,-4,-5 and 1,4,5? – Dovendyr May 09 '18 at 12:55
  • It seems so. I don't understand why you said that the first row is not converging though. It seems that it does I think to some small numbers. –  May 09 '18 at 12:57
  • It's my fault... I thought that the first row was not convergent since it looked so weird compared to row 2 and 3! Thank you so much for your help! – Dovendyr May 09 '18 at 13:01
  • Don't mention it. Cheers!!! –  May 09 '18 at 13:19