Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.
Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.
Orbits of rotations
By default, we will represent points in the circle by numbers in the interval . The following function converts from these coordinates to the unit circle.
Here is an example of the use of the function above:
Note that the output of the last command in a block is automatically printed in Jupyter.
The following function returns the rotation of the circle by alpha.
The following constructs the rotation by 2/5:
Here we test it:
The following is a function that computes the forward orbit of under up until time . So, this returns the list of values
Here we see that has a periodic orbit of least period :
The following converts orbit into circle coordinates:
We can plot the circle_orbit
:
Here we plot two orbits:
An irrational orbit:
Sage can do exact arithmetic in the field AA
of all algebraic reals. For more infromation on AA
see: http://doc.sagemath.org/html/en/reference/number_fields/sage/rings/qqbar.html.
Of course, the full infinitely long forward orbit of any point is dense, as we will prove in class. Also see Devaney's Theorem 3.13.