$\def\L{\operatorname L} \def\M{\operatorname M} $ Our goal is inverting $f(x)=\tanh(x)+ax$ via Laplace inversion. The Laplace transform of $h(x)=f^{-1}(x)$ is:
$$\L_s(h(t))=\int_0^\infty e^{-st}h(t)dt\mathop=^{h(t)\to t}\int_0^\infty t e^{-s f(t)} df(t)=\frac1s\int_0^\infty e^{-s(\tanh(t)+at)}dt\mathop=^{\tanh(t)\to t}\frac1s\int_0^1e^{-st}(1-t)^{\frac{as}2-1}(1+t)^{-\frac{as}2-1}dt \tag1$$
This integral matches the Whittaker M function integral representation:
$$\frac{\Gamma\left(u-k+\frac12\right) \Gamma\left(u+k+\frac12\right)}{(2u)!z^{u+\frac12}2^{-2u}}\M_{k,u}(z)=\int_{-1}^1 e^\frac{zt}2 (1+t)^{u-k-\frac12}(1-t)^{u+k-\frac12}$$
but the bounds are different. A bilateral Laplace transform gives $\int_{-1}^1$ bounds after using the same substitutions, but the resulting integral may diverge. The similar $\int_0^{\frac{\pi}{2}} e^{-x\tan t+\alpha t} \;dt $ almost certainly does not have a closed form with the confluent hypergeometric function, of which Whittaker M function is one. Humbert series:
$$\Phi_1(a,b,c;x,y)=\frac{\Gamma(c)}{\Gamma(a)\Gamma(c-a)}\int_0^1 e^{yt}t^{a-1}(1-t)^{c-a-1}(1-xt)^{-b}dt$$
would work, but it is a last resort. Also, as implied by “Conditions to apply the inverse Laplace transform”, $\L_s(h(t))$ is finite, so the inverse Laplace transform converges. Thus we likely have an integral representation for $f^{-1}(x)$ if $(1)$ is evaluated.
Does $(1)$ have a simpler closed form than with the Humbert series?
Laplace inversioncan we find all solution ? I only get: $\frac{1}{2} \sqrt{4 t+1}-\frac{1}{2}$, but exist another solution: $-\frac{1}{2} \sqrt{4 t+1}-\frac{1}{2}$ ? – Mariusz Iwaniuk Jul 10 '23 at 15:03