2

Let us define a $n\times n$ matrix $A$ as follows : the $(i,j)$-th entry in the matrix A is $1$ if $i$ and $j$ are distinct and equal to $3$ otherwise. Find the $(i,j)$-th entry in the matrix $A^m$ when $i\neq j$.

Arthur
  • 5,524
Topology
  • 1,566
  • 11
  • 27

2 Answers2

2

Let $e=(1,...,1)^T$. Then $A = e e^T+2 I$. Note that $I$ and $e e^T$ commute.

For $k =1,2,...$, we have $(e e^T)^k = n^{k-1} (e e^T)$, $(2I)^k = 2^k I$.

$A^m = (e e^T+2 I)^m = \sum_{k=0}^m \binom{m}{k} (e e^T)^k (2I)^{m-k} = 2^m I + \left(\sum_{k=1}^m \binom{m}{k} n^{k-1} 2^{m-k} \right) (e e^T)$.

$\sum_{k=1}^m \binom{m}{k} n^{k-1} 2^{m-k} = {2^m \over n}\sum_{k=1}^m \binom{m}{k} ( { n \over 2 } )^k = {2^m \over n} \left( (1+ { n \over 2 } \right) ^m -1 )$.

Finally, $A^m = 2^m I + {2^m \over n} \left( (1+ { n \over 2 } ) ^m -1 \right) (e e^T)$.

copper.hat
  • 172,524
0

Your matrix is the sum of the matrix of all $1$s (known as $J$) and twice the identity. Which means that it can be diagonalized easily (the eigenvalues are $n+2$ and a bunch of $2$s, (one set of eigenvectors is: the vector of all ones and vectors of the form $e_1 - e_j,$ for $j>1,$ though you should be able to find some orthogonal eigenvectors, too, since the matrix is symmetric. Now it is an easy matter to raise to a power.

Igor Rivin
  • 25,994
  • 1
  • 19
  • 40