In 1-D, the minimization problem can be stated as
Find
such that
![{\displaystyle U[u(x)]=\int _{x_{0}}^{x_{1}}F(x,u,u^{'})dx}](https://wikimedia.org/api/rest_v1/media/math/render/svg/24af35cc71f5518e663220f002ddd2165717be48)
is a minimum.
We have seen that the minimization problem can be reduced down to the solution of an Euler equation

with the associated boundary conditions

or,

In 3-D, the equivalent minimization problem can be stated as
Find
such that
![{\displaystyle U[\mathbf {u} (\mathbf {x} )]=\int _{\mathcal {R}}F(\mathbf {x} ,\mathbf {u} ,{\boldsymbol {\nabla }}\mathbf {u} )~dV}](https://wikimedia.org/api/rest_v1/media/math/render/svg/888bfe30b191a166f5101c98c96b0a308048e6ca)
is a minimum.
We would like to find the Euler equation for this problem and the associated boundary conditions required to minimize
.
Let us define all our quantities with respect to an orthonormal basis
.
Then,

and
![{\displaystyle U[\mathbf {u} (\mathbf {x} )]=\int _{\mathcal {R}}{\tilde {F}}(x_{i},u_{i},u_{i,j})~dV}](https://wikimedia.org/api/rest_v1/media/math/render/svg/02b5462616ee307cfc7739b622d78afbfd7b5a11)
Taking the first variation of
, we get

All the nine components of
are not independent. Why ?
The variation of the functional
needs to be expressed
entirely in terms of
. We do this using the 3-D equivalent of integration by parts - the divergence theorem.
Thus,

Substituting in the expression for
, we have,
![{\displaystyle {\begin{aligned}\delta U&=\int _{\mathcal {R}}{\frac {\partial {\tilde {F}}}{\partial u_{i}}}\delta u_{i}~dV+\int _{\partial {\mathcal {R}}}{\frac {\partial {\tilde {F}}}{\partial u_{i,j}}}\delta u_{i}~n_{j}~dA-\int _{\mathcal {R}}{\frac {\partial }{\partial x_{j}}}\left({\frac {\partial {\tilde {F}}}{\partial u_{i,j}}}\right)\delta u_{i}~dV\\&=\int _{\mathcal {R}}\left[{\frac {\partial {\tilde {F}}}{\partial u_{i}}}-{\frac {\partial }{\partial x_{j}}}\left({\frac {\partial {\tilde {F}}}{\partial u_{i,j}}}\right)\right]\delta u_{i}~dV+\int _{\partial {\mathcal {R}}}{\frac {\partial {\tilde {F}}}{\partial u_{i,j}}}\delta u_{i}~n_{j}~dA\end{aligned}}}](https://wikimedia.org/api/rest_v1/media/math/render/svg/2deeb00c24dd4c82d3079422d52aebccaa924cef)
For
to be minimum, a necessary condition is that
for all variations
.
Therefore, the Euler equation for this problem is

and the associated boundary conditions are
