Consider with $\rho \in W^{1,2}([0,\pi])$ the following functional $$J(\rho)=\frac{1}{2}\int_{0}^{\pi}{\rho^2\,dx}$$ I know that in the $L^{2}([0,\pi])$ the coercivity condition is satisfied, but i'm asking if that condition is also true $W^{1,2}([0,\pi])$, because i don't find find an example for wich this property is not verified.
If i consider a othonormal complete system $\{\phi_{i}\}_{i\in N}$ for our Sobolev space, and also fixed the parameter $i \in N$, for each sequence $u_n \in span\{\phi_i\}$ the condition of coercivity it satisfied, can i conclude that the condition it's in general true?
Similar question (coercivity) for the following $$ I(\rho)=\int_{0}^{\pi}{\sqrt{\dot\rho^2+\rho^2}\,dx} $$ with $\rho \in W^{1,2}([0,\pi])$.