Solve tanh(ax)=x: Fixed Points for Non-linear Dynamics

Click For Summary

Homework Help Overview

The problem involves finding the fixed points of the function f(x) = tanh(ax) as a function of the parameter a, where 0 < a < infinity. The fixed point is defined by the equation f(x*) = x*.

Discussion Character

  • Mixed

Approaches and Questions Raised

  • Participants discuss various methods to solve the equation tanh(ax) = x, including attempts to manipulate the equation algebraically and using Taylor series expansions.
  • Some participants question the definition of fixed points and whether the original poster's approach is correct.
  • There are inquiries about the existence of analytical solutions and suggestions for numerical methods like Newton's method.

Discussion Status

The discussion is ongoing, with some participants asserting that there is no analytical solution to the equation, while others suggest numerical approaches. There is a divergence in understanding the definition of fixed points, leading to further exploration of the topic.

Contextual Notes

Participants note potential confusion regarding the definitions of fixed points and equilibrium points, as well as the implications of using numerical methods in this context.

Bill Foster
Messages
334
Reaction score
0

Homework Statement



Obtain the fixed points for the following as a function of a, where 0<a<infinity:

f(x)=tanh(ax)

Homework Equations



The fixed point is given by [tex]f(x^{*})=x^{*}[/tex]

The Attempt at a Solution



It's basically a math problem: tanh(ax)=x Find x in terms of a.

I tried it two ways:

[tex]\tanh{ax}=\frac{e^{ax}-e^{-ax}}{e^{ax}+e^{-ax}}=x[/tex]

This reduces to [tex]e^{2ax}=\frac{1+x}{1-x}[/tex]

Then I can take the Taylor expansion...

[tex]e^{2ax}=1+2ax+\frac{(2ax)^2}{2!}+\frac{(2ax)^3}{3!}+\frac{(2ax)^4}{4!}+...=\frac{1+x}{1-x}[/tex]

But as you can see, that doesn't really help.

Then I tried this:

[tex]\tanh{(ax)}=x[/tex]
[tex]ax=\tanh^{-1}{(x)}[/tex]

Differentiate both sides:

[tex]a=\frac{1}{1-x^2}[/tex]

Solve for x:

[tex]x=\pm \sqrt{1-\frac{1}{a}}[/tex]

Problem is, it doesn't work out in the calculator.

Suppose I let a=2. That means [tex]x=\frac{1}{\sqrt{2}}[/tex]

So the following should hold true:

[tex]\tanh{(\frac{2}{\sqrt{2}})}=\frac{1}{\sqrt{2}}[/tex]

But it doesn't. The correct value is

[tex]\tanh{(\frac{2}{\sqrt{2}})}=0.88839[/tex]

Is there an analytical solution to tanh(ax)=x ?

Thanks.
 
Last edited:
Physics news on Phys.org
Is there an analytical solution to tanh(ax)=x ?

Answer: no.
 
nicksauce said:
Is there an analytical solution to tanh(ax)=x ?

Answer: no.

So would using the Taylor series approximation be the best way?

Or do you know of a better way?
 
As far as I know, the definition of fixed point you gave is wrong. The fixed point is defined as [tex]\frac{dx}{dt} = f(x*) = 0[/tex] (look at Nonlinear Dynamics and Chaos, Steven H. Strogatz) then the problem is to find x* satisfying: [tex]tanh(x*)= 0[/tex].. Additionally, although, [tex]tanh(x*) = x*[/tex] seems not to be solved anaytically, it can be solved numerically, but there may be inappropriate results if you use nonliiinear fixed point anaysis.
 
salai said:
As far as I know, the definition of fixed point you gave is wrong. The fixed point is defined as [tex]\frac{dx}{dt} = f(x*) = 0[/tex] (look at Nonlinear Dynamics and Chaos, Steven H. Strogatz) then the problem is to find x* satisfying: [tex]tanh(x*)= 0[/tex].. Additionally, although, [tex]tanh(x*) = x*[/tex] seems not to be solved anaytically, it can be solved numerically, but there may be inappropriate results if you use nonliiinear fixed point anaysis.

No, his definition of "fixed point" is correct. What you are referring to is an "equilibrium" point of a differential equation.

As nicksause said, there is no "analytic" solution to that equation. I would use Newton's method to numeraically solve the equation.
 
salai said:
As far as I know, the definition of fixed point you gave is wrong. The fixed point is defined as [tex]\frac{dx}{dt} = f(x*) = 0[/tex] (look at Nonlinear Dynamics and Chaos, Steven H. Strogatz) then the problem is to find x* satisfying: [tex]tanh(x*)= 0[/tex].. Additionally, although, [tex]tanh(x*) = x*[/tex] seems not to be solved anaytically, it can be solved numerically, but there may be inappropriate results if you use nonliiinear fixed point anaysis.

That is incorrect. A fixed point is where x=f(x).

If f(x)=ax(1-x) where a<1, then the only fixed point will be at x=0, which is a trivial fixed point. When a>1, then fixed point will be given by x*=1-1/a
 

Similar threads

  • · Replies 20 ·
Replies
20
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 27 ·
Replies
27
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K
Replies
19
Views
3K
  • · Replies 22 ·
Replies
22
Views
4K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K