Abstract
In this chapter we deal with difference equations. In Sect. 10.1 we will present first-order linear difference equations. In particular, we will discuss solution by iteration (Sect. 10.1.1) and by general method (Sect. 10.1.2). In Sect. 10.2 we will learn how to solve second-order linear difference equations. Section 10.3 is devoted to systems of linear difference equations while in Sect. 10.4 we will learn how to transform high-order difference equations. Examples of applications in Economics include: a problem with interest rate, the cobweb model, the Harrod-Domar growth model, the law of motion for public debt, and the autoregressive process. Examples of functions coded from scratch include: a function to solve difference equations by iteration, a function to solve numerically systems of first-order linear difference equations, a function to plot the results of the cobweb model, and a function that simulates the law of motion for public debt.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Notes
- 1.
- 2.
The quadratic formula is in the normalized form, i.e. the coefficient of b 2 needs to be 1.
- 3.
- 4.
- 5.
Note that we wrote (10.41) to be consistent with the previous example. However, you may find (10.42) with 0 and 1 inverted on the main diagonal, implying that the equations in (10.41) are written with a different order. However, the interpretation of the results does not change. To be noted that as we arranged the equations and consequently the matrix and the column vectors, periods in sys_folde() returns the desired period at index \( \left [1, 1 \right ] \). That is, in the example, 89 corresponds to tā=ā11, and consequently 144 corresponds to tā=ā12. For example, if you set periods = 0, the values 0 and 1, i.e. the initial values, are returned at index \( \left [1, 1 \right ] \) and \( \left [2, 1 \right ] \), respectively. Naturally the function also works if you appropriately rewrite (10.41) and consequently rewrite (10.42). However, make sure you correctly interpret the results.
- 6.
This is the simplest assumption about expected price. Other possible specifications include adaptive expectations and Goodwin expectations.
References
Chiang, A. C., & Wainwright, K. (2005). Fundamental methods of mathematical economics (4th edn.). New York: McGraw-Hill.
Hyndman, R. J., & Athanasopoulos, G. (2021). Forecasting: Principles and practice. Retrieved September 27 2021, from https://otexts.com/fpp3/
Pfaff, B. (2008). Analysis of integrated and cointegrated time series with R (2nd edn.). New York: Springer. ISBN 0-387-27960-1. http://www.pfaffikus.de
Shone, R. (2002). Economic dynamics (2nd edn.). Cambridge: Cambridge University Press.
Simon, C. P., & Blume, L. (1994). Mathematics for economists. New York: W. W. Norton & Company.
Author information
Authors and Affiliations
Rights and permissions
Copyright information
Ā© 2022 The Author(s), under exclusive license to Springer Nature Switzerland AG
About this chapter
Cite this chapter
Porto, M. (2022). Difference Equations. In: Introduction to Mathematics for Economics with R. Springer, Cham. https://doi.org/10.1007/978-3-031-05202-6_10
Download citation
DOI: https://doi.org/10.1007/978-3-031-05202-6_10
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-031-05201-9
Online ISBN: 978-3-031-05202-6
eBook Packages: Economics and FinanceEconomics and Finance (R0)