Consider a functional
$$ J[f] = \int_{a}^{b} \int_{a}^{y} \frac{e^{f(y) - f(x)}}{f'(x)} g(x,y) \, dx \,dy, $$
where the constants $a$, $b$ and the function $g$ are given. I am looking for a function $f$ that minimizes this functional. I have tried to use the Euler-Lagrange equation, but I am unsure how to correctly apply it in this case. The difficulties are:
- There are two integrals, and the function of interest is nested within the inner one.
- The upper limit of the inner integral is not constant.
- Both $f(x)$ and $f(y)$ are present within the functional.
I know that there exist various versions of the Euler-Lagrange equations, and would be very grateful if someone could point out which one could be used in this case.
Let's define $F(x,y):=f(x)-f(y)$ and $G(x,y):=g(x,y)\theta(y-x)$, where $\theta(\cdot)$ is the Heaviside step function. Then, we may rewrite the functional $J$ as $$ J[F]=\int_a^b\int_a^b{\cal L}(x,y,F,F_x)\,dxdy, \tag{1} $$ where $$ {\cal L}(x,y,F,F_x):=\frac{e^{-F(x,y)}}{F_x(x,y)}G(x,y). \tag{2} $$ For this problem, the appropriate form of the Euler-Lagrange equation is given by $$ \frac{\partial \cal{L}}{\partial F}-\frac{\partial}{\partial x}\left(\frac{\partial \cal{L}}{\partial F_x}\right)=0. \tag{3} $$ Explicitly, \begin{align} (3)&\implies -\frac{e^{-F}}{F_x}G-\frac{\partial}{\partial x}\left(-\frac{e^{-F}}{F_x^2}G\right)=0 \\ &\implies -2\frac{e^{-F}}{F_x}G-2\frac{F_{xx}\,e^{-F}}{F_x^3}G+\frac{e^{-F}}{F_x^2}G_x=0 \\ &\implies -2(F_x^2+F_{xx})G+F_xG_x=0. \tag{4} \end{align} Incidentally, it seems that $(4)$ does not have a solution, since $F_x(=f'(x))$ and $F_{xx}(=f''(x))$ depend only on $x$, whereas $G$ is a function of both $x$ and $y$.