Graduate Looking for a method of solution/inversion for x*Tanh[x]

  • Thread starter Thread starter Hepth
  • Start date Start date
  • Tags Tags
    Method
Click For Summary
The function y = x*Tanh[x] does not have a closed-form inverse due to its non-injective nature over its maximal real domain. However, restricting the domain can yield a single real positive solution, although it remains analytically unsolvable. Some users suggest using numerical methods or interpolation techniques, such as those available in Mathematica, to approximate the inverse function. While the Lambert W function was mentioned, it does not provide a solution in this case. Overall, the consensus is that while an exact analytical solution is not feasible, numerical approximations can be employed effectively.
Hepth
Science Advisor
Gold Member
Messages
457
Reaction score
40
$$ y == x*Tanh[x]$$

Solve for "x".

Does this exist? Even in terms of more complicated functions like Lambert W, or possibly recursive solutions/geometric series/etc.

Thanks, if anyone can point me in the right direction!
 
Mathematics news on Phys.org
Hepth said:
$$ y == x*Tanh[x]$$

Solve for "x".

Does this exist? Even in terms of more complicated functions like Lambert W, or possibly recursive solutions/geometric series/etc.

Thanks, if anyone can point me in the right direction!

First of all. This function is not injective on its maximal real domain, so there is no possibility that an inverse can exist. This can be solved by restricting the domain, however, I believe there is no closed form:

http://www.wolframalpha.com/input/?i=what+is+the+inverse+function+of+y+=+x+tanh(x)+?
 
That's what I was finding, even if I'm restricted to 0 to 1 for example, there numerically will exist a a single real
positive solution; but analytically I don't think there's a solution.
 
At least not in a closed form, yes.
 
Hepth said:
$$ y == x*Tanh[x]$$

Solve for "x".

Does this exist? Even in terms of more complicated functions like Lambert W, or possibly recursive solutions/geometric series/etc.

Thanks, if anyone can point me in the right direction!

For me, the inverse "does" exists and depends what you mean by solve:
In Mathematica:
Code:
myData = Array[{# Tanh[#], #} &, {100}, {0, 20}];
myTanhInverse = Interpolation[myData]

myTanhInverse is pretty close to the inverse (domain-restricted). I leave it to the reader to modify my code so that the inverse is accurate to 20 digits in the interval (0,20).
 
Last edited:
Good morning I have been refreshing my memory about Leibniz differentiation of integrals and found some useful videos from digital-university.org on YouTube. Although the audio quality is poor and the speaker proceeds a bit slowly, the explanations and processes are clear. However, it seems that one video in the Leibniz rule series is missing. While the videos are still present on YouTube, the referring website no longer exists but is preserved on the internet archive...

Similar threads

  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 13 ·
Replies
13
Views
3K
  • · Replies 4 ·
Replies
4
Views
1K
  • · Replies 17 ·
Replies
17
Views
3K
  • · Replies 4 ·
Replies
4
Views
4K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 20 ·
Replies
20
Views
2K
  • · Replies 16 ·
Replies
16
Views
4K