I am just starting with variational calculus and I am trying to determine if a minimizer of the following functional $$I[u]=\int_1^2x^2u^{'2}(x)dx$$ exists in the following class of functions: $$\mathscr{C}=\{u \in C^1([1,2];\mathbb{R}), u(1)=1,u(2)=1/2\}$$ using the Euler-Lagrange equations:
The Euler Lagrange equation yields:
$$0= (x^2u'(x))'.$$ Integrating two times and imposing boundary conditions I get $u(x)=1/x$ which lives in $\mathscr{C}$.
Now my question is is this enough to say that this is a minimizer?
I read online that if The Euler Lagrange equations hold, thats a necessary condition for a weak extremal, not sufficient. So I am unsure how to continue from here, how do I determine if this is really an extremal and in particular a minimizer?
Hints:
Yes, a stationary configuration is not necessarily a minimum.
To prove that OP's stationary configuration $u_{\ast}(x)= 1/x$ is a minimum,
one way is to prove that the Hessian functional is positive semi-definite $$\begin{align} H[v]~:=~& \frac{1}{2}\int_{[1,2]}\!dx \int_{[1,2]}\!dy ~v(x)\left.\frac{\delta^2I[u]}{\delta u(x)\delta u(y)}\right|_{u=u_{\ast}}v(y)\cr ~=~&\underbrace{I[v]}_{\geq 0},\qquad v~\in~C^1_c(]1,2[;\mathbb{R}). \end{align}$$ where the 1st and 2nd functional derivatives are $$ \frac{\delta I[u]}{\delta u(x)} ~=~-\frac{d}{dx}(2x^2 \frac{d}{dx}u(x)) ,$$ and $$\begin{align} \frac{\delta^2I[u]}{\delta u(y)\delta u(x)} ~=~&-\frac{d}{dx}(2x^2 \frac{d}{dx}\delta(x\!-\!y)) \cr ~=~&\frac{d}{dx}\frac{d}{dy}(2xy\delta(x\!-\!y)).\end{align}$$
Alternatively, in OP's case, it is conceptionally simpler to just decompose an arbitrary configuration as $$u~=~u_{\ast}+v,$$ where the fluctuation part $v \in C^1([1,2];\mathbb{R})$ satisfies $v(1)=0=v(2)$. Now show that $$I[u]~=~I[u_{\ast}]~+~\underbrace{I[v]}_{\geq 0}.$$