Skip to main content
Library homepage
 

Text Color

Text Size

 

Margin Size

 

Font Type

Enable Dyslexic Font
Mathematics LibreTexts

4.1: Discrete-Time Models with Difference Equations

( \newcommand{\kernel}{\mathrm{null}\,}\)

Discrete-time models are easy to understand, develop and simulate. They are easily implementable for stepwise computer simulations, and they are often suitable for modeling experimental data that are almost always already discrete. Moreover, they can represent abrupt changes in the system’s states, and possibly chaotic dynamics, using fewer variables than their continuous-time counterparts (this will be discussed more in Chapter 9). The discrete-time models of dynamical systems are often called Difference Equations, because you can rewrite any first-order discrete-time dynamical system with a state variable x (Eq. (3.1.1)), i.e.,

xt=F(xt1,t)

into a “difference” form

x=xtxt1=xt=F(xt1,t)xt1

which is mathematically more similar to differential equations. But in this book, we mostly stick to the original form that directly specifies the next value of x, which is more straightforward and easier to understand.

Note that Equation ??? can also be written as

xt+1=F(xt,t)

which is mathematically equivalent to Equation ??? and perhaps more commonly used in the literature. But we will use the notation with xt,xt1,xt2, etc., in this textbook, because this notation makes it easier to see how many previous steps are needed to calculate the next step (e.g., if the right hand side contains xt1 and xt2, that means you will need to know the system’s state in previous two steps to determine its next state). From a difference equation, you can produce a series of values of the state variable x over time, starting with initial condition x0:

x0,x1,x2,x3....

This is called time series. In this case, it is a prediction made using the difference equation model, but in other contexts, time series also means sequential values obtained by empirical observation of real-world systems as well.

Here is a very simple example of a discrete-time, discrete-state dynamical system. The system is made of two interacting components: A and B. Each component takes one of two possible states: Blue or red. Their behaviors are determined by the following rules:

  • A tries to stay the same color as B.
  • B tries to be the opposite color of A.

These rules are applied to their states simultaneously in discrete time steps

Exercise 4.1.1

Write the state transition functions FA(SA,SB) and FB(SA,SB) for this system, where SA and SB are the states of A and B, respectively.

Exercise 4.1.2

Produce a time series of SA,SB starting with an initial condition with both components in blue, using the model you created. What kind of behavior will arise?


This page titled 4.1: Discrete-Time Models with Difference Equations is shared under a CC BY-NC-SA 3.0 license and was authored, remixed, and/or curated by Hiroki Sayama (OpenSUNY) via source content that was edited to the style and standards of the LibreTexts platform.

Support Center

How can we help?