ch2 2019
ch2 2019
x 0 + a (t ) x = b (t ) , (2)
x 0 + x = t ; x 0 + 3tx = 5t ; t 2 + 2 x 0 + e t x = t ln t .
Example 2:
First-order linear di. equations with constant coecients
Consider rst the simplest case of constant coecients where
a (t ) = a 6= 0 and b (t ) = b:
x 0 + ax = b
Multiply each member by the integrating factor e at to get:
e at x 0 + ax = be at
d (xe at )
= be at
dt
Integrate:
d (xe at ) b
Z Z
= be at ⇔ xe at = e at + C
dt a
Finally multiply by e −at to get:
b
x= + Ce −at
a
Example 3: Consider the equation
x 0 + 4x = 8
Then
x = Ce −4t + = Ce −4t + 2
8
When t → ∞,
x (t ) → 2
As a = 4 > 0, the equilibrium state, x = 2, is stable.
First-order linear di. eq. with variable right-hand term
Now consider dierential equations with a variable right-hand
term:
x 0 + ax = b (t )
Multiply by the integrating factor e at to get
d (xe at )
e at x 0 + ax = b (t ) e at ⇔ = b (t ) e at
dt
Integrate Z
xe at = b(τ )e aτ d τ + C
Z
x= b (τ ) e aτ d τ e −at + Ce −at (3)
First-order linear di. equations: general case
We now turn to the general case in which both a (t ) and b (t )
vary with t:
x 0 + a (t ) x = b (t )
The integrating factor is now e A(t ) where
Z t
A (t ) = a (τ ) d τ, with A0 (t ) = a (t )
t0
Multiply by the integrating factor to obtain
x 0 + a (t ) x e A(t ) = b (t ) e A(t )
d xe A(t )
= x 0 + a (t ) x e A(t )
dt
Integrate: Z
xe A(t ) = b (τ ) e A(τ ) d τ + C
Theorem (1)
The rst-order linear dierential equation:
x 0 + a (t ) x = b (t ) (4)
R dτ Z
ϕ (t ) = e
α
− 1−α τ C+ 0×e
A(τ ) d τ
[ln τ ]tt
= Ce − 1−α (ln t −ln t0 )
α α
= Ce
− 1−α
0
α
= ct − 1−α
Example 5: x 0 = x 2 − 1 is separable; x 0 = xt + t = t (x + 1) is
separable; x = xt + t is not separable.
0 2
dx t3
= 6
dt x + 1
Separate the variables:
x 6 + 1 dx = t 3 dt
Integrate: Z Z
6
x + 1 dx = t 3 dt
Evaluate:
1 7 1
x + x = t4 + C
7 4
x 0 = F (x )
Phase plane analysis of autonomous equations
Phase plane analysis is useful to gain insights into the form of
the solutions of such equations.
k 0 = sf (k ) − nk = g (k )
g 0 (k ) = sf 0 (k ) − n tends to sb − n (assumed positive) as k → 0
and to −n as k → +∞, so there exists k1 > 0 such that g (k1 ) = 0.
x 00 = F t , x , x 0 .
(7)
x 00 + a (t ) x 0 + b (t ) x = f (t )
where a (t ) , b (t ) and f (t ) are continuous functions of t on an
interval I .
x 00 + ax 0 + bx = 0. (12)
r 2 + ar + b = 0, (13)
r
1 1
r1,2 = − a ± a2 − b
2 4
x = Ae r1 t + Be r2 t
Case 2. If ∆ = 0, (13) has one real solution:
1
r =− a
2
x = Ae rt + Bte rt = (A + Bt ) e rt
Case 3. If ∆ < 0, (13) has two complex solutions:
r
1 1 1
r1,2 = − a ± i |∆| = − a ± i b − a2
p
2 2 4
∆ = 22 − 4 = 0. Hence: r = − 21 × 2 = −1 and
x = (A + Bt ) e −t .
Using the conditions:
x (0) = A = 1
x (1) = (1 + B ) e −1 = 2 ⇔ B = 2e − 1
we get:
x (t ) = (1 + (2e − 1) t ) e −t .
Example 11: Solve x 00 − x = 0
∆>0 and r = ±1 ⇒ x = Ae t + Be −t
∆=0 and r = 5 ⇒ x = (A + Bt ) e 5t
Method of undetermined coecients
By the theorem above, solutions to non-homogeneous equations:
x 00 + ax 0 + bx = f (t ) (14)
i =0
Compute the derivatives, substitute them in the equation and
identify the coecients.
I If f (t ) = pe qt , and q2 + aq + b 6= 0 (e qt is not a solution of
the homogeneous equation), a particular solution is
p
u∗ = e qt
q + aq + b
2
x = Ae t + Be −t −
1
sin t
2
√ √ !
− 2t 3 3
x (t ) = e A cos t + B sin t + t 2 − 2t + 1
2 2
t
is stable as limt →+∞ e − 2 = 0, |cos a| ≤ 1 and |sin a| ≤ 1 for
every a. The equation is globally asymptotically stable.
characterization of global asymptotic stability
Theorem (4)
The dierential equation x 00 + ax 0 + bx = f (t ) is globally
asymptotically stable if and only if a > 0 and b > 0.
r + ar + b = (r − r1 )(r − r2 )
2 = r 2 − (r1 + r2 )r + (r1 r2 ), so that
a = −r1 − r2 and b = r1 r2 . Then use the previous results: