I have a simple system and I am searching for the solution for f(t):
$$\frac{\partial f(t)}{\partial t} = c_1 \left( f(t) + g(t) + c_2 \right)$$.
It turns out that, in this system $g$ can be related to $f$ by a pure time delay:
$$g(t) = f(t-a)u(t-a)$$
where $u(t)$ is the Heaviside function.
Applying the Laplace transform to the equation above and isolating $F(s)$ leads to:
$$F(s) = \frac{f(0) + c_1c_2}{s - c_1(1 - e^{-as})}$$.
Since there is a complex exponential at the denominator I cannot use the inverse Laplace transform nor break this into partial fractions.
How can one find the solution of such an equation?
If I cannot directly resolve the equation, can I infer a given solution (from the numerical integration of this system) and identify the coefficients?
If the analytical solution does not exists, is there a proof that explains why?
Applying the Laplace transform to
$$\frac{\partial f(t)}{\partial t} = c_1 \left( f(t) + f(t-a)u(t-a) + c_2 \right)$$.
and assuming $f(t)=0,\ t < a$, we got
$$ F(s) = -\frac{((c_1c_2+s f_0)e^{as})}{s(c_1+(c_1-s)e^{as})}=-\frac{c_1c_2+s f_0}{s(c_1e^{-a s}+c_1-s)}=\frac{c_1c_2+s f_0}{s(s-c_1)(1-\frac{c_1e^{-as}}{s-c_1})} $$
and now making
$$ \frac{1}{(1-\frac{c_1e^{-as}}{c_1-s})}= \sum_{k=0}^{\infty} \left(\frac{c_1e^{-as}}{s-c_1}\right)^k $$
we can invert $F(s)\to f(t)$.
Note that the series is convergent for $|c_1e^{-as}|<|s-c_1|$ and
$$ \frac{c_1c_2+s f_0}{s(s-c_1)}=\frac{c_2+f_0}{s-c_1}-\frac{c_2}{s} $$
and
$$ \mathcal{L}^{-1}\left[\frac{\left(\frac{c_1e^{-as}}{s-c_1}\right)^k}{s-c_1}\right]=\frac{c_1^k \left(\left(\left(1-\frac{t}{a k}\right)^k-1\right)(-a k)^k\right) e^{c_1 (t-a k)} u (t-a k)}{k!} $$
Follows a MATHEMATICA script showing the approximation accuracy for
n = 4in blue and the precise integration in dashed red