Consider the following linear dynamical system (example 3.4 in [1])
where the state vector travels in the finite state space
, where
. Since the state space is finite, let us henceforth call it state set. Let
be defined by
so that we can write the state update equation in the more compressed form . For simplicity, let us introduce function
defined by
. Hence, we have
.
Do note that we are working with the finite ring , whose addition and multiplication tables are as follows
and, therefore, when we update each state via , we use addition and multiplication modulo 4.
When we study discrete-time dynamical systems over , we are usually interested in finding equilibrium points, fixed points and limit cycles. For dynamical systems over a finite ring, what are the properties of interest? And how can one study them?
__________
State transition graph
The state set, , which has
elements, is a subset of the 2-dimensional integer lattice
, as depicted below
Computing for each
in the state set and forming ordered pairs
, we can build the state transition graph, whose vertex set is the state set
, and whose edge set is the set
. A pictorial representation of this graph is shown below
Note that the out-degree of each vertex is 1. This is due to the fact that function maps states to states, not states to sets of states. In other words, we do not allow non-determinism.
Visual inspection of the state transition diagram allows us to conclude that, interestingly, the in-degree of each vertex is also 1, i.e., function is injective and surjective. Thus,
is invertible, which means that the dynamical system we are studying is time reversible! Switch the direction of each arrow in the diagram, and we obtain a new state transition diagram. Hence, if are given the state at a certain time step, we can determine the entire history of the system, both past and future!
A state is a fixed point if
, i.e., if
. Taking a look at the state transition diagram, we see that there are four vertices with self-loops, which means that the system has four fixed points
.
If the system starts at a fixed point , it will remain there forever
and, thus, the set of all fixed points is an invariant set. Note that a fixed point is a periodic point of period equal to 1.
Observing the state transition diagram again, we notice the existence of loops of various lengths. We have two loops of length equal to 2 and two loops of length equal to 4, depicted below in blue and magenta, respectively
Do note, however, that we also have four loops of length equal to 1, which are the self-loops corresponding to the fixed points, but we already mentioned those.
For the dynamical system under study, we could obtain qualitative information about its behavior by visual inspection of its state transition diagram. Suppose, for example, that we want to study a dynamical system whose state set is , which has over four billion states. It is evident that drawing diagrams and counting loops is an approach that does not scale! Can one use Algebra to obtain qualitative information about the dynamical system being studied?
__________
Finding periodic points
If state is a fixed point, then
or, equivalently,
, as we defined
. Hence, we can find fixed points by solving the equation
.
A state is a periodic point of period equal to
if
, where
and
. Since
, we have that
. Thus, we can find periodic points of period equal to
by solving the equation
.
However, do note that fixed points, i.e., periodic points of period equal to 1, are also periodic points of period equal to 2, equal to 3, equal to 4, etc. Therefore, let the fundamental period be the smallest natural number for which
. For example, the set of all periodic points of fundamental period equal to 2 is
and the set of all periodic points of fundamental period equal to 3 is
.
However, the periodic points of period equal to 2 are also periodic points of period equal to 4. Hence, the set of periodic points of fundamental period equal to 4 is
.
But, how do we solve equations of the form over the ring
? A possibility is to search the whole state set and find the states for which the equations hold. That is precisely what the following Python script does:
# define function f
def f (x):
f1 = (2 * x[0] + 3 * x[1]) % 4
f2 = x[0] % 4
return (f1, f2)
# create state set
X = []
for x1 in [0,1,2,3]:
for x2 in [0,1,2,3]:
X.append((x1,x2))
print "State transitions:\n"
for x in X:
x1, x2, f1, f2 = x[0], x[1], f(x)[0], f(x)[1]
print "f(%d,%d) = (%d,%d)" % (x1, x2, f1, f2)
# find periodic points of fundamental periods 1, 2, 3, 4
PP1, PP2, PP3, PP4 = [], [], [], []
for x in X:
if f(x) == x:
PP1.append(x)
elif f(f(x)) == x:
PP2.append(x)
elif f(f(f(x))) == x:
PP3.append(x)
elif f(f(f(f(x)))) == x:
PP4.append(x)
print "\nLists of periodic points:\n"
print "\nFundamental period equal to 1:\n %s" % PP1
print "\nFundamental period equal to 2:\n %s" % PP2
print "\nFundamental period equal to 3:\n %s" % PP3
print "\nFundamental period equal to 4:\n %s" % PP4
The output of this script is the following:
State transitions: f(0,0) = (0,0) f(0,1) = (3,0) f(0,2) = (2,0) f(0,3) = (1,0) f(1,0) = (2,1) f(1,1) = (1,1) f(1,2) = (0,1) f(1,3) = (3,1) f(2,0) = (0,2) f(2,1) = (3,2) f(2,2) = (2,2) f(2,3) = (1,2) f(3,0) = (2,3) f(3,1) = (1,3) f(3,2) = (0,3) f(3,3) = (3,3) Lists of periodic points: Fundamental period equal to 1: [(0, 0), (1, 1), (2, 2), (3, 3)] Fundamental period equal to 2: [(0, 2), (1, 3), (2, 0), (3, 1)] Fundamental period equal to 3: [] Fundamental period equal to 4: [(0, 1), (0, 3), (1, 0), (1, 2), (2, 1), (2, 3), (3, 0), (3, 2)]
Note that there are no periodic points of fundamental period equal to 3, as a quick glance at the state transition diagram will tell.
__________
References
[1] O. Colón-Reyes, A. Jarrah, R. Laubenbacher, B. Sturmfels, Monomial Dynamical Systems over Finite Fields, May 2006.
Tags: Discrete Dynamical Systems, Finite Dynamical Systems, Finite Rings, Fixed Points, Periodic Points




July 24, 2011 at 12:56 |
Nice! and I think you could do more math here. We know
is bijective because
has an inverse:
Also, we can simply solve
, i.e.
The solution is just
, giving
,
,
and
. Similarly,
gives
, so we get
,
,
and
, and also of course the 4 previous ordered pairs. I think an orbit of size 3 is impossible since 3 and 4 are relatively prime. Finally, since
, all 16 ordered pairs satisfy
.
July 24, 2011 at 17:53 |
Indeed! That will be part II.
Thanks for your comment. I edited it slightly. I will take the liberty of sending you an email when the 2nd installment is posted.