Chapter 1
Chapter 1
General theory
Lecture notes for MA2327
P. Karageorgis
1 / 40
Ordinary differential equations
y ′ (x) = −x · y(x).
3 / 40
Direction field: Example 2
y ′ (x) = −x/y(x).
4 / 40
Existence and uniqueness: Preliminary version
Here, the sign of the square root is dictated by the sign of y0 . The
solution of this problem is unique, but it is not defined for all x.
8 / 40
Separable equations: Example 3, page 1
For instance, a first-order linear ODE is one that has the form
A(x)y ′ (x) + B(x)y(x) = C(x)
for some functions A, B, C. It can also be expressed in the form
y ′ (x) + P (x)y(x) = Q(x).
More generally, a linear ODE of degree n is one that has the form
n
X
ak (x) y (k) (x) = b(x),
k=0
If we ensure that µ(x)P (x) = µ′ (x), then the last equation becomes
Since this function satisfies µ′ (x) = µ(x)P (x), one finds that
h i′ Z
µ(x)y(x) = µ(x)Q(x) =⇒ µ(x)y(x) = µ(x)Q(x) dx.
y ′ (x) + 2y(x) = ex .
Let us take µ(x) = e2x for simplicity. It then easily follows that
h i′ 1 3x
µ(x)y(x) = e3x =⇒ µ(x)y(x) = e +C
3
1 3x
=⇒ e2x y(x) = e +C
3
1 x
=⇒ y(x) = e + Ce−2x .
3
14 / 40
First-order linear equations: Example 2, page 1
Reduce the ODE in the standard form y ′ + P (x)y = Q(x) and write
x+2 x
y ′ (x) + y(x) = .
x+1 x+1
This gives P (x) = x+2 1
x+1 = 1 + x+1 , so an integrating factor is given by
Z
µ(x) = exp P (x) dx = ex+log |x+1|+C = K(x + 1)ex .
15 / 40
First-order linear equations: Example 2, page 2
Z
= xe − ex dx
x
= xex − ex + C.
y(0) = a =⇒ a = −1 + C =⇒ C = a + 1.
(x − 1)ex + a + 1 x − 1 + (a + 1)e−x
y(x) = = .
(x + 1)ex x+1
16 / 40
Homogeneous equations
v(x) = y(x)/x.
v + xv ′ = y ′ = v 2 + 3v =⇒ xv ′ = v(v + 2).
2
Let us take µ(x) = ex for simplicity. We must then have
h i′ 2 2
Z
2
µ(x)w(x) = −x3 ex =⇒ ex w(x) = − x3 ex dx.
22 / 40
Bernoulli equations: Example, page 2
To compute the integral, one needs to integrate by parts to get
Z 2 ′
x
Z
3 x2 2
x e dx = ex dx
2
2 x 2 Z 2 ′
x e x 2
= − ex dx
2 2
2 x 2 2 2
x e x2 ex ex
Z
2
= − xex dx = − + C.
2 2 2
In view of our computation above, we have thus found that
2
2 (x2 − 1)ex + 2C
ex w(x) = − .
2
Since w(x) = y(x)−1 , on the other hand, this also implies that
2
1 − x2 + Ke−x 2
w(x) = =⇒ y(x) = .
2 1− x2 + Ke−x2
23 / 40
Integral equation
27 / 40
Existence of solutions for scalar equations
R = {(x, y) ∈ R2 : |x − x0 | ≤ a, |y − y0 | ≤ b}.
Then there exists some ε > 0 such that the initial value problem
The proof of the existence theorem is somewhat long, but the overall
idea is the following. Our goal is to solve the integral equation
Z x
y(x) = y0 + f (s, y(s)) ds.
x0
The functions yn (x) are sometimes called the successive (or Picard)
approximations. We shall prove that these converge to a continuous
function y(x) and that this function satisfies the integral equation.
Informally, one ought to obtain the first equation by letting n → ∞ in
the second equation. However, this is not really true in general!
31 / 40
Successive approximations: Example
We compute the successive approximations for the solution of
y ′ (x) = y(x), y(0) = 1.
In this case, the first four approximations are y0 (x) = y(0) = 1,
Z x
y1 (x) = 1 + y0 (s) ds = 1 + x,
0
Z x
x2
y2 (x) = 1 + y1 (s) ds = 1 + x + ,
0 2
Z x
x2 x3
y3 (x) = 1 + y2 (s) ds = 1 + x + + .
0 2 3!
It easily follows by induction that the nth approximation is
n
x2 xn X xk
yn (x) = 1 + x + + ... + =
2 n! k!
k=0
arctan y = x =⇒ y = tan x.
Suppose that y(x) is defined on the interval [x0 , α), where α is finite.
Since P, Q are both bounded on this interval, we must then have
Z x
|y(x)| ≤ |y0 | + M1 (x − x0 ) + M2 |y(s)| ds
x0
for some positive constants M1 , M2 . Thus, one may use the Gronwall
inequality to conclude that y(x) is bounded whenever x is bounded.
It easily follows that the unique solution y(x) is actually global.
37 / 40
Continuous dependence on initial data
38 / 40
Higher-order equations
y ′ (x)
y(x)
y(x) = y ′ (x) =⇒ y ′ (x) = y ′′ (x) .
′′
y (x) ′ ′′
f (x, y, y , y )
39 / 40
Existence of solutions for systems
Then there exists some ε > 0 such that the initial value problem
The proof of this theorem is very similar to the proof of our previous
existence result, except that y(x) is now a vector instead of a scalar.
Our results about the continuation of solutions and their continuous
dependence on initial data may also be extended to systems.
40 / 40