Skip to main content
1 of 3

Phase portait for orbits of maps in mathematica?

I am looking for a way to generate the phase portrait on the real line of the orbits of maps, such as

f(x)=-x

which orbit has the phase portrait :

enter image description here

Then another example:

g(x)=2x

has an orbit with the following phase portrait

enter image description here

This is explained in Devaney "Chaotic Dynamical Systems"

No such options are available for neither Mathematica or MATLAB. Only the regular phase portrait for the solutions of ODEs. But this is phase portrait for maps and their periods.

Thanks