Basically, I came accross this relation
$$\int f(x)g(x)dx=\int f(x)dx\int g(x)dx+c$$
in a "joke" leading me to wonder what are the actual pair of functions that satisfy this relation.
For my initial attempt i assumed the funtions to be continuous and differentiable over $\mathbb{R}$.
Now differentiating both sides w.r.t $x$ we get $$f(x) g(x)= f(x)\int g(x)\ dx +g(x)\int f(x)\ dx$$ Divding by $f(x),g(x)$ both sides we get $$1=\frac{\int g(x) \ dx}{g(x)} + \frac{\int f(x)\ dx}{f(x)}$$
and on solving the integral we get $$1=\frac{1}{\ln(F(x))}+\frac{1}{\ln(G(x))}$$ (ignoring the constant, will add it later, and assuming $F(x),G(x)$ to be the antiderivatives of $f(x)$ and $g(x)$ respectively)
This can be further simplified to
$$\ln(F(x))\ln(G(x))=\ln(F(x)G(x))$$
which is basically what the question was (the constants of int can be written as one constant in the end again to match it)
Lost after this. Not integrating doesn't help either .