Suppose we have a non-linear functional of the following form, $$ J[f]=\int_a^b f(x)f(c-x)\,\mathrm{d}x\int_a^b f(y)f(d-y)\,\mathrm{d}y. $$ where $a,b,c,d$ are constants.
Question. How to use calculus of variation to find what $f$ makes $J$ stationary?
I tried the usual $$ \frac{d}{d\epsilon}J[f+\epsilon\eta]|_{\epsilon=0}=0~~~\forall\eta(x)$$
But how to treat the fact that the function is evaluated at different points ?
Namely we get $$\eta(d-x)$$ as a factor, so can we use the result $$ \int_a^b g(x)\eta(d-x)\,\mathrm{d}x=0~~~~\forall\eta~~~\implies g(x)=0\;? $$ In fact I'm looking for the Euler-Lagrange equations corresponding to this functional $J$. Is it anyhow possible to get a usual PDE and not an integral functional equation ?
First, review what you are used to from mechanics, $$ J[f]=\int \! dx ~ L(f(x),\partial_x f(x)), $$ extremized by $$ 0=\int \! dx ~ \left (\frac{\delta L}{\delta f} \eta(x) + \frac{\delta L}{\delta \partial_x f} \partial_x \eta(x) \right )= \int \! dx ~ \left (\frac{\delta L}{\delta f} - \partial_x \frac{\delta L}{\delta \partial_x f} \right ) \eta(x) , $$ the last step involving an integration by parts. For arbitrary variation $\eta(x)$, this mandates the E-L equations, vanishing of its coefficient.
Now, beyond derivatives, your functional may involve pseudo differential Lagrange shift operators, $$ e^{c\partial_x} f(x) = f(x+c), $$ (think of them as formal expansions of the exponential, for intuition), reflection operators, $$ e^{ i\pi ~ x \partial_x} f(x) = e^{i\pi~ \partial_{\ln x}} f(x) = f(-x), $$ and combinations thereof, $$ e^{-x\partial_x} e^{ i\pi ~ x \partial_x} f(x)= f(c-x), $$ etc. I'm just giving you the seat-of-the-pants physics version, and letting professionals on this site finesse the domain and proper definition issues.
So, as a simple example (I'm not sure I can parse out your own expression: are you using x twice as a dummy variable of integration?), for $$ J[f]=\int \! dx ~ f(x) f(c-x)^2, $$ The E-L equations follow from multiple integrations by parts, assuming the surface terms vanish (otherwise you need to consider them, complicating the picture), $$ 0=\int \! dx ~ (\eta(x) f(c-x)^2+ 2f(x) f(c-x)\eta(c-x))\\ = \int \! dx ~ (\eta(x) f(c-x)+ 2f(x)f(c-x) e^{-c\partial_x} e\eta(-x)) \\ = \int \! dx ~ \Bigl (\eta(x) f(c-x)+2 f(x+c)f(x) \eta(-x)\Bigr )\\ =\int \! dx ~ \Bigl ( f(c-x)+ 2f(c-x)f(-x) \Bigr )\eta(x). $$ The vanishing of the parenthesis on the last line comprises the E-L equations. But note you have ignored all surface terms, e.g. if the limits were at infinity and your argument functions were localized. If not, note that, upon change of dummy variables, should you have chosen to do this, instead of pseudo differential operators, the limits would have changed!