Solution
= Solution
For every $0<\lambda<1$, positivity in the preceding part gives $\int u'^2\geq\lambda^2\int u^2$ for each fixed admissible $u$. Let $\lambda\uparrow1$ to obtain
$$
\boxed{\int_0^\pi u'^2dx\geq\int_0^\pi u^2dx.}
$$
The sharp constant is attained by $u(x)=\sin x$, consistently with the first <conjugate point> occurring at the endpoint for $\lambda=1$.