I am trying to find out the inverse of function $f:\mathbb R\to\mathbb R, f(x) = x - \tanh(x),\forall\in\mathbb R.$
What I tried:
Since $f(x)$ is invertible, so using $f(f^{-1}(x)) = x,$ I get $x = f^{-1}(x) - \tanh(f^{-1}(x)).$
Expanding or opening up $\tanh(x)$ leads me nowhere. I also tried the property $f^{-1'}(x) = \frac{1}{f^{'}(f^{-1}(x))}.$ But I couldn't get the inverse equation.
Here is a closed form for the inverse of functions containing a limit with it using the Mathematica function Inversebetaregularized $\text I^{-1}_z(a,b)$ which is a quantile function for the Student T Distribution with the Regularized $\text I_z(a,b)$ Incomplete Beta function $\text B_z(a,b)$. Also, a special case of the Lerch Transcendent is expressible in terms of $\text B_z(a,0)$. Please see the links for information on the below functions:
$$\frac12\text B_{\tanh^2(x)}\left(\frac32,0\right)\mathop=^{z\ge0}x-\tanh(x)=z\implies x=\lim_{a\to0}\tanh^{-1}\left(\sqrt{\text I^{-1}_{az}\left(\frac32,\frac a2\right)}\right)\sim z+1$$
which works. The limit must be taken because the regularized incomplete beta function cannot have any parameter be $0$ or else there would be division by $0$ problem and the subscript was simplified to $az$ . Please correct me and give me feedback!