here it is
Find all the possible extremals:
$$J[u]=\int_0^1 \int_0^{1} (\frac{\partial u^2(x,y)}{\partial x}+\frac{\partial u^2(x,y)}{\partial y}) dxdy$$
subject to constraint: $$I[u]=\int_0^1 \int_0^{1} u^{2}(x,y) dxdy-1=0$$ and $$A=\left \{u\epsilon C^2 | u(x,0)=u(x,1)=0, x\epsilon [0,1]\right \} $$
*I tried solving it by setting $$R[u]=J[u]+\lambda I[u]$$ and then after some calculations I ended up here $$ \nabla^{2} u(x,y)= \lambda u(x,y) $$ which I tried to solve it with seperation of variables and I failed, pls help.