Docsity

ELEMENTARY DIFFERENTIAL EQUATIONS WITH BOUNDARY VALUE PROBLEMS, Transcriptions of Differential Equations

Toggle sidebar
bg1
ELEMENTARY
DIFFERENTIAL EQUATIONS WITH
BOUNDARY VALUE PROBLEMS
William F. Trench
Andrew G. Cowles Distinguished Professor Emeritus
Department of Mathematics
Trinity University
San Antonio, Texas, USA
This book has been judged to meet the evaluation criteria set by the Edi-
torial Board of the American Institute of Mathematics in connection with
the Institute’s Open Textbook Initiative. It may be copied, modified, re-
distributed, translated, and built upon subject to the Creative Commons
Attribution-NonCommercial-ShareAlike 3.0 Unported License.
FREE DOWNLOAD: STUDENT SOLUTIONS MANUAL
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
pf55
pf56
pf57
pf58
pf59
pf5a
pf5b
pf5c
pf5d
pf5e
pf5f
pf60
pf61
pf62
pf63
pf64

Partial preview of the text

Download ELEMENTARY DIFFERENTIAL EQUATIONS WITH BOUNDARY VALUE PROBLEMS and more Transcriptions Differential Equations in PDF only on Docsity!

ELEMENTARY

DIFFERENTIAL EQUATIONS WITH

BOUNDARY VALUE PROBLEMS

William F. Trench

Andrew G. Cowles Distinguished Professor Emeritus

Department of Mathematics

Trinity University

San Antonio, Texas, USA

[email protected]

This book has been judged to meet the evaluation criteria set by the Edi-

torial Board of the American Institute of Mathematics in connection with

the Institute’s Open Textbook Initiative. It may be copied, modified, re-

distributed, translated, and built upon subject to the Creative Commons

Attribution-NonCommercial-ShareAlike 3.0 Unported License.

FREE DOWNLOAD: STUDENT SOLUTIONS MANUAL

Free Edition 1.01 (December 2013)

This book was published previously by Brooks/Cole Thomson Learning, 2001. This free edition is made available in the hope that it will be useful as a textbook or reference. Reproduction is permitted for any valid noncommercial educational, mathematical, or scientific purpose. However, charges for profit beyond reasonable printing costs are prohibited.

Contents

8.8 A Brief Table of Laplace Transforms

Preface

Elementary Differential Equations with Boundary Value Problems is written for students in science, en- gineering, and mathematics who have completed calculus through partial differentiation. If your syllabus includes Chapter 10 (Linear Systems of Differential Equations), your students should have some prepa- ration in linear algebra. In writing this book I have been guided by the these principles:

  • An elementary text should be written so the student can read it with comprehension without too much pain. I have tried to put myself in the student’s place, and have chosen to err on the side of too much detail rather than not enough.
  • An elementary text can’t be better than its exercises. This text includes 2041 numbered exercises, many with several parts. They range in difficulty from routine to very challenging.
  • An elementary text should be written in an informal but mathematically accurate way, illustrated by appropriate graphics. I have tried to formulate mathematical concepts succinctly in language that students can understand. I have minimized the number of explicitly stated theorems and def- initions, preferring to deal with concepts in a more conversational way, copiously illustrated by 299 completely worked out examples. Where appropriate, concepts and results are depicted in 188 figures.

Although I believe that the computer is an immensely valuable tool for learning, doing, and writing mathematics, the selection and treatment of topics in this text reflects my pedagogical orientation along traditional lines. However, I have incorporated what I believe to be the best use of modern technology, so you can select the level of technology that you want to include in your course. The text includes 414

exercises – identified by the symbols C and C/G – that call for graphics or computation and graphics.

There are also 79 laboratory exercises – identified by L – that require extensive use of technology. In addition, several sections include informal advice on the use of technology. If you prefer not to emphasize technology, simply ignore these exercises and the advice. There are two schools of thought on whether techniques and applications should be treated together or separately. I have chosen to separate them; thus, Chapter 2 deals with techniques for solving first order equations, and Chapter 4 deals with applications. Similarly, Chapter 5 deals with techniques for solving second order equations, and Chapter 6 deals with applications. However, the exercise sets of the sections dealing with techniques include some applied problems. Traditionally oriented elementary differential equations texts are occasionally criticized as being col- lections of unrelated methods for solving miscellaneous problems. To some extent this is true; after all, no single method applies to all situations. Nevertheless, I believe that one idea can go a long way toward unifying some of the techniques for solving diverse problems: variation of parameters. I use variation of parameters at the earliest opportunity in Section 2.1, to solve the nonhomogeneous linear equation, given a nontrivial solution of the complementary equation. You may find this annoying, since most of us learned that one should use integrating factors for this task, while perhaps mentioning the variation of parameters option in an exercise. However, there’s little difference between the two approaches, since an integrating factor is nothing more than the reciprocal of a nontrivial solution of the complementary equation. The advantage of using variation of parameters here is that it introduces the concept in its simplest form and

vii

viii Preface

focuses the student’s attention on the idea of seeking a solution y of a differential equation by writing it as y = uy 1 , where y 1 is a known solution of related equation and u is a function to be determined. I use this idea in nonstandard ways, as follows:

  • In Section 2.4 to solve nonlinear first order equations, such as Bernoulli equations and nonlinear homogeneous equations.
  • In Chapter 3 for numerical solution of semilinear first order equations.
  • In Section 5.2 to avoid the necessity of introducing complex exponentials in solving a second or- der constant coefficient homogeneous equation with characteristic polynomials that have complex zeros.
  • In Sections 5.4, 5.5, and 9.3 for the method of undetermined coefficients. (If the method of an- nihilators is your preferred approach to this problem, compare the labor involved in solving, for example, y′′^ + y′^ + y = x^4 ex^ by the method of annihilators and the method used in Section 5.4.)

Introducing variation of parameters as early as possible (Section 2.1) prepares the student for the con- cept when it appears again in more complex forms in Section 5.6, where reduction of order is used not merely to find a second solution of the complementary equation, but also to find the general solution of the nonhomogeneous equation, and in Sections 5.7, 9.4, and 10.7, that treat the usual variation of parameters problem for second and higher order linear equations and for linear systems. Chapter 11 develops the theory of Fourier series. Section 11.1 discusses the five main eigenvalue prob- lems that arise in connection with the method of separation of variables for the heat and wave equations and for Laplace’s equation over a rectangular domain: Problem 1: y′′^ + λy = 0, y(0) = 0, y(L) = 0 Problem 2: y′′^ + λy = 0, y′(0) = 0, y′^ (L) = 0 Problem 3: y′′^ + λy = 0, y(0) = 0, y′^ (L) = 0 Problem 4: y′′^ + λy = 0, y′(0) = 0, y(L) = 0 Problem 5: y′′^ + λy = 0, y(−L) = y(L), y′(−L) = y′(L) These problems are handled in a unified way for example, a single theorem shows that the eigenvalues of all five problems are nonnegative. Section 11.2 presents the Fourier series expansion of functions defined on on [−L, L], interpreting it as an expansion in terms of the eigenfunctions of Problem 5. Section 11.3 presents the Fourier sine and cosine expansions of functions defined on [0, L], interpreting them as expansions in terms of the eigenfunctions of Problems 1 and 2, respectively. In addition, Sec- tion 11.2 includes what I call the mixed Fourier sine and cosine expansions, in terms of the eigenfunctions of Problems 4 and 5, respectively. In all cases, the convergence properties of these series are deduced from the convergence properties of the Fourier series discussed in Section 11.1. Chapter 12 consists of four sections devoted to the heat equation, the wave equation, and Laplace’s equation in rectangular and polar coordinates. For all three, I consider homogeneous boundary conditions of the four types occurring in Problems 1-4. I present the method of separation of variables as a way of choosing the appropriate form for the series expansion of the solution of the given problem, stating— without belaboring the point—that the expansion may fall short of being an actual solution, and giving an indication of conditions under which the formal solution is an actual solution. In particular, I found it necessary to devote some detail to this question in connection with the wave equation in Section 12.2. In Sections 12.1 (The Heat Equation) and 12.2 (The Wave Equation) I devote considerable effort to devising examples and numerous exercises where the functions defining the initial conditions satisfy

CHAPTER 1

Introduction

IN THIS CHAPTER we begin our study of differential equations.

SECTION 1.1 presents examples of applications that lead to differential equations.

SECTION 1.2 introduces basic concepts and definitions concerning differential equations.

SECTION 1.3 presents a geometric method for dealing with differential equations that has been known for a very long time, but has become particularly useful and important with the proliferation of readily available differential equations software.

2 Chapter 1 Introduction

1.1 APPLICATIONS LEADING TO DIFFERENTIAL EQUATIONS

In order to apply mathematical methods to a physical or “real life” problem, we must formulate the prob- lem in mathematical terms; that is, we must construct a mathematical model for the problem. Many physical problems concern relationships between changing quantities. Since rates of change are repre- sented mathematically by derivatives, mathematical models often involve equations relating an unknown function and one or more of its derivatives. Such equations are differential equations. They are the subject of this book. Much of calculus is devoted to learning mathematical techniques that are applied in later courses in mathematics and the sciences; you wouldn’t have time to learn much calculus if you insisted on seeing a specific application of every topic covered in the course. Similarly, much of this book is devoted to methods that can be applied in later courses. Only a relatively small part of the book is devoted to the derivation of specific differential equations from mathematical models, or relating the differential equations that we study to specific applications. In this section we mention a few such applications. The mathematical model for an applied problem is almost always simpler than the actual situation being studied, since simplifying assumptions are usually required to obtain a mathematical problem that can be solved. For example, in modeling the motion of a falling object, we might neglect air resistance and the gravitational pull of celestial bodies other than Earth, or in modeling population growth we might assume that the population grows continuously rather than in discrete steps. A good mathematical model has two important properties:

  • It’s sufficiently simple so that the mathematical problem can be solved.
  • It represents the actual situation sufficiently well so that the solution to the mathematical problem predicts the outcome of the real problem to within a useful degree of accuracy. If results predicted by the model don’t agree with physical observations, the underlying assumptions of the model must be revised until satisfactory agreement is obtained.

We’ll now give examples of mathematical models involving differential equations. We’ll return to these problems at the appropriate times, as we learn how to solve the various types of differential equations that occur in the models. All the examples in this section deal with functions of time, which we denote by t. If y is a function of t, y′^ denotes the derivative of y with respect to t; thus,

y′^ = dy dt

Population Growth and Decay

Although the number of members of a population (people in a given country, bacteria in a laboratory cul- ture, wildflowers in a forest, etc.) at any given time t is necessarily an integer, models that use differential equations to describe the growth and decay of populations usually rest on the simplifying assumption that the number of members of the population can be regarded as a differentiable function P = P (t). In most models it is assumed that the differential equation takes the form

P ′^ = a(P )P, (1.1.1)

where a is a continuous function of P that represents the rate of change of population per unit time per individual. In the Malthusian model, it is assumed that a(P ) is a constant, so (1.1.1) becomes

P ′^ = aP. (1.1.2)

4 Chapter 1 Introduction

P

t

1/ α

Figure 1.1.1 Solutions of the logistic equation

where T 0 is the temperature of the body when t = 0. Therefore limt→∞ T (t) = Tm, independent of T 0. (Common sense suggests this. Why?) Figure 1.1.2 shows typical graphs of T versus t for various values of T 0. Assuming that the medium remains at constant temperature seems reasonable if we’re considering a cup of coffee cooling in a room, but not if we’re cooling a huge cauldron of molten metal in the same room. The difference between the two situations is that the heat lost by the coffee isn’t likely to raise the temperature of the room appreciably, but the heat lost by the cooling metal is. In this second situation we must use a model that accounts for the heat exchanged between the object and the medium. Let T = T (t) and Tm = Tm(t) be the temperatures of the object and the medium respectively, and let T 0 and Tm 0 be their initial values. Again, we assume that T and Tm are related by (1.1.5). We also assume that the change in heat of the object as its temperature changes from T 0 to T is a(T − T 0 ) and the change in heat of the medium as its temperature changes from Tm 0 to Tm is am(Tm −Tm 0 ), where a and am are positive constants depending upon the masses and thermal properties of the object and medium respectively. If we assume that the total heat of the in the object and the medium remains constant (that is, energy is conserved), then a(T − T 0 ) + am(Tm − Tm 0 ) = 0.

Solving this for Tm and substituting the result into (1.1.6) yields the differential equation

T ′^ = −k

a am

T + k

Tm 0 +

a am

T 0

for the temperature of the object. After learning to solve linear first order equations, you’ll be able to show (Exercise 4.2. 17 ) that

T =

aT 0 + amTm 0 a + am

am(T 0 − Tm 0 ) a + am

e−k(1+a/am)t.

Section 1.1 Applications Leading to Differential Equations 5

T

tt

Tm

Figure 1.1.2 Temperature according to Newton’s Law of Cooling

Glucose Absorption by the Body

Glucose is absorbed by the body at a rate proportional to the amount of glucose present in the bloodstream. Let λ denote the (positive) constant of proportionality. Suppose there are G 0 units of glucose in the bloodstream when t = 0, and let G = G(t) be the number of units in the bloodstream at time t > 0. Then, since the glucose being absorbed by the body is leaving the bloodstream, G satisfies the equation

G′^ = −λG. (1.1.7)

From calculus you know that if c is any constant then

G = ce−λt^ (1.1.8)

satisfies (1.1.7), so (1.1.7) has infinitely many solutions. Setting t = 0 in (1.1.8) and requiring that G(0) = G 0 yields c = G 0 , so G(t) = G 0 e−λt. Now let’s complicate matters by injecting glucose intravenously at a constant rate of r units of glucose per unit of time. Then the rate of change of the amount of glucose in the bloodstream per unit time is

G′^ = −λG + r, (1.1.9)

where the first term on the right is due to the absorption of the glucose by the body and the second term is due to the injection. After you’ve studied Section 2.1, you’ll be able to show (Exercise 2.1. 43 ) that the solution of (1.1.9) that satisfies G(0) = G 0 is

G =

r λ

G 0 −

r λ

e−λt.

Section 1.2 Basic Concepts 7

where α and β are positive constants. (Since negative population doesn’t make sense, this system works only while P and Q are both positive.) Now suppose P (0) = P 0 > 0 and Q(0) = Q 0 > 0. It can be shown (Exercise 10.4. 42 ) that there’s a positive constant ρ such that if (P 0 , Q 0 ) is above the line L through the origin with slope ρ, then the species with population P becomes extinct in finite time, but if (P 0 , Q 0 ) is below L, the species with population Q becomes extinct in finite time. Figure 1.1.3 illustrates this. The curves shown there are given parametrically by P = P (t), Q = Q(t), t > 0. The arrows indicate direction along the curves with increasing t.

P

Q L

Figure 1.1.3 Populations of competing species

1.2 BASIC CONCEPTS

A differential equation is an equation that contains one or more derivatives of an unknown function. The order of a differential equation is the order of the highest derivative that it contains. A differential equation is an ordinary differential equation if it involves an unknown function of only one variable, or a partial differential equation if it involves partial derivatives of a function of more than one variable. For now we’ll consider only ordinary differential equations, and we’ll just call them differential equations. Throughout this text, all variables and constants are real unless it’s stated otherwise. We’ll usually use x for the independent variable unless the independent variable is time; then we’ll use t. The simplest differential equations are first order equations of the form dy dx

= f(x) or, equivalently, y′^ = f(x),

where f is a known function of x. We already know from calculus how to find functions that satisfy this kind of equation. For example, if y′^ = x^3 ,

8 Chapter 1 Introduction

then

y =

x^3 dx =

x^4 4

  • c,

where c is an arbitrary constant. If n > 1 we can find functions y that satisfy equations of the form

y(n)^ = f(x) (1.2.1)

by repeated integration. Again, this is a calculus problem. Except for illustrative purposes in this section, there’s no need to consider differential equations like (1.2.1).We’ll usually consider differential equations that can be written as

y(n)^ = f(x, y, y′^ ,... , y(n−1)), (1.2.2)

where at least one of the functions y, y′,... , y(n−1)^ actually appears on the right. Here are some exam- ples: dy dx − x^2 = 0 (first order), dy dx

  • 2xy^2 = − 2 (first order), d^2 y dx^2

dy dx

  • y = 2 x (second order), xy′′′^ + y^2 = sin x (third order),

y(n)^ + xy′^ + 3y = x (n-th order).

Although none of these equations is written as in (1.2.2), all of them can be written in this form:

y′^ = x^2 , y′^ = − 2 − 2 xy^2 , y′′^ = 2 x − 2 y′^ − y,

y′′′^ =

sin x − y^2 x

y(n)^ = x − xy′^ − 3 y.

Solutions of Differential Equations

A solution of a differential equation is a function that satisfies the differential equation on some open interval; thus, y is a solution of (1.2.2) if y is n times differentiable and

y(n)^ (x) = f(x, y(x), y′^ (x),... , y(n−1)(x))

for all x in some open interval (a, b). In this case, we also say that y is a solution of (1.2.2) on (a, b). Functions that satisfy a differential equation at isolated points are not interesting. For example, y = x^2 satisfies xy′^ + x^2 = 3x

if and only if x = 0 or x = 1, but it’s not a solution of this differential equation because it does not satisfy the equation on an open interval. The graph of a solution of a differential equation is a solution curve. More generally, a curve C is said to be an integral curve of a differential equation if every function y = y(x) whose graph is a segment of C is a solution of the differential equation. Thus, any solution curve of a differential equation is an integral curve, but an integral curve need not be a solution curve.

10 Chapter 1 Introduction

x

y

−2.0 −1.5 −1.0 −0.5 0.5 1.0 1.5 2.

2

4

6

8

−

−

−

−

Figure 1.2.1 y = x^2 3

x

so

y′′^ + 2y′^ + y = (c 1 + c 2 x)e−x^ − 2 c 2 e−x

[

−(c 1 + c 2 x)e−x^ + c 2 e−x^ + 2

]

+(c 1 + c 2 x)e−x^ + 2x − 4 = (1 − 2 + 1)(c 1 + c 2 x)e−x^ + (−2 + 2)c 2 e−x +4 + 2x − 4 = 2x

for all values of x. Therefore y is a solution of (1.2.8) on (−∞, ∞).

Example 1.2.4 Find all solutions of y(n)^ = e^2 x. (1.2.9)

Solution Integrating (1.2.9) yields

y(n−1)^ =

e^2 x 2

  • k 1 ,

where k 1 is a constant. If n ≥ 2 , integrating again yields

y(n−2)^ =

e^2 x 4

  • k 1 x + k 2.

If n ≥ 3 , repeatedly integrating yields

y =

e^2 x 2 n^

  • k 1

xn−^1 (n − 1)!

  • k 2

xn−^2 (n − 2)!

  • · · · + kn, (1.2.10)

Section 1.2 Basic Concepts 11

where k 1 , k 2 ,... , kn are constants. This shows that every solution of (1.2.9) has the form (1.2.10) for some choice of the constants k 1 , k 2 ,... , kn. On the other hand, differentiating (1.2.10) n times shows that if k 1 , k 2 ,... , kn are arbitrary constants, then the function y in (1.2.10) satisfies (1.2.9). Since the constants k 1 , k 2 ,... , kn in (1.2.10) are arbitrary, so are the constants

k 1 (n − 1)!

k 2 (n − 2)! , · · · , kn.

Therefore Example 1.2.4 actually shows that all solutions of (1.2.9) can be written as

y =

e^2 x 2 n^

  • c 1 + c 2 x + · · · + cnxn−^1 ,

where we renamed the arbitrary constants in (1.2.10) to obtain a simpler formula. As a general rule, arbitrary constants appearing in solutions of differential equations should be simplified if possible. You’ll see examples of this throughout the text.

Initial Value Problems

In Example 1.2.4 we saw that the differential equation y(n)^ = e^2 x^ has an infinite family of solutions that depend upon the n arbitrary constants c 1 , c 2 ,... , cn. In the absence of additional conditions, there’s no reason to prefer one solution of a differential equation over another. However, we’ll often be interested in finding a solution of a differential equation that satisfies one or more specific conditions. The next example illustrates this.

Example 1.2.5 Find a solution of y′^ = x^3

such that y(1) = 2.

Solution At the beginning of this section we saw that the solutions of y′^ = x^3 are

y = x^4 4

  • c.

To determine a value of c such that y(1) = 2, we set x = 1 and y = 2 here to obtain

2 = y(1) =

  • c, so c =

Therefore the required solution is

y =

x^4 + 7 4

Figure 1.2.2 shows the graph of this solution. Note that imposing the condition y(1) = 2 is equivalent to requiring the graph of y to pass through the point (1, 2). We can rewrite the problem considered in Example 1.2.5 more briefly as

y′^ = x^3 , y(1) = 2.

We call this an initial value problem. The requirement y(1) = 2 is an initial condition. Initial value problems can also be posed for higher order differential equations. For example,

y′′^ − 2 y′^ + 3y = ex, y(0) = 1, y′^ (0) = 2 (1.2.11)