Solution (source code)

= Solution

At late times the first sine mode dominates, with growth exponent
$$
\mu-\frac{D\pi^2}{L^2}.
$$
Thus
$$
\mu_c(D,L)=\frac{D\pi^2}{L^2},
$$
and the population grows precisely when $\mu>\mu_c$. Faster diffusion carries organisms to the lethal ends more quickly and raises the threshold; a longer channel lowers the principal diffusion <eigenvalue> and therefore lowers the threshold.