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

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 f(x^{*})=x^{*}

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:

\tanh{ax}=\frac{e^{ax}-e^{-ax}}{e^{ax}+e^{-ax}}=x

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

Then I can take the Taylor expansion...

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

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

Then I tried this:

\tanh{(ax)}=x
ax=\tanh^{-1}{(x)}

Differentiate both sides:

a=\frac{1}{1-x^2}

Solve for x:

x=\pm \sqrt{1-\frac{1}{a}}

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

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

So the following should hold true:

\tanh{(\frac{2}{\sqrt{2}})}=\frac{1}{\sqrt{2}}

But it doesn't. The correct value is

\tanh{(\frac{2}{\sqrt{2}})}=0.88839

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 \frac{dx}{dt} = f(x*) = 0 (look at Nonlinear Dynamics and Chaos, Steven H. Strogatz) then the problem is to find x* satisfying: tanh(x*)= 0.. Additionally, although, tanh(x*) = x* 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 \frac{dx}{dt} = f(x*) = 0 (look at Nonlinear Dynamics and Chaos, Steven H. Strogatz) then the problem is to find x* satisfying: tanh(x*)= 0.. Additionally, although, tanh(x*) = x* 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 \frac{dx}{dt} = f(x*) = 0 (look at Nonlinear Dynamics and Chaos, Steven H. Strogatz) then the problem is to find x* satisfying: tanh(x*)= 0.. Additionally, although, tanh(x*) = x* 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
 
Hi, I had an exam and I completely messed up a problem. Especially one part which was necessary for the rest of the problem. Basically, I have a wormhole metric: $$(ds)^2 = -(dt)^2 + (dr)^2 + (r^2 + b^2)( (d\theta)^2 + sin^2 \theta (d\phi)^2 )$$ Where ##b=1## with an orbit only in the equatorial plane. We also know from the question that the orbit must satisfy this relationship: $$\varepsilon = \frac{1}{2} (\frac{dr}{d\tau})^2 + V_{eff}(r)$$ Ultimately, I was tasked to find the initial...
The value of H equals ## 10^{3}## in natural units, According to : https://en.wikipedia.org/wiki/Natural_units, ## t \sim 10^{-21} sec = 10^{21} Hz ##, and since ## \text{GeV} \sim 10^{24} \text{Hz } ##, ## GeV \sim 10^{24} \times 10^{-21} = 10^3 ## in natural units. So is this conversion correct? Also in the above formula, can I convert H to that natural units , since it’s a constant, while keeping k in Hz ?
Back
Top