Nonlinear Dynamics and Chaos by Steven H. Strogatz Solutions by Aminur Rahman
Chapter 2: Flows on the Line 2.1
A Geometric Way of Thinking
2.1.1. The fixed points are: x∗ = nπ, n ∈ Z. 2.1.2. Points of greatest positive velocity are: x =
2n+1 2 π,
n ∈ Z.
2.1.3. (a) The flow’s acceleration is: x ¨ = cos x. (b) Points of greatest positive acceleration are: x = 2nπ, n ∈ Z. 2.1.4. (a) We plug in x0 = π/4 to get 1 + √2 csc x0 + cot x0 = ln t = ln csc x + cot x csc x + cot x x0 =π/4 √ ⇒ csc x + cot x = (1 + 2)e−t . x √ = (1 + 2)e−t . ⇒ cot 2 h √ i x = cot−1 1 + 2 e−t . 2 h √ i x = 2 cot−1 1 + 2 e−t . et −1 √ . = 2 tan 1+ 2
(b) The general solution is x = 2 tan
−1
et csc x0 + cot x0
2.1.5. (a) The simple pendulum. (b) At x∗ = 0 any perturbation throws the trajectory of the pendulum out of the ball B (x∗ = 0), however at x∗ = π the trajectory will always remain in the ball B (x∗ = π).
2.2
Fixed Points and Stability
2.2.1. Unstable: x∗ = 4. Stable: x∗ = −4. 2.2.2. Unstable: x∗ = −1. Stable: x∗ = 1. 2.2.3. Unstable: x∗ = 0. Stable: x∗ = ±1. 2.2.4. The fixed points are x∗ = nπ, n ∈ Z. To find the stability we take the derivative, f 0 (x) = −e−x sin x + e−x cos x. Plugging in the fixed points shows that when n is even the fixed points are unstable and when n is odd the fixed points are stable. 2.2.5. This system has no fixed points. 2.2.6. Unstable x∗ =
π 4
+ 2nπ, n ∈ Z. Stable: x∗ = − π4 + 2nπ, n ∈ Z.
2.2.7. We can’t explicitly find the fixed points, but one is encouraged to plot the function and analyze the qualitative behavior of the system. 2.2.8. Notice that a fourth order polynomial will satisfy the conditions. We need this function to be tangent to the x-axis at x = −1, and transverse to the x-axis at the other two fixed points. The function will be positive on x ∈ (−∞, −1) ∪ (−1, 0) ∪ (2, ∞) and negative on x ∈ (0, 2). So, consider the function, f (x) = x(x + 1)(x − 2)(x + a) = −2ax − (2 + a)x2 + (a − 1)x3 + x4 . Taking the derivative gives, f 0 (x) = −2a − 2(a + a)x + 3(a − 1)x2 + 4x3 . To satisfy the tangency condition at x = −1 we set the derivative to zero at that point and solve for a which gives, a = 1. Therefore, f (x) = x(x + 1)2 (x − 2). Testing the conditions we see that this does indeed satisfy them. We can also check this graphically by plotting the function. 2.2.9. It is perhaps easier to transform this plot into the flow line plot. By analyzing the flow on the real line we easily see that our ODE is: x˙ = x(x − 1). 2.2.10. (a) x˙ = 0. (b) x˙ = sin πx. (c) Not possible because we need an unstable fixed point between any two unstable ones for smooth vector fields. (d) x˙ = 1.
(e) x˙ =
P100
n=1 (x
− n).
2.2.11. We consider the ODE 1 V0 Q˙ + Q= , Q(0) = 0. RC R The integrating factor is µ = exp(t/RC). By method of integrating factor, we have Z µQ =
V0 µ dt = R
Z
V0 t/RC e dt = V0 Cet/RC + const. R
⇒ Qet/RC = V0 Cet/RC + const. ⇒ Q = V0 C + const.et/RC ⇒ Q = V0 C 1 − e−t/RC . 2.2.12. Consider a nonlinear resistor for which I = g(V ) ⇒ V = g −1 (V ). Then the voltage drop across the system becomes −V0 + V +
Q Q ˙ + Q = 0. = −V0 + g −1 (I) + = −V0 + g −1 (Q) C C C
˙ Now, we solve for Q, ˙ = V0 − Q ⇒ Q˙ = g(V0 − Q .) g −1 (Q) C C Then the fixed point is the same, Q∗ = CV0 , because g is zero when its argument is zero. + Also, from the graph of g we see that g(V0 − Q− ∗ /C) > 0 and g(V0 − Q∗ /C) < 0, so the fixed point is still stable. The nonlinearity doesn’t result in any qualitative changes. 2.2.13. (a) Dividing through by m gives, k v˙ = g − v 2 ⇒ m
Z
dv =t+C ⇒ k 2 g−m v
r
m tanh−1 gk
k v gm
= t + C.
Since, v(0) = 0, C = 0, hence mg v= tanh k
gk rm ert − e−rt gk t = , r= . rt −rt m k e +e m
(b) Taking the limit we get, limt→∞ v =
mg k .
(c) The fixed point of the terminal velocity equation is v∗ = mg k , and it is stable. This corresponds to the terminal velocity. Notice, we didn’t consider the negative value for v∗ since this would not be physical. (d) The average velocity is vavg =
∆s ∆t
=
29300 116
= 253 ft/sec.
(e) Solving for the terminal velocity numerically gives V ≈ 265 ft/sec. Plugging this into the terminal velocity formula gives k = mg = .120 kg/ft. V2
2.3
Population Growth
2.3.1. (a) We solve the ODE N˙ = rN (1 − N/K) via separation of variables. Z dN 1 N = t + C ⇒ ln = t + C. rN (1 − N/K) r N −K Plugging in the initial conditions gives, c =
1 r
0 ln NN , then 0 −k
N 1 N0 N N0 N0 N0 1 ln = t + ln ⇒ = ert ⇒ N = ert N − K ert r N −K r N0 − K N −K N0 − K N0 − K N0 − K 0 −K N0N−K ert −KN0 ert ⇒N = = . 0 N0 − K − N0 ert ert 1 − N0N−K (b) Let x = 1/N , then the ODE becomes N 1 1 1− = −x 1 − = −x + ; x(0) = 1/N0 K Kx K dx 1 ⇒ = t + C ⇒ − ln −x + =t+C −x + 1/K K 1 1 ⇒ −x + = αe−t ⇒ x = βe−t + K K
x˙ = −N 2 N˙ = −
1 N N2 Z
1−
N K
=−
1 N
Plugging in the initial condition gives, β = x=
1 N0
1 1 − N0 K
−
1 K,
then
e−t +
1 . K
1a 2.3.2. (a) We find the fixed points, x˙ = k1 ax − k−1 x2 = 0 ⇒ x∗ = 0, kk−1 . For stability we 0 differentiate, f (x) = k1 a − 2k−1 x, which shows the fixed points are unstable and stable respectively.
(b) Sketching. 2.3.3. (a) In the Gompertz equation, a is the growth constant (the ”ability” of cells to grow) and b−1 is the carrying capacity (1/b is as large as the cell can feasibly get). (b) The fixed points are N∗ = 0, 1/b. Differentiating gives, f 0 (N ) = −a ln(bn) − a, so the fixed points are unstable and stable respectively. Now we can sketch the vector field. 2.3.4. We set the derivative to zero to find the critical points, f 0 (N ) = −2a(N − b) = 0 at N = b, which corresponds to the local maxima because f 00 (N ) = −2a. ˙
N = r−a(N −b)2 = 0 ⇒ (N −b)2 = ar ⇒ N −b = ± ar ⇒ N∗ = ± ar +b. 2.3.5. We find the fixed points, N r N∗ = a + b is stable. N∗ = − ar + b is unstable if b > ar , otherwise it’s unphysical, since physically, N ≥ 0.
2.4
Linear Stability Analysis
2.4.1. The derivative is f 0 (x) = 1 − 2x, so the fixed points, x∗ = 0, 1 are unstable and stable respectively. 2.4.2. The derivative is f 0 (x) = 3x2 − 6x + 2, so the fixed points, x∗ = 0, 1, 2 are unstable, stable, and unstable respectively. 2.4.3. The derivative is f 0 (x) = sec2 x, so the fixed point, x∗ = 0, is unstable. 2.4.4. The derivative is f 0 (x) = −3x2 + 12x, so x∗ = 6 is unstable, however the derivative test is inconclusive for x∗ = 0. Graphically, we see that x∗ = 0 is half-stable. 2.4.5. The derivative is f 0 (x) = 2x exp(−x2 ), so the derivative test is inconclusive for the unique fixed point x∗ = 0. Graphically, we see that it is half-stable. 2.4.6. The derivative is f 0 (x) = 1/x, so the unique fixed point x∗ = 1 is unstable. √ 2.4.7. For a > 0, the derivative is f 0 (x) = a − 3x2 , so x∗ = ± a is stable, and x∗ = 0 is unstable. If a < 0, x∗ = 0 is stable, but the other two fixed points vanish since they are now imaginary. For a = 0, the dynamical system becomes x˙ = −x3 , so the only fixed point is x∗ = 0 and it is stable. Note: this is a supercritical pitchfork bifurcation. 2.4.8. This is already done. See 2.3.3 b in the previous section. 2.4.9. (a) We solve the ODE via separation of variables,
3
x˙ = −x ⇒
(b) Numerics.
Z
1 1 1 x−3 dx = −t + C1 ⇒ − x−2 = −t + C1 ⇒ 2x2 = ⇒ x2 = 2 t + C2 2t + C3 r 1 → 0 as t → ∞ ⇒x=± 2t + C3
2.5
Existence and Uniqueness
2.5.1. (a) The fixed point x∗ = 0 is stable for any c > 0. (b) We solve the ODE, x˙ = x
−c
Z ⇒
xc dx = t + k ⇒
For x = 0, t = −k, and for x = 1, t = x = 1 to x = 0 is T = 1/(c + 1).
1 c+1
xc+1 = t + k. c+1
− k, so the time it takes the flow to go from
2.5.2. Notice 1 + x10 ≥ 1 + x2 , so we solve the inequality, Z dx = tan−1 x ⇒ t − C ≤ tan−1 x. t−C ≤ 1 + x2 So, as x → ∞, t − C ≤ π/2 ⇒ t ≤ π/2 + C. Since this holds for any valid constant, C, t is finite. 2.5.3. We solve the ODE, Z
Z Z dx dx xdx = − x(r + x2 ) rx r(r + x2 ) p 1 1 1 1 x = ln x − ln(r + x2 ) = [ln x − ln r + x2 ] = ln → 0 as x → ∞ r 2r r r r + x2
x˙ = rx + x3 ⇒ t − C =
So, t = C, and hence is a constant. Note: this is a subcritical pitchfork bifurcation. 2.5.4. We solve the ODE, x˙ = x
1/3
Z ⇒
−1/3
x
Since x(0) = 0, x =
3 2 dx = t + C1 ⇒ x2/3 = t + C ⇒ x2/3 = t + C2 ⇒ x = 2 3 3 3/2 , 2t
2 t + C2 3
3/2 .
but x = 0 is also a solution. So, we have the following solutions,
( 0 x = 2
3/2 3 (t − t0 )
for t < t0 , for t ≥ t0 ;
∀ t0 ≥ 0.
Since this holds for any t0 , there are infinitely many solutions.
2.5.5. We solve the ODE, p/q
x˙ = |x|
Z ⇒t+C =
−p/q
|x|
Z dx =
x−p/q dx =
1 x−p/q+1 . −p/q + 1
However, x = 0 is also a solution. Notice, we need only consider x ≥ 0 because x(0) = 0 and x˙ ≥ 0 for any x. (a) For p < q, we have the following solutions, ( 0 x= [(−p/q + 1)(t − t0 )]1/(−p/q+1)
for t < t0 , for t ≥ t0 ;
∀ t0 ≥ 0.
Since this holds for any t0 , there are infinitely many solutions. (b) For p > q, −p/q + 1 < 0, so for x(0) = 0, the only solution is x = 0. 2.5.6. (a) By the conservation of mass, the volume is also conserved, and the equations given are just the time derivatives of the volume. (b) The potential energy of the system is ∆mgh and the kinetic energy is 21 (∆m)v 2 . If all the potential energy is converted to kinetic energy, v 2 = 2gh. √ √ (c) From (a) and (b) we have, av = Ah˙ and v = 2gh. Then, −a 2gh = Ah˙ ⇒ h˙ = √ −a 2gh. A (d) We solve the ODE, Z ˙h = −Ch1/2 ⇒ h−1/2 = −Ct + C1 ⇒ 2h1/2 = −Ct + C1 ⇒ h = −C t2 + C1 t + C2 . 4 2 Since h(0) = 0, C2 = 0, hence h = −C 4 t + C1 t. Here, C is known from (c), however C1 is arbitrary, therefore there exists infinitely many solutions in backward time.
2.6
Impossibility of Oscillations
2.6.1. Any second order ODE can be broken down into two first order ODEs, and hence is a two dimensional dynamical system. 2.6.2. Proof. Suppose the system x˙ = f (x) has a nontrivial periodic solution x(t), i.e. x(t) = x(t+T ) R t+T for some T > 0, and x(t) 6= x(t + s) for all 0 < x < T . Consider t f (x) dx dt dt. By the chain rule we have, Z t+T Z x(t+T ) dx f (x) dt = f (x)dx = 0 dt t x(t) because x(t) = x(t + T ). However, Z t
t+T
dx f (x) dt = dt
Z
t+T
f (x)2 dt > 0
t
because T > 0 and f is not identically zero. This forms a contradiction. Therefore, there can be no periodic solutions to one dimensional dynamical systems.
2.7
Potentials
2.7.1. The potential is V (x) = 21 x2 − 31 x3 . The fixed points are x∗ = 0, 1 and unstable and stable respectively. 2.7.2. The potential is V (x) = 3x, and the system has no fixed points. 2.7.3. The potential is V (x) = − cos x. The fixed points are x∗ = ±nπ, n ∈ Z. The fixed points are stable when n is odd and unstable when n is stable. 2.7.4. The potential is V (x) = 2x − cos x, and the system has no fixed points. 2.7.5. The potential is V (x) = − cosh x. The fixed point x∗ = 0 is stable. 2.7.6. The potential is V (x) = rx + 21 x2 − 14 x4 . This must be done graphically and/or numerically. 2.7.7. Proof. Suppose the system x˙ = f (x) has a periodic solution x(t) such that x(t) = x(t + T ) R t+T f (x) dx for some T > 0 and x(t) 6= x(t + s) for all 0 < s < T . Consider the integral t dt dt. Assume there is a nontrivial potential function V (x) such that dV (x)/dx = f (x). Then Z t
t+T
dx f (x) dt = dt
Z
x(t+T ) dV dx = V (x) = 0, dx x(t)
x(t+T )
x(t)
because x(t) = x(t + T ), but Z t
t+T
dx f (x) dt = dt
Z t
t+T
dV dx dt = dx dt
Z t
t+T
dV dt = dt
Z
t+T
−
t
Therefore, V ≡ 0, hence the system can not have a periodic solution.
dV dx
2 dt ≤ 0.