The butterfly effect in economics: Exploring chaos with a simple financial model
CODEE Journal · 2026 · 20 (1) · 1-14
DOI: 10.5642/codee.zovu9648 ↗At a glance
Journal article in CODEE Journal, 2026. Written by Sandy HS Herho. Cited 1 times so far (Crossref).
Abstract (original language)
Wild swings in financial markets need not result from external shocks like earthquakes or wars—they can emerge from deterministic chaos. This article introduces kalimusada, an open-source Python library that lets students and instructors explore this phenomenon through a simple three- equation model of financial dynamics. The model couples interest rates, investment, and prices through nonlinear feedback, generating bounded but unpredictable oscillations characteristic of chaos. Tiny differences in starting conditions—smaller than any measurement could detect—grow exponentially until two initially identical economies follow completely different paths. The library provides ready-to-use tools for visualizing this “butterfly effect” in economics, computing divergence metrics, and estimating Lyapunov exponents. Available via PyPI with source code on GitHub, kalimusada serves as a pedagogical gateway to chaos theory through an economically motivated example accessible to anyone familiar with ordinary differential equations.
Cite
APA
Herho, S. H. (2026). The butterfly effect in economics: Exploring chaos with a simple financial model. CODEE Journal, 20(1), 1-14. https://doi.org/10.5642/codee.zovu9648
Vancouver
Herho SH. The butterfly effect in economics: Exploring chaos with a simple financial model. CODEE Journal. 2026;20(1):1-14. doi:10.5642/codee.zovu9648
BibTeX
@article{Herho2026,
author = {Herho, Sandy HS},
title = {The butterfly effect in economics: Exploring chaos with a simple financial model},
journal = {CODEE Journal},
year = {2026},
volume = {20},
number = {1},
pages = {1--14},
doi = {10.5642/codee.zovu9648}
}
EUVIMED