Docsity

Differential Equations - Lecture Notes 7, Schemes and Mind Maps of Differential Equations

Partial preview of the text

Download Differential Equations - Lecture Notes 7 and more Schemes and Mind Maps Differential Equations in PDF only on Docsity!

Lecture Notes 7: Dynamic Equations

Part D: Differential Equations

Peter J. Hammond

Latest revision 2020 September 24th, typeset from dynEqLects20D.tex

Lecture Outline

First-Order Differential Equations in One Variable Introduction First-Order Affine Equation with Constant Coefficients General First-Order Affine Equation Constant and Undetermined Coefficients Stability in the Autonomous Case Second-Order Differential Equations in One Variable Introduction The Inhomogeneous Equation The Method of Undetermined Coefficients Stability First-Order Multivariable Differential Equations Introduction Stability with Many Variables Autonomous Nonlinear Equations in Many Variables

Right-Hand Side Independent of x

A special case occurs when the right-hand side f (x, t) is independent of x. Then the differential equation can be written as dx dt

= g (t)

Its solution can be written as the indefinite integral

x(t) =

g (t)dt

Introducing an initial condition x(s) = ¯xs at a particular start time s allows the solution to be written as the definite integral

x(t) = ¯xs +

∫ (^) t

s

g (τ )dτ

CHECK that this alleged solution satisfies x(s) = ¯xs and ˙x(t) = g (t) for all t ≥ s.

Leibnitz Rule for Differentiating an Integral

Consider the function F : R^3 → R defined by

F (a, b, u) :=

∫ (^) b

a

f (t, u)dt

Its three first-order partial derivatives are:

(i) F (^) a′ = −f (a, u); (ii) F (^) b′ = f (b, u); (iii) F (^) u′ =

∫ (^) b

a

∂u

f (t, u)dt

Applying the chain rule, the total derivative of the integral function y 7 → I (y ) :=

∫ (^) b(y ) a(y ) f^ (t,^ y^ )dt^ satisfies

I ′(y ) = d dy

F (a(y ), b(y ), y ) = a′(y )F (^) a′ + b′(y )F (^) b′ + F (^) u′

= b′(y )f (b(y ), y ) − a′(y )f (a(y ), y ) +

∫ (^) b(y )

a(y )

∂y f (t, y )dt

Picard’s Method of Successive Approximations

The simplest first-order equation with constant coefficients takes the form

x˙(t) = ax(t), with x(0) given

It corresponds to the integral equation

x(t) − x(0) =

∫ (^) t

0

ax(u)du for all t ≥ 0

Starting with a approximation such as x(0)(t) ≡ x(0) for all t ≥ 0, we can calculate a sequence t 7 → x(n)(t) (n ∈ N) of successive approximations to a solution [0, ∞) 3 t 7 → x(t) ∈ R using, for all t ≥ 0, the iterative rule

x(n)(t) − x(0) =

∫ (^) t

0

f (x(n−1)(u), u) du =

∫ (^) t

0

ax(n−1)(u) du

Initial Three Iterations

Iterating once starting from x(0)(t) ≡ x(0) gives

x(1)(t) − x(0) =

∫ (^) t

0

a x(0)(u) du = a x(0) t

Iterating a second time gives

x(2)(t) − x(0) =

∫ (^) t

0

a x(0)(1 + au) du = a x(0) t + 12 a^2 x(0) t^2

Iterating a third time gives

x(3)(t) − x(0) =

∫ (^) t 0 [a x(0) +^ a

(^2) x(0) u + 1 2 a

(^3) x(0) u (^2) ] du

= a x(0) t + 12 a^2 x(0) t^2 + 16 a^3 x(0) u^3

Constructing the Sum

The induction hypothesis y (n)(t) =

n!

an^ x(0) tn and the relation y (n+1)(t) =

∫ (^) t 0 ay^

(n)(u) du together imply that

y (n+1)(t) =

∫ (^) t 0 a^

n!

an^ x(0) un^ du =

n!

an+1^ x(0)

∫ (^) t 0 u n (^) du

=

n! an+1^ x(0)

n + 1 tn+1^ =

(n + 1)! an+1^ x(0) tn+

This confirms the induction hypothesis with n replaced by n + 1.

It follows that y (n)(t) =

n!

an^ x(0) tn^ for all n ∈ N

and then that x(n)(t) = x(0) +

∑n k=

k!

ak^ x(0) tk^.

The Exponential Solution

Recall that

exp x = 1 + x 1!

x^2 2!

x^3 3!

n=

n!

xn^ = ex

where

e = 1 +

+... = lim n→∞

n

)n ≈ 2. 718281828

My late co-author Knut Sydsæter who, as a cultured Norwegian, recognized that 1828 is the year when their great playright Henrik Ibsen was born, remembered this 10 digit approximation as “2.7 Ibsen Ibsen”. As n → ∞, the solution x(n)(t) we found converges to the infinite series

x(0) +

k=

k! ak^ x(0) tk^ = x(0) exp(at) = x(0) eat

Lecture Outline

First-Order Differential Equations in One Variable Introduction First-Order Affine Equation with Constant Coefficients General First-Order Affine Equation Constant and Undetermined Coefficients Stability in the Autonomous Case Second-Order Differential Equations in One Variable Introduction The Inhomogeneous Equation The Method of Undetermined Coefficients Stability First-Order Multivariable Differential Equations Introduction Stability with Many Variables Autonomous Nonlinear Equations in Many Variables

General First-Order Affine Equation

The general first-order affine equation takes the form

x˙(t) = a(t)x(t) + b(t)

for arbitrary integrable functions t 7 → a(t) and t 7 → b(t). In the homogeneous case one has b(t) ≡ 0, and the equation takes the linear form ˙x(t) = a(t)x(t). Assuming that x > 0 for all t, we can take logs and write the equation as d dt ln x =

x˙ x = a(t)

After introducing the new variable y (t) := ln x(t), the equation becomes ˙y = a(t) whose solution is obviously

y (t) = y (s) +

∫ (^) t

s

a(τ )dτ

The Non-Homogenenous Case

The solution x(t) = x(s)αs (t) to the homogeneous equation ˙x(t) − a(t)x(t) = 0 can be used to help solve the corresponding non-homogeneous equation ˙x(t) − a(t)x(t) = f (t). Indeed, consider the result of dividing each side of this non-homogeneous equation by the integrating factor αs (t) := exp

[∫

t s a(τ^ )dτ

]

whose reciprocal is 1/αs (t) := exp

[

∫ (^) t s a(τ^ )dτ

]

Note that d dt

[

∫ (^) t s a(τ^ )dτ

]

= −a(t),

implying that

d dt [1/αs (t)] = −a(t)/αs (t) so, by the product rule

d dt [x(t)/αs (t)] = [1/αs (t)] ˙x(t) − [a(t)/αs (t)]x(t) = f (t)/αs (t)

for any solution of the equation ˙x(t) − a(t)x(t) = f (t).

Solving the Non-Homogenenous Equation

Integrating each side of the equation

d dt [x(t)/αs (t)] = f (t)/αs (t) over the interval from s to t gives us ∣∣t s [x(u)/αs^ (u)] =^

x(t) αs (t)

x(s) αs (s)

∫ (^) t

s

f (u) αs (u)

du

The definition αs (t) = exp

[∫ (^) t s a(τ^ )dτ

]

implies that αs (s) = 1 and also αs (t)/αs (u) = αu (t). Hence, multiplying each side by αs (t) gives the solution

x(t) = αs (t)

[

x(s) +

∫ (^) t s [1/αs^ (u)]^ f^ (u) du

]

= αs (t)x(s) +

∫ (^) t s αu^ (t)^ f^ (u) du = exp

[∫ (^) t s a(τ^ )dτ

]

x(s) +

∫ (^) t s exp

[∫ (^) t u a(τ^ )dτ

]

f (u)du

Lecture Outline

First-Order Differential Equations in One Variable Introduction First-Order Affine Equation with Constant Coefficients General First-Order Affine Equation Constant and Undetermined Coefficients Stability in the Autonomous Case Second-Order Differential Equations in One Variable Introduction The Inhomogeneous Equation The Method of Undetermined Coefficients Stability First-Order Multivariable Differential Equations Introduction Stability with Many Variables Autonomous Nonlinear Equations in Many Variables

First-Order Linear Equation with a Constant Coefficient

Next, consider the equation ˙x(t) − ax(t) = f (t) where the coefficient a of x(t) has become the constant a 6 = 0. The solution we found for the general case was

x(t) = exp

[∫ (^) t

s

a(τ )dτ

]

x(s) +

∫ (^) t

s

exp

[∫ (^) t

u

a(τ )dτ

]

f (u)du

When a(t) = a, independent of t, this reduces to

x(t) = ea(t−s)x(s) +

∫ (^) t

s

ea(t−u)f (u)du

We simplify further by choosing the initial time s = 0. Then x(t) = eat^ x(0) +

∫ (^) t

0

ea(t−u)f (u)du