1: \begin{abstract}
2: \noindent
3: In this article, we study a discrete version of a Dirichlet problem in an open bounded set $D\subset \mathbb{R}^d$, in dimension $d\geq 2$.
4: More precisely, we consider the simple random walk on $\mathbb{Z}^d$, $d\geq 2$, killed upon exiting the large (bounded) domain $D_N \defeq (ND)\cap \mathbb{Z}^d$.
5: We denote by $P_N$ the corresponding transition matrix and we study the properties of its ($L^2$-normalized) principal eigenvector $\phi_N$ --- one of our motivation is that the random walk \emph{conditioned to stay in $D_N$} is a random walk among conductances $c_N(x,y) = \phi_N(x)\phi_N(y)$.
6: With probabilistic arguments and under mild assumptions on the domain, we show that $\phi_N$ varies regularly, with a uniform control inside $D_N$.
7: We derive several corollaries, among which a uniform convergence of $\phi_N$ to the first eigenfunction of the corresponding continuous Dirichlet problem.
8: Our results may not be new, but our proofs use (simple) probabilistic ideas that could be helpful in other contexts.
9:
10:
11: \medskip
12: \noindent \textsc{Keywords:} random walk, finite difference method, coalescent coupling, gambler's ruin.
13:
14: \medskip
15: \noindent \textsc{2020 Mathematics subject classification:} 60G50, 65L12
16: \end{abstract}
17: