[step:Pass from positive perturbations to an eigenvector of the irreducible nonnegative matrix]Let $J \in \mathbb{R}^{k \times k}$ be the matrix whose entries are all equal to $1$. For each $\varepsilon>0$, define
\begin{align*}
M_\varepsilon := M+\varepsilon J.
\end{align*}
Then $M_\varepsilon \in (0,\infty)^{k \times k}$. By the previous step, there exist $r_\varepsilon \in \Delta \cap (0,\infty)^k$ and $\lambda_\varepsilon>0$ such that
\begin{align*}
M_\varepsilon r_\varepsilon=\lambda_\varepsilon r_\varepsilon.
\end{align*}
The sequence $(r_\varepsilon)$ lies in the compact set $\Delta$ as $\varepsilon \downarrow 0$. Also, since $r_\varepsilon \in \Delta$ and each column of $J$ has sum $k$,
\begin{align*}
0<\lambda_\varepsilon=\sum_{i=1}^k (M_\varepsilon r_\varepsilon)_i \leq \max_{j \in \{1,\dots,k\}} \sum_{i=1}^k M_{ij}+\varepsilon k.
\end{align*}
Indeed, the column-sum functional satisfies
\begin{align*}
\sum_{i=1}^k (M_\varepsilon r_\varepsilon)_i=\sum_{j=1}^k r_{\varepsilon,j}\sum_{i=1}^k (M_{ij}+\varepsilon J_{ij}),
\end{align*}
and this is a convex combination of the column sums of $M_\varepsilon$. Hence, along a sequence $\varepsilon_m \downarrow 0$, we may assume that $r_{\varepsilon_m}\to r$ in $\mathbb{R}^k$ and $\lambda_{\varepsilon_m}\to \lambda$ in $\mathbb{R}$, where $r \in \Delta$ and $\lambda \geq 0$. Passing to the limit in
\begin{align*}
M_{\varepsilon_m}r_{\varepsilon_m}=\lambda_{\varepsilon_m}r_{\varepsilon_m}
\end{align*}
gives
\begin{align*}
Mr=\lambda r.
\end{align*}
We prove that $r \in (0,\infty)^k$. Let
\begin{align*}
S:=\{j \in \{1,\dots,k\}: r_j>0\}.
\end{align*}
Since $r \in \Delta$, the set $S$ is non-empty. If $i \notin S$, then $r_i=0$, and the $i$th coordinate of $Mr=\lambda r$ gives
\begin{align*}
\sum_{j=1}^k M_{ij}r_j=0.
\end{align*}
Every summand is non-negative, so $M_{ij}=0$ for every $j \in S$. It follows by induction on $n$ that
\begin{align*}
(M^n)_{ij}=0
\end{align*}
for every $n \in \mathbb{N}$, every $i \notin S$, and every $j \in S$. This contradicts irreducibility unless $S=\{1,\dots,k\}$. Therefore $r \in (0,\infty)^k$.
Since $M$ is irreducible, each row of $M$ has at least one positive entry. With $r \in (0,\infty)^k$, this gives $Mr \in (0,\infty)^k$. From $Mr=\lambda r$ we obtain $\lambda>0$.
Applying the same argument to $M^\top$, which is irreducible whenever $M$ is irreducible, gives $l \in (0,\infty)^k$ and $\mu>0$ such that
\begin{align*}
M^\top l=\mu l.
\end{align*}
Equivalently,
\begin{align*}
l^\top M=\mu l^\top.
\end{align*}[/step]