Solve $f(x)=\int_{x-1}^{x+1} f(t) \text{d}t$

Solve $f(x)=\int_{x-1}^{x+1} f(t) \text{d}t$. We know that $f(x)=0$ is a solution, are there any other solutions?

I suppose I can start with $f(x)=\frac{dg(x)}{dx}$, and then:

$$\begin{align*} \frac{dg(x)}{dx}&=\int_{x-1}^{x+1} \frac{dg(t)}{dt} dt \\ \frac{dg(x)}{dx}&=g(x+1)-g(x-1) \\ \end{align*}$$

But then I'm stuck.


A set of solutions is $$f(x) = a\sin(\omega x) + b\cos(\omega x)$$ for any $a,b\in\mathbb{R}$. Note that $$\int_{x-1}^{x+1}f(t)\,dt = \frac{2\sin\omega}{\omega}\left(a\sin(\omega x)+b\cos(\omega x)\right)= \frac{2\sin\omega}{\omega}f(x)$$ so $\omega$ must be chosen to satisfy $$\frac{2\sin\omega}{\omega} = 1.$$ Numerically, $\omega \approx \pm 1.89549$.


Better yet you can differentiate both sides since $f$ will be smooth (convince yourself of this). Then what you have is (by FToC)

$$f'(x) = f(x+1)-f(x-1)$$

We want to solve this equation. As per user Doubt, note that $f(x)=a$ is a solution to the ODE but not to the integral equation (unless $a=0$).

I will then assume that $f$ is nonconstant and is a true function. Further, let's assume the function has a Fourier transform. If we take the Fourier transform, where

$$\mathcal{F}f(k) = \frac{1}{\sqrt{2\pi}}\int_{-\infty}^{\infty}e^{-ikx}f(x)dx,$$

we get that

$$ik\mathcal{F}f(k)=e^{ik}\mathcal{F}f(k)-e^{-ik}\mathcal{F}f(k).$$

This has to hold true for all $k$. So we can rewrite this as

$$(ik-2i\sin(k))\mathcal{F}f(k) = 0.$$

Since $k=2\sin k$ only for $k=0,\pm1.89549$, we see that $\mathcal{F}f(k) = 0$ almost everywhere and so $f(x) = 0$ almost everywhere.


Let us suppose then that $f$ is distributional in nature, particularly a tempered distribution. We can make sense of distributional derivatives so the above differential still holds but some of the later steps will be different.

Since $f$ is a tempered distribution, it has a Fourier transform. Let $\phi\in\mathcal{S}(\mathbb{R})$, i.e. a Schwartz function, then

$$\begin{eqnarray}\langle f',\phi\rangle &=& \langle f_1-f_{-1},\phi\rangle\\ &=&\langle f_1,\phi\rangle-\langle f_{-1},\phi\rangle\\ &=&\langle f,\phi_{-1}\rangle-\langle f,\phi_1\rangle\end{eqnarray}$$

where $f_a(x) = f(a+x)$. We also have that $\langle f',\phi\rangle = -\langle f,\phi'\rangle$ so that

$$-\langle f,\phi'\rangle = \langle f,\phi_{-1}-\phi_1\rangle.$$

Equivalently, $\langle f,\phi'-\phi_1+\phi_{-1}\rangle = 0$. Taking a Fourier transform, we see that

$$\langle \mathcal{F}^{-1}f,\mathcal{F}(\phi'-\phi_1+\phi_{-1})\rangle = 0.$$

Then we see that

$$\langle \mathcal{F}^{-1}f,-ik\mathcal{F}\phi-e^{-ik}\mathcal{F}\phi+e^{ik}\mathcal{F}\phi\rangle_k = 0,$$

where $\langle\cdot,\cdot\rangle_k$ indicates that the distributional integral is over $k$. Then by linearity,

$$\langle (-ik-e^{-ik}+e^{ik})\mathcal{F}^{-1}f,\mathcal{F}\phi\rangle_k = 0.$$

Since the Fourier transform is an automorphism of $\mathcal{S}(\mathbb{R})$, $\mathcal{F}\phi$ is just another Schwartz function. Thus

$$\langle (-ik+2i\sin k)\mathcal{F}^{-1}f,\psi\rangle_k = 0,$$

where $\psi$ is an arbitrary element of $\mathcal{S}(\mathbb{R})$. Thus we see that $(2\sin k-k)\mathcal{F}^{-1}f(k) = 0$, in a distributional sense, just like above. To be extremely handwavy about it: If $2\sin k -k\neq 0$, then the (inverse) Fourier transform of $f$ must be zero. However, if $2\sin k = k$, then the (inverse) Fourier transform of $f$ can take on any value. This is exactly why we have the solution that was noted on your Math Overflow post. If you were to take the Fourier transform of the solution given by Noam, you would see that it is a Dirac delta centered at the point $k=2\sin k$.


An attempt for a solution is to try $$ f(x)=\mathrm{e}^{ax}, $$ and this implies that $a$ satisfies equation $\mathrm{e}^a-\mathrm{e}^{-a}=a$. Unfortunately, the only solution of this equation is $a=0$, and the corresponding exponential function is not a solution of our equation.

Clearly, we need to assume some smoothness for $f$. Let's assume that $f$ is continuous. Then, the right hand side is continuously differentiable, and thus we can differentiate, and obtain, as you have already done the equation $$ f'(x)=f(x+1)-f(x-1), \quad \text{for all}\,\, x. $$


(Written up as a solution since it's a bit too long for a comment: )

Another approach that doesn't work: suppose $g$ is a polynomial of degree $d$. Then $\frac{dg}{dx}$ will be a polynomial of degree $d-1$, and so will $g(x+1)-g(x-1)$ (the leading term cancels). Since the equation is linear, we can assume $g$ a monic polynomial (i.e., with a leading term of $x^d$). But then the leading term of $\frac{dg}{dx}$ will be $dx^{d-1}$, whereas the leading term of $g(x+1)-g(x-1)$ will be $2dx^{d-1}$.

In fact, you should be able to extend this approach to show that the only analytic solution is the constant function, since $g'(x)$ is 'twice as large' as would be expected from a naive central-difference approximation everywhere.