7

I have a differential equation of the form

$$ \frac{\mathrm{d}g}{\mathrm{d}x} = f(x) + \int_0^x g(y)f(x-y)\mathrm{d}y + \alpha g(x). $$

$f$ is a monotonous decreasing function, satisfying $\int_0^\infty f(x)\mathrm{d}x = 1$.

To solve it, I thought of getting the second derivative to handle the integral but the convolution does not let me get rid of it.

Laplace transform might work here, but I am not sure the integral term on the right side qualifies as convolution such that I can use Laplace transform of $f$.

Before trying to find the Laplace transform of $f$, which would be pretty messy, I wanted to ask if this is the best way to approach such a differential equation?

Gonçalo
  • 15,869
ck1987pd
  • 1,129
  • 2
    Not sure if this is gonna work, but I would differentiate both side and see what you get; to differentiate the integral, you can use Leibniz's rule: https://en.wikipedia.org/wiki/Leibniz_integral_rule – Chee Han Aug 01 '23 at 22:27
  • @CheeHan I thought of that but differentiating the convolution-like part does not eliminate the integral. It gives me $\int_0^x g(y)f^\prime(x-y)\mathrm{d}y+f(0)g(x)$, if I did it correctly. – ck1987pd Aug 01 '23 at 22:37
  • How messy is $f(x)$? – Cesareo Aug 01 '23 at 22:44
  • @Cesareo I haven't exactly calculated that. I have two versions though. One version that is for large $x$ involves $\vartheta_4$, and one version for small $x$ involves $_3F_2$. It is messy, at least for me :) Do you think it will help if you know $f(x)$? – ck1987pd Aug 01 '23 at 22:49
  • Do you just want to prove that a solution exists or do you need a (more or less) explicit solution formula? – junjios Aug 01 '23 at 22:56
  • @junjios I am interested in a framework which allows me to calculate $g$ with arbitrary precision when I insert $f$. Approximations are fine though. I will at one point use a piecewise approximation of it in Python. – ck1987pd Aug 01 '23 at 22:59

1 Answers1

3

The equation is linear in $g(x)$, and its special form does allow for a solution using the Laplace transform, using the convolution theorem and denoting

$$ (F,G)(s):=\int_0^\infty (f,g)(t)e^{-st}dt$$

we obtain by directly Laplace transforming the equation:

$$sG(s)-g(0)=F(s)+F(s)G(s)+\alpha G(s)$$

which can then be solved for $G$

$$G(s)=\frac{g(0)+F(s)}{s-F(s)-\alpha}$$

I don't think that there is a better way to analytically constructing solutions for integrodifferential equations like this, since most of them don't even have an analytical solution. Approximating with piecewise constant $f$ should be easy since the resulting equation has simple solutions in terms of exponentials, all one needs to do is to determine the constants of integration by demanding continuity of the solution at each point where $f$ has a jump discontinuity. Numerically inverting the Laplace transform is also possible for arbitrary, reasonably well behaved $f$.

  • Thanks a lot. This is what I reached as well with the Laplace transform. I'll wait a few days before accepting this answer. – ck1987pd Aug 01 '23 at 23:39