Docsity

Differential Equations, Lecture Notes - Mathematics - Prof Paul Tod, Study notes of Mathematics

Toggle sidebar
bg1
Part A Differential Equation
Lionel Mason, based on notes by Paul Tod
MT 2010
Introduction
The solution of problems in most parts of applied mathematics and some areas of
pure can more often than not be reduced to the problem solving some differential
equations. Indeed, many parts of pure maths were originally motivated by issues
arising from differential equations, including large parts of algebra and much of
analysis. From Mods, and even from school, you know how to solve some differ-
ential equations. In this course, we shall learn to solve a much larger variety both
explicitly and qualitatively, and we also develop some general theory.
Throughout, we shall use the following convenient abbreviations: we shall write
DEs: for differential equations.
ODEs: for ordinary DEs, i.e. differential equations with only ordinary derivatives.
PDEs: for partial DEs, i.e. differential equations with partial derivatives.
The course contains six topics, with a chapter devoted to each:
The six chapters
1. ODEs and Picard’s Theorem (for existence of solutions).
2. Boundary Value Problems (BVPs) for second-order linear ODEs.
3. Plane autonomous systems.
4. First-order quasi-linear PDEs: the method of characteristics.
5. The classification of second-order linear PDEs.
1
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28
pf29
pf2a
pf2b
pf2c
pf2d
pf2e
pf2f
pf30
pf31
pf32
pf33
pf34
pf35
pf36
pf37
pf38
pf39
pf3a
pf3b
pf3c
pf3d
pf3e
pf3f
pf40
pf41
pf42
pf43
pf44
pf45
pf46
pf47
pf48
pf49
pf4a
pf4b
pf4c
pf4d
pf4e
pf4f
pf50
pf51
pf52
pf53
pf54

Partial preview of the text

Download Differential Equations, Lecture Notes - Mathematics - Prof Paul Tod and more Study notes Mathematics in PDF only on Docsity!

Part A Differential Equation

Lionel Mason, based on notes by Paul Tod

MT 2010

Introduction

The solution of problems in most parts of applied mathematics and some areas of pure can more often than not be reduced to the problem solving some differential equations. Indeed, many parts of pure maths were originally motivated by issues arising from differential equations, including large parts of algebra and much of analysis. From Mods, and even from school, you know how to solve some differ- ential equations. In this course, we shall learn to solve a much larger variety both explicitly and qualitatively, and we also develop some general theory.

Throughout, we shall use the following convenient abbreviations: we shall write

DEs: for differential equations.

ODEs: for ordinary DEs, i.e. differential equations with only ordinary derivatives.

PDEs: for partial DEs, i.e. differential equations with partial derivatives.

The course contains six topics, with a chapter devoted to each:

The six chapters

  1. ODEs and Picard’s Theorem (for existence of solutions).
  2. Boundary Value Problems (BVPs) for second-order linear ODEs.
  3. Plane autonomous systems.
  4. First-order quasi-linear PDEs: the method of characteristics.
  5. The classification of second-order linear PDEs.
  1. Laplace and Fourier transforms (for ODEs and PDEs).

Books

The main text is P J Collins Differential and Integral Equations, O.U.P. (2006), which can be used for the whole course (Chapters 1-7, 14, 15).

Other good books which cover parts of the course include

W E Boyce and R C DiPrima, Elementary Differential Equations and Boundary Value Problems, 7th edition, Wiley (2000).

E Kreyszig, Advanced Engineering Mathematics, 8th Edition, Wiley (1999).

G F Carrier and C E Pearson, Partial Differential Equations – Theory and Tech- nique, Academic (1988).

J Ockendon, S Howison, A Lacey and A Movchan, Applied Partial Differential Equations, Oxford (1999) [a more advanced text].

So separate the variables (a mods technique):

dy 3 y^2 /^3

= dx,

integrate and use the data to find

(i) A solution y = x^3 ;

(ii) But evidently there is another solution: by direct checking y = 0 will do;

(iii) Now we can see that there are infinitely many. Pick a, b with a < 0 < b and define

y = (x − a)^3 x < a = 0 a ≤ x < b = (x − b)^3 b ≤ x

The solution is not unique (in fact far from it, since we’ve found infinitely many solutions). So for uniqueness in the problem (1.1) we must impose conditions on f. We discover what these are in the process of proving that the solution exists. This will be the first existence theorem which you’ve encountered (mathematicians are unique in proving that certain things exist, and that certain things don’t, which is usually easier). The proof is quite technical, certainly the most technical thing in the course. In particular, y ou need to remember from Mods the Weierstrass M-test for convergence of a series of functions. Once we get past the proof of this theorem, most of the rest of the course is methods of solution of particular classes of equation.

To be precise then, we shall seek a solution in a rectangle R about the initial point (x, y) = (a, b), so suppose R is |x − a| ≤ h, |y − b| ≤ k as in figure 1.1:

2 h

R

x

y

a

b 2 k

Figure 1.1: The rectangle R

Our first assumption is that f (x, y) is continuous in R. Now integrate (1.1) from a to variable x:

[y(x)]xa =

∫ (^) x

a

f (t, y(t))dt = y(x) − y(a)

so rearranging

y(x) = b +

∫ (^) x

a

f (t, y(t))dt. (1.3)

We have transformed the differential equation to an integral equation - the un- known y is given in terms of an integral rather than a differential. There is a general theory of these, but we only need to deal with the particular case of (1.3). The standard approach is to seek a solution by iteration or successive approxima- tion.

1.3 Picard’s method of successive approximation

We start with an initial guess and then improve it. The guesses, or successive approximations or iterates, are labelled yn(x) starting with y 0 (x). Take

y 0 (x) = b yn+1(x) = b +

∫ (^) x a f^ (t, yn(t))dt

That is, we start with the simplest guess, that y equals its initial value, and at each stage substitute the current guess into the right-hand-side of (1.3) to get the next guess. We need to know if this process converges, and if it does whether it converges to a solution of the problem (1.3). Consider the differences between successive approximations:

e 0 (x) = b en+1(x) = yn+1(x) − yn(x)

and note that

yn(x) =

∑^ n

0

ek(x). (1.6)

We have written yn(x) as the sum of a series, (1.6) and we need this series to converge, so that we need the differences en(x) to get small. With hindsight, this needs some assumptions and conditions on f , but here is the key idea: notice that

en+1(x) = yn+1(x) − yn(x)

≤ |M

∫ (^) x

a

dt| = M |x − a| ≤ M h ≤ k

where we’ve used P(i) and induction. Thus yn(x) doesn’t get further from b than k, and so the graph of yn goes right across R (it ‘comes out the side not the top or bottom’).

y 2

R

x

y

a

b (^) y 0

y 1

Figure 1.2: successive iterates graphed in R.

(ii) The Lipschitz condition P(ii) means that, for some positive A,

|f (t, yn) − f (t, yn− 1 )| ≤ A|yn − yn− 1 | by (1.8).

(iii) This enables us to prove that the en(x) get smaller. From (1.7) and (1.8):

| en+1(x)| ≤ |

∫ (^) x

a

|f (t, yn) − f (t, yn− 1 )|dt|

≤ A|

∫ (^) x

a

|yn − yn− 1 |dt|

and so | en+1(x)| ≤ A|

∫ (^) x

a

|en(t)|dt|. (1.9)

Now e 1 (x) = y 1 (x) − b =

∫ (^) x

a

f (t, b)dt.

By P(i), f is bounded by M so that

|e 1 (x)| ≤ |

∫ (^) x

a

|f (t, b)|dt| ≤ M |x − a|.

Using this in (1.9) gives

|e 2 (x)| ≤

AM

|x − a|^2 ,

and then by induction, using (1.9)

|en(x)| ≤

An−^1 M n!

|x − a|n^ ≤

An−^1 M n!

hn.

This is enough to make the series (1.6) converge:

(iv) By the Weierstrass M -test, the series in (1.6) converges to a continuous function. This is immediate from (iii), since the series with n-th term A

n− (^1) M hn n! con- verges. Thus yn(x) → y∞(x) with y∞(x) continuous. The iteration has a limit, which is a continuous function. Is this limit a solution of the original problem?

(v) We can take the limit of (1.4) to find

y∞(x) = b +

∫ (^) x

a

f (t, y∞(t))dt (1.10)

(this needs justification: it uses a property of the integral and the conti- nuity of f ) but the RHS in (1.10) is differentiable; therefore, so is y∞(x). Differentiate (1.10) to find

y′∞(x) = f (x, y∞(x))

and since also y∞(a) = b, it’s a solution. Are there any more?

(vi) Uniqueness: if y(x) and Y (x) are two solutions of the problem, consider their difference: e(x) = y(x) − Y (x) =

∫ (^) x

a

(f (t, y) − f (t, Y ))dt

so | e(x)| ≤ |

∫ (^) x

a

|f (t, y) − f (t, Y )|dt|

≤ A|

∫ (^) x

a

|y − Y |dt|

≤ A|

∫ (^) x

a

|e(t)|dt|

where we have used the Lipschitz condition. Now e(x) is continuous on R; therefore, it is bounded say |e(x)| ≤ B so

| e(x)| ≤ A

∫ (^) x

a

Bdt

∣ =^ AB|x^ −^ a|

Then this will converge as before if we have a Lipschitz condition

||F (t, u) − F (t, v)|| ≤ A||u − v|| (1.11)

with some definition of “size” for a vector, which could be ∣ ∣ ∣ ∣

y 1 y 2

∣ =^ |y^1 |^ +^ |y^2 |.

Theorem: Picard for first-order systems

The solution exists and is unique for F continuous and Lipschitz in a suitable region |y − b| ≤ k 1 , |z − c| ≤ k 2 , |x − a| ≤ h

(and this extends to a system of n equations.)

1.7 Picard for Higher Order ODEs

With Picard extended to first-order systems, it is a small step to extend it to a single, higher order ODE. For simplicity, we consider just an IVP for a particular class of second-order ODEs, which are the concern of the next section where we learn to call them linear :

y′′^ + p(x)y′^ + q(x)y = 0

with initial data y(a) = b y′(a) = c,

and p, q continuous for |x − a| ≤ h.

To reduce this to a first-order system, introduce z = y′^ and write

y′^ = z = f (x, y, z)

z′^ = −pz − qy = g(x, y, z)

with data y(a) = b, z(a) = c. This is precisely in the form to which the previous section applies, and its easy to check that (1.11) is satisfied, so we get:

Theorem: Picard for second-order linear ODEs

With the assumptions we’ve made, the solution exists and is unique.

Clearly this method can be extended to the IVP for an n-th order linear ODE. In particular, this justifies our belief that an n-th order ODE needs n pieces of data to fix a unique solution.

1.8 Things that can go wrong with ODEs

We’ve proved existence and uniqueness of solution for a variety of situations. What kinds of thing can go wrong?

(i) Non-uniqueness of solution, e.g. if Lipschitz fails. We have the warning example and it is easy to produce other examples.

(ii) Blow up of solutions. Picard may give us a solution for a range of x but the solution may become singular (or more graphically blow up) if we try to extend x. As an example, the equation

y′^ = y^2

with data y(0) = b has solution y = 11 b −x^

; so y → ∞ as x → (^1) b.

For the second example, Picard will give existence in a rectangle but it may be small. E.g. with b = 1 and y′^ = f (x, y) = y^2 , choose h and k, fixing the rectangle. For the bound on f , M = (1 + k)^2 will do, and then to satisfy M h ≤ k we need h ≤ (^) (1+kk) 2 ≤ 14. Therefore, for the proof of Picard with this initial point, we can’t

get past x = 14. We could move to a new initial point and start again, but the explicit solution blows up at x = 1, so we can’t get past that.

1.9 Aside: The Interchange Trick

This is a useful device, helpful with higher order ODEs. Suppose we are interested in the second-order (but not necessarily linear) ODE

y′′^ = f (x, y)

with data y(0) = a, y′(0) = b.

Integrate once, from 0 to x:

y′(x) − b =

∫ (^) x

0

f (t, y(t))dt

or

y′(x) = b +

∫ (^) x

0

f (t, y(t))dt

then dny dxn^

= g(x)

and y(0) = y′(0) = ... = y(n−1)(0) = 0.

This is the result of interchanging n − 1 times.

2 Boundary Value Problems for 2nd order linear

ODEs

In this chapter, we consider the problem of solving:

y′′(x) + p(x)y′^ + q(x)y = f (x), a ≤ x ≤ b

y(a) = A, y(b) = B.

This is a second-order ODE, so we need two bits of data, but here we are given y at the ends of an interval rather than y and y′^ at the same (initial) point: this is a boundary-value problem (BVP) not an IVP. We are seeking a solution through two specified points in the plane, namely (a, A) and (b, B).

We want first to explain why this equation is linear.

A second order linear operator is a map of functions

y → L[y] = P 2 (x)y′′^ + P 1 (x)y′^ + P 0 (x)y. (2.1)

We usually assume the coefficients Pi(x) are continuous, with P 2 (x) 6 = 0 (i.e. not the zero function). This operator is linear in the sense that

L[αy 1 + βy 2 ] = αL[y 1 ] + βL[y 2 ] (2.2)

for α, β ∈ R (or C, but usually we stay with reals) and functions y 1 , y 2. Thus its linear in the sense of being a linear transformation on a suitable vector space of differentiable functions.

By a 2nd-order linear ODE we mean one of

L[y] := P 2 y′′^ + P 1 y′^ + P 0 y = 0 : H, homogeneous L[y] := P 2 y′′^ + P 1 y′^ + P 0 y = f : N , inhomogeneous

for some given f.

2.1 Solutions

The following properties of solutions of H and N are easily established:

The converse to this isn’t obvious; consider the following pair of (once) differen- tiable functions:

y 1 =

0 x < 0 x^2 x ≥ 0

y 2 =

x^2 x < 0 0 x ≥ 0

then W = 0. However, if c 1 y 1 + c 2 y 2 = 0 then evaluation for positive and negative x shows that c 1 = c 2 = 0, so that these functions are in fact linearly independent. To establish a partial converse note the following:

2.4 Proposition

If y 1 and y 2 satisfy H : P 2 y′′^ + P 1 y′^ + P 0 y = 0

then their Wronskian W satisfies.

W ′ W

P 1

P 2

The proof is an easy exercise. Solving for W , we get

W = const × exp

[

∫ (^) x P 1 (t) P 2 (t)

dt

]

In particular, provided P 2 is nowhere zero, if W = 0 at one point, then W = 0 at every point (since in this case the exponential can’t vanish so this can only happen if the constant in front of (2.4) is zero).

2.5 A basis of solutions of H

We choose solutions y 1 and y 2 of H with

y 1 (a) = 1, y 1 ′(a) = 0 y 2 (a) = 0, y 2 ′(a) = 1.

By the work in Section 1, these exist and are unique at least in a neighbourhood of x = a provided P 2 (a) 6 = 0. Also their Wronskian W (x) has W (a) = 1, so is nonzero in this neighbourhood of x = a, and they are linearly independent. Do they span the vector space of solutions? Suppose y(x) is any other solution and set Y (x) = y 1 (x)y(a) + y 2 (x)y′(a).

Then this is a solution with

Y (a) = y(a); Y ′(a) = y′(a)

and so by uniqueness Y (x) = y(x). Therefore they do span the vector space of solutions, and therefore they are a basis. We can conclude:

2.6 Proposition

(i) The dimension of the space of solutions of H is 2.

(ii) Any pair of solutions of H with W 6 = 0 is a basis.

(Any linearly independent pair of solutions is also a basis, and so will be related to the basis of Section 2.5 by a nonsingular matrix. At a, their Wronskian will be the determinant of this matrix, and therefore nonzero. This gives our partial converse to Proposition 2.3: two solutions of a given fixed H are linearly dependent if and only if their Wronskian is zero. This fact can be proved directly as follows: suppose u and v are two solutions of H; if they are linearly dependent then we know already that their Wronskian is zero so now suppose for the converse that their Wronskian is zero; if u is the zero function then they are certainly linearly dependent so suppose that there is at least one value of x, say x = a, with u(a) 6 = 0; pick μ so that v(a) = μu(a) then

0 = W (a) = u(a)v′(a) − v(a)u′(a) = u(a)(v′(a) − μu′(a));

cancel u(a) to conclude that v′(a) = μu′(a); now define y(x) = v(x) − μu(x), then y(x) is a solution of H by linearity, while y(a) = 0 = y′(a) by the choices made so far; thus by uniqueness of solution of H we conclude that y(x) = 0 and therefore u and v are linearly dependent QED.)

Exercise: generalise everything done so far to n-th order linear ODEs.

2.7 Variation of parameters

We now know a good deal about the solutions of H. ‘Variation of parameters’ is a method to use these to solve N. Recall the distinction:

L[y] := P 2 y′′^ + P 1 y′^ + P 0 y =

0 : H

f : N

2.8 An example

Consider the equation (an example of N )

y′′^ + y = tan x for 0 ≤ x ≤

π 2

The corresponding H is y′′^ + y = 0

for which we may choose two linearly-independent solutions as

y 1 = sin x; y 2 = cos x.

The Wronskian turns out to be

W = y 1 y 2 ′ − y 2 y′ 1 = − 1

so by (2.8)

c 1 =

tan t cos t dt = α 1 − cos x

c 2 =

− tan t sin t dt = α 2 − log(sec x + tan x) + sin x

where the αi are arbitrary real constants. Then the solution of N is

y = c 1 y 1 + c 2 y 2

= − cos x log(sec x + tan x) ︸ ︷︷ ︸ P I

  • α ︸ 1 sin x +︷︷ α 2 cos x︸ CF

2.9 Fixing the boundary values: the Green’s function

Suppose we have the BVP

P 2 y′′^ + P 1 y′^ + P 0 y = f (2.9)

with data y(a) = 0 = y(b). (2.10)

We may solve this by Variation of Parameters, but choosing y 1 so that y 1 (a) = 0, and y 2 so that y 2 (b) = 0. (Assume this can be done; we shall return to this point.) So y(x) = c 1 (x)y 1 (x) + c 2 (x)y 2 (x)

with the ci as in (2.8). Then

y(a) = c 1 (a)y 1 (a) + c 2 (a)y 2 (a)

y(b) = c 1 (b)y 1 (b) + c 2 (b)y 2 (b).

We want both these to vanish, and, with the choices made for yi, they will if we impose c 2 (a) = 0 = c 1 (b). In this case, instead of (2.8) we have

c 1 (x) =

∫ (^) b x

f (t)y 2 (t) P 2 (t)W (t) dt, c 2 (x) =

∫ (^) x a

f (t)y 1 (t) P 2 (t)W (t) dt.

Thus we fix the ci completely. Now

y(x) = c 1 (x)y 1 (x) + c 2 (x)y 2 (x)

∫ (^) x

a

f (t)y 1 (t)y 2 (x) P 2 (t)W (t)

dt +

∫ (^) b

x

f (t)y 2 (t)y 1 (x) P 2 (t)W (t)

dt

which we can write concisely as

y(x) =

∫ (^) b

a

G(x, t)f (t)dt (2.12)

where

G(x, t) =

{ (^) y 1 (t)y 2 (x) P 2 (t)W (t) a^ ≤^ t^ ≤^ x^ ≤^ b y 2 (t)y 1 (x) P 2 (t)W (t) a^ ≤^ x^ ≤^ t^ ≤^ b

We call G(x, t) the Green’s function for the BVP (2.9)-(2.10).

Note that G(x, t) is defined and continuous on the square a ≤ x ≤ b, a ≤ t ≤ b in the (x, t)-plane, and, as a help to remembering the formula (2.13), observe that it vanishes on the sides of this square. (Although G(x, t) is continuous, ∂G(x, t)/∂x has a jump across x = t of magnitude 1/P 2 (t).)

2.10 An example

Extending the example of section 2.8, consider the BVP

y′′^ + y = f (x) for 0 ≤ x ≤

π 2

with data y(0) = 0 = y

(π 2

and run through the method: