A Dynamical System is a triplet where is the time domain, is the Phase Space (manifold of possible states), and is an evolution function satisfying:
(Identity)
(Group property)
Discrete Dynamics: Iterated Maps
In a discrete system, the state is updated by a map :
The sequence is called the Orbit of .
Interactive Lab
def logistic_map(x, r):
return r * x * (1 - x)
def iterate(f, x0, n):
curr = x0
for _ in range(n):
curr = f(curr)
return curr
# Test logistic map at r=2.5 (Stable fixed point)
r = 2.5
f = lambda x: logistic_map(x, r)
print(f"Iteration 10: {iterate(f, 0.5, 10):.3f}")
print(f"Iteration 50: {iterate(f, 0.5, 50):.3f}")
print("At r=2.5, the system settles to a single point.")
python
1def logistic_map(x, r):
2return r * x *(1- x)
3
4def iterate(f, x0, n):
5 curr = x0
6for _ inrange(n):
7 curr = f(curr)
8return curr
9
10# Test logistic map at r=2.5 (Stable fixed point)
15print("At r=2.5, the system settles to a single point.")
Fixed Points and Stability
A fixed point satisfies .
A point is Lyapunov Stable if for every , there exists such that for all .
For a differentiable map , is Asymptotically Stable if .
Interactive Lab
def check_stability(f_prime, x_star):
derivative_val = f_prime(x_star)
is_stable = abs(derivative_val) < 1
return is_stable, derivative_val
# For logistic map, f'(x) = r(1 - 2x)
# Fixed point x* = 1 - 1/r
r = 3.2
x_star = 1 - 1/r
f_prime = lambda x: r * (1 - 2 * x)
print(f"Is fixed point stable at r=3.2? {check_stability(f_prime, x_star)}")
print("At r=3.2, |f'(x*)| > 1, so the fixed point is unstable (leads to limit cycles).")
python
1def check_stability(f_prime, x_star):
2 derivative_val = f_prime(x_star)
3 is_stable =abs(derivative_val)<1
4return is_stable, derivative_val
5
6# For logistic map, f'(x) = r(1 - 2x)
7# Fixed point x* = 1 - 1/r
8r =3.2
9x_star =1-1/r
10f_prime =lambda x: r *(1-2* x)
11
12print(f"Is fixed point stable at r=3.2? {check_stability(f_prime, x_star)}")
13print("At r=3.2, |f'(x*)| > 1, so the fixed point is unstable (leads to limit cycles).")
Continuous Dynamics: Flow
Continuous systems are defined by a vector field and an autonomous differential equation:
The solution through is the Integral Curve or Flow Line. Stability is determined by the eigenvalues of the Jacobian Matrix . If all eigenvalues have negative real parts, the equilibrium is stable.
Knowledge Check
If a fixed point x* has |f'(x*)| = 0.5, is it stable?
Answer: Yes, it is an attractor.
If a fixed point x* has |f'(x*)| = 0.5, is it stable?
Knowledge Check
What is a 'Chaos' state in a dynamical system characterized by?
Answer: Sensitive dependence on initial conditions
What is a 'Chaos' state in a dynamical system characterized by?