For n ≥ 2, an n × n non-negative matrix $A$ is
irreducible if $\sum_{k=0}^{n-1}A_k$ is positive matrix.
For n ≥ 2, an n × n non-negative matrix A is
primitive if there exists $k\in N$ such that $A_k$ is positive matrix.
According to the definition, we can get example:
$A=[0,1;1,0]$, with $spec(A)=\{1,-1\}$ and eigenvector are $[1,0]^T, [0,1]^T$. So diagonalization is :
$\left[ \begin{matrix} 1&0\\0&-1 \end{matrix} \right]=D=Q^{-1}AQ$
Look at this! the sum of A^k (from k=1 to n-1) is positive definitely. But does it primitive? No$\lim_{k\rightarrow \infty}A^k=\lim_{k\rightarrow \infty}QD^kQ^{-1}$, but A is primitive if the following holds: $∃k,∀(i,j):A_{ij}^k>0$ . Obviously can we say A is primitive when k approaching infty?
So the irreducible matrix may not be the primitive matrix.