$$\mathcal L \left( t, x, y, u(x,y,t),\frac{\partial u}{\partial t}, \frac{\partial u}{\partial x}, \frac{\partial u}{\partial y} \right) = −\frac{1}{2} \left( \frac{\partial u}{\partial t} \right)^2 + \frac{1}{2} \left( \frac{\partial u}{\partial x} \right)^2 + \frac{1}{2} \left( \frac{\partial u}{\partial y} \right)^2 + \frac{1}{2}\left( u \right)^2$$
Not really sure where to begin for computing the Euler-Lagrange equation for a Lagrangian in one variable, let alone the required $2$ variables.
I also can't seem to find similar examples online to grasp the concept. Could you give me any help on how to begin, and key ideas to keep in mind? How would you begin to compute the Euler Lagrange for one variable?
Thank you
Any good book on variational calculus or optimal control should supply you with explanations and plenty examples.
Also, your notation is a bit hard to understand. Try stating which variables are functions of which arguments. My understanding of your equation is:
$$ L \left( t, x, y, u(x,y,t),\frac{\partial u}{\partial t}, \frac{\partial u}{\partial x}, \frac{\partial u}{\partial y} \right) = −\frac{1}{2} \left( \frac{\partial u}{\partial t} \right)^2 + \frac{1}{2} \left( \frac{\partial u}{\partial x} \right)^2 + \frac{1}{2} \left( \frac{\partial u}{\partial y} \right)^2 + \frac{1}{2}\left( \frac{d u}{d t} \right)^2 $$
See the code for the equation above: