In some papers, it is said that Lyapunov [1, p. 406] proved the following result.
Let $p:[a,b]\to\mathbb{R}$ be a continuous nonnegative function. If the BVP \begin{align} y^{\prime\prime}+p(t)y=0,\quad{}t\in[a,b]\\ y(a)=0\quad\text{and}\quad{}y(b)=0 \end{align} has a nontrivial solution, then \begin{equation} (b-a)\int_{a}^{b}p(s)\mathrm{d}s>4. \end{equation} Further, $4$ is the best possible constant.
I have no problem with the inequality but the best possible constant $4$. Can you show me or redirect me to a proof showing that $4$ is the best possible?
Reference
[1] A. Lyapunov, Probleme General de la Stabilite du Mouvement, Ann. Math. Studies 17, Princeton Univ. Press (1949) (reprinted from Ann. Fac. Sci. Toulouse, 9 (1907) 203--474, Translation of the original paper published in Comm. Soc. Math. Kharkow, 1892).

