Professional Documents
Culture Documents
Elementary Differential Equations With Boundary Value Problems PDF
Elementary Differential Equations With Boundary Value Problems PDF
12-1-2013
This Book is brought to you for free and open access by Digital Commons @ Trinity. It has been accepted for inclusion in Books and Monographs by an
authorized administrator of Digital Commons @ Trinity. For more information, please contact jcostanz@trinity.edu.
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
wtrench@trinity.edu
This book has been judged to meet the evaluation criteria set by the Editorial Board of the American Institute of Mathematics in connection with
the Institutes Open Textbook Initiative. It may be copied, modified, redistributed, translated, and built upon subject to the Creative Commons
Attribution-NonCommercial-ShareAlike 3.0 Unported License.
FREE DOWNLOAD: STUDENT SOLUTIONS MANUAL
TO BEVERLY
Contents
Chapter 1 Introduction
5
16
30
2.1
2.2
2.3
2.4
2.5
2.6
30
45
55
62
73
82
96
109
119
130
4.1
4.2
4.3
4.4
4.5
130
140
151
162
179
iv
194
210
221
229
238
248
255
268
6.1
6.2
6.3
6.4
268
279
290
296
Spring Problems I
Spring Problems II
The RLC Circuit
Motion Under a Central Force
306
319
334
342
347
364
378
393
405
413
419
430
440
452
465
475
487
497
507
515
521
529
vi Contents
10.5 Constant Coefficient Homogeneous Systems II
10.6 Constant Coefficient Homogeneous Systems II
10.7 Variation of Parameters for Nonhomogeneous Linear Systems
542
556
568
580
580
586
603
618
630
649
666
676
687
Preface
Elementary Differential Equations with Boundary Value Problems is written for students in science, engineering, 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 preparation 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 students place, and have chosen to err on the side of
too much detail rather than not enough.
An elementary text cant 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 definitions, 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 collections 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, theres 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 students attention on the idea of seeking a solution y of a differential equation by writing it
as y = uy1 , where y1 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 order 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 annihilators is your preferred approach to this problem, compare the labor involved in solving, for
example, y00 + y0 + y = x4 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 concept 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 problems that arise in connection with the method of separation of variables for the heat and wave equations
and for Laplaces equation over a rectangular domain:
Problem 1:
y00 + y = 0, y(0) = 0, y(L) = 0
Problem 2:
y00 + y = 0,
y0 (0) = 0,
y0 (L) = 0
Problem 3:
y00 + y = 0,
y(0) = 0,
y0 (L) = 0
Problem 4:
y00 + y = 0,
y0 (0) = 0,
y(L) = 0
Problem 5:
y00 + y = 0,
y(L) = y(L),
y0 (L) = y0 (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, Section 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 Laplaces
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 pointthat 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
Preface ix
the homogeneous boundary conditions. Similarly, in most of the examples and exercises Section 12.3
(Laplaces Equation), the functions defining the boundary conditions on a given side of the rectangular
domain satisfy homogeneous boundary conditions at the endpoints of the same type (Dirichlet or Neumann) as the boundary conditions imposed on adjacent sides of the region. Therefore the formal solutions
obtained in many of the examples and exercises are actual solutions.
Section 13.1 deals with two-point value problems for a second order ordinary differential equation.
Conditions for existence and uniqueness of solutions are given, and the construction of Greens functions
is included.
Section 13.2 presents the elementary aspects of Sturm-Liouville theory.
You may also find the following to be of interest:
Section 2.6 deals with integrating factors of the form = p(x)q(y), in addition to those of the
form = p(x) and = q(y) discussed in most texts.
Section 4.4 makes phase plane analysis of nonlinear second order autonomous equations accessible to students who have not taken linear algebra, since eigenvalues and eigenvectors do not enter
into the treatment. Phase plane analysis of constant coefficient linear systems is included in Sections 10.4-6.
Section 4.5 presents an extensive discussion of applications of differential equations to curves.
Section 6.4 studies motion under a central force, which may be useful to students interested in the
mathematics of satellite orbits.
Sections 7.5-7 present the method of Frobenius in more detail than in most texts. The approach
is to systematize the computations in a way that avoids the necessity of substituting the unknown
Frobenius series into each equation. This leads to efficiency in the computation of the coefficients
of the Frobenius solution. It also clarifies the case where the roots of the indicial equation differ by
an integer (Section 7.7).
The free Student Solutions Manual contains solutions of most of the even-numbered exercises.
The free Instructors Solutions Manual is available by email to wtrench@trinity.edu, subject to
verification of the requestors faculty status.
The following observations may be helpful as you choose your syllabus:
Section 2.3 is the only specific prerequisite for Chapter 3. To accomodate institutions that offer a
separate course in numerical analysis, Chapter 3 is not a prerequisite for any other section in the
text.
The sections in Chapter 4 are independent of each other, and are not prerequisites for any of the
later chapters. This is also true of the sections in Chapter 6, except that Section 6.1 is a prerequisite
for Section 6.2.
Chapters 7, 8, and 9 can be covered in any order after the topics selected from Chapter 5. For
example, you can proceed directly from Chapter 5 to Chapter 9.
The second order Euler equation is discussed in Section 7.4, where it sets the stage for the method
of Frobenius. As noted at the beginning of Section 7.4, if you want to include Euler equations in
your syllabus while omitting the method of Frobenius, you can skip the introductory paragraphs
in Section 7.4 and begin with Definition 7.4.2. You can then cover Section 7.4 immediately after
Section 5.2.
Chapters 11, 12, and 13 can be covered at any time after the completion of Chapter 5.
William F. Trench
CHAPTER 1
Introduction
Chapter 1 Introduction
dy
.
dt
(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 0 = aP.
(1.1.2)
(When you see a name in blue italics, just click on it for information about the person.) This model
assumes that the numbers of births and deaths per unit time are both proportional to the population. The
constants of proportionality are the birth rate (births per unit time per individual) and the death rate
(deaths per unit time per individual); a is the birth rate minus the death rate. You learned in calculus that
if c is any constant then
P = ceat
(1.1.3)
satisfies (1.1.2), so (1.1.2) has infinitely many solutions. To select the solution of the specific problem
that were considering, we must know the population P0 at an initial time, say t = 0. Setting t = 0 in
(1.1.3) yields c = P (0) = P0 , so the applicable solution is
P (t) = P0 eat .
This implies that
lim P (t) =
if a > 0,
if a < 0;
that is, the population approaches infinity if the birth rate exceeds the death rate, or zero if the death rate
exceeds the birth rate.
To see the limitations of the Malthusian model, suppose were modeling the population of a country,
starting from a time t = 0 when the birth rate exceeds the death rate (so a > 0), and the countrys
resources in terms of space, food supply, and other necessities of life can support the existing population. Then the prediction P = P0 eat may be reasonably accurate as long as it remains within limits
that the countrys resources can support. However, the model must inevitably lose validity when the prediction exceeds these limits. (If nothing else, eventually there wont be enough space for the predicted
population!)
This flaw in the Malthusian model suggests the need for a model that accounts for limitations of space
and resources that tend to oppose the rate of population growth as the population increases. Perhaps the
most famous model of this kind is the Verhulst model, where (1.1.2) is replaced by
P 0 = aP (1 P ),
(1.1.4)
0
where is a positive constant. As long as P is small compared to 1/, the ratio P /P is approximately
equal to a. Therefore the growth is approximately exponential; however, as P increases, the ratio P 0 /P
decreases as opposing factors become significant.
Equation (1.1.4) is the logistic equation. You will learn how to solve it in Section 1.2. (See Exercise 2.2.28.) The solution is
P0
P =
,
P0 + (1 P0 )eat
where P0 = P (0) > 0. Therefore limt P (t) = 1/, independent of P0 .
Figure 1.1.1 shows typical graphs of P versus t for various values of P0 .
Newtons Law of Cooling
According to Newtons law of cooling, the temperature of a body changes at a rate proportional to the
difference between the temperature of the body and the temperature of the surrounding medium. Thus, if
Tm is the temperature of the medium and T = T (t) is the temperature of the body at time t, then
T 0 = k(T Tm ),
(1.1.5)
where k is a positive constant and the minus sign indicates; that the temperature of the body increases with
time if its less than the temperature of the medium, or decreases if its greater. Well see in Section 4.2
that if Tm is constant then the solution of (1.1.5) is
T = Tm + (T0 Tm )ekt ,
(1.1.6)
Chapter 1 Introduction
1/
aT0 + am Tm0
am (T0 Tm0 ) k(1+a/am )t
+
e
.
a + am
a + am
(1.1.7)
(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) = G0 yields c = G0 , so
G(t) = G0 et .
Now lets 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
G0 = 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 youve studied Section 2.1, youll be able to show (Exercise 2.1.43) that the
solution of (1.1.9) that satisfies G(0) = G0 is
r
r t
G = + G0
e .
Chapter 1 Introduction
where r is a positive constant. Assuming that I(0) = I0 , the solution of this equation is
I=
SI0
I0 + (S I0 )erSt
(Exercise 2.2.29). Graphs of this function are similar to those in Figure 1.1.1. (Why?) Since limt I(t) =
S, this model predicts that all the susceptible people eventually become infected.
Newtons Second Law of Motion
According to Newtons second law of motion, the instantaneous acceleration a of an object with constant mass m is related to the force F acting on the object by the equation F = ma. For simplicity, lets
assume that m = 1 and the motion of the object is along a vertical line. Let y be the displacement of the
object from some reference point on Earths surface, measured positive upward. In many applications,
there are three kinds of forces that may act on the object:
(a) A force such as gravity that depends only on the position y, which we write as p(y), where
p(y) > 0 if y 0.
(b) A force such as atmospheric resistance that depends on the position and velocity of the object, which
we write as q(y, y0 )y0 , where q is a nonnegative function and weve put y0 outside to indicate
that the resistive force is always in the direction opposite to the velocity.
(c) A force f = f(t), exerted from an external source (such as a towline from a helicopter) that depends
only on t.
In this case, Newtons second law implies that
y00 = q(y, y0 )y0 p(y) + f(t),
which is usually rewritten as
y00 + q(y, y0 )y0 + p(y) = f(t).
Since the second (and no higher) order derivative of y occurs in this equation, we say that it is a second
order differential equation.
Interacting Species: Competition
Let P = P (t) and Q = Q(t) be the populations of two species at time t, and assume that each population
would grow exponentially if the other didnt exist; that is, in the absence of competition we would have
P 0 = aP
and
Q0 = bQ,
(1.1.10)
where a and b are positive constants. One way to model the effect of competition is to assume that
the growth rate per individual of each population is reduced by an amount proportional to the other
population, so (1.1.10) is replaced by
P0
Q0
=
=
aP Q
P + bQ,
where and are positive constants. (Since negative population doesnt make sense, this system works
only while P and Q are both positive.) Now suppose P (0) = P0 > 0 and Q(0) = Q0 > 0. It can
be shown (Exercise 10.4.42) that theres a positive constant such that if (P0 , Q0 ) is above the line L
through the origin with slope , then the species with population P becomes extinct in finite time, but if
(P0 , Q0 ) 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.
Q
L
or, equivalently,
y0 = 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 0 = x3 ,
Chapter 1 Introduction
then
y=
x3 dx =
x4
+ c,
4
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)
(1.2.2)
where at least one of the functions y, y0 , . . . , y(n1) actually appears on the right. Here are some examples:
dy
x2 = 0
(first order),
dx
dy
+ 2xy2 = 2
(first order),
dx
2
dy
d y
+2
+ y = 2x
(second order),
2
dx
dx
000
2
xy + y = sin x (third order),
y(n) + xy0 + 3y
(n-th order).
Although none of these equations is written as in (1.2.2), all of them can be written in this form:
y0
y0
y00
=
=
=
y000
y(n)
x2 ,
2 2xy2 ,
2x 2y0 y,
sin x y2
,
x
x xy0 3y.
(1.2.3)
x
y0 = .
y
(1.2.4)
is an integral curve of
To see this, note that the only functions whose graphs are segments of (1.2.3) are
p
p
y1 = a2 x2 and y2 = a2 x2 .
We leave it to you to verify that these functions both satisfy (1.2.4) on the open interval (a, a). However,
(1.2.3) is not a solution curve of (1.2.4), since its not the graph of a function.
Example 1.2.2 Verify that
x2
1
+
3
x
(1.2.5)
xy0 + y = x2
(1.2.6)
y=
is a solution of
on (0, ) and on (, 0).
Solution Substituting (1.2.5) and
y0 =
1
2x
2
3
x
2x
1
2
3
x
x2
1
+
3
x
= x2
for all x 6= 0. Therefore y is a solution of (1.2.6) on (, 0) and (0, ). However, y isnt a solution of
the differential equation on any open interval that contains x = 0, since y is not defined at x = 0.
Figure 1.2.1 shows the graph of (1.2.5). The part of the graph of (1.2.5) on (0, ) is a solution curve
of (1.2.6), as is the part of the graph on (, 0).
Example 1.2.3 Show that if c1 and c2 are constants then
y = (c1 + c2 x)ex + 2x 4
(1.2.7)
y00 + 2y0 + y = 2x
(1.2.8)
is a solution of
on (, ).
Solution Differentiating (1.2.7) twice yields
y0 = (c1 + c2 x)ex + c2 ex + 2
and
y00 = (c1 + c2 x)ex 2c2 ex ,
10 Chapter 1 Introduction
8
6
4
2
2.0
1.5
1.0
0.5
0.5
1.0
1.5
2.0
2
4
6
8
Figure 1.2.1 y =
x2
1
+
3
x
so
y00 + 2y0 + y
(1.2.9)
y(n2) =
e2x
+ k1 x + k2 .
4
e2x
xn1
xn2
+
k
+
k
+ + kn ,
1
2
2n
(n 1)!
(n 2)!
(1.2.10)
11
where k1 , k2 , . . . , kn are constants. This shows that every solution of (1.2.9) has the form (1.2.10) for
some choice of the constants k1 , k2 , . . . , kn . On the other hand, differentiating (1.2.10) n times shows
that if k1 , k2 , . . . , kn are arbitrary constants, then the function y in (1.2.10) satisfies (1.2.9).
Since the constants k1 , k2 , . . . , kn in (1.2.10) are arbitrary, so are the constants
k1
k2
,
, , kn .
(n 1)! (n 2)!
Therefore Example 1.2.4 actually shows that all solutions of (1.2.9) can be written as
y=
e2x
+ c1 + c2 x + + cn xn1,
2n
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. Youll
see examples of this throughout the text.
Initial Value Problems
In Example 1.2.4 we saw that the differential equation y(n) = e2x has an infinite family of solutions that
depend upon the n arbitrary constants c1 , c2 , . . . , cn . In the absence of additional conditions, theres no
reason to prefer one solution of a differential equation over another. However, well 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 0 = x3
such that y(1) = 2.
Solution At the beginning of this section we saw that the solutions of y0 = x3 are
y=
x4
+ c.
4
1
+ c,
4
so
c=
7
.
4
y 0 = x3 ,
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,
y00 2y0 + 3y = ex ,
y(0) = 1,
y0 (0) = 2
(1.2.11)
12 Chapter 1 Introduction
is an initial value problem for a second order differential equation where y and y0 are required to have
specified values at x = 0. In general, an initial value problem for an n-th order differential equation
requires y and its first n 1 derivatives to have specified values at some point x0 . These requirements are
the initial conditions.
y
(1,2)
Figure 1.2.2 y =
x2 + 7
4
Well denote an initial value problem for a differential equation by writing the initial conditions after
the equation, as in (1.2.11). For example, we would write an initial value problem for (1.2.2) as
y(n) = f(x, y, y0 , . . . , y(n1)), y(x0 ) = k0 , y0 (x0 ) = k1 , . . . , y(n1) = kn1 .
(1.2.12)
Consistent with our earlier definition of a solution of the differential equation in (1.2.12), we say that y is
a solution of the initial value problem (1.2.12) if y is n times differentiable and
y(n) (x) = f(x, y(x), y0 (x), . . . , y(n1)(x))
for all x in some open interval (a, b) that contains x0 , and y satisfies the initial conditions in (1.2.12). The
largest open interval that contains x0 on which y is defined and satisfies the differential equation is the
interval of validity of y.
Example 1.2.6 In Example 1.2.5 we saw that
y=
x4 + 7
4
(1.2.13)
y(1) = 2.
Since the function in (1.2.13) is defined for all x, the interval of validity of this solution is (, ).
13
x2
1
+
3
x
(1.2.14)
is a solution of
xy0 + y = x2
on (0, ) and on (, 0). By evaluating (1.2.14) at x = 1, you can see that (1.2.14) is a solution of
the initial value problems
4
xy0 + y = x2 , y(1) =
(1.2.15)
3
and
2
xy0 + y = x2 , y(1) = .
(1.2.16)
3
The interval of validity of (1.2.14) as a solution of (1.2.15) is (0, ), since this is the largest interval that
contains x0 = 1 on which (1.2.14) is defined. Similarly, the interval of validity of (1.2.14) as a solution of
(1.2.16) is (, 0), since this is the largest interval that contains x0 = 1 on which (1.2.14) is defined.
Free Fall Under Constant Gravity
The term initial value problem originated in problems of motion where the independent variable is t
(representing elapsed time), and the initial conditions are the position and velocity of an object at the
initial (starting) time of an experiment.
Example 1.2.8 An object falls under the influence of gravity near Earths surface, where it can be assumed that the magnitude of the acceleration due to gravity is a constant g.
(a) Construct a mathematical model for the motion of the object in the form of an initial value problem
for a second order differential equation, assuming that the altitude and velocity of the object at time
t = 0 are known. Assume that gravity is the only force acting on the object.
(b) Solve the initial value problem derived in (a) to obtain the altitude as a function of time.
S OLUTION (a) Let y(t) be the altitude of the object at time t. Since the acceleration of the object has
constant magnitude g and is in the downward (negative) direction, y satisfies the second order equation
y00 = g,
where the prime now indicates differentiation with respect to t. If y0 and v0 denote the altitude and
velocity when t = 0, then y is a solution of the initial value problem
y00 = g,
y(0) = y0 ,
y0 (0) = v0 .
(1.2.17)
gt + c1 ,
gt2
+ c1 t + c2 .
Imposing the initial conditions y(0) = y0 and y0 (0) = v0 in these two equations shows that c1 = v0 and
c2 = y0 . Therefore the solution of the initial value problem (1.2.17) is
y=
gt2
+ v0 t + y0 .
2
14 Chapter 1 Introduction
1.2 Exercises
1.
2.
3.
Verify that the function is a solution of the differential equation on some interval, for any choice
of the arbitrary constants appearing in the function.
(a) y = ce2x ; y0 = 2y
x2
c
(b) y =
+ ; xy0 + y = x2
3
x
2
1
(c) y = + cex ; y0 + 2xy = x
2
2
2
(d) y = (1 + cex /2 ); (1 cex /2 )1 2y0 + x(y2 1) = 0
3
x
(e) y = tan
+ c ; y0 = x2 (1 + y2 )
3
(f) y = (c1 + c2 x)ex + sin x + x2 ; y00 2y0 + y = 2 cos x + x2 4x + 2
2
(g) y = c1 ex + c2 x + ; (1 x)y00 + xy0 y = 4(1 x x2 )x3
x
(h) y = x1/2 (c1 sin
x + c2cos x) + 4x + 8;
1
x2 y00 + xy0 + x2
y = 4x3 + 8x2 + 3x 2
4
Find all solutions of the equation.
(a)
(c)
(e)
(g)
(i)
4.
y0 = x
y0 = x ln x
y00 = 2xex
y000 = cos x
y000 = 7e4x
(b)
(d)
(f)
(h)
y0 = x sin x
y00 = x cos x
y00 = 2x + sin x + ex
y000 = x2 + ex
5.
y(0) = 1
r
y0 = x sin x2 , y
=1
2
y0 = tan x, y(/4) = 3
y00 = x4 , y(2) = 1, y0 (2) = 1
y00 = xe2x , y(0) = 7, y0 (0) = 1
y00 = x sin x, y(0) = 1, y0 (0) = 3
y000 = x2 ex , y(0) = 1, y0 (0) = 2, y00 (0) = 3
y000 = 2 + sin 2x, y(0) = 1, y0 (0) = 6, y00 (0) = 3
y000 = 2x + 1, y(2) = 1, y0 (2) = 4, y00 (2) = 7
2x
y
+
2
3
(b) y =
+ ; y0 =
, y(1) =
x2
2
x3
2
x2
;
2
y0 = x(1 + y2 ),
15
y(0) = 0
2
y(y + 1)
; y0 =
, y(1) = 2
x2
x
Verify that the function is a solution of the initial value problem.
3xy0 4y
, y(e) = 2e2 , y0 (e) = 5e
(a) y = x2 (1 + ln x); y00 =
x2
x2
x2 xy0 + y + 1
1
5
(b) y =
+ x 1; y00 =
, y(1) = , y0 (1) =
2
3
x
3
3
(x2 1)y x(x2 + 1)y0
2 1/2
00
(c) y = (1 + x )
; y =
, y(0) = 1,
(x2 + 1)2
y0 (0) = 0
x2
2(x + y)(xy0 y)
(d) y =
; y00 =
, y(1/2) = 1/2, y0 (1/2) = 3
1x
x3
Suppose an object is launched from a point 320 feet above the earth with an initial velocity of 128
ft/sec upward, and the only force acting on it thereafter is gravity. Take g = 32 ft/sec2 .
(d) y =
6.
7.
(A)
y0 = ay(a1)/a
(B)
is a solution of
on (c, ).
(b) Suppose a < 0 or a > 1. Can you think of a solution of (B) that isnt of the form (A)?
9.
Verify that
y=
is a solution of
ex 1,
x 0,
1 ex , x < 0,
y0 = |y| + 1
10.
y = c2 + cx + 2c + 1
satisfies
(A)
p
x2 + 4x + 4y
y =
(B)
2
on some open interval. Identify the open interval.
(b) Verify that
x(x + 4)
y1 =
4
also satisfies (B) on some open interval, and identify the open interval. (Note that y1 cant be
obtained by selecting a value of c in (A).)
0
(x + 2) +
16 Chapter 1 Introduction
1.3 DIRECTION FIELDS FOR FIRST ORDER EQUATIONS
Its impossible to find explicit formulas for solutions of some differential equations. Even if there are
such formulas, they may be so complicated that theyre useless. In this case we may resort to graphical
or numerical methods to get some idea of how the solutions of the given equation behave.
In Section 2.3 well take up the question of existence of solutions of a first order equation
y0 = f(x, y).
(1.3.1)
In this section well simply assume that (1.3.1) has solutions and discuss a graphical method for approximating them. In Chapter 3 we discuss numerical methods for obtaining approximate solutions of
(1.3.1).
Recall that a solution of (1.3.1) is a function y = y(x) such that
y0 (x) = f(x, y(x))
for all values of x in some interval, and an integral curve is either the graph of a solution or is made up
of segments that are graphs of solutions. Therefore, not being able to solve (1.3.1) is equivalent to not
knowing the equations of integral curves of (1.3.1). However, its easy to calculate the slopes of these
curves. To be specific, the slope of an integral curve of (1.3.1) through a given point (x0 , y0 ) is given by
the number f(x0 , y0 ). This is the basis of the method of direction fields.
If f is defined on a set R, we can construct a direction field for (1.3.1) in R by drawing a short line
segment through each point (x, y) in R with slope f(x, y). Of course, as a practical matter, we cant
actually draw line segments through every point in R; rather, we must select a finite set of points in R.
For example, suppose f is defined on the closed rectangular region
R : {a x b, c y d}.
Let
a = x0 < x1 < < xm = b
be equally spaced points in [a, b] and
c = y0 < y1 < < yn = d
be equally spaced points in [c, d]. We say that the points
(xi , yj ),
0 i m,
0 j n,
form a rectangular grid (Figure 1.3.1). Through each point in the grid we draw a short line segment with
slope f(xi , yj ). The result is an approximation to a direction field for (1.3.1) in R. If the grid points are
sufficiently numerous and close together, we can draw approximate integral curves of (1.3.1) by drawing
curves through points in the grid tangent to the line segments associated with the points in the grid.
17
Figure 1.3.1
A rectangular grid
Unfortunately, approximating a direction field and graphing integral curves in this way is too tedious
to be done effectively by hand. However, there is software for doing this. As youll see, the combination of direction fields and integral curves gives useful insights into the behavior of the solutions of the
differential equation even if we cant obtain exact solutions.
Well study numerical methods for solving a single first order equation (1.3.1) in Chapter 3. These
methods can be used to plot solution curves of (1.3.1) in a rectangular region R if f is continuous on R.
Figures 1.3.2, 1.3.3, and 1.3.4 show direction fields and solution curves for the differential equations
y0 =
x2 y 2
,
1 + x2 + y 2
y0 = 1 + xy2 ,
y0 =
and
xy
,
1 + x2
which are all of the form (1.3.1) with f continuous for all (x, y).
y
2
y
4
1.5
3
1
2
0.5
1
0.5
1.5
4
4
x
2
2
1.5
0.5
0.5
1.5
18 Chapter 1 Introduction
y
1
0.8
0.6
0.4
0.2
0.2
0.4
0.6
0.8
1
1
0.8
0.6
0.4
0.2
0.2
0.4
0.6
0.8
xy
1 + x2
(1.3.2)
if R contains part of the x-axis, since f(x, y) = x/y is undefined when y = 0. Similarly, they wont
work for the equation
x2
y0 =
(1.3.3)
1 x2 y 2
if R contains any part of the unit circle x2 + y2 = 1, because the right side of (1.3.3) is undefined if
x2 + y2 = 1. However, (1.3.2) and (1.3.3) can written as
y0 =
A(x, y)
B(x, y)
(1.3.4)
where A and B are continuous on any rectangle R. Because of this, some differential equation software
is based on numerically solving pairs of equations of the form
dx
= B(x, y),
dt
dy
= A(x, y)
dt
(1.3.5)
where x and y are regarded as functions of a parameter t. If x = x(t) and y = y(t) satisfy these equations,
then
dy
dy dx
A(x, y)
0
y =
=
=
,
dx
dt
dt
B(x, y)
so y = y(x) satisfies (1.3.4).
19
dx
= y,
dt
and
dx
dy
= 1 x2 y 2 ,
= x2 ,
dt
dt
respectively. Even if f is continuous and otherwise nice throughout R, your software may require you
to reformulate the equation y0 = f(x, y) as
dx
= 1,
dt
dy
= f(x, y),
dt
x
y
Figure 1.3.6 shows a direction field and some integral curves for (1.3.3). The integral curves near the
top and bottom are solution curves. However, the integral curves near the middle are more complicated.
For example, Figure 1.3.7 shows the integral curve through the origin. The vertices of the dashed rectangle
are on the circle x2 + y2 = 1 (a .846, b .533), where all integral curves of (1.3.3) have infinite
slope. There are three solution curves of (1.3.3) on the integral curve in the figure: the segment above the
level y = b is the graph of a solution on (, a), the segment below the level y = b is the graph of a
solution on (a, ), and the segment between these two levels is the graph of a solution on (a, a).
USING TECHNOLOGY
20 Chapter 1 Introduction
As you study from this book, youll often be asked to use computer software and graphics. Exercises
with this intent are marked as C (computer or calculator required), C/G (computer and/or graphics
required), or L (laboratory work requiring software and/or graphics). Often you may not completely
understand how the software does what it does. This is similar to the situation most people are in when
they drive automobiles or watch television, and it doesnt decrease the value of using modern technology
as an aid to learning. Just be careful that you use the technology as a supplement to thought rather than a
substitute for it.
y
y
2
1
x
(a,b)
(a,b)
(a,b)
(a,b)
1
Figure 1.3.7
1.3 Exercises
In Exercises 111 a direction field is drawn for the given equation. Sketch some integral curves.
0.8
0.6
0.4
0.2
0.2
0.4
0.6
0.8
1
1
0.8
0.6
0.4
0.2
0.2
0.4
x
y
0.6
0.8
21
22 Chapter 1 Introduction
y
2
1.5
0.5
0.5
1.5
0.5
1.5
2.5
3.5
2xy2
1 + x2
y
1
0.8
0.6
0.4
0.2
0.2
0.4
0.6
0.8
0.2
0.4
0.6
0.8
1.2
1.4
1.6
1.8
0.8
0.6
0.4
0.2
0.2
0.4
0.6
0.8
0.2
0.4
0.6
0.8
1.2
1.4
1.6
1.8
1
1 + x2 + y 2
y
1
0.8
0.6
0.4
0.2
0.2
0.4
0.6
0.8
0.5
1.5
2.5
23
24 Chapter 1 Introduction
y
1
0.8
0.6
0.4
0.2
0.2
0.4
0.6
0.8
1
1
0.8
0.6
0.4
0.2
0.2
0.4
0.6
0.8
y
3
0.9
0.8
0.7
0.6
0.5
0.4
0.3
0.2
0.1
0.1
0.2
0.3
0.4
0.5
0.6
0.7
0.8
0.9
1.4
1.6
1.8
y
1
0.8
0.6
0.4
0.2
0.2
0.4
0.6
0.8
0.2
0.4
0.6
0.8
1.2
25
26 Chapter 1 Introduction
y
1
0.8
0.6
0.4
0.2
0.2
0.4
0.6
0.8
1.2
1.4
1.6
1.8
2.2
2.4
2.6
2.8
y
4
3.5
2.5
1.5
0.5
0.5
1.5
2.5
3.5
27
In Exercises 12-22 construct a direction field and plot some integral curves in the indicated rectangular
region.
12.
{1 x 2, 2 y 2}
13.
C/G y0 = 2 3xy;
{1 x 4, 4 y 4}
14.
15.
C/G y0 = 3x + y;
{2 x 2, 0 y 4}
16.
C/G y0 = y x3 ;
{2 x 2, 2 y 2}
17.
C/G y = 1 x y2 ;
18.
19.
20.
C/G y0 =
21.
{2 x 2, 4 y 4}
{2 x 2, 2 y 2}
xy2
; {2 x 2, 1 y 4}
y1
x(y2 1)
C/G y0 =
; {1 x 1, 2 y 2}
y
x2 + y 2
;
1 x2 y 2
22.
C/G y0 =
23.
{2 x 2, 2 y 2}
T 0 = k(T Tm )
(A)
G0 = G + r
(B)
and
discussed in Section 1.2 in connection with Newtons law of cooling and absorption of glucose in
the body, we can write both as
y0 = ay + b,
(C)
where a is a positive constant and b is an arbitrary constant. Thus, (A) is of the form (C) with
y = T , a = k, and b = kTm , and (B) is of the form (C) with y = G, a = , and b = r. Well
encounter equations of the form (C) in many other applications in Chapter 2.
Choose a positive a and an arbitrary b. Construct a direction field and plot some integral curves
for (C) in a rectangular region of the form
{0 t T, c y d}
of the ty-plane. Vary T , c, and d until you discover a common property of all the solutions of (C).
Repeat this experiment with various choices of a and b until you can state this property precisely
in terms of a and b.
24.
(A)
I 0 = rI(S I)
(B)
and
28 Chapter 1 Introduction
discussed in Section 1.1 in connection with Verhulsts population model and the spread of an
epidemic, we can write both in the form
y0 = ay by2 ,
(C)
where a and b are positive constants. Thus, (A) is of the form (C) with y = P , a = a, and b = a,
and (B) is of the form (C) with y = I, a = rS, and b = r. In Chapter 2 well encounter equations
of the form (C) in other applications..
(a) Choose positive numbers a and b. Construct a direction field and plot some integral curves
for (C) in a rectangular region of the form
{0 t T, 0 y d}
of the ty-plane. Vary T and d until you discover a common property of all solutions of (C)
with y(0) > 0. Repeat this experiment with various choices of a and b until you can state
this property precisely in terms of a and b.
(b) Choose positive numbers a and b. Construct a direction field and plot some integral curves
for (C) in a rectangular region of the form
{0 t T, c y 0}
of the ty-plane. Vary a, b, T and c until you discover a common property of all solutions of
(C) with y(0) < 0.
You can verify your results later by doing Exercise 2.2.27.
CHAPTER 2
First Order Equations
IN THIS CHAPTER we study first order equations for which there are general methods of solution.
SECTION 2.1 deals with linear equations, the simplest kind of first order equations. In this section we
introduce the method of variation of parameters. The idea underlying this method will be a unifying
theme for our approach to solving many different kinds of differential equations throughout the book.
SECTION 2.2 deals with separable equations, the simplest nonlinear equations. In this section we introduce the idea of implicit and constant solutions of differential equations, and we point out some differences between the properties of linear and nonlinear equations.
SECTION 2.3 discusses existence and uniqueness of solutions of nonlinear equations. Although it may
seem logical to place this section before Section 2.2, we presented Section 2.2 first so we could have
illustrative examples in Section 2.3.
SECTION 2.4 deals with nonlinear equations that are not separable, but can be transformed into separable
equations by a procedure similar to variation of parameters.
SECTION 2.5 covers exact differential equations, which are given this name because the method for
solving them uses the idea of an exact differential from calculus.
SECTION 2.6 deals with equations that are not exact, but can made exact by multiplying them by a
function known called integrating factor.
29
(2.1.1)
A first order differential equation that cant be written like this is nonlinear. We say that (2.1.1) is
homogeneous if f 0; otherwise its nonhomogeneous. Since y 0 is obviously a solution of the
homgeneous equation
y0 + p(x)y = 0,
we call it the trivial solution. Any other solution is nontrivial.
Example 2.1.1 The first order equations
x2 y0 + 3y
x2 ,
xy0 8x2 y
xy0 + (ln x)y
y0
=
=
=
sin x,
0,
x2 y 2,
are not in the form (2.1.1), but they are linear, since they can be rewritten as
3
y
x2
1,
y0 8xy
sin x
,
x
0,
2.
y0 +
ln x
y
x
y 0 x2 y
y0 +
= 2x
(because y is squared),
yy0
y0 + xey
12
(because of ey ).
1
.
x2
(2.1.2)
1
+ c,
x
(2.1.3)
where c is an arbitrary constant. We call c a parameter and say that (2.1.3) defines a oneparameter
family of functions. For each real number c, the function defined by (2.1.3) is a solution of (2.1.2) on
31
(, 0) and (0, ); moreover, every solution of (2.1.2) on either of these intervals is of the form (2.1.3)
for some choice of c. We say that (2.1.3) is the general solution of (2.1.2).
Well see that a similar situation occurs in connection with any first order linear equation
y0 + p(x)y = f(x);
(2.1.4)
that is, if p and f are continuous on some open interval (a, b) then theres a unique formula y = y(x, c)
analogous to (2.1.3) that involves x and a parameter c and has the these properties:
For each fixed value of c, the resulting function of x is a solution of (2.1.4) on (a, b).
If y is a solution of (2.1.4) on (a, b), then y can be obtained from the formula by choosing c
appropriately.
Well call y = y(x, c) the general solution of (2.1.4).
When this has been established, it will follow that an equation of the form
P0 (x)y0 + P1 (x)y = F (x)
(2.1.5)
has a general solution on any open interval (a, b) on which P0 , P1 , and F are all continuous and P0 has
no zeros, since in this case we can rewrite (2.1.5) in the form (2.1.4) with p = P1 /P0 and f = F/P0 ,
which are both continuous on (a, b).
To avoid awkward wording in examples and exercises, we wont specify the interval (a, b) when we
ask for the general solution of a specific linear first order equation. Lets agree that this always means
that we want the general solution on every open interval on which p and f are continuous if the equation
is of the form (2.1.4), or on which P0 , P1 , and F are continuous and P0 has no zeros, if the equation is of
the form (2.1.5). We leave it to you to identify these intervals in specific examples and exercises.
For completeness, we point out that if P0 , P1 , and F are all continuous on an open interval (a, b), but
P0 does have a zero in (a, b), then (2.1.5) may fail to have a general solution on (a, b) in the sense just
defined. Since this isnt a major point that needs to be developed in depth, we wont discuss it further;
however, see Exercise 44 for an example.
Homogeneous Linear First Order Equations
We begin with the problem of finding the general solution of a homogeneous linear first order equation.
The next example recalls a familiar result from calculus.
Example 2.1.3 Let a be a constant.
(a) Find the general solution of
y0 ay = 0.
(2.1.6)
y(x0 ) = y0 .
S OLUTION (a) You already know from calculus that if c is any constant, then y = ceax satisfies (2.1.6).
However, lets pretend youve forgotten this, and use this problem to illustrate a general method for
solving a homogeneous linear first order equation.
We know that (2.1.6) has the trivial solution y 0. Now suppose y is a nontrivial solution of (2.1.6).
Then, since a differentiable function must be continuous, there must be some open interval I on which y
has no zeros. We rewrite (2.1.6) as
y0
=a
y
2.5
a=2
2.0
a = 1.5
1.5
a=1
1.0
a = 1
0.5
a = 2.5
a = 4
x
0.2
0.4
0.6
0.8
1.0
so
|y| = ek eax ,
where k is an arbitrary constant. Since eax can never equal zero, y has no zeros, so y is either always
positive or always negative. Therefore we can rewrite y as
y = ceax
where
c=
ek
ek
(2.1.7)
if y > 0,
if y < 0.
This shows that every nontrivial solution of (2.1.6) is of the form y = ceax for some nonzero constant c.
Since setting c = 0 yields the trivial solution, all solutions of (2.1.6) are of the form (2.1.7). Conversely,
(2.1.7) is a solution of (2.1.6) for every choice of c, since differentiating (2.1.7) yields y0 = aceax = ay.
S OLUTION (b) Imposing the initial condition y(x0 ) = y0 yields y0 = ceax0 , so c = y0 eax0 and
y = y0 eax0 eax = y0 ea(xx0 ) .
Figure 2.1.1 show the graphs of this function with x0 = 0, y0 = 1, and various values of a.
Example 2.1.4 (a) Find the general solution of
xy0 + y = 0.
(2.1.8)
y(1) = 3.
(2.1.9)
33
1
y = 0,
(2.1.10)
x
where x is restricted to either (, 0) or (0, ). If y is a nontrivial solution of (2.1.10), there must be
some open interval I on which y has no zeros. We can rewrite (2.1.10) as
y0 +
y0
1
=
y
x
for x in I. Integrating shows that
ln |y| = ln |x| + k,
so
|y| =
ek
.
|x|
Since a function that satisfies the last equation cant change sign on either (, 0) or (0, ), we can
rewrite this result more simply as
c
(2.1.11)
y=
x
where
ek if y > 0,
c=
ek if y < 0.
Weve now shown that every solution of (2.1.10) is given by (2.1.11) for some choice of c. (Even though
we assumed that y was nontrivial to derive (2.1.11), we can get the trivial solution by setting c = 0 in
(2.1.11).) Conversely, any function of the form (2.1.11) is a solution of (2.1.10), since differentiating
(2.1.11) yields
c
y0 = 2 ,
x
and substituting this and (2.1.11) into (2.1.10) yields
c
1c
+
x2
xx
c
c
= 2 + 2 = 0.
x
x
Figure 2.1.2 shows the graphs of some solutions corresponding to various values of c
y0 +
1
y
x
S OLUTION (b) Imposing the initial condition y(1) = 3 in (2.1.11) yields c = 3. Therefore the solution
of (2.1.9) is
3
y= .
x
The interval of validity of this solution is (0, ).
The results in Examples 2.1.3(a) and 2.1.4(b) are special cases of the next theorem.
Theorem 2.1.1 If p is continuous on (a, b), then the general solution of the homogeneous equation
y0 + p(x)y = 0
(2.1.12)
on (a, b) is
y = ceP (x) ,
where
P (x) =
is any antiderivative of p on (a, b); that is,
P 0 (x) = p(x),
p(x) dx
a < x < b.
(2.1.13)
(2.1.14)
c<0
c>0
c>0
c<0
(2.1.15)
35
(2.1.16)
(2.1.17)
(2.1.18)
By applying (a) of Example 2.1.3 with a = 2, we see that y1 = e2x is a solution of the complementary equation y0 + 2y = 0. Therefore we seek solutions of (2.1.18) in the form y = ue2x , so
that
y0 = u0 e2x 2ue2x
and
or, equivalently, u0 = x3 .
Therefore
u=
x4
+ c,
4
(2.1.19)
1.5
0.5
0.5
1.5
2
1
0.8
0.6
0.4
0.2
0.2
0.4
0.6
0.8
y = ue
2x
=e
x4
+c
4
(2.1.20)
y(/2) = 1.
(2.1.21)
S OLUTION (a) Here p(x) = cot x and f(x) = x csc x are both continuous except at the points x = r,
where r is an integer. Therefore we seek solutions of (2.1.20) on the intervals (r, (r + 1)). We need a
nontrival solution y1 of the complementary equation; thus, y1 must satisfy y10 + (cot x)y1 = 0, which we
rewrite as
y10
cos x
= cot x =
.
(2.1.22)
y1
sin x
Integrating this yields
ln |y1 | = ln | sin x|,
where we take the constant of integration to be zero since we need only one function that satisfies (2.1.22).
Clearly y1 = 1/ sin x is a suitable choice. Therefore we seek solutions of (2.1.20) in the form
u
y=
,
sin x
u0
u cos x
sin x
sin2 x
and
u0
sin x
u0
=
sin x
u0
=
.
sin x
Therefore y is a solution of (2.1.20) if and only if
y0 + (cot x)y
(2.1.23)
u cos x u cot x
+
sin x
sin2 x
u cos x u cos x
+
sin2 x
sin2 x
37
(2.1.24)
u0 = x.
x2
+ c,
2
and
y=
u
x2
c
=
+
.
sin x
2 sin x sin x
(2.1.25)
2
2
+ c or c = 1
.
8
8
Thus,
x2
(1 2 /8)
+
2 sin x
sin x
is a solution of (2.1.21). The interval of validity of this solution is (0, ); Figure 2.1.4 shows its graph.
y=
15
10
5
x
1
10
15
(2.1.26)
as follows:
(a) Find a function y1 such that
y10
= p(x).
y1
(2.1.27)
y(0) = y0 .
(2.1.28)
S OLUTION (a) To apply variation of parameters, we need a nontrivial solution y1 of the complementary
equation; thus, y10 2xy1 = 0, which we rewrite as
y10
= 2x.
y1
39
|y1 | = ex .
so
u0 ex = 1,
Therefore
u=c+
u0 = ex .
so
Z
ex dx,
but we cant simplify the integral on the right because theres no elementary function with derivative
2
equal to ex . Therefore the best available form for the general solution of (2.1.28) is
Z
2
2
2
y = uex = ex c + ex dx .
(2.1.29)
S OLUTION (b) Since the initial condition in (2.1.28) is imposed at x0 = 0, it is convenient to rewrite
(2.1.29) as
Z x
Z 0
2
2
2
y = ex c +
et dt , since
et dt = 0.
0
Setting x = 0 and y = y0 here shows that c = y0 . Therefore the solution of the initial value problem is
Z x
2
2
y = ex y0 +
et dt .
(2.1.30)
0
For a given value of y0 and each fixed x, the integral on the right can be evaluated by numerical methods.
An alternate procedure is to apply the numerical integration procedures discussed in Chapter 3 directly to
the initial value problem (2.1.28). Figure 2.1.5 shows graphs of of (2.1.30) for several values of y0 .
y
(2.1.31)
Z
y = y1 (x) c + f(x)/y1 (x) dx .
(2.1.32)
on (a, b) is
(b) If x0 is an arbitrary point in (a, b) and y0 is an arbitrary real number, then the initial value problem
y0 + p(x)y = f(x),
y(x0 ) = y0
y0
+
y1 (x0 )
x0
f(t)
dt
y1 (t)
on (a, b).
Proof (a) To show that (2.1.32) is the general solution of (2.1.31) on (a, b), we must prove that:
(i) If c is any constant, the function y in (2.1.32) is a solution of (2.1.31) on (a, b).
(ii) If y is a solution of (2.1.31) on (a, b) then y is of the form (2.1.32) for some constant c.
To prove (i), we first observe that any function of the form (2.1.32) is defined on (a, b), since p and f
are continuous on (a, b). Differentiating (2.1.32) yields
Z
y0 = y10 (x) c + f(x)/y1 (x) dx + f(x).
Since y10 = p(x)y1 , this and (2.1.32) imply that
Z
0
y = p(x)y1 (x) c + f(x)/y1 (x) dx + f(x)
=
p(x)y(x) + f(x),
and
y10 = py1 ,
y1 y0 y10 y
y12
y1 (py + f) (py1 )y
f
= .
2
y1
y1
41
c+
f(x)/y1 (x) dx ,
Z
y(x0 ) = y1 (x0 ) c +
x0
x0
f(t)
dt = cy1 (x0 ),
y1 (t)
2.1 Exercises
In Exercises 15 find the general solution.
1.
y0 + ay = 0 (a=constant)
2.
y0 + 3x2 y = 0
3.
4.
xy0 + 3y = 0
5.
x2 y 0 + y = 0
C/G y0 + 3y = 1
14.
1
2
1 y =
x
x
13.
C/G y0 +
15.
C/G y0 +
2x
ex
y=
2
1+x
1 + x2
4
1
sin x
y=
+
x1
(x 1)5
(x 1)4
2
xy0 + 2y = 2 + 1
x
y0 +
16.
y0 +
18.
xy0 + (1 + 2x2 )y = x3 ex
20.
22.
23.
17.
19.
21.
24.
(1 + x)y0 + 2y =
sin x
1+x
x2 y0 + 3xy = ex
In Exercises 2529 solve the initial value problem and sketch the graph of the solution.
25.
C/G y0 + 7y = e3x ,
26.
C/G
27.
C/G
28.
C/G
29.
C/G
y(0) = 0
2
(1 + x2 )y0 + 4xy =
, y(0) = 1
1 + x2
2
, y(1) = 0
xy0 + 3y =
x(1 + x2 )
y0 + (cot x)y = cos x, y
=1
2
1
2
y0 + y = 2 + 1, y(1) = 0
x
x
(x 1)y0 + 3y =
31.
xy0 + 2y = 8x2 ,
32.
xy 2y = x ,
0
y(1) = 1
33.
y + 2xy = x,
34.
(x 1)y0 + 3y =
35.
(x + 2)y0 + 4y =
36.
37.
y(0) = 1
y(1) = 3
1
sin x
+
,
(x 1)3
(x 1)2
y(0) = 3
1 + (x 1) sec2 x
,
(x 1)3
1 + 2x2
,
x(x + 2)3
2
y(0) = 1
y(1) = 2
y(0) = 4
y(2) = 7
In Exercises 3842 solve the initial value problem and leave the answer in a form involving a definite
integral. (You can solve these problems numerically by methods discussed in Chapter 3.)
38.
39.
40.
y0 + 2xy = x2 , y(0) = 3
1
sin x
y0 + y = 2 , y(1) = 2
x
x
x
e
tan x
y0 + y =
, y(1) = 0
x
43
41.
y0 +
42.
xy0 + (x + 1)y = ex ,
43.
Experiments indicate that 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. Now
suppose glucose is injected into a patients bloodstream at a constant rate of r units per unit of
time. Let G = G(t) be the number of units in the patients bloodstream at time t > 0. Then
y(0) = 1
y(1) = 2
G0 = G + r,
where the first term on the right is due to the absorption of the glucose by the patients body and
the second term is due to the injection. Determine G for t > 0, given that G(0) = G0 . Also, find
limt G(t).
44.
(a)
(A)
1
+ cx2 .
2
+ c1 x2 , x 0,
2
y=
1 + c2 x2 , x < 0,
2
y(x0 ) = y0
has infinitely many solutions on (, ). Explain why this doesnt contradict Theorem 2.1.1(b).
y(x0 ) = y0 ,
(A)
Assume that all functions in this exercise are defined on a common interval (a, b).
(a) Prove: If y1 and y2 are solutions of
y0 + p(x)y = f1 (x)
and
y0 + p(x)y = f2 (x)
respectively, and c1 and c2 are constants, then y = c1 y1 + c2 y2 is a solution of
y0 + p(x)y = c1 f1 (x) + c2 f2 (x).
(This is theprinciple of superposition.)
(b) Use (a) to show that if y1 and y2 are solutions of the nonhomogeneous equation
y0 + p(x)y = f(x),
(A)
(B)
(c) Use (a) to show that if y1 is a solution of (A) and y2 is a solution of (B), then y1 + y2 is a
solution of (A).
47.
Some nonlinear equations can be transformed into linear equations by changing the dependent
variable. Show that if
g0 (y)y0 + p(x)g(y) = f(x)
where y is a function of x and g is a function of y, then the new dependent variable z = g(y)
satisfies the linear equation
z 0 + p(x)z = f(x).
48.
2yy0 +
2
x
1
x2
xy0
y0
1
3
+ 2 ln y = 4x2
(d)
= 2
y
(1 + y)2
x(1 + y)
x
Weve shown that if p and f are continuous on (a, b) then every solution of
(c)
49.
y0 + p(x)y = f(x)
(A)
on (a, b) can be written as y = uy1 , where y1 is a nontrivial solution of the complementary equation for (A) and u0 = f/y1 . Now suppose f, f 0 , . . . , f (m) and p, p0 , . . . , p(m1) are continuous
on (a, b), where m is a positive integer, and define
f0
fj
=
=
f,
0
fj1
+ pfj1 ,
Show that
u(j+1) =
fj
,
y1
1 j m.
0 j m.
45
(2.2.1)
where the left side is a product of y0 and a function of y and the right side is a function of x. Rewriting
a separable differential equation in this form is called separation of variables. In Section 2.1 we used
separation of variables to solve homogeneous linear equations. In this section well apply this method to
nonlinear equations.
To see how to solve (2.2.1), lets first assume that y is a solution. Let G(x) and H(y) be antiderivatives
of g(x) and h(y); that is,
H 0 (y) = h(y) and G0 (x) = g(x).
(2.2.2)
Then, from the chain rule,
d
H(y(x)) = H 0 (y(x))y0 (x) = h(y)y0 (x).
dx
Therefore (2.2.1) is equivalent to
d
d
H(y(x)) =
G(x).
dx
dx
Integrating both sides of this equation and combining the constants of integration yields
H(y(x)) = G(x) + c.
(2.2.3)
Although we derived this equation on the assumption that y is a solution of (2.2.1), we can now view it
differently: Any differentiable function y that satisfies (2.2.3) for some constant c is a solution of (2.2.1).
To see this, we differentiate both sides of (2.2.3), using the chain rule on the left, to obtain
H 0 (y(x))y0 (x) = G0 (x),
which is equivalent to
h(y(x))y0 (x) = g(x)
because of (2.2.2).
In conclusion, to solve (2.2.1) it suffices to find functions G = G(x) and H = H(y) that satisfy
(2.2.2). Then any differentiable function y = y(x) that satisfies (2.2.3) is a solution of (2.2.1).
Example 2.2.1 Solve the equation
y0 = x(1 + y2 ).
Solution Separating variables yields
y0
= x.
1 + y2
Integrating yields
tan1 y =
Therefore
y = tan
x2
+c
2
x2
+c .
2
x
y0 = .
y
x
y0 = ,
y
x
y0 = ,
y
(2.2.4)
y(1) = 1.
(2.2.5)
y(1) = 2.
(2.2.6)
p
y = a2 x 2 ,
a < x < a.
(2.2.7)
(2.2.8)
(2.2.9)
The solution curves defined by (2.2.8) are semicircles above the x-axis and those defined by (2.2.9) are
semicircles below the x-axis (Figure 2.2.1).
S OLUTION (b) The solution of (2.2.5) is positive when x = 1; hence, it is of the form (2.2.8). Substituting
x = 1 and y = 1 into (2.2.7) to satisfy the initial condition yields a2 = 2; hence, the solution of (2.2.5) is
p
y = 2 x2 , 2 < x < 2.
S OLUTION (c) The solution of (2.2.6) is negative when x = 1 and is therefore of the form (2.2.9).
Substituting x = 1 and y = 2 into (2.2.7) to satisfy the initial condition yields a2 = 5. Hence, the
solution of (2.2.6) is
p
y = 5 x2 , 5 < x < 5.
47
y
2
(a)
(b)
(2.2.10)
Then theres a function y = y(x) defined on some open interval (a1 , b1 ), where a a1 < x0 < b1 b,
such that y(x0 ) = y0 and
H(y) = G(x) + c
(2.2.11)
for a1 < x < b1 . Therefore y is a solution of the initial value problem
h(y)y0 = g(x),
y(x0 ) = x0 .
(2.2.12)
Its convenient to say that (2.2.11) with c arbitrary is an implicit solution of h(y)y0 = g(x). Curves
defined by (2.2.11) are integral curves of h(y)y0 = g(x). If c satisfies (2.2.10), well say that (2.2.11) is
an implicit solution of the initial value problem (2.2.12). However, keep these points in mind:
For some choices of c there may not be any differentiable functions y that satisfy (2.2.11).
2x + 1
.
5y4 + 1
2x + 1
,
5y4 + 1
y(2) = 1.
(2.2.13)
(2.2.14)
(2.2.15)
of (2.2.13).
S OLUTION (b) Imposing the initial condition y(2) = 1 in (2.2.15) yields 1 + 1 = 4 + 2 + c, so c = 4.
Therefore
y 5 + y = x2 + x 4
is an implicit solution of the initial value problem (2.2.14). Although more than one differentiable function y = y(x) satisfies 2.2.13) near x = 1, it can be shown that theres only one such function that
satisfies the initial condition y(1) = 2.
Figure 2.2.2 shows a direction field and some integral curves for (2.2.13).
Constant Solutions of Separable Equations
An equation of the form
y0 = g(x)p(y)
is separable, since it can be rewritten as
1 0
y = g(x).
p(y)
However, the division by p(y) is not legitimate if p(y) = 0 for some values of y. The next two examples
show how to deal with this problem.
Example 2.2.4 Find all solutions of
y0 = 2xy2 .
(2.2.16)
Solution Here we must divide by p(y) = y2 to separate variables. This isnt legitimate if y is a solution
of (2.2.16) that equals zero for some value of x. One such solution can be found by inspection: y 0.
Now suppose y is a solution of (2.2.16) that isnt identically zero. Since y is continuous there must be an
interval on which y is never zero. Since division by y2 is legitimate for x in this interval, we can separate
variables in (2.2.16) to obtain
y0
= 2x.
y2
49
y
2
1.5
0.5
0.5
x
1
1.5
2.5
3.5
2x + 1
5y4 + 1
1
= x2 + c,
y
which is equivalent to
1
.
(2.2.17)
+c
Weve now shown that if y is a solution of (2.2.16) that is not identically zero, then y must be of the
form (2.2.17). By substituting (2.2.17) into (2.2.16), you can verify that (2.2.17) is a solution of (2.2.16).
Thus, solutions of (2.2.16) are y 0 and the functions of the form (2.2.17). Note that the solution y 0
isnt of the form (2.2.17) for any value of c.
Figure 2.2.3 shows a direction field and some integral curves for (2.2.16)
y=
x2
1
x(1 y2 ).
2
(2.2.18)
Solution Here we must divide by p(y) = 1 y2 to separate variables. This isnt legitimate if y is a
solution of (2.2.18) that equals 1 for some value of x. Two such solutions can be found by inspection:
y 1 and y 1. Now suppose y is a solution of (2.2.18) such that 1 y2 isnt identically zero. Since
1 y2 is continuous there must be an interval on which 1 y2 is never zero. Since division by 1 y2 is
legitimate for x in this interval, we can separate variables in (2.2.18) to obtain
2y0
= x.
y2 1
1.5
0.5
0.5
1.5
2
2
1.5
0.5
0.5
1.5
y0 = x,
y1 y+1
and integrating yields
hence,
2
y 1
= x + k;
ln
y + 1
2
y 1
k x2 /2
.
y + 1 = e e
Since y(x) 6= 1 for x on the interval under discussion, the quantity (y 1)/(y + 1) cant change sign
in this interval. Therefore we can rewrite the last equation as
2
y1
= cex /2 ,
y+1
where c = ek , depending upon the sign of (y 1)/(y + 1) on the interval. Solving for y yields
2
1 + cex /2
.
y=
1 cex2 /2
(2.2.19)
Weve now shown that if y is a solution of (2.2.18) that is not identically equal to 1, then y must be
as in (2.2.19). By substituting (2.2.19) into (2.2.18) you can verify that (2.2.19) is a solution of (2.2.18).
Thus, the solutions of (2.2.18) are y 1, y 1 and the functions of the form (2.2.19). Note that the
51
constant solution y 1 can be obtained from this formula by taking c = 0; however, the other constant
solution, y 1, cant be obtained in this way.
Figure 2.2.4 shows a direction field and some integrals for (2.2.18).
y
3
3
2
1.5
0.5
0.5
1.5
x(1 y2 )
2
y(x0 ) = y0
y(0) = y0
1
.
x2 + c
(2.2.20)
Imposing the initial condition shows that c = 1/y0 . Substituting this into (2.2.20) and rearranging
terms yields the solution
y0
y=
.
1 y0 x2
This is also the solution if y0 = 0. If y0 < 0, the denominator isnt zero for any value of x, so the the
2.2 Exercises
In Exercises 16 find all solutions.
3x2 + 2x + 1
y2
1.
y0 =
3.
xy0 + y2 + y = 0
5.
6.
2.
4.
y0 ln |y| + x2 y = 0
(2x + 1)y
=0
1 + x2
In Exercises 710 find all solutions. Also, plot a direction field and some integral curves on the indicated
rectangular region.
7.
C/G y0 = x2 (1 + y2 ); {1 x 1, 1 y 1}
8.
C/G y0 (1 + x2 ) + xy = 0; {2 x 2, 1 y 1}
9.
10.
C/G (y 1)2 y0 = 2x + 3; {2 x 2, 2 y 5}
x2 + 3x + 2
, y(1) = 4
y2
y0 + x(y2 + y) = 0, y(2) = 1
y0 =
In Exercises 13-16 solve the initial value problem and graph the solution.
13.
y(0) = 1
14.
C/G y0 +
15.
C/G y0 + 2x(y + 1) = 0,
16.
C/G y0 = 2xy(1 + y2 ),
53
y(1) = 0
y(0) = 2
y(0) = 1
In Exercises 1723 solve the initial value problem and find the interval of validity of the solution.
17.
y0 (x2 + 2) + 4x(y2 + 2y + 1) = 0,
0
18.
y = 2x(y 3y + 2),
19.
y0 =
21.
22.
23.
y0 + x2 (y + 1)(y 2)2 = 0,
(x + 1)(x 2)y + y = 0,
2
24.
25.
26.
27.
y(0) = 3
2x
, y(2) = 0
1 + 2y
x + yy0 = 0, y(3) = 4
0
y(1) = 1
y0 = 2y y2 ,
20.
y(4) = 2
y(1) = 3
tan A + tan B
(1 + y )
explicitly. H INT: Use the identity tan(A + B) =
.
Solve y0 =
(1 + x2 )
1 tan A tan B
p
p
Solve y0 1 x2 + 1 y2 = 0 explicitly. H INT: Use the identity sin(A B) = sin A cos B
cos A sin B.
cos x
, y() = explicitly. H INT: Use the identity cos(x + /2) = sin x and the
Solve y0 =
sin y
2
periodicity of the cosine.
Solve the initial value problem
y0 = ay by2 ,
28.
y(0) = 1
y(0) = y0 .
and P (0) = P0 > 0. Find P for t > 0, and find limt P (t).
29.
An epidemic spreads through a population at a rate proportional to the product of the number of
people already infected and the number of people susceptible, but not yet infected. Therefore, if
S denotes the total population of susceptible people and I = I(t) denotes the number of infected
people at time t, then
I 0 = rI(S I),
where r is a positive constant. Assuming that I(0) = I0 , find I(t) for t > 0, and show that
limt I(t) = S.
30.
L The result of Exercise 29 is discouraging: if any susceptible member of the group is initially
infected, then in the long run all susceptible members are infected! On a more hopeful note,
suppose the disease spreads according to the model of Exercise 29, but theres a medication that
cures the infected population at a rate proportional to the number of infected individuals. Now the
equation for the number of infected individuals becomes
I 0 = rI(S I) qI
where q is a positive constant.
(A)
in the (t, I)-plane, verify that if I is any solution of (A) such that I(0) > 0, then limt I(t) =
S q/r if q < rS and limt I(t) = 0 if q rS.
(b) To verify the experimental results of (a), use separation of variables to solve (A) with initial
condition I(0) = I0 > 0, and find limt I(t). H INT: There are three cases to consider:
(i) q < rS; (ii) q > rS; (iii) q = rS.
31.
(A)
where a, b are positive constants, and q is an arbitrary constant. Suppose y denotes a solution of
this equation that satisfies the initial condition y(0) = y0 .
(a) Choose a and b positive and q < a2 /4b. By plotting direction fields and solutions of (A) on
suitable rectangular grids
R = {0 t T, c y d}
(B)
in the (t, y)-plane, discover that there are numbers y1 and y2 with y1 < y2 such that if
y0 > y1 then limt y(t) = y2 , and if y0 < y1 then y(t) = for some finite value of t.
(What happens if y0 = y1 ?)
(b) Choose a and b positive and q = a2 /4b. By plotting direction fields and solutions of (A)
on suitable rectangular grids of the form (B), discover that theres a number y1 such that if
y0 y1 then limt y(t) = y1 , while if y0 < y1 then y(t) = for some finite value of
t.
(c) Choose positive a, b and q > a2 /4b. By plotting direction fields and solutions of (A) on
suitable rectangular grids of the form (B), discover that no matter what y0 is, y(t) = for
some finite value of t.
(d) Verify your results experiments analytically. Start by separating variables in (A) to obtain
y0
= 1.
ay by2 q
To decide what to do next youll have to use the quadratic formula. This should lead you to
see why there are three cases. Take it from there!
Because of its role in the transition between these three cases, q0 = a2 /4b is called a bifurcation value of q. In general, if q is a parameter in any differential equation, q0 is said to be a
bifurcation value of q if the nature of the solutions of the equation with q < q0 is qualitatively
different from the nature of the solutions with q > q0 .
32.
33.
Suppose a disease spreads according to the model of Exercise 29, but theres a medication that
cures the infected population at a constant rate of q individuals per unit time, where q > 0. Then
the equation for the number of infected individuals becomes
I 0 = rI(S I) q.
Assuming that I(0) = I0 > 0, use the results of Exercise 31 to describe what happens as t .
55
Solve the equations in Exercises 3538 using variation of parameters followed by separation of variables.
35.
37.
39.
2xex
y +y =
1 + yex
36.
xy0 2y =
x6
y + x2
(x + 1)e4x
xe2x
0
38.
y
2y
=
(y + ex )2
1 ye2x
Use variation of parameters to show that the solutions of the following equations are of the form
y = uy1 , where u satisfies a separable equation u0 = g(x)p(u). Find y1 and g for each equation.
y
(a) xy0 + y = h(x)p(xy)
(b) xy0 y = h(x)p
x
(c) y0 + y = h(x)p(ex y)
(d) xy0 + ry = h(x)p(xr y)
y0 y =
(e) y0 +
v0 (x)
y = h(x)p (v(x)y)
v(x)
x
a
c<y<d
(Figure 2.3.1). Well denote this set by R : {a < x < b, c < y < d}. Open means that the boundary
rectangle (indicated by the dashed lines in Figure 2.3.1) isnt included in R .
The next theorem gives sufficient conditions for existence and uniqueness of solutions of initial value
problems for first order nonlinear differential equations. We omit the proof, which is beyond the scope of
this book.
Theorem 2.3.1
(a) If f is continuous on an open rectangle
R : {a < x < b, c < y < d}
that contains (x0 , y0 ) then the initial value problem
y0 = f(x, y),
y(x0 ) = y0
(2.3.1)
has at least one solution on some open subinterval of (a, b) that contains x0 .
(b) If both f and fy are continuous on R then (2.3.1) has a unique solution on some open subinterval
of (a, b) that contains x0 .
Its important to understand exactly what Theorem 2.3.1 says.
(a) is an existence theorem. It guarantees that a solution exists on some open interval that contains
x0 , but provides no information on how to find the solution, or to determine the open interval on
which it exists. Moreover, (a) provides no information on the number of solutions that (2.3.1) may
have. It leaves open the possibility that (2.3.1) may have two or more solutions that differ for values
of x arbitrarily close to x0 . We will see in Example 2.3.6 that this can happen.
(b) is a uniqueness theorem. It guarantees that (2.3.1) has a unique solution on some open interval
(a,b) that contains x0 . However, if (a, b) 6= (, ), (2.3.1) may have more than one solution on
a larger interval that contains (a, b). For example, it may happen that b < and all solutions have
the same values on (a, b), but two solutions y1 and y2 are defined on some interval (a, b1 ) with
b1 > b, and have different values for b < x < b1 ; thus, the graphs of the y1 and y2 branch off in
different directions at x = b. (See Example 2.3.7 and Figure 2.3.3). In this case, continuity implies
that y1 (b) = y2 (b) (call their common value y), and y1 and y2 are both solutions of the initial value
problem
y0 = f(x, y), y(b) = y
(2.3.2)
that differ on every open interval that contains b. Therefore f or fy must have a discontinuity at
some point in each open rectangle that contains (b, y), since if this were not so, (2.3.2) would have
a unique solution on some open interval that contains b. We leave it to you to give a similar analysis
of the case where a > .
Example 2.3.1 Consider the initial value problem
y0 =
Since
f(x, y) =
x2 y 2
,
1 + x2 + y 2
x2 y 2
1 + x2 + y 2
and
y(x0 ) = y0 .
fy (x, y) =
2y(1 + 2x2 )
(1 + x2 + y2 )2
(2.3.3)
57
are continuous for all (x, y), Theorem 2.3.1 implies that if (x0 , y0 ) is arbitrary, then (2.3.3) has a unique
solution on some open interval that contains x0 .
Example 2.3.2 Consider the initial value problem
y0 =
Here
f(x, y) =
x2 y 2
,
x2 + y 2
x2 y 2
x2 + y 2
y(x0 ) = y0 .
fy (x, y) =
and
(2.3.4)
4x2 y
+ y2 )2
(x2
are continuous everywhere except at (0, 0). If (x0 , y0 ) 6= (0, 0), theres an open rectangle R that contains
(x0 , y0 ) that does not contain (0, 0). Since f and fy are continuous on R, Theorem 2.3.1 implies that if
(x0 , y0 ) 6= (0, 0) then (2.3.4) has a unique solution on some open interval that contains x0 .
Example 2.3.3 Consider the initial value problem
y0 =
Here
f(x, y) =
x+y
,
xy
x+y
xy
y(x0 ) = y0 .
fy (x, y) =
and
(2.3.5)
2x
(x y)2
are continuous everywhere except on the line y = x. If y0 6= x0 , theres an open rectangle R that contains
(x0 , y0 ) that does not intersect the line y = x. Since f and fy are continuous on R, Theorem 2.3.1 implies
that if y0 6= x0 , (2.3.5) has a unique solution on some open interval that contains x0 .
Example 2.3.4 In Example 2.2.4 we saw that the solutions of
y0 = 2xy2
(2.3.6)
are
1
,
+c
where c is an arbitrary constant. In particular, this implies that no solution of (2.3.6) other than y 0 can
equal zero for any value of x. Show that Theorem 2.3.1(b) implies this.
y 0 and
y=
x2
Solution Well obtain a contradiction by assuming that (2.3.6) has a solution y1 that equals zero for some
value of x, but isnt identically zero. If y1 has this property, theres a point x0 such that y1 (x0 ) = 0, but
y1 (x) 6= 0 for some value of x in every open interval that contains x0 . This means that the initial value
problem
y0 = 2xy2 , y(x0 ) = 0
(2.3.7)
has two solutions y 0 and y = y1 that differ for some value of x on every open interval that contains
x0 . This contradicts Theorem 2.3.1(b), since in (2.3.6) the functions
f(x, y) = 2xy2
and
fy (x, y) = 4xy.
are both continuous for all (x, y), which implies that (2.3.7) has a unique solution on some open interval
that contains x0 .
10 2/5
xy ,
3
y(x0 ) = y0 .
(2.3.8)
(a) For what points (x0 , y0 ) does Theorem 2.3.1(a) imply that (2.3.8) has a solution?
(b) For what points (x0 , y0 ) does Theorem 2.3.1(b) imply that (2.3.8) has a unique solution on some
open interval that contains x0 ?
S OLUTION (a) Since
10 2/5
xy
3
is continuous for all (x, y), Theorem 2.3.1 implies that (2.3.8) has a solution for every (x0 , y0 ).
f(x, y) =
4 3/5
xy
3
is continuous for all (x, y) with y 6= 0. Therefore, if y0 6= 0 theres an open rectangle on which both f
and fy are continuous, and Theorem 2.3.1 implies that (2.3.8) has a unique solution on some open interval
that contains x0 .
If y = 0 then fy (x, y) is undefined, and therefore discontinuous; hence, Theorem 2.3.1 does not apply
to (2.3.8) if y0 = 0.
fy (x, y) =
Example 2.3.6 Example 2.3.5 leaves open the possibility that the initial value problem
y0 =
10 2/5
xy ,
3
y(0) = 0
(2.3.9)
has more than one solution on every open interval that contains x0 = 0. Show that this is true.
Solution By inspection, y 0 is a solution of the differential equation
y0 =
10 2/5
xy .
3
(2.3.10)
59
Figure 2.3.2 Two solutions (y = 0 and y = x1/2 ) of (2.3.9) that differ on every interval containing
x0 = 0
p
p
Therefore (2.3.11) satisfies (2.3.10) on (, ) even if c 0, so that y( |c|) = y( |c|) = 0. In
particular, taking c = 0 in (2.3.11) yields
y = x10/3
as a second solution of (2.3.9). Both solutions are defined on (, ), and they differ on every open
interval that contains x0 = 0 (see Figure 2.3.2.) In fact, there are four distinct solutions of (2.3.9) defined
on (, ) that differ from each other on every open interval that contains x0 = 0. Can you identify
the other two?
Example 2.3.7 From Example 2.3.5, the initial value problem
y0 =
10 2/5
xy ,
3
y(0) = 1
(2.3.12)
has a unique solution on some open interval that contains x0 = 0. Find a solution and determine the
largest open interval (a, b) on which its unique.
Solution Let y be any solution of (2.3.12). Because of the initial condition y(0) = 1 and the continuity
of y, theres an open interval I that contains x0 = 0 on which y has no zeros, and is consequently of the
form (2.3.11). Setting x = 0 and y = 1 in (2.3.11) yields c = 1, so
y = (x2 1)5/3
(2.3.13)
for x in I. Therefore every solution of (2.3.12) differs from zero and is given by (2.3.13) on (1, 1);
that is, (2.3.13) is the unique solution of (2.3.12) on (1, 1). This is the largest open interval on which
(2.3.12) has a unique solution. To see this, note that (2.3.13) is a solution of (2.3.12) on (, ). From
1
(0, 1)
(0,1)
x
10 2/5
xy ,
3
y(0) = 1
(2.3.14)
has a unique solution on some open interval that contains x0 = 0. Find the solution and determine the
largest open interval on which its unique.
Solution Let y be any solution of (2.3.14). Because of the initial condition y(0) = 1 and the continuity
of y, theres an open interval I that contains x0 = 0 on which y has no zeros, and is consequently of the
form (2.3.11). Setting x = 0 and y = 1 in (2.3.11) yields c = 1, so
y = (x2 + 1)5/3
(2.3.15)
for x in I. Therefore every solution of (2.3.14) differs from zero and is given by (2.3.15) on (, );
that is, (2.3.15) is the unique solution of (2.3.14) on (, ). Figure 2.3.4 shows the graph of this
solution.
2.3 Exercises
In Exercises 1-13 find all (x0 , y0 ) for which Theorem 2.3.1 implies that the initial value problem y0 =
f(x, y), y(x0 ) = y0 has (a) a solution (b) a unique solution on some open interval that contains x0 .
2.
y0 =
ex + y
x2 + y 2
4.
y0 =
x2 + y 2
ln xy
y0 = (x2 + y2 )y1/3
6.
y0 = 2xy
7.
y0 = ln(1 + x2 + y2 )
8.
y0 =
9.
y0 = (x2 + y2 )1/2
10.
y0 = x(y2 1)2/3
11.
y0 = (x2 + y2 )2
12.
y0 = (x + y)1/2
13.
y0 =
x2 + y 2
sin x
1.
y0 =
3.
y0 = tan xy
5.
14.
61
2x + 3y
x 4y
tan y
x1
Apply Theorem 2.3.1 to the initial value problem
y0 + p(x)y = q(x),
y(x0 ) = y0
for a linear equation, and compare the conclusions that can be drawn from it to those that follow
from Theorem 2.1.2.
15.
|x| 1,
10 2/5
xy ,
3
y(0) = 1
y0 (x) = lim
2
2 5/3
1 (x a ) , < x < a,
0,
a x 1,
y=
(x2 1)5/3 ,
1 < x < 1,
0,
1 x b,
Use the ideas developed in Exercise 15 to find infinitely many solutions of the initial value problem
y0 = y2/5 ,
17.
y(0) = 1
on (, ).
y(x0 ) = y0 .
(A)
(a) For what points (x0 , y0 ) does Theorem 2.3.1 imply that (A) has a solution?
(b) For what points (x0 , y0 ) does Theorem 2.3.1 imply that (A) has a unique solution on some
open interval that contains x0 ?
18.
y(0) = 1
that are all defined on (, ) and differ from each other for values of x in every open interval
that contains x0 = 0.
19.
y(0) = 9
has a unique solution on an open interval that contains x0 = 0. Find the solution and determine
the largest open interval on which its unique.
20.
21.
y(3) = 7
(A)
has a unique solution on some open interval that contains x0 = 3. Determine the largest such
open interval, and find the solution on this interval.
(b) Find infinitely many solutions of (A), all defined on (, ).
Prove:
(a) If
f(x, y0 ) = 0,
a < x < b,
(A)
y(x0 ) = y0
on (a, b).
(b) If f and fy are continuous on an open rectangle that contains (x0 , y0 ) and (A) holds, no
solution of y0 = f(x, y) other than y y0 can equal y0 at any point in (a, b).
63
are of the form y = uy1 , where y1 is a nontrivial solution of the complementary equation
y0 + p(x)y = 0
(2.4.1)
and u is a solution of
u0 y1 (x) = f(x).
Note that this last equation is separable, since it can be rewritten as
u0 =
f(x)
.
y1 (x)
In this section well consider nonlinear differential equations that are not separable to begin with, but can
be solved in a similar fashion by writing their solutions in the form y = uy1 , where y1 is a suitably chosen
known function and u satisfies a separable equation. Wellsay in this case that we transformed the given
equation into a separable equation.
Bernoulli Equations
A Bernoulli equation is an equation of the form
y0 + p(x)y = f(x)yr ,
(2.4.2)
where r can be any real number other than 0 or 1. (Note that (2.4.2) is linear if and only if r = 0 or
r = 1.) We can transform (2.4.2) into a separable equation by variation of parameters: if y1 is a nontrivial
solution of (2.4.1), substituting y = uy1 into (2.4.2) yields
u0 y1 + u(y10 + p(x)y1 ) = f(x)(uy1 )r ,
which is equivalent to the separable equation
r
or
u0
r1
= f(x) (y1 (x))
,
ur
(2.4.3)
Solution Since y1 = ex is a solution of y0 y = 0, we look for solutions of (2.4.3) in the form y = uex ,
where
u0 ex = xu2 e2x or, equivalently, u0 = xu2 ex .
Separating variables yields
u0
= xex ,
u2
and integrating yields
1
= (x 1)ex + c.
u
Hence,
u=
1
(x 1)ex + c
1.5
0.5
0.5
1.5
2
2
1.5
0.5
0.5
1.5
1
.
x 1 + cex
Figure 2.4.1 shows direction field and some integral curves of (2.4.3).
y=
(2.4.5)
(2.4.6)
which is separable. After checking for constant solutions u u0 such that q(u0 ) = u0 , we can separate
variables to obtain
u0
y0 (x)
= 1
.
q(u) u
y1 (x)
65
(2.4.7)
y + xey/x
y
= + ey/x
x
x
y 2 y
y2 + xy x2
=
+ 1
x2
x
x
q(u) = u + eu
and
q(u) = u2 + u 1,
respectively. The general method discussed above can be applied to (2.4.7) with y1 = x (and therefore
y10 = 1). Thus, substituting y = ux in (2.4.7) yields
u0 x + u = q(u),
and separation of variables (after checking for constant solutions u u0 such that q(u0 ) = u0 ) yields
u0
1
= .
q(u) u
x
Before turning to examples, we point out something that you mayve have already noticed: the definition of homogeneous equation given here isnt the same as the definition given in Section 2.1, where we
said that a linear equation of the form
y0 + p(x)y = 0
is homogeneous. We make no apology for this inconsistency, since we didnt create it historically, homogeneous has been used in these two inconsistent ways. The one having to do with linear equations is the
most important. This is the only section of the book where the meaning defined here will apply.
Since y/x is in general undefined if x = 0, well consider solutions of nonhomogeneous equations
only on open intervals that do not contain the point x = 0.
Example 2.4.2 Solve
y0 =
y + xey/x
.
x
ux + xeux/x
= u + eu .
x
1
.
x
(2.4.8)
1.5
0.5
0.5
1.5
2
0.5
1.5
2.5
3.5
4.5
y + xey/x
x
Example 2.4.3
(a) Solve
x2 y0 = y2 + xy x2 .
(2.4.9)
y(1) = 2.
(2.4.10)
S OLUTION (a) We first find solutions of (2.4.9) on open intervals that dont contain x = 0. We can
rewrite (2.4.9) as
y2 + xy x2
y0 =
x2
for x in any such interval. Substituting y = ux yields
u0 x + u =
(ux)2 + x(ux) x2
= u2 + u 1,
x2
so
u0 x = u2 1.
(2.4.11)
67
By inspection this equation has the constant solutions u 1 and u 1. Therefore y = x and y = x
are solutions of (2.4.9). If u is a solution of (2.4.11) that doesnt assume the values 1 on some interval,
separating variables yields
u0
1
= ,
u2 1
x
or, after a partial fraction expansion,
1
1
1
1
u0 = .
2 u1 u+1
x
Multiplying by 2 and integrating yields
u 1
= 2 ln |x| + k,
ln
u + 1
or
u 1
k 2
u + 1 = e x ,
which holds if
u1
= cx2
u+1
where c is an arbitrary constant. Solving for u yields
u=
(2.4.12)
1 + cx2
.
1 cx2
y
y
2
1.5
0.5
0.5
1.5
2
2
1.5
0.5
0.5
1.5
x(1 + cx2 )
(2.4.13)
1 cx2
is a solution of (2.4.10) for any choice of the constant c. Setting c = 0 in (2.4.13) yields the solution
y = x. However, the solution y = x cant be obtained from (2.4.13). Thus, the solutions of (2.4.9) on
intervals that dont contain x = 0 are y = x and functions of the form (2.4.13).
y = ux =
x(1 + c1 x2 )
, a < x < 0,
1 c1 x 2
y=
(2.4.14)
2
x(1 + c2 x )
,
0
x
<
b,
1 c2 x 2
1
if c1 > 0,
a=
c1
if c1 0,
and
b=
c2
if c2 > 0,
if c2 0.
We leave it to you to verify this. To do so, note that if y is any function of the form (2.4.13) then y(0) = 0
and y0 (0) = 1.
Figure 2.4.3 shows a direction field and some integral curves for (2.4.9).
S OLUTION (b) We could obtain c by imposing the initial condition y(1) = 2 in (2.4.13), and then solving
for c. However, its easier to use (2.4.12). Since u = y/x, the initial condition y(1) = 2 implies that
u(1) = 2. Substituting this into (2.4.12) yields c = 1/3. Hence, the solution of (2.4.10) is
x(1 + x2 /3)
.
1 x2 /3
The interval of validity of this
solution is ( 3, 3). However, the largest interval on which (2.4.10)
has a unique solution is (0, 3). To see this, note from (2.4.14) that any function of the form
x(1 + cx2 )
,
a < x 0,
1 cx2
y=
(2.4.15)
x(1 + x2 /3)
3,
,
0
x
<
1 x2 /3
2.4 Exercises
In Exercises 14 solve the given Bernoulli equation.
x2
y6
1.
y +y =y
2.
7xy0 2y =
3.
x2 y0 + 2y = 2e1/x y1/2
4.
(1 + x2 )y0 + 2xy =
1
(1 + x2 )y
In Exercises 5 and 6 find all solutions. Also, plot a direction field and some integral curves on the
indicated rectangular region.
69
C/G y0 xy = x3 y3 ; {3 x 3, 2 y 2}
1+x
C/G y0
y = y4 ; {2 x 2, 2 y 2}
3x
7. y0 2y = xy3 , y(0) = 2 2
8.
9.
10.
11.
y0 xy = xy3/2 ,
4 4
xy + y = x y ,
y(1) = 4
y(1) = 1/2
1/2
y 2y = 2y , y(0) = 1
48x
y0 4y = 2 , y(0) = 1
y
In Exercises 12 and 13 solve the initial value problem and graph the solution.
12.
C/G x2 y0 + 2xy = y3 , y(1) = 1/ 2
13.
14.
C/G y0 y = xy1/2 ,
y(0) = 4
15.
y+x
y =
x
16.
y0 =
y2 + 2xy
x2
17.
xy3 y0 = y4 + x4
18.
y0 =
y
y
+ sec
x
x
C/G x2 y0 = xy + x2 + y2 ;
20.
21.
C/G y0 =
{8 x 8, 8 y 8}
{4 x 4, 4 y 4}
2 (y/x)2
2y + x e
2xy
{8 x 8, 8 y 8}
xy + y2
, y(1) = 2
x2
x3 + y 3
y0 =
, y(1) = 3
xy2
xyy0 + x2 + y2 = 0, y(1) = 2
y0 =
y2 3xy 5x2
, y(1) = 1
x2
x2 y0 = 2x2 + y2 + 4xy, y(1) = 1
28.
y0 =
x+y
xy
30.
y0 =
32.
29.
y3 + 2xy2 + x2 y + x3
x(y + x)2
31.
y0 =
x + 2y
2x + y
y0 =
y
y 2x
33.
y0 =
xy2 + 2y3
x3 + x2 y + xy2
34.
y0 =
x3 + x2 y + 3y3
x3 + 3xy2
35.
L
(a) Find a solution of the initial value problem
x2 y0 = y2 + xy 4x2 ,
y(1) = 0
(A)
71
(e) Graph other solutions of (A) that are defined only on intervals of the form (, a), where
is a finite positive number.
36.
L
(a) Solve the equation
xyy0 = x2 xy + y2
(A)
implicitly.
(b) Plot a direction field for (A) on a square
{0 x r, 0 y r}
where r is any positive number.
(c) Let K be a positive integer. (You may have to try several choices for K.) Graph solutions of
the initial value problems
xyy0 = x2 xy + y2 ,
y(r/2) =
kr
,
K
y(x0 ) = y0 ,
(B)
has a unique solution (i) on (0, ) or (ii) only on an interval (a, ), where a > 0?
(d) What can you say about the graph of the solution of (B) as x ? (Again, assume that
x0 > 0 and y0 > 0.)
37.
L
(a) Solve the equation
y0 =
2y2 xy + 2x2
xy + 2x2
(A)
implicitly.
(b) Plot a direction field for (A) on a square
{r x r, r y r}
where r is any positive number. By graphing solutions of (A), determine necessary and
sufficient conditions on (x0 , y0 ) such that (A) has a solution on (i) (, 0) or (ii) (0, )
such that y(x0 ) = y0 .
38.
39.
xy + x2 + y2
.
xy
L Pick any nonlinear homogeneous equation y0 = q(y/x) you like, and plot direction fields on
the square {r x r, r y r}, where r > 0. What happens to the direction field as you
vary r? Why?
ax + by +
cx + dy +
41.
43.
6x + y 3
2x y 1
x
+ 3y 14
y0 =
x+y2
y0 =
42.
y0 =
2x + y + 1
x + 2y 4
In Exercises 4451 find a function y1 such that the substitution y = uy1 transforms the given equation
into a separable equation of the form (2.4.6). Then solve the given equation explicitly.
44.
3xy2 y0 = y3 + x
45.
46.
x3 y0 = 2(y2 + x2 y x4 )
47.
y0 = y2 ex + 4y + 2ex
48.
y0 =
49.
50.
y2 + y tan x + tan2 x
sin2 x
51.
52.
53.
2
3x2 y2 + 6xy + 2
y=
,
x
x2 (2xy + 3)
y(2) = 2.
3
3x4 y2 + 10x2 y + 6
y=
,
x
x3 (2x2 y + 5)
y(1) = 1.
54.
55.
(A)
(If R 1, (A) is a Riccati equation.) Let y1 be a known solution and y an arbitrary solution of
(A). Let z = y y1 . Show that z is a solution of a Bernoulli equation with n = 2.
73
In Exercises 5659, given that y1 is a solution of the given equation, use the method suggested by Exercise
55 to find other solutions.
56.
y0 = 1 + x (1 + 2x)y + xy2 ;
2x
y1 = ex
57.
y =e
58.
59.
+ (1 2e )y + y ;
y1 = 1
xy = x + (1 2x )y + xy ;
y1 = 1
y1 = x
(2.5.1)
dy
= 0,
dx
(2.5.2)
dx
+ N (x, y) = 0,
dy
(2.5.3)
where y is the independent variable and x is the dependent variable. Since the solutions of (2.5.2) and
(2.5.3) will often have to be left in implicit, form well say that F (x, y) = c is an implicit solution of
(2.5.1) if every differentiable function y = y(x) that satisfies F (x, y) = c is a solution of (2.5.2) and
every differentiable function x = x(y) that satisfies F (x, y) = c is a solution of (2.5.3).
Here are some examples:
Equation (2.5.1)
Equation (2.5.2)
dy
=0
dx
3x2 y2 dx + 2x3 y dy = 0
3x2 y2 + 2x3 y
(x2 + y2 ) dx + 2xy dy = 0
(x2 + y2 ) + 2xy
dy
=0
dx
dy
=0
dx
Equation (2.5.3)
3x2 y2
dx
+ 2x3 y = 0
dy
(x2 + y2 )
3y sin x
dx
+ 2xy = 0
dy
dx
2xy cos x = 0
dy
(2.5.4)
(2.5.5)
is an implicit solution of
Solution Regarding y as a function of x and differentiating (2.5.4) implicitly with respect to x yields
(4x3 y3 + 2xy5 + 2y) + (3x4 y2 + 5x2 y4 + 2x)
dy
= 0.
dx
Similarly, regarding x as a function of y and differentiating (2.5.4) implicitly with respect to y yields
(4x3 y3 + 2xy5 + 2y)
dx
+ (3x4 y2 + 5x2 y4 + 2x) = 0.
dy
Therefore (2.5.4) is an implicit solution of (2.5.5) in either of its two possible interpretations.
You may think this example is pointless, since concocting a differential equation that has a given
implicit solution isnt particularly interesting. However, it illustrates the next important theorem, which
well prove by using implicit differentiation, as in Example 2.5.1.
Theorem 2.5.1 If F = F (x, y) has continuous partial derivatives Fx and Fy , then
F (x, y) = c
(c=constant),
(2.5.6)
Fx(x, y) dx + Fy (x, y) dy = 0.
(2.5.7)
Proof
dy
= 0.
dx
On the other hand, regarding x as a function of y and differentiating (2.5.6) implicitly with respect to y
yields
dx
Fx(x, y)
+ Fy (x, y) = 0.
dy
Thus, (2.5.6) is an implicit solution of (2.5.7) in either of its two possible interpretations.
Well say that the equation
M (x, y) dx + N (x, y) dy = 0
(2.5.8)
is exact on an an open rectangle R if theres a function F = F (x, y) such Fx and Fy are continuous, and
Fx (x, y) = M (x, y) and
Fy (x, y) = N (x, y)
(2.5.9)
for all (x, y) in R. This usage of exact is related to its usage in calculus, where the expression
Fx (x, y) dx + Fy (x, y) dy
(obtained by substituting (2.5.9) into the left side of (2.5.8)) is the exact differential of F .
Example 2.5.1 shows that its easy to solve (2.5.8) if its exact and we know a function F that satisfies
(2.5.9). The important questions are:
75
Q UESTION 1. Given an equation (2.5.8), how can we determine whether its exact?
Q UESTION 2. If (2.5.8) is exact, how do we find a function F satisfying (2.5.9)?
To discover the answer to Question 1, assume that theres a function F that satisfies (2.5.9) on some
open rectangle R, and in addition that F has continuous mixed partial derivatives Fxy and Fyx. Then a
theorem from calculus implies that
Fxy = Fyx .
(2.5.10)
If Fx = M and Fy = N , differentiating the first of these equations with respect to y and the second with
respect to x yields
Fxy = My and Fyx = Nx .
(2.5.11)
From (2.5.10) and (2.5.11), we conclude that a necessary condition for exactness is that My = Nx . This
motivates the next theorem, which we state without proof.
Theorem 2.5.2 [The Exactness Condition] Suppose M and N are continuous and have continuous partial derivatives My and Nx on an open rectangle R. Then
M (x, y) dx + N (x, y) dy = 0
is exact on R if and only if
My (x, y) = Nx (x, y)
(2.5.12)
and
N (x, y) = 4x3
so
My (x, y) = 3x2
and
Nx (x, y) = 12x2 .
Therefore My = Nx on the line x = 0, but not on any open rectangle, so theres no function F such that
Fx (x, y) = M (x, y) and Fy (x, y) = N (x, y) for all (x, y) on any open rectangle.
The next example illustrates two possible methods for finding a function F that satisfies the condition
Fx = M and Fy = N if M dx + N dy = 0 is exact.
Example 2.5.3 Solve
(4x3 y3 + 3x2 ) dx + (3x4 y2 + 6y2 ) dy = 0.
Solution (Method 1) Here
M (x, y) = 4x3 y3 + 3x2 ,
(2.5.13)
(2.5.14)
(2.5.15)
and
for all (x, y). To find F , we integrate (2.5.14) with respect to x to obtain
F (x, y) = x4 y3 + x3 + (y),
(2.5.16)
where (y) is the constant of integration. (Here is constant in that its independent of x, the variable
of integration.) If is any differentiable function of y then F satisfies (2.5.14). To determine so that F
also satisfies (2.5.15), assume that is differentiable and differentiate F with respect to y. This yields
Fy (x, y) = 3x4 y2 + 0 (y).
Comparing this with (2.5.15) shows that
0 (y) = 6y2 .
We integrate this with respect to y and take the constant of integration to be zero because were interested
only in finding some F that satisfies (2.5.14) and (2.5.15). This yields
(y) = 2y3 .
Substituting this into (2.5.16) yields
F (x, y) = x4 y3 + x3 + 2y3 .
(2.5.17)
c x3
2 + x4
1/3
Solution (Method 2) Instead of first integrating (2.5.14) with respect to x, we could begin by integrating
(2.5.15) with respect to y to obtain
F (x, y) = x4 y3 + 2y3 + (x),
(2.5.18)
77
y
1
0.8
0.6
0.4
0.2
0.2
0.4
0.6
0.8
1
1
0.8
0.6
0.4
0.2
0.2
0.4
0.6
0.8
Figure 2.5.1 A direction field and integral curves for (4x3 y3 + 3x2 ) dx + (3x4 y2 + 6y2 ) dy = 0
Substituting this into (2.5.18) yields (2.5.17).
Figure 2.5.1 shows a direction field and some integral curves of (2.5.13),
Heres a summary of the procedure used in Method 1 of this example. You should summarize procedure
used in Method 2.
Procedure For Solving An Exact Equation
Step 1. Check that the equation
M (x, y) dx + N (x, y) dy = 0
(2.5.19)
satisfies the exactness condition My = Nx . If not, dont go further with this procedure.
Step 2. Integrate
F (x, y)
= M (x, y)
x
with respect to x to obtain
F (x, y) = G(x, y) + (y),
(2.5.20)
so
0 (y) = N (x, y)
G(x, y)
.
y
(2.5.21)
Solution We leave it to you to check that My = Nx on any open rectangle where tan x and sec x are
defined. Here we must find a function F such that
Fx (x, y) = yexy tan x + exy sec 2 x
(2.5.22)
(2.5.23)
and
Its difficult to integrate (2.5.22) with respect to x, but easy to integrate (2.5.23) with respect to y. This
yields
F (x, y) = exy tan x + (x).
(2.5.24)
Differentiating this with respect to x yields
Fx(x, y) = yexy tan x + exy sec2 x + 0 (x).
Comparing this with (2.5.22) shows that 0 (x) = 0. Hence, is a constant, which we can take to be zero
in (2.5.24), and
exy tan x = c
is an implicit solution of (2.5.21).
Attempting to apply our procedure to an equation that isnt exact will lead to failure in Step 4, since
the function
G
N
y
wont be independent of x if My 6= Nx (Exercise 31), and therefore cant be the derivative of a function
of y alone. Heres an example that illustrates this.
Example 2.5.5 Verify that the equation
3x2 y2 dx + 6x3 y dy = 0
(2.5.25)
is not exact, and show that the procedure for solving exact equations fails when applied to (2.5.25).
79
Solution Here
My (x, y) = 6x2 y
and
Nx (x, y) = 18x2 y,
so (2.5.25) isnt exact. Nevertheless, lets try to find a function F such that
Fx (x, y) = 3x2 y2
(2.5.26)
Fy (x, y) = 6x3 y.
(2.5.27)
and
Integrating (2.5.26) with respect to x yields
F (x, y) = x3 y2 + (y),
and differentiating this with respect to y yields
Fy (x, y) = 2x3 y + 0 (y).
For this equation to be consistent with (2.5.27),
6x3 y = 2x3 y + 0 (y),
or
0 (y) = 4x3 y.
This is a contradiction, since 0 must be independent of x. Therefore the procedure fails.
2.5 Exercises
In Exercises 117 determine which equations are exact and solve them.
1.
6x2 y2 dx + 4x3 y dy = 0
2.
3.
14x2y3 dx + 21x2 y2 dy = 0
4.
5.
(x + y)2 dx + (x + y)2 dy = 0
7.
6.
8.
9.
10.
11.
12.
13.
14.
15.
exy (x4 y + 4x3 ) + 3y dx + (x5 exy + 3x) dy = 0
y(1) = 3
(y 1)e dx + 3y (e + 1) dy = 0,
y(/4) = 0
y(0) = 0
y(0) = 1
y(1) = 1
24.
25.
C/G Plot a direction field and some integral curves for the exact equation
(x3 y4 + x) dx + (x4 y3 + y) dy = 0
on the rectangle {1 x 1, 1 y 1}. (See Exercise 37(a)).
26.
C/G Plot a direction field and some integral curves for the exact equation
(3x2 + 2y) dx + (2y + 2x) dy = 0
on the rectangle {2 x 2, 2 y 2}. (See Exercise 37(b)).
27.
L
(a) Solve the exact equation
(x3 y4 + 2x) dx + (x4 y3 + 3y) dy = 0
(A)
implicitly.
(b) For what choices of (x0 , y0 ) does Theorem 2.3.1 imply that the initial value problem
(x3 y4 + 2x) dx + (x4 y3 + 3y) dy = 0,
y(x0 ) = y0 ,
(B)
81
(c) Plot a direction field and some integral curves for (A) on a rectangular region centered at the
origin. What is the interval of validity of the solution of (B)?
28.
L
(a) Solve the exact equation
(x2 + y2 ) dx + 2xy dy = 0
(A)
implicitly.
(b) For what choices of (x0 , y0 ) does Theorem 2.3.1 imply that the initial value problem
(x2 + y2 ) dx + 2xy dy = 0,
y(x0 ) = y0 ,
(B)
has a unique solution y = y(x) on some open interval (a, b) that contains x0 ?
(c) Plot a direction field and some integral curves for (A). From the plot determine, the interval
(a, b) of (b), the monotonicity properties (if any) of the solution of (B), and limxa+ y(x)
and limxb y(x). H INT: Your answers will depend upon which quadrant contains (x0 , y0 ).
29.
30.
31.
Suppose M, N, and their partial derivatives are continuous on an open rectangle R, and G is an
antiderivative of M with respect to x; that is,
G
= M.
x
Show that if My 6= Nx in R then the function
N
G
y
is not independent of x.
32.
Prove: If the equations M1 dx+N1 dy = 0 and M2 dx+N2 dy = 0 are exact on an open rectangle
R, so is the equation
(M1 + M2 ) dx + (N1 + N2 ) dy = 0.
33.
34.
Suppose M and N are continuous and have continuous partial derivatives My and Nx that satisfy
the exactness condition My = Nx on an open rectangle R. Show that if (x, y) is in R and
Z x
Z y
F (x, y) =
M (s, y0 ) ds +
N (x, t) dt,
x0
y0
then Fx = M and Fy = N .
36.
37.
M (t, y) dt.
x0
Use the method suggested by Exercise 35, with (x0 , y0 ) = (0, 0), to solve the these exact equations:
(a) (x3 y4 + x) dx + (x4 y3 + y) dy = 0
(b) (x2 + y2 ) dx + 2xy dy = 0
(c) (3x2 + 2y) dx + (2y + 2x) dy = 0
38.
39.
2
2xy
y= 2
,
x
x + 2x2 y + 1
40.
3
2x4 (4x3 3y)
y= 5
,
x
3x + 3x3 + 2y
y(1) = 1.
y0 + 2xy = ex
41.
y(1) = 2.
3x + 2yex
2x + 3yex2
y(0) = 1.
(A)
M (x, y) dx + N (x, y) dy = 0.
(B)
as an exact equation
Show that applying the method of this section to (B) yields the same solutions that would be
obtained by applying the method of separation of variables to (A)
42.
Suppose all second partial derivatives of M = M (x, y) and N = N (x, y) are continuous and
M dx + N dy = 0 and N dx + M dy = 0 are exact on an open rectangle R. Show that
Mxx + Myy = Nxx + Nyy = 0 on R.
43.
Suppose all second partial derivatives of F = F (x, y) are continuous and Fxx + Fyy = 0 on an
open rectangle R. (A function with these properties is said to be harmonic; see also Exercise 42.)
Show that Fy dx + Fx dy = 0 is exact on R, and therefore theres a function G such that
Gx = Fy and Gy = Fx in R. (A function G with this property is said to be a harmonic
conjugate of F .)
83
Verify that the following functions are harmonic, and find all their harmonic conjugates. (See
Exercise 43.)
(a) x2 y2
(d) cos x cosh y
(b) ex cos y
(e) sin x cosh y
(c) x3 3xy2
(2.6.3)
which is exact, since My (x, y) = Nx (x, y) = 4xy in (2.6.3). Solving (2.6.3) by the procedure given in
Section 2.5 yields the implicit solution
x3 + x2 y2 = c.
A function = (x, y) is an integrating factor for (2.6.1) if
(x, y)M (x, y) dx + (x, y)N (x, y) dy = 0
(2.6.4)
is exact. If we know an integrating factor for (2.6.1), we can solve the exact equation (2.6.4) by the
method of Section 2.5. It would be nice if we could say that (2.6.1) and (2.6.4) always have the same
solutions, but this isnt so. For example, a solution y = y(x) of (2.6.4) such that (x, y(x)) = 0 on
some interval a < x < b could fail to be a solution of (2.6.1) (Exercise 1), while (2.6.1) may have a
solution y = y(x) such that (x, y(x)) isnt even defined (Exercise 2). Similar comments apply if y is
the independent variable and x is the dependent variable in (2.6.1) and (2.6.4). However, if (x, y) is
defined and nonzero for all (x, y), (2.6.1) and (2.6.4) are equivalent; that is, they have the same solutions.
Finding Integrating Factors
By applying Theorem 2.5.2 (with M and N replaced by M and N ), we see that (2.6.4) is exact on an
open rectangle R if M , N , (M )y , and (N )x are continuous and
(M ) =
(N )
y
x
or, equivalently,
y M + My = x N + Nx
(2.6.5)
which reduces to the known result for exact equations; that is, if My = Nx then (2.6.5) holds with = 1,
so (2.6.1) is exact.
You may think (2.6.5) is of little value, since it involves partial derivatives of the unknown integrating
factor , and we havent studied methods for solving such equations. However, well now show that
(2.6.5) is useful if we restrict our search to integrating factors that are products of a function of x and a
(2.6.6)
P 0 (x)
P (x)
P 0 (x)
Q0 (y)
N
M.
P (x)
Q(y)
and
q(y) =
(2.6.7)
Q0 (y)
,
Q(y)
so (2.6.7) becomes
My Nx = p(x)N q(y)M.
(2.6.8)
We obtained (2.6.8) by assuming that M dx+N dy = 0 has an integrating factor (x, y) = P (x)Q(y).
However, we can now view (2.6.7) differently: If there are functions p = p(x) and q = q(y) that satisfy
(2.6.8) and we define
R
R
P (x) = e p(x) dx and Q(y) = e q(y) dy ,
(2.6.9)
then reversing the steps that led from (2.6.6) to (2.6.8) shows that (x, y) = P (x)Q(y) is an integrating
factor for M dx + N dy = 0. In using this result, we take the constants of integration in (2.6.9) to be zero
and choose the signs conveniently so the integrating factor has the simplest form.
Theres no simple general method for ascertaining whether functions p = p(x) and q = q(y) satisfying
(2.6.8) exist. However, the next theorem gives simple sufficient conditions for the given equation to have
an integrating factor that depends on only one of the independent variables x and y, and for finding an
integrating factor in this case.
Theorem 2.6.1 Let M, N, My , and Nx be continuous on an open rectangle R. Then:
(a) If (My Nx )/N is independent of y on R and we define
p(x) =
then
is an integrating factor for
My Nx
N
R
(x) = e
p(x) dx
M (x, y) dx + N (x, y) dy = 0
(2.6.10)
(2.6.11)
on R.
(b) If (Nx My )/M is independent of x on R and we define
q(y) =
then
Nx My
,
M
R
(y) = e
q(y) dy
(2.6.12)
85
Proof (a) If (My Nx )/N is independent of y, then (2.6.8) holds with p = (My Nx )/N and q 0.
Therefore
R
R
P (x) = e p(x) dx and Q(y) = e q(y) dy = e0 = 1,
(2.6.13)
My Nx
6x3 y2 + 8xy
= 2 2
= 2x
N
3x y + 4y
is independent of y, so Theorem 2.6.1(a) applies with p(x) = 2x. Since
Z
Z
p(x) dx = 2x dx = x2 ,
2
(2.6.14)
(2.6.15)
(2.6.16)
(2.6.17)
Comparing this with (2.6.15) shows that 0 (x) = 2xex ; therefore, we can let (x) = ex in
(2.6.17) and conclude that
2
ex y2 (x2 y + 2) 1 = c
4
2
1.5
0.5
0.5
1.5
(2.6.18)
N = 3x2 y2 + x2 y3 + 1,
and
My Nx = 6xy2 (6xy2 + 2xy3 ) = 2xy3 ,
so (2.6.18) isnt exact. Moreover,
My Nx
2xy3
= 2 2
N
3x y + x2 y2 + 1
is not independent of y, so Theorem 2.6.1(a) does not apply. However, Theorem 2.6.1(b) does apply,
since
Nx My
2xy3
=
=1
M
2xy3
is independent of x, so we can take q(y) = 1. Since
Z
Z
q(y) dy =
dy = y,
87
(2.6.19)
(2.6.20)
(2.6.21)
and
Integrating (2.6.20) with respect to x yields
F (x, y) = x2 y3 ey + (y).
(2.6.22)
4
4
Figure 2.6.2 A direction field and integral curves for 2xy3 ey dx + (3x2 y2 + x2 y3 + 1)ey dy = 0
Theorem 2.6.1 does not apply in the next example, but the more general argument that led to Theorem 2.6.1 provides an integrating factor.
(2.6.23)
My Nx
x + 3y
=
M
3xy + 6y2
Nx My
x 3y
= 2
,
N
2x + 9xy
and
so Theorem 2.6.1 does not apply. Following the more general argument that led to Theorem 2.6.1, we
look for functions p = p(x) and q = q(y) such that
My Nx = p(x)N q(y)M ;
that is,
x + 3y = p(x)(2x2 + 9xy) q(y)(3xy + 6y2 ).
Since the left side contains only first degree terms in x and y, we rewrite this equation as
xp(x)(2x + 9y) yq(y)(3x + 6y) = x + 3y.
This will be an identity if
xp(x) = A
and yq(y) = B,
(2.6.24)
=
=
1
3,
1
x
and
q(y) =
Z
1
.
y
q(y) dy = ln |y|,
we can let P (x) = x and Q(y) = y; hence, (x, y) = xy is an integrating factor. Multiplying (2.6.23)
by yields the exact equation
(3x2 y2 + 6xy3 ) dx + (2x3 y + 9x2 y2 ) dy = 0.
89
y
2
1.5
0.5
0.5
1.5
2
4
Figure 2.6.3 A direction field and integral curves for (3xy + 6y2 ) dx + (2x2 + 9xy) dy = 0
We leave it to you to use the method of Section 2.5 to show that this equation has the implicit solution
x3 y2 + 3x2 y3 = c.
(2.6.25)
This is also an implicit solution of (2.6.23). Since x 0 and y 0 satisfy (2.6.25), you should check to
see that x 0 and y 0 are also solutions of (2.6.23). (Why is it necesary to check this?)
Figure 2.6.3 shows a direction field and integral curves for (2.6.23).
See Exercise 28 for a general discussion of equations like (2.6.23).
Example 2.6.4 The separable equation
y dx + (x + x6 ) dy = 0
(2.6.26)
dx
dy
+
=0
x + x6
y
(2.6.27)
1
.
y(x + x6 )
However, to solve (2.6.27) by the method of Section 2.5 we would have to evaluate the nasty integral
Z
dx
.
x + x6
Instead, we solve (2.6.26) explicitly for y by finding an integrating factor of the form (x, y) = xa yb .
0.8
0.6
0.4
0.2
0.2
0.4
0.6
0.8
1
1
0.8
0.6
0.4
0.2
0.2
0.4
0.6
0.8
(2.6.28)
The right side will contain the term 6x if p(x) = 6/x. Then (2.6.28) becomes
2 6x5 = 6 6x5 + q(y)y,
so q(y) = 4/y. Since
and
p(x) dx =
6
1
dx = 6 ln |x| = ln 6 ,
x
x
4
dy = 4 ln |y| = ln y4 ,
y
q(y) dy =
we can take P (x) = x6 and Q(y) = y4 , which yields the integrating factor (x, y) = x6 y4 . Multiplying (2.6.26) by yields the exact equation
4
y5
y
4
6 dx +
+y
dy = 0.
x
x5
91
We leave it to you to use the method of the Section 2.5 to show that this equation has the implicit solution
y 5
+ y5 = k.
x
Solving for y yields
y = k 1/5 x(1 + x5 )1/5 ,
which we rewrite as
y = cx(1 + x5 )1/5
by renaming the arbitrary constant. This is also a solution of (2.6.26).
Figure 2.6.4 shows a direction field and some integral curves for (2.6.26).
2.6 Exercises
1.
(A)
on any open rectangle that does not intersect the x axis or, equivalently, that
y2 dx + (2xy + 1) dy = 0
is exact on any such rectangle.
(b) Verify that y 0 is a solution of (B), but not of (A).
(c) Show that
y(xy + 1) = c
2.
(B)
(C)
is an implicit solution of (B), and explain why every differentiable function y = y(x) other
than y 0 that satisfies (C) is also a solution of (A).
(A)
on any open rectangle that does not intersect the line y = x or, equivalently, that
y2
x2
dx +
dy = 0
2
(x y)
(x y)2
(B)
xy
=c
(x y)
is an implicit solution of (B), and explain why its also an implicit solution of (A)
(c) Verify that y = x is a solution of (A), even though it cant be obtained from (C).
(C)
In Exercises 316 find an integrating factor; that is a function of only one variable, and solve the given
equation.
3.
y dx x dy = 0
4.
3x2 y dx + 2x3 dy = 0
5.
2y3 dx + 3y2 dy = 0
6.
(5xy + 2y + 5) dx + 2x dy = 0
(xy + x + 2y + 1) dx + (x + 1) dy = 0
8.
9.
10.
11.
12.
13.
y dx + (x4 x) dy = 0
14.
15.
16.
In Exercises 1723 find an integrating factor of the form (x, y) = P (x)Q(y) and solve the given
equation.
17.
18.
(y + xy) dx + (x + xy) dy = 0
19.
20.
2y dx + 3(x2 + x2 y3 ) dy = 0
21.
22.
x4 y4 dx + x5 y3 dy = 0
23.
In Exercises 2427 find an integrating factor and solve the equation. Plot a direction field and some
integral curves for the equation in the indicated rectangular region.
24.
25.
26.
27.
28.
2 2
{1 x 1, 1 y 1}
{2 x 2, 2 y 2}
{2 x 2, 2 y 2}
{4 x 4, 4 y 4}
Suppose a, b, c, and d are constants such that ad bc 6= 0, and let m and n be arbitrary real
numbers. Show that
(axm y + byn+1 ) dx + (cxm+1 + dxyn ) dy = 0
has an integrating factor (x, y) = x y .
29.
Suppose M , N , Mx , and Ny are continuous for all (x, y), and = (x, y) is an integrating factor
for
M (x, y) dx + N (x, y) dy = 0.
(A)
Assume that x and y are continuous for all (x, y), and suppose y = y(x) is a differentiable
function such that (x, y(x)) = 0 and x (x, y(x)) 6= 0 for all x in some interval I. Show that y is
a solution of (A) on I.
93
According to Theorem 2.1.2, the general solution of the linear nonhomogeneous equation
is
y0 + p(x)y = f(x)
(A)
Z
y = y1 (x) c + f(x)/y1 (x) dx ,
(B)
where y1 is any nontrivial solution of the complementary equation y0 + p(x)y = 0. In this exercise
we obtain this conclusion in a different way. You may find it instructive to apply the method
suggested here to solve some of the exercises in Section 2.1.
(a) Rewrite (A) as
R
and show that = e
[p(x)y f(x)] dx + dy = 0,
(C)
p(x) dx
CHAPTER 3
Numerical Methods
In this chapter we study numerical methods for solving a first order differential equation
y0 = f(x, y).
SECTION 3.1 deals with Eulers method, which is really too crude to be of much use in practical applications. However, its simplicity allows for an introduction to the ideas required to understand the better
methods discussed in the other two sections.
SECTION 3.2 discusses improvements on Eulers method.
SECTION 3.3 deals with the Runge-Kutta method, perhaps the most widely used method for numerical
solution of differential equations.
95
y(x0 ) = y0
(3.1.1)
cant be solved analytically, its necessary to resort to numerical methods to obtain useful approximations
to a solution of (3.1.1). Well consider such methods in this chapter.
Were interested in computing approximate values of the solution of (3.1.1) at equally spaced points
x0 , x1 , . . . , xn = b in an interval [x0 , b]. Thus,
xi = x0 + ih,
i = 0, 1, . . . , n,
where
b x0
.
n
Well denote the approximate values of the solution at these points by y0 , y1 , . . . , yn ; thus, yi is an
approximation to y(xi ). Well call
ei = y(xi ) yi
h=
the error at the ith step. Because of the initial condition y(x0 ) = y0 , well always have e0 = 0. However,
in general ei 6= 0 if i > 0.
We encounter two sources of error in applying a numerical method to solve an initial value problem:
The formulas defining the method are based on some sort of approximation. Errors due to the
inaccuracy of the approximation are called truncation errors.
Computers do arithmetic with a fixed number of digits, and therefore make errors in evaluating
the formulas defining the numerical methods. Errors due to the computers inability to do exact
arithmetic are called roundoff errors.
Since a careful analysis of roundoff error is beyond the scope of this book, well consider only truncation errors.
Eulers Method
The simplest numerical method for solving (3.1.1) is Eulers method. This method is so crude that it is
seldom used in practice; however, its simplicity makes it useful for illustrative purposes.
Eulers method is based on the assumption that the tangent line to the integral curve of (3.1.1) at
(xi , y(xi )) approximates the integral curve over the interval [xi , xi+1 ]. Since the slope of the integral
curve of (3.1.1) at (xi , y(xi )) is y0 (xi ) = f(xi , y(xi )), the equation of the tangent line to the integral
curve at (xi , y(xi )) is
y = y(xi ) + f(xi , y(xi ))(x xi ).
(3.1.2)
Setting x = xi+1 = xi + h in (3.1.2) yields
yi+1 = y(xi ) + hf(xi , y(xi ))
(3.1.3)
as an approximation to y(xi+1 ). Since y(x0 ) = y0 is known, we can use (3.1.3) with i = 0 to compute
y1 = y0 + hf(x0 , y0 ).
However, setting i = 1 in (3.1.3) yields
y2 = y(x1 ) + hf(x1 , y(x1 )),
97
which isnt useful, since we dont know y(x1 ). Therefore we replace y(x1 ) by its approximate value y1
and redefine
y2 = y1 + hf(x1 , y1 ).
Having computed y2 , we can compute
y3 = y2 + hf(x2 , y2 ).
In general, Eulers method starts with the known value y(x0 ) = y0 and computes y1 , y2 , . . . , yn successively by with the formula
yi+1 = yi + hf(xi , yi ),
0 i n 1.
(3.1.4)
The next example illustrates the computational procedure indicated in Eulers method.
Example 3.1.1 Use Eulers method with h = 0.1 to find approximate values for the solution of the initial
value problem
y0 + 2y = x3 e2x , y(0) = 1
(3.1.5)
at x = 0.1, 0.2, 0.3.
Solution We rewrite (3.1.5) as
y0 = 2y + x3 e2x ,
y(0) = 1,
=
=
y0 + hf(x0 , y0 )
1 + (.1)f(0, 1) = 1 + (.1)(2) = .8,
y2
=
=
y3
y1 + hf(x1 , y1 )
.8 + (.1)f(.1, .8) = .8 + (.1) 2(.8) + (.1)3 e.2 = .640081873,
y2 + hf(x2 , y2 )
.640081873 + (.1) 2(.640081873) + (.2)3 e.4 = .512601754.
Weve written the details of these computations to ensure that you understand the procedure. However,
in the rest of the examples as well as the exercises in this chapter, well assume that you can use a
programmable calculator or a computer to carry out the necessary computations.
Examples Illustrating The Error in Eulers Method
Example 3.1.2 Use Eulers method with step sizes h = 0.1, h = 0.05, and h = 0.025 to find approximate values of the solution of the initial value problem
y0 + 2y = x3 e2x ,
y(0) = 1
at x = 0, 0.1, 0.2, 0.3, . . . , 1.0. Compare these approximate values with the values of the exact solution
e2x 4
(x + 4),
4
which can be obtained by the method of Section 2.1. (Verify.)
y=
(3.1.6)
h = 0.1
1.000000000
0.800000000
0.640081873
0.512601754
0.411563195
0.332126261
0.270299502
0.222745397
0.186654593
0.159660776
0.139778910
h = 0.05
1.000000000
0.810005655
0.656266437
0.532290981
0.432887056
0.353785015
0.291404256
0.242707257
0.205105754
0.176396883
0.154715925
h = 0.025
1.000000000
0.814518349
0.663635953
0.541339495
0.442774766
0.363915597
0.301359885
0.252202935
0.213956311
0.184492463
0.162003293
Exact
1.000000000
0.818751221
0.670588174
0.549922980
0.452204669
0.373627557
0.310952904
0.261398947
0.222570721
0.192412038
0.169169104
You can see from Table 3.1.1 that decreasing the step size improves the accuracy of Eulers method.
For example,
Based on this scanty evidence, you might guess that the error in approximating the exact solution at a fixed
value of x by Eulers method is roughly halved when the step size is halved. You can find more evidence
to support this conjecture by examining Table 3.1.2, which lists the approximate values of yexact yapprox at
x = 0.1, 0.2, . . . , 1.0.
Table 3.1.2. Errors in approximate solutions of y0 + 2y = x3 e2x , y(0) = 1, obtained by
Eulers method.
x
0.1
0.2
0.3
0.4
0.5
0.6
0.7
0.8
0.9
1.0
h = 0.1
0.0187
0.0305
0.0373
0.0406
0.0415
0.0406
0.0386
0.0359
0.0327
0.0293
h = 0.05
0.0087
0.0143
0.0176
0.0193
0.0198
0.0195
0.0186
0.0174
0.0160
0.0144
h = 0.025
0.0042
0.0069
0.0085
0.0094
0.0097
0.0095
0.0091
0.0086
0.0079
0.0071
Example 3.1.3 Tables 3.1.3 and 3.1.4 show analogous results for the nonlinear initial value problem
y0 = 2y2 + xy + x2 , y(0) = 1,
(3.1.7)
99
except in this case we cant solve (3.1.7) exactly. The results in the Exact column were obtained by
using a more accurate numerical method known as the Runge-Kutta method with a small step size. They
are exact to eight decimal places.
Since we think its important in evaluating the accuracy of the numerical methods that well be studying
in this chapter, we often include a column listing values of the exact solution of the initial value problem,
even if the directions in the example or exercise dont specifically call for it. If quotation marks are
included in the heading, the values were obtained by applying the Runge-Kutta method in a way thats
explained in Section 3.3. If quotation marks are not included, the values were obtained from a known
formula for the solution. In either case, the values are exact to eight places to the right of the decimal
point.
Table 3.1.3. Numerical solution of y0 = 2y2 + xy + x2 , y(0) = 1, by Eulers method.
x
0.0
0.1
0.2
0.3
0.4
0.5
0.6
0.7
0.8
0.9
1.0
h = 0.1
1.000000000
0.800000000
0.681000000
0.605867800
0.559628676
0.535376972
0.529820120
0.541467455
0.569732776
0.614392311
0.675192037
h = 0.05
1.000000000
0.821375000
0.707795377
0.633776590
0.587454526
0.562906169
0.557143535
0.568716935
0.596951988
0.641457729
0.701764495
h = 0.025
1.000000000
0.829977007
0.719226253
0.646115227
0.600045701
0.575556391
0.569824171
0.581435423
0.609684903
0.654110862
0.714151626
Exact
1.000000000
0.837584494
0.729641890
0.657580377
0.611901791
0.587575491
0.581942225
0.593629526
0.621907458
0.666250842
0.726015790
h = 0.1
0.0376
0.0486
0.0517
0.0523
0.0522
0.0521
0.0522
0.0522
0.0519
0.0508
h = 0.05
0.0162
0.0218
0.0238
0.0244
0.0247
0.0248
0.0249
0.0250
0.0248
0.0243
h = 0.025
0.0076
0.0104
0.0115
0.0119
0.0121
0.0121
0.0122
0.0122
0.0121
0.0119
(3.1.8)
Well now use Taylors theorem to estimate Ti , assuming for simplicity that f, fx , and fy are continuous
and bounded for all (x, y). Then y00 exists and is bounded on [x0 , b]. To see this, we differentiate
y0 (x) = f(x, y(x))
to obtain
y00 (x) =
=
Since we assumed that f, fx and fy are bounded, theres a constant M such that
|fx (x, y(x)) + fy (x, y(x))f(x, y(x))| M,
x0 < x < b,
x0 < x < b.
(3.1.9)
h2 00
y (
xi ),
2
where xi is some number between xi and xi+1 . Since y0 (xi ) = f(xi , y(xi )) this can be written as
y(xi+1 ) = y(xi ) + hf(xi , y(xi )) +
h2 00
y (
xi ),
2
h2 00
y (
xi ).
2
or, equivalently,
h2 00
y (
xi ).
2
M h2
,
2
1 i n.
(3.1.10)
Although it may be difficult to determine the constant M , what is important is that theres an M such that
(3.1.10) holds. We say that the local truncation error of Eulers method is of order h2 , which we write as
O(h2 ).
101
Note that the magnitude of the local truncation error in Eulers method is determined by the second
derivative y00 of the solution of the initial value problem. Therefore the local truncation error will be
larger where |y00 | is large, or smaller where |y00 | is small.
Since the local truncation error for Eulers method is O(h2 ), its reasonable to expect that halving h
reduces the local truncation error by a factor of 4. This is true, but halving the step size also requires twice
as many steps to approximate the solution at a given point. To analyze the overall effect of truncation
error in Eulers method, its useful to derive an equation relating the errors
ei+1 = y(xi+1 ) yi+1
and
ei = y(xi ) yi .
(3.1.11)
yi+1 = yi + hf(xi , yi ).
(3.1.12)
and
Subtracting (3.1.12) from (3.1.11) yields
ei+1 = ei + h [f(xi , y(xi )) f(xi , yi )] + Ti .
(3.1.13)
The last term on the right is the local truncation error at the ith step. The other terms reflect the way errors
made at previous steps affect ei+1 . Since |Ti | M h2 /2, we see from (3.1.13) that
|ei+1 | |ei | + h|f(xi , y(xi )) f(xi , yi )| +
M h2
.
2
(3.1.14)
Since we assumed that fy is continuous and bounded, the mean value theorem implies that
f(xi , y(xi )) f(xi , yi ) = fy (xi , yi )(y(xi ) yi ) = fy (xi , yi )ei ,
where yi is between yi and y(xi ). Therefore
|f(xi , y(xi )) f(xi , yi )| R|ei |
for some constant R. From this and (3.1.14),
|ei+1 | (1 + Rh)|ei | +
M h2
,
2
0 i n 1.
(3.1.15)
For convenience, let C = 1 + Rh. Since e0 = y(x0 ) y0 = 0, applying (3.1.15) repeatedly yields
|e1 |
M h2
2
M h2
M h2
(1 + C)
2
2
M h2
M h2
|e3 | C|e2 | +
(1 + C + C 2 )
2
2
..
.
|e2 | C|e1 | +
|en | C|en1 | +
M h2
M h2
(1 + C + + C n1 )
.
2
2
Recalling the formula for the sum of a geometric series, we see that
1 + C + + C n1 =
1 Cn
(1 + Rh)n 1
=
1C
Rh
(3.1.16)
(1 + Rh)n 1 M h
.
R
2
(3.1.17)
(since nh = b x0 ).
(3.1.18)
with
eR(bx0 ) 1
.
2R
Because of (3.1.18) we say that the global truncation error of Eulers method is of order h, which we
write as O(h).
K=M
(3.1.19)
with p 6 0 is said to be semilinear. (Of course, (3.1.19) is linear if h is independent of y.) One way to
apply Eulers method to an initial value problem
y0 + p(x)y = h(x, y),
y(x0 ) = y0
(3.1.20)
y(x0 ) = y0 ,
where
f(x, y) = p(x)y + h(x, y).
However, we can also start by applying variation of parameters to (3.1.20), as in Sections 2.1 and 2.4;
thus, we write the solution of (3.1.20) as y = uy1 , where y1 is a nontrivial solution of the complementary
equation y0 + p(x)y = 0. Then y = uy1 is a solution of (3.1.20) if and only if u is a solution of the initial
value problem
u0 = h(x, uy1 (x))/y1 (x), u(x0 ) = y(x0 )/y1 (x0 ).
(3.1.21)
We can apply Eulers method to obtain approximate values u0 , u1 , . . . , un of this initial value problem,
and then take
yi = ui y1 (xi )
as approximate values of the solution of (3.1.20). Well call this procedure the Euler semilinear method.
The next two examples show that the Euler and Euler semilinear methods may yield drastically different
results.
Example 3.1.4 In Example 2.1.7 we had to leave the solution of the initial value problem
y0 2xy = 1,
in the form
x2
y=e
3+
y(0) = 3
x
t2
e
0
dt
(3.1.22)
(3.1.23)
103
because it was impossible to evaluate this integral exactly in terms of elementary functions. Use step
sizes h = 0.2, h = 0.1, and h = 0.05 to find approximate values of the solution of (3.1.22) at x = 0, 0.2,
0.4, 0.6, . . . , 2.0 by (a) Eulers method; (b) the Euler semilinear method.
S OLUTION (a) Rewriting (3.1.22) as
y0 = 1 + 2xy,
y(0) = 3
(3.1.24)
and applying Eulers method with f(x, y) = 1 + 2xy yields the results shown in Table 3.1.5. Because of
the large differences between the estimates obtained for the three values of h, it would be clear that these
results are useless even if the exact values were not included in the table.
Table 3.1.5. Numerical solution of y0 2xy = 1, y(0) = 3, with Eulers method.
x
0.0
0.2
0.4
0.6
0.8
1.0
1.2
1.4
1.6
1.8
2.0
h = 0.2
3.000000000
3.200000000
3.656000000
4.440960000
5.706790400
7.732963328
11.026148659
16.518700016
25.969172024
42.789442120
73.797840446
h = 0.1
3.000000000
3.262000000
3.802028800
4.726810214
6.249191282
8.771893026
13.064051391
20.637273893
34.570423758
61.382165543
115.440048291
h = 0.05
3.000000000
3.294348537
3.881421103
4.888870783
6.570796235
9.419105620
14.405772067
23.522935872
41.033441257
76.491018246
152.363866569
Exact
3.000000000
3.327851973
3.966059348
5.067039535
6.936700945
10.184923955
16.067111677
27.289392347
50.000377775
98.982969504
211.954462214
Its easy to see why Eulers method yields such poor results. Recall that the constant M in (3.1.10)
which plays an important role in determining the local truncation error in Eulers method must be an
upper bound for the values of the second derivative y00 of the solution of the initial value problem (3.1.22)
on (0, 2). The problem is that y00 assumes very large values on this interval. To see this, we differentiate
(3.1.24) to obtain
y00 (x) = 2y(x) + 2xy0 (x) = 2y(x) + 2x(1 + 2xy(x)) = 2(1 + 2x2 )y(x) + 2x,
2
where the second equality follows again from (3.1.24). Since (3.1.23) implies that y(x) > 3ex if x > 0,
2
x > 0.
S OLUTION (b) Since y1 = ex is a solution of the complementary equation y0 2xy = 0, we can apply
the Euler semilinear method to (3.1.22), with
y = uex
and
u0 = ex ,
u(0) = 3.
The results listed in Table 3.1.6 are clearly better than those obtained by Eulers method.
Table 3.1.6. Numerical solution of y0 2xy = 1, y(0) = 3, by the Euler semilinear method.
h = 0.2
3.000000000
3.330594477
3.980734157
5.106360231
7.021003417
10.350076600
16.381180092
27.890003380
51.183323262
101.424397595
217.301032800
h = 0.1
3.000000000
3.329558853
3.974067628
5.087705244
6.980190891
10.269170824
16.226146390
27.592026085
50.594503863
100.206659076
214.631041938
h = 0.05
3.000000000
3.328788889
3.970230415
5.077622723
6.958779586
10.227464299
16.147129067
27.441292235
50.298106659
99.595562766
213.293582978
Exact
3.000000000
3.327851973
3.966059348
5.067039535
6.936700945
10.184923955
16.067111677
27.289392347
50.000377775
98.982969504
211.954462214
We cant give a general procedure for determining in advance whether Eulers method or the semilinear
Euler method will produce better results for a given semilinear initial value problem (3.1.19). As a rule of
thumb, the Euler semilinear method will yield better results than Eulers method if |u00 | is small on [x0, b],
while Eulers method yields better results if |u00 | is large on [x0 , b]. In many cases the results obtained by
the two methods dont differ appreciably. However, we propose the an intuitive way to decide which is
the better method: Try both methods with multiple step sizes, as we did in Example 3.1.4, and accept the
results obtained by the method for which the approximations change less as the step size decreases.
Example 3.1.5 Applying Eulers method with step sizes h = 0.1, h = 0.05, and h = 0.025 to the initial
value problem
x
y0 2y =
, y(1) = 7
(3.1.25)
1 + y2
on [1, 2] yields the results in Table 3.1.7. Applying the Euler semilinear method with
y = ue2x
and
u0 =
xe2x
,
1 + u2 e4x
u(1) = 7e2
yields the results in Table 3.1.8. Since the latter are clearly less dependent on step size than the former,
we conclude that the Euler semilinear method is better than Eulers method for (3.1.25). This conclusion
is supported by comparing the approximate results obtained by the two methods with the exact values
of the solution.
Table 3.1.7. Numerical solution of y0 2y = x/(1 + y2 ), y(1) = 7, by Eulers method.
x
1.0
1.1
1.2
1.3
1.4
1.5
1.6
1.7
1.8
1.9
2.0
h = 0.1
7.000000000
8.402000000
10.083936450
12.101892354
14.523152445
17.428443554
20.914624471
25.097914310
30.117766627
36.141518172
43.369967155
h = 0.05
7.000000000
8.471970569
10.252570169
12.406719381
15.012952416
18.166277405
21.981638487
26.598105180
32.183941340
38.942738252
47.120835251
h = 0.025
7.000000000
8.510493955
10.346014101
12.576720827
15.287872104
18.583079406
22.588266217
27.456479695
33.373738944
40.566143158
49.308511126
Exact
7.000000000
8.551744786
10.446546230
12.760480158
15.586440425
19.037865752
23.253292359
28.401914416
34.690375086
42.371060528
51.752229656
105
h = 0.1
7.000000000
8.552262113
10.447568674
12.762019799
15.588535141
19.040580614
23.256721636
28.406184597
34.695649222
42.377544138
51.760178446
h = 0.05
7.000000000
8.551993978
10.447038547
12.761221313
15.587448600
19.039172241
23.254942517
28.403969107
34.692912768
42.374180090
51.756054133
h = 0.025
7.000000000
8.551867007
10.446787646
12.760843543
15.586934680
19.038506211
23.254101253
28.402921581
34.691618979
42.372589624
51.754104262
Exact
7.000000000
8.551744786
10.446546230
12.760480158
15.586440425
19.037865752
23.253292359
28.401914416
34.690375086
42.371060528
51.752229656
Example 3.1.6 Applying Eulers method with step sizes h = 0.1, h = 0.05, and h = 0.025 to the initial
value problem
y0 + 3x2 y = 1 + y2 , y(2) = 2
(3.1.26)
on [2, 3] yields the results in Table 3.1.9. Applying the Euler semilinear method with
y = uex
and
u0 = ex (1 + u2 e2x ),
u(2) = 2e8
yields the results in Table 3.1.10. Noting the close agreement among the three columns of Table 3.1.9
(at least for larger values of x) and the lack of any such agreement among the columns of Table 3.1.10,
we conclude that Eulers method is better than the Euler semilinear method for (3.1.26). Comparing the
results with the exact values supports this conclusion.
Table 3.1.9. Numerical solution of y0 + 3x2 y = 1 + y2 ,
x
2.0
2.1
2.2
2.3
2.4
2.5
2.6
2.7
2.8
2.9
3.0
h = 0.1
2.000000000
0.100000000
0.068700000
0.069419569
0.059732621
0.056871451
0.050560917
0.048279018
0.042925892
0.042148458
0.035985548
h = 0.05
2.000000000
0.493231250
0.122879586
0.070670890
0.061338956
0.056002363
0.051465256
0.047484716
0.043967002
0.040839683
0.038044692
h = 0.025
2.000000000
0.609611171
0.180113445
0.083934459
0.063337561
0.056249670
0.051517501
0.047514202
0.043989239
0.040857109
0.038058536
Exact
2.000000000
0.701162906
0.236986800
0.103815729
0.068390786
0.057281091
0.051711676
0.047564141
0.044014438
0.040875333
0.038072838
h = 0.1
h = 0.1
2.000000000
0.708426286
0.214501852
0.069861436
0.032487396
0.021895559
0.017332058
0.014271492
0.011819555
0.009776792
0.008065020
h = 0.05
h = 0.05
2.000000000
0.702568171
0.222599468
0.083620494
0.047079261
0.036030018
0.030750181
0.026931911
0.023720670
0.020925522
0.018472302
h = 0.025
h = 0.025
2.000000000
0.701214274
0.228942240
0.092852806
0.056825805
0.045683801
0.040189920
0.036134674
0.032679767
0.029636506
0.026931099
Exact
h = .0125
2.000000000
0.701162906
0.236986800
0.103815729
0.068390786
0.057281091
0.051711676
0.047564141
0.044014438
0.040875333
0.038072838
In the next two sections well study other numerical methods for solving initial value problems, called
the improved Euler method, the midpoint method, Heuns method and the Runge-Kutta method. If the
initial value problem is semilinear as in (3.1.19), we also have the option of using variation of parameters
and then applying the given numerical method to the initial value problem (3.1.21) for u. By analogy
with the terminology used here, well call the resulting procedure the improved Euler semilinear method,
the midpoint semilinear method, Heuns semilinear method or the Runge-Kutta semilinear method, as the
case may be.
3.1 Exercises
You may want to save the results of these exercises, sincewell revisit in the next two sections. In Exercises 15 use Eulers method to find approximate values of the solution of the given initial value problem
at the points xi = x0 + ih, where x0 is the point wher the initial condition is imposed and i = 1, 2, 3.
The purpose of these exercises is to familiarize you with the computational procedure of Eulers method.
1.
2.
3.
4.
5.
6.
C y0 = 2x2 + 3y2 2,
p
C y 0 = y + x2 + y 2 ,
y(2) = 1;
h = 0.05
y(0) = 1;
h = 0.1
C y0 + 3y = x2 3xy + y2 , y(0) = 2;
1+x
, y(2) = 3; h = 0.1
C y0 =
1 y2
C y0 + x2 y = sin xy,
y(1) = ;
h = 0.05
h = 0.2
C Use Eulers method with step sizes h = 0.1, h = 0.05, and h = 0.025 to find approximate
values of the solution of the initial value problem
y0 + 3y = 7e4x ,
y(0) = 2
at x = 0, 0.1, 0.2, 0.3, . . . , 1.0. Compare these approximate values with the values of the exact
solution y = e4x + e3x , which can be obtained by the method of Section 2.1. Present your results
in a table like Table 3.1.1.
7.
C Use Eulers method with step sizes h = 0.1, h = 0.05, and h = 0.025 to find approximate
values of the solution of the initial value problem
y0 +
2
3
y = 3 + 1,
x
x
y(1) = 1
107
at x = 1.0, 1.1, 1.2, 1.3, . . . , 2.0. Compare these approximate values with the values of the exact
solution
1
y = 2 (9 ln x + x3 + 2),
3x
which can be obtained by the method of Section 2.1. Present your results in a table like Table 3.1.1.
8.
C Use Eulers method with step sizes h = 0.05, h = 0.025, and h = 0.0125 to find approximate
values of the solution of the initial value problem
y0 =
y2 + xy x2
,
x2
y(1) = 2
at x = 1.0, 1.05, 1.10, 1.15, . . . , 1.5. Compare these approximate values with the values of the
exact solution
x(1 + x2 /3)
y=
1 x2 /3
obtained in Example 2.4.3. Present your results in a table like Table 3.1.1.
9.
2x + 1
,
5y4 + 1
y(2) = 1.
(A)
Use Eulers method with step sizes h = 0.1, h = 0.05, and h = 0.025 to find approximate values
of the solution of (A) at x = 2.0, 2.1, 2.2, 2.3, . . . , 3.0. Present your results in tabular form. To
check the error in these approximate values, construct another table of values of the residual
R(x, y) = y5 + y x2 x + 4
for each value of (x, y) appearing in the first table.
10.
4x3 y3 + 2xy5 + 2y
,
3x4 y2 + 5x2 y4 + 2x
y(1) = 1.
(A)
Use Eulers method with step sizes h = 0.1, h = 0.05, and h = 0.025 to find approximate values
of the solution of (A) at x = 1.0, 1.1, 1.2, 1.3, . . . , 2.0. Present your results in tabular form. To
check the error in these approximate values, construct another table of values of the residual
R(x, y) = x4 y3 + x2 y5 + 2xy 4
for each value of (x, y) appearing in the first table.
11.
C Use Eulers method with step sizes h = 0.1, h = 0.05, and h = 0.025 to find approximate
values of the solution of the initial value problem
(3y2 + 4y)y0 + 2x + cos x = 0,
at x = 0, 0.1, 0.2, 0.3, . . . , 1.0.
C Use Eulers method with step sizes h = 0.1, h = 0.05, and h = 0.025 to find approximate
values of the solution of the initial value problem
y0 +
(y + 1)(y 1)(y 2)
= 0,
x+1
C Use Eulers method and the Euler semilinear method with step sizes h = 0.1, h = 0.05, and
h = 0.025 to find approximate values of the solution of the initial value problem
y0 + 3y = 7e3x ,
y(0) = 6
at x = 0, 0.1, 0.2, 0.3, . . . , 1.0. Compare these approximate values with the values of the exact
solution y = e3x(7x + 6), which can be obtained by the method of Section 2.1. Do you notice
anything special about the results? Explain.
The linear initial value problems in Exercises 1419 cant be solved exactly in terms of known elementary
functions. In each exercise, use Eulers method and the Euler semilinear methods with the indicated step
sizes to find approximate values of the solution of the given initial value problem at 11 equally spaced
points (including the endpoints) in the interval.
1
,
1 + x2
14.
C y0 2y =
15.
C y0 + 2xy = x2 ,
16.
C y0 +
17.
18.
19.
1
sin x
y = 2 , y(1) = 2; (Exercise 2.1.39); h = 0.2, 0.1, 0.05 on [1, 3]
x
x
ex tan x
0
C y +y =
, y(1) = 0; (Exercise 2.1.40); h = 0.05, 0.025, 0.0125 on [1, 1.5]
x
2x
ex
C y0 +
y
=
, y(0) = 1; (Exercise 2.1.41); h = 0.2, 0.1, 0.05 on [0, 2]
1 + x2
(1 + x2 )2
2
C xy0 + (x + 1)y = ex ,
In Exercises 2022, use Eulers method and the Euler semilinear method with the indicated step sizes
to find approximate values of the solution of the given initial value problem at 11 equally spaced points
(including the endpoints) in the interval.
20.
21.
22.
23.
(A)
This solves the problem of evaluating a definite integral if the integrand f has an antiderivative that
can be found and evaluated easily. However, if f doesnt have this property, (A) doesnt provide
109
a useful way to evaluate the definite integral. In this case we must resort to approximate methods.
Theres a class of such methods called numerical quadrature, where the approximation takes the
form
Z b
n
X
f(x) dx
ci f(xi ),
(B)
a
i=0
where a = x0 < x1 < < xn = b are suitably chosen points and c0 , c1 , . . . , cn are suitably
chosen constants. We call (B) a quadrature formula.
(a) Derive the quadrature formula
Z
f(x) dx h
n1
X
f(a + ih)
i=0
(where h = (b a)/n)
(C)
y(a) = 0.
(b) The quadrature formula (C) is sometimes called the left rectangle rule. Draw a figure that
justifies this terminology.
(c) L For several choices of a, b, and A, apply (C) to f(x) = A with n = 10, 20, 40, 80, 160, 320.
Compare your results with the exact answers and explain what you find.
(d)
L For several choices of a, b, A, and B, apply (C) to f(x) = A + Bx with n = 10, 20, 40,
80, 160, 320. Compare your results with the exact answers and explain what you find.
Euler
2.613035290
2.663731258
2.690496599
Improved Euler
2.707188994
2.715327371
2.717519565
Runge-Kutta
2.718069764
2.718266612
2.718280809
Exact
2.718281828
2.718281828
2.718281828
that is, mi is the average of the slopes of the tangents to the integral curve at the endpoints of [xi , xi+1 ].
The equation of the approximating line is therefore
y = y(xi ) +
(3.2.2)
h
(f(xi , y(xi )) + f(xi+1 , y(xi+1 )))
2
(3.2.3)
h
(f(xi , yi ) + f(xi+1 , y(xi+1 )) .
2
However, this still wont work, because we dont know y(xi+1 ), which appears on the right. We overcome
this by replacing y(xi+1 ) by yi + hf(xi , yi ), the value that the Euler method would assign to yi+1 .
Thus, the improved Euler method starts with the known value y(x0 ) = y0 and computes y1 , y2 , . . . , yn
successively with the formula
yi+1 = yi +
h
(f(xi , yi ) + f(xi+1 , yi + hf(xi , yi ))) .
2
The computation indicated here can be conveniently organized as follows: given yi , compute
k1i
k2i
=
=
yi+1
f(xi , yi ),
f (xi + h, yi + hk1i ) ,
h
yi + (k1i + k2i ).
2
(3.2.4)
111
The improved Euler method requires two evaluations of f(x, y) per step, while Eulers method requires
only one. However, well see at the end of this section that if f satisfies appropriate assumptions, the local
truncation error with the improved Euler method is O(h3 ), rather than O(h2 ) as with Eulers method.
Therefore the global truncation error with the improved Euler method is O(h2 ); however, we wont prove
this.
We note that the magnitude of the local truncation error in the improved Euler method and other
methods discussed in this section is determined by the third derivative y000 of the solution of the initial
value problem. Therefore the local truncation error will be larger where |y000 | is large, or smaller where
|y000 | is small.
The next example, which deals with the initial value problem considered in Example 3.1.1, illustrates
the computational procedure indicated in the improved Euler method.
Example 3.2.1 Use the improved Euler method with h = 0.1 to find approximate values of the solution
of the initial value problem
y0 + 2y = x3 e2x , y(0) = 1
(3.2.5)
at x = 0.1, 0.2, 0.3.
Solution As in Example 3.1.1, we rewrite (3.2.5) as
y0 = 2y + x3 e2x ,
y(0) = 1,
k11
k21
y2
k12
k22
y3
= f(x0 , y0 ) = f(0, 1) = 2,
Example 3.2.2 Table 3.2.2 shows results of using the improved Euler method with step sizes h = 0.1
and h = 0.05 to find approximate values of the solution of the initial value problem
y0 + 2y = x3 e2x ,
y(0) = 1
e2x 4
(x + 4).
4
The results obtained by the improved Euler method with h = 0.1 are better than those obtained by Eulers
method with h = 0.05.
Table 3.2.2. Numerical solution of y0 + 2y = x3 e2x, y(0) = 1, by Eulers method and the
improved Euler method.
x
0.0
0.1
0.2
0.3
0.4
0.5
0.6
0.7
0.8
0.9
1.0
h = 0.1
h = 0.05
1.000000000 1.000000000
0.800000000 0.810005655
0.640081873 0.656266437
0.512601754 0.532290981
0.411563195 0.432887056
0.332126261 0.353785015
0.270299502 0.291404256
0.222745397 0.242707257
0.186654593 0.205105754
0.159660776 0.176396883
0.139778910 0.154715925
Euler
h = 0.1
h = 0.05
1.000000000 1.000000000
0.820040937 0.819050572
0.672734445 0.671086455
0.552597643 0.550543878
0.455160637 0.452890616
0.376681251 0.374335747
0.313970920 0.311652239
0.264287611 0.262067624
0.225267702 0.223194281
0.194879501 0.192981757
0.171388070 0.169680673
Improved Euler
Exact
1.000000000
0.818751221
0.670588174
0.549922980
0.452204669
0.373627557
0.310952904
0.261398947
0.222570721
0.192412038
0.169169104
Exact
Example 3.2.3 Table 3.2.3 shows analogous results for the nonlinear initial value problem
y0 = 2y2 + xy + x2 , y(0) = 1.
We applied Eulers method to this problem in Example 3.1.3.
Table 3.2.3. Numerical solution of y0 = 2y2 + xy + x2 , y(0) = 1, by Eulers method and
the improved Euler method.
x
0.0
0.1
0.2
0.3
0.4
0.5
0.6
0.7
0.8
0.9
1.0
h = 0.1
h = 0.05
1.000000000 1.000000000
0.800000000 0.821375000
0.681000000 0.707795377
0.605867800 0.633776590
0.559628676 0.587454526
0.535376972 0.562906169
0.529820120 0.557143535
0.541467455 0.568716935
0.569732776 0.596951988
0.614392311 0.641457729
0.675192037 0.701764495
Euler
h = 0.1
h = 0.05
1.000000000 1.000000000
0.840500000 0.838288371
0.733430846 0.730556677
0.661600806 0.658552190
0.615961841 0.612884493
0.591634742 0.588558952
0.586006935 0.582927224
0.597712120 0.594618012
0.626008824 0.622898279
0.670351225 0.667237617
0.730069610 0.726985837
Improved Euler
Exact
1.000000000
0.837584494
0.729641890
0.657580377
0.611901791
0.587575491
0.581942225
0.593629526
0.621907458
0.666250842
0.726015790
Exact
Example 3.2.4 Use step sizes h = 0.2, h = 0.1, and h = 0.05 to find approximate values of the solution
of
y0 2xy = 1, y(0) = 3
(3.2.6)
113
at x = 0, 0.2, 0.4, 0.6, . . . , 2.0 by (a) the improved Euler method; (b) the improved Euler semilinear
method. (We used Eulers method and the Euler semilinear method on this problem in 3.1.4.)
S OLUTION (a) Rewriting (3.2.6) as
y0 = 1 + 2xy,
y(0) = 3
and applying the improved Euler method with f(x, y) = 1 + 2xy yields the results shown in Table 3.2.4.
2
S OLUTION (b) Since y1 = ex is a solution of the complementary equation y0 2xy = 0, we can apply
the improved Euler semilinear method to (3.2.6), with
y = uex
and
u0 = ex ,
u(0) = 3.
The results listed in Table 3.2.5 are clearly better than those obtained by the improved Euler method.
Table 3.2.4. Numerical solution of y0 2xy = 1, y(0) = 3, by the improved Euler method.
x
0.0
0.2
0.4
0.6
0.8
1.0
1.2
1.4
1.6
1.8
2.0
h = 0.2
3.000000000
3.328000000
3.964659200
5.057712497
6.900088156
10.065725534
15.708954420
26.244894192
46.958915746
89.982312641
184.563776288
h = 0.1
3.000000000
3.328182400
3.966340117
5.065700515
6.928648973
10.154872547
15.970033261
26.991620960
49.096125524
96.200506218
203.151922739
h = 0.05
3.000000000
3.327973600
3.966216690
5.066848381
6.934862367
10.177430736
16.041904862
27.210001715
49.754131060
98.210577385
209.464744495
Exact
3.000000000
3.327851973
3.966059348
5.067039535
6.936700945
10.184923955
16.067111677
27.289392347
50.000377775
98.982969504
211.954462214
Table 3.2.5. Numerical solution of y0 2xy = 1, y(0) = 3, by the improved Euler semilinear
method.
x
0.0
0.2
0.4
0.6
0.8
1.0
1.2
1.4
1.6
1.8
2.0
h = 0.2
3.000000000
3.326513400
3.963383070
5.063027290
6.931355329
10.178248417
16.059110511
27.280070674
49.989741531
98.971025420
211.941217796
h = 0.1
3.000000000
3.327518315
3.965392084
5.066038774
6.935366847
10.183256733
16.065111599
27.287059732
49.997712997
98.979972988
211.951134436
h = 0.05
3.000000000
3.327768620
3.965892644
5.066789487
6.936367564
10.184507253
16.066611672
27.288809058
49.999711226
98.982219722
211.953629228
Exact
3.000000000
3.327851973
3.966059348
5.067039535
6.936700945
10.184923955
16.067111677
27.289392347
50.000377775
98.982969504
211.954462214
=
=
y(xi ) + mi (x xi )
y(xi ) + [y0 (xi ) + y0 (xi + h)] (x xi ).
(3.2.7)
=
=
y(xi+1 ) yi+1
y(xi+1 ) y(xi ) h [y0 (xi ) + y0 (xi + h)]
(3.2.8)
h2 00
h3
y (xi ) + y000 (
xi ),
2
6
h2 00
y (xi ) = O(h3 ).
2
h 00
y (xi ) + O(h2 ).
2
(3.2.9)
(h)2 000
y (xi ),
2
1
.
2
115
(3.2.10)
(3.2.11)
if , , and satisfy (3.2.10). However, this formula would not be useful even if we knew y(xi ) exactly
(as we would for i = 0), since we still wouldnt know y(xi + h) exactly. To overcome this difficulty, we
again use Taylors theorem to write
y(xi + h) = y(xi ) + hy0 (xi ) +
h2 00
y (
xi ),
2
where xi is in (xi , xi + h). Since y0 (xi ) = f(xi , y(xi )) and y00 is bounded, this implies that
|y(xi + h) y(xi ) hf(xi , y(xi ))| Kh2
(3.2.12)
for some constant K. Since fy is bounded, the mean value theorem implies that
|f(xi + h, u) f(xi + h, v)| M |u v|
for some constant M . Letting
u = y(xi + h)
and
k2i
yi+1
f(xi , yi ),
h
h
f xi + , yi + k1i ,
2
2
yi + h[(1 )k1i + k2i ].
Consistent with our requirement that 0 < < 1, we require that 1/2. Letting = 1/2 in (3.2.13)
yields the improved Euler method (3.2.4). Letting = 3/4 yields Heuns method,
1
3
2
2
yi+1 = yi + h f(xi , yi ) + f xi + h, yi + hf(xi , yi ) ,
4
4
3
3
k2i
yi+1
f(xi , yi ),
2h
2h
f xi +
, yi +
k1i ,
3
3
h
yi + (k1i + 3k2i ).
4
h
h
xi + , yi + f(xi , yi ) ,
2
2
= f(xi , yi ),
h
h
= f xi + , yi + k1i ,
2
2
= yi + hk2i .
Examples involving the midpoint method and Heuns method are given in Exercises 23-30.
3.2 Exercises
Most of the following numerical exercises involve initial value problems considered in the exercises in
Section 3.1. Youll find it instructive to compare the results that you obtain here with the corresponding
results that you obtained in Section 3.1.
In Exercises 15 use the improved Euler method to find approximate values of the solution of the given
initial value problem at the points xi = x0 + ih, where x0 is the point where the initial condition is
imposed and i = 1, 2, 3.
1.
2.
3.
4.
5.
6.
C y0 = 2x2 + 3y2 2,
p
C y 0 = y + x2 + y 2 ,
y(2) = 1;
h = 0.05
y(0) = 1;
h = 0.1
C y0 + 3y = x2 3xy + y2 , y(0) = 2;
1+x
C y0 =
, y(2) = 3; h = 0.1
1 y2
C y0 + x2 y = sin xy,
y(1) = ;
h = 0.05
h = 0.2
C Use the improved Euler method with step sizes h = 0.1, h = 0.05, and h = 0.025 to find
approximate values of the solution of the initial value problem
y0 + 3y = 7e4x ,
y(0) = 2
at x = 0, 0.1, 0.2, 0.3, . . . , 1.0. Compare these approximate values with the values of the exact
solution y = e4x + e3x , which can be obtained by the method of Section 2.1. Present your results
in a table like Table 3.2.2.
7.
C Use the improved Euler method with step sizes h = 0.1, h = 0.05, and h = 0.025 to find
approximate values of the solution of the initial value problem
y0 +
2
3
y = 3 + 1,
x
x
y(1) = 1
117
at x = 1.0, 1.1, 1.2, 1.3, . . . , 2.0. Compare these approximate values with the values of the exact
solution
1
y = 2 (9 ln x + x3 + 2)
3x
which can be obtained by the method of Section 2.1. Present your results in a table like Table 3.2.2.
8.
C Use the improved Euler method with step sizes h = 0.05, h = 0.025, and h = 0.0125 to find
approximate values of the solution of the initial value problem
y0 =
y2 + xy x2
,
x2
y(1) = 2,
at x = 1.0, 1.05, 1.10, 1.15, . . . , 1.5. Compare these approximate values with the values of the
exact solution
x(1 + x2 /3)
y=
1 x2 /3
obtained in Example 2.4.3. Present your results in a table like Table 3.2.2.
9.
2x + 1
,
5y4 + 1
y(2) = 1.
(A)
Use the improved Euler method with step sizes h = 0.1, h = 0.05, and h = 0.025 to find
approximate values of the solution of (A) at x = 2.0, 2.1, 2.2, 2.3, . . . , 3.0. Present your results in
tabular form. To check the error in these approximate values, construct another table of values of
the residual
R(x, y) = y5 + y x2 x + 4
for each value of (x, y) appearing in the first table.
10.
4x3 y3 + 2xy5 + 2y
,
3x4 y2 + 5x2 y4 + 2x
y(1) = 1.
(A)
Use the improved Euler method with step sizes h = 0.1, h = 0.05, and h = 0.025 to find
approximate values of the solution of (A) at x = 1.0, 1.14, 1.2, 1.3, . . . , 2.0. Present your results
in tabular form. To check the error in these approximate values, construct another table of values
of the residual
R(x, y) = x4 y3 + x2 y5 + 2xy 4
C Use the improved Euler method with step sizes h = 0.1, h = 0.05, and h = 0.025 to find
approximate values of the solution of the initial value problem
(3y2 + 4y)y0 + 2x + cos x = 0,
at x = 0, 0.1, 0.2, 0.3, . . . , 1.0.
C Use the improved Euler method with step sizes h = 0.1, h = 0.05, and h = 0.025 to find
approximate values of the solution of the initial value problem
y0 +
(y + 1)(y 1)(y 2)
= 0,
x+1
C Use the improved Euler method and the improved Euler semilinear method with step sizes
h = 0.1, h = 0.05, and h = 0.025 to find approximate values of the solution of the initial value
problem
y0 + 3y = e3x (1 2x), y(0) = 2,
at x = 0, 0.1, 0.2, 0.3, . . . , 1.0. Compare these approximate values with the values of the exact
solution y = e3x (2 + x x2 ), which can be obtained by the method of Section 2.1. Do you
notice anything special about the results? Explain.
The linear initial value problems in Exercises 1419 cant be solved exactly in terms of known elementary
functions. In each exercise use the improved Euler and improved Euler semilinear methods with the
indicated step sizes to find approximate values of the solution of the given initial value problem at 11
equally spaced points (including the endpoints) in the interval.
1
,
1 + x2
14.
C y0 2y =
15.
C y0 + 2xy = x2 ,
16.
C y0 +
17.
18.
19.
y(2) = 2;
(Exercise 2.1.38)
1
sin x
y = 2 , y(1) = 2, h = 0.2, 0.1, 0.05 on [1, 3] (Exercise 2.1.39)
x
x
ex tan x
0
C y +y =
, y(1) = 0; h = 0.05, 0.025, 0.0125 on [1, 1.5] (Exercise 2.1.40),
x
2x
ex
C y0 +
y
=
, y(0) = 1; h = 0.2, 0.1, 0.05 on [0, 2] (Exercise 2.1.41)
1 + x2
(1 + x2 )2
2
C xy0 + (x + 1)y = ex ,
In Exercises 2022 use the improved Euler method and the improved Euler semilinear method with the
indicated step sizes to find approximate values of the solution of the given initial value problem at 11
equally spaced points (including the endpoints) in the interval.
20.
21.
22.
C y0 + 2y =
23.
24.
25.
26.
27.
29.
30.
31.
Show that if f, fx , fy , fxx , fyy , and fxy are continuous and bounded for all (x, y) and y is the
solution of the initial value problem
y0 = f(x, y),
00
then y and y
32.
119
000
y(x0 ) = y0 ,
are bounded.
i=1
(where h = (b a)/n)
(A)
y(a) = 0.
(b) The quadrature formula (A) is called the trapezoid rule. Draw a figure that justifies this
terminology.
(c) L For several choices of a, b, A, and B, apply (A) to f(x) = A + Bx, with n =
10, 20, 40, 80, 160, 320. Compare your results with the exact answers and explain what you
find.
(d) L For several choices of a, b, A, B, and C, apply (A) to f(x) = A + Bx + Cx2 , with
n = 10, 20, 40, 80, 160, 320. Compare your results with the exact answers and explain what
you find.
y(x0 ) = y0 .
(3.3.1)
k+1
Moreover, it can be shown that a method with local truncation error O(h ) has global truncation error
O(hk ). In Sections 3.1 and 3.2 we studied numerical methods where k = 1 and k = 2. Well skip
methods for which k = 3 and proceed to the Runge-Kutta method, the most widely used method, for
which k = 4. The magnitude of the local truncation error is determined by the fifth derivative y(5) of
the solution of the initial value problem. Therefore the local truncation error will be larger where |y(5) |
is large, or smaller where |y(5) | is small. The Runge-Kutta method computes approximate values y1 , y2 ,
. . . , yn of the solution of (3.3.1) at x0 , x0 + h, . . . , x0 + nh as follows: Given yi , compute
k1i
k2i
k3i
k4i
= f(xi , yi ),
h
h
= f xi + , yi + k1i ,
2
2
h
h
= f xi + , yi + k2i ,
2
2
= f(xi + h, yi + hk3i ),
and
h
(k1i + 2k2i + 2k3i + k4i ).
6
The next example, which deals with the initial value problem considered in Examples 3.1.1 and 3.2.1,
illustrates the computational procedure indicated in the Runge-Kutta method.
yi+1 = yi +
y(0) = 1,
=
=
=
=
f(x0 , y0 ) = f(0, 1) = 2,
f(x0 + h/2, y0 + hk10/2) = f(.05, 1 + (.05)(2))
f(.05, .9) = 2(.9) + (.05)3 e.1 = 1.799886895,
f(x0 + h/2, y0 + hk20/2) = f(.05, 1 + (.05)(1.799886895))
k40
=
=
=
y1
k30
=
k11
k21
=
=
=
k31
=
=
=
=
k41
y2
=
=
=
y(0) = 1
121
at x = 0, 0.1, 0.2, 0.3, . . . , 1.0. For comparison, it also shows the corresponding approximate values
obtained with the improved Euler method in Example 3.2.2, and the values of the exact solution
y=
e2x 4
(x + 4).
4
The results obtained by the Runge-Kutta method are clearly better than those obtained by the improved
Euler method in fact; the results obtained by the Runge-Kutta method with h = 0.1 are better than those
obtained by the improved Euler method with h = 0.05.
Table 3.3.1. Numerical solution of y0 + 2y = x3 e2x, y(0) = 1, by the Runge-Kuttta
method and the improved Euler method.
x
0.0
0.1
0.2
0.3
0.4
0.5
0.6
0.7
0.8
0.9
1.0
h = 0.1
h = 0.05
1.000000000 1.000000000
0.820040937 0.819050572
0.672734445 0.671086455
0.552597643 0.550543878
0.455160637 0.452890616
0.376681251 0.374335747
0.313970920 0.311652239
0.264287611 0.262067624
0.225267702 0.223194281
0.194879501 0.192981757
0.171388070 0.169680673
Improved Euler
h = 0.1
h = 0.05
1.000000000 1.000000000
0.818753803 0.818751370
0.670592417 0.670588418
0.549928221 0.549923281
0.452210430 0.452205001
0.373633492 0.373627899
0.310958768 0.310953242
0.261404568 0.261399270
0.222575989 0.222571024
0.192416882 0.192412317
0.169173489 0.169169356
Runge-Kutta
Exact
1.000000000
0.818751221
0.670588174
0.549922980
0.452204669
0.373627557
0.310952904
0.261398947
0.222570721
0.192412038
0.169169104
Exact
Example 3.3.3 Table 3.3.2 shows analogous results for the nonlinear initial value problem
y0 = 2y2 + xy + x2 , y(0) = 1.
We applied the improved Euler method to this problem in Example 3.
Table 3.3.2. Numerical solution of y0 = 2y2 + xy + x2 , y(0) = 1, by the Runge-Kuttta
method and the improved Euler method.
x
0.0
0.1
0.2
0.3
0.4
0.5
0.6
0.7
0.8
0.9
1.0
h = 0.1
h = 0.05
1.000000000 1.000000000
0.840500000 0.838288371
0.733430846 0.730556677
0.661600806 0.658552190
0.615961841 0.612884493
0.591634742 0.588558952
0.586006935 0.582927224
0.597712120 0.594618012
0.626008824 0.622898279
0.670351225 0.667237617
0.730069610 0.726985837
Improved Euler
h = 0.1
h = 0.05
1.000000000 1.000000000
0.837587192 0.837584759
0.729644487 0.729642155
0.657582449 0.657580598
0.611903380 0.611901969
0.587576716 0.587575635
0.581943210 0.581942342
0.593630403 0.593629627
0.621908378 0.621907553
0.666251988 0.666250942
0.726017378 0.726015908
Runge-Kutta
Exact
1.000000000
0.837584494
0.729641890
0.657580377
0.611901791
0.587575491
0.581942225
0.593629526
0.621907458
0.666250842
0.726015790
Exact
h = 0.2
3.000000000
3.327846400
3.966044973
5.066996754
6.936534178
10.184232252
16.064344805
27.278771833
49.960553660
98.834337815
211.393800152
h = 0.1
3.000000000
3.327851633
3.966058535
5.067037123
6.936690679
10.184877733
16.066915583
27.288605217
49.997313966
98.971146146
211.908445283
h = 0.05
3.000000000
3.327851952
3.966059300
5.067039396
6.936700320
10.184920997
16.067098699
27.289338955
50.000165744
98.982136702
211.951167637
Exact
3.000000000
3.327851973
3.966059348
5.067039535
6.936700945
10.184923955
16.067111677
27.289392347
50.000377775
98.982969504
211.954462214
h = 0.2
3.000000000
3.327853286
3.966061755
5.067042602
6.936704019
10.184926171
16.067111961
27.289389418
50.000370152
98.982955511
211.954439983
h = 0.1
3.000000000
3.327852055
3.966059497
5.067039725
6.936701137
10.184924093
16.067111696
27.289392167
50.000377302
98.982968633
211.954460825
h = 0.05
3.000000000
3.327851978
3.966059357
5.067039547
6.936700957
10.184923963
16.067111678
27.289392335
50.000377745
98.982969450
211.954462127
Exact
3.000000000
3.327851973
3.966059348
5.067039535
6.936700945
10.184923955
16.067111677
27.289392347
50.000377775
98.982969504
211.954462214
y(x0 ) = y0
(3.3.3)
on an interval [x0, b], for which x0 is the left endpoint. We havent discussed numerical methods for
solving (3.3.3) on an interval [a, x0], for which x0 is the right endpoint. To be specific, how can we
obtain approximate values y1 , y2 , . . . , yn of the solution of (3.3.3) at x0 h, . . . , x0 nh, where
h = (x0 a)/n? Heres the answer to this question:
Consider the initial value problem
z 0 = f(x, z),
z(x0 ) = y0 ,
(3.3.4)
on the interval [x0 , a], for which x0 is the left endpoint. Use a numerical method to obtain approximate values z1 , z2 , . . . , zn of the solution of (3.3.4) at x0 + h, x0 + 2h, . . . , x0 + nh = a. Then
123
2x + 3
,
(y 1)2
y(1) = 4.
(3.3.6)
Since the initial condition y(1) = 4 is imposed at the right endpoint of the interval [0, 1], we apply the
Runge-Kutta method to the initial value problem
z0 =
2x 3
,
(z 1)2
z(1) = 4
(3.3.7)
on the interval [1, 0]. (You should verify that (3.3.7) is related to (3.3.6) as (3.3.4) is related to (3.3.3).)
Table 3.3.5 shows the results. Reversing the order of the rows in Table 3.3.5 and changing the signs of
the values of x yields the first two columns of Table 3.3.6. The last column of Table 3.3.6 shows the exact
values of y, which are given by
y = 1 + (3x2 + 9x + 15)1/3 .
(Since the differential equation in (3.3.6) is separable, this formula can be obtained by the method of
Section 2.2.)
Table 3.3.5. Numerical solution of z 0 =
x
-1.0
-0.9
-0.8
-0.7
-0.6
-0.5
-0.4
-0.3
-0.2
-0.1
0.0
2x 3
, z(1) = 4, on [1, 0].
(z 1)2
z
4.000000000
3.944536474
3.889298649
3.834355648
3.779786399
3.725680888
3.672141529
3.619284615
3.567241862
3.516161955
3.466212070
y
3.466212070
3.516161955
3.567241862
3.619284615
3.672141529
3.725680888
3.779786399
3.834355648
3.889298649
3.944536474
4.000000000
Exact
3.466212074
3.516161958
3.567241864
3.619284617
3.672141530
3.725680889
3.779786399
3.834355648
3.889298649
3.944536474
4.000000000
We leave it to you to develop a procedure for handling the numerical solution of (3.3.3) on an interval
[a, b] such that a < x0 < b (Exercises 26 and 27).
3.3 Exercises
Most of the following numerical exercises involve initial value problems considered in the exercises in
Sections 3.2. Youll find it instructive to compare the results that you obtain here with the corresponding
results that you obtained in those sections.
In Exercises 15 use the Runge-Kutta method to find approximate values of the solution of the given initial
value problem at the points xi = x0 + ih, where x0 is the point where the initial condition is imposed
and i = 1, 2.
1.
2.
3.
4.
5.
6.
C y0 = 2x2 + 3y2 2,
p
C y 0 = y + x2 + y 2 ,
y(2) = 1;
h = 0.05
y(0) = 1;
h = 0.1
C y0 + 3y = x2 3xy + y2 , y(0) = 2;
1+x
C y0 =
, y(2) = 3; h = 0.1
1 y2
C y0 + x2 y = sin xy,
y(1) = ;
h = 0.05
h = 0.2
C Use the Runge-Kutta method with step sizes h = 0.1, h = 0.05, and h = 0.025 to find
approximate values of the solution of the initial value problem
y0 + 3y = 7e4x,
y(0) = 2,
at x = 0, 0.1, 0.2, 0.3, . . . , 1.0. Compare these approximate values with the values of the exact
solution y = e4x + e3x , which can be obtained by the method of Section 2.1. Present your results
in a table like Table 3.3.1.
7.
C Use the Runge-Kutta method with step sizes h = 0.1, h = 0.05, and h = 0.025 to find
approximate values of the solution of the initial value problem
2
3
y = 3 + 1, y(1) = 1
x
x
at x = 1.0, 1.1, 1.2, 1.3, . . . , 2.0. Compare these approximate values with the values of the exact
solution
1
y = 2 (9 ln x + x3 + 2),
3x
which can be obtained by the method of Section 2.1. Present your results in a table like Table 3.3.1.
y0 +
125
C Use the Runge-Kutta method with step sizes h = 0.05, h = 0.025, and h = 0.0125 to find
approximate values of the solution of the initial value problem
y0 =
y2 + xy x2
,
x2
y(1) = 2
at x = 1.0, 1.05, 1.10, 1.15 . . . , 1.5. Compare these approximate values with the values of the
exact solution
x(1 + x2 /3)
y=
,
1 x2 /3
which was obtained in Example 2.2.3. Present your results in a table like Table 3.3.1.
9.
2x + 1
,
5y4 + 1
y(2) = 1.
(A)
Use the Runge-Kutta method with step sizes h = 0.1, h = 0.05, and h = 0.025 to find approximate values of the solution of (A) at x = 2.0, 2.1, 2.2, 2.3, . . . , 3.0. Present your results in tabular
form. To check the error in these approximate values, construct another table of values of the
residual
R(x, y) = y5 + y x2 x + 4
for each value of (x, y) appearing in the first table.
10.
4x3 y3 + 2xy5 + 2y
,
3x4 y2 + 5x2 y4 + 2x
y(1) = 1.
(A)
Use the Runge-Kutta method with step sizes h = 0.1, h = 0.05, and h = 0.025 to find approximate values of the solution of (A) at x = 1.0, 1.1, 1.2, 1.3, . . . , 2.0. Present your results in tabular
form. To check the error in these approximate values, construct another table of values of the
residual
R(x, y) = x4 y3 + x2 y5 + 2xy 4
for each value of (x, y) appearing in the first table.
11.
C Use the Runge-Kutta method with step sizes h = 0.1, h = 0.05, and h = 0.025 to find
approximate values of the solution of the initial value problem
(3y2 + 4y)y0 + 2x + cos x = 0,
at x = 0, 0.1, 0.2, 0.3, . . . , 1.0.
C Use the Runge-Kutta method with step sizes h = 0.1, h = 0.05, and h = 0.025 to find
approximate values of the solution of the initial value problem
y0 +
(y + 1)(y 1)(y 2)
= 0,
x+1
C Use the Runge-Kutta method and the Runge-Kutta semilinear method with step sizes h = 0.1,
h = 0.05, and h = 0.025 to find approximate values of the solution of the initial value problem
y0 + 3y = e3x(1 4x + 3x2 4x3 ),
y(0) = 3
at x = 0, 0.1, 0.2, 0.3, . . . , 1.0. Compare these approximate values with the values of the exact
solution y = e3x (3 x + 2x2 x3 + x4 ), which can be obtained by the method of Section 2.1.
Do you notice anything special about the results? Explain.
The linear initial value problems in Exercises 1419 cant be solved exactly in terms of known elementary
functions. In each exercise use the Runge-Kutta and the Runge-Kutta semilinear methods with the indicated step sizes to find approximate values of the solution of the given initial value problem at 11 equally
spaced points (including the endpoints) in the interval.
1
,
1 + x2
14.
C y0 2y =
15.
16.
17.
18.
19.
C xy0 + (x + 1)y = ex ,
In Exercises 2022 use the Runge-Kutta method and the Runge-Kutta semilinear method with the indicated step sizes to find approximate values of the solution of the given initial value problem at 11 equally
spaced points (including the endpoints) in the interval.
20.
21.
22.
C y0 + 2y =
23.
C Suppose a < x0 , so that x0 < a. Use the chain rule to show that if z is a solution of
z 0 = f(x, z),
z(x0 ) = y0 ,
y(x0 ) = y0 ,
127
C Use the Runge-Kutta method with step sizes h = 0.1, h = 0.05, and h = 0.025 to find
approximate values of the solution of
y0 =
y2 + xy x2
,
x2
y(2) = 1
at x = 1.1, 1.2, 1.3, . . . 2.0. Compare these approximate values with the values of the exact
solution
x(4 3x2 )
y=
,
4 + 3x2
which can be obtained by referring to Example 2.4.3.
25.
C Use the Runge-Kutta method with step sizes h = 0.1, h = 0.05, and h = 0.025 to find
approximate values of the solution of
y0 = x2 y xy2 ,
y(1) = 1
at x = 0, 0.1, 0.2, . . . , 1.
26.
C Use the Runge-Kutta method with step sizes h = 0.1, h = 0.05, and h = 0.025 to find
approximate values of the solution of
y0 +
1
7
y = 2 + 3,
x
x
y(1) =
3
2
at x = 0.5, 0.6,. . . , 1.5. Compare these approximate values with the values of the exact solution
y=
7 ln x 3x
+
,
x
2
C Use the Runge-Kutta method with step sizes h = 0.1, h = 0.05, and h = 0.025 to find
approximate values of the solution of
xy0 + 2y = 8x2 ,
y(2) = 5
at x = 1.0, 1.1, 1.2, . . . , 3.0. Compare these approximate values with the values of the exact
solution
12
y = 2x2 2 ,
x
which can be obtained by the method discussed in Section 2.1.
28.
f(x) dx
n1
n
h
hX
2h X
(f(a) + f(b)) +
f(a + ih) +
f (a + (2i 1)h/2)
6
3 i=1
3 i=1
(A)
(where h = (b a)/n) by applying the Runge-Kutta method to the initial value problem
y0 = f(x),
y(a) = 0.
(c)
CHAPTER 4
Applications of First Order Equations
129
Q0 =
Exponential Growth and Decay
One of the most common mathematical models for a physical process is the exponential model, where
its assumed that the rate of change of a quantity Q is proportional to Q; thus
Q0 = aQ,
(4.1.1)
Q(t0 ) = Q0
is
Q = Q0 ea(tt0 ) .
(4.1.2)
Since the solutions of Q0 = aQ are exponential functions, we say that a quantity Q that satisfies this
equation grows exponentially if a > 0, or decays exponentially if a < 0 (Figure 4.1.1).
Radioactive Decay
Experimental evidence shows that radioactive material decays at a rate proportional to the mass of the
material present. According to this model the mass Q(t) of a radioactive material present at time t
satisfies (4.1.1), where a is a negative constant whose value for any given material must be determined
by experimental observation. For simplicity, well replace the negative constant a by k, where k is a
positive number that well call the decay constant of the material. Thus, (4.1.1) becomes
Q0 = kQ.
If the mass of the material present at t = t0 is Q0 , the mass present at time t is the solution of
Q0 = kQ,
Q(t0 ) = Q0 .
(4.1.3)
The halflife of a radioactive material is defined to be the time required for half of its mass to decay;
that is, if Q(t0 ) = Q0 , then
Q0
Q( + t0 ) =
.
(4.1.4)
2
From (4.1.3) with t = + t0 , (4.1.4) is equivalent to
Q0 ek =
Q0
,
2
131
a>0
Q0
a<0
1
.
2
1
= ln 2,
2
so the half-life is
1
ln 2.
(4.1.5)
k
(Figure 4.1.2). The half-life is independent of t0 and Q0 , since its determined by the properties of
material, not by the amount of the material present at any particular time.
=
(4.1.6)
ln 2
ln 2
=
.
1620
(4.1.7)
.5Q
3
t1 ln 2
=
.
8
1620
ln 8/3
2292.4 years.
ln 2
133
If interest is compounded semiannually, the value of the account is multiplied by (1 + r/2) every 6
months. Since this occurs twice annually, the value of the account after t years is
r 2t
.
Q(t) = Q0 1 +
2
In general, if interest is compounded n times per year, the value of the account is multiplied n times per
year by (1 + r/n); therefore, the value of the account after t years is
r nt
Q(t) = Q0 1 +
.
n
(4.1.8)
Thus, increasing the frequency of compounding increases the value of the account after a fixed period
of time. Table 4.1.7 shows the effect of increasing the number of compoundings over t = 5 years on an
initial deposit of Q0 = 100 (dollars), at an annual interest rate of 6%.
Table 4.1.7. Table The effect of compound interest
n
(number of compoundings
per year)
1
2
4
8
364
5n
.06
$100 1 +
n
(value in dollars
after 5 years)
$133.82
$134.39
$134.68
$134.83
$134.98
You can see from Table 4.1.7 that the value of the account after 5 years is an increasing function of
n. Now suppose the maximum allowable rate of interest on savings accounts is restricted by law, but
the time intervals between successive compoundings isnt ; then competing banks can attract savers by
compounding often. The ultimate step in this direction is to compound continuously, by which we mean
that n in (4.1.8). Since we know from calculus that
r n
= er ,
lim 1 +
n
n
this yields
Q(t)
h
r nt
r n i t
= lim Q0 1 +
= Q0 lim 1 +
n
n
n
n
= Q0 ert .
Q(0) = Q0 ;
that is, with continuous compounding the value of the account grows exponentially.
(4.1.9)
Since we want Q(10) to be $10,000, the initial deposit Q0 must satisfy the equation
10000 = Q0 e.55 ,
(4.1.10)
obtained by setting t = 10 and Q(10) = 10000 in (4.1.9). Solving (4.1.10) for Q0 yields
Q0 = 10000e.55 $5769.50.
Mixed Growth and Decay
Example 4.1.4 A radioactive substance with decay constant k is produced at a constant rate of a units of
mass per unit time.
(a) Assuming that Q(0) = Q0 , find the mass Q(t) of the substance present at time t.
(b) Find limt Q(t).
S OLUTION (a) Here
Q0 = rate of increase of Q rate of decrease of Q.
The rate of increase is the constant a. Since Q is radioactive with decay constant k, the rate of decrease
is kQ. Therefore
Q0 = a kQ.
This is a linear first order differential equation. Rewriting it and imposing the initial condition shows that
Q is the solution of the initial value problem
Q0 + kQ = a,
Q(0) = Q0 .
(4.1.11)
Since ekt is a solution of the complementary equation, the solutions of (4.1.11) are of the form Q =
uekt , where u0 ekt = a, so u0 = aekt . Hence,
u=
a kt
e +c
k
135
a/k
and
Q = uekt =
a
as t
k
a
+ cekt .
k
a
+ c or
k
Therefore
Q=
c = Q0
a
a kt
+ Q0
e .
k
k
a
.
k
(4.1.12)
a
.
k
This limit depends only on a and k, and not on Q0 . We say that a/k is the steady state value of Q. From
(4.1.12) we also see that Q approaches its steady state value from above if Q0 > a/k, or from below if
Q0 < a/k. If Q0 = a/k, then Q remains constant (Figure 4.1.3).
Carbon Dating
The fact that Q approaches a steady state value in the situation discussed in Example 4 underlies the
method of carbon dating, devised by the American chemist and Nobel Prize Winner W.S. Libby.
Carbon 12 is stable, but carbon-14, which is produced by cosmic bombardment of nitrogen in the upper
atmosphere, is radioactive with a half-life of about 5570 years. Libby assumed that the quantity of carbon12 in the atmosphere has been constant throughout time, and that the quantity of radioactive carbon-14
ln 2
.
5570
Therefore
Q = Q0 et(ln 2)/5570
if we choose our time scale so that t0 = 0 is the time of death. If we know the present value of Q we can
solve this equation for t, the number of years since death occurred. This yields
t = 5570
ln Q/Q0
.
ln 2
It is given that Q = .42Q0 in the remains of individuals who died first. Therefore these deaths occurred
about
ln .42
t1 = 5570
6971
ln 2
years ago. For the most recent deaths, Q = .44Q0; hence, these deaths occurred about
t2 = 5570
ln .44
6597
ln 2
years ago. Therefore its reasonable to conclude that the village was founded about 7000 years ago, and
lasted for about 400 years.
A Savings Program
Example 4.1.6 A person opens a savings account with an initial deposit of $1000 and subsequently
deposits $50 per week. Find the value Q(t) of the account at time t > 0, assuming that the bank pays 6%
interest compounded continuously.
Solution Observe that Q isnt continuous, since there are 52 discrete deposits per year of $50 each.
To construct a mathematical model for this problem in the form of a differential equation, we make
the simplifying assumption that the deposits are made continuously at a rate of $2600 per year. This
is essential, since solutions of differential equations are continuous functions. With this assumption, Q
increases continuously at the rate
Q0 = 2600 + .06Q
137
(4.1.13)
(Of course, we must recognize that the solution of this equation is an approximation to the true value of
Q at any given time. Well discuss this further below.) Since e.06t is a solution of the complementary
equation, the solutions of (4.1.13) are of the form Q = ue.06t , where u0 e.06t = 2600. Hence, u0 =
2600e.06t,
2600 .06t
u=
e
+c
.06
and
2600
+ ce.06t .
(4.1.14)
Q = ue.06t =
.06
Setting t = 0 and Q = 1000 here yields
c = 1000 +
2600
,
.06
2600 .06t
(e
1),
.06
(4.1.15)
where the first term is the value due to the initial deposit and the second is due to the subsequent weekly
deposits.
Mathematical models must be tested for validity by comparing predictions based on them with the
actual outcome of experiments. Example 6 is unusual in that we can compute the exact value of the
account at any specified time and compare it with the approximate value predicted by (4.1.15) (See
Exercise 21.). The follwing table gives a comparison for a ten year period. Each exact answer corresponds
to the time of the year-end deposit, and each year is assumed to have exactly 52 weeks.
Year
Approximate Value of Q
(Example 4.1.6)
Exact Value of P
(Exercise 21)
Error
QP
1
2
3
4
$ 3741.42
6652.36
9743.30
13,025.38
$ 3739.87
6649.17
9738.37
13,018.60
$ 1.55
3.19
4.93
6.78
16,510.41
16,501.66
8.75
.0530
20,210.94
20,200.11
10.83
.0536
24,140.30
24,127.25
13.05
.0541
28,312.63
28,297.23
15.40
.0544
Percentage Error
(Q P )/P
.0413%
.0479
.0506
.0521
32,742.97
32,725.07
17.90
.0547
10
37,447.27
37,426.72
20.55
.0549
4.1 Exercises
1.
The half-life of a radioactive substance is 3200 years. Find the quantity Q(t) of the substance left
at time t > 0 if Q(0) = 20 g.
2.
The half-life of a radioactive substance is 2 days. Find the time required for a given amount of the
material to decay to 1/10 of its original mass.
3.
A radioactive material loses 25% of its mass in 10 minutes. What is its half-life?
4.
A tree contains a known percentage p0 of a radioactive substance with half-life . When the tree
dies the substance decays and isnt replaced. If the percentage of the substance in the fossilized
remains of such a tree is found to be p1 , how long has the tree been dead?
5.
If tp and tq are the times required for a radioactive material to decay to 1/p and 1/q times its
original mass (respectively), how are tp and tq related?
6.
Find the decay constant k for a radioactive substance, given that the mass of the substance is Q1
at time t1 and Q2 at time t2 .
7.
A process creates a radioactive substance at the rate of 2 g/hr and the substance decays at a rate
proportional to its mass, with constant of proportionality k = .1(hr)1 . If Q(t) is the mass of the
substance at time t, find limt Q(t).
8.
A bank pays interest continuously at the rate of 6%. How long does it take for a deposit of Q0 to
grow in value to 2Q0 ?
9.
At what rate of interest, compounded continuously, will a bank deposit double in value in 8 years?
10.
A savings account pays 5% per annum interest compounded continuously. The initial deposit is
Q0 dollars. Assume that there are no subsequent withdrawals or deposits.
(a) How long will it take for the value of the account to triple?
(b) What is Q0 if the value of the account after 10 years is $100,000 dollars?
11.
A candymaker makes 500 pounds of candy per week, while his large family eats the candy at a
rate equal to Q(t)/10 pounds per week, where Q(t) is the amount of candy present at time t.
(a) Find Q(t) for t > 0 if the candymaker has 250 pounds of candy at t = 0.
(b) Find limt Q(t).
12.
Suppose a substance decays at a yearly rate equal to half the square of the mass of the substance
present. If we start with 50 g of the substance, how long will it be until only 25 g remain?
13.
A super bread dough increases in volume at a rate proportional to the volume V present. If V
increases by a factor of 10 in 2 hours and V (0) = V0 , find V at any time t. How long will it take
for V to increase to 100V0 ?
14.
A radioactive substance decays at a rate proportional to the amount present, and half the original
quantity Q0 is left after 1500 years. In how many years would the original amount be reduced to
3Q0 /4? How much will be left after 2000 years?
15.
A wizard creates gold continuously at the rate of 1 ounce per hour, but an assistant steals it continuously at the rate of 5% of however much is there per hour. Let W (t) be the number of ounces
that the wizard has at time t. Find W (t) and limt W (t) if W (0) = 1.
16.
A process creates a radioactive substance at the rate of 1 g/hr, and the substance decays at an hourly
rate equal to 1/10 of the mass present (expressed in grams). Assuming that there are initially 20 g,
find the mass S(t) of the substance present at time t, and find limt S(t).
139
17.
A tank is empty at t = 0. Water is added to the tank at the rate of 10 gal/min, but it leaks out
at a rate (in gallons per minute) equal to the number of gallons in the tank. What is the smallest
capacity the tank can have if this process is to continue forever?
18.
A person deposits $25,000 in a bank that pays 5% per year interest, compounded continuously.
The person continuously withdraws from the account at the rate of $750 per year. Find V (t), the
value of the account at time t after the initial deposit.
19.
A person has a fortune that grows at rate proportional to the square root of its worth. Find the
worth W of the fortune as a function of t if it was $1 million 6 months ago and is $4 million today.
20.
Let p = p(t) be the quantity of a product present at time t. The product is manufactured continuously at a rate proportional to p, with proportionality constant 1/2, and its consumed continuously
at a rate proportional to p2 , with proportionality constant 1/8. Find p(t) if p(0) = 100.
21.
(a) In the situation of Example 4.1.6 find the exact value P (t) of the persons account after t
years, where t is an integer. Assume that each year has exactly 52 weeks, and include the
year-end deposit in the computation.
H INT: At time t the initial $1000 has been on deposit for t years. There have been 52t
deposits of $50 each. The first $50 has been on deposit for t 1/52 years, the second for
t 2/52 years in general, the jth $50 has been on deposit for t j/52 years (1
j 52t). Find the present value of each $50 deposit assuming 6% interest compounded
continuously, and use the formula
1 + x + x2 + + xn =
1 xn+1
(x 6= 1)
1x
Q(t) P (t)
P (t)
22.
A homebuyer borrows P0 dollars at an annual interest rate r, agreeing to repay the loan with equal
monthly payments of M dollars per month over N years.
(a) Derive a differential equation for the loan principal (amount that the homebuyer owes) P (t)
at time t > 0, making the simplifying assumption that the homebuyer repays the loan continuously rather than in discrete steps. (See Example 4.1.6 .)
(b) Solve the equation derived in (a).
(c) Use the result of (b) to determine an approximate value for M assuming that each year has
exactly 12 months of equal length.
(d) It can be shown that the exact value of M is given by
M=
1
rP0
1 (1 + r/12)12N
.
12
Compare the value of M obtained from the answer in (c) to the exact value if (i) P0 =
$50, 000, r = 7 21 %, N = 20 (ii) P0 = $150, 000, r = 9.0%, N = 30.
23.
Assume that the homebuyer of Exercise 22 elects to repay the loan continuously at the rate of M
dollars per month, where is a constant greater than 1. (This is called accelerated payment.)
25.
A benefactor wishes to establish a trust fund to pay a researchers salary for T years. The salary
is to start at S0 dollars per year and increase at a fractional rate of a per year. Find the amount
of money P0 that the benefactor must deposit in a trust fund paying interest at a rate r per year.
Assume that the researchers salary is paid continuously, the interest is compounded continuously,
and the salary increases are granted continuously.
L A radioactive substance with decay constant k is produced at the rate of
at
1 + btQ(t)
units of mass per unit time, where a and b are positive constants and Q(t) is the mass of the
substance present at time t; thus, the rate of production is small at the start and tends to slow when
Q is large.
(a) Set up a differential equation for Q.
(b) Choose your own positive values for a, b, k, and Q0 = Q(0). Use a numerical method to
discover what happens to Q(t) as t . (Be precise, expressing your conclusions in terms
of a, b, k. However, no proof is required.)
26.
L Follow the instructions of Exercise 25, assuming that the substance is produced at the rate of
at/(1 + bt(Q(t))2 ) units of mass per unit of time.
27.
L Follow the instructions of Exercise 25, assuming that the substance is produced at the rate of
at/(1 + bt) units of mass per unit of time.
Here k > 0, since the temperature of the object must decrease if T > Tm , or increase if T < Tm . Well
call k the temperature decay constant of the medium.
For simplicity, in this section well assume that the medium is maintained at a constant temperature Tm .
This is another example of building a simple mathematical model for a physical phenomenon. Like most
mathematical models it has its limitations. For example, its reasonable to assume that the temperature of
a room remains approximately constant if the cooling object is a cup of coffee, but perhaps not if its a
huge cauldron of molten metal. (For more on this see Exercise 17.)
To solve (4.2.1), we rewrite it as
T 0 + kT = kTm .
Since ekt is a solution of the complementary equation, the solutions of this equation are of the form
T = uekt , where u0 ekt = kTm , so u0 = kTm ekt . Hence,
u = Tm ekt + c,
141
so
T = uekt = Tm + cekt .
If T (0) = T0 , setting t = 0 here yields c = T0 Tm , so
T = Tm + (T0 Tm )ekt .
(4.2.2)
(4.2.3)
We determine k from the stated condition that T (4) = 200; that is,
200 = 25 + 375e4k ;
hence,
e4k =
7
175
=
.
375
15
T = 25 + 375e 4 ln
15
7
15
= 25 + 375e2 ln 7
2
7
= 25 + 375
107 C.
15
Example 4.2.2 An object with temperature 72 F is placed outside, where the temperature is 20 F. At
11:05 the temperature of the object is 60 F and at 11:07 its temperature is 50 F. At what time was the
object placed outside?
Solution Let T (t) be the temperature of the object at time t. For convenience, we choose the origin
t0 = 0 of the time scale to be 11:05 so that T0 = 60. We must determine the time when T ( ) = 72.
Substituting T0 = 60 and Tm = 20 into (4.2.2) yields
T = 20 + 60 (20) ekt
or
T = 20 + 80ekt .
(4.2.4)
T
400
350
300
250
200
150
100
50
t
5
10
15
20
25
30
7
70
= .
80
8
T = 20 + 80e 2 ln 7 ,
and the condition T ( ) = 72 implies that
72 = 20 + 80e 2 ln 7 ;
hence,
e 2 ln 7 =
92
23
=
.
80
20
23
2 ln 20
2.09 min.
ln 87
143
100
80
T=72
60
40
20
t
5
10
15
20
25
30
35
40
20
4 gal/min; .5 lb/gal
600 gal
4 gal/min
1
lb/gal (4 gal/min) = 2 lb/min.
2
Determining the rate out requires a little more thought. Were removing 4 gallons of the mixture per
minute, and there are always 600 gallons in the tank; that is, were removing 1/150 of the mixture per
minute. Since the salt is evenly distributed in the mixture, we are also removing 1/150 of the salt per
minute. Therefore, if there are Q(t) pounds of salt in the tank at time t, the rate out at any time t is
Q(t)/150. Alternatively, we can arrive at this conclusion by arguing that
rate out = (concentration) (rate of flow out)
= (lb/gal) (gal/min)
=
Q(t)
Q(t)
4 =
.
600
150
Q
.
150
Q
= 2.
150
Since et/150 is a solution of the complementary equation, the solutions of this equation are of the form
Q = uet/150, where u0 et/150 = 2, so u0 = 2et/150 . Hence,
u = 300et/150 + c,
145
Q
300
250
200
150
100
50
t
100
200
300
400
500
600
700
800
900
(4.2.6)
2t+200 liters
1
g/liter (4 liters/min ) = 1 g/min.
(4.2.8)
4
To determine the rate out, we observe that since the mixture is being removed from the tank at the constant
rate of 2 liters/min and there are 2t + 200 liters in the tank at time t, the fraction of the mixture being
removed per minute at time t is
2
1
=
.
2t + 200
t + 100
Were removing this same fraction of the salt per minute. Therefore, since there are Q(t) grams of salt in
the tank at time t,
Q(t)
rate out =
.
(4.2.9)
t + 100
Alternatively, we can arrive at this conclusion by arguing that
rate out =
Q(t)
Q(t)
2 =
.
2t + 200
t + 100
Substituting (4.2.8) and (4.2.9) into (4.2.7) yields
=
Q0 = 1
Q
,
t + 100
so
Q0 +
1
Q = 1.
t + 100
(4.2.10)
By separation of variables, 1/(t + 100) is a solution of the complementary equation, so the solutions of
(4.2.10) are of the form
Q=
u
,
t + 100
where
u0
= 1,
t + 100
so
u0 = t + 100.
147
Hence,
(t + 100)2
+ c.
2
Since Q(0) = 10 and u = (t + 100)Q, (4.2.11) implies that
u=
(100)(10) =
so
c = 100(10)
and therefore
u=
Hence,
Q=
(4.2.11)
(100)2
+ c,
2
(100)2
= 4000
2
(t + 100)2
4000.
2
t + 100
4000
u
=
.
t + 200
2
t + 100
1
2000
4 (t + 100)2
(Figure 4.2.6).
K
.25
.20
.15
.10
.05
200
400
600
1
2000
4 (t + 100)2
800
1000
4.2 Exercises
1.
A thermometer is moved from a room where the temperature is 70F to a freezer where the temperature is 12F . After 30 seconds the thermometer reads 40 F. What does it read after 2 minutes?
2.
A fluid initially at 100 C is placed outside on a day when the temperature is 10 C, and the
temperature of the fluid drops 20 C in one minute. Find the temperature T (t) of the fluid for
t > 0.
3.
4.
A thermometer initially reading 212 F is placed in a room where the temperature is 70 F. After 2
minutes the thermometer reads 125F.
(a) What does the thermometer read after 4 minutes?
(b) When will the thermometer read 72F?
(c) When will the thermometer read 69F?
5.
An object with initial temperature 150C is placed outside, where the temperature is 35C. Its
temperatures at 12:15 and 12:20 are 120C and 90C, respectively.
(a) At what time was the object placed outside?
(b) When will its temperature be 40 C?
6.
An object is placed in a room where the temperature is 20 C. The temperature of the object drops
by 5 C in 4 minutes and by 7 C in 8 minutes. What was the temperature of the object when it was
initially placed in the room?
7.
A cup of boiling water is placed outside at 1:00 PM . One minute later the temperature of the water
is 152F. After another minute its temperature is 112 F. What is the outside temperature?
8.
A tank initially contains 40 gallons of pure water. A solution with 1 gram of salt per gallon of
water is added to the tank at 3 gal/min, and the resulting solution dranes out at the same rate. Find
the quantity Q(t) of salt in the tank at time t > 0.
9.
A tank initially contains a solution of 10 pounds of salt in 60 gallons of water. Water with 1/2
pound of salt per gallon is added to the tank at 6 gal/min, and the resulting solution leaves at the
same rate. Find the quantity Q(t) of salt in the tank at time t > 0.
10.
A tank initially contains 100 liters of a salt solution with a concentration of .1 g/liter. A solution
with a salt concentration of .3 g/liter is added to the tank at 5 liters/min, and the resulting mixture
is drained out at the same rate. Find the concentration K(t) of salt in the tank as a function of t.
11.
A 200 gallon tank initially contains 100 gallons of water with 20 pounds of salt. A salt solution
with 1/4 pound of salt per gallon is added to the tank at 4 gal/min, and the resulting mixture is
drained out at 2 gal/min. Find the quantity of salt in the tank as its about to overflow.
12.
Suppose water is added to a tank at 10 gal/min, but leaks out at the rate of 1/5 gal/min for each
gallon in the tank. What is the smallest capacity the tank can have if the process is to continue
indefinitely?
13.
A chemical reaction in a laboratory with volume V (in ft3 ) produces q1 ft3 /min of a noxious gas as
a byproduct. The gas is dangerous at concentrations greater than c, but harmless at concentrations
c. Intake fans at one end of the laboratory pull in fresh air at the rate of q2 ft3 /min and exhaust
fans at the other end exhaust the mixture of gas and air from the laboratory at the same rate.
149
Assuming that the gas is always uniformly distributed in the room and its initial concentration c0
is at a safe level, find the smallest value of q2 required to maintain safe conditions in the laboratory
for all time.
14.
A 1200-gallon tank initially contains 40 pounds of salt dissolved in 600 gallons of water. Starting
at t0 = 0, water that contains 1/2 pound of salt per gallon is added to the tank at the rate of 6
gal/min and the resulting mixture is drained from the tank at 4 gal/min. Find the quantity Q(t) of
salt in the tank at any time t > 0 prior to overflow.
15.
Tank T1 initially contain 50 gallons of pure water. Starting at t0 = 0, water that contains 1 pound
of salt per gallon is poured into T1 at the rate of 2 gal/min. The mixture is drained from T1 at the
same rate into a second tank T2 , which initially contains 50 gallons of pure water. Also starting at
t0 = 0, a mixture from another source that contains 2 pounds of salt per gallon is poured into T2
at the rate of 2 gal/min. The mixture is drained from T2 at the rate of 4 gal/min.
(a) Find a differential equation for the quantity Q(t) of salt in tank T2 at time t > 0.
(b) Solve the equation derived in (a) to determine Q(t).
(c) Find limt Q(t).
16.
Suppose an object with initial temperature T0 is placed in a sealed container, which is in turn placed
in a medium with temperature Tm . Let the initial temperature of the container be S0 . Assume that
the temperature of the object does not affect the temperature of the container, which in turn does
not affect the temperature of the medium. (These assumptions are reasonable, for example, if the
object is a cup of coffee, the container is a house, and the medium is the atmosphere.)
(a) Assuming that the container and the medium have distinct temperature decay constants k and
km respectively, use Newtons law of cooling to find the temperatures S(t) and T (t) of the
container and object at time t.
(b) Assuming that the container and the medium have the same temperature decay constant k,
use Newtons law of cooling to find the temperatures S(t) and T (t) of the container and
object at time t.
(c) Find lim .tS(t) and limt T (t) .
17.
In our previous examples and exercises concerning Newtons law of cooling we assumed that the
temperature of the medium remains constant. This model is adequate if the heat lost or gained by
the object is insignificant compared to the heat required to cause an appreciable change in the temperature of the medium. If this isnt so, 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 T0 and Tm0 be their initial values. Again, we assume
that T and Tm are related by Newtons law of cooling,
T 0 = k(T Tm ).
(A)
We also assume that the change in heat of the object as its temperature changes from T0 to T is
a(T T0 ) and that the change in heat of the medium as its temperature changes from Tm0 to Tm
is am (Tm Tm0 ), 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 system
consisting of the object and the medium remains constant (that is, energy is conserved), then
a(T T0 ) + am (Tm Tm0 ) = 0.
(B)
(a) Equation (A) involves two unknown functions T and Tm . Use (A) and (B) to derive a differential equation involving only T .
Control mechanisms allow fluid to flow into a tank at a rate proportional to the volume V of fluid
in the tank, and to flow out at a rate proportional to V 2 . Suppose V (0) = V0 and the constants of
proportionality are a and b, respectively. Find V (t) for t > 0 and find limt V (t).
19.
Identical tanks T1 and T2 initially contain W gallons each of pure water. Starting at t0 = 0, a
salt solution with constant concentration c is pumped into T1 at r gal/min and drained from T1
into T2 at the same rate. The resulting mixture in T2 is also drained at the same rate. Find the
concentrations c1 (t) and c2 (t) in tanks T1 and T2 for t > 0.
20.
21.
Tanks T1 and T2 have capacities W1 and W2 liters, respectively. Initially they are both full of dye
solutions with concentrations c1 and c2 grams per liter. Starting at t0 = 0, the solution from T1 is
pumped into T2 at a rate of r liters per minute, and the solution from T2 is pumped into T1 at the
same rate.
(a) Find the concentrations c1 (t) and c2 (t) of the dye in T1 and T2 for t > 0.
(b) Find limt c1 (t) and limt c2 (t).
22.
L Consider the mixing problem of Example 4.2.3, but without the assumption that the mixture
is stirred instantly so that the salt is always uniformly distributed throughout the mixture. Assume
instead that the distribution approaches uniformity as t . In this case the differential equation
for Q is of the form
a(t)
Q0 +
Q=2
150
where limt a(t) = 1.
(a) Assuming that Q(0) = Q0 , can you guess the value of limt Q(t)?.
(b) Use numerical methods to confirm your guess in the these cases:
(i) a(t) = t/(1 + t) (ii) a(t) = 1 et
23.
L Consider the mixing problem of Example 4.2.4 in a tank with infinite capacity, but without
the assumption that the mixture is stirred instantly so that the salt is always uniformly distributed
throughout the mixture. Assume instead that the distribution approaches uniformity as t . In
this case the differential equation for Q is of the form
Q0 +
a(t)
Q=1
t + 100
151
(4.3.1)
Units
In applications there are three main sets of units in use for length, mass, force, and time: the cgs, mks, and
British systems. All three use the second as the unit of time. Table 1 shows the other units. Consistent
with (4.3.1), the unit of force in each system is defined to be the force required to impart an acceleration
of (one unit of length)/s2 to one unit of mass.
cgs
mks
British
Length
centimeter (cm)
meter (m)
foot (ft)
Force
dyne (d)
newton (N)
pound (lb)
Mass
gram (g)
kilogram (kg)
slug (sl)
Table 1.
If we assume that Earth is a perfect sphere with constant mass density, Newtons law of gravitation
(discussed later in this section) asserts that the force exerted on an object by Earths gravitational field
is proportional to the mass of the object and inversely proportional to the square of its distance from the
center of Earth. However, if the object remains sufficiently close to Earths surface, we may assume that
the gravitational force is constant and equal to its value at the surface. The magnitude of this force is
mg, where g is called the acceleration due to gravity. (To be completely accurate, g should be called
the magnitude of the acceleration due to gravity at Earths surface.) This quantity has been determined
experimentally. Approximate values of g are
g
g
g
= 980 cm/s2
= 9.8 m/s2
= 32 ft/s2
(cgs)
(mks)
(British).
In general, the force F in (4.3.1) may depend upon t, y, and y0 . Since a = y00 , (4.3.1) can be written in
the form
my00 = F (t, y, y0 ),
(4.3.2)
which is a second order equation. Well consider this equation with restrictions on F later; however, since
Chapter 2 dealt only with first order equations, we consider here only problems in which (4.3.2) can be
recast as a first order equation. This is possible if F does not depend on y, so (4.3.2) is of the form
my00 = F (t, y0 ).
Letting v = y0 and v0 = y00 yields a first order equation for v:
mv0 = F (t, v).
(4.3.3)
(4.3.4)
where mg is the force due to gravity and F1 is the resisting force of the medium, which has magnitude
k|v|, where k is a positive constant. If the object is moving downward (v 0), the resisting force is
upward (Figure 4.3.1(a)), so
F1 = k|v| = k(v) = kv.
On the other hand, if the object is moving upward (v 0), the resisting force is downward (Figure 4.3.1(b)), so
F1 = k|v| = kv.
Thus, (4.3.4) can be written as
F = mg kv,
(4.3.5)
k
v = g.
(4.3.6)
m
Since ekt/m is a solution of the complementary equation, the solutions of (4.3.6) are of the form v =
uekt/m , where u0 ekt/m = g, so u0 = gekt/m . Hence,
v0 +
u=
mg kt/m
e
+ c,
k
so
v = uekt/m =
Since v(0) = v0 ,
v0 =
mg
+ cekt/m .
k
mg
+ c,
k
(4.3.7)
153
v
F = kv
1
F1 = kv
v
(a)
(b)
mg
k
mg
mg kt/m
+ v0 +
e
.
k
k
Letting t here shows that the terminal velocity is
v=
lim v(t) =
mg
,
k
1
v = 32.
10
mg/k
(4.3.8)
The initial velocity is 60 ft/s in the upward (positive) direction; hence, v0 = 60. Substituting t = 0 and
v = 60 in (4.3.8) yields
60 = 320 + c,
so c = 380, and (4.3.8) becomes
v = 320 + 380et/10 ft/s
The terminal velocity is
lim v(t) = 320 ft/s.
Example 4.3.3 A 10 kg mass is given an initial velocity v0 0 near Earths surface. The only forces
acting on it are gravity and atmospheric resistance proportional to the square of the speed. Assuming that
the resistance is 8 N if the speed is 2 m/s, find the velocity of the object as a function of t, and find the
terminal velocity.
Solution Since the object is falling, the resistance is in the upward (positive) direction. Hence,
mv0 = mg + kv2 ,
(4.3.9)
155
(4.3.10)
.
v2 49
(v 7)(v + 7)
14 v 7 v + 7
v2
(4.3.11)
(4.3.12)
so
1
1
1
1
v0 = ,
14 v 7 v + 7
5
1
14
1
v0 =
.
v7 v+7
5
ln |v 7| ln |v + 7| = 14t/5 + k.
v 7
k 14t/5
.
v + 7 = e e
Since Theorem 2.3.1 implies that (v 7)/(v + 7) cant change sign (why?), we can rewrite the last
equation as
v7
= ce14t/5,
(4.3.13)
v+7
which is an implicit solution of (4.3.10). Solving this for v yields
v = 7
Since v(0) = v0 , it (4.3.13) implies that
c + e14t/5
.
c e14t/5
(4.3.14)
v0 7
.
v0 + 7
Substituting this into (4.3.14) and simplifying yields
c=
v = 7
Since v0 0, v is defined and negative for all t > 0. The terminal velocity is
lim v(t) = 7 m/s,
independent of v0 . More generally, it can be shown (Exercise 11) that if v is any solution of (4.3.9) such
that v0 0 then
r
mg
lim v(t) =
t
k
(Figure 4.3.3).
v = (mg/k)1/2
(4.3.15)
5
v0 = 1,
+ 49
5
v
tan1 = t + c.
7
7
(Recall that tan1 u is the number such that /2 < < /2 and tan = u.) Since v(0) = v0 ,
c=
5
v0
tan1 ,
7
7
so v is defined implicitly by
5
v
5
v0
tan1 = t + tan1 ,
7
7
7
7
0 t T.
(4.3.16)
157
v
50
40
30
20
10
0.2
0.4
0.6
0.8
7t
v0
v = 7 tan + tan1
5
7
(4.3.17)
tan A tan B
1 + tan A tan B
with A = tan1 (v0 /7) and B = 7t/5, and noting that tan(tan1 ) = , we can simplify (4.3.17) to
v=7
v0 7 tan(7t/5)
.
7 + v0 tan(7t/5)
5
v0
tan1
= 0.
7
7
Therefore
T =
5
v0
tan1 .
7
7
Since tan1 (v0 /7) < /2 for all v0 , the time required for the mass to reach its maximum altitude is less
than
5
1.122 s
14
regardless of the initial velocity. Figure 4.3.4 shows graphs of v over [0, T ] for various values of v0 .
y=h
y=0
y=R
K
,
(y + R)2
(4.3.18)
K
;
R2
mgR2
.
(y + R)2
d2 y
,
dt2
(4.3.19)
159
.
dt2
(y + R)2
Well show that theres a number ve , called the escape velocity, with these properties:
(4.3.20)
1. If v0 ve then v(t) > 0 for all t > 0, and the vehicle continues to climb for all t > 0; that is,
it escapes Earth. (Is it really so obvious that limt y(t) = in this case? For a proof, see
Exercise 20.)
2. If v0 < ve then v(t) decreases to zero and becomes negative. Therefore the vehicle attains a
maximum altitude ym and falls back to Earth.
Since (4.3.20) is second order, we cant solve it by methods discussed so far. However, were concerned
with v rather than y, and v is easier to find. Since v = y0 the chain rule implies that
d2 y
dv
dv dy
dv
=
=
=v .
dt2
dt
dy dt
dy
Substituting this into (4.3.20) yields the first order separable equation
v
dv
gR2
=
.
dy
(y + R)2
(4.3.21)
When t = 0, the velocity is v0 and the altitude is h. Therefore we can obtain v as a function of y by
solving the initial value problem
v
dv
gR2
=
,
dy
(y + R)2
v(h) = v0 .
v02
gR2
,
2
h+R
v2
gR2
=
+
2
y+R
If
v0
(4.3.22)
v02
gR2
2
h+R
2gR2
h+R
1/2
(4.3.23)
the parenthetical expression in (4.3.23) is nonnegative, so v(y) > 0 for y > h. This proves that theres an
escape velocity ve . Well now prove that
1/2
2gR2
ve =
h+R
by showing that the vehicle falls back to Earth if
1/2
2gR2
v0 <
.
h+R
(4.3.24)
.
ym + R
2
h+R
The velocity will be zero at the maximum altitude, and the object will then fall to Earth under the influence
of gravity.
4.3 Exercises
Except where directed otherwise, assume that the magnitude of the gravitational force on an object with
mass m is constant and equal to mg. In exercises involving vertical motion take the upward direction to
be positive.
1.
A firefighter who weighs 192 lb slides down an infinitely long fire pole that exerts a frictional
resistive force with magnitude proportional to his speed, with k = 2.5 lb-s/ft. Assuming that he
starts from rest, find his velocity as a function of time and find his terminal velocity.
2.
A firefighter who weighs 192 lb slides down an infinitely long fire pole that exerts a frictional
resistive force with magnitude proportional to her speed, with constant of proportionality k. Find
k, given that her terminal velocity is -16 ft/s, and then find her velocity v as a function of t. Assume
that she starts from rest.
3.
A boat weighs 64,000 lb. Its propellor produces a constant thrust of 50,000 lb and the water exerts
a resistive force with magnitude proportional to the speed, with k = 2000 lb-s/ft. Assuming that
the boat starts from rest, find its velocity as a function of time, and find its terminal velocity.
4.
A constant horizontal force of 10 N pushes a 20 kg-mass through a medium that resists its motion
with .5 N for every m/s of speed. The initial velocity of the mass is 7 m/s in the direction opposite
to the direction of the applied force. Find the velocity of the mass for t > 0.
5.
A stone weighing 1/2 lb is thrown upward from an initial height of 5 ft with an initial speed of 32
ft/s. Air resistance is proportional to speed, with k = 1/128 lb-s/ft. Find the maximum height
attained by the stone.
6.
A 3200-lb car is moving at 64 ft/s down a 30-degree grade when it runs out of fuel. Find its
velocity after that if friction exerts a resistive force with magnitude proportional to the square of
the speed, with k = 1 lb-s2 /ft2 . Also find its terminal velocity.
7.
A 96 lb weight is dropped from rest in a medium that exerts a resistive force with magnitude
proportional to the speed. Find its velocity as a function of time if its terminal velocity is -128 ft/s.
8.
An object with mass m moves vertically through a medium that exerts a resistive force with magnitude proportional to the speed. Let y = y(t) be the altitude of the object at time t, with y(0) = y0 .
Use the results of Example 4.3.1 to show that
y(t) = y0 +
9.
m
(v0 v gt).
k
An object with mass m is launched vertically upward with initial velocity v0 from Earths surface
(y0 = 0) in a medium that exerts a resistive force with magnitude proportional to the speed. Find
the time T when the object attains its maximum altitude ym . Then use the result of Exercise 8 to
find ym .
161
An object weighing 256 lb is dropped from rest in a medium that exerts a resistive force with
magnitude proportional to the square of the speed. The magnitude of the resisting force is 1 lb
when |v| = 4 ft/s. Find v for t > 0, and find its terminal velocity.
11.
An object with mass m is given an initial velocity v0 0 in a medium that exerts a resistive force
with magnitude proportional to the square of the speed. Find the velocity of the object for t > 0,
and find its terminal velocity.
12.
An object with mass m is launched vertically upward with initial velocity v0 in a medium that
exerts a resistive force with magnitude proportional to the square of the speed.
(a) Find the time T when the object reaches its maximum altitude.
(b) Use the result of Exercise 11 to find the velocity of the object for t > T .
13.
L An object with mass m is given an initial velocity v0 0 in a medium that exerts a resistive
force of the form a|v|/(1 + |v|), where a is positive constant.
(a) Set up a differential equation for the speed of the object.
(b) Use your favorite numerical method to solve the equation you found in (a), to convince yourself that theres a unique number a0 such that limt s(t) = if a a0 and limt s(t)
exists (finite) if a > a0 . (We say that a0 is the bifurcation value of a.) Try to find a0 and
limt s(t) in the case where a > a0 . H INT: See Exercise 14.
14.
An object of mass m falls in a medium that exerts a resistive force f = f(s), where s = |v| is
the speed of the object. Assume that f(0) = 0 and f is strictly increasing and differentiable on
(0, ).
(a) Write a differential equation for the speed s = s(t) of the object. Take it as given that all
solutions of this equation with s(0) 0 are defined for all t > 0 (which makes good sense
on physical grounds).
(b) Show that if lims f(s) mg then limt s(t) = .
(c) Show that if lims f(s) > mg then limt s(t) = sT (terminal speed), where f(sT ) =
mg. H INT: Use Theorem 2.3.1.
15.
A 100-g mass with initial velocity v0 0 falls in a medium that exerts a resistive force proportional
to the fourth power of the speed. The resistance is .1 N if the speed is 3 m/s.
(a) Set up the initial value problem for the velocity v of the mass for t > 0.
(b) Use Exercise 14(c) to determine the terminal velocity of the object.
(c) C To confirm your answer to (b), use one of the numerical methods studied in Chapter 3
to compute approximate solutions on [0, 1] (seconds) of the initial value problem of (a), with
initial values v0 = 0, 2, 4, . . . , 12. Present your results in graphical form similar to
Figure 4.3.3.
16.
A 64-lb object with initial velocity v0 0 falls through a dense fluid that exerts a resistive force
proportional to the square root of the speed. The resistance is 64 lb if the speed is 16 ft/s.
(a) Set up the initial value problem for the velocity v of the mass for t > 0.
(b) Use Exercise 14(c) to determine the terminal velocity of the object.
(c) C To confirm your answer to (b), use one of the numerical methods studied in Chapter 3
to compute approximate solutions on [0, 4] (seconds) of the initial value problem of (a), with
initial values v0 = 0, 5, 10, . . . , 30. Present your results in graphical form similar to
Figure 4.3.3.
In Exercises 17-20, assume that the force due to gravity is given by Newtons law of gravitation. Take the
upward direction to be positive.
A space probe is to be launched from a space station 200 miles above Earth. Determine its escape
velocity in miles/s. Take Earths radius to be 3960 miles.
18.
A space vehicle is to be launched from the moon, which has a radius of about 1080 miles. The
acceleration due to gravity at the surface of the moon is about 5.31 ft/s2 . Find the escape velocity
in miles/s.
19.
hy 2
v + v02 .
y +R e
(b) Show that if v0 = ve with 0 < 1, then the maximum altitude ym attained by the space
vehicle is
h + R2
.
ym =
1 2
(c) By requiring that v(ym ) = 0, use Eqn. (4.3.22) to deduce that if v0 < ve then
|v| = ve
(1 2 )(ym y)
y+R
1/2
In the situation considered in the discussion of escape velocity, show that limt y(t) = if
v(t) > 0 for all t > 0.
H INT: Use a proof by contradiction. Assume that theres a number ym such that y(t) ym for all
t > 0. Deduce from this that theres positive number such that y00 (t) for all t 0. Show
that this contradicts the assumption that v(t) > 0 for all t > 0.
(4.4.1)
dv
dv dy
dv
=
=v ,
dt
dy dt
dy
dv
= F (y, v).
dy
(4.4.2)
(4.4.3)
(4.4.4)
The integral curves of (4.4.4) can be plotted in the (y, v) plane, which is called the Poincar phase plane
of (4.4.1). If y is a solution of (4.4.1) then y = y(t), v = y0 (t) is a parametric equation for an integral
163
curve of (4.4.4). Well call these integral curves trajectories of (4.4.1), and well call (4.4.4) the phase
plane equivalent of (4.4.1).
In this section well consider autonomous equations that can be written as
y00 + q(y, y0 )y0 + p(y) = 0.
(4.4.5)
Equations of this form often arise in applications of Newtons second law of motion. For example,
suppose y is the displacement of a moving object with mass m. Its reasonable to think of two types
of time-independent forces acting on the object. One type - such as gravity - depends only on position.
We could write such a force as mp(y). The second type - such as atmospheric resistance or friction may depend on position and velocity. (Forces that depend on velocity are called damping forces.) We
write this force as mq(y, y0 )y0 , where q(y, y0 ) is usually a positive function and weve put the factor y0
outside to make it explicit that the force is in the direction opposing the motion. In this case Newtons,
second law of motion leads to (4.4.5).
The phase plane equivalent of (4.4.5) is
v
dv
+ q(y, v)v + p(y) = 0.
dy
(4.4.6)
Some statements that well be making about the properties of (4.4.5) and (4.4.6) are intuitively reasonable,
but difficult to prove. Therefore our presentation in this section will be informal: well just say things
without proof, all of which are true if we assume that p = p(y) is continuously differentiable for all y and
q = q(y, v) is continuously differentiable for all (y, v). We begin with the following statements:
Statement 1. If y0 and v0 are arbitrary real numbers then (4.4.5) has a unique solution on (, )
such that y(0) = y0 and y0 (0) = v0 .
Statement 2.) If y = y(t) is a solution of (4.4.5) and is any constant then y1 = y(t ) is also a
solution of (4.4.5), and y and y1 have the same trajectory.
Statement 3. If two solutions y and y1 of (4.4.5) have the same trajectory then y1 (t) = y(t )
for some constant .
Statement 4. Distinct trajectories of (4.4.5) cant intersect; that is, if two trajectories of (4.4.5)
intersect, they are identical.
Statement 5. If the trajectory of a solution of (4.4.5) is a closed curve then (y(t), v(t)) traverses
the trajectory in a finite time T , and the solution is periodic with period T ; that is, y(t + T ) = y(t)
for all t in (, ).
If y is a constant such that p(y) = 0 then y y is a constant solution of (4.4.5). We say that y is an
equilibrium of (4.4.5) and (y, 0) is a critical point of the phase plane equivalent equation (4.4.6). We say
that the equilibrium and the critical point are stable if, for any given > 0 no matter how small, theres a
> 0, sufficiently small, such that if
q
(y0 y)2 + v02 <
then the solution of the initial value problem
y(0) = y0 ,
y0 (0) = v0
Figure 4.4.1 Stability: if (y0 , v0 ) is in the smaller circle then (y(t), v(t)) is in the larger circle for all
t>0
If an equilibrium and the associated critical point are not stable, we say they are unstable. To see if
you really understand what stable means, try to give a direct definition of unstable (Exercise 22). Well
illustrate both definitions in the following examples.
The Undamped Case
Well begin with the case where q 0, so (4.4.5) reduces to
y00 + p(y) = 0.
(4.4.7)
We say that this equation - as well as any physical situation that it may model - is undamped. The phase
plane equivalent of (4.4.7) is the separable equation
v
dv
+ p(y) = 0.
dy
165
constant, or is conserved. In particular, if a trajectory passes through a given point (y0 , v0 ) then
c=
v02
+ P (y0 ).
2
Example 4.4.1 [The Undamped Spring - Mass System] Consider an object with mass m suspended from
a spring and moving vertically. Let y be the displacement of the object from the position it occupies when
suspended at rest from the spring (Figure 4.4.2).
(a)
(b)
(c)
(4.4.9)
which can be written in the form (4.4.7) with p(y) = ky/m. This equation can be solved easily by a
method that well study in Section 5.2, but that method isnt available here. Instead, well consider the
phase plane equivalent of (4.4.9).
From (4.4.3), we can rewrite (4.4.9) as the separable equation
mv
dv
= ky.
dy
(4.4.10)
( = 2c). This defines an ellipse in the Poincar phase plane (Figure 4.4.3).
We can identify by setting t = 0 in (4.4.10); thus, = mv02 + ky02 , where y0 = y(0) and v0 = v(0).
To determine the maximum and minimum values of y we set v = 0 in (4.4.10); thus,
r
dy
p
= 0 ,
2
ky dt
Since
Z
k dy
p
= sin1
ky2
where
k
y
0 =
+ c = sin1
k
.
m
y
R
(4.4.12)
+c
167
y=R
y=R
g
sin y.
(4.4.13)
L
Since sin n = 0 if n is any integer, (4.4.13) has infinitely many equilibria yn = n. If n is even, the
mass is directly below the axle (Figure 4.4.6 (a)) and gravity opposes any deviation from the equilibrium.
y00 =
dv
g
= sin y,
dy
L
(4.4.14)
v02
g
,
2
L
so (4.4.14) becomes
v2
v2
g
v2
2g
y
= 0 (1 cos y) = 0
sin2 ,
2
2
L
2
L
2
which is equivalent to
y
v2 = v02 vc2 sin2 ,
2
where
vc = 2
g
.
L
(4.4.15)
169
The curves defined by (4.4.15) are the trajectories of (4.4.13). They are periodic with period 2 in y,
which isnt surprising, since if y = y(t) is a solution of (4.4.13) then so is yn = y(t) + 2n for any
integer n. Figure 4.4.7 shows trajectories over the interval [, ]. From (4.4.15), you can see that if
|v0 | > vc then v is nonzero for all t, which means that the object whirls in the same direction forever, as in
Figure 4.4.8. The trajectories associated with this whirling motion are above the upper dashed curve and
below the lower dashed curve in Figure 4.4.7. You can also see from (4.4.15) that if 0 < |v0 | < vc ,then
v = 0 when y = ymax , where
ymax = 2 sin1 (|v0 |/vc ).
In this case the pendulum oscillates periodically between ymax and ymax , as shown in Figure 4.4.9. The
trajectories associated with this kind of motion are the ovals between the dashed curves in Figure 4.4.7.
It can be shown (see Exercise 21 for a partial proof) that the period of the oscillation is
T =8
/2
d
q
(4.4.16)
Although this integral cant be evaluated in terms of familiar elementary functions, you can see that its
finite if |v0 | < vc .
The dashed curves in Figure 4.4.7 contain four trajectories. The critical points (, 0) and (, 0) are
the trajectories of the unstable equilibrium solutions y = . The upper dashed curve connecting (but
not including) them is obtained from initial conditions of the form y(t0 ) = 0, v(t0 ) = vc . If y is any
solution with this trajectory then
lim y(t) =
and
lim y(t) = .
The lower dashed curve connecting (but not including) them is obtained from initial conditions of the
form y(t0 ) = 0, v(t0 ) = vc . If y is any solution with this trajectory then
lim y(t) =
and
lim y(t) = .
(4.4.17)
ymax
ymax
(4.4.18)
(4.4.19)
If we regard p(y) as a force acting on a unit mass, (4.4.19) means that the force resists all sufficiently
small displacements from y.
Weve already seen examples illustrating this principle. The equation (4.4.9) for the undamped springmass system is of the form (4.4.18) with p(y) = ky/m, which has only the stable equilibrium y = 0. In
this case (4.4.19) holds with a = and b = . The equation (4.4.13) for the undamped pendulum is
of the form (4.4.18) with p(y) = (g/L) sin y. Weve seen that y = 2m is a stable equilibrium if m is an
integer. In this case
p(y) = sin y < 0 if (2m 1) < y < 2m
and
p(y) > 0 if 2m < y < (2m + 1).
171
It can also be shown (Exercise 24) that y is unstable if theres a b > y such that
p(y) < 0 if y < y < b
(4.4.20)
(4.4.21)
(4.4.22)
is of the form (4.4.18) with p(y) = y(y 1). Therefore y = 0 and y = 1 are the equilibria of (4.4.22).
Since
y(y 1) > 0
<0
if y < 0 or y > 1,
if 0 < y < 1,
dv
+ y(y 1) = 0.
dy
Integrating yields
v2
y3
y2
+
= C,
2
3
2
which we rewrite as
1
v2 + y2 (2y 3) = c
(4.4.23)
3
after renaming the constant of integration. These are the trajectories of (4.4.22). If y is any solution of
(4.4.22), the point (y(t), v(t)) moves along the trajectory of y in the direction of increasing y in the upper
half plane (v = y0 > 0), or in the direction of decreasing y in the lower half plane (v = y0 < 0).
Figure 4.4.10 shows typical trajectories. The dashed curve through the critical point (0, 0), obtained by
setting c = 0 in (4.4.23), separates the y-v plane into regions that contain different kinds of trajectories;
again, we call this curve a separatrix. Trajectories in the region bounded by the closed loop (b) are closed
curves, so solutions associated with them are periodic. Solutions associated with other trajectories are not
periodic. If y is any such solution with trajectory not on the separatrix, then
lim y(t)
lim v(t)
= ,
= ,
lim y(t)
lim v(t)
t
t
(a)
(b)
(c)
(b)
0,
lim v(t)
0,
lim y(t)
0,
lim v(t)
0,
lim y(t)
lim v(t)
t
t
t
t
t
t
lim y(t)
lim v(t)
lim y(t)
lim v(t)
(on (a))
(on (b))
lim y(t)
0,
lim v(t)
t
t
t
t
t
0,
.
(on (c)).
(4.4.24)
is
dv
+ q(y, v)v + p(y) = 0.
dy
This equation isnt separable, so we cant solve it for v in terms of y, as we did in the undamped case,
and conservation of energy doesnt hold. (For example, energy expended in overcoming friction is lost.)
However, we can study the qualitative behavior of its solutions by rewriting it as
v
dv
p(y)
= q(y, v)
dy
v
(4.4.25)
173
and considering the direction fields for this equation. In the following examples well also be showing
computer generated trajectories of this equation, obtained by numerical methods. The exercises call for
similar computations. The methods discussed in Chapter 3 are not suitable for this task, since p(y)/v in
(4.4.25) is undefined on the y axis of the Poincar phase plane. Therefore were forced to apply numerical
methods briefly discussed in Section 10.1 to the system
y0
v0
=
=
v
q(y, v)v p(y),
which is equivalent to (4.4.24) in the sense defined in Section 10.1. Fortunately, most differential equation
software packages enable you to do this painlessly.
In the text well confine ourselves to the case where q is constant, so (4.4.24) and (4.4.25) reduce to
y00 + cy0 + p(y) = 0
and
(4.4.26)
p(y)
dv
= c
.
dy
v
(Well consider more general equations in the exercises.) The constant c is called the damping constant.
In situations where (4.4.26) is the equation of motion of an object, c is positive; however, there are
situations where c may be negative.
The Damped Spring-Mass System
Earlier we considered the spring - mass system under the assumption that the only forces acting on the
object were gravity and the springs resistance to changes in its length. Now well assume that some
mechanism (for example, friction in the spring or atmospheric resistance) opposes the motion of the
object with a force proportional to its velocity. In Section 6.1 it will be shown that in this case Newtons
second law of motion implies that
my00 + cy0 + ky = 0,
(4.4.27)
where c > 0 is the damping constant. Again, this equation can be solved easily by a method that
well study in Section 5.2, but that method isnt available here. Instead, well consider its phase plane
equivalent, which can be written in the form (4.4.25) as
c
ky
dv
=
.
dy
m mv
(4.4.28)
(A minor note: the c in (4.4.26) actually corresponds to c/m in this equation.) Figure 4.4.11 shows a
typical direction field for an equation of this form. Recalling that motion along a trajectory must be in the
direction of increasing y in the upper half plane (v > 0) and in the direction of decreasing y in the lower
half plane (v < 0), you can infer that all trajectories approach the origin in clockwise fashion. To confirm
this, Figure 4.4.12 shows the same direction field with some trajectories filled in. All the trajectories
shown there correspond to solutions of the initial value problem
my00 + cy0 + ky = 0,
y(0) = y0 ,
y0 (0) = v0 ,
where
mv02 + ky02 =
(a positive constant);
thus, if there were no damping (c = 0), all the solutions would have the same dashed elliptic trajectory,
shown in Figure 4.4.14.
0.8
0.8
0.6
0.6
0.4
0.4
0.2
0.2
0.2
0.2
0.4
0.4
0.6
0.6
0.8
1
1
0.8
0.8
0.6
0.4
0.2
0.2
0.4
0.6
0.8
1
1
0.8
0.6
0.4
0.2
0.2
0.4
0.6
Solutions corresponding to the trajectories in Figure 4.4.12 cross the y-axis infinitely many times. The
corresponding solutions are said to be oscillatory (Figure 4.4.13) It is shown in Section 6.2 that theres
a number c1 such that if 0 c < c1 then all solutions of (4.4.27) are oscillatory, while if c c1 , no
solutions of (4.4.27) have this property. (In fact, no solution not identically zero can have more than two
zeros in this case.) Figure 4.4.14 shows a direction field and some integral curves for (4.4.28) in this case.
y
(4.4.29)
where c > 0 is the damping constant. (Again, a minor note: the c in (4.4.26) actually corresponds to
0.8
175
c/mL in this equation.) To plot a direction field for (4.4.29) we write its phase plane equivalent as
dv
c
g
=
sin y.
dy
mL Lv
Figure 4.4.15 shows trajectories of four solutions of (4.4.29), all satisfying y(0) = 0. For each m = 0, 1,
2, 3, imparting the initial velocity v(0) = vm causes the pendulum to make m complete revolutions and
then settle into decaying oscillation about the stable equilibrium y = 2m.
v
1
0.8
0.6
0.4
0.2
0.2
0.4
0.6
0.8
1
1
0.8
0.6
0.4
0.2
0.2
0.4
0.6
0.8
Figure 4.4.14 A typical direction field for my00 + cy0 + ky = 0 with c > c1
y = 2
y = 4
y = 6
v
3
v
2
v1
v
4.4 Exercises
In Exercises 14 find the equations of the trajectories of the given undamped equation. Identify the
equilibrium solutions, determine whether they are stable or unstable, and plot some trajectories. H INT:
Use Eqn. (4.4.8) to obtain the equations of the trajectories.
1.
C/G y00 + y3 = 0
2.
C/G y00 + y2 = 0
3.
4.
In Exercises 58 find the equations of the trajectories of the given undamped equation. Identify the
equilibrium solutions, determine whether they are stable or unstable, and find the equations of the separatrices (that is, the curves through the unstable equilibria). Plot the separatrices and some trajectories
in each of the regions of Poincar plane determined by them. H INT: Use Eqn. (4.4.17) to determine the
separatrices.
5.
C/G y00 y3 + 4y = 0
7.
C/G y00 + y3 4y = 0
6.
8.
In Exercises 912 plot some trajectories of the given equation for various values (positive, negative, zero)
of the parameter a. Find the equilibria of the equation and classify them as stable or unstable. Explain
why the phase plane plots corresponding to positive and negative values of a differ so markedly. Can you
think of a reason why zero deserves to be called the critical value of a?
9.
L y00 + y2 a = 0
10.
L y00 + y3 ay = 0
11.
L y00 y3 + ay = 0
12.
L y00 + y ay3 = 0
In Exercises 13-18 plot trajectories of the given equation for c = 0 and small nonzero (positive and
negative) values of c to observe the effects of damping.
13.
L y00 + cy0 + y3 = 0
14.
L y00 + cy0 y = 0
15.
L y00 + cy0 + y3 = 0
16.
L y00 + cy0 + y2 = 0
17.
18.
L y00 + y(y 1) + cy = 0
19.
(A)
where is a positive constant and y is electrical current (Section 6.3), arises in the study of an
electrical circuit whose resistive properties depend upon the current. The damping term
(1 y2 )y0 works to reduce |y| if |y| < 1 or to increase |y| if |y| > 1. It can be shown that
van der Pols equation has exactly one closed trajectory, which is called a limit cycle. Trajectories
177
inside the limit cycle spiral outward to it, while trajectories outside the limit cycle spiral inward to it
(Figure 4.4.16). Use your favorite differential equations software to verify this for = .5, 1.1.5, 2.
Use a grid with 4 < y < 4 and 4 < v < 4.
v
L Rayleighs equation,
y00 (1 (y0 )2 /3)y0 + y = 0
also has a limit cycle. Follow the directions of Exercise 19 for this equation.
21.
In connection with Eqn (4.4.15), suppose y(0) = 0 and y0 (0) = v0 , where 0 < v0 < vc .
(a) Let T1 be the time required for y to increase from zero to ymax = 2 sin1 (v0 /vc ). Show that
q
dy
= v02 vc2 sin2 y/2, 0 t < T1 .
(A)
dt
(b) Separate variables in (A) and show that
Z ymax
q
T1 =
0
du
v02 vc2 sin2 u/2
(B)
/2
d
q
(C)
23.
Let p be continuous for all y and p(0) = 0. Suppose theres a positive number such that p(y) > 0
if 0 < y and p(y) < 0 if y < 0. For 0 < r let
Z r
Z r
Z 0
Z 0
p(x) dx,
|p(x)| dx
and (r) = max
p(x) dx,
|p(x)| dx .
(r) = min
0
y0 (0) = v0 ,
v +2
0 < |y0 | .
p(x) dx = c(y0 , v0 ),
t > 0.
(c) Conclude from (b) that if c(y0 , v0 ) < 2(r) then |y| < r, t > 0.
(d) Given > 0, let > 0 be chosen so that
n
o
2 + 2() < max 2 /2, 2(/ 2) .
p
p
Show that if y02 + v02 < then y2 + v2 < for t > 0, which implies that y = 0 is a
stable equilibrium of y00 + p(y) = 0.
(e) Now let p be continuous for all y and p(y) = 0, where y is not necessarily zero. Suppose
theres a positive number such that p(y) > 0 if y < y y + and p(y) < 0 if y
y < y. Show that y is a stable equilibrium of y00 + p(y) = 0.
24.
y(0) = y0 ,
y0 (0) = 0
with 0 < y0 < , then y(t) for some t > 0. Conclude that y = 0 is an unstable
equilibrium of y00 + p(y) = 0. H INT: Let k = miny0 x (p(x)), which is positive. Show
that if y(t) < for 0 t < T then kT 2 < 2( y0 ).
(b) Now let p(y) = 0, where y isnt necessarily zero. Suppose theres a positive number such
that p(y) < 0 if y < y y + . Show that y is an unstable equilibrium of y00 + p(y) = 0.
(c) Modify your proofs of (a) and (b) to show that if theres a positive number such that
p(y) > 0 if y y < y, then y is an unstable equilibrium of y00 + p(y) = 0.
179
(4.5.1)
defines a curve in the xy-plane. If c 6= 0, the curve is a parabola through the origin, opening upward if
c > 0 or downward if c < 0. If c = 0, the curve is the x axis (Figure 4.5.1).
(4.5.2)
(4.5.3)
is said to define a one-parameter family of curves if, for each value of c in in some nonempty set of real
numbers, the set of points (x, y) that satisfy (4.5.3) forms a curve in the xy-plane.
x
x
Equations (4.5.1) and (4.5.2) define oneparameter families of curves. (Although (4.5.2) isnt in the
form (4.5.3), it can be written in this form as y x c = 0.)
Example 4.5.3 If c > 0, the graph of the equation
x2 + y 2 c = 0
(4.5.4)
is a circle with center at (0, 0) and radius c. If c = 0, the graph is the single point (0, 0). (We dont
regard a single point as a curve.) If c < 0, the equation has no graph. Hence, (4.5.4) defines a one
parameter family of curves for positive values of c. This family consists of all circles centered at (0, 0)
(Figure 4.5.3).
Example 4.5.4 The equation
x 2 + y 2 + c2 = 0
does not define a one-parameter family of curves, since no (x, y) satisfies the equation if c 6= 0, and only
the single point (0, 0) satisfies it if c = 0.
Recall from Section 1.2 that the graph of a solution of a differential equation is called an integral curve
of the equation. Solving a first order differential equation usually produces a oneparameter family of
integral curves of the equation. Here we are interested in the converse problem: given a oneparameter
family of curves, is there a first order differential equation for which every member of the family is an
integral curve. This suggests the next definition.
Definition 4.5.2 If every curve in a one-parameter family defined by the equation
H(x, y, c) = 0
(4.5.5)
(4.5.6)
181
To find a differential equation for a oneparameter family we differentiate its defining equation (4.5.5)
implicitly with respect to x, to obtain
Hx(x, y, c) + Hy (x, y, c)y0 = 0.
(4.5.7)
If this equation doesnt, then its a differential equation for the family. If it does contain c, it may be
possible to obtain a differential equation for the family by eliminating c between (4.5.5) and (4.5.7).
Example 4.5.5 Find a differential equation for the family of curves defined by
y = cx2 .
(4.5.8)
xy0
2
as a differential equation for the family of curves defined by (4.5.8). The graph of any function of the
form y = cx2 is an integral curve of this equation.
The next example shows that members of a given family of curves may be obtained by joining integral
curves for more than one differential equation.
Example 4.5.6
(a) Try to find a differential equation for the family of lines tangent to the parabola y = x2 .
(b) Find two tangent lines to the parabola y = x2 that pass through (2, 3), and find the points of
tangency.
S OLUTION (a) The equation of the line through a given point (x0 , y0 ) with slope m is
y = y0 + m(x x0 ).
(4.5.9)
If (x0 , y0 ) is on the parabola, then y0 = x20 and the slope of the tangent line through (x0 , x20) is m = 2x0 ;
hence, (4.5.9) becomes
y = x20 + 2x0 (x x0 ),
or, equivalently,
y = x20 + 2x0 x.
(4.5.10)
Here x0 plays the role of the constant c in Definition 4.5.1; that is, varying x0 over (, ) produces
the family of tangent lines to the parabola y = x2 .
Differentiating (4.5.10) with respect to x yields y0 = 2x0 .. We can express x0 in terms of x and y by
rewriting (4.5.10) as
x20 2x0 x + y = 0
and using the quadratic formula to obtain
x0 = x
p
x2 y.
(4.5.11)
and
p
x0 = x x2 y if x > x0 .
p
y 0 = 2 x + x2 y ,
if
x < x0
(4.5.12)
p
y 0 = 2 x x2 y ,
if
x > x0 .
(4.5.13)
Neither (4.5.12) nor (4.5.13) is a differential equation for the family of tangent lines to the parabola
y = x2 . However, if each tangent line is regarded as consisting of two tangent half lines joined at the
point of tangency, (4.5.12) is a differential equation for the family of tangent half lines on which x is less
than the abscissa of the point of tangency (Figure 4.5.4(a)), while (4.5.13) is a differential equation for
the family of tangent half lines on which x is greater than this abscissa (Figure 4.5.4(b)). The parabola
y = x2 is also an integral curve of both (4.5.12) and (4.5.13).
(a)
(b)
Figure 4.5.4
S OLUTION (b) From (4.5.10) the point (x, y) = (2, 3) is on the tangent line through (x0 , x20) if and only
if
3 = x20 + 4x0 ,
which is equivalent to
183
y = x2
11
10
9
8
7
6
5
4
3
2
1
x
1
Figure 4.5.5
Geometric Problems
We now consider some geometric problems that can be solved by means of differential equations.
Example 4.5.7 Find curves y = y(x) such that every point (x0 , y(x0 )) on the curve is the midpoint of the
line segment with endpoints on the coordinate axes and tangent to the curve at (x0 , y(x0 )) (Figure 4.5.6).
Solution The equation of the line tangent to the curve at P = (x0 , y(x0 ) is
y = y(x0 ) + y0 (x0 )(x x0 ).
If we denote the x and y intercepts of the tangent line by xI and yI (Figure 4.5.6), then
0 = y(x0 ) + y0 (x0 )(xI x0 )
(4.5.14)
(4.5.15)
and
c
.
x
If c = 0 this curve is the line y = 0, which does not satisfy the geometric requirements imposed by the
problem; thus, c 6= 0, and the solutions define a family of hyperbolas (Figure 4.5.7).
y=
yI
.5 yI
.5 xI
xI
Figure 4.5.6
Figure 4.5.7
Example 4.5.8 Find curves y = y(x) such that the tangent line to the curve at any point (x0 , y(x0 ))
intersects the x-axis at (x20 , 0). Figure 4.5.8 illustrates the situation in the case where the curve is in the
first quadrant and 0 < x < 1.
Solution The equation of the line tangent to the curve at (x0 , y(x0 )) is
y = y(x0 ) + y0 (x0 )(x x0 ).
Since (x20 , 0) is on the tangent line,
0 = y(x0 ) + y0 (x0 )(x20 x0 ).
Since x0 is arbitrary we drop the subscript and conclude that y = y(x) satisfies
y + y0 (x2 x) = 0.
185
x=1
x0
x0
Figure 4.5.8
Therefor
so
and
Figure 4.5.9
y0
1
1
1
1
= 2
=
=
,
y
x x
x(x 1)
x x1
x
+ k,
ln |y| = ln |x| ln |x 1| + k = ln
x 1
cx
.
x1
If c = 0, the graph of this function is the x-axis. If c 6= 0, its a hyperbola with vertical asymptote x = 1
and horizontal asymptote y = c. Figure 4.5.9 shows the graphs for c 6= 0.
y=
Orthogonal Trajectories
Two curves C1 and C2 are said to be orthogonal at a point of intersection (x0 , y0 ) if they have perpendicular tangents at (x0 , y0 ). (Figure 4.5.10). A curve is said to be an orthogonal trajectory of a given
family of curves if its orthogonal to every curve in the family. For example, every line through the origin
is an orthogonal trajectory of the family of circles centered at the origin. Conversely, any such circle is
an orthogonal trajectory of the family of lines through the origin (Figure 4.5.11).
Orthogonal trajectories occur in many physical applications. For example, if u = u(x, y) is the temperature at a point (x, y), the curves defined by
u(x, y) = c
(4.5.16)
are called isothermal curves. The orthogonal trajectories of this family are called heat-flow lines, because
at any given point the direction of maximum heat flow is perpendicular to the isothermal through the
point. If u represents the potential energy of an object moving under a force that depends upon (x, y), the
curves (4.5.16) are called equipotentials, and the orthogonal trajectories are called lines of force.
From analytic geometry we know that two nonvertical lines L1 and L2 with slopes m1 and m2 , respectively, are perpendicular if and only if m2 = 1/m1 ; therefore, the integral curves of the differential
equation
1
y0 =
f(x, y)
1
f(x, y)
(c > 0).
(4.5.17)
Solution To find a differential equation for the family of circles we differentiate (4.5.17) implicitly with
respect to x to obtain
2x + 2yy0 = 0,
187
x
y0 = .
y
y
x
are orthogonal trajectories of the given family. We leave it to you to verify that the general solution of
this equation is
y = kx,
y0 =
where k is an arbitrary constant. This is the equation of a nonvertical line through (0, 0). The y axis is
also an orthogonal trajectory of the given family. Therefore every line through the origin is an orthogonal
trajectory of the given family (4.5.17) (Figure 4.5.11). This is consistent with the theorem of plane
geometry which states that a diameter of a circle and a tangent line to the circle at the end of the diameter
are perpendicular.
Example 4.5.10 Find the orthogonal trajectories of the family of hyperbolas
xy = c (c 6= 0)
(4.5.18)
(Figure 4.5.7).
Solution Differentiating (4.5.18) implicitly with respect to x yields
y + xy0 = 0,
or
y
y0 = ;
x
x
y
(c 6= 0).
(4.5.19)
These circles are centered on the x-axis and tangent to the y-axis (Figure 4.5.13(a)).
Solution Multiplying out the left side of (4.5.19) yields
x2 2cx + y2 = 0,
(4.5.20)
(4.5.21)
From (4.5.20),
c=
x2 + y 2
,
2x
so
x2 + y 2
x2 y 2
=
.
2x
2x
Substituting this into (4.5.21) and solving for y0 yields
xc=x
y0 =
y 2 x2
.
2xy
(4.5.22)
The curves defined by (4.5.19) are integral curves of (4.5.22), and the integral curves of
y0 =
2xy
y2
x2
are orthogonal trajectories of the family (4.5.19). This is a homogeneous nonlinear equation, which we
studied in Section 2.4. Substituting y = ux yields
u0 x + u =
so
u0 x =
2x(ux)
2u
=
,
x2 (ux)2
1 u2
2u
u(u2 + 1)
u=
,
2
1u
1 u2
189
2u
1
1
2
u0 = .
u u +1
x
Therefore
ln |u| ln(u2 + 1) = ln |x| + k.
By substituting u = y/x, we see that
ln |y| ln |x| ln(x2 + y2 ) + ln(x2 ) = ln |x| + k,
which, since ln(x2 ) = 2 ln |x|, is equivalent to
ln |y| ln(x2 + y2 ) = k,
or
|y| = ek (x2 + y2 ).
To see what these curves are we rewrite this equation as
x2 + |y|2 ek |y| = 0
and complete the square to obtain
x2 + (|y| ek /2)2 = (ek /2)2 .
This can be rewritten as
x2 + (y h)2 = h2 ,
where
ek
if y 0,
2
h=
k
e
if y 0.
2
Thus, the orthogonal trajectories are circles centered on the y axis and tangent to the x axis (Figure 4.5.13(b)). The circles for which h > 0 are above the x-axis, while those for which h < 0 are
below.
(a)
(b)
4.5 Exercises
In Exercises 18 find a first order differential equation for the given family of curves.
1.
y(x2 + y2 ) = c
2.
exy = cy
3.
ln |xy| = c(x2 + y2 )
4.
y = x1/2 + cx
5.
y = ex + cex
6.
y = x3 +
7.
y = sin x + cex
8.
y = ex + c(1 + x2 )
9.
c
x
(x x0 )2 + y2 = 1, < x0 < ,
can be obtained by joining integral curves of two first order differential equations. More specifically, find differential equations for the families of semicircles
(x x0 )2 + y2 = 1, x0 < x < x0 + 1, < x0 < ,
(x x0 )2 + y2 = 1, x0 1 < x < x0 , < x0 < .
10.
Suppose f and g are differentiable for all x. Find a differential equation for the family of functions
y = f + cg (c=constant).
In Exercises 1113 find a first order differential equation for the given family of curves.
11.
12.
13.
14.
Use the method Example 4.5.6(a) to find the equations of lines through the given points tangent to
the parabola y = x2 . Also, find the points of tangency.
(a) (5, 9)
15.
(d) (3, 5)
(a) Show that the equation of the line tangent to the circle
x2 + y 2 = 1
(A)
1 x0 x
y0
if
x0 6= 1.
(B)
(b) Show that if y0 is the slope of a nonvertical tangent line to the circle (A) and (x, y) is a point
on the tangent line then
(y0 )2 (x2 1) 2xyy0 + y2 1 = 0.
(C)
191
(c) Show that the segment of the tangent line (B) on which (x x0 )/y0 > 0 is an integral curve
of the differential equation
p
xy x2 + y2 1
0
,
(D)
y =
x2 1
while the segment on which (x x0 )/y0 < 0 is an integral curve of the differential equation
p
xy + x2 + y2 1
0
y =
.
(E)
x2 1
H INT: Use the quadratic formula to solve (C) for y0 . Then substitute (B) for y and choose
the sign in the quadratic formula so that the resulting expression for y0 reduces to the
known slope y0 = x0 /y0 .
(d) Show that the upper and lower semicircles of (A) are also integral curves of (D) and (E).
(e) Find the equations of two lines through (5,5) tangent to the circle (A), and find the points of
tangency.
16.
(a) Show that the equation of the line tangent to the parabola
x = y2
(A)
x
y0
+
.
2
2y0
(B)
(b) Show that if y0 is the slope of a nonvertical tangent line to the parabola (A) and (x, y) is a
point on the tangent line then
4x2 (y0 )2 4xyy0 + x = 0.
(C)
(c) Show that the segment of the tangent line defined in (a) on which x > x0 is an integral curve
of the differential equation
p
y + y2 x
0
y =
,
(D)
2x
while the segment on which x < x0 is an integral curve of the differential equation
p
y y2 x
0
y =
,
(E)
2x
H INT: Use the quadratic formula to solve (C) for y0 . Then substitute (B) for y and choose
the sign in the quadratic formula so that the resulting expression for y0 reduces to the
1
known slope y0 =
.
2y0
(d) Show that the upper and lower halves of the parabola (A), given by y = x and y = x
for x > 0, are also integral curves of (D) and (E).
17.
Use the results of Exercise 16 to find the equations of two lines tangent to the parabola x = y2 and
passing through the given point. Also find the points of tangency.
(a) (5, 2)
18.
(b) (4, 0)
(c) (7, 4)
(d) (5, 3)
Find a curve y = y(x) through (1,2) such that the tangent to the curve at any point (x0 , y(x0 ))
intersects the x axis at xI = x0 /2.
Find all curves y = y(x) such that the tangent to the curve at any point (x0 , y(x0 )) intersects the
x axis at xI = x30 .
20.
Find all curves y = y(x) such that the tangent to the curve at any point passes through a given
point (x1 , y1 ).
21.
Find a curve y = y(x) through (1, 1) such that the tangent to the curve at any point (x0 , y(x0 ))
intersects the y axis at yI = x30 .
22.
Find all curves y = y(x) such that the tangent to the curve at any point (x0 , y(x0 )) intersects the
y axis at yI = x0 .
23.
Find a curve y = y(x) through (0, 2) such that the normal to the curve at any point (x0 , y(x0 ))
intersects the x axis at xI = x0 + 1.
24.
Find a curve y = y(x) through (2, 1) such that the normal to the curve at any point (x0 , y(x0 ))
intersects the y axis at yI = 2y(x0 ).
In Exercises 2529 find the orthogonal trajectories of the given family of curves.
25.
x2 + 2y2 = c2
26.
x2 + 4xy + y2 = c
27.
y = ce2x
28.
xyex = c
29.
y=
30.
cex
x
Find a curve through (1, 3) orthogonal to every parabola of the form
y = 1 + cx2
that it intersects. Which of these parabolas does the desired curve intersect?
31.
32.
If lines L and L1 intersect at (x0 , y0 ) and is the smallest angle through which L must be rotated
counterclockwise about (x0 , y0 ) to bring it into coincidence with L1 , we say that is the angle
from L to L1 ; thus, 0 < . If L and L1 are tangents to curves C and C1 , respectively, that
intersect at (x0 , y0 ), we say that C1 intersects C at the angle . Use the identity
tan A + tan B
1 tan A tan B
to show that if C and C1 are intersecting integral curves of
tan(A + B) =
y0 = f(x, y)
and
y0 =
f(x, y) + tan
1 f(x, y) tan
6=
,
2
33.
Use the result of Exercise 32 to find a family of curves that intersect every nonvertical line through
the origin at the angle = /4.
34.
Use the result of Exercise 32 to find a family of curves that intersect every circle centered at the
origin at a given angle 6= /2.
CHAPTER 5
Linear Second Order Equations
IN THIS CHAPTER we study a particularly important class of second order equations. Because of
their many applications in science and engineering, second order differential equation have historically
been the most thoroughly studied class of differential equations. Research on the theory of second order
differential equations continues to the present day. This chapter is devoted to second order equations that
can be written in the form
P0 (x)y00 + P1 (x)y0 + P2 (x)y = F (x).
Such equations are said to be linear. As in the case of first order linear equations, (A) is said to be
homogeneous if F 0, or nonhomogeneous if F 6 0.
SECTION 5.1 is devoted to the theory of homogeneous linear equations.
SECTION 5.2 deals with homogeneous equations of the special form
ay00 + by0 + cy = 0,
where a, b, and c are constant (a 6= 0). When youve completed this section youll know everything there
is to know about solving such equations.
SECTION 5.3 presents the theory of nonhomogeneous linear equations.
SECTIONS 5.4 AND 5.5 present the method of undetermined coefficients, which can be used to solve
nonhomogeneous equations of the form
ay00 + by0 + cy = F (x),
where a, b, and c are constants and F has a special form that is still sufficiently general to occur in many
applications. In this section we make extensive use of the idea of variation of parameters introduced in
Chapter 2.
SECTION 5.6 deals with reduction of order, a technique based on the idea of variation of parameters,
which enables us to find the general solution of a nonhomogeneous linear second order equation provided
that we know one nontrivial (not identically zero) solution of the associated homogeneous equation.
SECTION 5.6 deals with the method traditionally called variation of parameters, which enables us to
find the general solution of a nonhomogeneous linear second order equation provided that we know two
nontrivial solutions (with nonconstant ratio) of the associated homogeneous equation.
193
(5.1.1)
We call the function f on the right a forcing function, since in physical applications its often related to
a force acting on some system modeled by the differential equation. We say that (5.1.1) is homogeneous
if f 0 or nonhomogeneous if f 6 0. Since these definitions are like the corresponding definitions in
Section 2.1 for the linear first order equation
y0 + p(x)y = f(x),
(5.1.2)
its natural to expect similarities between methods of solving (5.1.1) and (5.1.2). However, solving (5.1.1)
is more difficult than solving (5.1.2). For example, while Theorem 2.1.1 gives a formula for the general
solution of (5.1.2) in the case where f 0 and Theorem 2.1.2 gives a formula for the case where f 6 0,
there are no formulas for the general solution of (5.1.1) in either case. Therefore we must be content to
solve linear second order equations of special forms.
In Section 2.1 we considered the homogeneous equation y0 +p(x)y = 0 first, and then used a nontrivial
solution of this equation to find the general solution of the nonhomogeneous equation y0 + p(x)y = f(x).
Although the progression from the homogeneous to the nonhomogeneous case isnt that simple for the
linear second order equation, its still necessary to solve the homogeneous equation
y00 + p(x)y0 + q(x)y = 0
(5.1.3)
in order to solve the nonhomogeneous equation (5.1.1). This section is devoted to (5.1.3).
The next theorem gives sufficient conditions for existence and uniqueness of solutions of initial value
problems for (5.1.3). We omit the proof.
Theorem 5.1.1 Suppose p and q are continuous on an open interval (a, b), let x0 be any point in (a, b),
and let k0 and k1 be arbitrary real numbers. Then the initial value problem
y00 + p(x)y0 + q(x)y = 0, y(x0 ) = k0 , y0 (x0 ) = k1
has a unique solution on (a, b).
Since y 0 is obviously a solution of (5.1.3) we call it the trivial solution. Any other solution is
nontrivial. Under the assumptions of Theorem 5.1.1, the only solution of the initial value problem
y00 + p(x)y0 + q(x)y = 0, y(x0 ) = 0, y0 (x0 ) = 0
on (a, b) is the trivial solution (Exercise 24).
The next three examples illustrate concepts that well develop later in this section. You shouldnt be
concerned with how to find the given solutions of the equations in these examples. This will be explained
in later sections.
Example 5.1.1 The coefficients of y0 and y in
y00 y = 0
(5.1.4)
are the constant functions p 0 and q 1, which are continuous on (, ). Therefore Theorem 5.1.1 implies that every initial value problem for (5.1.4) has a unique solution on (, ).
195
(b) Verify that if c1 and c2 are arbitrary constants, y = c1 ex +c2 ex is a solution of (5.1.4) on (, ).
(c) Solve the initial value problem
y00 y = 0,
y(0) = 1,
y0 (0) = 3.
(5.1.5)
(5.1.6)
y0 = c1 ex c2 ex
(5.1.7)
then
and
y00 = c1 ex + c2 ex ,
so
y00 y
= (c1 ex + c2 ex ) (c1 ex + c2 ex )
= c1 (ex ex ) + c2 (ex ex ) = 0
=
=
1
3.
Solving these equations yields c1 = 2 and c2 = 1. Therefore y = 2ex ex is the unique solution of
(5.1.5) on (, ).
Example 5.1.2 Let be a positive constant. The coefficients of y0 and y in
y00 + 2 y = 0
(5.1.8)
are the constant functions p 0 and q 2 , which are continuous on (, ). Therefore Theorem 5.1.1 implies that every initial value problem for (5.1.8) has a unique solution on (, ).
(a) Verify that y1 = cos x and y2 = sin x are solutions of (5.1.8) on (, ).
(b) Verify that if c1 and c2 are arbitrary constants then y = c1 cos x + c2 sin x is a solution of (5.1.8)
on (, ).
(c) Solve the initial value problem
y00 + 2 y = 0,
y(0) = 1,
y0 (0) = 3.
(5.1.9)
S OLUTION (a) If y1 = cos x then y10 = sin x and y100 = 2 cos x = 2 y1 , so y100 + 2 y1 = 0.
If y2 = sin x then, y20 = cos x and y200 = 2 sin x = 2 y2 , so y200 + 2 y2 = 0.
(5.1.10)
(5.1.11)
then
and
y00 = 2 (c1 cos x + c2 sin x),
so
y00 + 2 y
=
=
3
sin x
y(x0 ) = k0 ,
y0 (x0 ) = k1
(5.1.12)
has a unique solution on an interval (a, b) that contains x0 , provided that P0 , P1 , and P2 are continuous
and P0 has no zeros on (a, b). To see this, we rewrite the differential equation in (5.1.12) as
y00 +
P1 (x) 0 P2 (x)
y +
y=0
P0 (x)
P0 (x)
(5.1.13)
has the form of the differential equation in (5.1.12), with P0 (x) = x2 , P1 (x) = x, and P2 (x) = 4,
which are are all continuous on (, ). However, since P (0) = 0 we must consider solutions of
(5.1.13) on (, 0) and (0, ). Since P0 has no zeros on these intervals, Theorem 5.1.1 implies that the
initial value problem
x2 y00 + xy0 4y = 0, y(x0 ) = k0 , y0 (x0 ) = k1
has a unique solution on (0, ) if x0 > 0, or on (, 0) if x0 < 0.
(a) Verify that y1 = x2 is a solution of (5.1.13) on (, ) and y2 = 1/x2 is a solution of (5.1.13)
on (, 0) and (0, ).
(b) Verify that if c1 and c2 are any constants then y = c1 x2 +c2 /x2 is a solution of (5.1.13) on (, 0)
and (0, ).
(c) Solve the initial value problem
x2 y00 + xy0 4y = 0,
y(1) = 2,
y0 (1) = 0.
(5.1.14)
197
y(1) = 2,
y0 (1) = 0.
(5.1.15)
c2
x2
(5.1.16)
y0 = 2c1 x
2c2
x3
(5.1.17)
y00 = 2c1 +
6c2
,
x4
then
and
so
2 00
x y + xy 4y
=
=
=
6c2
2c2
c2
x 2c1 + 4 + x 2c1 x 3 4 c1 x2 + 2
x
x
x
2
4
6
c1 (2x2 + 2x2 4x2 ) + c2 2 2 2
x
x
x
2
c1 0 + c2 0 = 0
for x in (, 0) or (0, ).
S OLUTION (c) To solve (5.1.14), we choose c1 and c2 in (5.1.16) so that y(1) = 2 and y0 (1) = 0. Setting
x = 1 in (5.1.16) and (5.1.17) shows that this is equivalent to
c1 + c2
2c1 2c2
=
=
2
0.
Solving these equations yields c1 = 1 and c2 = 1. Therefore y = x2 + 1/x2 is the unique solution of
(5.1.14) on (0, ).
S OLUTION (d) We can solve (5.1.15) by choosing c1 and c2 in (5.1.16) so that y(1) = 2 and y0 (1) =
0. Setting x = 1 in (5.1.16) and (5.1.17) shows that this is equivalent to
c1 + c2
2c1 + 2c2
0.
Solving these equations yields c1 = 1 and c2 = 1. Therefore y = x2 + 1/x2 is the unique solution of
(5.1.15) on (, 0).
If y1 and y2 are defined on an interval (a, b) and c1 and c2 are constants, then
y = c1 y1 + c2 y2
is a linear combination of y1 and y2 . For example, y = 2 cos x + 7 sin x is a linear combination of
y1 = cos x and y2 = sin x, with c1 = 2 and c2 = 7.
The next theorem states a fact that weve already verified in Examples 5.1.1, 5.1.2, and 5.1.3.
Theorem 5.1.2 If y1 and y2 are solutions of the homogeneous equation
y00 + p(x)y0 + q(x)y = 0
(5.1.18)
y = c1 y1 + c2 y2
(5.1.19)
If
y = c1 y1 + c2 y2
then
y0 = c1 y10 + c2 y20
and
Therefore
y00 + p(x)y0 + q(x)y
c1 0 + c2 0 = 0,
(5.1.20)
199
Well present the proof of Theorem 5.1.3 in steps worth regarding as theorems in their own right.
However, lets first interpret Theorem 5.1.3 in terms of Examples 5.1.1, 5.1.2, and 5.1.3.
Example 5.1.4
(a) Since ex /ex = e2x is nonconstant, Theorem 5.1.3 implies that y = c1 ex + c2 ex is the general
solution of y00 y = 0 on (, ).
(b) Since cos x/ sin x = cot x is nonconstant, Theorem 5.1.3 implies that y = c1 cos x +
c2 sin x is the general solution of y00 + 2 y = 0 on (, ).
(c) Since x2 /x2 = x4 is nonconstant, Theorem 5.1.3 implies that y = c1 x2 + c2 /x2 is the general
solution of x2 y00 + xy0 4y = 0 on (, 0) and (0, ).
y2 (x0 )k1 ,
and subtracting the second equation here from the first yields
(y1 (x0 )y20 (x0 ) y10 (x0 )y2 (x0 )) c1 = y20 (x0 )k0 y2 (x0 )k1 .
(5.1.23)
Multiplying the first equation in (5.1.22) by y10 (x0 ) and the second by y1 (x0 ) yields
c1 y1 (x0 )y10 (x0 ) + c2 y2 (x0 )y10 (x0 )
c1 y10 (x0 )y1 (x0 ) + c2 y20 (x0 )y1 (x0 )
=
=
and subtracting the first equation here from the second yields
(y1 (x0 )y20 (x0 ) y10 (x0 )y2 (x0 )) c2 = y1 (x0 )k1 y10 (x0 )k0 .
(5.1.24)
If
y1 (x0 )y20 (x0 ) y10 (x0 )y2 (x0 ) = 0,
its impossible to satisfy (5.1.23) and (5.1.24) (and therefore (5.1.22)) unless k0 and k1 happen to satisfy
y1 (x0 )k1 y10 (x0 )k0
y20 (x0 )k0 y2 (x0 )k1
=
=
0
0.
(5.1.25)
we can divide (5.1.23) and (5.1.24) through by the quantity on the left to obtain
c1
c2
(5.1.26)
no matter how k0 and k1 are chosen. This motivates us to consider conditions on y1 and y2 that imply
(5.1.25).
Theorem 5.1.4 Suppose p and q are continuous on (a, b), let y1 and y2 be solutions of
y00 + p(x)y0 + q(x)y = 0
(5.1.27)
W = y1 y20 y10 y2 .
(5.1.28)
W (x) = W (x0 )e
Rx
p(t) dt
x0
a < x < b.
(5.1.29)
(5.1.30)
and
=
=
=
y1 py20 + qy2 + y2 py10 + qy1
p(y1 y20 y2 y10 ) q(y1 y2 y2 y1 )
p(y1 y20 y2 y10 ) = pW.
Therefore W 0 + p(x)W = 0; that is, W is the solution of the initial value problem
y0 + p(x)y = 0,
y(x0 ) = W (x0 ).
We leave it to you to verify by separation of variables that this implies (5.1.29). If W (x0 ) 6= 0, (5.1.29)
implies that W has no zeros in (a, b), since an exponential is never zero. On the other hand, if W (x0 ) = 0,
(5.1.29) implies that W (x) = 0 for all x in (a, b).
The function W defined in (5.1.28) is the Wronskian of {y1 , y2 }. Formula (5.1.29) is Abels formula.
The Wronskian of {y1 , y2 } is usually written as the determinant
y1 y2
W =
.
y0 y0
1
If youve taken linear algebra you may recognize this as Cramers rule.
201
Example 5.1.5 Verify Abels formula for the following differential equations and the corresponding solutions, from Examples 5.1.1, 5.1.2, and 5.1.3:
(a) y00 y = 0; y1 = ex , y2 = ex
(b) y00 + 2 y = 0;
2 00
y1 = cos x, y2 = sin x
(c) x y + xy 4y = 0;
y1 = x2 , y2 = 1/x2
S OLUTION (a) Since p 0, we can verify Abels formula by showing that W is constant, which is true,
since
x
e
ex
W (x) =
= ex (ex ) ex ex = 2
ex ex
for all x.
S OLUTION (b) Again, since p 0, we can verify Abels formula by showing that W is constant, which
is true, since
cos x
sin x
W (x) =
sin x cos x
=
=
for all x.
S OLUTION (c) Computing the Wronskian of y1 = x2 and y2 = 1/x2 directly yields
2
x
1/x2
2
1
4
2
W =
= .
= x 3 2x
2x 2/x3
x
x2
x
4
1 0
y 2y = 0
x
x
to see that p(x) = 1/x. If x0 and x are either both in (, 0) or both in (0, ) then
Z x
Z x
dt
x
p(t) dt =
= ln
,
t
x
0
x0
x0
so Abels formula becomes
W (x)
x0
= W (x0 )e ln(x/x0 ) = W (x0 )
x
4
x0
=
from (5.1.31)
x0
x
4
= ,
x
(5.1.31)
(5.1.32)
on (a, b), and let W = y1 y20 y10 y2 . Then y1 and y2 are linearly independent on (a, b) if and only if W
has no zeros on (a, b).
Proof We first show that if W (x0 ) = 0 for some x0 in (a, b), then y1 and y2 are linearly dependent on
(a, b). Let I be a subinterval of (a, b) on which y1 has no zeros. (If theres no such subinterval, y1 0 on
(a, b), so y1 and y2 are linearly independent, and were finished with this part of the proof.) Then y2 /y1
is defined on I, and
0
y2
y1 y20 y10 y2
W
=
= 2.
(5.1.33)
y1
y12
y1
However, if W (x0 ) = 0, Theorem 5.1.4 implies that W 0 on (a, b). Therefore (5.1.33) implies that
(y2 /y1 )0 0, so y2 /y1 = c (constant) on I. This shows that y2 (x) = cy1 (x) for all x in I. However, we
want to show that y2 = cy1 (x) for all x in (a, b). Let Y = y2 cy1 . Then Y is a solution of (5.1.32)
on (a, b) such that Y 0 on I, and therefore Y 0 0 on I. Consequently, if x0 is chosen arbitrarily in I
then Y is a solution of the initial value problem
y00 + p(x)y0 + q(x)y = 0,
y(x0 ) = 0,
y0 (x0 ) = 0,
which implies that Y 0 on (a, b), by the paragraph following Theorem 5.1.1. (See also Exercise 24).
Hence, y2 cy1 0 on (a, b), which implies that y1 and y2 are not linearly independent on (a, b).
Now suppose W has no zeros on (a, b). Then y1 cant be identically zero on (a, b) (why not?), and
therefore there is a subinterval I of (a, b) on which y1 has no zeros. Since (5.1.33) implies that y2 /y1 is
nonconstant on I, y2 isnt a constant multiple of y1 on (a, b). A similar argument shows that y1 isnt a
constant multiple of y2 on (a, b), since
y1
y2
0
y10 y2 y1 y20
W
= 2
2
y2
y2
203
(5.1.35)
y2 (c)
=0
y20 (c)
5.1 Exercises
1.
(A)
on (, ).
(b) Verify that if c1 and c2 are arbitrary constants then y = c1 e2x + c2 e5x is a solution of (A) on
(, ).
(c) Solve the initial value problem
y00 7y0 + 10y = 0,
y(0) = 1,
y0 (0) = 1.
y(0) = k0 ,
y0 (0) = k1 .
(A)
on (, ).
(b) Verify that if c1 and c2 are arbitrary constants then y = c1 ex cos x + c2 ex sin x is a solution
of (A) on (, ).
(c) Solve the initial value problem
y00 2y0 + 2y = 0,
y(0) = 3,
y0 (0) = 2.
y(0) = k0 ,
y0 (0) = k1 .
(A)
on (, ).
(b) Verify that if c1 and c2 are arbitrary constants then y = ex (c1 + c2 x) is a solution of (A) on
(, ).
(c) Solve the initial value problem
y00 2y0 + y = 0,
y(0) = 7,
y0 (0) = 4.
y(0) = k0 ,
y0 (0) = k1 .
(A)
on (, 1), (1, 1), and (1, ). What is the general solution of (A) on each of these
intervals?
(b) Solve the initial value problem
(x2 1)y00 + 4xy0 + 2y = 0,
y(0) = 5,
6.
(c) {x + 1, x2 + 2}
(e) {
sin x cos x
,
}
x x x
x
(g) {e cos x, e sin x}
7.
y0 (0) = 1.
205
9.
(This exercise shows that if you know one nontrivial solution of y00 + p(x)y0 + q(x)y = 0, you
can use Abels formula to find another.)
Suppose p and q are continuous and y1 is a solution of
y00 + p(x)y0 + q(x)y = 0
R
that has no zeros on (a, b). Let P (x) = p(x) dx be any antiderivative of p on (a, b).
(A)
(B)
on (a, b), then y2 also satisfies (A) on (a, b), and {y1 , y2 } is a fundamental set of solutions
on (A) on (a, b).
eP (x)
(b) Conclude from (a) that if y2 = uy1 where u0 = K 2
, then {y1 , y2 } is a fundamental
y1 (x)
set of solutions of (A) on (a, b).
In Exercises 1023 use the method suggested by Exercise 9 to find a second solution y2 that isnt a
constant multiple of the solution y1 . Choose K conveniently to simplify y2 .
10.
11.
12.
13.
14.
15.
16.
17.
18.
19.
y00 2y0 3y = 0;
y00 6y0 + 9y = 0;
y1 = e3x
y1 = e3x
x2 y00 + xy0 y = 0;
2 00
x y xy + y = 0;
2 00
y1 = eax
y1 = x
y1 = x
(x 1)y00 xy0 + y = 0;
y1 = x1/2e2x
y1 = ex
y1 = x cos x
00
4x (sin x)y 4x(x cos x + sin x)y0 + (2x cos x + 3 sin x)y = 0;
21.
22.
23.
20.
24.
y1 = xa
y1 = x1/2
1
x
Suppose p and q are continuous on an open interval (a, b) and let x0 be in (a, b). Use Theorem 5.1.1
to show that the only solution of the initial value problem
y00 + p(x)y0 + q(x)y = 0,
on (a, b) is the trivial solution y 0.
y(x0 ) = 0,
y0 (x0 ) = 0
Suppose P0 , P1 , and P2 are continuous on (a, b) and let x0 be in (a, b). Show that if either of the
following statements is true then P0 (x) = 0 for some x in (a, b).
(a) The initial value problem
P0 (x)y00 + P1 (x)y0 + P2 (x)y = 0,
y(x0 ) = k0 ,
y0 (x0 ) = k1
y(x0 ) = 0,
y0 (x0 ) = 0
(A)
27.
z2 = y1 + y2 ,
and
where , , , and are constants. Show that if {z1 , z2 } is a fundamental set of solutions of (A)
on (a, b) then so is {y1 , y2 }.
Suppose p and q are continuous on (a, b) and {y1 , y2 } is a fundamental set of solutions of
y00 + p(x)y0 + q(x)y = 0
(A)
28.
29.
z2 = y1 + y2 ,
and
where , , , and are constants. Show that {z1 , z2 } is a fundamental set of solutions of (A) on
(a, b) if and only if 6= 0.
Suppose y1 is differentiable on an interval (a, b) and y2 = ky1 , where k is a constant. Show that
the Wronskian of {y1 , y2 } is identically zero on (a, b).
Let
y1 = x3
and
y2 =
x3 , x 0,
x3 , x < 0.
(a) Show that the Wronskian of {y1 , y2 } is defined and identically zero on (, ).
(b) Suppose a < 0 < b. Show that {y1 , y2 } is linearly independent on (a, b).
(c) Use Exercise 25(b) to show that these results dont contradict Theorem 5.1.5, because neither
y1 nor y2 can be a solution of an equation
y00 + p(x)y0 + q(x)y = 0
on (a, b) if p and q are continuous on (a, b).
30.
207
Suppose p and q are continuous on (a, b) and {y1 , y2 } is a fundamental set of solutions of
y00 + p(x)y0 + q(x)y = 0
on (a, b). Show that if y1 (x1 ) = y1 (x2 ) = 0, where a < x1 < x2 < b, then y2 (x) = 0 for some x
in (x1 , x2 ). H INT: Show that if y2 has no zeros in (x1 , x2 ), then y1 /y2 is either strictly increasing
or strictly decreasing on (x1 , x2 ), and deduce a contradiction.
32.
(A)
on (a, b) can be written as a linear combination of the twice differentiable functions {y1 , y2 }. Use
Theorem 5.1.1 to show that y1 and y2 are themselves solutions of (A) on (a, b).
33.
have the same solutions on (a, b). Show that p1 = p2 and q1 = q2 on (a, b). H INT: Use Abels
formula.
34.
(For this exercise you have to know about 3 3 determinants.) Show that if y1 and y2 are twice
continuously differentiable on (a, b) and the Wronskian W of {y1 , y2 } has no zeros in (a, b) then
the equation
y y1 y2
1 0
0
0
y
y
y
1
2 =0
W
y00 y100 y200
can be written as
(A)
where p and q are continuous on (a, b) and {y1 , y2 } is a fundamental set of solutions of (A) on
(a, b). H INT: Expand the determinant by cofactors of its first column.
35.
Use the method suggested by Exercise 34 to find a linear homogeneous equation for which the
given functions form a fundamental set of solutions on some interval.
(a) ex cos 2x,
(c) x,
x ln x
(e) cosh x,
36.
ex sin 2x
(b) x,
e2x
sinh x
(f) x 1,
sin(ln x)
2
x +1
Suppose p and q are continuous on (a, b) and {y1 , y2 } is a fundamental set of solutions of
y00 + p(x)y0 + q(x)y = 0
(A)
on (a, b). Show that if y is a solution of (A) on (a, b), theres exactly one way to choose c1 and c2
so that y = c1 y1 + c2 y2 on (a, b).
37.
Suppose p and q are continuous on (a, b) and x0 is in (a, b). Let y1 and y2 be the solutions of
y00 + p(x)y0 + q(x)y = 0
(A)
such that
y1 (x0 ) = 1,
y10 (x0 ) = 0
and
(Theorem 5.1.1 implies that each of these initial value problems has a unique solution on (a, b).)
y(x0 ) = k0 ,
y0 (x0 ) = k1
Find solutions y1 and y2 of the equation y00 = 0 that satisfy the initial conditions
y10 (x0 ) = 0
y1 (x0 ) = 1,
and
y2 (x0 ) = 0,
y20 (x0 ) = 1.
Then use Exercise 37 (c) to write the solution of the initial value problem
y00 = 0,
y0 (0) = k1
y(0) = k0 ,
Let x0 be an arbitrary real number. Given (Example 5.1.1) that ex and ex are solutions of y00 y =
0, find solutions y1 and y2 of y00 y = 0 such that
y1 (x0 ) = 1,
y10 (x0 ) = 0
and
Then use Exercise 37 (c) to write the solution of the initial value problem
y00 y = 0,
y(x0 ) = k0 ,
y0 (x0 ) = k1
Let x0 be an arbitrary real number. Given (Example 5.1.2) that cos x and sin x are solutions of
y00 + 2 y = 0, find solutions of y00 + 2 y = 0 such that
y1 (x0 ) = 1,
y10 (x0 ) = 0
and
Then use Exercise 37 (c) to write the solution of the initial value problem
y00 + 2 y = 0,
y(x0 ) = k0 ,
y0 (x0 ) = k1
(A)
y10 (0) = 0
and
Then use Exercise 37 (c) to write the solution of initial value problem
(x2 1)y00 + 4xy0 + 2y = 0,
as a linear combination of y1 and y2 .
y(0) = k0 ,
y0 (0) = k1
209
(A)
y(0) = k0 ,
y0 (0) = k1
y(x0 ) = k0 ,
y0 (x0 ) = k1
(B)
has infinitely many solutions on (, ). On what interval does (B) have a unique solution?
x2 y00 2xy0 + 2y = 0
(A)
y(0) = k0 ,
y0 (0) = k1
y(x0 ) = k0 ,
y0 (x0 ) = k1
(A)
y(0) = k0 ,
y0 (0) = k1
y(x0 ) = k0 ,
y0 (x0 ) = k1
(B)
has infinitely many solutions on (, ). On what interval does (B) have a unique solution?
(5.2.2)
b b2 4ac
r=
.
(5.2.3)
2a
We consider three cases:
211
C ASE 1. b2 4ac > 0, so the characteristic equation has two distinct real roots.
C ASE 2. b2 4ac = 0, so the characteristic equation has a repeated real root.
C ASE 3. b2 4ac < 0, so the characteristic equation has complex roots.
In each case well start with an example.
Case 1: Distinct Real Roots
Example 5.2.1
(a) Find the general solution of
y00 + 6y0 + 5y = 0.
(5.2.4)
y(0) = 3, y0 (0) = 1.
(5.2.5)
(5.2.6)
S OLUTION (b) We must determine c1 and c2 in (5.2.6) so that y satisfies the initial conditions in (5.2.5).
Differentiating (5.2.6) yields
y0 = c1 ex 5c2 e5x .
(5.2.7)
Imposing the initial conditions y(0) = 3, y0 (0) = 1 in (5.2.6) and (5.2.7) yields
c1 + c2
c1 5c2
=
=
3
1.
The solution of this system is c1 = 7/2, c2 = 1/2. Therefore the solution of (5.2.5) is
y=
7 x 1 5x
e e
.
2
2
y
3
x
1
Figure 5.2.1 y =
7 x 1 5x
e e
2
2
Example 5.2.2
(a) Find the general solution of
y00 + 6y0 + 9y = 0.
(5.2.8)
y(0) = 3, y0 (0) = 1.
(5.2.9)
213
If y = ue3x , then
y0 = u0 e3x 3ue3x
and
so
y00 + 6y0 + 9y
=
=
(5.2.10)
is a solution of (5.2.8). Letting c1 = 1 and c2 = 0 yields the solution y1 = e3x that we already knew.
Letting c1 = 0 and c2 = 1 yields the second solution y2 = xe3x . Since y2 /y1 = x is nonconstant, 5.1.6
implies that {y1 , y2 } is fundamental set of solutions of (5.2.8), and (5.2.10) is the general solution.
S OLUTION (b) Differentiating (5.2.10) yields
y0 = 3e3x (c1 + c2 x) + c2 e3x .
(5.2.11)
Imposing the initial conditions y(0) = 3, y0 (0) = 1 in (5.2.10) and (5.2.11) yields c1 = 3 and 3c1 +
c2 = 1, so c2 = 8. Therefore the solution of (5.2.9) is
y = e3x (3 + 8x).
Figure 5.2.2 is a graph of this solution.
y
3
x
1
which implies that b = 2ar1 and c = ar12 . Therefore ay00 + by0 + cy = 0 can be written as a(y00
2r1 y0 + r12 y) = 0. Since a 6= 0 this equation has the same solutions as
y00 2r1 y0 + r12 y = 0.
(5.2.12)
Since p(r1 ) = 0, t y1 = er1 x is a solution of ay00 + by0 + cy = 0, and therefore of (5.2.12). Proceeding
as in Example 5.2.2, we look for other solutions of (5.2.12) of the form y = uer1 x ; then
y0 = u0 er1 x + ruer1 x
and
so
y00 2r1 y0 + r12 y
= erx (u00 + 2r1 u0 + r12 u) 2r1 (u0 + r1 u) + r12 u
= er1 x u00 + (2r1 2r1 )u0 + (r12 2r12 + r12 )u = u00 er1 x .
(5.2.13)
is a solution of (5.2.12). Letting c1 = 1 and c2 = 0 here yields the solution y1 = er1 x that we already
knew. Letting c1 = 0 and c2 = 1 yields the second solution y2 = xer1 x . Since y2 /y1 = x is nonconstant, 5.1.6 implies that {y1 , y2 } is a fundamental set of solutions of (5.2.12), and (5.2.13) is the general
solution.
Case 3: Complex Conjugate Roots
Example 5.2.3
(a) Find the general solution of
y00 + 4y0 + 13y = 0.
(5.2.14)
y(0) = 2, y0 (0) = 3.
(5.2.15)
215
so even though we havent defined e3ix and e3ix, its reasonable to expect that every linear combination
of e(2+3i)x and e(23i)x can be written as y = ue2x, where u depends upon x. To determine u, we
note that if y = ue2x then
y0 = u0 e2x 2ue2x
and
so
y00 + 4y0 + 13y
=
=
(5.2.16)
is a solution of (5.2.14). Letting c1 = 1 and c2 = 0 yields the solution y1 = e2x cos 3x. Letting c1 = 0
and c2 = 1 yields the second solution y2 = e2x sin 3x. Since y2 /y1 = tan 3x is nonconstant, 5.1.6
implies that {y1 , y2 } is a fundamental set of solutions of (5.2.14), and (5.2.16) is the general solution.
S OLUTION (b) Imposing the condition y(0) = 2 in (5.2.16) shows that c1 = 2. Differentiating (5.2.16)
yields
y0 = 2e2x(c1 cos 3x + c2 sin 3x) + 3e2x (c1 sin 3x + c2 cos 3x),
and imposing the initial condition y0 (0) = 3 here yields 3 = 2c1 + 3c2 = 4 + 3c2 , so c2 = 1/3.
Therefore the solution of (5.2.15) is
y = e2x (2 cos 3x +
1
sin 3x).
3
b + i 4ac b2
b i 4ac b2
r1 =
, r2 =
,
2a
2a
which we rewrite as
r1 = + i,
with
r2 = i,
(5.2.17)
b
4ac b2
= , =
.
2a
2a
Dont memorize these formulas. Just remember that r1 and r2 are of the form (5.2.17), where is an
arbitrary real number and is positive; and are the real and imaginary parts, respectively, of r1 .
Similarly, and are the real and imaginary parts of r2 . We say that r1 and r2 are complex conjugates,
x
1
1
sin 3x)
3
which means that they have the same real part and their imaginary parts have the same absolute values,
but opposite signs.
As in Example 5.2.3, its reasonable to to expect that the solutions of ay00 + by0 + cy = 0 are linear
combinations of e(+i)x and e(i)x . Again, the exponential notation suggests that
e(+i)x = ex eix
and
e(i)x = ex eix ,
so even though we havent defined eix and eix , its reasonable to expect that every linear combination
of e(+i)x and e(i)x can be written as y = uex , where u depends upon x. To determine u we first
observe that since r1 = + i and r2 = i are the roots of the characteristic equation, p must be of
the form
p(r) = a(r r1 )(r r2 )
= a(r
i)(r
+ i)
= a (r )2 + 2
= a(r 2 2r + 2 + 2 ).
y00 2y0 + (2 + 2 )y = 0.
To determine u we note that if y = uex then
y0 = u0 ex + uex
and
(5.2.18)
217
Substituting these expressions into (5.2.18) and dropping the common factor ex yields
(u00 + 2u0 + 2 u) 2(u0 + u) + (2 + 2 )u = 0,
which simplifies to
u00 + 2 u = 0.
From Example 5.1.2, the general solution of this equation is
u = c1 cos x + c2 sin x.
Therefore any function of the form
y = ex (c1 cos x + c2 sin x)
(5.2.19)
is a solution of (5.2.18). Letting c1 = 1 and c2 = 0 here yields the solution y1 = ex cos x. Letting
c1 = 0 and c2 = 1 yields a second solution y2 = ex sin x. Since y2 /y1 = tan x is nonconstant,
so Theorem 5.1.6 implies that {y1 , y2 } is a fundamental set of solutions of (5.2.18), and (5.2.19) is the
general solution.
Summary
The next theorem summarizes the results of this section.
Theorem 5.2.1 Let p(r) = ar 2 + br + c be the characteristic polynomial of
ay00 + by0 + cy = 0.
(5.2.20)
Then:
(a) If p(r) = 0 has distinct real roots r1 and r2 , then the general solution of (5.2.20) is
y = c1 er1 x + c2 er2 x .
(b) If p(r) = 0 has a repeated root r1 , then the general solution of (5.2.20) is
y = er1 x (c1 + c2 x).
(c) If p(r) = 0 has complex conjugate roots r1 = + i and r2 = i (where > 0), then the
general solution of (5.2.20) is
y = ex (c1 cos x + c2 sin x).
5.2 Exercises
In Exercises 112 find the general solution.
1.
y00 + 5y0 6y = 0
2.
y00 4y0 + 5y = 0
3.
y00 + 8y0 + 7y = 0
4.
y00 4y0 + 4y = 0
5.
6.
7.
8.
9.
y00 2y0 + 3y = 0
10.
12.
10y00 3y0 y = 0
11.
y00 + y0 = 0
14.
6y00 y0 y = 0,
15.
16.
17.
y(0) = 2,
y(0) = 10,
y0 (0) = 17
y0 (0) = 0
6y00 + y0 y = 0,
y(0) = 1, y0 (0) = 3
13
23
, y0 (0) =
4y00 4y0 3y = 0, y(0) =
12
24
5
4y00 12y0 + 9y = 0, y(0) = 3, y0 (0) =
2
In Exercises 1821 solve the initial value problem and graph the solution.
18.
19.
20.
21.
22.
y(0) = 1,
y0 (0) = 2
y(0) = 0,
y(0) = 3,
y(0) = 3,
y0 (0) = 0
5
2
0
y (0) = 2
y0 (0) =
ay00 + by0 + cy = 0.
(A)
y(0) = k0 ,
y0 (0) = k1 ,
where the initial conditions are imposed at x0 = 0. However, if the initial value problem is
ay00 + by0 + cy = 0,
y(x0 ) = k0 ,
y0 (x0 ) = k1 ,
(B)
(whichever is applicable) is more complicated. Use (b) to restate Theorem 5.2.1 in a form
more convenient for solving (B).
In Exercises 2328 use a method suggested by Exercise 22 to solve the initial value problem.
23.
y00 + 3y0 + 2y = 0,
y(1) = 1,
y0 (1) = 4
1
y(2) = ,
3
y00 14y0 + 49y = 0, y(1) = 2,
y00 6y0 7y = 0,
y0 (2) = 5
y0 (1) = 11
14
9y00 + 6y0 + y = 0, y(2) = 2, y0 (2) =
3
9y00 + 4y = 0, y(/4) = 2, y0 (/4) = 2
28.
y00 + 3y = 0,
29.
y(/3) = 2,
y0 (/3) = 1
ay00 + by0 + cy = 0
30.
Suppose the characteristic polynomial of ay00 + by0 + cy = 0 has distinct real roots r1 and r2 . Use
a method suggested by Exercise 22 to find a formula for the solution of
y0 (x0 ) = k1 .
y(x0 ) = k0 ,
y0 (x0 ) = k1 .
Suppose the characteristic polynomial of ay00 + by0 + cy = 0 has complex conjugate roots i.
Use a method suggested by Exercise 22 to find a formula for the solution of
ay00 + by0 + cy = 0,
33.
y(x0 ) = k0 ,
Suppose the characteristic polynomial of ay00 + by0 + cy = 0 has a repeated real root r1 . Use a
method suggested by Exercise 22 to find a formula for the solution of
ay00 + by0 + cy = 0,
32.
(A)
has a repeated negative root or two roots with negative real parts, then every solution of (A) approaches zero as x .
ay00 + by0 + cy = 0,
31.
219
y(x0 ) = k0 ,
y0 (x0 ) = k1 .
(A)
has a repeated real root r1 . Temporarily, think of erx as a function of two real variables x and r.
(a) Show that
a
2 rx
rx
rx
a
(e ) + b
(e ) + c(xerx ) = [2 + (r r1 )x]a(r r1 )erx .
r 2 x
r x
(B)
(C)
(c) Reverse the orders of the partial differentiations in the first two terms on the left side of (C)
to obtain
a
(d) Set r = r1 in (B) and (D) to see that y1 = er1 x and y2 = xer1 x are solutions of (A)
(D)
In calculus you learned that eu , cos u, and sin u can be represented by the infinite series
eu =
cos u =
X
un
u
u2
u3
un
=1+ +
+
++
+
n!
1!
2!
3!
n!
n=0
and
sin u =
u2n
u2
u4
u2n
=1
+
+ + (1)n
+ ,
(2n)!
2!
4!
(2n)!
(B)
u2n+1
u3
u5
u2n+1
=u
+
+ + (1)n
+
(2n + 1)!
3!
5!
(2n + 1)!
(C)
(1)n
n=0
(1)n
n=0
(A)
for all real values of u. Even though you have previously considered (A) only for real values of u,
we can set u = i, where is real, to obtain
ei =
X
(i)n
.
n!
n=0
(D)
Given the proper background in the theory of infinite series with complex terms, it can be shown
that the series in (D) converges for all real .
(a) Recalling that i2 = 1, write enough terms of the sequence {in } to convince yourself that
the sequence is repetitive:
1, i, 1, i, 1, i, 1, i, 1, i, 1, i, 1, i, 1, i, .
Use this to group the terms in (D) as
4
3
5
2
i
+
+ +i
+
+
e
=
1
2
4
3!
5!
=
(1)n
n=0
X
2n
2n+1
+i
(1)n
.
(2n)!
(2n + 1)!
n=0
(E)
to verify that
ei(1 +2 ) = ei1 ei2 ,
as you would expect from the use of the exponential notation ei .
221
(F)
(G)
if u and v are both solutions of (G). Use Theorem 5.2.1(c) to verify that if the characteristic
equation of (G) has complex conjugate roots i then z1 = e(+i)x and z2 = e(i)x
are both solutions of (G).
(5.3.1)
where the forcing function f isnt identically zero. The next theorem, an extension of Theorem 5.1.1,
gives sufficient conditions for existence and uniqueness of solutions of initial value problems for (5.3.1).
We omit the proof, which is beyond the scope of this book.
Theorem 5.3.1 Suppose p, , q and f are continuous on an open interval (a, b), let x0 be any point in
(a, b), and let k0 and k1 be arbitrary real numbers. Then the initial value problem
y00 + p(x)y0 + q(x)y = f(x),
y(x0 ) = k0 ,
y0 (x0 ) = k1
(5.3.2)
(5.3.3)
on (a, b), and let {y1 , y2 } be a fundamental set of solutions of the complementary equation
y00 + p(x)y0 + q(x)y = 0
(5.3.4)
(5.3.5)
and
so
y00 + p(x)y0 + q(x)y
=
=
=
P1 (x) 0 P2 (x)
F (x)
y +
y=
P0 (x)
P0 (x)
P0 (x)
223
Example 5.3.1
(a) Find the general solution of
y00 + y = 1.
(5.3.7)
y(0) = 2,
y0 (0) = 7.
(5.3.8)
S OLUTION (a) We can apply Theorem 5.3.2 with (a, b) = (, ), since the functions p 0, q 1,
and f 1 in (5.3.7) are continuous on (, ). By inspection we see that yp 1 is a particular solution
of (5.3.7). Since y1 = cos x and y2 = sin x form a fundamental set of solutions of the complementary
equation y00 + y = 0, the general solution of (5.3.7) is
y = 1 + c1 cos x + c2 sin x.
(5.3.9)
S OLUTION (b) Imposing the initial condition y(0) = 2 in (5.3.9) yields 2 = 1 + c1 , so c1 = 1. Differentiating (5.3.9) yields
y0 = c1 sin x + c2 cos x.
Imposing the initial condition y0 (0) = 7 here yields c2 = 7, so the solution of (5.3.8) is
y = 1 + cos x + 7 sin x.
Figure 5.3.1 is a graph of this function.
Example 5.3.2
(a) Find the general solution of
y00 2y0 + y = 3 x + x2 .
(5.3.10)
y(0) = 2,
y0 (0) = 1.
(5.3.11)
then
yp00 = 2C,
so
yp00 2yp0 + yp
=
=
2
4
6
8
A 2B + 2C
=
=
=
1
1
3,
(5.3.12)
(5.3.13)
225
y
16
14
12
10
8
6
4
2
0.5
1.0
1.5
2.0
Figure 5.3.2 y = 1 + 3x + x2 ex (3 x)
Solution In Example 5.1.3, we verified that y1 = x2 and y2 = 1/x2 form a fundamental set of solutions
of the complementary equation
x2 y00 + xy0 4y = 0
on (, 0) and (0, ). To find a particular solution of (5.3.13), we note that if yp = Ax4 , where A is a
constant then both sides of (5.3.13) will be constant multiples of x4 and we may be able to choose A so
the two sides are equal. This is true in this example, since if yp = Ax4 then
x2 yp00 + xyp0 4yp = x2 (12Ax2 ) + x(4Ax3 ) 4Ax4 = 12Ax4 = 2x4
x4
c2
+ c1 x 2 + 2 .
6
x
=
=
=
f1 (x) + f2 (x).
(5.3.14)
where
thus, if ypi is a particular solution of
f = f1 + f2 + + fk ;
y00 + p(x)y0 + q(x)y = fi (x)
on (a, b) for i = 1, 2, . . . , k, then yp1 + yp2 + + ypk is a particular solution of (5.3.14) on (a, b).
Moreover, by a proof similar to the proof of Theorem 5.3.3 we can formulate the principle of superposition
in terms of a linear equation written in the form
P0 (x)y00 + P1 (x)y0 + P2 (x)y = F (x)
(Exercise 39); that is, if yp1 is a particular solution of
P0 (x)y00 + P1 (x)y0 + P2 (x)y = F1 (x)
on (a, b) and yp2 is a particular solution of
P0 (x)y00 + P1 (x)y0 + P2 (x)y = F2 (x)
on (a, b), then yp1 + yp2 is a solution of
P0 (x)y00 + P1 (x)y0 + P2 (x)y = F1 (x) + F2 (x)
on (a, b).
Example 5.3.4 The function yp1 = x4 /15 is a particular solution of
x2 y00 + 4xy0 + 2y = 2x4
(5.3.15)
(5.3.16)
(5.3.17)
227
Solution The right side F (x) = 2x4 + 4x2 in (5.3.17) is the sum of the right sides
F1 (x) = 2x4
and
F2 (x) = 4x2 .
x4
x2
+
15
3
5.3 Exercises
In Exercises 16 find a particular solution by the method used in Example 5.3.2. Then find the general
solution and, where indicated, solve the initial value problem and graph the solution.
1.
2.
3.
4.
y00 4y0 + 5y = 1 + 5x
5.
6.
7.
y(0) = 2,
y0 (0) = 9
y(0) = 2, y0 (0) = 2
Show that the method used in Example 5.3.2 wont yield a particular solution of
y00 + y0 = 1 + 2x + x2 ;
(A)
that is, (A) doesnt have a particular solution of the form yp = A + Bx + Cx2 , where A, B, and
C are constants.
In Exercises 813 find a particular solution by the method used in Example 5.3.3.
9.
8.
6
x2 y00 + 7xy0 + 8y =
x
10.
11.
x2 y00 + 5xy0 + 4y =
12.
13.
14.
Show that the method suggested for finding a particular solution in Exercises 8-13 wont yield a
particular solution of
1
x2 y00 + 3xy0 3y = 3 ;
(A)
x
that is, (A) doesnt have a particular solution of the form yp = A/x3 .
15.
1
x3
16.
17.
18.
19.
y(0) = 2, y0 (0) = 10
y(0) = 2,
y0 (0) = 0
y00 + 6y0 + 10y = e3x
20.
22.
Show that the method suggested for finding a particular solution in Exercises 16-21 wont yield a
particular solution of
y00 7y0 + 12y = 5e4x;
(A)
21.
that is, (A) doesnt have a particular solution of the form yp = Ae4x .
23.
If is a constant, differentiating a linear combination of cos x and sin x with respect to x yields
another linear combination of cos x and sin x. In Exercises 2429 use this to find a particular solution
of the equation. Then find the general solution and, where indicated, solve the initial value problem and
graph the solution.
24.
25.
26.
27.
28.
29.
30.
y(0) = 3,
y(0) = 2,
y0 (0) = 3
y0 (0) = 2
Show that the method suggested for finding a particular solution in Exercises 24-29 wont yield a
particular solution of
y00 + y = cos x + sin x;
(A)
that is, (A) does not have a particular solution of the form yp = A cos x + B sin x.
229
Prove: If M , N are constants (not both zero) and > 0, the constant coefficient equation
ay00 + by0 + cy = M cos x + N sin x
(A)
has a particular solution thats a linear combination of cos x and sin x if and only if the left side
of (A) is not of the form a(y00 +2 y), so that cos x and sin x are solutions of the complementary
equation.
In Exercises 3338 refer to the cited exercises and use the principal of superposition to find a particular
solution. Then find the general solution.
33.
34.
35.
36.
37.
y00 + 2y0 + 10y = 4 + 26x + 6x2 + 10x3 + ex/2 (See Exercises 5 and 20.)
38.
39.
40.
Suppose p, q, and f are continuous on (a, b). Let y1 , y2 , and yp be twice differentiable on (a, b),
such that y = c1 y1 + c2 y2 + yp is a solution of
y00 + p(x)y0 + q(x)y = f
on (a, b) for every choice of the constants c1 , c2 . Show that y1 and y2 are solutions of the complementary equation on (a, b).
(5.4.1)
(5.4.2)
if A = 2. Therefore yp = 2e2x is a particular solution of (5.4.2). To find the general solution, we note
that the characteristic polynomial of the complementary equation
y00 7y0 + 12y = 0
(5.4.3)
(5.4.4)
y0 = u0 e4x + 4ue4x ,
and
(5.4.5)
231
(5.4.6)
(5.4.7)
is p(r) = r 2 8r + 16 = (r 4)2 , both y1 = e4x and y2 = xe4x are solutions of (5.4.7). Therefore
(5.4.6) does not have a solution of the form yp = Ae4x or yp = Axe4x. As in Example 5.4.2, we look
for solutions of (5.4.6) in the form y = ue4x, where u is a function to be determined. Substituting from
(5.4.5) into (5.4.6) and canceling the common factor e4x yields
(u00 + 8u0 + 16u) 8(u0 + 4u) + 16u = 2,
or
u00 = 2.
Integrating twice and taking the constants of integration to be zero shows that up = x2 is a particular
solution of this equation, so yp = x2 e4x is a particular solution of (5.4.4). Therefore
y = e4x (x2 + c1 + c2 x)
is the general solution.
The preceding examples illustrate the following facts concerning the form of a particular solution yp
of a constant coefficent equation
ay00 + by0 + cy = kex ,
where k is a nonzero constant:
(a) If ex isnt a solution of the complementary equation
ay00 + by0 + cy = 0,
(5.4.8)
(5.4.9)
(5.4.10)
Solution Substituting
y = ue3x ,
y0 = u0 e3x + 3ue3x ,
(5.4.11)
As in Example 2, in order to guess a form for a particular solution of (5.4.11), we note that substituting a
second degree polynomial up = A + Bx + Cx2 for u in the left side of (5.4.11) produces another second
degree polynomial with coefficients that depend upon A, B, and C; thus,
if
up = A + Bx + Cx2
then
u00p = 2C.
Equating coefficients of like powers of x on the two sides of the last equality yields
2C
2B + 6C
2A + 3B + 2C
=
1
=
2
= 1.
Solving these equations for C, B, and A (in that order) yields C = 1/2, B = 1/2, A = 1/4.
Therefore
1
up = (1 + 2x 2x2 )
4
is a particular solution of (5.4.11), and
yp = up e3x =
is a particular solution of (5.4.10).
e3x
(1 + 2x 2x2 )
4
233
(5.4.12)
Solution Substituting
y = ue3x ,
y0 = u0 e3x + 3ue3x ,
(5.4.13)
3x
Theres no u term in this equation, since e is a solution of the complementary equation for (5.4.12).
(See Exercise 30.) Therefore (5.4.13) does not have a particular solution of the form up = A + Bx + Cx2
that we used successfully in Example 5.4.4, since with this choice of up ,
u00p + 2u0p = 2C + (B + 2Cx)
cant contain the last term (12x2) on the right side of (5.4.13). Instead, lets try up = Ax + Bx2 + Cx3
on the grounds that
u0p = A + 2Bx + 3Cx2 and u00p = 2B + 6Cx
together contain all the powers of x that appear on the right side of (5.4.13).
Substituting these expressions in place of u0 and u00 in (5.4.13) yields
(2B + 6Cx) + 2(A + 2Bx + 3Cx2 ) = (2B + 2A) + (6C + 4B)x + 6Cx2 = 6 + 8x + 12x2 .
Comparing coefficients of like powers of x on the two sides of the last equality shows that up satisfies
(5.4.13) if
6C = 12
4B + 6C =
8
2A + 2B
=
6.
Solving these equations successively yields C = 2, B = 1, and A = 4. Therefore
up = x(4 x + 2x2 )
is a particular solution of (5.4.13), and
yp = up e3x = xe3x(4 x + 2x2 )
is a particular solution of (5.4.12).
Example 5.4.6 Find a particular solution of
4y00 + 4y0 + y = ex/2 (8 + 48x + 144x2 ).
(5.4.14)
Solution Substituting
y = uex/2 ,
1
y0 = u0 ex/2 uex/2 ,
2
and
1
y00 = u00 ex/2 u0 ex/2 + uex/2
4
or
x/2
(5.4.15)
x/2
and
Therefore
yp = up ex/2 = x2 ex/2 (1 + 2x + 3x2 )
is a particular solution of (5.4.14).
Summary
The preceding examples illustrate the following facts concerning particular solutions of a constant coefficent equation of the form
ay00 + by0 + cy = ex G(x),
where G is a polynomial (see Exercise 30):
(a) If ex isnt a solution of the complementary equation
ay00 + by0 + cy = 0,
(5.4.16)
then yp = ex Q(x), where Q is a polynomial of the same degree as G. (See Example 5.4.4).
(b) If ex is a solution of (5.4.16) but xex is not, then yp = xexQ(x), where Q is a polynomial of
the same degree as G. (See Example 5.4.5.)
(c) If both ex and xex are solutions of (5.4.16), then yp = x2 ex Q(x), where Q is a polynomial of
the same degree as G. (See Example 5.4.6.)
In all three cases, you can just substitute the appropriate form for yp and its derivatives directly into
ayp00 + byp0 + cyp = ex G(x),
and solve for the coefficients of the polynomial Q. However, if you try this you will see that the computations are more tedious than those that you encounter by making the substitution y = uex and finding
a particular solution of the resulting equation for u. (See Exercises 34-36.) In Case (a) the equation for u
will be of the form
au00 + p0 ()u0 + p()u = G(x),
with a particular solution of the form up = Q(x), a polynomial of the same degree as G, whose coefficients can be found by the method used in Example 5.4.4. In Case (b) the equation for u will be of the
form
au00 + p0 ()u0 = G(x)
(no u term on the left), with a particular solution of the form up = xQ(x), where Q is a polynomial of
the same degree as G whose coefficents can be found by the method used in Example 5.4.5. In Case (c)
the equation for u will be of the form
au00 = G(x)
235
with a particular solution of the form up = x2 Q(x) that can be obtained by integrating G(x)/a twice and
taking the constants of integration to be zero, as in Example 5.4.6.
Using the Principle of Superposition
The next example shows how to combine the method of undetermined coefficients and Theorem 5.3.3,
the principle of superposition.
Example 5.4.7 Find a particular solution of
y00 7y0 + 12y = 4e2x + 5e4x.
(5.4.17)
5.4 Exercises
In Exercises 114 find a particular solution.
1.
2.
3.
4.
5.
y00 + 4y = ex (7 4x + 5x2 )
6.
y00 y0 2y = ex (9 + 2x 4x2 )
7.
8.
9.
10.
11.
12.
13.
14.
16.
17.
18.
19.
21.
22.
23.
y(0) = 0,
y0 (0) = 10
y(0) = 2,
y0 (0) = 8
y(0) = 1,
y(0) = 1,
y0 (0) = 2
y0 (0) = 17
25.
26.
27.
28.
29.
30.
(A)
(B)
32.
yp = Ae2x
33.
yp = Axe4x
34.
yp = Ax2 e4x
35.
yp = e3x(A + Bx + Cx2 )
36.
37.
38.
237
R
Suppose 6= 0 and k is a positive integer. In most calculus books integrals like xk ex dx are
evaluated by integrating by parts k times. This exercise presents another method. Let
Z
y = ex P (x) dx
with
P (x) = p0 + p1 x + + pk xk ,
u, where
(where pk 6= 0).
u0 + u = P (x).
(A)
ex P (x) dx = A0 + A1 x + + Ak xk ex + c,
40.
(5.5.1)
where and are real numbers, 6= 0, and P and Q are polynomials. We want to find a particular
solution of (5.5.1). As in Section 5.4, the procedure that we will use is called the method of undetermined
coefficients.
Forcing Functions Without Exponential Factors
We begin with the case where = 0 in (5.5.1); thus, we we want to find a particular solution of
ay00 + by0 + cy = P (x) cos x + Q(x) sin x,
(5.5.2)
and
d r
x cos x
dx
d r
x sin x
dx
(5.5.3)
239
where
A(x) = A0 + A1 x + + Ak xk
and
B(x) = B0 + B1 x + + Bk xk ,
provided that cos x and sin x are not solutions of the complementary equation. The solutions of
a(y00 + 2 y) = P (x) cos x + Q(x) sin x
(for which cos x and sin x are solutions of the complementary equation) are of the form (5.5.3), where
A(x) = A0 x + A1 x2 + + Ak xk+1
and
B(x) = B0 x + B1 x2 + + Bk xk+1 .
For an analog of this theorem thats applicable to (5.5.1), see Exercise 38.
Example 5.5.1 Find a particular solution of
y00 2y0 + y = 5 cos 2x + 10 sin 2x.
(5.5.4)
Solution In (5.5.4) the coefficients of cos 2x and sin 2x are both zero degree polynomials (constants).
Therefore Theorem 5.5.1 implies that (5.5.4) has a particular solution
yp = A cos 2x + B sin 2x.
Since
yp0 = 2A sin 2x + 2B cos 2x and
Equating the coefficients of cos 2x and sin 2x here with the corresponding coefficients on the right side
of (5.5.4) shows that yp is a solution of (5.5.4) if
3A 4B
4A 3B
=
=
5
10.
(5.5.5)
Solution The procedure used in Example 5.5.1 doesnt work here; substituting yp = A cos 2x + B sin 2x
for y in (5.5.5) yields
yp00 + 4yp = 4(A cos 2x + B sin 2x) + 4(A cos 2x + B sin 2x) = 0
and
yp0
yp00
so
yp00 + 4yp = 4A sin 2x + 4B cos 2x.
(5.5.7)
Solution The coefficients of cos x and sin x in (5.5.7) are polynomials of degree one and zero, respectively. Therefore Theorem 5.5.1 tells us to look for a particular solution of (5.5.7) of the form
yp = (A0 + A1 x) cos x + (B0 + B1 x) sin x.
(5.5.8)
(5.5.9)
(5.5.10)
Then
and
so
(5.5.11)
Comparing the coefficients of x cos x, x sin x, cos x, and sin x here with the corresponding coefficients
in (5.5.7) shows that yp is a solution of (5.5.7) if
A1 + 3B1
3A1 + B1
A0 + 3B0 + 3A1 + 2B1
3A0 + B0 2A1 + 3B1
=
=
=
=
20
0
16
10.
Solving the first two equations yields A1 = 2, B1 = 6. Substituting these into the last two equations
yields
A0 + 3B0
3A0 + B0
=
=
16 3A1 2B1 = 2
10 + 2A1 3B1 = 4.
241
(5.5.12)
Solution According to Theorem 5.5.1, we should look for a particular solution of the form
yp = (A0 x + A1 x2 ) cos x + (B0 x + B1 x2 ) sin x,
(5.5.13)
since cos x and sin x are solutions of the complementary equation. However, lets try
yp = (A0 + A1 x) cos x + (B0 + B1 x) sin x
(5.5.14)
(5.5.15)
when 6= 0, we recall from Section 5.4 that substituting y = uex into (5.5.15) will produce a constant
coefficient equation for u with the forcing function P (x) cos x + Q(x) sin x. We can find a particular
solution up of this equation by the procedure that we used in Examples 5.5.15.5.4. Then yp = up ex is
a particular solution of (5.5.15).
Example 5.5.5 Find a particular solution of
y00 3y0 + 2y = e2x [2 cos 3x (34 150x) sin 3x] .
(5.5.16)
if
u00 7u0 + 12u = 2 cos 3x (34 150x) sin 3x.
(5.5.17)
and
u0p
u00p
=
=
(5.5.18)
243
so
u00p 7u0p + 12up
Comparing the coefficients of x cos 3x, x sin 3x, cos 3x, and sin 3x here with the corresponding coefficients on the right side of (5.5.17) shows that up is a solution of (5.5.17) if
3A1 21B1
21A1 + 3B1
3A0 21B0 7A1 + 6B1
21A0 + 3B0 6A1 7B1
=
=
=
=
0
150
2
34.
(5.5.19)
Solving the first two equations yields A1 = 7, B1 = 1. Substituting these values into the last two
equations of (5.5.19) yields
3A0 21B0
21A0 + 3B0
=
2 + 7A1 6B1 = 45
= 34 + 6A1 + 7B1 = 15.
(5.5.20)
=
=
=
if
u00 + 4u = (6 16x) cos 2x (8 + 8x) sin 2x.
Since cos 2x and sin 2x are solutions of the complementary equation
u00 + 4u = 0,
Theorem 5.5.1 tells us to look for a particular solution of (5.5.21) of the form
up = (A0 x + A1 x2 ) cos 2x + (B0 x + B1 x2 ) sin 2x.
(5.5.21)
and
so
u0p
u00p
A0 + (2A1 + 2B0 )x + 2B1 x2 cos 2x
+ B0 + (2B1 2A0 )x 2A1 x2 sin 2x
2A1 + 4B0 (4A0 8B1 )x 4A1 x2 cos 2x
+ 2B1 4A0 (4B0 + 8A1 )x 4B1 x2 sin 2x,
u00p + 4up = (2A1 + 4B0 + 8B1 x) cos 2x + (2B1 4A0 8A1 x) sin 2x.
Equating the coefficients of x cos 2x, x sin 2x, cos 2x, and sin 2x here with the corresponding coefficients
on the right side of (5.5.21) shows that up is a solution of (5.5.21) if
8B1
8A1
4B0 + 2A1
4A0 + 2B1
=
=
=
=
16
8
6
8.
(5.5.22)
5.5 Exercises
In Exercises 117 find a particular solution.
1.
2.
3.
4.
5.
6.
y00 y0 + y = ex (2 + x) sin x
y00 + 3y0 2y = e2x [(4 + 20x) cos 3x + (26 32x) sin 3x]
13.
14.
15.
16.
17.
245
19.
20.
21.
y(0) = 4, y0 (0) = 2
y(0) = 1, y0 (0) = 4
y(0) = 2,
y0 (0) = 3
y(0) = 2,
y0 (0) = 7
y0 (0) = 6
In Exercises 2732 use the principle of superposition to find a particular solution. Where indicated, solve
the initial value problem.
27.
28.
29.
30.
31.
32.
y(0) = 5, y0 (0) = 3
In Exercises 3335 solve the initial value problem and graph the solution.
33.
34.
y0 (0) = 1
y(0) = 1, y0 (0) = 2
y(0) = 3, y0 (0) = 5
and
Q(x) = q0 + q1 x + + qk xk ,
where at least one of the coefficients pk , qk is nonzero, so k is the larger of the degrees of P and Q.
(a) Show that if cos x and sin x are not solutions of the complementary equation
ay00 + by0 + cy = 0,
then there are polynomials
A(x) = A0 + A1 x + + Ak xk
such that
and
B(x) = B0 + B1 x + + Bk xk
bA + (c a2 )B 2aA0 + bB 0 + aB 00
(A)
= P
= Q,
where (Ak , Bk ), (Ak1 , Bk1), . . . ,(A0 , B0 ) can be computed successively by solving the
systems
(c a2 )Ak + bBk = pk
and, if 1 r k,
bAk + (c a2 )Bk
qk ,
(c a2 )Akr + bBkr
pkr +
bAkr + (c a )Bkr
qkr + ,
where the terms indicated by depend upon the previously computed coefficients with
subscripts greater than k r. Conclude from this and Exercise 36(b) that
yp = A(x) cos x + B(x) sin x
is a particular solution of
ay00 + by0 + cy = P (x) cos x + Q(x) sin x.
(B)
247
(C)
does not have a solution of the form (B) with A and B as in (A). Then show that there are
polynomials
A(x) = A0 x + A1 x2 + + Ak xk+1
such that
B(x) = B0 x + B1 x2 + + Bk xk+1
and
a(A00 + 2B 0 ) =
00
a(B 2A ) =
P
Q,
where the pairs (Ak , Bk ), (Ak1 , Bk1 ), . . . , (A0 , B0 ) can be computed successively as
follows:
qk
Ak =
2a(k + 1)
Bk
pk
,
2a(k + 1)
and, if k 1,
Akj
Bkj
1
qkj
(k j + 2)Bkj+1
2 a(k j + 1)
1
pkj
(k j + 2)Akj+1
2 a(k j + 1)
for 1 j k. Conclude that (B) with this choice of the polynomials A and B is a particular
solution of (C).
38.
Show that Theorem 5.5.1 implies the next theorem: Suppose is a positive number and P and Q
are polynomials. Let k be the larger of the degrees of P and Q. Then the equation
ay00 + by0 + cy = ex (P (x) cos x + Q(x) sin x)
has a particular solution
yp = ex (A(x) cos x + B(x) sin x) ,
(A)
where
A(x) = A0 + A1 x + + Ak xk
and
B(x) = B0 + B1 x + + Bk xk ,
provided that ex cos x and ex sin x are not solutions of the complementary equation. The
equation
a y00 2y0 + (2 + 2 )y = ex (P (x) cos x + Q(x) sin x)
(for which ex cos x and ex sin x are solutions of the complementary equation) has a particular solution of the form (A), where
A(x) = A0 x + A1 x2 + + Ak xk+1
and
B(x) = B0 x + B1 x2 + + Bk xk+1 .
Q(x) = q0 + q1 x + + qk xk .
(A)
B(x) = B0 + B1 x + + Bk xk ,
and the pairs of coefficients (Ak , Bk ), (Ak1 , Bk1 ), . . . ,(A0 , B0 ) can be computed successively as the solutions of pairs of equations obtained by equating the coefficients of xr cos x
and xr sin x for r = k, k 1, . . . , 0.
(c) Conclude that
Z
ex (P (x) cos x + Q(x) sin x) dx = ex (A(x) cos x + B(x) sin x) + c,
where c is a constant of integration.
40.
(5.6.1)
(5.6.2)
The method is called reduction of order because it reduces the task of solving (5.6.1) to solving a first
order equation. Unlike the method of undetermined coefficients, it does not require P0 , P1 , and P2 to be
constants, or F to be of any special form.
249
By now you shoudnt be surprised that we look for solutions of (5.6.1) in the form
y = uy1
(5.6.3)
=
=
u0 y1 + uy10
u00 y1 + 2u0 y10 + uy100
(5.6.4)
However, the coefficient of u is zero, since y1 satisfies (5.6.2). Therefore (5.6.4) reduces to
Q0 (x)u00 + Q1 (x)u0 = F,
(5.6.5)
with
Q0 = P0 y1
and
Q1 = 2P0 y10 + P1 y1 .
(It isnt worthwhile to memorize the formulas for Q0 and Q1 !) Since (5.6.5) is a linear first order equation
in u0 , we can solve it for u0 by variation of parameters as in Section 1.2, integrate the solution to obtain
u, and then obtain y from (5.6.3).
Example 5.6.1
(a) Find the general solution of
xy00 (2x + 1)y0 + (x + 1)y = x2 ,
(5.6.6)
(5.6.7)
=
=
u0
= xex .
x
(5.6.8)
where
v0 x = xex,
so
v0 = ex
and
v = ex + C1 .
C1 2
x + C2 .
2
C1 2 x
x e + C2 ex .
2
(5.6.10)
(5.6.11)
y(1) = 2, y0 (1) = 3.
(5.6.12)
251
=
=
1
1
3 0
u = + 3.
x
x x
(5.6.13)
To focus on how we apply variation of parameters to this equation, we temporarily write z = u0 , so that
(5.6.13) becomes
1
1
3
z0 + z = + 3 .
(5.6.14)
x
x x
We leave it to you to show by separation of variables that z1 = 1/x3 is a solution of the complementary
equation
3
z0 + z = 0
x
for (5.6.14). By variation of parameters, every solution of (5.6.14) is of the form
z=
v
x3
where
v0
1
1
= + 3,
x3
x x
so
v 0 = x2 + 1
and
v=
x3
+ x + C1 .
3
v
1
1
C1
= + 2 + 3.
x3
3 x
x
u=
x 1
C1
2 + C2 .
3 x 2x
x2
C1
1
+ C2 x.
3
2x
(5.6.15)
Reasoning as in the solution of Example 5.6.1(a), we conclude that y1 = x and y2 = 1/x form a
fundamental set of solutions for (5.6.11).
As we explained above, we rename the constants in (5.6.15) and rewrite it as
y=
x2
c2
1 + c1 x + .
3
x
(5.6.16)
2x
c2
+ c1 2 .
3
x
(5.6.17)
8
3
11
= .
3
=
Solving these equations yields c1 = 1/2, c2 = 19/6. Therefore the solution of (5.6.12) is
y=
x2
x 19
1 +
.
3
2
6x
Using reduction of order to find the general solution of a homogeneous linear second order equation
leads to a homogeneous linear first order equation in u0 that can be solved by separation of variables. The
next example illustrates this.
Example 5.6.3 Find the general solution and a fundamental set of solutions of
x2 y00 3xy0 + 3y = 0,
(5.6.18)
x3 u00 x2 u0 .
u00
1
= ,
0
u
x
so
Therefore
ln |u0 | = ln |x| + k,
u=
or, equivalently,
u0 = C1 x.
C1 2
x + C2 ,
2
C1 3
x + C2 x,
2
which we rewrite as
y = c1 x + c2 x 3 .
Therefore {x, x3 } is a fundamental set of solutions of (5.6.18).
5.6 Exercises
In Exercises 117 find the general solution, given that y1 satisfies the complementary equation. As a
byproduct, find a fundamental set of solutions of the complementary equation.
9.
x2 y00 + xy0 4y = 6x 4;
11.
12.
13.
y1 = ex
y1 = xex
y1 = xex
y1 = ex
y1 = x2
15.
17.
y1 = x2
14.
16.
y1 = x1/2 ex
y1 = ex cos x
8.
10.
y1 = ex
253
y1 = ex
y1 = ex
y1 = x1/2
y1 = x2
y1 = ex
y1 = x2
y1 = ln |x|
y1 = ex
y1 = xa
y1 = x sin x
y1 = e2x
4x2 (sin x)y00 4x(x cos x + sin x)y0 + (2x cos x + 3 sin x)y = 0;
y1 = x1/2 e2x
00
y1 = x1/2
y1 = 1/x
y1 = ex
y1 = e2x
In Exercises 3133 solve the initial value problem, given that y1 satisfies the complementary equation.
31.
32.
y(1) = 7,
y0 (1) = 8;
y1 = x2
y(0) = 2, y0 (0) = 3;
y1 = e2x
y(0) = 1,
y1 = (x + 1)ex
y0 (0) = 1;
In Exercises 34 and 35 solve the initial value problem and graph the solution, given that y1 satisfies the
complementary equation.
34.
35.
36.
5 0
3
, y (1) = ; y1 = x
4
2
1
C/G (x2 4)y00 + 4xy0 + 2y = x + 2, y(0) = , y0 (0) = 1;
3
Suppose p1 and p2 are continuous on (a, b). Let y1 be a solution of
C/G x2 y00 + 2xy0 2y = x2 ,
y(1) =
y1 =
1
x2
(A)
that has no zeros on (a, b), and let x0 be in (a, b). Use reduction of order to show that y1 and
Z t
Z x
1
y2 (x) = y1 (x)
exp
p1 (s) ds dt
2
x0 y1 (t)
x0
form a fundamental set of solutions of (A) on (a, b). (N OTE: This exercise is related to Exercise 9.)
37.
(A)
is a Riccati equation. (See Exercise 2.4.55.) Assume that p and q are continuous.
(a) Show that y is a solution of (A) if and only if y = z 0 /z, where
z 00 + p(x)z 0 + q(x)z = 0.
(B)
c1 z10 + c2 z20
,
c1 z1 + c2 z2
(C)
where {z1 , z2 } is a fundamental set of solutions of (B) and c1 and c2 are arbitrary constants.
(c) Does the formula (C) imply that the first order equation (A) has a twoparameter family of
solutions? Explain your answer.
38.
(e) y0 + y2 + 14y + 50 = 0
39.
(b) y0 + y2 3y + 2 = 0
(d) y0 + y2 + 8y + 7 = 0
Use a method suggested by Exercise 37 and reduction of order to find all solutions of the equation,
given that y1 is a solution.
(a)
(b)
(c)
(d)
255
1
1
= 0; y1 = tan x
4
2x
(f) x2 (y0 + y2 ) 7xy + 7 = 0; y1 = 1/x
(e) x2 (y0 + y2 ) + xy + x2
40.
(A)
is the generalized Riccati equation. (See Exercise 2.4.55.) Assume that p and q are continuous
and r is differentiable.
(a) Show that y is a solution of (A) if and only if y = z 0 /rz, where
r 0 (x) 0
00
z + p(x)
z + r(x)q(x)z = 0.
r(x)
(B)
c1 z10 + c2 z20
,
r(c1 z1 + c2 z2 )
where {z1 , z2 } is a fundamental set of solutions of (B) and c1 and c2 are arbitrary constants.
(5.7.1)
(5.7.2)
Having found a particular solution yp by this method, we can write the general solution of (5.7.1) as
y = yp + c1 y1 + c2 y2 .
Since we need only one nontrivial solution of (5.7.2) to find the general solution of (5.7.1) by reduction
of order, its natural to ask why were interested in variation of parameters, which requires two linearly
independent solutions of (5.7.2) to achieve the same goal. Heres the answer:
If we already know two linearly independent solutions of (5.7.2) then variation of parameters will
probably be simpler than reduction of order.
Variation of parameters generalizes naturally to a method for finding particular solutions of higher
order linear equations (Section 9.4) and linear systems of equations (Section 10.7), while reduction
of order doesnt.
Variation of parameters is a powerful theoretical tool used by researchers in differential equations.
Although a detailed discussion of this is beyond the scope of this book, you can get an idea of what
it means from Exercises 3739.
(5.7.4)
(5.7.5)
(5.7.6)
(5.7.8)
u02 y20
= 0
F
=
,
P0
(5.7.9)
where the first equation is the same as (5.7.5) and the second is from (5.7.8).
Well now show that you can always solve (5.7.9) for u01 and u02 . (The method that we use here will
always work, but simpler methods usually work when youre dealing with specific equations.) To obtain
u01 , multiply the first equation in (5.7.9) by y20 and the second equation by y2 . This yields
u01 y1 y20 + u02 y2 y20
u01 y10 y2 + u02 y20 y2
= 0
F y2
=
.
P0
F y2
.
P0
(5.7.10)
257
Since {y1 , y2 } is a fundamental set of solutions of (5.7.2) on (a, b), Theorem 5.1.6 implies that the
Wronskian y1 y20 y10 y2 has no zeros on (a, b). Therefore we can solve (5.7.10) for u01 , to obtain
u01 =
F y2
.
P0 (y1 y20 y10 y2 )
(5.7.11)
We leave it to you to start from (5.7.9) and show by a similar argument that
u02 =
F y1
.
P0 (y1 y20 y10 y2 )
(5.7.12)
We can now obtain u1 and u2 by integrating u01 and u02 . The constants of integration can be taken to be
zero, since any choice of u1 and u2 in (5.7.3) will suffice.
You should not memorize (5.7.11) and (5.7.12). On the other hand, you dont want to rederive the
whole procedure for every specific problem. We recommend the a compromise:
(a) Write
yp = u1 y1 + u2 y2
(5.7.13)
to remind yourself of what youre doing.
(b) Write the system
u01 y1 + u02 y2
0
F
P0
(5.7.14)
(5.7.15)
u01 + 2u02 x
x9/2
= x5/2 .
x2
From the first equation, u01 = u02 x. Substituting this into the second equation yields u02 x = x5/2 , so
u02 = x3/2 and therefore u01 = u02 x = x5/2 . Integrating and taking the constants of integration to be
zero yields
2
2
u1 = x7/2 and u2 = x5/2 .
7
5
2
2
4 9/2
yp = u1 x + u2 x2 = x7/2 x + x5/2 x2 =
x ,
7
5
35
and the general solution of (5.7.15) is
y=
4 9/2
x + c1 x + c2 x 2 .
35
(5.7.16)
u01 + u02 ex
0
(x 1)2
= x 1.
x1
Subtracting the first equation from the second yields u01 (x 1) = x 1, so u01 = 1. From this and
the first equation, u02 = xex u01 = xex . Integrating and taking the constants of integration to be zero
yields
u1 = x and u2 = (x + 1)ex .
Therefore
yp = u1 x + u2 ex = (x)x + ((x + 1)ex )ex = x2 x 1,
so the general solution of (5.7.16) is
y = yp + c1 x + c2 ex = x2 x 1 + c1 x + c2 ex = x2 1 + (c1 1)x + c2 ex .
(5.7.17)
However, since c1 is an arbitrary constant, so is c1 1; therefore, we improve the appearance of this result
by renaming the constant and writing the general solution as
y = x2 1 + c1 x + c2 ex .
(5.7.18)
Theres nothing wrong with leaving the general solution of (5.7.16) in the form (5.7.17); however, we
think youll agree that (5.7.18) is preferable. We can also view the transition from (5.7.17) to (5.7.18)
differently. In this example the particular solution yp = x2 x1 contained the term x, which satisfies
the complementary equation. We can drop this term and redefine yp = x2 1, since x2 x 1 is a
solution of (5.7.16) and x is a solution of the complementary equation; hence, x2 1 = (x2 x1)+x
is also a solution of (5.7.16). In general, its always legitimate to drop linear combinations of {y1 , y2 }
from particular solutions obtained by variation of parameters. (See Exercise 36 for a general discussion
of this question.) Well do this in the following examples and in the answers to exercises that ask for a
particular solution. Therefore, dont be concerned if your answer to such an exercise differs from ours
only by a solution of the complementary equation.
259
1
.
1 + ex
(5.7.19)
(5.7.20)
1
.
1 + ex
1
,
1 + ex
so
u02 =
e2x
.
1 + ex
ex
.
1 + ex
Integrating by means of the substitution v = ex and taking the constants of integration to be zero yields
Z
Z
ex
dv
u1 =
dx
=
= ln(1 + v) = ln(1 + ex )
1 + ex
1+v
u01 = u02 ex =
and
u2
e2x
dx =
1 + ex
v
dv =
1+v
ln(1 + v) v = ln(1 + ex ) ex .
Z
1
1 dv
1+v
Therefore
yp
=
=
u1 ex + u2 e2x
[ln(1 + ex )]ex + [ln(1 + ex ) ex ] e2x ,
so
yp = ex + e2x ln(1 + ex ) ex .
Since the last term on the right satisfies the complementary equation, we drop it and redefine
yp = ex + e2x ln(1 + ex ).
The general solution of (5.7.19) is
y = yp + c1 ex + c2 e2x = ex + e2x ln(1 + ex ) + c1 ex + c2 e2x .
2
,
x+1
y(0) = 1,
given that
1
x1
are solutions of the complementary equation
y1 =
y2 =
and
y0 (0) = 5,
(5.7.21)
1
x+1
2
x+1
u2
u1
+
,
x1 x+1
u01
u02
+
x1
x+1
0
u1
u02
2
(x 1)
(x + 1)2
2
.
(x + 1)(x2 1)
(5.7.22)
Multiplying the first equation by 1/(x 1) and adding the result to the second equation yields
1
1
2
.
(5.7.23)
u0 =
x2 1 (x + 1)2 2
(x + 1)(x2 1)
Since
1
(x + 1) (x 1)
2
1
=
=
,
2
2
2
x 1 (x + 1)
(x + 1)(x 1)
(x + 1)(x2 1)
u01 =
x1 0
x1
u =
.
x+1 2
x+1
dx = x.
261
Therefore
yp
=
=
u1
u2
1
1
+
= [2 ln(x + 1) x]
+x
x1 x+1
x1
x+1
2 ln(x + 1)
1
1
2 ln(x + 1)
2x
+x
.
x1
x+1 x1
x1
(x + 1)(x 1)
However, since
1
1
2x
=
+
(x + 1)(x 1)
x+1 x1
2 ln(x + 1)
.
x1
2 ln(x + 1)
c1
c2
+
+
.
x1
x1 x+1
(5.7.24)
2
2 ln(x + 1)
c1
c2
.
x2 1
(x 1)2
(x 1)2
(x + 1)2
Setting x = 0 in the last two equations and imposing the initial conditions y(0) = 1 and y0 (0) = 5
yields the system
c1 + c2
2 c1 c2
=
=
1
5.
=
=
2 ln(x + 1)
2
1
+
+
x1
x1 x+1
2 ln(x + 1) 3x + 1
+ 2
x1
x 1
0.5
0.5
10
20
30
40
50
Figure 5.7.1 y =
2 ln(x + 1) 3x + 1
+ 2
x1
x 1
5.7 Exercises
In Exercises 16 use variation of parameters to find a particular solution.
1.
y00 + 9y = tan 3x
3.
y00 3y0 + 2y =
5.
2.
4
1 + ex
4.
6.
y00 y =
4ex
1 e2x
1.0
263
In Exercises 729 use variation of parameters to find a particular solution, given the solutions y1 , y2 of
the complementary equation.
1
x
7.
8.
9.
y1 = x,
y1 = ex ,
10.
11.
12.
13.
14.
15.
16.
17.
18.
19.
20.
21.
22.
23.
24.
25.
26.
27.
28.
29.
y2 =
y2 =
y1 = ex ,
ex
x
x > 0;
y2 = xex
y1 = x2 , y2 = x3
y1 = x, y2 = x3
xy y 4x y = 8x ;
y1 = ex ,
y1 = xa ,
y2 = x3 ex
y2 = xa ln x
y1 = x cos x,
x2
y2 = xex
y2 = x sin x
x2
y1 = e , y2 = e
y1 = xex , y2 = xex
y1 = xex ,
y1 = x2 ,
y2 = x2 ex
y1 = x2 ex ,
y1 = x2 cos x,
y2 = x2 ex
y2 = x3
y1 = 1/x,
y2 = ex cos x
y2 = x3 ex
y2 = x2 sin x
y2 = ex
y1 = x,
y2 =
xex
In Exercises 3032 use variation of parameters to solve the initial value problem, given y1 , y2 are solutions of the complementary equation.
30.
y(0) = 1, y0 (0) = 2;
y0 (0) = 6;
y1 = e2x , y2 = xex
31.
32.
y1 = x 1, y2 = x2 1
y(0) = 3,
y1 = (x 1)ex ,
y2 = x 1
y(0) = 4,
y0 (0) = 6;
34.
35.
36.
1
1
, y2 =
x1
x+1
1
y1 = x, y2 = 2
x
y(0) = 0, y0 (0) = 2;
y(1) = 1, y0 (1) = 1;
y1 =
y0 (0) = 0;
y(0) = 0,
is a particular solution of
P0 (x)y00 + P1 (x)y0 + P2 (x)y = F (x),
(A)
Suppose p, q, and f are continuous on (a, b) and let x0 be in (a, b). Let y1 and y2 be the solutions
of
y00 + p(x)y0 + q(x)y = 0
such that
y1 (x0 ) = 1,
y10 (x0 ) = 0,
y2 (x0 ) = 0,
y20 (x0 ) = 1.
Use variation of parameters to show that the solution of the initial value problem
y00 + p(x)y0 + q(x)y = f(x),
is
y(x)
y(x0 ) = k0 , y0 (x0 ) = k1 ,
k0 y1 (x) + k1 y2 (x)
Z
Z x
+
(y1 (t)y2 (x) y1 (x)y2 (t)) f(t) exp
x0
x0
p(s) ds dt.
H INT: Use Abels formula for the Wronskian of {y1 , y2 }, and integrate u01 and u02 from x0 to x.
Show also that
y0 (x) =
38.
x0
p(s) ds dt.
39.
y(0) = k0 ,
y0 (0) = k1 .
265
(a) Use variation of parameters to find a formula for the solution of the initial value problem
y00 + y = f(x),
y(0) = k0 ,
y0 (0) = k1 .
H INT: You will need the addition formulas for the sine and cosine:
sin(A + B)
cos(A + B)
For the rest of this exercise assume that the improper integral
(b) Show that if y is a solution of
y00 + y = f(x)
on (a, ), then
R
0
(B)
(C)
and
x
where
A0 = k0
A1 = k1 +
R
R
H INT: Recall from calculus that if 0 f(t) dt converges absolutely, then limx x |f(t)| dt = 0.
(c) Show that if A0 and A1 are arbitrary constants, then theres a unique solution of y00 + y =
f(x) on (a, ) that satisfies (B) and (C).
CHAPTER 6
Applications of Linear Second Order
Equations
267
(a)
(b)
(c)
Our model accounts for the following kinds of forces acting on the object:
The force mg, due to gravity.
A force Fs exerted by the spring resisting change in its length. The natural length of the spring
is its length with no mass attached. We assume that the spring obeys Hookes law: If the length
of the spring is changed by an amount L from its natural length, then the spring exerts a force
Fs = kL, where k is a positive number called the spring constant. If the spring is stretched then
L > 0 and Fs > 0, so the spring force is upward, while if the spring is compressed then L < 0
and Fs < 0, so the spring force is downward.
A damping force Fd = cy0 that resists the motion with a force proportional to the velocity of
the object. It may be due to air resistance or friction in the spring. However, a convenient way to
visualize a damping force is to assume that the object is rigidly attached to a piston with negligible
mass immersed in a cylinder (called a dashpot) filled with a viscous liquid (Figure 6.1.2). As the
piston moves, the liquid exerts a damping force. We say that the motion is undamped if c = 0, or
damped if c > 0.
An external force F , other than the force due to gravity, that may vary with t, but is independent of
displacement and velocity. We say that the motion is free if F 0, or forced if F 6 0.
From Newtons second law of motion,
my00 = mg + Fd + Fs + F = mg cy0 + Fs + F.
(6.1.1)
269
(a)
(b)
L
0
Figure 6.1.3 (a) Natural length of spring (b) Spring stretched by mass
We must now relate Fs to y. In the absence of external forces the object stretches the spring by an amount
l to assume its equilibrium position (Figure 6.1.3). Since the sum of the forces acting on the object is
then zero, Hookes Law implies that mg = kl. If the object is displaced y units from its equilibrium
position, the total change in the length of the spring is L = l y, so Hookes law implies that
Fs = kL = kl ky.
Substituting this into (6.1.1) yields
my00 = mg cy0 + kL ky + F.
Since mg = kl this can be written as
my00 + cy0 + ky = F.
(6.1.2)
k
y = 0.
(6.1.3)
m
Although we would need the weight of the object to obtain k from the equation mg = kl we can obtain
k/m from l alone; thus, k/m = g/l. Consistent with the units used in the problem statement, we
take g = 32 ft/s2 . Although l is stated in inches, we must convert it to feet to be consistent with this
choice of g; that is, l = 1/2 ft. Therefore
y00 +
32
k
=
= 64
m
1/2
and (6.1.3) becomes
y00 + 64y = 0.
(6.1.4)
(6.1.5)
S OLUTION (b) The initial upward displacement of 18 inches is positive and must be expressed in feet.
The initial downward velocity is negative; thus,
y(0) =
3
2
and
y0 (0) = 3.
(6.1.6)
Setting t = 0 in (6.1.5) and (6.1.6) and imposing the initial conditions shows that c1 = 3/2 and c2 =
3/8. Therefore
3
3
y = cos 8t sin 8t,
2
8
where y is in feet (Figure 6.1.4).
Well now consider the equation
my00 + ky = 0
p
where m and k are arbitrary positive numbers. Dividing through by m and defining 0 = k/m yields
y00 + 02 y = 0.
(6.1.7)
(6.1.8)
271
y
2.0
1.5
1.0
0.5
0.5
1.0
1.5
2.0
2.5
3.0
0.5
1.0
1.5
2.0
Figure 6.1.4 y =
3
3
cos 8t sin 8t
2
8
and
c1 = R cos and
c2 = R sin .
(6.1.9)
(6.1.10)
From (6.1.8) and (6.1.9) we see that the R and can be interpreted as polar coordinates of the point
with rectangular coordinates (c1 , c2 ) (Figure 6.1.5). Given c1 and c2 , we can compute R from (6.1.8).
From (6.1.8) and (6.1.9), we see that is related to c1 and c2 by
cos = p
c1
c21
+ c22
and
sin = p
c2
c21
+ c22
There are infinitely many angles , differing by integer multiples of 2, that satisfy these equations. We
will always choose so that < .
The motion described by (6.1.7) or (6.1.10) is simple harmonic motion. We see from either of these
equations that the motion is periodic, with period
T = 2/0 .
This is the time required for the object to complete one full cycle of oscillation (for example, to move from
its highest position to its lowest position and back to its highest position). Since the highest and lowest
positions of the object are y = R and y = R, we say that R is the amplitude of the oscillation. The
Figure 6.1.5 R =
c21 + c22 ;
c1 = R cos ;
c2 = R sin
angle in (6.1.10) is the phase angle. Its measured in radians. Equation (6.1.10) is the amplitudephase
form of the displacement. If t is in seconds then 0 is in radians per second (rad/s); its the frequency of
the motion. It is also called the natural frequency of the springmass system without damping.
Example 6.1.2 We found the displacement of the object in Example 6.1.1 to be
3
3
cos 8t sin 8t.
2
8
y=
Find the frequency, period, amplitude, and phase angle of the motion.
Solution The frequency is 0 = 8 rad/s, and the period is T = 2/0 = /4 s. Since c1 = 3/2 and
c2 = 3/8, the amplitude is
s
2 2
q
3
3
3
2
2
+
=
17.
R = c1 + c2 =
2
8
8
The phase angle is determined by
3
4
2
=
3
17
8 17
(6.1.11)
38
1
= .
3
17
17
8
(6.1.12)
cos =
and
sin =
Using a calculator, we see from (6.1.11) that
.245 rad.
273
Since sin < 0 (see (6.1.12)), the minus sign applies here; that is,
.245 rad.
Example 6.1.3 The natural length of a spring is 1 m. An object is attached to it and the length of the
spring increases to 102 cm when the object is in equilibrium. Then the object is initially displaced
downward 1 cm and given an upward velocity of 14 cm/s. Find the displacement for t > 0. Also, find
the natural frequency, period, amplitude, and phase angle of the resulting motion. Express the answers in
cgs units.
Solution In cgs units g = 980 cm/s2 . Since l = 2 cm, 02 = g/l = 490. Therefore
y00 + 490y = 0,
y(0) = 1,
y0 (0) = 14.
y0 = 7 10 c1 sin 7 10t + c2 cos 7 10t .
Substituting the initial conditions into the last two equations yields c1 = 1 and c2 = 2/ 10. Hence,
2
y = cos 7 10t + sin 7 10t.
10
The frequency is 7 10 rad/s, and the period is T = 2/(7 10) s. The amplitude is
s
2 r
q
2
7
2
2
2
R = c1 + c2 = (1) +
=
cm.
5
10
The phase angle is determined by
r
c1
5
cos =
=
R
7
and
c2
sin =
=
R
2
.
7
= cos
r !
5
2.58 rad.
7
F0
cos t
m
(6.1.13)
with 0 = k/m. Well see from the next two examples that the solutions of (6.1.13) with 6= 0
behave very differently from the solutions with = 0 .
Example 6.1.4 Solve the initial value problem
y00 + 02 y =
F0
cos t,
m
y0 (0) = 0,
y(0) = 0,
(6.1.14)
given that 6= 0 .
Solution We first obtain a particular solution of (6.1.13) by the method of undetermined coefficients.
Since 6= 0 , cos t isnt a solution of the complementary equation
y00 + 02 y = 0.
Therefore (6.1.13) has a particular solution of the form
yp = A cos t + B sin t.
Since
yp00 = 2 (A cos t + B sin t),
yp00 + 02 yp =
F0
cos t
m
if and only if
(02 2 ) (A cos t + B sin t) =
F0
cos t.
m
F0
m(02 2 )
yp =
The general solution of (6.1.13) is
y=
so
y0 =
and
B = 0,
F0
cos t.
m(02 2 )
F0
cos t + c1 cos 0 t + c2 sin 0 t,
m(02 2 )
F0
sin t + 0 (c1 sin 0 t + c2 cos 0 t).
m(02 2 )
F0
2 )
m(02
and
c2 = 0.
(6.1.15)
275
F0
(cos t cos 0 t).
2 )
m(02
(6.1.16)
It is revealing to write this in a different form. We start with the trigonometric identities
cos( )
cos( + )
=
=
(6.1.17)
Now let
= t
+ = 0 t,
and
so that
(0 + )t
and
2
Substituting (6.1.18) and (6.1.19) into (6.1.17) yields
=
(0 )t
.
2
(6.1.18)
(6.1.19)
(0 )t
(0 + )t
sin
,
2
2
(0 + )t
,
2
(0 )t
2F0
sin
.
m(02 2 )
2
(6.1.20)
(6.1.21)
From (6.1.20) we can regard y as a sinusoidal variation with frequency (0 + )/2 and variable amplitude |R(t)|. In Figure 6.1.6 the dashed curve above the t axis is y = |R(t)|, the dashed curve below the t
axis is y = |R(t)|, and the displacement y appears as an oscillation bounded by them. The oscillation
of y for t on an interval between successive zeros of R(t) is called a beat.
You can see from (6.1.20) and (6.1.21) that
|y(t)|
2|F0|
;
m|02 2 |
moreover, if + 0 is sufficiently large compared with 0 , then |y| assumes values close to (perhaps
equal to) this upper bound during each beat. However, the oscillation remains bounded for all t. (This
assumes that the spring can withstand deflections of this size and continue to obey Hookes law.) The
next example shows that this isnt so if = 0 .
Example 6.1.5 Find the general solution of
y00 + 02 y =
F0
cos 0 t.
m
(6.1.22)
(6.1.23)
Then
yp0 = A cos 0 t + B sin 0 t + 0 t(A sin 0 t + B cos 0 t)
and
yp00 = 20 (A sin 0 t + B cos 0 t) 02 t(A cos 0 t + B sin 0 t).
From (6.1.23) and (6.1.24), we see that yp satisfies (6.1.22) if
2A0 sin 0 t + 2B0 cos 0 t =
that is, if
A = 0 and
Therefore
yp =
B=
F0
cos 0 t;
m
F0
.
2m0
F0 t
sin 0 t
2m0
F0 t
sin 0 t + c1 cos 0 t + c2 sin 0 t.
2m0
(6.1.24)
277
y = F t / 2m
0
y = F t / 2m
0
F0 t
2m0
and
y=
F0 t
2m0
with increasing amplitude that approaches as t . Of course, this means that the spring must
eventually fail to obey Hookes law or break.
This phenomenon of unbounded displacements of a springmass system in response to a periodic
forcing function at its natural frequency is called resonance. More complicated mechanical structures
can also exhibit resonancelike phenomena. For example, rhythmic oscillations of a suspension bridge
by wind forces or of an airplane wing by periodic vibrations of reciprocating engines can cause damage
or even failure if the frequencies of the disturbances are close to critical frequencies determined by the
parameters of the mechanical system in question.
6.1 Exercises
In the following exercises assume that theres no damping.
1.
C/G An object stretches a spring 4 inches in equilibrium. Find and graph its displacement for
t > 0 if its initially displaced 36 inches above equilibrium and given a downward velocity of 2
ft/s.
2.
An object stretches a string 1.2 inches in equilibrium. Find its displacement for t > 0 if its
initially displaced 3 inches below equilibrium and given a downward velocity of 2 ft/s.
3.
A spring with natural length .5 m has length 50.5 cm with a mass of 2 gm suspended from it.
The mass is initially displaced 1.5 cm below equilibrium and released with zero velocity. Find its
displacement for t > 0.
An object stretches a spring 6 inches in equilibrium. Find its displacement for t > 0 if its initially
displaced 3 inches above equilibrium and given a downward velocity of 6 inches/s. Find the
frequency, period, amplitude and phase angle of the motion.
5.
6.
7.
A weight stretches a spring 1.5 inches in equilibrium. The weight is initially displaced 8 inches
above equilibrium and given a downward velocity of 4 ft/s. Find its displacement for t > 0.
8.
A weight stretches a spring 6 inches in equilibrium. The weight is initially displaced 6 inches
above equilibrium and given a downward velocity of 3 ft/s. Find its displacement for t > 0.
A springmass system has natural frequency 7 10 rad/s. The natural length of the spring is .7 m.
What is the length of the spring when the mass is in equilibrium?
9.
10.
A 64 lb weight is attached to a spring with constant k = 8 lb/ft and subjected to an external force
F (t) = 2 sin t. The weight is initially displaced 6 inches above equilibrium and given an upward
velocity of 2 ft/s. Find its displacement for t > 0.
11.
A unit mass hangs in equilibrium from a spring with constant k = 1/16. Starting at t = 0, a force
F (t) = 3 sin t is applied to the mass. Find its displacement for t > 0.
12.
C/G A 4 lb weight stretches a spring 1 ft in equilibrium. An external force F (t) = .25 sin 8t
lb is applied to the weight, which is initially displaced 4 inches above equilibrium and given a
downward velocity of 1 ft/s. Find and graph its displacement for t > 0.
13.
A 2 lb weight stretches a spring 6 inches in equilibrium. An external force F (t) = sin 8t lb is applied to the weight, which is released from rest 2 inches below equilibrium. Find its displacement
for t > 0.
14.
A 10 gm mass suspended on a spring moves in simple harmonic motion with period 4 s. Find the
period of the simple harmonic motion of a 20 gm mass suspended from the same spring.
15.
16.
C/G A 6 lb weight stretches a spring 4 inches in equilibrium. Suppose an external force F (t) =
4 sin t 6 cos t lb is applied to the weight. For what value of will the displacement be
unbounded? Find and graph the displacement if has this value. Assume that the motion starts
from equilibrium with zero initial velocity.
17.
A mass of one kg is attached to a spring with constant k = 4 N/m. An external force F (t) =
cos t 2 sin t n is applied to the mass. Find the displacement y for t > 0 if equals the
natural frequency of the springmass system. Assume that the mass is initially displaced 3 m
above equilibrium and given an upward velocity of 450 cm/s.
18.
An object is in simple harmonic motion with frequency 0 , with y(0) = y0 and y0 (0) = v0 . Find
its displacement for t > 0. Also, find the amplitude of the oscillation and give formulas for the
sine and cosine of the initial phase angle.
279
19.
Two objects suspended from identical springs are set into motion. The period of one object is
twice the period of the other. How are the weights of the two objects related?
20.
Two objects suspended from identical springs are set into motion. The weight of one object is
twice the weight of the other. How are the periods of the resulting motions related?
21.
Two identical objects suspended from different springs are set into motion. The period of one
motion is 3 times the period of the other. How are the two spring constants related?
(6.2.1)
Now suppose the object is displaced from equilibrium and given an initial velocity. Intuition suggests that
if the damping force is sufficiently weak the resulting motion will be oscillatory, as in the undamped case
considered in the previous section, while if its sufficiently strong the object may just move slowly toward
the equilibrium position without ever reaching it. Well now confirm these intuitive ideas mathematically.
The characteristic equation of (6.2.1) is
mr 2 + cr + k = 0.
The roots of this equation are
r1 =
c2 4mk
2m
and
r2 =
c +
c2 4mk
.
2m
(6.2.2)
In Section 5.2 we saw that the form of the solution of (6.2.1) depends upon whether c2 4mk is positive,
negative, or zero. Well now consider these three cases.
Underdamped Motion
We say the motion is underdamped if c < 4mk. In this case r1 and r2 in (6.2.2) are complex conjugates,
which we write as
c
c
r1 =
i1 and r2 =
+ i1 ,
2m
2m
where
4mk c2
1 =
.
2m
The general solution of (6.2.1) in this case is
y = ect/2m(c1 cos 1 t + c2 sin 1 t).
By the method used in Section 6.1 to derive the amplitudephase form of the displacement of an object
in simple harmonic motion, we can rewrite this equation as
y = Rect/2m cos(1 t ),
(6.2.3)
y = Rect / 2m
ct / 2m
y = Re
c21 + c22 ,
R cos = c1 ,
and
R sin = c2 .
The factor Rect/2m in (6.2.3) is called the timevarying amplitude of the motion, the quantity 1 is
called the frequency, and T = 2/1 (which is the period of the cosine function in (6.2.3) is called the
quasiperiod. A typical graph of (6.2.3) is shown in Figure 6.2.1. As illustrated in that figure, the graph
of y oscillates between the dashed exponential curves y = Rect/2m.
281
Overdamped Motion
We say the motion is overdamped if c > 4mk. In this case the zeros r1 and r2 of the characteristic
polynomial are real, with r1 < r2 < 0 (see (6.2.2)), and the general solution of (6.2.1) is
y = c1 er1 t + c2 er2 t .
Again limt y(t) = 0 as in the underdamped case, but the motion isnt oscillatory, since y cant equal
zero for more than one value of t unless c1 = c2 = 0. (Exercise 23.)
Critically Damped Motion
We say the motion is critically damped if c = 4mk. In this case r1 = r2 = c/2m and the general
solution of (6.2.1) is
y = ect/2m (c1 + c2 t).
Again limt y(t) = 0 and the motion is nonoscillatory, since y cant equal zero for more than one
value of t unless c1 = c2 = 0. (Exercise 22).
Example 6.2.1 Suppose a 64 lb weight stretches a spring 6 inches in equilibrium and a dashpot provides
a damping force of c lb for each ft/sec of velocity.
(a) Write the equation of motion of the object and determine the value of c for which the motion is
critically damped.
(b) Find the displacement y for t > 0 if the motion is critically damped and the initial conditions are
y(0) = 1 and y0 (0) = 20.
(c) Find the displacement y for t > 0 if the motion is critically damped and the initial conditions are
y(0) = 1 and y0 (0) = 20.
S OLUTION (a) Here m = 2 slugs and k = 64/.5 = 128 lb/ft. Therefore the equation of motion (6.2.1) is
2y00 + cy0 + 128y = 0.
(6.2.4)
c2 8 128
.
4
8 128 = 32 lbsec/ft.
S OLUTION (b) Setting c = 32 in (6.2.4) and cancelling the common factor 2 yields
y00 + 16y + 64y = 0.
The characteristic equation is
r 2 + 16r + 64y = (r + 8)2 = 0.
Hence, the general solution is
y = e8t (c1 + c2 t).
(6.2.5)
1.5
(a)
1.0
0.5
0.2
0.4
0.6
0.8
1.0
(b)
0.5
(6.2.6)
Imposing the initial conditions y(0) = 1 and y (0) = 20 in the last two equations shows that 1 = c1 and
20 = 8 + c2 . Hence, the solution of the initial value problem is
y = e8t (1 + 28t).
Therefore the object approaches equilibrium from above as t . Theres no oscillation.
S OLUTION (c) Imposing the initial conditions y(0) = 1 and y0 (0) = 20 in (6.2.5) and (6.2.6) yields
1 = c1 and 20 = 8 + c2 . Hence, the solution of this initial value problem is
y = e8t (1 12t).
Therefore the object moves downward through equilibrium just once, and then approaches equilibrium
from below as t . Again, theres no oscillation. The solutions of these two initial value problems
are graphed in Figure 6.2.2.
Example 6.2.2 Find the displacement of the object in Example 6.2.1 if the damping constant is c = 4
lbsec/ft and the initial conditions are y(0) = 1.5 ft and y0 (0) = 3 ft/sec.
Solution With c = 4, the equation of motion (6.2.4) becomes
y00 + 2y0 + 64y = 0
after cancelling the common factor 2. The characteristic equation
r 2 + 2r + 64 = 0
(6.2.7)
283
4 4 64
= 1 3 7i.
2
3
1
y = et
(6.2.8)
cos 3 7t sin 3 7t .
2
2 7
R=
+
=
+
=
= .
2
4 47
47
2 7
7
Therefore we can rewrite (6.2.8) as
4
y = et cos(3 7t ),
7
where
3
3 7
cos =
=
2R
8
and
1
1
sin =
= .
8
2 7R
Therefore
= .125 radians.
Example 6.2.3 Let the damping constant in Example 1 be c = 40 lbsec/ft. Find the displacement y for
t > 0 if y(0) = 1 and y0 (0) = 1.
Solution With c = 40, the equation of motion (6.2.4) reduces to
y00 + 20y0 + 64y = 0
(6.2.9)
(6.2.10)
1.0
0.8
0.6
0.4
0.2
x
0.2
0.4
0.6
Figure 6.2.3 y =
0.8
1.0
1.2
17 4t
5
e
e16t
12
12
The last two equations and the initial conditions y(0) = 1 and y0 (0) = 1 imply that
c1
4c1
c2
16c2
=1
= 1.
The solution of this system is c1 = 17/12, c2 = 5/12. Substituting these into (6.2.10) yields
y=
5
17 4t
e
e16t
12
12
(6.2.11)
In Section 6.1 we considered this equation with c = 0 and found that the resulting
displacement y assumed
p
arbitrarily large values in the case of resonance (that is, when = 0 = k/m). Here well see that in
the presence of damping the displacement remains bounded for all t, and the initial conditions have little
effect on the motion as t . In fact, well see that for large t the displacement is closely approximated
by a function of the form
y = R cos(t ),
(6.2.12)
where the amplitude R depends upon m, c, k, F0 , and . Were interested in the following question:
285
Q UESTION :Assuming that m, c, k, and F0 are held constant, what value of produces the largest
amplitude R in (6.2.12), and what is this largest amplitude?
To answer this question, we must solve (6.2.11) and determine R in terms of F0 , 0 , , and c. We can
obtain a particular solution of (6.2.11) by the method of undetermined coefficients. Since cos t does not
satisfy the complementary equation
my00 + cy0 + ky = 0,
we can obtain a particular solution of (6.2.11) in the form
yp = A cos t + B sin t.
(6.2.13)
(A sin t + B cos t)
and
yp00 = 2 (A cos t + B sin t).
From the last three equations,
myp00 + cyp0 + kyp = (m2 A + cB + kA) cos t + (m2 B cA + kB) sin t,
so yp satisfies (6.2.11) if
(k m2 )A + cB
cA + (k m2 )B
=
=
F0
0.
Solving for A and B and substituting the results into (6.2.13) yields
yp =
F0
(k m2 ) cos t + c sin t ,
2
2
2
2
(k m ) + c
where
F0
yp = p
cos(t ),
(k m2 )2 + c2 2
k m2
cos = p
(k m2 )2 + c2 2
and
c
sin = p
.
(k m2 )2 + c2 2
(6.2.14)
(6.2.15)
To compare this with the undamped forced vibration that we considered in Section 6.1 its useful to
write
k
k m2 = m
2 = m(02 2 ),
(6.2.16)
m
p
where 0 = k/m is the natural angular frequency of the undamped simple harmonic motion of an
object with mass m on a spring with constant k. Substituting (6.2.16) into (6.2.14) yields
yp = p
F0
m2 (02
2 )2 + c2 2
cos(t ).
y(0) = y0 ,
y0 (0) = v0 ,
(6.2.17)
yc
yc
=
=
In all three cases limt yc (t) = 0 for any choice of c1 and c2 . For this reason we say that yc is the
transient component of the solution y. The behavior of y for large t is determined by yp , which we call the
steady state component of y. Thus, for large t the motion is like simple harmonic motion at the frequency
of the external force.
The amplitude of yp in (6.2.17) is
F0
R= p
,
m2 (02 2 )2 + c2 2
(6.2.18)
which is finite for all ; that is, the presence of damping precludes the phenomenon of resonance that we
encountered in studying undamped vibrations under a periodic forcing function. Well now find the value
max of for which R is maximized. This is the value of for which the function
() = m2 (02 2 )2 + c2 2
in the denominator of (6.2.18) attains its minimum value. By rewriting this as
() = m2 (04 + 4 ) + (c2 2m2 02 )2 ,
(6.2.19)
c 2m2 02 = 2mk.
(Recall that 02 = k/m). Therefore max = 0 if this inequality holds. From (6.2.15), you can see that
= 0 if = 0. In this case, (6.2.14) reduces to
F0
F0
yp = p
,
=
4
2
k
m 0
should approach a constant yp such that kyp = F0 . Now suppose c < 2mk. Then, from (6.2.19),
0 () = 2(2m2 2 + c2 2m2 02 ),
and max is the value of for which the expression in parentheses equals zero; that is,
s
r
c2
k
c2
2
max = 0
=
1
.
2m2
m
2km
(To see that (max ) is the minimum value of (), note that 0 () < 0 if < max and 0 () > 0
if > max .) Substituting = max in (6.2.18) and simplifying shows that the maximum amplitude
Rmax is
2mF0
Rmax =
if c < 2mk.
c 4mk c2
We summarize our results as follows.
287
Theorem 6.2.1 Suppose we consider the amplitude R of the steady state component of the solution of
my00 + cy0 + ky = F0 cos t
as a functionof .
(a) If c 2mk, the maximum amplitude is Rmax = F0 /k and its attained when = max = 0.
(b) If c < 2mk, the maximum amplitude is
2mF0
Rmax =
,
c 4mk c2
and its attained when
= max =
k
m
c2
1
.
2km
(6.2.20)
(6.2.21)
6.2 Exercises
1.
2.
C/G A 16 lb weight is attached to a spring with natural length 5 ft. With the weight attached,
the spring measures 8.2 ft. The weight is initially displaced 3 ft below equilibrium and given an
upward velocity of 2 ft/sec. Find and graph its displacement for t > 0 if the medium resists the
motion with a force of one lb for each ft/sec of velocity. Also, find its timevarying amplitude.
3.
C/G An 8 lb weight stretches a spring 1.5 inches. It is attached to a dashpot with damping
constant c=8 lb-sec/ft. The weight is initially displaced 3 inches above equilibrium and given an
upward velocity of 6 ft/sec. Find and graph its displacement for t > 0.
4.
5.
6.
An 8 lb weight stretches a spring .32 ft. The weight is initially displaced 6 inches above equilibrium
and given an upward velocity of 4 ft/sec. Find its displacement for t > 0 if the medium exerts a
damping force of 1.5 lb for each ft/sec of velocity.
7.
8.
A mass of 20 gm stretches a spring 5 cm. The spring is attached to a dashpot with damping
constant 400 dyne sec/cm. Determine the displacement for t > 0 if the mass is initially displaced
9 cm above equilibrium and released from rest.
9.
10.
11.
12.
C/G A 2 lb weight stretches a spring .32 ft. The weight is initially displaced 4 inches below
equilibrium and given an upward velocity of 5 ft/sec. The medium provides damping with constant
c = 1/8 lb-sec/ft. Find and graph the displacement for t > 0.
13.
289
14.
15.
16.
A mass of 100 grams stretches a spring 98 cm in equilibrium. A dashpot attached to the spring
supplies a damping force of 600 dynes for each cm/sec of speed. The mass is initially displaced 10
cm above equilibrium and given a downward velocity of 1 m/sec. Find its displacement for t > 0.
17.
A 192 lb weight is suspended from a spring with constant k = 6 lb/ft and subjected to an external
force F (t) = 8 cos 3t lb. Find the steady state component of the displacement for t > 0 if the
medium resists the motion with a force equal to 8 times the speed in ft/sec.
18.
A 2 gm mass is attached to a spring with constant 20 dyne/cm. Find the steady state component of
the displacement if the mass is subjected to an external force F (t) = 3 cos 4t 5 sin 4t dynes and
a dashpot supplies 4 dynes of damping for each cm/sec of velocity.
19.
C/G A 96 lb weight is attached to a spring with constant 12 lb/ft. Find and graph the steady state
component of the displacement if the mass is subjected to an external force F (t) = 18 cos t9 sin t
lb and a dashpot supplies 24 lb of damping for each ft/sec of velocity.
20.
21.
22.
A mass m is suspended from a spring with constant k and subjected to an external force F (t) =
cos 0 t + sin 0 t, where 0 is the natural frequency of the springmass system without damping. Find the steady state component of the displacement if a dashpot with constant c supplies
damping.
Show that if c1 and c2 are not both zero then
y = er1 t (c1 + c2 t)
cant equal zero for more than one value of t.
23.
24.
y(0) = y0 , y0 (0) = v0 ,
given that the motion is underdamped, so the general solution of the equation is
y = ect/2m (c1 cos 1 t + c2 sin 1 t).
25.
y(0) = y0 , y0 (0) = v0 ,
given that the motion is overdamped, so the general solution of the equation is
y = c1 er1 t + c2 er2 t (r1 , r2 < 0).
y(0) = y0 , y0 (0) = v0 ,
given that the motion is critically damped, so that the general solution of the equation is of the
form
y = er1 t (c1 + c2 t) (r1 < 0).
Induction Coil
(Inductance L)
+
Resistor
(Resistance R)
Capacitor
(Capacitance C)
Switch
Battery or Generator
(Impressed Voltage E=E(t))
291
Differences in potential occur at the resistor, induction coil, and capacitor in Figure 6.3.1. Note that the
two sides of each of these components are also identified as positive and negative. The voltage drop across
each component is defined to be the potential on the positive side of the component minus the potential
on the negative side. This terminology is somewhat misleading, since drop suggests a decrease even
though changes in potential are signed quantities and therefore may be increases. Nevertheless, well go
along with tradition and call them voltage drops. The voltage drop across the resistor in Figure 6.3.1 is
given by
VR = IR,
(6.3.1)
where I is current and R is a positive constant, the resistance of the resistor. The voltage drop across the
induction coil is given by
dI
VI = L
= LI 0 ,
(6.3.2)
dt
where L is a positive constant, the inductance of the coil.
A capacitor stores electrical charge Q = Q(t), which is related to the current in the circuit by the
equation
Z t
Q(t) = Q0 +
I( ) d,
(6.3.3)
0
where Q0 is the charge on the capacitor at t = 0. The voltage drop across a capacitor is given by
VC =
Q
,
C
(6.3.4)
1 ampere 1 ohm
1 henry 1 ampere/second
1 coulomb/ farad
and
1 ampere
1 coulomb/second.
Name
Impressed Voltage
Current
Charge
Resistance
Inductance
Capacitance
Unit
volt
ampere
coulomb
ohm
henry
farad
According to Kirchoff s law, the sum of the voltage drops in a closed RLC circuit equals the impressed
voltage. Therefore, from (6.3.1), (6.3.2), and (6.3.4),
LI 0 + RI +
1
Q = E(t).
C
(6.3.5)
1
Q = E(t)
C
(6.3.6)
in Q. To find the current flowing in an RLC circuit, we solve (6.3.6) for Q and then differentiate the
solution to obtain I.
In Sections 6.1 and 6.2 we encountered the equation
my00 + cy0 + ky = F (t)
(6.3.7)
in connection with spring-mass systems. Except for notation this equation is the same as (6.3.6). The
correspondence between electrical and mechanical quantities connected with (6.3.6) and (6.3.7) is shown
in Table 6.3.9.
Table 6.3.9. Electrical and Mechanical Units
Electrical
charge
curent
impressed voltage
inductance
resistance
1/capacitance
Q
I
E(t)
L
R
1/C
Mechanical
displacement
y
velocity
y0
external force
F (t)
Mass
m
damping
c
cpring constant
k
The equivalence between (6.3.6) and (6.3.7) is an example of how mathematics unifies fundamental
similarities in diverse physical phenomena. Since weve already studied the properties of solutions of
(6.3.7) in Sections 6.1 and 6.2, we can obtain results concerning solutions of (6.3.6) by simpling changing
notation, according to Table 6.3.8.
Free Oscillations
We say that an RLC circuit is in free oscillation if E(t) = 0 for t > 0, so that (6.3.6) becomes
LQ00 + RQ0 +
1
Q = 0.
C
(6.3.8)
1
= 0,
C
with roots
p
p
R2 4L/C
R + R2 4L/C
r1 =
and r2 =
.
(6.3.9)
2L
2L
There are three cases to consider, all analogous to the cases considered in Section 6.2 for free vibrations
of a damped spring-mass system.
p
C ASE 1. The oscillation is underdamped if R < 4L/C. In this case, r1 and r2 in (6.3.9) are complex
conjugates, which we write as
R
r1 =
R
+ i1
2L
and
r2 =
R
i1 ,
2L
293
4L/C R2
.
2L
c21 + c22 ,
A cos = c1 ,
and
(6.3.10)
A sin = c2 .
1
Q = 0,
C
Q(0) = Q0 ,
Q0 (0) = I0 ,
approaches zero exponentially as t . Thus, all such solutions are transient, in the sense defined
Section 6.2 in the discussion of forced vibrations of a spring-mass system with damping.
Example 6.3.1 At t = 0 a current of 2 amperes flows in an RLC circuit with resistance R = 40 ohms,
inductance L = .2 henrys, and capacitance C = 105 farads. Find the current flowing in the circuit at
t > 0 if the initial charge on the capacitor is 1 coulomb. Assume that E(t) = 0 for t > 0.
Solution The equation for the charge Q is
1 00
Q + 40Q0 + 10000Q = 0,
5
or
Q00 + 200Q0 + 50000Q = 0.
(6.3.13)
Q(0) = 1,
Q0 (0) = 2.
(6.3.14)
(6.3.15)
(6.3.16)
To find the solution of the initial value problem (6.3.14), we set t = 0 in (6.3.15) and (6.3.16) to obtain
c1 = Q(0) = 1 and
1
Q = E(t),
C
Q(0) = Q0 ,
Q0 (0) = I0 ,
(6.3.17)
where Q0 is the initial charge on the capacitor and I0 is the initial current in the circuit. Weve already
seen that if E 0 then all solutions of (6.3.17) are transient. If E 6 0, we know that the solution of
(6.3.17) has the form Q = Qc + Qp , where Qc satisfies the complementary equation, and approaches
zero exponentially as t for any initial conditions , while Qp depends only on E and is independent
of the initial conditions. As in the case of forced oscillations of a spring-mass system with damping, we
call Qp the steady state charge on the capacitor of the RLC circuit. Since I = Q0 = Q0c + Q0p and Q0c
also tends to zero exponentially as t , we say that Ic = Q0c is the transient current and Ip = Q0p is
the steady state current. In most applications were interested only in the steady state charge and current.
Example 6.3.2 Find the amplitude-phase form of the steady state current in the RLC circuit in Figure 6.3.1 if the impressed voltage, provided by an alternating current generator, is E(t) = E0 cos t.
Solution Well first find the steady state charge on the capacitor as a particular solution of
LQ00 + RQ0 +
1
Q = E0 cos t.
C
To do, this well simply reinterpret a result obtained in Section 6.2, where we found that the steady state
solution of
my00 + cy0 + ky = F0 cos t
F0
cos(t ),
yp = p
(k m2 )2 + c2 2
where
cos = p
k m2
.
(k
(k m2 )2 + c2 2
(See Equations (6.2.14) and (6.2.15).) By making the appropriate changes in the symbols (according to
Table 2) yields the steady state charge
m2 )2
+ c2 2
and
sin = p
295
E0
Qp = p
cos(t ),
(1/C L2 )2 + R2 2
where
1/C L2
and
(1/C L2 )2 + R2 2
Therefore the steady state current in the circuit is
cos = p
sin = p
R
.
(1/C L2 )2 + R2 2
E0
Ip = Q0p = p
sin(t ).
(1/C L2 )2 + R2 2
6.3 Exercises
In Exercises 1-5 find the current in the RLC circuit, assuming that E(t) = 0 for t > 0.
1.
2.
3.
4.
5.
In Exercises 6-10 find the steady state current in the circuit described by the equation.
6.
7.
8.
9.
10.
11.
1 00
Q + 3Q0 + 100Q = 5 cos 10t 5 sin 10t
10
1 00
Q + 2Q0 + 100Q = 10 cos 25t 5 sin 25t
20
1 00
Q + 2Q0 + 100Q = 3 cos 50t 6 sin 50t
10
1 00
Q + 6Q0 + 250Q = 10 cos 100t + 30 sin 100t
10
1 00
Q + 4Q0 + 125Q = 15 cos 30t 30 sin 30t
20
Show that if E(t) = U cos t+V sin t where U and V are constants then the steady state current
in the RLC circuit shown in Figure 6.3.1 is
Ip =
where
= (1/C L2 )2 + R2 2 .
Find the amplitude of the steady state current Ip in the RLC circuit shown in Figure 6.3.1 if
E(t) = U cos t+V sin t, where U and V are constants. Then find the value 0 of maximizes
the amplitude, and find the maximum amplitude.
In Exercises 13-17 plot the amplitude of the steady state current against . Estimate the value of that
maximizes the amplitude of the steady state current, and estimate this maximum amplitude. H INT: You
can confirm your results by doing Exercise 12.
13.
14.
15.
16.
17.
1 00
Q + 3Q0 + 100Q = U cos t + V
10
1 00
Q + 2Q0 + 100Q = U cos t + V
20
1 00
Q + 2Q0 + 100Q = U cos t + V
10
1 00
Q + 6Q0 + 250Q = U cos t + V
10
1 00
Q + 4Q0 + 125Q = U cos t + V
20
sin t
sin t
sin t
sin t
sin t
y = r sin
as
F(r, ) = f(r)(cos i + sin j).
We assume that f is continuous for all r > 0. The magnitude of F at (x, y) = (r cos , r sin ) is |f(r)|,
so it depends only on the distance r from the point to the origin the direction of F is from the point to the
origin if f(r) < 0, or from the origin to the point if f(r) > 0. Well show that the orbit of an object with
mass m moving under this force is given by
r() =
1
,
u()
297
Figure 6.4.1
where u is solution of the differential equation
d2 u
1
+u =
f(1/u),
d2
mh2 u2
(6.4.1)
(6.4.2)
e2 = sin i + cos j.
Note that e1 points in the direction of increasing r and e2 points in the direction of increasing (Figure 6.4.2); moreover,
de2
de1
= e2 ,
= e1 ,
(6.4.3)
d
d
and
e1 e2 = cos ( sin ) + sin cos = 0,
so e1 and e2 are perpendicular. Recalling that the single prime (0 ) stands for differentiation with respect
to t, we see from (6.4.3) and the chain rule that
e01 = 0 e2
and
e02 = 0 e1 .
(6.4.4)
y
e
Figure 6.4.2
Now we can write (6.4.2) as
m(re1 )00 = f(r)e1 .
(6.4.5)
But
(re1 )0 = r 0 e1 + re01 = r 0 e1 + r0 e2
(from (6.4.4)), and
(re1 )00
=
=
=
=
(r 0 e1 + r0 e2 )0
r 00 e1 + r 0 e01 + (r00 + r 0 0 )e2 + r0 e02
r 00 e1 + r 0 0 e2 + (r00 + r 0 0 )e2 r(0 )2 e1
r 00 r(0 )2 e1 + (r00 + 2r 0 0 )e2 .
(from (6.4.4))
m r 00 r(0 )2 e1 + m(r00 + 2r 0 0 )e2 = f(r)e1 .
By equating the coefficients of e1 and e2 on the two sides of this equation we see that
m r 00 r(0 )2 = f(r)
and
r00 + 2r 0 0 = 0.
Multiplying the last equation by r yields
r 2 00 + 2rr 0 0 = (r 2 0 )0 = 0,
(6.4.6)
299
so
r 2 0 = h,
(6.4.7)
our assumption that these two vectors are not parallel implies that 0 (0) 6= 0, so h 6= 0.
Now let u = 1/r. Then u2 = 0 /h (from (6.4.7)) and
0
u0
u
0
,
r = 2 = h
u
0
which implies that
r 0 = h
since
u0
du
=
0
dt
du
,
d
(6.4.8)
d
du
=
.
dt
d
du
d
d
dt
= h
d2 u 0
,
d2
h(t2 t1 )
,
2
= ( t1 )
Figure 6.4.3
Proof
Recall from calculus that the area of the shaded sector in Figure 6.4.3 is
1
A=
2
(t2)
r 2 () d,
(t1)
where r = r() is the polar representation of the orbit. Making the change of variable = (t) yields
A=
1
2
t2
(6.4.9)
t1
1
2
t2
h dt =
t1
h(t2 t1 )
,
2
301
,
1 + e cos( )
(6.4.11)
h2
and e = A.
k
A curve satisfying (6.4.11) is a conic section with a focus at the origin (Exercise 1). The nonnegative
constant e is the eccentricity of the orbit, which is an ellipse if e < 1 ellipse (a circle if e = 0), a parabola
if e = 1, or a hyperbola if e > 1.
=
Figure 6.4.4
If the orbit is an ellipse, then the minimum and maximum values of r are
rmin
rmax
1+e
1e
Figure 6.4.4 shows a typical elliptic orbit. The point P on the orbit where r = rmin is the perigee and
the point A where r = rmax is the apogee.
6.4 Exercises
1.
(A)
1 + e cos( )
in terms of (X, Y ) = (r cos( ), r sin( )), which are rectangular coordinates with respect
to the axes shown in Figure 6.4.5. Use your results to verify that (A) is the equation of an ellipse
if 0 < e < 1, a parabola if e = 1, or a hyperbola if e > 1. If e < 1, leave your answer in the form
r=
(X X0 )2
(Y Y0 )2
+
= 1,
2
a
b2
and show that the area of the ellipse is
A=
2
.
(1 e2 )3/2
Then use Theorem 6.4.1 to show that the time required for the object to traverse the entire orbit is
T =
22
.
h(1 e2 )3/2
Figure 6.4.5
303
Suppose an object with mass m moves in the xy-plane under the central force
F(r, ) =
mk
(cos i + sin j),
r2
.
1 + e cos( )
0 (0) = 00 .
Assume that the initial position and velocity vectors are not collinear.
3.
Suppose we wish to put a satellite with mass m into an elliptical orbit around Earth. Assume that
the only force acting on the object is Earths gravity, given by
2
R
F(r, ) = mg
(cos i + sin j),
r2
where R is Earths radius, g is the acceleration due to gravity at Earths surface, and r and are
polar coordinates in the plane of the orbit, with the origin at Earths center.
(a) Find the eccentricity required to make the aphelion and perihelion distances equal to R1
and R2 , respectively, where 1 < 1 < 2 .
(b) Find the initial conditions
r(0) = r0 ,
0 (0) = 00
required to make the initial point the perigee, and the motion along the orbit in the direction
of increasing . H INT: Use the results of Exercise 2.
4.
5.
6.
mk
(cos i + sin j),
r3
with
r(0) = r0 ,
where h = r02 00 6= 0.
0 (0) = 00 ,
(a) Set up a second order initial value problem for u = 1/r as a function of .
(b) Determine r = r() if (i) h2 < k; (ii) h2 = k; (iii) h2 > k.
CHAPTER 7
Series Solutions of Linear Second
Equations
IN THIS CHAPTER we study a class of second order differential equations that occur in many applications, but cant be solved in closed form in terms of elementary functions. Here are some examples:
(1) Bessels equation
x2 y00 + xy0 + (x2 2 )y = 0,
which occurs in problems displaying cylindrical symmetry, such as diffraction of light through a circular
aperture, propagation of electromagnetic radiation through a coaxial cable, and vibrations of a circular
drum head.
(2) Airys equation,
y00 xy = 0,
which occurs in astronomy and quantum physics.
(3) Legendres equation
(1 x2 )y00 2xy0 + ( + 1)y = 0,
which occurs in problems displaying spherical symmetry, particularly in electromagnetism.
These equations and others considered in this chapter can be written in the form
P0 (x)y00 + P1 (x)y0 + P2 (x)y = 0,
(A)
where P0 , P1 , and P2 are polynomials with no common factor. For most equations that occur in applications, these polynomials are of degree two or less. Well impose this restriction, although the methods
that well develop can be extended to the case where the coefficient functions are polynomials of arbitrary
degree, or even power series that converge in some circle around the origin in the complex plane.
Since (A) does not in general have closed form solutions, we seek series representations for solutions.
Well see that if P0 (0) 6= 0 then solutions of (A) can be written as power series
y=
an x n
n=0
an x n ,
n=0
where r need not be an integer. The problem is that there are three possibilities each requiring a different
approach for the form of a second solution y2 such that {y1 , y2 } is a fundamental pair of solutions of (A).
307
n=0
an (x x0 )n ,
(7.1.1)
where x0 and a0 , a1 , . . . , an , . . . are constants, is called a power series in x x0 . We say that the power
series (7.1.1) converges for a given x if the limit
lim
N
X
n=0
an (x x0 )n
exists; otherwise, we say that the power series diverges for the given x.
A power series in x x0 must converge if x = x0 , since the positive powers of x x0 are all zero
in this case. This may be the only value of x for which the power series converges. However, the next
theorem shows that if the power series converges for some x 6= x0 then the set of all values of x for which
it converges forms an interval.
Theorem 7.1.2 For any power series
n=0
an (x x0 )n ,
if
0 < R < ,
or
(, )
if
R = .
of absolute values n=0 |n| converges. It can be shown that a power series n=0 an (x x0 )n with
a positive radius of convergence R converges absolutely in its open interval of convergence; that is, the
series
X
|an ||x x0 |n
n=0
n!xn
n=0
(b)
(1)n
n=10
xn
n!
(c)
n=0
2n n2 (x 1)n .
Hence, R = 0.
Hence, R = .
Hence, R = 1/2.
2
an+1
2n+1 (n + 1)2
1
lim
= 2 lim 1 +
= 2.
= lim
n an
n
n
2 n n2
n
Taylor Series
If a function f has derivatives of all orders at a point x = x0 , then the Taylor series of f about x0 is
defined by
X
f (n) (x0 )
(x x0 )n .
n!
n=0
In the special case where x0 = 0, this series is also called the Maclaurin series of f.
309
Taylor series for most of the common elementary functions converge to the functions on their open
intervals of convergence. For example, you are probably familiar with the following Maclaurin series:
ex
sin x =
cos x =
1
1x
X
xn
,
n!
n=0
(1)n
n=0
(1)n
n=0
xn ,
n=0
< x < ,
(7.1.2)
x2n+1
,
(2n + 1)!
(7.1.3)
x2n
,
(2n)!
< x < ,
< x < ,
1 < x < 1.
(7.1.4)
(7.1.5)
n=0
an (x x0 )n
on its open interval of convergence. We say that the series represents f on the open interval of convergence. A function f represented by a power series may be a familiar elementary function as in (7.1.2)
(7.1.5); however, it often happens that f isnt a familiar function, so the series actually defines f.
The next theorem shows that a function represented by a power series has derivatives of all orders on
the open interval of convergence of the power series, and provides power series representations of the
derivatives.
Theorem 7.1.4 A power series
f(x) =
n=0
an (x x0 )n
with positive radius of convergence R has derivatives of all orders in its open interval of convergence,
and successive derivatives can be obtained by repeatedly differentiating term by term; that is,
f 0 (x) =
nan (x x0 )n1 ,
(7.1.6)
(7.1.7)
(7.1.8)
n=1
f 00 (x) =
n=2
..
.
f (k) (x) =
n=k
(1)n
n=0
x2n+1
.
(2n + 1)!
From (7.1.6),
f 0 (x) =
(1)n
n=0
2n+1 X
x
x2n
d
=
(1)n
,
dx (2n + 1)!
(2n)!
n=0
n=0
an (x x0 )n
n=0 an (x
f (n) (x0 )
;
n!
(7.1.9)
f (k) (x0 )
.
k!
n=0
an (x x0 )n =
n=0
bn (x x0 )n
n=0
an (x x0 )n = 0
311
To obtain (a) we observe that the two series represent the same function f on the open interval; hence,
Theorem 7.1.5 implies that
an = b n =
f (n) (x0 )
,
n!
n = 0, 1, 2, . . ..
N
X
f (n) (x0 )
(x x0 )n
n!
n=0
is the N -th Taylor polynomial of f about x0 . This definition and Theorem 7.1.5 imply that if
f(x) =
n=0
an (x x0 )n ,
where the power series has a positive radius of convergence, then the Taylor polynomials of f about x0
are given by
N
X
TN (x) =
an (x x0 )n .
n=0
In numerical applications, we use the Taylor polynomials to approximate f on subintervals of the open
interval of convergence of the power series. For example, (7.1.2) implies that the Taylor polynomial TN
of f(x) = ex is
N
X
xn
TN (x) =
.
n!
n=0
The solid curve in Figure 7.1.1 is the graph of y = ex on the interval [0, 5]. The dotted curves in
Figure 7.1.1 are the graphs of the Taylor polynomials T1 , . . . , T6 of y = ex about x0 = 0. From this
figure, we conclude that the accuracy of the approximation of y = ex by its Taylor polynomial TN
improves as N increases.
Shifting the Summation Index
In Definition 7.1.1 of a power series in x x0 , the n-th term is a constant multiple of (x x0 )n . This
isnt true in (7.1.6), (7.1.7), and (7.1.8), where the general terms are constant multiples of (x x0 )n1 ,
(x x0 )n2 , and (x x0 )nk , respectively. However, these series can all be rewritten so that their n-th
terms are constant multiples of (x x0 )n . For example, letting n = k + 1 in the series in (7.1.6) yields
f 0 (x) =
(k + 1)ak+1 (x x0 )k ,
(7.1.10)
k=0
where we start the new summation index k from zero so that the first term in (7.1.10) (obtained by setting
k = 0) is the same as the first term in (7.1.6) (obtained by setting n = 1). However, the sum of a series is
independent of the symbol used to denote the summation index, just as the value of a definite integral is
independent of the symbol used to denote the variable of integration. Therefore we can replace k by n in
(7.1.10) to obtain
X
f 0 (x) =
(n + 1)an+1 (x x0 )n ,
(7.1.11)
n=0
N=6
N=5
N=4
N=3
N=2
N=1
x
n=n0
can be rewritten as
bn (x x0 )nk
n=n0 k
bn+k (x x0 )n ;
that is, replacing n by n + k in the general term and subtracting k from the lower limit of summation
leaves the series unchanged.
Example 7.1.3 Rewrite the following power series from (7.1.7) and (7.1.8) so that the general term in
313
n=2
(b)
n=k
S OLUTION (a) Replacing n by n + 2 in the general term and subtracting 2 from the lower limit of
summation yields
n=2
n=0
(n + 2)(n + 1)an+2 (x x0 )n .
S OLUTION (b) Replacing n by n + k in the general term and subtracting k from the lower limit of
summation yields
n=k
n=0
(n + k)(n + k 1) (n + 1)an+k (x x0 )n .
f(x) =
an x n ,
n=0
write the function xf as a power series in which the general term is a constant multiple of xn .
00
n=2
Therefore
xf 00 (x) =
n=2
Replacing n by n + 1 in the general term and subtracting 1 from the lower limit of summation yields
00
xf (x) =
(n + 1)nan+1 xn .
n=1
(n + 1)nan+1 xn ,
n=0
since the first term in this last series is zero. (Well see later that sometimes its useful to include zero
terms at the beginning of a series.)
Linear Combinations of Power Series
If a power series is multiplied by a constant, then the constant can be placed inside the summation; that
is,
X
X
c
an (x x0 )n =
can (x x0 )n .
n=0
n=0
n=0
an (x x0 )n
and
g(x) =
n=0
bn (x x0 )n
with positive radii of convergence can be added term by term at points common to their open intervals of
convergence; thus, if the first series converges for |x x0 | < R1 and the second converges for |x x0 | <
R2 , then
X
f(x) + g(x) =
(an + bn )(x x0 )n
n=0
for |x x0 | < R, where R is the smaller of R1 and R2 . More generally, linear combinations of power
series can be formed term by term; for example,
c1 f(x) + c2 f(x) =
n=0
(c1 an + c2 bn )(x x0 )n .
Example 7.1.5 Find the Maclaurin series for cosh x as a linear combination of the Maclaurin series for
ex and ex .
Solution By definition,
1 x 1 x
e + e .
2
2
cosh x =
Since
ex =
it follows that
Since
X
xn
n!
n=0
and
ex =
(1)n
n=0
xn
,
n!
X
1
xn
cosh x =
[1 + (1)n ] .
2
n!
n=0
1
[1 + (1)n ] =
2
1
0
(7.1.12)
cosh x =
X
x2m
.
(2m)!
m=0
This result is valid on (, ), since this is the open interval of convergence of the Maclaurin series for
ex and ex .
Example 7.1.6 Suppose
y=
an x n
n=0
(2 x)y00 + 2y
as a power series in x on I.
315
(b) Use the result of (a) to find necessary and sufficient conditions on the coefficients {an } for y to be
a solution of the homogeneous equation
(2 x)y00 + 2y = 0
(7.1.13)
on I.
S OLUTION (a) From (7.1.7) with x0 = 0,
y00 =
n=2
Therefore
(2 x)y00 + 2y
= 2y00 xy0 + 2y
X
X
X
=
2n(n 1)an xn2
n(n 1)an xn1 +
2an xn .
n=2
n=2
(7.1.14)
n=0
To combine the three series we shift indices in the first two to make their general terms constant multiples
of xn ; thus,
X
X
2n(n 1)an xn2 =
2(n + 2)(n + 1)an+2 xn
(7.1.15)
n=2
and
n=2
n=0
(n + 1)nan+1 xn =
n=1
(n + 1)nan+1 xn ,
(7.1.16)
n=0
where we added a zero term in the last series so that when we substitute from (7.1.15) and (7.1.16) into
(7.1.14) all three series will start with n = 0; thus,
(2 x)y00 + 2y =
(7.1.17)
n=0
y=
n=0
an (x 1)n
(7.1.19)
y =
n=1
n1
nan (x 1)
and
00
y =
n=2
Therefore
2y00
(x 1)y00
2(x 1)2 y0
3y
n=2
n=2
n=1
n=0
Before adding these four series we shift indices in the first three so that their general terms become
constant multiples of (x 1)n . This yields
2y
00
(x 1)y00
2(x 1)2 y0
3y
(7.1.20)
(n + 1)nan+1 (x 1)n ,
(7.1.21)
(7.1.22)
3an (x 1)n ,
(7.1.23)
n=0
n=0
n=1
n=0
where we added initial zero terms to the series in (7.1.21) and (7.1.22). Adding (7.1.20)(7.1.23) yields
(1 + x)y00 + 2(x 1)2 y0 + 3y
=
=
n=0
bn (x 1)n ,
where
b0
4a2 + 3a0 ,
(7.1.24)
bn
(7.1.25)
The formula (7.1.24) for b0 cant be obtained by setting n = 0 in (7.1.25), since the summation in (7.1.22)
begins with n = 1, while those in (7.1.20), (7.1.21), and (7.1.23) begin with n = 0.
317
7.1 Exercises
1.
2.
For each power series use Theorem 7.1.3 to find the radius of convergence R. If R > 0, find the
open interval of convergence.
X
X
(1)n
n
(a)
(x
1)
(b)
2n n(x 2)n
nn
2
n=0
n=0
X
X
n(n + 1)
n! n
x
(d)
(x 2)n
(c)
n
n
9
16
n=0
n=0
n
X
X
3n
7
(f)
(x + 7)n
(e)
(1)n xn
n+1 (n + 1)2
n!
4
n=0
n=0
Suppose theres an integer M such that bm 6= 0 for m M , and
bm+1
= L,
lim
m bm
m=0
3.
4.
bm (x x0 )2m
is R = 1/ L, which is interpreted
mean that R = 0 if L = or R = if L = 0. H INT:
Pto
For each power series, use the result of Exercise 2 to find the radius of convergence R. If R > 0,
find the open interval of convergence.
X
X
m(2m + 1)
(a)
(1)m (3m + 1)(x 1)2m+1
(b)
(1)m
(x + 2)2m
m
2
m=0
m=0
X
X
m!
m!
2m
(c)
(x 1)
(d)
(1)m m (x + 8)2m
(2m)!
9
m=0
m=0
X
X
m (2m 1) 2m+1
(e)
(1)
x
(f)
(x 1)2m
m
3
m=0
m=0
Suppose theres an integer M such that bm 6= 0 for m M , and
bm+1
= L,
lim
m
bm
m=0
5.
bm (x x0 )km
is R = 1/ k L, which is interpreted
mean that R = 0 if L = or R = if L = 0. H INT:
Pto
For each power series use the result of Exercise 4 to find the radius of convergence R. If R > 0,
find the open interval of convergence.
X
x7m+6
m
m=0
X
2m 4m+3
(d)
(1)m
x
m!
m=0
X
(1)m
(f)
(x 1)3m+1
m
8
m(m
+
1)
m=0
X
(1)m
(x 3)3m+2
m
(27)
m=0
X
9m (m + 1)
(c)
(x 3)4m+2
(m
+
2)
m=0
X
m!
(x + 1)4m+3
(e)
m
(26)
m=0
(b)
(a)
6.
M
X
(1)n x2n+1
(2n + 1)!
n=0
on the interval (2, 2) for M = 1, 2, 3, . . . , until you find a value of M for which theres no
perceptible difference between the two graphs.
7.
M
X
(1)n x2n
(2n)!
n=0
on the interval (2, 2) for M = 1, 2, 3, . . . , until you find a value of M for which theres no
perceptible difference between the two graphs.
8.
N
X
xn
n=0
on the interval [0, .95] for N = 1, 2, 3, . . . , until you find a value of N for which theres no
perceptible difference between the two graphs. Choose the scale on the y-axis so that 0 y 20.
9.
M
X
x2n
(2n)!
n=0
on the interval (5, 5) for M = 1, 2, 3, . . . , until you find a value of M for which theres no
perceptible difference between the two graphs. Choose the scale on the y-axis so that 0 y 75.
10.
M
X
x2n+1
T2M +1 (x) =
(2n + 1)!
n=0
on the interval (5, 5) for M = 0, 1, 2, . . . , until you find a value of M for which theres no perceptible difference between the two graphs. Choose the scale on the y-axis so that 75 y 75.
P
In Exercises 1115 find a power series solution y(x) = n=0 an xn .
11.
(2 + x)y00 + xy0 + 3y
12.
13.
14.
(1 + x2 )y00 + (2 x)y0 + 3y
17.
18.
319
y(0) = a0 ,
y0 (0) = a1 ,
numerically on (1.95, 1.95). Choose the most accurate method your software package
provides. (See Section 10.1 for a brief discussion of one such method.)
(b) For N = 2, 3, 4, . . . , compute a2 , . . . , aN from Eqn.(7.1.18) and graph
TN (x) =
N
X
an x n
n=0
and the solution obtained in (a) on the same axes. Continue increasing N until its obvious
that theres no point in continuing. (This sounds vague, but youll know when to stop.)
19.
20.
y(1) = a0 ,
y0 (1) = a1 ,
on the interval (0, 2). Use Eqns. (7.1.24) and (7.1.25) to compute {an }.
P
Suppose the series n=0 an xn converges on an open interval (R, R), let r be an arbitrary real
number, and define
X
X
y(x) = xr
an x n =
an xn+r
n=0
n=0
on (0, R). Use Theorem 7.1.4 and the rule for differentiating the product of two functions to show
that
y0 (x) =
(n + r)an xn+r1 ,
n=0
00
y (x) =
n=0
..
.
y
(k)
(x) =
n=0
on (0, R)
n=0 bn x
24.
25.
26.
(7.2.2)
x0 = 1 and x0 = 1 are singular points and all other points are ordinary points. For Bessels equation,
x2 y00 + xy0 + (x2 2 )y = 0,
x0 = 0 is a singular point and all other points are ordinary points. If P0 is a nonzero constant as in Airys
equation,
y00 xy = 0,
(7.2.3)
then every point is an ordinary point.
Since polynomials are continuous everywhere, P1 /P0 and P2 /P0 are continuous at any point x0 that
isnt a zero of P0 . Therefore, if x0 is an ordinary point of (7.2.1) and a0 and a1 are arbitrary real numbers,
then the initial value problem
P0 (x)y00 + P1 (x)y0 + P2 (x)y = 0,
y(x0 ) = a0 ,
y0 (x0 ) = a1
(7.2.4)
has a unique solution on the largest open interval that contains x0 and does not contain any zeros of P0 .
To see this, we rewrite the differential equation in (7.2.4) as
y00 +
P1 (x) 0 P2 (x)
y +
y=0
P0 (x)
P0 (x)
and apply Theorem 5.1.1 with p = P1 /P0 and q = P2 /P0 . In this section and the next we consider the
problem of representing solutions of (7.2.1) by power series that converge for values of x near an ordinary
point x0 .
We state the next theorem without proof.
321
Theorem 7.2.1 Suppose P0 , P1 , and P2 are polynomials with no common factor and P0 isnt identically
zero. Let x0 be a point such that P0 (x0 ) 6= 0, and let be the distance from x0 to the nearest zero of P0
in the complex plane. (If P0 is constant, then = .) Then every solution of
P0 (x)y00 + P1 (x)y0 + P2 (x)y = 0
(7.2.5)
y=
n=0
an (x x0 )n
(7.2.6)
that converges at least on the open interval (x0 , x0 +). ( If P0 is nonconstant, so that is necessarily
finite, then the open interval of convergence of (7.2.6) may be larger than (x0 , x0 +). If P0 is constant
then = and (x0 , x0 + ) = (, ).)
We call (7.2.6) a power series solution in x x0 of (7.2.5). Well now develop a method for finding
power series solutions of (7.2.5). For this purpose we write (7.2.5) as Ly = 0, where
Ly = P0 y00 + P1 y0 + P2 y.
(7.2.7)
n=0
y0 =
n=1
0
an (x x0 )n .
nan (x x0 )n1
shows that y(x0 ) = a0 and y (x0 ) = a1 . Since every initial value problem (7.2.4) has a unique solution,
this means that a0 and a1 can be chosen arbitrarily, and a2 , a3 , . . . are uniquely determined by them.
To find a2 , a3 , . . . , we write P0 , P1 , and P2 in powers of x x0 , substitute
y=
n=0
y0 =
n=1
y00 =
n=2
an (x x0 )n ,
nan (x x0 )n1 ,
into (7.2.7), and collect the coefficients of like powers of x x0 . This yields
Ly =
n=0
bn (x x0 )n ,
(7.2.8)
n=0
then
y00 =
n=2
so
Ly =
n=2
an (x x0 )n ,
n=0
an (x x0 )n .
To collect coefficients of like powers of x x0 , we shift the summation index in the first sum. This yields
Ly =
(n + 2)(n + 1)an+2 (x x0 )n +
n=0
n=0
an (x x0 )n =
n=0
bn (x x0 )n ,
with
bn = (n + 2)(n + 1)an+2 + an .
Therefore Ly = 0 if and only if
an+2 =
an
,
(n + 2)(n + 1)
n 0,
(7.2.10)
where a0 and a1 are arbitrary. Since the indices on the left and right sides of (7.2.10) differ by two, we
write (7.2.10) separately for n even (n = 2m) and n odd (n = 2m + 1). This yields
a2m+2
a2m
,
(2m + 2)(2m + 1)
m 0,
(7.2.11)
a2m+3
a2m+1
,
(2m + 3)(2m + 2)
m 0.
(7.2.12)
and
a4
a6
and, in general,
a0
21
a2
1 a0
a0
=
=
,
43
43
21
4321
a4
1
a0
a0
=
=
=
,
65
65 4321
654321
a2m = (1)m
a0
,
(2m)!
m 0.
(7.2.13)
323
a5
a7
and, in general,
a1
32
a3
1 a1
a1
=
=
,
54
54
32
5432
a5
1
a1
a1
=
=
=
,
76
76 5432
765432
a2m+1 =
(1)m a1
(2m + 1)!
m 0.
(7.2.14)
m=0
a2m (x x0 )2m +
m=0
a2m+1 (x x0 )2m+1 ,
m=0
(1)m
X
(x x0 )2m
(x x0 )2m+1
+ a1
(1)m
.
(2m)!
(2m + 1)!
m=0
(7.2.15)
m=0
(1)m
(x x0 )2m
= cos(x x0 ) and
(2m)!
(1)m
m=0
(x x0 )2m+1
= sin(x x0 ),
(2m + 1)!
j=r
bj = br br+1 bs
if s r.
Thus,
7
Y
bj = b2 b3 b4 b5 b6 b7 ,
j=2
4
Y
j=0
and
2
Y
j 2 = 22 = 4.
j=2
We define
s
Y
bj = 1
if s < r,
j=r
(7.2.17)
Solution Here
Ly = (1 + 2x2 )y00 + 6xy0 + 2y.
If
y=
an x n
n=0
then
y0 =
nan xn1
y00 =
and
n=1
so
Ly
(1 + 2x2 )
n=2
n=2
n=2
n=2
n=0
nan xn1 + 2
n=1
[2n(n 1) + 6n + 2] an xn
(n + 1)2 an xn .
n=0
n=0
an x n
325
To collect coefficients of xn , we shift the summation index in the first sum. This yields
Ly =
(n + 2)(n + 1)an+2 xn + 2
n=0
(n + 1)2 an xn =
n=0
bn x n ,
n=0
with
bn = (n + 2)(n + 1)an+2 + 2(n + 1)2 an ,
n 0.
To obtain solutions of (7.2.17), we set bn = 0 for n 0. This is equivalent to the recurrence relation
an+2 = 2
n+1
an ,
n+2
n 0.
(7.2.18)
Since the indices on the left and right differ by two, we write (7.2.18) separately for n = 2m and
n = 2m + 1, as in Example 7.2.1. This yields
a2m+2
2m + 1
2m + 1
a2m =
a2m ,
2m + 2
m+1
a2m+3
2m + 2
m+1
a2m+1 = 4
a2m+1 ,
2m + 3
2m + 3
m 0,
(7.2.19)
and
m 0.
(7.2.20)
a4
a6
a8
1
a0 ,
1
3
1
13
a0 =
a0 ,
2
1
12
5
5 13
135
a4 =
a0 ,
a0 =
3
3 12
123
7
135
1357
7
a0 =
a0 .
a6 =
4
4
123
1234
3
a2 =
2
In general,
m
a2m = (1)
Qm
j=1 (2j
m!
1)
a0 ,
m 0.
Q0
(Note that (7.2.21) is correct for m = 0 because we defined j=1 bj = 1 for any bj .)
Computing the coefficients of odd powers of x from (7.2.20) yields
a3
a5
a7
a9
1
= 4 a1 ,
3
1
12
4
a1 = 4 2
a1 ,
3
35
3
3
123
21 2
= 4 a5 = 4
4
a1 = 43
a1 ,
7
7
35
357
4
4
1234
31 2 3
= 4 a7 = 4
4
a1 = 4 4
a1 .
9
9
357
3579
2
2
= 4 a3 = 4
5
5
(7.2.21)
(1)m 4m m!
a2m+1 = Qm
a1 ,
j=1 (2j + 1)
(1)
m=0
Qm
j=1 (2j
m!
1)
x2m + a1
m=0
m 0.
(7.2.22)
4m m!
x2m+1 .
(2j
+
1)
j=1
(1)m Qm
is the power series in x for the general solution of (7.2.17). Since P0 (x) = 1+2x2 has no real zeros,
Theorem 5.1.1 implies that every solution of (7.2.17) is defined on (, ).
However,
since
P
(i/
2) = 0,
0
Theorem 7.2.1 implies only that the power series converges in (1/ 2, 1/ 2) for any choice of a0 and
a1 .
The results in Examples 7.2.1 and 7.2.2 are consequences of the following general theorem.
P
Theorem 7.2.2 The coefficients {an } in any solution y = n=0 an (x x0 )n of
1 + (x x0 )2 y00 + (x x0 )y0 + y = 0
(7.2.23)
an+2 =
p(n)
an ,
(n + 2)(n + 1)
n 0,
(7.2.24)
where
p(n) = n(n 1) + n + .
(7.2.25)
Moreover, the coefficients of the even and odd powers of x x0 can be computed separately as
a2m+2
p(2m)
a2m ,
(2m + 2)(2m + 1)
a2m+3
p(2m + 1)
a2m+1 ,
(2m + 3)(2m + 2)
m0
(7.2.26)
and
m 0,
Here
Ly = (1 + (x x0 ) )y00 + (x x0 )y0 + y.
If
y=
n=0
then
y0 =
n=1
Hence,
Ly
=
=
n=2
n=2
nan (x x0 )n1
an (x x0 )n ,
y00 =
and
n=2
n(n 1)an (x x0 )
n=0
n=0
[n(n 1) + n + ] an (x x0 )n
p(n)an (x x0 )n ,
(7.2.27)
327
from (7.2.25). To collect coefficients of powers of x x0 , we shift the summation index in the first sum.
This yields
X
Ly =
[(n + 2)(n + 1)an+2 + p(n)an ] (x x0 )n .
n=0
n 0,
which is equivalent to (7.2.24). Writing (7.2.24) separately for the cases where n = 2m and n = 2m + 1
yields (7.2.26) and (7.2.27).
Example 7.2.3 Find the power series in x 1 for the general solution of
(2 + 4x 2x2 )y00 12(x 1)y0 12y = 0.
(7.2.28)
=
=
4 2(x 1)2 .
or, equivalently,
1
2
1 (x 1) y00 3(x 1)y0 3y = 0.
2
This is of the form (7.2.23) with = 1/2, = 3, and = 3. Therefore, from (7.2.25)
p(n) =
n(n 1)
(n + 2)(n + 3)
3n 3 =
.
2
2
p(2m)
a2m
(2m + 2)(2m + 1)
(2m + 2)(2m + 3)
2m + 3
a2m =
a2m ,
2(2m + 2)(2m + 1)
2(2m + 1)
(2m + 3)(2m + 4)
m+2
a2m+1 =
a2m+1 ,
2(2m + 3)(2m + 2)
2(m + 1)
m0
and
a2m+3
p(2m + 1)
a2m+1
(2m + 3)(2m + 2)
m 0.
2m + 1
a0
2m
and
a2m+1 =
m+1
a1 ,
2m
m 0,
X
X
2m + 1
m+1
2m
(x
1)
+
a
(x 1)2m+1 .
1
m
m
2
2
m=0
m=0
In the examples considered so far we were able to obtain closed formulas for coefficients in the power
series solutions. In some cases this is impossible, and we must settle for computing a finite number of
terms in the series. The next example illustrates this with an initial value problem.
P
Example 7.2.4 Compute a0 , a1 , . . . , a7 in the series solution y = n=0 an xn of the initial value problem
(1 + 2x2 )y00 + 10xy0 + 8y = 0, y(0) = 2, y0 (0) = 3.
(7.2.29)
Solution Since = 2, = 10, and = 8 in (7.2.29),
p(n) = 2n(n 1) + 10n + 8 = 2(n + 2)2 .
Therefore
an+2 = 2
n+2
(n + 2)2
an = 2
an ,
(n + 2)(n + 1)
n+1
n 0.
(2m + 2)
m+1
a2m = 4
a2m ,
2m + 1
2m + 1
a2m+3
2m + 3
2m + 3
a2m+1 =
a2m+1 ,
2m + 2
m+1
m0
(7.2.30)
and
m 0.
a4
a6
1
4 2 = 8,
1
2
64
4 (8) =
,
3
3
3 64
256
4
=
.
5 3
5
3
= (3) = 9,
1
5
45
= 9= ,
2
2
7
45
105
=
=
.
3
2
2
64 4 45 5 256 6 105 7
x x
x +
x + .
3
2
5
2
(7.2.31)
329
USING TECHNOLOGY
Computing coefficients recursively as in Example 7.2.4 is tedious. We recommend that you do this
kind of computation by writing a short program to implement the appropriate recurrence relation on a
calculator or computer. You may wish to do this in verifying examples and doing exercises (identified by
the symbol C ) in this chapter that call for numerical computation of the coefficients in series solutions.
We obtained the answers to these exercises by using software that can produce answers in the form of
rational numbers. However, its perfectly acceptable - and more practical - to get your answers in decimal
form. You can always check them by converting our fractions to decimals.
If youre interested in actually using series to compute numerical approximations to solutions of a
differential equation, then whether or not theres a simple closed form for the coefficents is essentially
irrelevant. For computational purposes its usually more efficient to start with the given coefficients
a0 = y(x0 ) and a1 = y0 (x0 ), compute a2 , . . . , aN recursively, and then compute approximate values of
the solution from the Taylor polynomial
TN (x) =
N
X
n=0
an (x x0 )n .
The trick is to decide how to choose N so the approximation y(x) TN (x) is sufficiently accurate on
the subinterval of the interval of convergence that youre interested in. In the computational exercises
in this and the next two sections, you will often be asked to obtain the solution of a given problem by
numerical integration with software of your choice (see Section 10.1 for a brief discussion of one such
method), and to compare the solution obtained in this way with the approximations obtained with TN for
various values of N . This is a typical textbook kind of exercise, designed to give you insight into how
the accuracy of the approximation y(x) TN (x) behaves as a function of N and the interval that youre
working on. In real life, you would choose one or the other of the two methods (numerical integration or
series solution). If you choose the method of series solution, then a practical procedure for determining
a suitable value of N is to continue increasing N until the maximum of |TN TN1 | on the interval of
interest is within the margin of error that youre willing to accept.
In doing computational problems that call for numerical solution of differential equations you should
choose the most accurate numerical integration procedure your software supports, and experiment with
the step size until youre confident that the numerical results are sufficiently accurate for the problem at
hand.
7.2 Exercises
In Exercises 1 8 find the power series in x for the general solution.
1.
(1 + x2 )y00 + 6xy0 + 6y = 0
2.
(1 + x2 )y00 + 2xy0 2y = 0
3.
4.
5.
7.
(1 x2 )y00 5xy0 4y = 0
6.
8.
1
(1 + x2 )y00 + 2xy0 + y = 0
4
(1 + x2 )y00 10xy0 + 28y = 0
L
(a) Find the power series in x for the general solution of y00 + xy0 + 2y = 0.
(b) For several choices of a0 and a1 , use differential equations software to solve the initial value
problem
y00 + xy0 + 2y = 0, y(0) = a0 , y0 (0) = a1 ,
(A)
numerically on (5, 5).
(c) For fixed r in {1, 2, 3, 4, 5} graph
TN (x) =
N
X
an x n
n=0
and the solution obtained in (a) on (r, r). Continue increasing N until theres no perceptible
difference between the two graphs.
10.
n=0
an xn of the
11.
C (1 + x2 )y00 + xy0 + y = 0,
12.
13.
C (1 + 8x2 )y00 + 2y = 0,
14.
L Do the next experiment for various choices of real numbers a0 , a1 , and r, with 0 < r < 1/ 2.
y(0) = 2,
y0 (0) = 1
y(0) = 1,
y(0) = 2,
y0 (0) = 1
y0 (0) = 1
(a) Use differential equations software to solve the initial value problem
(1 2x2 )y00 xy0 + 3y = 0,
y(0) = a0 ,
y0 (0) = a1 ,
(A)
and the solution obtained in (a) on (r, r). Continue increasing N until theres no perceptible
difference between the two graphs.
15.
y(0) = 5,
y0 (0) = 1,
(A)
and the solution obtained in (a) on (r, r). Continue increasing N until theres no perceptible difference between the two graphs. What happens to the required N as r 1?
(c) Try (a) and (b) with r = 1.2. Explain your results.
331
y00 y = 0;
x0 = 3 17.
2
00
y00 (x3)y0 y = 0;
0
(1 4x + 2x )y + 10(x 1)y + 6y = 0;
2
00
x0 = 1
00
(5 + 6x + 3x )y + 9(x + 1)y + 3y = 0;
x0 = 3
x0 = 2
x0 = 1
P
In Exercises 21 26 find a0 , . . . , aN for N at least 7 in the power series y = n=0 an (x x0 )n for the
solution of the initial value problem. Take x0 to be the point where the initial conditions are imposed.
21.
22.
C y00 + (x 3)y0 + 3y = 0,
23.
y(1) = 1,
24.
y0 (3) = 6
25.
26.
27.
y0 (0) = 2
y(0) = 1,
y(3) = 2,
y0 (3) = 3
y(3) = 4,
y(4) = 3,
y0 (1) = 1
y0 (4) = 4
y(1) = 3,
y0 (1) = 3
(1 + x2 )y00 + 4xy0 + 2y = 0.
(A)
28.
(1 < r < 1)
for the sum of a geometric series to find a closed form expression for the general solution of
(A) on (1, 1).
(c) Show that the expression obtained in (b) is actually the general solution of of (A) on (, ).
Use Theorem 7.2.2 to show that the power series in x for the general solution of
(1 + x2 )y00 + xy0 + y = 0
is
y = a0
m=0
29.
(1)m
m1
Y
j=0
m1
2m
X
Y
x
x2m+1
p(2j)
+ a1
(1)m
p(2j + 1)
.
(2m)!
(2m + 1)!
m=0
j=0
(a) Use Exercise 28 to show that the power series in x for the general solution of
(1 x2 )y00 2bxy0 + ( + 2b 1)y = 0
is y = a0 y1 + a1 y2 , where
y1
m1
Y
m1
Y
m=0
and
y2
m=0
j=0
j=0
x2m
(2m)!
x2m+1
.
(2m + 1)!
(2j )(2j + + 2b 1)
(b) Suppose 2b isnt a negative odd integer and k is a nonnegative integer. Show that y1 is a
polynomial of degree 2k such that y1 (x) = y1 (x) if = 2k, while y2 is a polynomial of
degree 2k+1 such that y2 (x) = y2 (x) if = 2k+1. Conclude that if n is a nonnegative
integer, then theres a polynomial Pn of degree n such that Pn (x) = (1)n Pn (x) and
(1 x2 )Pn00 2bxPn0 + n(n + 2b 1)Pn = 0.
(A)
(B)
(d) Now suppose b > 0. Use (B) and integration by parts to show that if m 6= n, then
Z 1
(1 x2 )b1 Pm (x)Pn (x) dx = 0.
1
31.
(We say that Pm and Pn are orthogonal on (1, 1) with respect to the weighting function
(1 x2 )b1 .)
(a) Use Exercise 28 to show that the power series in x for the general solution of Hermites
equation
y00 2xy0 + 2y = 0
is y = a0 y1 + a1 y1 , where
y1
m=0
and
y2
m=0
m1
Y
j=0
m1
Y
j=0
(2j )
2m x2m
(2m)!
(2j + 1 )
2m x2m+1
.
(2m + 1)!
333
(b) Suppose k is a nonnegative integer. Show that y1 is a polynomial of degree 2k such that
y1 (x) = y1 (x) if = 2k, while y2 is a polynomial of degree 2k + 1 such that y2 (x) =
y2 (x) if = 2k +1. Conclude that if n is a nonnegative integer then theres a polynomial
Pn of degree n such that Pn (x) = (1)n Pn (x) and
Pn00 2xPn0 + 2nPn = 0.
(A)
and use this to show that if m and n are nonnegative integers, then
2
0 0
[ex Pn0 ]0 Pm [ex Pm
] Pn = 2(m n)ex Pm Pn .
(B)
(We say that Pm and Pn are orthogonal on (, ) with respect to the weighting function
2
ex .)
32.
(A)
00
and let p(n) = n(n 1) + n + . (The special case y xy = 0 of (A) is Airys equation.)
(a) Modify the argument used to prove Theorem 7.2.2 to show that
y=
an x n
n=0
p(n)
an ,
(n + 3)(n + 2)
n 0.
(b) Show from (a) that an = 0 unless n = 3m or n = 3m + 1 for some nonnegative integer m,
and that
a3m+3
p(3m)
a3m ,
(3m + 3)(3m + 2)
a3m+4
p(3m + 1)
a3m+1 ,
(3m + 4)(3m + 3)
m 0,
and
m 0,
m1
3m
X
Y p(3j)
x
y = a0
(1)m
m
3j + 2 3 m!
m=0
j=0
m1
X
Y p(3j + 1) x3m+1
+a1
(1)m
.
3j + 4
3m m!
m=0
j=0
y00 xy = 0
34.
35.
37.
38.
36.
1 + xk+2 y00 + xk+1 y0 + xk y = 0,
(A)
(a) Modify the argument used to prove Theorem 7.2.2 to show that
y=
an x n
n=0
p(n)
an ,
(n + k + 2)(n + k + 1)
n 0.
(b) Show from (a) that an = 0 unless n = (k + 2)m or n = (k + 2)m + 1 for some nonnegative
integer m, and that
a(k+2)(m+1)
p ((k + 2)m)
a(k+2)m ,
(k + 2)(m + 1)[(k + 2)(m + 1) 1]
a(k+2)(m+1)+1
p ((k + 2)m + 1)
a(k+2)m+1 ,
[(k + 2)(m + 1) + 1](k + 2)(m + 1)
and
m 0,
m 0,
m1
(k+2)m
X
Y
p
((k
+
2)j)
x
y = a0
(1)m
(k + 2)(j + 1) 1 (k + 2)m m!
m=0
j=0
m1
(k+2)m+1
X
Y p ((k + 2)j + 1)
x
+a1
(1)m
.
(k + 2)(j + 1) + 1 (k + 2)m m!
m=0
j=0
In Exercises 39 44 use the method of Exercise 38 to find the power series in x for the general solution.
39.
40.
42.
43.
44.
y00 + x5 y0 + 6x4 y = 0
335
an (x x0 )n
n=0
y(x0 ) = a0 ,
y0 (x0 ) = a1 ,
(7.3.1)
where P0 , P1 , and P2 are polynomials and P0 (x0 ) 6= 0, so x0 is an ordinary point of (7.3.1). However,
here we consider cases where the differential equation in (7.3.1) is not of the form
1 + (x x0 )2 y00 + (x x0 )y0 + y = 0,
so Theorem 7.2.2 does not apply, and the computation of the coefficients {an } is more complicated. For
the equations considered here its difficult or impossible to obtain an explicit formula for an in terms of
n. Nevertheless, we can calculate as many coefficients as we wish. The next three examples illustrate
this.
P
n
Example 7.3.1 Find the coefficients a0 , . . . , a7 in the series solution y =
n=0 an x of the initial value
problem
(1 + x + 2x2 )y00 + (1 + 7x)y0 + 2y = 0, y(0) = 1, y0 (0) = 2.
(7.3.2)
Solution Here
Ly = (1 + x + 2x2 )y00 + (1 + 7x)y0 + 2y.
an x n ,
n=0
Ly
y0 =
nan xn1
and
y00 =
n=1
n=2
n=2
n=1
nan xn1 + 7
n=2
nan xn + 2
n=1
n=2
n(n 1)an xn
an x n .
n=0
Shifting indices so the general term in each series is a constant multiple of xn yields
Ly
(n + 2)(n + 1)an+2 xn +
n=0
(n + 1)nan+1 xn + 2
n=0
(n + 1)an+1 xn + 7
n=0
n=0
nan xn + 2
n=0
n=0
an x n =
n=0
n(n 1)an xn
bn x n ,
n=0
n+1
2n + 1
an+1
an , n 0.
n+2
n+1
(7.3.3)
From the initial conditions in (7.3.2), a0 = y(0) = 1 and a1 = y0 (0) = 2. Setting n = 0 in (7.3.3)
yields
1
1
a2 = a1 a0 = (2) (1) = 2.
2
2
Setting n = 1 in (7.3.3) yields
2
3
2
3
5
a3 = a2 a1 = (2) (2) = .
3
2
3
2
3
We leave it to you to compute a4 , a5 , a6 , a7 from (7.3.3) and show that
55
3
61
443 7
5
x + .
y = 1 2x + 2x2 + x3 x4 + x5 + x6
3
12
4
8
56
We also leave it to you (Exercise 13) to verify
that the Taylor polynomials TN (x) =
numerically
PN
n=0 an x
an (x + 1)n
n=0
y(1) = 2,
y0 (1) = 3.
(7.3.4)
Solution Since the desired series is in powers of x + 1 we rewrite the differential equation in (7.3.4) as
Ly = 0, with
Ly = (2 + (x + 1)) y00 (1 2(x + 1)) y0 (3 (x + 1)) y.
Since
y=
an (x + 1)n ,
y0 =
n=0
nan (x + 1)n1
and
y00 =
n=1
Ly
n=2
n=2
nan (x + 1)n1 + 2
n=1
n=0
n=2
n=0
nan (x + 1)n
n=1
an (x + 1)n +
an (x + 1)n+1 .
337
Shifting indices so that the general term in each series is a constant multiple of (x + 1)n yields
Ly
n=0
(n + 1)nan+1 (x + 1)n
n=0
(n + 1)an+1 (x + 1)n +
n=0
n=0
an1 (x + 1)n
n=1
bn (x + 1)n ,
n=0
where
b0 = 4a2 a1 3a0
and
and
an+2 =
n 1.
1
(a1 + 3a0 )
4
2
1
(n 1)an+1 + (2n 3)an + an1 ,
2(n + 2)(n + 1)
(7.3.5)
n 1.
(7.3.6)
From the initial conditions in (7.3.4), a0 = y(1) = 2 and a1 = y0 (1) = 3. We leave it to you to
compute a2 , . . . , a5 with (7.3.5) and (7.3.6) and show that the solution of (7.3.4) is
3
5
7
1
y = 2 3(x + 1) + (x + 1)2 (x + 1)3 + (x + 1)4 (x + 1)5 + .
4
12
48
60
PN
We also leave it to you (Exercise 14) to verify numerically that the Taylor polynomials TN (x) = n=0 an xn
converge to the solution of (7.3.4) on the interval of convergence of the power series solution.
P
Example 7.3.3 Find the coefficients a0 , . . . , a5 in the series solution y = n=0 an xn of the initial value
problem
y00 + 3xy0 + (4 + 2x2 )y = 0, y(0) = 2, y0 (0) = 3.
(7.3.7)
Solution Here
Ly = y00 + 3xy0 + (4 + 2x2 )y.
Since
y=
an x n ,
n=0
Ly
y0 =
nan xn1 ,
and
y00 =
n=1
n=2
n=2
n=1
nan xn + 4
an x n + 2
n=0
an xn+2 .
n=0
Shifting indices so that the general term in each series is a constant multiple of xn yields
Ly =
(n + 2)(n + 1)an+2 xn +
n=0
n=0
(3n + 4)an xn + 2
n=2
an2 xn =
n=0
bn x n
b1 = 6a3 + 7a1 ,
and
bn = (n + 2)(n + 1)an+2 + (3n + 4)an + 2an2 ,
Therefore y =
n=0
n 2.
a2 = 2a0 ,
and
an+2 =
(7.3.8)
1
[(3n + 4)an + 2an2 ] ,
(n + 2)(n + 1)
n 2.
(7.3.9)
From the initial conditions in (7.3.7), a0 = y(0) = 2 and a1 = y0 (0) = 3. We leave it to you to
compute a2 , . . . , a5 with (7.3.8) and (7.3.9) and show that the solution of (7.3.7) is
7
79
y = 2 3x 4x2 + x3 + 3x4 x5 + .
2
40
We also leave it to you (Exercise 15) to verify numerically that the Taylor polynomials TN (x) =
converge to the solution of (7.3.9) on the interval of convergence of the power series solution.
PN
n=0 an x
7.3 Exercises
In Exercises 112 find the coefficients a0 ,. . . , aN for N at least 7 in the series solution y =
of the initial value problem.
1.
C (1 + 3x)y00 + xy0 + 2y = 0,
y(0) = 2,
y0 (0) = 3
2.
y(0) = 1,
3.
4.
5.
C (2 + x)y00 + (1 + x)y0 + 3y = 0,
6.
C (3 + 3x + x2 )y00 + (6 + 4x)y0 + 2y = 0,
7.
C (4 + x)y00 + (2 + x)y0 + 2y = 0,
8.
9.
y(1) = 1,
10.
C (1 x + x2 )y00 (1 4x)y0 + 2y = 0,
y(1) = 2,
11.
C (2 + x)y00 + (2 + x)y0 + y = 0,
12.
C x2 y00 (6 7x)y0 + 8y = 0,
13.
y(0) = 1,
y(1) = 1,
y0 (0) = 1
y0 (0) = 3
y0 (0) = 3
y0 (0) = 5
y0 (1) = 1
y(1) = 1,
y(1) = 2,
an x n
y0 (0) = 0
y(0) = 7,
y(0) = 2,
n=0
y0 (0) = 2
y(0) = 0,
y(0) = 4,
y0 (1) = 1
y0 (1) = 1
y0 (1) = 3
y0 (1) = 2
L Do the following experiment for various choices of real numbers a0 , a1 , and r, with 0 < r <
1/ 2.
339
(a) Use differential equations software to solve the initial value problem
(1 + x + 2x2 )y00 + (1 + 7x)y0 + 2y = 0,
y(0) = a0 ,
y0 (0) = a1 ,
(A)
and the solution obtained in (a) on (r, r). Continue increasing N until theres no perceptible
difference between the two graphs.
14.
L Do the following experiment for various choices of real numbers a0 , a1 , and r, with 0 < r < 2.
(a) Use differential equations software to solve the initial value problem
(3 + x)y00 + (1 + 2x)y0 (2 x)y = 0,
y(1) = a0 ,
y0 (1) = a1 ,
(A)
an (x + 1)n
n=0
N
X
an (x + 1)n
n=0
and the solution obtained in (a) on (1 r, 1 + r). Continue increasing N until theres no
perceptible difference between the two graphs.
15.
y(0) = a0 ,
y0 (0) = a1 ,
(A)
and the solution obtained in (a) on (r, r). Continue increasing N until theres no perceptible
difference between the two graphs.
y(0) = a0 ,
y0 (0) = a1 ,
(A)
17.
and the solution obtained in (a) on (r, r). Continue increasing N until theres no perceptible
difference between the two graphs. What happens as you let r 1?
18.
y0 (0) = a1 .
y(0) = a0 ,
y0 (0) = a1 .
y(0) = a0 ,
In Exercises 1928 find the coefficients a0 , . . . , aN for N at least 7 in the series solution
y=
n=0
an (x x0 )n
of the initial value problem. Take x0 to be the point where the initial conditions are imposed.
19.
20.
21.
C (5 + 2x)y00 y0 + (5 + x)y = 0,
22.
23.
24.
C (3 + 2x)y00 + 3y0 xy = 0,
25.
26.
27.
28.
C (6 + 4x)y00 + (1 + 2x)y = 0,
29.
y0 (0) = 7
y(0) = 2,
y(1) = 1,
y(2) = 2,
y0 (2) = 1
y(3) = 2,
y0 (1) = 3
y(2) = 2,
y(2) = 2,
y0 (3) = 2
y0 (0) = 2
y(0) = 1,
y(1) = 2,
y0 (1) = 2
y0 (2) = 3
y0 (2) = 4
y(4) = 1,
y(1) = 1,
y0 (4) = 2
y0 (1) = 2
Show that the coefficients in the power series in x for the general solution of
(1 + x + x2 )y00 + ( + x)y0 + y = 0
satisfy the recurrrence relation
an+2 =
+ n
n(n 1) + n +
an+1
an .
n+2
(n + 2)(n + 1)
n=0 an x
341
is a solution of
(1 + x + x2 )y00 + (2 + 4x)y0 + 2y = 0
(A)
if and only if
an+2 + an+1 + an = 0,
n 0.
(B)
An equation of this form is called a second order homogeneous linear difference equation.
The polynomial p(r) = r 2 + r + is called the characteristic polynomial of (B). If r1 and
r2 are the zeros of p, then 1/r1 and 1/r2 are the zeros of
P0 (x) = 1 + x + x2 .
(b) Suppose p(r) = (r r1 )(r r2 ) where r1 and r2 are real and distinct, and let be the
smaller of the two numbers {1/|r1|, 1/|r2|}. Show that if c1 and c2 are constants then the
sequence
an = c1 r1n + c2 r2n , n 0
satisfies (B). Conclude from this that any function of the form
y=
n=0
is a solution of (A) on (, ).
(c) Use (b) and the formula for the sum of a geometric series to show that the functions
y1 =
1
1 r1 x
and
y2 =
1
1 r2 x
(c1 + c2 n)r1n xn
n=0
is a solution of (A) on (, ).
(f) Use (e) and the formula for the sum of a geometric series to show that the functions
y1 =
1
1 r1 x
and
y2 =
x
(1 r1 x)2
Use the results of Exercise 30 to find the general solution of the given equation on any interval on
which polynomial multiplying y00 has no zeros.
(a) (1 + 3x + 2x2 )y00 + (6 + 8x)y0 + 4y = 0
(b) (1 5x + 6x2 )y00 (10 24x)y0 + 12y = 0
y(0) = 1,
y0 (0) = 2
33.
y(0) = 1,
y0 (0) = 2
34.
C y00 + 5xy0 (3 x2 )y = 0,
35.
y(0) = 2,
y0 (0) = 5
36.
y(0) = 3,
y0 (0) = 6
37.
y(0) = 3,
y0 (0) = 2
38.
C 3y00 + 2xy0 + (4 x2 )y = 0,
y(0) = 2,
y0 (0) = 3
39.
n=0
an x n
y0 (0) = 2
y(0) = 6,
In Exercises 4049 find the coefficients a0 , . . . , aN for N at least 7 in the series solution
y=
n=0
an (x x0 )n
of the initial value problem. Take x0 to be the point where the initial conditions are imposed.
40.
C (1 + x)y00 + x2 y0 + (1 + 2x)y = 0,
41.
C y00 + (1 + 2x + x2 )y0 + 2y = 0,
42.
C (1 + x2 )y00 + (2 + x2 )y0 + xy = 0,
43.
44.
45.
46.
47.
C (1 + 2x + x2 )y00 + (1 x)y = 0,
48.
49.
y0 (0) = 3
y(0) 2,
y(0) = 2,
y0 (0) = 3
y0 (0) = 5
y(0) = 3,
y(1) = 2,
y(2) = 2,
y(0) = 2,
y0 (1) = 3
y0 (2) = 3
y(0) = 1,
y0 (0) = 2
y(2) = 2,
y0 (2) = 1
y0 (0) = 1
y(1) = 1,
y0 (1) = 0
y(3) = 1,
y0 (3) = 2
343
This section sets the stage for Sections 1.5, 1.6, and 1.7. If youre not interested in those sections, but wish
to learn about Euler equations, omit the introductory paragraphs and start reading at Definition 7.4.2.
In the next three sections well continue to study equations of the form
P0 (x)y00 + P1 (x)y0 + P2 (x)y = 0
(7.4.1)
where P0 , P1 , and P2 are polynomials, but the emphasis will be different from that of Sections 7.2 and
7.3, where we obtained solutions of (7.4.1) near an ordinary point x0 in the form of power series in
x x0 . If x0 is a singular point of (7.4.1) (that is, if P (x0 ) = 0), the solutions cant in general be
represented by power series in x x0. Nevertheless, its often necessary in physical applications to study
the behavior of solutions of (7.4.1) near a singular point. Although this can be difficult in the absence of
some sort of assumption on the nature of the singular point, equations that satisfy the requirements of the
next definition can be solved by series methods discussed in the next three sections. Fortunately, many
equations arising in applications satisfy these requirements.
Definition 7.4.1 Let P0 , P1 , and P2 be polynomials with no common factor and suppose P0 (x0 ) = 0.
Then x0 is a regular singular point of the equation
P0 (x)y00 + P1 (x)y0 + P2 (x)y = 0
(7.4.2)
(7.4.3)
where A, B, and C are polynomials and A(x0 ) 6= 0; otherwise, x0 is an irregular singular point of
(7.4.2).
Example 7.4.1 Bessels equation,
x2 y00 + xy0 + (x2 2 )y = 0,
(7.4.4)
has the singular point x0 = 0. Since this equation is of the form (7.4.3) with x0 = 0, A(x) = 1,
B(x) = 1, and C(x) = x2 2 , it follows that x0 = 0 is a regular singular point of (7.4.4).
Example 7.4.2 Legendres equation,
(1 x2 )y00 2xy0 + ( + 1)y = 0,
(7.4.5)
(7.4.6)
=
=
(7.4.7)
The polynomial
p(r) = ar(r 1) + br + c
is called the indicial polynomial of (7.4.6), and p(r) = 0 is its indicial equation. From (7.4.7) we can see
that y = xr is a solution of (7.4.6) on (0, ) if and only if p(r) = 0. Therefore, if the indicial equation
has distinct real roots r1 and r2 then y1 = xr1 and y2 = xr2 form a fundamental set of solutions of (7.4.6)
on (0, ), since y2 /y1 = xr2 r1 is nonconstant. In this case
y = c1 xr1 + c2 xr2
(7.4.8)
on (0, ).
Solution The indicial polynomial of (7.4.8) is
p(r) = r(r 1) r 8 = (r 4)(r + 2).
4
Therefore y1 = x and y2 = x2 are solutions of (7.4.8) on (0, ), and its general solution on (0, ) is
c2
y = c1 x 4 + 2 .
x
345
(7.4.9)
on (0, ).
Solution The indicial polynomial of (7.4.9) is
p(r) = 6r(r 1) + 5r 1 = (2r 1)(3r + 1).
Therefore the general solution of (7.4.9) on (0, ) is
y = c1 x1/2 + c2 x1/3 .
If the indicial equation has a repeated root r1 , then y1 = xr1 is a solution of
ax2 y00 + bxy0 + cy = 0,
(7.4.10)
on (0, ), but (7.4.10) has no other solution of the form y = xr . If the indicial equation has complex
conjugate zeros then (7.4.10) has no realvalued solutions of the form y = xr . Fortunately we can use
the results of Section 5.2 for constant coefficient equations to solve (7.4.10) in any case.
Theorem 7.4.3 Suppose the roots of the indicial equation
ar(r 1) + br + c = 0
(7.4.11)
(7.4.12)
on (0, ) is
y
y
y
=
=
xr1 (c1 + c2 ln x) if r1 = r2 ;
x [c1 cos ( ln x) + c2 sin ( ln x)] if r1 , r2 = i with > 0.
Proof We first show that y = y(x) satisfies (7.4.12) on (0, ) if and only if Y (t) = y(et ) satisfies the
constant coefficient equation
d2 Y
dY
a 2 + (b a)
+ cY = 0
(7.4.13)
dt
dt
on (, ). To do this, its convenient to write x = et , or, equivalently, t = ln x; thus, Y (t) = y(x),
where x = et . From the chain rule,
dY
dy dx
=
dt
dx dt
and, since
dx
= et = x,
dt
it follows that
dY
dy
=x .
(7.4.14)
dt
dx
dx dy
d2 y dx
+x 2
dt dx
dx dt
2
dy
dx
2d y
x
+x
since
=x .
dx
dx2
dt
d2 y
d2 Y
dY
=
.
dx2
dt2
dt
Substituting this and (7.4.14) into (7.4.12) yields (7.4.13). Since (7.4.11) is the characteristic equation of
(7.4.13), Theorem 5.2.1 implies that the general solution of (7.4.13) on (, ) is
x2
Y (t)
Y (t)
Y (t)
=
=
er1 t (c1 + c2 t) if r1 = r2 ;
et (c1 cos t + c2 sin t) if r1 , r2 = i with 6= 0.
Since Y (t) = y(et ), substituting t = ln x in the last three equations shows that the general solution of
(7.4.12) on (0, ) has the form stated in the theorem.
Example 7.4.6 Find the general solution of
x2 y00 5xy0 + 9y = 0
(7.4.15)
on (0, ).
Solution The indicial polynomial of (7.4.15) is
p(r) = r(r 1) 5r + 9 = (r 3)2 .
Therefore the general solution of (7.4.15) on (0, ) is
y = x3 (c1 + c2 ln x).
Example 7.4.7 Find the general solution of
x2 y00 + 3xy0 + 2y = 0
(7.4.16)
on (0, ).
Solution The indicial polynomial of (7.4.16) is
p(r) = r(r 1) + 3r + 2 = (r + 1)2 + 1.
The roots of the indicial equation are r = 1 i and the general solution of (7.4.16) on (0, ) is
y=
1
[c1 cos(ln x) + c2 sin(ln x)] .
x
347
7.4 Exercises
In Exercises 118 find the general solution of the given Euler equation on (0, ).
1.
x2 y00 + 7xy0 + 8y = 0
2.
x2 y00 7xy0 + 7y = 0
3.
x2 y00 xy0 + y = 0
4.
x2 y00 + 5xy0 + 4y = 0
5.
x2 y00 + xy0 + y = 0
6.
7.
x2 y00 + 3xy0 3y = 0
8.
9.
10.
11.
12.
x2 y00 + 3xy0 + 5y = 0
13.
14.
15.
x2 y00 6y = 0
16.
17.
x2 y00 3xy0 + 4y = 0
18.
19.
(a) Adapt the proof of Theorem 7.4.3 to show that y = y(x) satisfies the Euler equation
ax2 y00 + bxy0 + cy = 0
(7.4.1)
dY
d2 Y
+ (b a)
+ cY = 0.
dt2
dt
on (, ).
(b) Use (a) to show that the general solution of (7.4.1) on (, 0) is
y
y
y
20.
=
=
=
A nontrivial solution of
P0 (x)y00 + P1 (x)y0 + P2 (x)y = 0
is said to be oscillatory on an interval (a, b) if it has infinitely many zeros on (a, b). Otherwise y
is said to be nonoscillatory on (a, b). Show that the equation
x2 y00 + ky = 0
22.
(k = constant)
In Example 7.4.2 we saw that x0 = 1 and x0 = 1 are regular singular points of Legendres
equation
(1 x2 )y00 2xy0 + ( + 1)y = 0.
(A)
(a) Introduce the new variables t = x 1 and Y (t) = y(t + 1), and show that y is a solution of
(A) if and only if Y is a solution of
t(2 + t)
dY
d2 Y
+ 2(1 + t)
( + 1)Y = 0,
2
dt
dt
d2 Y
dY
+ 2(1 t)
+ ( + 1)Y = 0,
dt2
dt
Let P0 , P1, and P2 be polynomials with no common factor, and suppose x0 6= 0 is a singular point
of
P0 (x)y00 + P1 (x)y0 + P2 (x)y = 0.
(A)
Let t = x x0 and Y (t) = y(t + x0 ).
d2 Y
dY
+ R1 (t)
+ R2 (t)Y = 0.
dt2
dt
(B)
where
Ri (t) = Pi (t + x0 ),
i = 0, 1, 2.
(b) Show that R0 , R1 , and R2 are polynomials in t with no common factors, and R0 (0) = 0;
thus, t0 = 0 is a singular point of (B).
(7.5.1)
349
Well see that (7.5.1) always has at least one solution of the form
y=x
an x n
n=0
where a0 6= 0 and r is a suitably chosen number. The method we will use to find solutions of this form
and other forms that well encounter in the next two sections is called the method of Frobenius, and well
call them Frobenius solutions.
P
It can be shown that the power series n=0 an xn in a Frobenius solution of (7.5.1) converges on some
open interval (, ), where 0 < . However, since xr may be complex for negative x or undefined
if x = 0, well consider solutions defined for positive values of x. Easy modifications of our results yield
solutions defined for negative values of x. (Exercise 54).
Well restrict our attention to the case where A, B, and C are polynomials of degree not greater than
two, so (7.5.1) becomes
x2 (0 + 1 x + 2 x2 )y00 + x(0 + 1 x + 2 x2 )y0 + (0 + 1 x + 2 x2 )y = 0,
(7.5.2)
where i , i , and i are real constants and 0 6= 0. Most equations that arise in applications can be
written this way. Some examples are
x2 y00 + xy0 + y
(Eulers equation),
x y + xy + (x )y
(Bessels equation),
xy00 + (1 x)y0 + y
0,
2 00
and
(Laguerres equation),
where we would multiply the last equation through by x to put it in the form (7.5.2). However, the
method of Frobenius can be extended to the case where A, B, and C are functions that can be represented
by power series in x on some interval that contains zero, and A0 (0) 6= 0 (Exercises 57 and 58).
The next two theorems will enable us to develop systematic methods for finding Frobenius solutions
of (7.5.2).
Theorem 7.5.1 Let
Ly = x2 (0 + 1 x + 2 x2 )y00 + x(0 + 1 x + 2 x2 )y0 + (0 + 1 x + 2 x2 )y,
and define
p0 (r)
0 r(r 1) + 0 r + 0 ,
p1 (r)
1 r(r 1) + 1 r + 1 ,
p2 (r)
2 r(r 1) + 2 r + 2 .
an xn+r
(7.5.3)
n=0
Ly =
n=0
bn xn+r
(7.5.4)
Proof
b0
p0 (r)a0 ,
b1
bn
=
=
p0 (r + 1)a1 + p1 (r)a0 ,
p0 (n + r)an + p1 (n + r 1)an1 + p2 (n + r 2)an2 ,
(7.5.5)
n 2.
We begin by showing that if y is given by (7.5.3) and , , and are constants, then
x2 y00 + xy0 + y =
(7.5.6)
n=0
where
p(r) = r(r 1) + r + .
Differentiating (3) twice yields
(n + r)an xn+r1
(7.5.7)
(7.5.8)
y0 =
n=0
and
y00 =
n=0
(n + r)an xn+r
n=0
and
x2 y00 =
n=0
Therefore
x2 y00 + xy0 + y
n=0
n=0
n=0
p(n + r 1)an1xn+r .
(7.5.9)
(7.5.10)
n=1
n=0
n=2
351
Ly
0 x2 y00 + 0 xy0 + 0 y + x 1 x2 y00 + 1 xy0 + 1 y
+ x2 2 x2 y00 + 2 xy0 + 2 y .
0 x2 y00 + 0 xy0 + 0 y =
p0 (n + r)an xn+r .
n=0
X
x 1 x2 y00 + 1 xy0 + 1 y =
p1 (n + r 1)an1 xn+r .
n=1
X
x2 2 x2 y00 + 2 xy0 + 2 y =
p2 (n + r 2)an2 xn+r .
n=2
p0 (n + r)an xn+r +
n=0
n=1
n=2
p1 (n + r 1)an1 xn+r
p2 (n + r 2)an2 xn+r ,
or
Ly
n=2
0 r(r 1) + 0 r + 0 ,
p1 (r)
1 r(r 1) + 1 r + 1 ,
p2 (r)
2 r(r 1) + 2 r + 2 .
(7.5.11)
a1 (r)
an (r) =
1,
p1 (r)
,
p0 (r + 1)
p1 (n + r 1)an1 (r) + p2 (n + r 2)an2 (r)
,
p0 (n + r)
(7.5.12)
n 2.
an (r)xn
(7.5.13)
n=0
Ly(x, r) = p0 (r)xr
(7.5.14)
on the interval (0, ), where is the distance from the origin to the nearest zero of A(x) = 0 + 1 x +
2 x2 in the complex plane. (If A is constant, then = .)
If {an (r)} is determined by the recurrence relation (7.5.12) then substituting an = an (r) into (7.5.5)
yields b0 = p0 (r) and bn = 0 for n 1, so (7.5.4) reduces to (7.5.14). We omit the proof that the series
(7.5.13) converges on (0, ).
If i = i = i = 0 for i = 1, 2, then Ly = 0 reduces to the Euler equation
0 x2 y00 + 0 xy0 + 0 y = 0.
Theorem 7.4.3 shows that the solutions of this equation are determined by the zeros of the indicial polynomial
p0 (r) = 0 r(r 1) + 0 r + 0 .
Since (7.5.14) implies that this is also true for the solutions of Ly = 0, well also say that p0 is the indicial
polynomial of (7.5.2), and that p0 (r) = 0 is the indicial equation of Ly = 0. Well consider only cases
where the indicial equation has real roots r1 and r2 , with r1 r2 .
Theorem 7.5.3 Let L and {an (r)} be as in Theorem 7.5.2, and suppose the indicial equation p0 (r) = 0
of Ly = 0 has real roots r1 and r2 , where r1 r2 . Then
y1 (x) = y(x, r1 ) = xr1
an (r1 )xn
n=0
an (r2 )xn
n=0
Since r1 and r2 are roots of p0 (r) = 0, the indicial polynomial can be factored as
p0 (r) = 0 (r r1 )(r r2 ).
Therefore
p0 (n + r1 ) = n0 (n + r1 r2 ),
(7.5.15)
353
which is nonzero if n > 0, since r1 r2 0. Therefore the assumptions of Theorem 7.5.2 hold with
r = r1 , and (7.5.14) implies that Ly1 = p0 (r1 )xr1 = 0.
Now suppose r1 r2 isnt an integer. From (7.5.15),
p0 (n + r2 ) = n0 (n r1 + r2 ) 6= 0 if
n = 1, 2, .
Hence, the assumptions of Theorem 7.5.2 hold with r = r2 , and (7.5.14) implies that Ly2 = p0 (r2 )xr2 =
0. We leave the proof that {y1 , y2 } is a fundamental set of solutions as an exercise (Exercise 52).
It isnt always possible to obtain explicit formulas for the coefficients in Frobenius solutions. However,
we can always set up the recurrence relations and use them to compute as many coefficients as we want.
The next example illustrates this.
Example 7.5.1 Find a fundamental set of Frobenius solutions of
2x2 (1 + x + x2 )y00 + x(9 + 11x + 11x2)y0 + (6 + 10x + 7x2 )y = 0.
(7.5.16)
2r(r 1) + 9r + 6
2r(r 1) + 11r + 10 =
2r(r 1) + 11r + 7 =
The zeros of the indicial polynomial p0 are r1 = 3/2 and r2 = 2, so r1 r2 = 1/2. Therefore
Theorem 7.5.3 implies that
y1 = x3/2
an (3/2)xn
and
y2 = x2
n=0
an (2)xn
(7.5.17)
n=0
form a fundamental set of Frobenius solutions of (7.5.16). To find the coefficients in these series, we use
the recurrence relation of Theorem 7.5.2; thus,
a0 (r)
1,
a1 (r)
p1 (r)
(2r + 5)(r + 2)
r+2
=
=
,
p0 (r + 1)
(2r + 5)(r + 3)
r+3
an (r)
p1 (n + r 1)an1 + p2 (n + r 2)an2
p0 (n + r)
n 2.
=
=
an (3/2) =
1,
1/3,
(2n 1)an1 (3/2) + (2n 5)an2 (3/2)
,
2n + 1
(7.5.18)
n 2,
=
=
an (2) =
1,
0,
(n 1)an1 (2) + (n 3)an2 (2)
,
(7.5.19)
n 2.
Calculating with (7.5.18) and (7.5.19) and substituting the results into (7.5.17) yields the fundamental set
of Frobenius solutions
2 2
5 3
7 4
76 5
1
3/2
x +
x + ,
y1 = x
1 x+ x x +
3
5
21
135
1155
1
1
1
1
y2 = x2 1 + x2 x3 + x4 + x5 + .
2
3
8
30
Special Cases With Two Term Recurrence Relations
For n 2, the recurrence relation (7.5.12) of Theorem 7.5.2 involves the three coefficients an (r),
an1 (r), and an2 (r). Well now consider some special cases where (7.5.12) reduces to a two term
recurrence relation; that is, a relation involving only an (r) and an1 (r) or only an (r) and an2 (r).
This simplification often makes it possible to obtain explicit formulas for the coefficents of Frobenius
solutions.
We first consider equations of the form
x2 (0 + 1 x)y00 + x(0 + 1 x)y0 + (0 + 1 x)y = 0
with 0 6= 0. For this equation, 2 = 2 = 2 = 0, so p2 0 and the recurrence relations in
Theorem 7.5.2 simplify to
a0 (r)
1,
an (r) =
p1 (n + r 1)
an1 (r),
p0 (n + r)
n 1.
(7.5.20)
(7.5.21)
p1 (r)
p2 (r)
=
=
3r(r 1) + 5r 1
r(r 1) + 5r + 4
0.
(r + 2)2 ,
The zeros of the indicial polynomial p0 are r1 = 1/3 and r2 = 1, so r1 r2 = 4/3. Therefore
Theorem 7.5.3 implies that
y1 = x1/3
n=0
an (1/3)xn
and
y2 = x1
n=0
an (1)xn
355
form a fundamental set of Frobenius solutions of (7.5.21). To find the coefficients in these series, we use
the recurrence relationss (7.5.20); thus,
a0 (r)
an (r)
=
=
=
1,
p1 (n + r 1)
an1 (r)
p0 (n + r)
(n + r + 1)2
an1 (r)
(3n + 3r 1)(n + r + 1)
n+r+1
an1 (r), n 1.
3n + 3r 1
(7.5.22)
1,
an (1/3) =
3n + 4
an1 (1/3),
9n
n 1.
By using the product notation introduced in Section 7.2 and proceeding as we did in the examples in that
section yields
Qn
(1)n j=1 (3j + 4)
an (1/3) =
, n 0.
9n n!
Therefore
Qn
X
(1)n j=1 (3j + 4) n
1/3
y1 = x
x
9n n!
n=0
is a Frobenius solution of (7.5.21).
Setting r = 1 in (7.5.22) yields
a0 (1)
1,
an (1)
so
n
an1 (1),
3n 4
n 1,
(1)n n!
an (1) = Qn
.
j=1 (3j 4)
Therefore
y2 = x
(1)n n!
Qn
xn
j=1 (3j 4)
n=0
(7.5.23)
1,
0,
an (r) =
p2 (n + r 2)
an2 (r),
p0 (n + r)
n 2.
X
y(x, r) = xr
a2m (r)x2m ,
m=0
where
a0 (r)
1,
a2m (r) =
p2 (2m + r 2)
a2m2 (r),
p0 (2m + r)
m 1.
(7.5.24)
(7.5.25)
The zeros of the indicial polynomial p0 are r1 = 2 and r2 = 1/2, so r1 r2 = 3/2. Therefore
Theorem 7.5.3 implies that
y1 = x2
a2m (1/3)x2m
and
m=0
y2 = x1/2
a2m (1/2)x2m
m=0
form a fundamental set of Frobenius solutions of (7.5.25). To find the coefficients in these series, we use
the recurrence relation (7.5.24); thus,
a0 (r)
1,
a2m (r)
p2 (2m + r 2)
a2m2 (r)
p0 (2m + r)
(2m + r)(2m + r 1)
a2m2 (r),
(2m + r 2)(4m + 2r 1)
(7.5.26)
m 1.
1,
(m + 1)(2m + 1)
a2m2 (2),
m(4m + 3)
so
a2m (2) = (m + 1)
Therefore
m
Y
2j + 1
.
4j + 3
j=1
m
Y
2j
+
1
x2m
y1 = x2
(m + 1)
4j
+
3
m=0
j=1
m 1,
357
1,
(4m 1)(4m + 1)
a2m2 (1/2),
8m(4m 3)
m 1,
m
1 Y (4j 1)(4j + 1)
a2m (1/2) = m
.
8 m!
4j 3
j=1
Therefore
y2 = x1/2
m=0
m
1 Y (4j 1)(4j + 1) 2m
x
8m m! j=1
4j 3
r1
a2m (r1 )x
2m
and
y2 = x
m=0
r2
m=0
approximate solutions to a given equation when ri is a zero of the indicial polynomial. In dealing with
the corresponding problem for the case where x0 = 0 is an ordinary point, we used numerical integration
to solve the differential equation subject to initial conditions y(0) = a0 , y0 (0) = a1 , and compared the
result with values of the Taylor polynomial
TN (x) =
N
X
an x n .
n=0
We cant do that here, since in general we cant prescribe arbitrary initial values for solutions of a differential equation at a singular point. Therefore, motivated by Theorem 7.5.2 (specifically, (7.5.14)), we
suggest the following procedure.
N
X
an (ri )xn ,
n=0
(7.5.27)
for various values of N and various values of x in the interval (0, ), with as defined in Theorem 7.5.2.
The multiplier xri /0 on the right of (7.5.27) eliminates the effects of small or large values of xri
near x = 0, and of multiplication by an arbitrary constant. In some exercises you will be asked to
estimate the maximum value of EN (x; ri ) on an interval (0, ] by computing EN (xm ; ri ) at the M points
xm = m/M, m = 1, 2, . . . , M , and finding the maximum of the absolute values:
N () = max{|EN (xm ; ri )|, m = 1, 2, . . . , M }.
(7.5.28)
(For simplicity, this notation ignores the dependence of the right side of the equation on i and M .)
To implement this procedure, youll have to write a computer program to calculate {an (ri )} from the
applicable recurrence relation, and to evaluate EN (x; ri ).
The next exercise set contains five exercises specifically identified by L that ask you to implement the
verification procedure. These particular exercises were chosen arbitrarily you can just as well formulate
such laboratory problems for any of the equations in any of the Exercises 110, 14-25, and 2851
7.5 Exercises
This set contains exercises specifically identified by L that ask you to implement the verification procedure. These particular exercises were chosen arbitrarily you can just as well formulate such laboratory
problems for any of the equations in Exercises 110, 14-25, and 2851.
In Exercises 110 find a fundamental set of Frobenius solutions. Compute a0 , a1 . . . , aN for N at least 7
in each solution.
1.
2.
3.
4.
5.
6.
7.
8.
9.
11.
359
L By Theorem 7.5.2 the Frobenius solutions of the equation in Exercise 4 are defined on (0, ).
Do experiments (a), (b), and (c) of Exercise 11 for each Frobenius solution, with M = 20 and
= 1, 2, and 3 in the verification procedure described at the end of this section.
13.
L The Frobenius solutions of the equation in Exercise 6 are defined on (0, ), where is defined
in Theorem 7.5.2. Find and do experiments (a), (b), and (c) of Exercise 11 for each Frobenius
solution, with M = 20 and = .3, .4, and .5, in the verification procedure described at the
end of this section.
In Exercises 1425 find a fundamental set of Frobenius solutions. Give explicit formulas for the coefficients in each solution.
14.
15.
16.
17.
18.
19.
20.
21.
22.
23.
24.
25.
26.
L By Theorem 7.5.2 the Frobenius solutions of the equation in Exercise 17 are defined on (0, ).
Do experiments (a), (b), and (c) of Exercise 11 for each Frobenius solution, with M = 20 and
= 3, 6, 9, and 12 in the verification procedure described at the end of this section.
27.
L The Frobenius solutions of the equation in Exercise 22 are defined on (0, ), where is defined
in Theorem 7.5.2. Find and do experiments (a), (b), and (c) of Exercise 11 for each Frobenius
solution, with M = 20 and = .25, .5, and .75 in the verification procedure described at the
end of this section.
29.
30.
31.
32.
In Exercises 3346 find a fundamental set of Frobenius solutions. Give explicit formulas for the coefficients in each solution.
33.
34.
35.
36.
37.
38.
39.
40.
41.
42.
43.
44.
45.
46.
In Exercises 4751 find a fundamental set of Frobenius solutions. Compute the coefficients a0 , . . . , a2M
for M at least 7 in each solution.
47.
48.
49.
50.
51.
52.
n=0
an x n
and
y2 = xr2
n=0
bn x n
361
(a) Show that y1 and y2 are linearly independent on (0, ). H INT: Show that if c1 and c2 are
constants such that c1 y1 + c2 y2 0 on (0, ), then
c1 xr1 r2
a n x n + c2
n=0
bn xn = 0,
0 < x < .
n=0
The equation
x2 y00 + xy0 + (x2 2 )y = 0
(7.5.1)
is Bessels equation of order . (Here is a parameter, and this use of order should not be confused with its usual use as in the order of the equation.) The solutions of (7.5.1) are Bessel functions of order
.
(a) Assuming that isnt an integer, find a fundamental set of Frobenius solutions of (7.5.1).
(b) If = 1/2, the solutions of (7.5.1) reduce to familiar elementary functions. Identify these
functions.
54.
55.
and
d2
(|x|r xn ) = (n + r)(n + r 1)|x|r xn2
dx2
an (r) = (1)n
n
Y
p1 (j + r 1)
.
p0 (j + r)
j=1
an (r1 )xn
and
y2 = xr2
n=0
an (r2 )xn
n=0
r1
n=0
and
y2 = x
r2
n=0
(1)n
Qn
n! j=1 (j + r1 r2 )
(1)n
Qn
n! j=1 (j + r2 r1 )
1
0
n
xn
1
0
n
xn
Let
Ly = x2 (0 + 2 x2 )y00 + x(0 + 2 x2 )y0 + (0 + 2 x2 )y = 0
and define
p0 (r) = 0 r(r 1) + 0 r + 0
p2 (r) = 2 r(r 1) + 2 r + 2 .
and
j=1
(c) Conclude that if p0 (r) = 0 (r r1 )(r r2 ) where r1 r2 is not an even integer, then
y1 = xr1
and
y2 = xr2
m=0
y1 = x
m=0
and
y2 = xr2
m=0
m=0
(1)m
Q
m
2m m! j=1 (2j + r1 r2 )
2
0
m
x2m
(1)m
Qm
m
2 m! j=1 (2j + r2 r1 )
2
0
m
x2m
0 x2 y00 + 0 xy0 + (0 + 2 x2 )y = 0.
57.
Let
Ly = x2 q0 (x)y00 + xq1 (x)y0 + q2 (x)y,
where
q0 (x) =
j xj ,
q1 (x) =
j=0
and define
Let y = x
n=0
j xj ,
q2 (x) =
j=0
j=0
pj (r) = j r(r 1) + j r + j ,
j = 0, 1, . . ..
an x . Show that
Ly = xr
bn x n ,
n=0
where
bn =
n
X
j=0
pj (n + r j)anj .
j xj ,
363
an (r)xn
n=0
where
a0 (r) =
1,
an (r) =
X
1
pj (n + r j)anj (r),
p0 (n + r) j=1
n 1,
then
Ly(x, r) = p0 (r)xr .
(b) Conclude that if
p0 (r) = 0 (r r1 )(r r2 )
59.
Let
pq (r) = q r(r 1) + q r + q .
and
aqm (r)xqm
m=0
where
a0 (r)
1,
aqm (r)
pq (q(m 1) + r)
aq(m1) (r),
p0 (qm + r)
m 1,
(7.5.1)
then
Ly(x, r) = p0 (r)xr .
(b) Deduce from (7.5.1) that
aqm (r) = (1)m
m
Y
pq (q(j 1) + r)
.
p0 (qj + r)
j=1
X
X
y1 = xr1
aqm (r1 )xqm and y2 = xr2
aqm (r2 )xqm
m=0
m=0
r1
(1)m
Q
m
q m m! j=1 (qj + r1 r2 )
q
0
m
xqm
(1)m
Q
m
q m m! j=1 (qj + r2 r1 )
q
0
m
xqm
m=0
and
y2 = x
r2
m=0
0 x2 y00 + 0 xy0 + (0 + q xq )y = 0.
60.
n 2.
an x n = 0 a0 ,
n=0
an x n =
n=0
0 a0
.
0 + 1 x + 2 x2
j = 0, 1, 2.
Suppose
1
p1 (r 1)
=
,
p0 (r)
0
p2 (r 2)
2
=
,
p0 (r)
0
and
p0 (r) = 0 (r r1 )(r r2 ),
where r1 > r2 . Show that
y1 =
xr1
0 + 1 x + 2 x2
and
y2 =
xr2
0 + 1 x + 2 x2
form a fundamental set of Frobenius solutions of (7.5.1) on any interval (0, ) on which
0 + 1 x + 2 x2 has no zeros.
In Exercises 6168 use the method suggested by Exercise 60 to find the general solution on some interval
(0, ).
61.
63.
64.
65.
66.
67.
68.
365
(7.6.1)
where 0 6= 0. We assume that the indicial equation p0 (r) = 0 has a repeated real root r1 . In this case
Theorem 7.5.3 implies that (7.6.1) has one solution of the form
y1 = xr1
an x n ,
n=0
but does not provide a second solution y2 such that {y1 , y2 } is a fundamental set of solutions. The
following extension of Theorem 7.5.2 provides a way to find a second solution.
Theorem 7.6.1 Let
Ly = x2 (0 + 1 x + 2 x2 )y00 + x(0 + 1 x + 2 x2 )y0 + (0 + 1 x + 2 x2 )y,
(7.6.2)
0 r(r 1) + 0 r + 0 ,
p1 (r)
1 r(r 1) + 1 r + 1 ,
p2 (r)
2 r(r 1) + 2 r + 2 .
Suppose r is a real number such that p0 (n + r) is nonzero for all positive integers n, and define
a0 (r)
a1 (r)
an (r)
1,
p1 (r)
,
p0 (r + 1)
p1 (n + r 1)an1 (r) + p2 (n + r 2)an2 (r)
,
p0 (n + r)
n=0
an (r)xn
n 2.
(7.6.3)
(7.6.4)
Moreover,
X
y
r
(x, r) = y(x, r) ln x + x
a0n (r)xn ,
r
n=1
and
L
Proof
y
(x, r) = p00 (r)xr + xr p0 (r) ln x.
r
(7.6.5)
(7.6.6)
Theorem 7.5.2 implies (7.6.4). Differentiating formally with respect to r in (7.6.3) yields
y
(x, r) =
r
X
r X
(x )
an (r)xn + xr
a0n (r)xn
r
n=0
n=1
xr ln x
an (r)xn + xr
n=0
a0n (r)xn
n=1
y(x, r) ln x + xr
a0n (r)xn ,
n=1
y
(x, r) and
x
2y
(x, r).
x2
2y
y
(x, r) + xq1 (x) (x, r) + q2 (x)y(x, r) = p0 (r)xr ,
x2
x
where
q0 (x) =
0 + 1 x + 2 x2 ,
q1 (x) =
0 + 1 x + 2 x2 ,
q2 (x) =
0 + 1 x + 2 x2 .
3y
2y
y
(x, r) + xq1(x)
(x, r) + q2 (x) (x, r) = p00 (r)xr + p0 (r)xr ln x.
2
rx
rx
r
By changing the order of differentiation in the first two terms on the left we can rewrite this as
x2 q0 (x)
3y
2y
y
(x,
r)
+
xq
(x)
(x, r) + q2 (x) (x, r) = p00 (r)xr + p0 (r)xr ln x,
1
x2 r
xr
r
(7.6.7)
367
or
2
x q0 (x) 2
x
2
y
y
y
(x, r) + xq1(x)
(x, r) + q2 (x) (x, r) = p00 (r)xr + p0 (r)xr ln x,
r
r x
r
X
y1 (x) = y(x, r1 ) = xr1
an (r1 )xn
n=0
and
y2 (x) =
X
y
(x, r1 ) = y1 (x) ln x + xr1
a0n (r1 )xn
r
n=1
(7.6.8)
so
p0 (n + r1 ) = 0 n2 ,
which is nonzero if n > 0. Therefore the assumptions of Theorem 7.6.1 hold with r = r1 , and (7.6.4)
implies that Ly1 = p0 (r1 )xr1 = 0. Since
p00 (r) = 2(r r1 )
it follows that p00 (r1 ) = 0, so (7.6.6) implies that
Ly2 = p00 (r1 )xr1 + xr1 p0 (r1 ) ln x = 0.
This proves that y1 and y2 are both solutions of Ly = 0. We leave the proof that {y1 , y2 } is a fundamental
set as an exercise (Exercise 53).
Example 7.6.1 Find a fundamental set of solutions of
x2 (1 2x + x2 )y00 x(3 + x)y0 + (4 + x)y = 0.
(7.6.9)
Compute just the terms involving xn+r1 , where 0 n 4 and r1 is the root of the indicial equation.
Solution For the given equation, the polynomials defined in Theorem 7.6.1 are
p0 (r) =
r(r 1) 3r + 4
p1 (r) =
2r(r 1) r + 1 =
p2 (r) =
r(r 1).
(r 2)2 ,
(r 1)(2r + 1),
Since r1 = 2 is a repeated root of the indicial polynomial p0 , Theorem 7.6.2 implies that
y1 = x2
n=0
an (2)xn
and
y2 = y1 ln x + x2
n=1
a0n (2)xn
(7.6.10)
= 1,
p1 (r)
(r 1)(2r + 1)
2r + 1
=
=
,
p0 (r + 1)
(r 1)2
r1
p1 (n + r 1)an1 (r) + p2 (n + r 2)an2 (r)
=
p0 (n + r)
(n + r 2) [(2n + 2r 1)an1 (r) (n + r 3)an2 (r)]
=
(n + r 2)2
(2n + 2r 1)
(n + r 3)
=
an1 (r)
an2 (r), n 2.
(n + r 2)
(n + r 2)
=
(7.6.11)
Differentiating yields
a01 (r)
a0n (r)
3
,
(r 1)2
2n + 2r 1 0
n+r3 0
an1 (r)
a
(r)
n+r2
n + r 2 n2
1
3
an1 (r)
an2 (r),
2
(n + r 2)
(n + r 2)2
(7.6.12)
n 2.
=
=
an (2) =
1,
5,
(7.6.13)
(n 1)
(2n + 3)
an1 (2)
an2 (2),
n
n
n2
and
a01 (2)
= 3,
a0n (2)
2n + 3 0
n1 0
3
1
an1 (2)
an2 (2) 2 an1 (2) 2 an2 (2),
n
n
n
n
(7.6.14)
n 2.
143
355
, a4 (2) =
,
3
3
and
29 0
859 0
4693
, a3 (2) =
, a4 (2) =
.
2
18
36
Substituting these coefficients into (7.6.10) yields
143 3 355 4
y1 = x2 1 + 5x + 17x2 +
x +
x +
3
3
a01 (2) = 3, a02 (2) =
and
y2 = y1 ln x x
29
859 2 4693 3
3+ x+
x +
x +
2
18
36
369
Since the recurrence formula (7.6.11) involves three terms, its not possible to obtain a simple explicit
formula for the coefficients in the Frobenius solutions of (7.6.9). However, as we saw in the preceding
sections, the recurrrence formula for {an (r)} involves only two terms if either 1 = 1 = 1 = 0 or
2 = 2 = 2 = 0 in (7.6.1). In this case, its often possible to find explicit formulas for the coefficients.
The next two examples illustrate this.
Example 7.6.2 Find a fundamental set of Frobenius solutions of
2x2 (2 + x)y00 + 5x2 y0 + (1 + x)y = 0.
(7.6.15)
4r(r 1) + 1
p1 (r)
2r(r 1) + 5r + 1
p2 (r)
0.
(2r 1)2 ,
= (r + 1)(2r + 1),
Since r1 = 1/2 is a repeated zero of the indicial polynomial p0 , Theorem 7.6.2 implies that
y1 = x1/2
an (1/2)xn
(7.6.16)
n=0
and
y2 = y1 ln x + x1/2
a0n (1/2)xn
(7.6.17)
n=1
form a fundamental set of Frobenius solutions of (7.6.15). Since p2 0, the recurrence formulas in
Theorem 7.6.1 reduce to
a0 (r)
an (r) =
=
=
1,
p1 (n + r 1)
an1 (r),
p0 (n + r)
(n + r)(2n + 2r 1)
an1 (r),
(2n + 2r 1)2
n+r
an1 (r), n 0.
2n + 2r 1
n
Y
j+r
,
2j
+
2r 1
j=1
n 0.
(7.6.18)
n
n
Y
Y
j + 1/2
2j + 1
= (1)n
,
2j
4j
j=1
j=1
Q
(1)n nj=1 (2j + 1)
, n 0.
4n n!
(1)n
(7.6.19)
1/2
X
(1)n
n=0
Qn
j=1 (2j
+ 1)
4n n!
xn .
To obtain y2 in (7.6.17), we must compute a0n (1/2) for n = 1, 2,. . . . Well do this by logarithmic
differentiation. From (7.6.18),
|an (r)| =
Therefore
ln |an (r)| =
n
Y
j=1
n
X
j=1
|j + r|
,
|2j + 2r 1|
n 1.
a0n (r) X
=
an (r) j=1
Therefore
a0n (r)
1
2
j+r
2j + 2r 1
n
X
1
2
= an (r)
.
j + r 2j + 2r 1
j=1
(1)n
Qn
j=1 (2j + 1)
4n n!
n
X
j=1
n
X
1
1
.
j + 1/2 j=1 j
(7.6.20)
1
1
j j 1/2
1
=
=
,
j + 1/2 j
j(j + 1/2)
j(2j + 1)
(1)n
Qn
j=1 (2j
4n n!
n
+ 1) X
j=1
1
.
j(2j + 1)
X
(1)n
1/2
n=1
Qn
j=1 (2j
4n n!
+ 1)
n
X
j=1
1
xn .
j(2j + 1)
(7.6.21)
371
2r(r 1) 2r + 2
p1 (r)
0,
p2 (r)
= r(r 1) 4r 2
2(r 1)2 ,
= (r + 1)(r + 2).
As in Section 7.5, since p1 0, the recurrence formulas of Theorem 7.6.1 imply that an (r) = 0 if n is
odd, and
a0 (r) = 1,
p2 (2m + r 2)
a2m (r) =
a2m2 (r)
p0 (2m + r)
(2m + r 1)(2m + r)
a2m2 (r)
=
2(2m + r 1)2
2m + r
a2m2 (r), m 1.
=
2(2m + r 1)
Since r1 = 1 is a repeated root of the indicial polynomial p0 , Theorem 7.6.2 implies that
y1 = x
a2m (1)x2m
(7.6.22)
m=0
and
y2 = y1 ln x + x
a02m (1)x2m
(7.6.23)
m=1
form a fundamental set of Frobenius solutions of (7.6.21). We leave it to you to show that
m
1 Y 2j + r
.
2m
2j + r 1
a2m (r) =
(7.6.24)
j=1
Setting r = 1 yields
m
1 Y 2j + 1
a2m (1) = m
=
2
2j
j=1
Qm
j=1 (2j +
4m m!
1)
(7.6.25)
m=0
Qm
j=1 (2j +
4m m!
1)
x2m .
To obtain y2 in (7.6.23), we must compute a02m (1) for m = 1, 2, . . . . Again we use logarithmic
differentiation. From (7.6.24),
m
1 Y |2j + r|
|a2m(r)| = m
.
2
|2j + r 1|
j=1
m
X
j=1
a02m (r) X
=
a2m (r)
j=1
Therefore
a02m (r)
= a2m (r)
1
1
2j + r
2j + r 1
m
X
j=1
j=1 (2j +
4m m!
a02m (1) =
Since
1
1
2j + r
2j + r 1
m
1) X
j=1
1
1
.
2j + 1 2j
(7.6.26)
1
1
1
=
,
2j + 1 2j
2j(2j + 1)
Qm
j=1 (2j +
2 4m m!
m
1) X
j=1
1
.
j(2j + 1)
x X
y2 = y1 ln x
2 m=1
Qm
j=1 (2j + 1)
4m m!
m
X
j=1
1
x2m .
j(2j + 1)
If the solution y1 = y(x, r1 ) of Ly = 0 reduces to a finite sum, then theres a difficulty in using
logarithmic differentiation to obtain the coefficients {a0n (r1 )} in the second solution. The next example
illustrates this difficulty and shows how to overcome it.
Example 7.6.4 Find a fundamental set of Frobenius solutions of
x2 y00 x(5 x)y0 + (9 4x)y = 0.
(7.6.27)
r(r 1) 5r + 9 =
r 4,
(r 3)2 ,
0.
Since r1 = 3 is a repeated zero of the indicial polynomial p0 , Theorem 7.6.2 implies that
y1 = x3
n=0
an (3)xn
(7.6.28)
a0n (3)xn
373
(7.6.29)
n=1
are linearly independent Frobenius solutions of (7.6.27). To find the coefficients in (7.6.28) we use the
recurrence formulas
a0 (r) = 1,
p1 (n + r 1)
an (r) =
an1 (r)
p0 (n + r)
n+r5
=
an1 (r), n 1.
(n + r 3)2
an (r) = (1)n
n
Y
j+r5
.
(j + r 3)2
j=1
(7.6.30)
n
Y
j 2
,
j2
j=1
ln |an (r)| =
n
X
j=1
(ln |j + r 5| 2 ln |j + r 3|) .
a0n (r) X
=
an (r) j=1
Therefore
a0n (r) = an (r)
1
2
j+r5 j +r3
n
X
j=1
1
2
j+r5 j +r3
(7.6.31)
However, we cant simply set r = 3 here if n 2, since the bracketed expression in the sum corresponding to j = 2 contains the term 1/(r 3). In fact, since an (3) = 0 for n 2, the formula (7.6.31) for
a0n (r) is actually an indeterminate form at r = 3.
We overcome this difficulty as follows. From (7.6.30) with n = 1,
a1 (r) =
r4
.
(r 2)2
r6
,
(r 2)3
a01 (3) = 3.
(7.6.32)
j=3 (j
j=1 (j
where
Qn
j=3 (j
cn (r) = (1) (r 4) Qn
j=1 (j
Therefore
which implies that
a0n (3)
+ r 5)
+ r 3)2
+ r 5)
+ r 3)2
= (r 3)cn (r),
n 2.
n 2,
(1)n+1
,
n(n 1)n!
n 2.
n=2
(1)n
xn .
n(n 1)n!
7.6 Exercises
In Exercises 111 find a fundamental set of Frobenius solutions. Compute the terms involving xn+r1 ,
where 0 n N (N at least 7) and r1 is the root of the indicial equation. Optionally, write a computer
program to implement the applicable recurrence formulas and take N > 7.
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
375
In Exercises 1222 find a fundamental set of Frobenius solutions. Give explicit formulas for the coefficients.
12.
13.
14.
15.
16.
17.
18.
19.
20.
21.
22.
In Exercises 2327 find a fundamental set of Frobenius solutions. Compute the terms involving xn+r1 ,
where 0 n N (N at least 7) and r1 is the root of the indicial equation. Optionally, write a computer
program to implement the applicable recurrence formulas and take N > 7.
23.
24.
25.
26.
27.
In Exercises 2838 find a fundamental set of Frobenius solutions. Give explicit formulas for the coefficients.
28.
29.
30.
31.
32.
33.
34.
35.
36.
37.
38.
40.
41.
42.
43.
In Exercises 4452 find a fundamental set of Frobenius solutions. Give explicit formulas for the coefficients.
44.
45.
46.
47.
48.
49.
50.
51.
52.
53.
an (r1 )xn
and
n=0
n=1
converge on (, ).
(a) Show that
y1 = xr1
an (r1 )xn
and
y2 = y1 ln x + xr1
n=0
n=1
are linearly independent on (0, ). H INT: Show that if c1 and c2 are constants such that
c1 y1 + c2 y2 0 on (0, ), then
(c1 + c2 ln x)
n=0
an (r1 )xn + c2
0 < x < .
n=1
Let
Ly = x2 (0 + 1 x)y00 + x(0 + 1 x)y0 + (0 + 1 x)y
p1 (r) = 1 r(r 1) + 1 r + 1 .
and
an (r)xn
n=0
where
n
Y
p1 (j + r 1)
an (r) = (1)
,
p0 (j + r)
n
j=1
then
Ly(x, r) = p0 (r)xr .
Now suppose p0 (r) = 0 (r r1 )2 and p1 (k + r1 ) 6= 0 if k is a nonnegative integer.
(a) Show that Ly = 0 has the solution
y1 = xr1
an (r1 )xn ,
n=0
where
an (r1 ) =
n
(1)n Y
p1 (j + r1 1).
n0 (n!)2
j=1
an (r1 )Jn xn ,
n=1
where
Jn =
n
X
p0 (j + r1 1)
1
j=1
p1 (j + r1 1)
n
X
1
j=1
X
(1)n 1
y1 = x
xn
2
(n!)
0
n=0
r1
and
n X
n
n
X
1
(1)
1
xn
y2 = y1 ln x 2xr1
2
(n!)
j
0
n=1
j=1
are solutions of
377
Let
Ly = x2 (0 + q xq )y00 + x(0 + q xq )y0 + (0 + q xq )y
where q is a positive integer, and define
p0 (r) = 0 r(r 1) + 0 r + 0
pq (r) = q r(r 1) + q r + q .
and
Suppose
p0 (r) = 0 (r r1 )2
and
pq (r) 6 0.
m=0
where
aqm (r1 ) =
m
Y
(1)m
pq (q(j 1) + r1 ) .
(q 2 0 )m (m!)2 j=1
y2 = y1 ln x + xr1
m=1
where
Jm =
m
X
p0q (q(j 1) + r1 )
j=1
pq (q(j 1) + r1 )
2X1
.
q j=1 j
m
X
(1)m
q
xqm
2
2
(m!)
q
0
m=0
m X
m
m
X
2
(1)
q
1 qm
y2 = y1 ln x xr1
x
2
2
q
(m!)
q
j
0
m=1
j=1
are solutions of
0 x2 y00 + 0 xy0 + (0 + q xq )y = 0.
56.
The equation
xy00 + y0 + xy = 0
is Bessels equation of order zero. (See Exercise 53.) Find two linearly independent Frobenius
solutions of this equation.
57.
xr1
and
0 + 1 x + 2 x2
are linearly independent Frobenius solutions of
y1 =
y2 =
xr1 ln x
0 + 1 x + 2 x2
379
In Exercises 5865 use the method suggested by Exercise 57 to find the general solution on some interval
(0, ).
58.
59.
60.
61.
62.
63.
64.
65.
66.
(a) Let L and y(x, r) be as in Exercises 57 and 58. Extend Theorem 7.6.1 by showing that
y
L
(x, r) = p00 (r)xr + xr p0 (r) ln x.
r
(b) Show that if
p0 (r) = 0 (r r1 )2
then
y1 = y(x, r1 )
and
y2 =
y
(x, r1 )
r
are solutions of Ly = 0.
(7.7.1)
or
x2 (0 + 2 x2 )y00 + x(0 + 2 x2 )y0 + (0 + 2 x2 )y = 0,
where the roots of the indicial equation differ by a positive integer.
We begin with a theorem that provides a fundamental set of solutions of equations of the form (7.7.1).
Theorem 7.7.1 Let
Ly = x2 (0 + 1 x)y00 + x(0 + 1 x)y0 + (0 + 1 x)y,
where 0 6= 0, and define
p0 (r)
0 r(r 1) + 0 r + 0 ,
p1 (r)
1 r(r 1) + 1 r + 1 .
1,
an (r) =
p1 (n + r 1)
an1 (r),
p0 (n + r)
(7.7.2)
n 1.
Let r1 and r2 be the roots of the indicial equation p0 (r) = 0, and suppose r1 = r2 + k, where k is a
positive integer. Then
X
y1 = xr1
an (r1 )xn
n=0
= 1,
an (r2 )
p1 (n + r2 1)
an1 (r2 ),
p0 (n + r2 )
and
C=
then
y2 = x
r2
k1
X
1 n k 1,
p1 (r1 1)
ak1 (r2 ),
k0
an (r2 )x + C
y1 ln x + x
n=0
r1
(7.7.3)
(7.7.4)
n=1
(7.7.5)
X
X
r2
n
r1
0
n
L x
an (r2 )x
+ CL y1 ln x + x
an (r1 )x
= 0.
(7.7.6)
n=0
n=1
r2
k1
X
an (r2 )x
n=0
and
L y1 ln x + x
r1
n=1
= k0 xr1 .
(7.7.7)
(7.7.8)
This will imply that Ly2 = 0, since substituting (7.7.7) and (7.7.8) into (7.7.6) and using (7.7.4) yields
Ly2
=
=
n=1
a0n (r)xn
X
L y1 ln x + xr1
a0n (r1 )xn = p00 (r1 )xr1 .
381
(7.7.9)
n=1
Since r1 and r2 are the roots of the indicial equation, the indicial polynomial can be written as
p0 (r) = 0 (r r1 )(r r2 ) = 0 r 2 (r1 + r2 )r + r1 r2 .
X
X
X
L xr2
an (r2 )xn = L xr2
an (r2 )xn = xr2
bn x n ,
(7.7.10)
n=0
n=0
n=0
n 1.
4r(r 1) 4r 5 =
p1 (r)
2r(r 1) + 7r + 3 =
(r + 1)(2r + 3).
The roots of the indicial equation are r1 = 5/2 and r2 = 1/2, so k = r1 r2 = 3. Therefore
Theorem 7.7.1 implies that
X
y1 = x5/2
an (5/2)xn
(7.7.11)
n=0
and
y2 = x
1/2
2
X
n=0
an (1/2) + C
y1 ln x + x
5/2
n=1
a0n (5/2)xn
(7.7.12)
an (r) =
=
=
1,
p1 (n + r 1)
an1 (r)
p0 (n + r)
(n + r)(2n + 2r + 1)
an1 (r),
(2n + 2r + 1)(2n + 2r 5)
n+r
an1 (r), n 1,
2n + 2r 5
n
Y
j=1
Therefore
j +r
, n 0.
2j + 2r 5
(1)n
Qn
+ 5)
X
(1)n
Qn
+ 5)
an (5/2) =
Substituting this into (7.7.11) yields
y1 = x
5/2
n=0
j=1 (2j
4n n!
j=1 (2j
4n n!
(7.7.13)
(7.7.14)
(7.7.15)
xn .
To compute the coefficients a0 (1/2), a1 (1/2) and a2 (1/2) in y2 , we set r = 1/2 in (7.7.13)
and apply the resulting recurrence formula for n = 1, 2; thus,
a0 (1/2)
= 1,
an (1/2)
2n 1
an1 (1/2), n = 1, 2.
4(n 3)
a2 (1/2) = 3/32.
X
1
3 2
15
1/2
5/2
0
n
y2 = x
1+ x+ x
y1 ln x + x
an (5/2)x .
(7.7.16)
8
32
128
n=1
We use logarithmic differentiation to obtain obtain a0n (r). From (7.7.14),
|an (r)| =
Therefore
ln |an (r)| =
Differentiating with respect to r yields
n
Y
|j + r|
, n 1.
|2j + 2r 5|
j=1
n
X
j=1
a0n (r) X
=
an (r) j=1
1
2
j+r
2j + 2r 5
383
n
X
1
2
.
= an (r)
j + r 2j + 2r 5
j=1
.
4n n!
j + 5/2 j
j=1
Since
(7.7.17)
1
5
1
=
,
j + 5/2 j
j(2j + 5)
(1)n
Qn
j=1 (2j + 5)
4n n!
n
X
j=1
1
.
j(2j + 5)
Qn
n
n
X
X
(1)
(2j
+
5)
1
75 5/2
j=1
xn .
x
+
n n!
128
4
j(2j
+
5)
n=1
j=1
y1 ln x + xr1
n=1
in the formula (7.7.5) for y2 . Therefore its best to compute C before computing {a0n (r1 )}
n=1 . This is
illustrated in the next example. (See also Exercises 44 and 45.)
Example 7.7.2 Find a fundamental set of Frobenius solutions of
x2 (1 2x)y00 + x(8 9x)y0 + (6 3x)y = 0.
Give explicit formulas for the coefficients in the solutions.
Solution For the given equation, the polynomials defined in Theorem 7.7.1 are
p0 (r)
p1 (r)
r(r 1) + 8r + 6
2r(r 1) 9r 3
(r + 1)(r + 6)
= (r + 3)(2r + 1).
The roots of the indicial equation are r1 = 1 and r2 = 6, so k = r1 r2 = 5. Therefore Theorem 7.7.1
implies that
X
y1 = x1
an (1)xn
(7.7.18)
n=0
4
X
an (6) + C
a0 (r)
1,
an (r)
y2 = x
y1 ln x + x
n=0
a0n (1)xn
n=1
(7.7.19)
(with C as in (7.7.4)) form a fundamental set of solutions of Ly = 0. The recurrence formula (7.7.2) is
=
which implies that
an (r)
=
=
p1 (n + r 1)
an1 (r)
p0 (n + r)
(n + r + 2)(2n + 2r 1)
an1 (r), n 1,
(n + r + 1)(n + r + 6)
n
Y
(j + r + 2)(2j + 2r 1)
(j + r + 1)(j + r + 6)
j=1
n
n
Y
Y
2j + 2r 1
j + r + 2
.
j+r+1
j +r+6
(7.7.21)
j=1
j=1
Since
(7.7.20)
n
Y
j+r+2
(r + 3)(r + 4) (n + r + 2)
n+r+2
=
=
j+r+1
(r + 2)(r + 3) (n + r + 1)
r+2
j=1
n
n + r + 2 Y 2j + 2r 1
.
r + 2 j=1 j + r + 6
Therefore
n
Y
2j 3
.
j+5
an (1) = (n + 1)
j=1
n
Y
2j 3 n
y1 = x1
(n + 1)
x .
j+5
n=0
j=1
To compute the coefficients a0 (6), . . . , a4 (6) in y2 , we set r = 6 in (7.7.20) and apply the
resulting recurrence formula for n = 1, 2, 3, 4; thus,
a0 (6)
an (6)
1,
(n 4)(2n 13)
an1 (6), n = 1, 2, 3, 4.
n(n 5)
33
99
231
, a2 (6) =
, a3 (6) =
, a4 (6) = 0.
4
4
8
Since a4 (6) = 0, (7.7.4) implies that the constant C in (7.7.19) is zero. Therefore (7.7.19) reduces to
33
99 2 231 3
6
y2 = x
1 x+ x
x .
4
4
8
385
0 r(r 1) + 0 r + 0 ,
p2 (r)
2 r(r 1) + 2 r + 2 .
Suppose r is a real number such that p0 (2m + r) is nonzero for all positive integers m, and define
a0 (r) =
1,
a2m (r) =
p2 (2m + r 2)
a2m2 (r),
p0 (2m + r)
(7.7.22)
m 1.
Let r1 and r2 be the roots of the indicial equation p0 (r) = 0, and suppose r1 = r2 + 2k, where k is a
positive integer. Then
X
y1 = xr1
a2m (r1 )x2m
m=0
= 1,
a2m (r2 )
p2 (2m + r2 2)
a2m2 (r2 ),
p0 (2m + r2 )
and
C=
then
y2 = x
r2
k1
X
a2m (r2 )x
1mk1
p2 (r1 2)
a2k2(r2 ),
2k0
2m
+C
y1 ln x + x
r1
m=0
(7.7.23)
m=1
(7.7.24)
r(r 1) + 3r 15
(r 3)(r + 5)
p2 (r)
r(r 1) + 10r + 14 =
(r + 2)(r + 7).
The roots of the indicial equation are r1 = 3 and r2 = 5, so k = (r1 r2 )/2 = 4. Therefore
Theorem 7.7.2 implies that
X
y1 = x3
a2m (3)x2m
(7.7.25)
m=0
and
y2 = x
3
X
a2m (5)x
2m
+C
y1 ln x + x
m=0
a02m (3)x2m
m=1
(with C as in (7.7.23)) form a fundamental set of solutions of Ly = 0. The recurrence formula (7.7.22) is
a0 (r)
a2m (r) =
=
=
1,
p2 (2m + r 2)
a2m2 (r)
p0 (2m + r)
(2m + r)(2m + r + 5)
a2m2 (r)
(2m + r 3)(2m + r + 5)
2m + r
a2m2 (r), m 1,
2m + r 3
m
Y
j=1
Therefore
a2m (3) =
(1)m
X
(1)m
m=0
(7.7.26)
2j + r
, m 0.
2j + r 3
(7.7.27)
Qm
(7.7.28)
j=1 (2j
m
2 m!
Qm
j=1 (2j
m
2 m!
+ 3)
+ 3)
x2m .
To compute the coefficients a2 (5), a4 (5), and a6 (5) in y2 , we set r = 5 in (7.7.26) and apply
the resulting recurrence formula for m = 1, 2, 3; thus,
a2m (5) =
This yields
2m 5
a2m2 (5), m = 1, 2, 3.
2(m 4)
1
1
1
a2 (5) = , a4 (5) = , a6 (5) =
.
2
8
16
Substituting r1 = 3, r2 = 5, k = 4, and 0 = 1 into (7.7.23) yields C = 3/16. Therefore, from
(7.7.24),
!
X
1 2 1 4
1 6
3
5
3
0
2m
y2 = x
1 x + x + x
y1 ln x + x
a2m (3)x
.
(7.7.29)
2
8
16
16
m=1
387
m
Y
j=1
n
X
j=1
a02m (r) X
=
a2m (r)
j=1
Therefore
a02m (r)
|2j + r|
, m 1.
|2j + r 3|
= a2m (r)
1
1
2j + r
2j + r 3
n
X
j=1
1
1
2j + r
2j + r 3
.
2m m!
2j + 3 2j
j=1
Since
1
1
3
=
,
2j + 3 2j
2j(2j + 3)
n
3 (1)
Qm
j=1 (2j + 3)
2m m!
n
X
j=1
1
.
j(2j + 3)
Qm
m
m
X
(2j
+
3)
9 3 X (1)
1
j=1
x2m .
+ x
32 m=1
2m m!
j(2j
+
3)
j=1
p2 (r)
r(r 1) + 7r
2r(r 1) 13r 14 =
r(r + 6),
(r + 2)(2r + 7).
(7.7.30)
X
y1 =
a2m (0)x2m,
(7.7.31)
m=0
and
y2 = x
2
X
a2m (6)x
2m
+C
y1 ln x +
m=0
a02m (0)x2m
m=1
(7.7.32)
(with C as in (7.7.23)) form a fundamental set of solutions of Ly = 0. The recurrence formulas (7.7.22)
are
a0 (r) = 1,
p2 (2m + r 2)
a2m2 (r)
a2m (r) =
p0 (2m + r)
(7.7.33)
(2m + r)(4m + 2r + 3)
=
a2m2 (r)
(2m + r)(2m + r + 6)
4m + 2r + 3
=
a2m2 (r), m 1,
2m + r + 6
which implies that
m
Y
4j + 2r + 3
a2m (r) =
.
2j + r + 6
j=1
Setting r = 0 yields
a2m (0) = 6
Qm
j=1 (4j
+ 3)
2m (m + 3)!
m=0
Qm
j=1 (4j + 3) 2m
x .
2m (m + 3)!
To compute the coefficients a0 (6), a2 (6), and a4 (6) in y2 , we set r = 6 in (7.7.33) and apply
the resulting recurrence formula for m = 1, 2; thus,
a0 (6) =
a2m (6) =
1,
4m 9
a2m2 (6), m = 1, 2.
2m
5
5
and a4 (6) = .
2
8
Since p2 (2) = 0, the constant C in (7.7.23) is zero. Therefore (7.7.32) reduces to
5
5
y2 = x6 1 x2 + x4 .
2
8
a2 (6) =
7.7 Exercises
In Exercises 140 find a fundamental set of Frobenius solutions. Give explicit formulas for the coefficients.
2.
xy00 + y = 0
3.
4.
xy00 + xy0 + y = 0
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
17.
18.
19.
20.
21.
22.
23.
24.
25.
26.
27.
xy00 5y0 + xy = 0
x2 y00 xy0 (3 x2 )y = 0
28.
29.
30.
31.
32.
33.
34.
35.
36.
37.
389
an (r1 )xn
n=0
and
y2 = x
r2
k1
X
an (r2 )x + C
y1 ln x + x
r1
n=0
n=1
are linearly independent. H INT: Show that if c1 and c2 are constants such that c1 y1 + c2 y2
0 on an interval (0, ), then
xr2 (c1 y1 (x) + c2 y2 (x)) = 0,
0 < x < .
43.
44.
Under the assumptions of Theorem 7.7.1, show that C = 0 if and only if p1 (r2 + ) = 0 for some
integer in {0, 1, . . ., k 1}.
45.
46.
Under the assumptions of Theorem 7.7.2, show that C = 0 if and only if p2 (r2 + 2) = 0 for some
integer ` in {0, 1, . . ., k 1}.
Let
Show that if
p0 (r) = 0 (r r1 )(r r2 )
X
(1)n
1
r1
Qn
y1 = x
xn
n!
(j
+
k)
0
j=1
n=0
and
y2
xr2
k1
X
n=0
(1)n
Qn
n! j=1 (j k)
1
k!(k 1)!
1
0
k
1
0
n
xn
y1 ln x xr1
n!
n=1
(1)
Qn
j=1 (j + k)
1
0
n
n
X
2j + k n
x
.
j(j
+ k)
j=1
391
Let
Ly = 0 x2 y00 + 0 xy0 + (0 + 2 x2 )y
and define
p0 (r) = 0 r(r 1) + 0 r + 0 .
Show that if
p0 (r) = 0 (r r1 )(r r2 )
where r1 r2 = 2k, an even positive integer, then Ly = 0 has the solutions
y1 = x
r1
m=0
and
y2
xr2
k1
X
m=0
(1)m
Qm
m
4 m! j=1 (j k)
2
k
4 k!(k 1)!
48.
2
0
k
(1)m
Qm
4m m! j=1 (j + k)
2
0
m
2
0
m
x2m
x2m
m X
m
r1 X
m
x
(1)
2j
+
k
2
y1 ln x
x2m .
Qm
2 m=1 4m m! j=1 (j + k) 0
j(j
+
k)
j=1
Let L be as in Exercises 7.5.57 and 7.5.58, and suppose the indicial polynomial of Ly = 0 is
p0 (r) = 0 (r r1 )(r r2 ),
with k = r1 r2 , where k is a positive integer. Define a0 (r) = 1 for all r. If r is a real number
such that p0 (n + r) is nonzero for all positive integers n, define
n
an (r) =
X
1
pj (n + r j)anj (r), n 1,
p0 (n + r) j=1
and let
y1 = xr1
an (r1 )xn .
n=0
Define
an (r2 ) =
X
1
pj (n + r2 j)anj (r2 ) if n 1 and n 6= k,
p0 (n + r2 )
j=1
r1
n=1
= k0 xr1 .
r2
n=0
an (r2 )x
= Axr1 ,
k
X
j=1
A
y2 = x
an (r2 )x
k0
n=0
r2
y1 ln x + x
r1
n=1
CHAPTER 8
Laplace Transforms
IN THIS CHAPTER we study the method of Laplace transforms, which illustrates one of the basic problem solving techniques in mathematics: transform a difficult problem into an easier one, solve the latter, and then use its solution to obtain a solution of the original problem. The method discussed here
transforms an initial value problem for a constant coefficient equation into an algebraic equation whose
solution can then be used to solve the initial value problem. In some cases this method is merely an
alternative procedure for solving problems that can be solved equally well by methods that we considered
previously; however, in other cases the method of Laplace transforms is more efficient than the methods
previously discussed. This is especially true in physical problems dealing with discontinuous forcing
functions.
SECTION 8.1 defines the Laplace transform and developes its properties.
SECTION 8.2 deals with the problem of finding a function that has a given Laplace transform.
SECTION 8.3 applies the Laplace transform to solve initial value problems for constant coefficient second
order differential equations on (0, ).
SECTION 8.5 uses the unit step function to solve constant coefficient equations with piecewise continuous forcing functions.
SECTION 8.6 deals with the convolution theorem, an important theoretical property of the Laplace transform.
SECTION 8.7 introduces the idea of impulsive force, and treats constant coefficient equations with impulsive forcing functions.
SECTION 8.8 is a brief table of Laplace transforms.
393
g(t) dt = lim
g(t) dt.
(8.1.1)
We say that the improper integral converges if the limit in (8.1.1) exists; otherwise, we say that the
improper integral diverges or does not exist. Heres the definition of the Laplace transform of a function
f.
Definition 8.1.1 Let f be defined for t 0 and let s be a real number. Then the Laplace transform of f
is the function F defined by
Z
F (s) =
(8.1.2)
It is important to keep in mind that the variable of integration in (8.1.2) is t, while s is a parameter
independent of t. We use t as the independent variable for f because in applications the Laplace transform
is usually applied to functions of time.
The Laplace transform can be viewed as an operator L that transforms the function f = f(t) into the
function F = F (s). Thus, (8.1.2) can be expressed as
F = L(f).
The functions f and F form a transform pair, which well sometimes denote by
f(t) F (s).
It can be shown that if F (s) is defined for s = s0 then its defined for all s > s0 (Exercise 14(b)).
Computation of Some Simple Laplace Transforms
Example 8.1.1 Find the Laplace transform of f(t) = 1.
Solution From (8.1.2) with f(t) = 1,
F (s) =
st
dt = lim
If s 6= 0 then
Therefore
est dt.
T
1
1 esT
est dt = est =
.
s
s
0
lim
est dt =
1
, s > 0,
s
, s < 0.
(8.1.3)
(8.1.4)
395
1 dt = lim T = .
T
est dt =
1
,
s
s > 0.
1
,
s
s > 0,
1
, s > 0.
s
R EMARK: It is convenient to combine the steps of integrating from 0 to T and letting T . Therefore,
instead of writing (8.1.3) and (8.1.4) as separate steps we write
(
Z
1
1 st
, s > 0,
st
e dt = e =
s
s
0
0
, s < 0.
1
est t dt.
t2
t dt = = .
2 0
F (s) =
1
,
s2
s > 0.
L(t) =
1
,
s2
s > 0,
1
,
s2
s > 0.
(8.1.5)
F (s) =
e(sa)t dt.
s > 0.
F (s) =
s > a.
1
,
sa
s > a, or eat
1
,
sa
s > a.
Example 8.1.4 Find the Laplace transforms of f(t) = sin t and g(t) = cos t, where is a constant.
Solution Define
F (s) =
est sin t dt
(8.1.6)
(8.1.7)
and
G(s) =
Z
est
sin t +
est cos t dt,
s
s 0
0
F (s) =
G(s).
s
so
Z
est cos t st
G(s) =
e
sin t dt,
s
s 0
0
G(s) =
1
F (s).
s
s
1 2
2 G(s).
s
s
(8.1.8)
s
,
+ 2
s > 0.
,
s2 + 2
s > 0.
s2
397
n!
.
(s a)n+1
3!
6
=
.
(s 4)4
(s 4)4
Well sometimes write Laplace transforms of specific functions without explicitly stating how they are
obtained. In such cases you should refer to the table of Laplace transforms.
Linearity of the Laplace Transform
The next theorem presents an important property of the Laplace transform.
Theorem 8.1.2 [Linearity Property] Suppose L(fi ) is defined for s > si , 1 i n). Let s0 be the
largest of the numbers s1 , s2 , . . . ,sn , and let c1 , c2 ,. . . , cn be constants. Then
L(c1 f1 + c2 f2 + + cn fn ) = c1 L(f1 ) + c2 L(f2 ) + + cn L(fn ) for s > s0 .
Proof
c1 L(f1 ) + c2 L(f2 ).
Example 8.1.6 Use Theorem 8.1.2 and the known Laplace transform
L(eat ) =
to find L(cosh bt) (b 6= 0).
1
sa
ebt + ebt
.
2
1 bt 1 bt
e + e
L(cosh bt) = L
2
2
1
1
bt
(8.1.9)
=
L(e ) + L(ebt )
(linearity property)
2
2
1 1
1 1
=
+
,
2 sb 2 s+b
where the first transform on the right is defined for s > b and the second for s > b; hence, both are
defined for s > |b|. Simplifying the last expression in (8.1.9) yields
s
,
s2 b2
L(cosh bt) =
s > |b|.
est f(t) dt
(8.1.10)
is the Laplace transform of f(t) for s > s0 , then F (s a) is the Laplace transform of eat f(t) for
s > s0 + a.
P ROOF. Replacing s by s a in (8.1.10) yields
Z
F (s a) =
e(sa)t f(t) dt
(8.1.11)
Example 8.1.7 Use Theorem 8.1.3 and the known Laplace transforms of 1, t, cos t, and sin t to find
L(eat ),
L(teat ),
Solution In the following table the known transform pairs are listed on the left and the required transform
pairs listed on the right are obtained by applying Theorem 8.1.3.
eat f(t) F (s a)
1
, s>0
s
1
t 2, s > 0
s
, s>0
sin t 2
s + 2
s
cos t 2
, s>0
s + 2
1
, s>a
(s a)
1
teat
, s>a
(s a)2
,s>
et sin t
(s )2 + 2
s
et sin t
,s>
(s )2 + 2
399
eat
for every real number s. Hence, the function f(t) = et does not have a Laplace transform.
Our next objective is to establish conditions that ensure the existence of the Laplace transform of a
function. We first review some relevant definitions from calculus.
Recall that a limit
lim f(t)
tt0
tt0
and
lim f(t)
tt0+
tt0
tt0
tt0+
Recall also that f is continuous at a point t0 in an open interval (a, b) if and only if
lim f(t) = f(t0 ),
tt0
which is equivalent to
lim f(t) = lim f(t) = f(t0 ).
tt0 +
tt0
(8.1.12)
and
f (t +)
0
f (t0)
If f(t0 +) and f(t0 ) are finite and equal, but either f isnt defined at t0 or its defined but
f(t0 ) 6= f(t0 +) = f(t0 ),
we say that f has a removable discontinuity at t0 (Figure 8.1.2). This terminolgy is appropriate since a
function f with a removable discontinuity at t0 can be made continuous at t0 by defining (or redefining)
f(t0 ) = f(t0 +) = f(t0 ).
R EMARK: We know from calculus that a definite integral isnt affected by changing the values of its
integrand at isolated points. Therefore, redefining a function f to make it continuous at removable discontinuities does not change L(f).
Definition 8.1.4
(i) A function f is said to be piecewise continuous on a finite closed interval [0, T ] if f(0+) and
f(T ) are finite and f is continuous on the open interval (0, T ) except possibly at finitely many
points, where f may have jump discontinuities or removable discontinuities.
(ii) A function f is said to be piecewise continuous on the infinite interval [0, ) if its piecewise
continuous on [0, T ] for every T > 0.
Figure 8.1.3 shows the graph of a typical piecewise continuous function.
It is shown in calculus that if a function is piecewise continuous on a finite closed interval then its
integrable on that interval. But if f is piecewise continuous on [0, ), then so is est f(t), and therefore
Z T
est f(t) dt
0
401
f(t0)
f(t ) = f(t +)
0
0
t0
Figure 8.1.2
exists for every T > 0. However, piecewise continuity alone does not guarantee that the improper integral
Z
Z T
est f(t) dt = lim
est f(t) dt
(8.1.13)
0
converges for s in some interval (s0 , ). For example, we noted earlier that (8.1.13) diverges for all
2
2
s if f(t) = et . Stated informally, this occurs because et increases too rapidly as t . The next
definition provides a constraint on the growth of a function that guarantees convergence of its Laplace
transform for s in some interval (s0 , ) .
Definition 8.1.5 A function f is said to be of exponential order s0 if there are constants M and t0 such
that
|f(t)| M es0 t , t t0 .
(8.1.14)
In situations where the specific value of s0 is irrelevant we say simply that f is of exponential order.
The next theorem gives useful sufficient conditions for a function f to have a Laplace transform. The
proof is sketched in Exercise 10.
Theorem 8.1.6 If f is piecewise continuous on [0, ) and of exponential order s0 , then L(f) is defined
for s > s0 .
R EMARK: We emphasize that the conditions of Theorem 8.1.6 are sufficient, but not necessary, for f to
have a Laplace transform. For example, Exercise 14(c) shows that f may have a Laplace transform even
though f isnt of exponential order.
Example 8.1.8 If f is bounded on some interval [t0 , ), say
|f(t)| M,
t t0 ,
then (8.1.14) holds with s0 = 0, so f is of exponential order zero. Thus, for example, sin t and cos t
are of exponential order zero, and Theorem 8.1.6 implies that L(sin t) and L(cos t) exist for s > 0.
This is consistent with the conclusion of Example 8.1.4.
by LHpitals rule. If 0, f is also continuous on [0, ). Therefore Exercise 9 and Theorem 8.1.6
imply that L(t ) exists for s s0 . However, since s0 is an arbitrary positive number, this really implies
that L(t ) exists for all s > 0. This is consistent with the results of Example 8.1.2 and Exercises 6 and 8.
Example 8.1.10 Find the Laplace transform of the piecewise continuous function
1,
0 t < 1,
f(t) =
3et , t 1.
Solution Since f is defined by different formulas on [0, 1) and [1, ), we write
Z
Z 1
Z
F (s) =
est f(t) dt =
est (1) dt +
est (3et ) dt.
0
Since
Z
and
Z
it follows that
s
1e
,
st
e
dt =
s
1,
est (3et ) dt = 3
s 6= 0,
s = 0,
e(s+1)t dt =
3e(s+1)
,
s+1
s > 1,
(s+1)
s
1 e 3e
, s > 1, s 6= 0,
s
s+1
F (s) =
3
1
, s = 0.
e
This is consistent with Theorem 8.1.6, since
|f(t)| 3et ,
t 1,
est et dt =
2
for all s, so Theorem 8.1.6 implies that f(t) = et is not of exponential order, since
2
et
1 t2 s0 t
lim
= lim
e
= ,
t M es0 t
t M
so
et > M es0 t
for sufficiently large values of t, for any choice of M and s0 (Exercise 3).
403
8.1 Exercises
1.
Find the Laplace transforms of the following functions by evaluating the integral F (s) =
R
0
(b) tet
(e) t2
2.
(a) t
(d) e2t 3et
Use the table of Laplace transforms to find the Laplace transforms of the following functions.
(b) sin2 t
(e) t sinh 2t
(h) cos 2t cos 3t
3.
(c) sinh bt
5.
6.
7.
1,
t, t
te ,
(d) f(t) =
et ,
(b) f(t) =
0 t < 4,
t 4.
0 t < 1,
t 1.
(s )2 + 2
and
L(et cos t) =
s
(s )2 + 2
and the result of Exercise 6 to find L(tet cos t) and L(tet sin t).
Use the known Laplace transform L(1) = 1/s and the result of Exercise 6 to show that
L(tn ) =
9.
est et dt =
Graph the following piecewise continuous functions and evaluate f(t+), f(t), and f(t) at each
point of discontinuity.
2
t, 0 t < 2,
t + 2, 0 t < 1,
t 4, 2 t < 3,
4,
t = 1,
(a) f(t) =
(b) f(t) =
1,
t 3.
t,
t > 1.
t,
0 t < 1,
t = 1,
sin t, 0 t < /2,
2,
2 sin t, /2 t < ,
2 t, 1 t < 2,
(c) f(t) =
(d) f(t) =
cos t, t .
3,
t = 2,
6,
t > 2.
L(et sin t) =
8.
(c) cos2 2t
(f) sin t cos t
(i) sin 2t + cos 4t
n!
,
sn+1
n = integer.
(a) Show that if limt es0 t f(t) exists and is finite then f is of exponential order s0 .
(b) Show that if f is of exponential order s0 then limt est f(t) = 0 for all s > s0 .
11.
12.
13.
Suppose f is piecewise continuous and of exponential order, and that limt0+ f(t)/t exists. Show
that
Z
f(t)
=
F (r) dr.
L
t
s
H INT: Use the results of Exercises 6 and 11.
14.
(b) Show that if L(f) exists for s = s0 then it exists for s > s0 . Show that the function
2
Use the table of Laplace transforms and the result of Exercise 13 to find the Laplace transforms of
the following functions.
sin t
cos t 1
( > 0)
(b)
t
t
cosh t 1
sinh2 t
(d)
(e)
t
t
The gamma function is defined by
( > 0) (c)
(a)
16.
() =
eat ebt
t
x1ex dx,
405
> 0.
( + 1)
,
s+1
s > 0,
if is a nonnegative integer. Show that this formula is valid for any > 1. H INT: Change
the variable of integration in the integral for ( + 1).
17.
Suppose f is continuous on [0, T ] and f(t + T ) = f(t) for all t 0. (We say in this case that f
is periodic with period T .)
(a) Conclude from Theorem 8.1.6 that the Laplace transform of f is defined for s > 0. H INT:
Since f is continuous on [0, T ] and periodic with period T , its bounded on [0, ).
(b) (b) Show that
Z T
1
F (s) =
est f(t) dt, s > 0.
1 esT 0
H INT: Write
F (s) =
Z
X
nT
n=0
(n+1)T
(n+1)T
nT
Use the formula given in Exercise 17(b) to find the Laplace transforms of the given periodic
functions:
t,
0 t < 1,
(a) f(t) =
f(t + 2) = f(t), t 0
2 t, 1 t < 2,
1, 0 t < 12 ,
(b) f(t) =
f(t + 1) = f(t), t 0
1, 21 t < 1,
(c) f(t) = | sin t|
sin t, 0 t < ,
(d) f(t) =
f(t + 2) = f(t)
0,
t < 2,
1
s2 1
s2
b
b2
= sinh t.
s
s2 + 2
s
L
= cos 3t.
s2 + 9
The next theorem enables us to find inverse transforms of linear combinations of transforms in the
table. We omit the proof.
1
8
7
+
s + 5 s2 + 3
1
and sin t 2
.
sa
s + 2
1
s+5
7
+ L1
3
8L
7
8e5t + sin 3t.
3
!
3
2
s +3
407
3s + 8
s2 + 2s + 5
s+1
(s + 1)2 + 4
and
et sin 2t
2
,
(s + 1)2 + 4
and write
L
3s + 8
(s + 1)2 + 4
3s + 3
(s + 1)2 + 4
3L1
et (3 cos 2t +
s+1
(s + 1)2 + 4
+L
5
(s + 1)2 + 4
5
+ L1
2
2
(s + 1)2 + 4
5
sin 2t).
2
R EMARK: Well often write inverse Laplace transforms of specific functions without explicitly stating
how they are obtained. In such cases you should refer to the table of Laplace transforms in Section 8.8.
Inverse Laplace Transforms of Rational Functions
Using the Laplace transform to solve differential equations often requires finding the inverse transform
of a rational function
P (s)
F (s) =
,
Q(s)
where P and Q are polynomials in s with no common factors. Since it can be shown that lims F (s) =
0 if F is a Laplace transform, we need only consider the case where degree(P ) < degree(Q). To obtain
L1 (F ), we find the partial fraction expansion of F , obtain inverse transforms of the individual terms in
the expansion from the table of Laplace transforms, and use the linearity property of the inverse transform.
The next two examples illustrate this.
Example 8.2.4 Find the inverse Laplace transform of
F (s) =
3s + 2
.
s2 3s + 2
(8.2.1)
3s + 2
.
(s 1)(s 2)
(8.2.2)
(8.2.3)
(F ) = 5L
1
s1
5
8
+
s1 s2
+ 8L
1
s2
= 5et + 8e2t .
Solution (M ETHOD 2) We dont really have to multiply (8.2.3) by (s 1)(s 2) to compute A and
B. We can obtain A by simply ignoring the factor s 1 in the denominator of (8.2.2) and setting s = 1
elsewhere; thus,
3s + 2
31+2
A=
=
= 5.
(8.2.4)
s 2 s=1
12
Similarly, we can obtain B by ignoring the factor s 2 in the denominator of (8.2.2) and setting s = 2
elsewhere; thus,
3s + 2
32+2
=
= 8.
(8.2.5)
B=
s 1 s=2
21
To justify this, we observe that multiplying (8.2.3) by s 1 yields
3s + 2
B
= A + (s 1)
,
s2
s2
and setting s = 1 leads to (8.2.4). Similarly, multiplying (8.2.3) by s 2 yields
3s + 2
A
= (s 2)
+B
s1
s2
and setting s = 2 leads to (8.2.5). (It isnt necesary to write the last two equations. We wrote them only
to justify the shortcut procedure indicated in (8.2.4) and (8.2.5).)
The shortcut employed in the second solution of Example 8.2.4 is Heavisides method. The next theorem states this method formally. For a proof and an extension of this theorem, see Exercise 10.
Theorem 8.2.2 Suppose
F (s) =
P (s)
,
(s s1 )(s s2 ) (s sn )
(8.2.6)
A1
A2
An
+
+ +
,
s s1
s s2
s sn
where Ai can be computed from (8.2.6) by ignoring the factor s si and setting s = si elsewhere.
Example 8.2.5 Find the inverse Laplace transform of
F (s) =
6 + (s + 1)(s2 5s + 11)
.
s(s 1)(s 2)(s + 1)
(8.2.7)
409
A
B
C
D
+
+
+
.
s
s1 s2 s+1
(8.2.8)
To find A, we ignore the factor s in the denominator of (8.2.7) and set s = 0 elsewhere. This yields
6 + (1)(11)
17
=
.
(1)(2)(1)
2
A=
Similarly, the other coefficients are given by
B=
6 + (2)(7)
= 10,
(1)(1)(2)
C=
and
D=
Therefore
F (s) =
and
L
(F )
6 + 3(5)
7
= ,
2(1)(3)
2
6
= 1.
(1)(2)(3)
17 1
10
7 1
1
2 s s1 2 s2 s+1
1
1
7 1
1
1
1
1
10L
+ L
L
s
s1
2
s2
s+1
17 1
L
2
17
7
10et + e2t et .
2
2
R EMARK: We didnt multiply out the numerator in (8.2.7) before computing the coefficients in (8.2.8),
since it wouldnt simplify the computations.
Example 8.2.6 Find the inverse Laplace transform of
F (s) =
8 (s + 2)(4s + 10)
.
(s + 1)(s + 2)2
(8.2.9)
A
B
C
+
+
.
s + 1 s + 2 (s + 2)2
(8.2.10)
Because of the repeated factor (s + 2)2 in (8.2.9), Heavisides method doesnt work. Instead, we find a
common denominator in (8.2.10). This yields
F (s) =
(8.2.11)
(8.2.12)
2
6
8
s + 1 s + 2 (s + 2)2
and
L
(F ) =
=
2L
1
s+1
6L
1
s+2
8L
1
(s + 2)2
s2 5s + 7
.
(s + 2)3
A
B
C
+
+
.
s + 2 (s + 2)2
(s + 2)3
The easiest way to obtain A, B, and C is to expand the numerator in powers of s + 2. This yields
s2 5s + 7 = [(s + 2) 2]2 5[(s + 2) 2] + 7 = (s + 2)2 9(s + 2) + 21.
Therefore
F (s) =
(s + 2)2 9(s + 2) + 21
(s + 2)3
1
9
21
+
2
s + 2 (s + 2)
(s + 2)3
and
L1 (F ) =
=
L1
1
s+2
9L1
1
(s + 2)2
21 1
L
2
2
(s + 2)3
21
e2t 1 9t + t2 .
2
1 s(5 + 3s)
.
s [(s + 1)2 + 1]
(8.2.13)
411
F (s) =
(8.2.14)
However, we see from the table of Laplace transforms that the inverse transform of the second fraction
on the right of (8.2.14) will be a linear combination of the inverse transforms
of
et cos t
and
et sin t
s+1
(s + 1)2 + 1
and
1
(s + 1)2 + 1
A B(s + 1) + C
+
.
s
(s + 1)2 + 1
(8.2.15)
(8.2.16)
This is true for all s if its true for three distinct values of s. Choosing s = 0, 1, and 1 yields the system
2A =
AC =
5A + 2B + C =
Solving this system yields
A=
Hence, from (8.2.15),
F (s) =
1
,
2
7
B= ,
2
1
3
7.
5
C= .
2
7
s+1
5
1
1
.
2s 2 (s + 1)2 + 1 2 (s + 1)2 + 1
Therefore
L
(F ) =
=
1 1
L
2
1
7 1
s+1
5 1
1
L
L
s
2
(s + 1)2 + 1
2
(s + 1)2 + 1
1 7 t
5
e cos t et sin t.
2 2
2
8 + 3s
.
(s2 + 1)(s2 + 4)
(8.2.17)
A + Bs C + Ds
+ 2
.
s2 + 1
s +4
The coefficients A, B, C and D can be obtained by finding a common denominator and equating the
resulting numerator to the numerator in (8.2.17). However, since theres no first power of s in the denominator of (8.2.17), theres an easier way: the expansion of
F1 (s) =
(s2
1
+ 1)(s2 + 4)
(x + 1)(x + 4)
3 x+1 x+4
and then setting x = s2 to obtain
1
1
=
(s2 + 1)(s2 + 4)
3
1
1
s2 + 1 s2 + 4
8 + 3s
1
=
2
2
(s + 1)(s + 4)
3
Therefore
L1 (F ) =
8 + 3s 8 + 3s
2
s2 + 1
s +4
8
4
sin t + cos t sin 2t cos 2t.
3
3
USING TECHNOLOGY
Some software packages that do symbolic algebra can find partial fraction expansions very easily. We
recommend that you use such a package if one is available to you, but only after youve done enough
partial fraction expansions on your own to master the technique.
8.2 Exercises
1.
2.
Use the table of Laplace transforms to find the inverse Laplace transform.
3
2s 4
1
(a)
(b) 2
(c) 2
4
(s 7)
s 4s + 13
s + 4s + 20
2
s2 1
1
(d) 2
(e) 2
(f)
2
s +9
(s + 1)
(s 2)2 4
2
s2 4s + 3
12s 24
(g) 2
(h)
(i) 2
2
2
(s 4s + 85)
(s 3) 9
(s 4s + 5)2
Use Theorem 8.2.1 and the table of Laplace transforms to find the inverse Laplace transform.
3.
4.
2 + 3s
3s2 + 2s + 1
(b) 2
+ 1)(s + 2)(s + 1)
(s + 1)(s2 + 2s + 2)
3s + 2
3s2 + 2s + 1
(c)
(d)
2
(s 2)(s + 2s + 5)
(s 1)2 (s + 2)(s + 3)
2s2 + s + 3
3s + 2
(e)
(f) 2
(s 1)2 (s + 2)2
(s + 1)(s 1)2
Use the method of Example 8.2.9 to find the inverse Laplace transform.
3s + 2
4s + 1
5s + 3
(a) 2
(b) 2
(c) 2
2
2
(s + 4)(s + 9)
(s + 1)(s + 16)
(s + 1)(s2 + 4)
17s 34
2s 1
s + 1
(e) 2
(f)
(d)
(4s2 + 1)(s2 + 1)
(s + 16)(16s2 + 1)
(4s2 + 1)(9s2 + 1)
Find the inverse Laplace transform.
17s 15
8s + 56
(a) 2
(b) 2
2
(s 2s + 5)(s + 2s + 10)
(s 6s + 13)(s2 + 2s + 5)
s+9
3s 2
(d) 2
(c) 2
(s + 4s + 5)(s2 4s + 13)
(s 4s + 5)(s2 6s + 13)
3s 1
20s + 40
(e) 2
(f)
(s 2s + 2)(s2 + 2s + 5)
(4s2 4s + 5)(4s2 + 4s + 5)
Find the inverse Laplace transform.
1
1
(a)
(b)
s(s2 + 1)
(s 1)(s2 2s + 17)
3s + 2
34 17s
(c)
(d)
(s 2)(s2 + 2s + 10)
(2s 1)(s2 2s + 5)
s+2
2s 2
(e)
(f)
2
(s 3)(s + 2s + 5)
(s 2)(s2 + 2s + 10)
Find the inverse Laplace transform.
(a)
5.
6.
7.
8.
(s2
413
9.
10.
(s2
s+2
+ 2s + 2)(s2 1)
s6
(d) 2
(s 1)(s2 + 4)
5s 15
(f) 2
(s 4s + 13)(s 2)(s 1)
(b)
(s2
Given that f(t) F (s), find the inverse Laplace transform of F (as b), where a > 0.
(a) If s1 , s2 , . . . , sn are distinct and P is a polynomial of degree less than n, then
A1
A2
An
P (s)
=
+
++
.
(s s1 )(s s2 ) (s sn )
s s1
s s2
s sn
P (s)
(s s1 )Q1 (s)
(8.3.1)
Proof
We know from Theorem 8.1.6 that L(f) is defined for s > s0 . We first consider the case where f 0 is
continuous on [0, ). Integration by parts yields
Z T
Z T
T
st 0
st
e f (t) dt = e f(t) + s
est f(t) dt
0
0
0
Z T
(8.3.2)
= esT f(T ) f(0) + s
est f(t) dt
0
sT
= f(0) + sL(f),
415
which proves (8.3.1). Now suppose T > 0 and f 0 is only piecewise continuous on [0, T ], with discontinuities at t1 < t2 < < tn1 . For convenience, let t0 = 0 and tn = T . Integrating by parts
yields
Z ti
Z ti
ti
est f 0 (t) dt = est f(t)
+s
est f(t) dt
ti1
ti1
ti1
ti
ti1
s
.
s2 + 2
s
2
1
=
.
s2 + 2
s2 + 2
Therefore
,
+ 2
which agrees with the corresponding result obtained in 8.1.4.
L(sin t) =
s2
In Section 2.1 we showed that the solution of the initial value problem
y0 = ay,
y(0) = y0 ,
(8.3.3)
is y = y0 eat . Well now obtain this result by using the Laplace transform.
Let Y (s) = L(y) be the Laplace transform of the unknown solution of (8.3.3). Taking Laplace transforms of both sides of (8.3.3) yields
L(y0 ) = L(ay),
which, by Theorem 8.3.1, can be rewritten as
sY (s) y0 = aY (s).
y0
,
sa
y0
1
1
1
1
y = L (Y (s)) = L
= y0 L
= y0 eat ,
sa
sa
Y (s) =
so
(8.3.4)
(8.3.5)
and
Proof Theorem 8.3.1 implies that L(f 0 ) exists and satisfies (8.3.4) for s > s0 . To prove that L(f 00 )
exists and satisfies (8.3.5) for s > s0 , we first apply Theorem 8.3.1 to g = f 0 . Since g satisfies the
hypotheses of Theorem 8.3.1, we conclude that L(g0 ) is defined and satisfies
L(g0 ) = sL(g) g(0)
for s > s0 . However, since g0 = f 00 , this can be rewritten as
L(f 00 ) = sL(f 0 ) f 0 (0).
Substituting (8.3.4) into this yields (8.3.5).
Solving Second Order Equations with the Laplace Transform
Well now use the Laplace transform to solve initial value problems for second order equations.
Example 8.3.2 Use the Laplace transform to solve the initial value problem
y00 6y0 + 5y = 3e2t ,
y0 (0) = 3.
y(0) = 2,
(8.3.6)
Solution Taking Laplace transforms of both sides of the differential equation in (8.3.6) yields
which we rewrite as
L(y00 6y0 + 5y) = L 3e2t =
L(y00 ) 6L(y0 ) + 5L(y) =
3
,
s2
3
.
s2
(8.3.7)
Now denote L(y) = Y (s). Theorem 8.3.2 and the initial conditions in (8.3.6) imply that
L(y0 ) = sY (s) y(0) = sY (s) 2
and
L(y00 ) = s2 Y (s) y0 (0) sy(0) = s2 Y (s) 3 2s.
Substituting from the last two equations into (8.3.7) yields
Therefore
s2 Y (s) 3 2s 6 (sY (s) 2) + 5Y (s) =
(s2 6s + 5)Y (s) =
so
3
.
s2
3
+ (3 + 2s) + 6(2),
s2
3 + (s 2)(2s 9)
,
s2
(8.3.8)
417
3 + (s 2)(2s 9)
.
(s 2)(s 5)(s 1)
1
1 1
5 1
+
+
,
s2 2s5 2s1
y(0) = k0 ,
y0 (0) = k1 .
(8.3.9)
Taking Laplace transforms of both sides of the differential equation in (8.3.9) yields
aL(y00 ) + bL(y0 ) + cL(y) = F (s).
(8.3.10)
Now let Y (s) = L(y). Theorem 8.3.2 and the initial conditions in (8.3.9) imply that
L(y0 ) = sY (s) k0
and
L(y00 ) = s2 Y (s) k1 k0 s.
(8.3.11)
of the complementary equation for (8.3.9). Using this and moving the terms involving k0 and k1 to the
right side of (8.3.11) yields
p(s)Y (s) = F (s) + a(k1 + k0 s) + bk0 .
(8.3.12)
This equation corresponds to (8.3.8) of Example 8.3.2. Having established the form of this equation in
the general case, it is preferable to go directly from the initial value problem to this equation. You may
find it easier to remember (8.3.12) rewritten as
p(s)Y (s) = F (s) + a (y0 (0) + sy(0)) + by(0).
(8.3.13)
Example 8.3.3 Use the Laplace transform to solve the initial value problem
2y00 + 3y0 + y = 8e2t ,
y(0) = 4, y0 (0) = 2.
(8.3.14)
8
,
s+2
8
+ 2(2 4s) + 3(4).
s+2
4 (1 (s + 2)(s + 1))
.
(s + 1/2)(s + 1)(s + 2)
4
1
8
8 1
+
,
3 s + 1/2 s + 1 3 s + 2
8
4 t/2
e
8et + e2t
3
3
(Figure 8.3.1).
y
y
1
.5
1
Figure 8.3.1 y =
4 t/2
8
e
8et + e2t
3
3
Figure 8.3.2 y =
1 7 t
5
e cos t et sin t
2 2
2
y(0) = 3, y0 (0) = 1.
1
,
s
(8.3.15)
419
1
(s + 1)2 + 1 Y (s) = + 1 (1 3s) + 2(3).
s
Y (s) =
1 s(5 + 3s)
.
s [(s + 1)2 + 1]
1 7 t
5
e cos t et sin t
2 2
2
8.3 Exercises
In Exercises 131 use the Laplace transform to solve the initial value problem.
1.
y00 + 3y0 + 2y = et ,
2.
y00 y0 6y = 2,
3.
4.
5.
y00 + y0 2y = e3t ,
7.
8.
10.
11.
12.
y00 + y0 2y = 4,
y00 + 4y = 4,
14.
y00 y0 6y = 2,
y(0) = 1,
y(0) = 0,
13.
y0 (0) = 1
y(0) = 1,
16.
y00 y = 1,
y0 (0) = 1
y0 (0) = 1
y0 (0) = 1
y(0) = 1,
y(0) = 1,
y0 (0) = 2
y(0) = 0,
y(0) = 2,
y(0) = 0,
y(0) = 1,
y0 (0) = 4
y0 (0) = 1
y0 (0) = 3
y0 (0) = 1
y(0) = 1,
y00 + 3y0 + 2y = et ,
y0 (0) = 1
y(0) = 1,
y(0) = 0,
15.
y0 (0) = 4
y(0) = 1,
y(0) = 1,
6.
9.
y0 (0) = 0
y(0) = 1,
y00 + y0 2y = 2e3t ,
y00 4y = 2e3t ,
y0 (0) = 6
y(0) = 1,
y0 (0) = 0
y0 (0) = 1
y0 (0) = 0
17.
y00 + 4y = 3 sin t,
18.
y00 + y0 = 2e3t ,
19.
y00 + y = 1,
y(0) = 2,
y0 (0) = 0
20.
y00 + y = t,
y(0) = 0,
y0 (0) = 2
y(0) = 1,
y(0) = 1,
y0 (0) = 1
y0 (0) = 4
y(0) = 1,
22.
23.
24.
y(0) = 1,
25.
26.
27.
y0 (0) = 3
y(0) = 1, y0 (0) = 1
y(0) = 6, y0 (0) = 2
y(0) = 1,
y0 (0) = 0
y(0) = 2,
y0 (0) = 1
29.
y(0) = 2,
y0 (0) = 7
y(0) = 1, y0 (0) = 2
y(0) = 0, y0 (0) = 16
31.
32.
33.
6y00 y0 y = 3e2t ,
y0 (0) = 7
y(0) = 2,
28.
30.
y0 (0) = 3
y(0) = 0,
y0 (0) = 4
y(0) = 1, y0 (0) = 2
y(0) = 0, y0 (0) = 0
34.
y(0) = 1, y0 (0) = 1
35.
36.
y(0) = 2, y0 (0) = 1
37.
38.
y(0) = 0, y0 (0) = 3
y2 = L
a
2
as + bs + c
Show that
y10 (0) = 0
y1 (0) = 1,
and
y2 (0) = 0,
y20 (0) = 1.
H INT: Use the Laplace transform to solve the initial value problems
ay00 + by0 + cy
00
ay + by + cy
0,
y(0) = 1,
y0 (0) = 0
0,
y(0) = 0,
y0 (0) = 1.
y(0) = k0 ,
y0 (0) = k1 ,
where a, b, and c are constants and f is piecewise continuous. In this section well develop procedures
for using the table of Laplace transforms to find Laplace transforms of piecewise continuous functions,
and to find the piecewise continuous inverses of Laplace transforms.
421
(8.4.1)
(Figure 8.4.1).
Solution Since the formula for f changes at t = 2, we write
Z
L(f) =
est f(t) dt
0
Z 2
Z
=
est (2t + 1) dt +
0
(8.4.2)
in (8.4.2) to obtain
L(f)
=
=
=
est (2t + 1) dt +
Z0
est (3t 2t 1) dt
Z2
est (2t + 1) dt +
est (t 1) dt
0
2
Z
L(2t + 1) +
est (t 1) dt.
(8.4.3)
To relate the last integral to a Laplace transform, we make the change of variable x = t 2 and rewrite
the integral as
Z
Z
st
e (t 1) dt =
es(x+2) (x + 1) dx
2
e2s
esx (x + 1) dx.
Since the symbol used for the variable of integration has no effect on the value of a definite integral, we
can now replace x by the more standard t and write
Z
Z
est (t + 1) dt = e2s L(t + 1).
est (t 1) dt = e2s
2
12
11
10
9
8
7
6
5
4
3
2
1
t
1
(8.4.6)
423
Theorem 8.4.1 Let g be defined on [0, ). Suppose 0 and L (g(t + )) exists for s > s0 . Then
L (u(t )g(t)) exists for s > s0 , and
L(u(t )g(t)) = es L (g(t + )) .
Proof
By definition,
L (u(t )g(t)) =
est (0) dt +
The first integral on the right equals zero. Introducing the new variable of integration x = t in the
second integral yields
Z
Z
s(x+)
s
L (u(t )g(t)) =
e
g(x + ) dx = e
esx g(x + ) dx.
0
Changing the name of the variable of integration in the last integral from x to t yields
Z
L (u(t )g(t)) = es
est g(t + ) dt = es L(g(t + )).
0
2
2
2
+ 2+ ,
s3
s
s
L u(t 1)(t + 1) = es
2
2
2
+ 2 +
s3
s
s
Example 8.4.3 Use Theorem 8.4.1 to find the Laplace transform of the function
(
2t + 1, 0 t < 2,
f(t) =
3t,
t 2,
from Example 8.4.1.
Solution We first write f in the form (8.4.6) as
f(t) = 2t + 1 + u(t 2)(t 1).
=
=
=
f0 (t), 0 t < t1 ,
f1 (t), t1 t < t2 ,
f(t) =
f2 (t), t t2 ,
as
f(t) = f0 (t) + u(t t1 ) (f1 (t) f0 (t)) + u(t t2 ) (f2 (t) f1 (t))
if f0 , f1 , and f2 are all defined on [0, ).
Example 8.4.4 Find the Laplace transform of
1,
2t + 1,
f(t) =
3t,
t 1,
0 t < 2,
2 t < 3,
3 t < 5,
t5
(8.4.7)
(Figure 8.4.3).
or
f(t) = 1 2u(t 2)t + u(t 3)(5t 1) u(t 5)(2t + 1).
Now Theorem 8.4.1 implies that
L(f)
=
=
=
=
=
(8.4.8)
(8.4.9)
are useful in problems that involve shifting the arguments of trigonometric functions. Well use these
identities in the next example.
425
y
16
14
12
10
8
6
4
2
t
1
2
4
6
sin t,
0t< ,
f(t) =
t
<
,
cos
t
3
sin
t,
3 cos t,
t
(8.4.10)
(Figure 8.4.4).
cos t +
4 sin t +
= sin t 4 cos t
2
2
and
we see from (8.4.11) that
L(f)
=
=
s
s
e 2
e
.
s2 + 1
s2 + 1
s2 + 1
(8.4.11)
3
2
1
1
2
3
(8.4.12)
R EMARK: Recall that the First Shifting Theorem (Theorem 8.1.3 states that multiplying a function by eat
corresponds to shifting the argument of its transform by a units. Theorem 8.4.2 states that multiplying a
Laplace transform by the exponential es corresponds to shifting the argument of the inverse transform
by units.
Example 8.4.6 Use (8.4.12) to find
L1
e2s
s2
Solution To apply (8.4.12) we let = 2 and G(s) = 1/s2 . Then g(t) = t and (8.4.12) implies that
2s
e
1
= u(t 2)(t 2).
L
s2
1
,
s2
G1 (s) =
1
2
+ ,
s2
s
G2 (s) =
4
1
+ .
s3
s
Then
g0 (t) = t, g1 (t) = t + 2, g2 (t) = 2t2 + 1.
Hence, (8.4.12) and the linearity of L1 imply that
h(t)
= L1 (G0 (s)) L1 es G1 (s) + L1 e4s G2 (s)
= t u(t 1) [(t 1) + 2] + u(t 4) 2(t 4)2 + 1
= t u(t 1)(t + 1) + u(t 4)(2t2 16t + 33),
h(t) =
t,
0 t < 1,
1,
1 t < 4,
2t 16t + 32, t 4.
2
2s
3s + 1
s+1
e 2 s 2
+ es 2
.
+4
s +9
s + 6s + 10
s2
Solution Let
(3s + 1)
,
s2 + 9
G0 (s) =
2s
,
s2 + 4
G2 (s) =
s+1
(s + 3) 2
=
.
s2 + 6s + 10
(s + 3)2 + 1
and
G1 (s) =
Then
g0 (t) = 2 cos 2t,
g1 (t) = 3 cos 3t
1
sin 3t,
3
and
g2 (t) = e3t (cos t 2 sin t).
Therefore (8.4.12) and the linearity of L1 imply that
1
h(t) = 2 cos 2t u(t /2) 3 cos 3(t /2) + sin 3 t
3
2
+u(t )e3(t) [cos(t ) 2 sin(t )] .
427
1
3
cos 3t
(8.4.13)
(Figure 8.4.5).
y
5
4
3
2
1
1
1
2
3
4
5
6
7
8.4 Exercises
In Exercises 16 find the Laplace transform by the method of Example 8.4.1. Then express the given
function f in terms of unit step functions as in Eqn. (8.4.6), and use Theorem 8.4.1 to find L(f). Where
indicated by C/G , graph f.
1.
3.
5.
f(t) =
1, 0 t < 4,
t,
f(t) =
f(t) =
t 4.
C/G f(t) =
(
2.
2t 1, 0 t < 2,
4.
t,
t 2.
t 1, 0 t < 2,
4,
t 2.
6.
t,
1, t 1.
C/G f(t) =
f(t) =
0 t < 1,
1,
0 t < 1,
t + 2, t 1.
t2 , 0 t < 1,
0,
t 1.
429
In Exercises 718 express the given function f in terms of unit step functions and use Theorem 8.4.1 to
find L(f). Where indicated by C/G , graph f.
7.
9.
11.
13.
15.
16.
17.
18.
f(t) =
f(t) =
0,
0 t < 2,
8.
f(t) =
t2 + 2, 0 t < 1,
f(t) =
t2 + 3t, t 2.
tet , 0 t < 1,
t
e,
t 1.
t, 0 t < 2,
t 4, 2 t < 3,
f(t) =
1,
t 3.
10.
12.
t,
t
2t
t 1.
, 0 t < 1,
, t 1.
0, 0 t < 1,
t, 1 t < 2,
f(t) =
0, t 2.
t, 0 t < 1,
t,
0 t < 1,
f(t) =
t2 , 1 t < 2,
14. f(t) =
2 t, 1 t < 2,
0, t 2.
6,
t > 2.
sin t, 0 t < ,
C/G f(t) =
2
sin
t,
t
<
,
cos t, t .
2,
0 t < 1,
C/G f(t) =
2t + 2, 1 t < 3,
3t,
t 3.
3,
0 t < 2,
C/G f(t) =
3t + 2, 2 t < 4,
4t,
t 4.
(
2
(t + 1) , 0 t < 1,
C/G f(t) =
(t + 2)2 , t 1.
In Exercises 1928 use Theorem 8.4.2 to express the inverse transforms in terms of step functions, and
then find distinct formulas the for inverse transforms on the appropriate intervals, as in Example 8.4.7.
Where indicated by C/G , graph the inverse transform.
2s
19.
21.
22.
H(s) =
e
s2
20.
H(s) =
es
s(s + 1)
es
e2s
+ 2
3
s
s
2
1
3
1
1
1
C/G H(s) =
+ 2 + es
2 + e3s
+ 2
s s
s s
s s
C/G H(s) =
H(s) =
5
1
s s2
+ e3s
6
7
+
s s2
3e6s
s3
es (1 2s)
s2 + 4s + 5
1
3s 1
s
s
2
C/G H(s) =
+e
s s2 + 1
s2 + 1
3(s 3)
s+1
2s
H(s) = e
(s + 1)(s 2) (s 1)(s 2)
1
1
3
2
4
3
s
3s
H(s) = + 2 + e
+
+e
+
s s
s s2
s s2
2
3
1
e4s
1
3 + 2
H(s) = 3 + e2s
s s
s s
s
H(s) =
Let {tm }
m=0 be a sequence of points such that t0 = 0, tm+1 > tm , and limm tm = . For
each nonnegative integer m, let fm be continuous on [tm , ), and let f be defined on [0, ) by
f(t) = fm (t), tm t < tm+1
(m = 0, 1, . . . ).
Show that f is piecewise continuous on [0, ) and that it has the step function representation
f(t) = f0 (t) +
m=1
31.
How do we know that the series on the right converges for all t in [0, )?
etm
(A)
(B)
m=0
converges for some > 0. Using the steps listed below, show that L(f) is defined for s > s0 and
L(f) = L(f0 ) +
m=1
estm L(gm )
(C)
Z
X
m=0
tm+1
tm
est fm (t) dt
(D)
Section 8.5 Constant Coeefficient Equations with Piecewise Continuous Forcing Functions
431
m=0
st
tm
fm (t) dt
st
fm (t) dt .
tm+1
(E)
(c) Use (A), the assumed convergence of (B), and the comparison test to show that the series
Z
X
m=0
est fm (t) dt
and
tm
Z
X
m=0
est fm (t) dt
tm+1
Z
X
m=1
tm
if s > s0 + .
(e) Complete the proof of (C).
32.
Suppose {tm }
m=0 and {fm }m=0 satisfy the assumptions of Exercises 30 and 31, and theres a
positive constant K such that tm Km for m sufficiently large. Show that the series (B) of
Exercise 31 converges for any > 0, and conclude from this that (C) of Exercise 31 holds for
s > s0 .
In Exercises 3336 find the step function representation of f and use the result of Exercise 32 to find
L(f). H INT: You will need formulas related to the formula for the sum of a geometric series.
33.
34.
35.
36.
f(t) = m + 1, m t < m + 1 (m = 0, 1, 2, . . . )
y(0) = k0 ,
y0 (0) = k1 ,
(8.5.1)
where a, b, and c are constants (a 6= 0) and f is piecewise continuous on [0, ). Problems of this kind
occur in situations where the input to a physical system undergoes instantaneous changes, as when a
switch is turned on or off or the forces acting on the system change abruptly.
It can be shown (Exercises 23 and 24) that the differential equation in (8.5.1) has no solutions on an
open interval that contains a jump discontinuity of f. Therefore we must define what we mean by a
solution of (8.5.1) on [0, ) in the case where f has jump discontinuities. The next theorem motivates
our definition. We omit the proof.
(c) y00 is defined on every open subinterval of [0, ) that does not contain any of the points t1 , . . . , tn ,
and
ay00 + by0 + cy = f(t)
on every such subinterval.
y(0) = k0 ,
y0 (0) = k1 .
y(t1 ) = c0 ,
y0 (t1 ) = c1 .
y0 (t),
y1 (t),
0 t < t1
t t1 .
It is shown in Exercise 23 that y0 exists and is continuous at t1 . The next example illustrates this
procedure.
Example 8.5.1 Solve the initial value problem
y00 + y = f(t),
where
y(0) = 2, y0 (0) = 1,
1, 0 t < ,
2
f(t) =
1, t .
2
(8.5.3)
Section 8.5 Constant Coeefficient Equations with Piecewise Continuous Forcing Functions
433
y(0) = 2,
y0 (0) = 1.
y1 = 1 + cos t + sin t.
Hence, the solution of (8.5.3) is
(8.5.4)
(Figure:8.5.1).
If f0 and f1 are defined on [0, ), we can rewrite (8.5.2) as
y(0) = k0 ,
y0 (0) = k1 ,
and apply the method of Laplace transforms. Well now solve the problem considered in Example 8.5.1
by this method.
Solution Here
y(0) = 2, y0 (0) = 1,
(8.5.5)
1, 0 t < ,
2
f(t) =
1, t .
2
f(t) = 1 2u t
,
2
so Theorem 8.4.1 (with g(t) = 1) implies that
L(f) =
1 2es/2
.
s
1 2es/2
1 + 2s,
s
so
Y (s) = (1 2es/2 )G(s) +
with
G(s) =
2s 1
,
s2 + 1
(8.5.6)
1
.
s(s2 + 1)
(8.5.7)
Section 8.5 Constant Coeefficient Equations with Piecewise Continuous Forcing Functions
or
435
R EMARK: It isnt obvious that using the Laplace transform to solve (8.5.2) as we did in Example 8.5.2
yields a function y with the properties stated in Theorem 8.5.1; that is, such that y and y0 are continuous
on [0, ) and y00 has limits from the right and left at t1 . However, this is true if f0 and f1 are continuous
and of exponential order on [0, ). A proof is sketched in Exercises 8.6.118.6.13.
Example 8.5.3 Solve the initial value problem
y00 y = f(t),
where
f(t) =
y(0) = 1, y0 (0) = 2,
(8.5.8)
t, 0 t < 1,
1, t 1.
Solution Here
f(t) = t u(t 1)(t 1),
so
L(f)
=
=
.
s2
s2
=
Since transforming (8.5.8) yields
2s
,
s2 1
1
1
1
= 2
;
s2 (s2 1)
s 1 s2
h(t) = sinh t t.
Since
L
(8.5.9)
2s
s2 1
(8.5.10)
= 2 sinh t cosh t,
00
(8.5.11)
We leave it to you to verify that y and y are continuous and y has limits from the right and left at t1 = 1.
y(0) = 0, y0 (0) = 0,
(8.5.12)
0t< ,
4
f(t) =
cos
2t,
t
<
,
0,
t .
Solution Here
0,
so
L(f)
=
=
2es/4
ses
.
s2 + 4
s2 + 4
we see that
(8.5.13)
where
s
2
and H2 (s) = 2
.
(s2 + 1)(s2 + 4)
(s + 1)(s2 + 4)
To simplify the required partial fraction expansions, we first write
1
1
1
1
=
.
(x + 1)(x + 4)
3 x+1 x+4
H1 (s) =
(8.5.14)
and H2 (s) =
.
3 s2 + 1 s2 + 4
3 s2 + 1 s2 + 4
The inverse transforms are
2
1
h1 (t) = sin t + sin 2t
3
3
1
1
and h2 (t) = cos t + cos 2t.
3
3
h1 t
=
4
=
2
1
sin t
+ sin 2 t
3
4
3
4
2
1
(8.5.15)
Section 8.5 Constant Coeefficient Equations with Piecewise Continuous Forcing Functions
437
1.0
0.5
0.5
1.0
1
1
cos(t ) + cos 2(t )
3
3
1
1
cos t + cos 2t,
3
3
0,
0t<
,
4
2
1
2 sin t + 1 + 2 cos t,
t .
3
3
We leave it to you to verify that y and y0 are continuous and y00 has limits from the right and left at
t1 = /4 and t2 = (Figure 8.5.2).
y=
8.5 Exercises
In Exercises 120 use the Laplace transform to solve the initial value problem. Where indicated by
C/G , graph the solution.
1.
y +y =
2.
y00 + y =
3.
y00 2y0 =
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
17.
00
00
3, 0 t < ,
0, t ,
3,
0 t < 4,
; 2t 5, t > 4,
(
4, 0 t < 1,
6, t 1,
e2t , 0 t < 2,
y(0) = 0,
y0 (0) = 0
y(0) = 1,
y(0) = 6,
y0 (0) = 0
y0 (0) = 1
y(0) = 3, y0 (0) = 1
t 2,
0, 0 t < 1,
y00 3y0 + 2y =
1, 1 t < 2,
y(0) = 3, y0 (0) = 1
1, t 2,
(
| sin t|, 0 t < 2,
C/G y00 + 4y =
y(0) = 3, y0 (0) = 1
0,
t 2,
1, 0 t < 1
00
0
1, 1 t < 2,
y 5y + 4y =
y(0) = 3, y0 (0) = 5
0, t 2,
cos t, 0 t <
,
00
2
y + 9y =
y(0) = 0, y0 (0) = 0
sin t, t 3 ,
2
t, 0 t < ,
00
2
C/G y + 4y =
y(0) = 0, y0 (0) = 0
, t ,
2
(
t, 0 t < ,
y00 + y =
y(0) = 0, y0 (0) = 0
t, t ,
0,
0 t < 2,
00
0
y 3y + 2y =
, y(0) = 0, y0 (0) = 0
2t 4, t 2,
t,
0 t < 2,
y00 + y =
y(0) = 1, y0 (0) = 2
2t, t 2,
1, 0 t < 2,
C/G y00 + 3y0 + 2y =
y(0) = 0, y0 (0) = 0
1, t 2,
1, 0 t < 1,
y00 4y0 + 3y =
y(0) = 0, y0 (0) = 0
1, t 1,
et ,
0 t < 1,
00
0
y + 2y + y =
y(0) = 3, y0 (0) = 1
t
e 1, t 1,
t
4e , 0 t < 1,
00
0
y + 2y + y =
y(0) = 0, y0 (0) = 0
0, t 1,
t
e , 0 t < 1,
00
0
y + 3y + 2y =
y(0) = 1, y0 (0) = 1
0, t 1,
y y =
1,
Section 8.5 Constant Coeefficient Equations with Piecewise Continuous Forcing Functions
18.
19.
20.
21.
439
e2t , 0 t < 2,
y00 4y0 + 4y =
y(0) = 0, y0 (0) = 1
e2t , t 2,
2
0 t < 1,
t ,
C/G y00 =
t, 1 t < 2, y(0) = 1, y0 (0) = 0
t + 1, t 2,
1, 0 t < 2,
t, 2 t < 3, y(0) = 2, y0 (0) = 1
y00 + 2y0 + 2y =
1, t 3,
y00 = f(t),
y(0) = 0,
y0 (0) = 0,
where
f(t) = m + 1,
22.
m t < m + 1,
m = 0, 1, 2, . . . .
Solve the given initial value problem and find a formula that does not involve step functions and
represents y on each interval of continuity of f.
(a) y00 + y = f(t), y(0) = 0, y0 (0) = 0;
f(t) = m + 1, m t < (m + 1), m = 0, 1, 2, . . . .
(b) y00 + y = f(t), y(0) = 0, y0 (0) = 0;
f(t) = (m + 1)t, 2m t < 2(m + 1), m = 0, 1, 2, . . . H INT: Youll need the
formula
m(m + 1)
1+ 2++m =
.
2
(c) y00 + y = f(t), y(0) = 0, y0 (0) = 0;
f(t) = (1)m , m t < (m + 1), m = 0, 1, 2, . . . .
(d) y00 y = f(t), y(0) = 0, y0 (0) = 0;
f(t) = m + 1, m t < (m + 1), m = 0, 1, 2, . . ..
H INT: You will need the formula
1 + r + + rm =
1 r m+1
(r 6= 1).
1r
m = 0, 1, 2, . . ..
(A)
f(t0 +) f(t0 )
6= 0.
a
(b) Use (a) and Exercise 23(c) to show that (A) does not have solutions on any interval (, )
that contains a jump discontinuity of f.
25.
Suppose P0 , P1 , and P2 are continuous and P0 has no zeros on an open interval (a, b), and that F
has a jump discontinuity at a point t0 in (a, b). Show that the differential equation
P0 (t)y00 + P1 (t)y0 + P2 (t)y = F (t)
has no solutions on (a, b).H INT: Generalize the result of Exercise 24 and use Exercise 23(c).
26.
y(0) = k0 ,
z0 (t),
z0 (t) + z1 (t),
y=
z0 + + zn1 (t),
z0 + + zn (t),
y0 (0) = k1 ,
0 t < t1 ,
t1 t < t 2 ,
..
.
tn1 t < tn ,
t tn ,
az 00 + bz 0 + cz = f0 (t),
z(0) = k0 ,
z 0 (0) = k1
8.6 CONVOLUTION
z(tm ) = 0,
z 0 (tm ) = 0
441
In this section we consider the problem of finding the inverse Laplace transform of a product H(s) =
F (s)G(s), where F and G are the Laplace transforms of known functions f and g. To motivate our
interest in this problem, consider the initial value problem
ay00 + by0 + cy = f(t),
y(0) = 0,
y0 (0) = 0.
(8.6.1)
where
1
.
+ bs + c
Until now went been interested in the factorization indicated in (8.6.1), since we dealt only with differential equations with specific forcing functions. Hence, we could simply do the indicated multiplication
in (8.6.1) and use the table of Laplace transforms to find y = L1 (Y ). However, this isnt possible if we
want a formula for y in terms of f, which may be unspecified.
To motivate the formula for L1 (F G), consider the initial value problem
G(s) =
as2
y0 ay = f(t),
y(0) = 0,
(8.6.2)
which we first solve without using the Laplace transform. The solution of the differential equation in
(8.6.2) is of the form y = ueat where
u0 = eat f(t).
Integrating this from 0 to t and imposing the initial condition u(0) = y(0) = 0 yields
Z t
u=
ea f( ) d.
0
Therefore
y(t) = eat
ea f( ) d =
ea(t) f( ) d.
(8.6.3)
Now well use the Laplace transform to solve (8.6.2) and compare the result to (8.6.3). Taking Laplace
transforms in (8.6.2) yields
(s a)Y (s) = F (s),
so
Y (s) = F (s)
which implies that
1
,
sa
1
y(t) = L1 F (s)
.
sa
G(s) =
1
,
sa
t
0
f( )g(t ) d
(8.6.4)
f( )g(t ) d
(8.6.5)
Eqn. (8.6.5) shows that L1 (F G) = f g in the special case where g(t) = eat . This next theorem
states that this is true in general.
Theorem 8.6.2 [The Convolution Theorem] If L(f) = F and L(g) = G, then
L(f g) = F G.
A complete proof of the convolution theorem is beyond the scope of this book. However, well assume
that f g has a Laplace transform and verify the conclusion of the theorem in a purely computational
way. By the definition of the Laplace transform,
Z
Z
Z t
L(f g) =
est (f g)(t) dt =
est
f( )g(t ) d dt.
0
This iterated integral equals a double integral over the region shown in Figure 8.6.1. Reversing the order
of integration yields
Z
Z
L(f g) =
est g(t ) dt d.
f( )
es(x+) g(x) dx
0
Z
s
e
esx g(x) dx = es G(s).
0
Substituting this into (8.6.6) and noting that G(s) is independent of yields
Z
L(f g) =
es f( )G(s) d
0
Z
= G(s)
est f( ) d = F (s)G(s).
0
(8.6.6)
t=
Figure 8.6.1
Example 8.6.1 Let
f(t) = eat
and
g(t) = ebt
(a 6= b).
e e
=
=
Since
eat
it follows that
L(f g)
a b(t)
t
e(ab)
a b 0
at
e ebt
.
ab
ebt
1
sa
and
=
=
ebt
bt
e(ab) d
0
ebt e(ab)t 1
ab
1
,
sb
1
1
1
ab sa sb
1
(s a)(s b)
443
y(0) = k0 ,
y0 (0) = k1 .
(8.6.7)
k1 + k0 s 2k0
1
F (s) +
2
(s 1)
(s 1)2
1
k0
k1 k0
F (s) +
+
.
2
(s 1)
s 1 (s 1)2
1
tet
(s 1)2
and
F (s) f(t),
e f(t ) d.
Example 8.6.3 Find a formula for the solution of the initial value problem
y00 + 4y = f(t),
y(0) = k0 ,
y0 (0) = k1 .
(s2
1
k1 + k0 s
F (s) + 2
.
+ 4)
s +4
(8.6.8)
1
1
sin 2t and
(s2 + 4)
2
445
F (s) f(t),
t
0
f(t ) sin 2 d.
Example 8.6.4 Find a formula for the solution of the initial value problem
y00 + 2y0 + 2y = f(t),
y(0) = k0 ,
y0 (0) = k1 .
(8.6.9)
1
k1 + k0 s + 2k0
F (s) +
2
(s + 1) + 1
(s + 1)2 + 1
(k1 + k0 ) + k0 (s + 1)
1
F (s) +
.
2
(s + 1) + 1
(s + 1)2 + 1
1
et sin t
(s + 1)2 + 1
F (s) f(t),
and
t
0
f(t )e sin d.
(8.6.10)
h(t) =
(t )5 7 d.
Solution We could evaluate this integral by expanding (t )5 in powers of and then integrating.
However, the convolution theorem provides an easier way. The integral is the convolution of f(t) = t5
and g(t) = t7 . Since
5!
7!
t5 6 and t7 8 ,
s
s
the convolution theorem implies that
h(t)
5!7!
5!7! 13!
=
,
14
s
13! s14
5!7! 13
t .
13!
Example 8.6.6 Use the convolution theorem and a partial fraction expansion to evaluate the convolution
integral
Z t
h(t) =
sin a(t ) cos b d (|a| =
6 |b|).
0
Solution Since
sin at
s2
a
+ a2
and
cos bt
s2
s
,
+ b2
a
s
.
s2 + a2 s2 + b2
a
(cos at cos bt) .
b 2 a2
k(t )y( ) d
(8.6.11)
447
is a Volterra integral equation. Here f and k are given functions and y is unknown. Since the integral
on the right is a convolution integral, the convolution theorem provides a convenient formula for solving
(8.6.11). Taking Laplace transforms in (8.6.11) yields
Y (s) = F (s) + K(s)Y (s),
and solving this for Y (s) yields
Y (s) =
F (s)
.
1 K(s)
e2(t)y( ) d.
(8.6.12)
1
2
+
Y (s),
s s+2
1
2
+ 2.
s s
Hence,
y(t) = 1 + 2t.
Transfer Functions
The next theorem presents a formula for the solution of the general initial value problem
ay00 + by0 + cy = f(t),
y(0) = k0 ,
y0 (0) = k1 ,
where we assume for simplicity that f is continuous on [0, ) and that L(f) exists. In Exercises 1114
its shown that the formula is valid under much weaker conditions on f.
Theorem 8.6.3 Suppose f is continuous on [0, ) and has a Laplace transform. Then the solution of the
initial value problem
ay00 + by0 + cy = f(t), y(0) = k0 , y0 (0) = k1 ,
(8.6.13)
is
y(t) = k0 y1 (t) + k1 y2 (t) +
w( )f(t ) d,
(8.6.14)
y1 (0) = 1,
y10 (0) = 0,
(8.6.15)
y2 (0) = 0,
y20 (0) = 1,
(8.6.16)
and
and
w(t) =
1
y2 (t).
a
(8.6.17)
where
p(s) = as2 + bs + c.
Hence,
Y (s) = W (s)F (s) + V (s)
with
1
p(s)
(8.6.19)
a(k1 + k0 s) + bk0
.
p(s)
(8.6.20)
W (s) =
and
V (s) =
(8.6.18)
Therefore
Y1 (s) =
as + b
p(s)
Y2 (s) =
a
.
p(s)
and
(8.6.21)
depends on the forcing function and is independent of the initial conditions. If the zeros of the characteristic polynomial
p(s) = as2 + bs + c
of the complementary equation have negative real parts, then y1 and y2 both approach zero as t ,
so limt v(t) = 0 for any choice of initial conditions. Moreover, the value of h(t) is essentially
449
independent of the values of f(t ) for large , since lim w( ) = 0. In this case we say that v and
h are transient and steady state components, respectively, of the solution y of (8.6.13). These definitions
apply to the initial value problem of Example 8.6.4, where the zeros of
p(s) = s2 + 2s + 2 = (s + 1)2 + 1
are 1 i. From (8.6.10), we see that the solution of the general initial value problem of Example 8.6.4
is y = v + h, where
v(t) = et ((k1 + k0 ) sin t + k0 cos t)
is the transient component of the solution and
Z t
h(t) =
f(t )e sin d
0
is the steady state component. The definitions dont apply to the initial value problems considered in
Examples 8.6.2 and 8.6.3, since the zeros of the characteristic polynomials in these two examples dont
have negative real parts.
In physical applications where the input f and the output y of a device are related by (8.6.13), the
zeros of the characteristic polynomial usually do have negative real parts. Then W = L(w) is called the
transfer function of the device. Since
H(s) = W (s)F (s),
we see that
W (s) =
H(s)
F (s)
is the ratio of the transform of the steady state output to the transform of the input.
Because of the form of
Z t
h(t) =
w( )f(t ) d,
0
w is sometimes called the weighting function of the device, since it assigns weights to past values of the
input f. It is also called the impulse response of the device, for reasons discussed in the next section.
Formula (8.6.14) is given in more detail in Exercises 810 for the three possible cases where the zeros
of p(s) are real and distinct, real and repeated, or complex conjugates, respectively.
8.6 Exercises
1.
s
(s + 2)(s2 + 9)
s
(d) 2
(s + 1)2
1
(f)
2
(s + 1)(s + 2s + 2)
1
(h)
3
(s 1) (s + 2)2
(b)
s(s + 3)
(s2 + 4)(s2 + 6s + 10)
1
(l)
3
(s 1) (s2 + 4)
1
(n) 7
s (s 2)6
(i)
2.
(c)
(e) et
(g) et
(i)
(k)
(m)
(t ) sin cos (t ) d
(h) et
e cos (t ) d
t
0
2 (t )e d
(j)
(l)
0
Z t
(n)
e2 sinh(t ) d
(t )3 e d
(t )7 e sin 2 d
2 (t )3 d
(t )4 sin 2 d
y0 (0) = 0
y0 (0) = 1
y(0) = 0,
y(0) = 0,
y0 (0) = 0
y(0) = 0,
y(0) = 1,
y0 (0) = 0
y(0) = 0,
y(0) = 0,
4.
(f) et
e2 sin 2(t ) d
(d)
sin cos (t ) d
e sin a(t ) d
(b)
3.
(j)
y0 (0) = 2
y0 (0) = 3
y(0) = 1,
y(0) = k0 ,
y0 (0) = 3
y0 (0) = k1
0
t
cos(t )y( ) d
y( ) cos(t ) d
(d) y(t) = t +
y( ) cos(t ) d, y(0) = 4
y( )e(t) d
y( ) sin(t ) d
0
t
(e)
6 7
(t ) d
(d)
e sin(t ) d
6.
Show that
Z
f(t )g( ) d =
f( )g(t ) d
7.
8.
Show that if p(s) = as2 + bs + c has distinct real zeros r1 and r2 then the solution of
ay00 + by0 + cy = f(t),
y(0) = k0 ,
y0 (0) = k1
is
y(t)
9.
r2 er1 t r1 er2 t
er2 t er1 t
+ k1
r2 r1
r2 r1
Z t
1
+
(er2 er1 )f(t ) d.
a(r2 r1 ) 0
k0
Show that if p(s) = as2 + bs + c has a repeated real zero r1 then the solution of
ay00 + by0 + cy = f(t),
y(0) = k0 ,
is
y(t) = k0 (1 r1 t)er1 t + k1 ter1 t +
10.
1
a
y0 (0) = k1
er1 f(t ) d.
Show that if p(s) = as2 + bs + c has complex conjugate zeros i then the solution of
ay00 + by0 + cy = f(t),
y(0) = k0 ,
y0 (0) = k1
is
y(t)
k1
e
k0 (cos t sin t) +
sin t
Z t
1
+
et f(t ) sin d.
a 0
t
451
Let
w = L1
where a, b, and c are constants and a 6= 0.
1
2
as + bs + c
aw 00 + bw 0 + cw = 0,
w 0 (0) =
w(0) = 0,
1
.
a
Use Leibnizs rule for differentiating an integral with respect to a parameter to show that h is
the solution of
ah00 + bh0 + ch = f, h(0) = 0, h0 (0) = 0.
12.
(c) Show that the function y in Eqn. (8.6.14) is the solution of Eqn. (8.6.13) provided that f is
continuous on [0, ); thus, its not necessary to assume that f has a Laplace transform.
y(0) = 0,
y0 (0) = 0,
(A)
f0 (t), 0 t < t1 ,
f1 (t),
t t1 .
Assume that f0 is continuous and of exponential order on [0, ) and f1 is continuous and of
exponential order on [t1 , ). Let
p(s) = as2 + bs + c.
(a) Show that the Laplace transform of the solution of (A) is
Y (s) =
where g(t) = f1 (t + t1 ) f0 (t + t1 ).
(b) Let w be as in Exercise 11. Use Theorem 8.4.2 and the convolution theorem to show that the
solution of (A) is
Z t
Z tt1
y(t) =
w(t )f0 ( ) d + u(t t1 )
w(t t1 )g( ) d
0
for t > 0.
(c) Henceforth, assume only that f0 is continuous on [0, ) and f1 is continuous on [t1 , ).
Use Exercise 11 (a) and (b) to show that
Z t
Z tt1
y0 (t) =
w 0 (t )f0 ( ) d + u(t t1 )
w 0 (t t1 )g( ) d
0
453
13.
f(t)
+
a
w 00 (t )f0 ( ) d + u(t t1 )
tt1
w 00 (t t1 )g( ) d
for 0 < t < t1 and t > t1 . Also, show y satisfies the differential equation in (A) on(0, t1)
and (t1 , ).
(d) Show that y and y0 are continuous on [0, ).
Suppose
f(t) =
f0 (t),
f1 (t),
fk1 (t),
fk (t),
0 t < t1 ,
t1 t < t 2 ,
..
.
tk1 t < tk ,
t tk ,
w(t )f0 ( ) d +
14.
k
X
m=1
y0 (0) = 0
y(0) = 0,
u(t tm )
ttm
w(t tm )gm ( ) d.
Let {tm }
m=0 be a sequence of points such that t0 = 0, tm+1 > tm , and limm tm = . For
each nonegative integer m let fm be continuous on [tm , ), and let f be defined on [0, ) by
f(t) = fm (t),
tm t < tm+1
m = 0, 1, 2 . . . .
Let
gm (t) = fm (t + tm ) fm1 (t + tm ),
m = 1, . . . , k.
w(t )f0 ( ) d +
m=1
y(0) = 0,
u(t tm )
y0 (0) = 0
ttm
0
w(t tm )gm ( ) d.
From calculus we know that no function can have these properties; nevertheless, theres a branch of
mathematics known as the theory of distributions where the definition can be made rigorous. Since the
theory of distributions is beyond the scope of this book, well take an intuitive approach to impulse
functions.
Our first task is to define what we mean by the solution of the initial value problem
ay00 + by0 + cy = (t t0 ),
y(0) = 0,
y0 (0) = 0,
where t0 is a fixed nonnegative number. The next theorem will motivate our definition.
Theorem 8.7.1 Suppose t0 0. For each positive number h, let yh be the solution of the initial value
problem
ayh00 + byh0 + cyh = fh (t), yh (0) = 0, yh0 (0) = 0,
(8.7.1)
where
fh (t) =
0,
0 t < t0 ,
1/h, t0 t < t0 + h,
0,
(8.7.2)
t t0 + h,
so fh has unit total impulse equal to the area of the shaded rectangle in Figure 8.7.1. Then
lim yh (t) = u(t t0 )w(t t0 ),
h0+
where
w=L
Proof
1
as2 + bs + c
so
Yh (s) =
Fh (s)
.
as2 + bs + c
w(t )fh ( ) d.
(8.7.3)
455
1/h
t +h
yh (t) =
0,
1
h
Z
0 t < t0 ,
w(t ) d,
t0 t t0 + h,
t0
t0 +h
(8.7.4)
w(t ) d , t > t0 + h.
t0
h0+
if
0 t t0 .
(8.7.5)
h0+
1
w(t t0 ) = w(t t0 )
h
if
t > t0 .
(8.7.6)
if
h < t t0 .
(8.7.7)
t0 +h
d = 1,
(8.7.8)
t0
t0 +h
t0
1
d =
h
t0+h
t0
w(t t0 ) d.
1
h
t0 +h
Therefore
|yh (t) w(t t0 )|
1
h
(w(t ) w(t t0 )) d.
t0
t0 +h
|w(t ) w(t t0 )| d.
t0
(8.7.9)
Now let Mh be the maximum value of |w(t ) w(t t0 )| as varies over the interval [t0 , t0 + h].
(Remember that t and t0 are fixed.) Then (8.7.8) and (8.7.9) imply that
Z t0+h
1
d = Mh .
(8.7.10)
|yh (t) w(t t0 )| Mh
h
t0
But limh0+ Mh = 0, since w is continuous. Therefore (8.7.10) implies (8.7.6). This and (8.7.5) imply
(8.7.3).
Theorem 8.7.1 motivates the next definition.
Definition 8.7.2 If t0 > 0, then the solution of the initial value problem
ay00 + by0 + cy = (t t0 ),
y(0) = 0,
y0 (0) = 0,
(8.7.11)
is defined to be
y = u(t t0 )w(t t0 ),
where
w = L1
1
2
as + bs + c
In physical applications where the input f and the output y of a device are related by the differential
equation
ay00 + by0 + cy = f(t),
w is called the impulse response of the device. Note that w is the solution of the initial value problem
aw 00 + bw 0 + cw = 0,
w(0) = 0,
w 0 (0) = 1/a,
(8.7.12)
as can be seen by using the Laplace transform to solve this problem. (Verify.) On the other hand, we can
solve (8.7.12) by the methods of Section 5.2 and show that w is defined on (, ) by
w=
er2 t er1 t
,
a(r2 r1 )
w=
1 r1 t
te ,
a
or
w=
1 t
e sin t,
a
(8.7.13)
depending upon whether the polynomial p(r) = ar 2 + br + c has distinct real zeros r1 and r2 , a repeated
zero r1 , or complex conjugate zeros i. (In most physical applications, the zeros of the characteristic
polynomial have negative real parts, so limt w(t) = 0.) This means that y = u(t t0 )w(t t0 ) is
defined on (, ) and has the following properties:
y(t) = 0,
ay00 + by0 + cy = 0 on
t < t0 ,
(, t0 )
and
(t0 , ),
and
0
y
(t0 ) = 0,
0
y+
(t0 ) = 1/a
(8.7.14)
457
y(0) = 0,
0
y
(0) = 0,
where the condition on the derivative at t = 0 has been replaced by a condition on the derivative from the
left.
Figure 8.7.2 illustrates Theorem 8.7.1 for the case where the impulse response w is the first expression
in (8.7.13) and r1 and r2 are distinct and both negative. The solid curve in the figure is the graph of w.
The dashed curves are solutions of (8.7.1) for various values of h. As h decreases the graph of yh moves
to the left toward the graph of w.
Example 8.7.1 Find the solution of the initial value problem
y00 2y0 + y = (t t0 ),
y(0) = 0,
y0 (0) = 0,
where t0 > 0. Then interpret the solution for the case where t0 = 0.
Solution Here
w=L
1
2
s 2s + 1
=L
1
(s 1)2
= tet ,
(8.7.15)
0.4
0.3
0.2
0.1
t +1
0
t +2
0
t +3
0
t +4
t +5
t +6
0
t +7
as the solution of (8.7.15) if t0 > 0. If t0 = 0, then (8.7.15) doesnt have a solution; however, y =
u(t)tet (which we would usually write simply as y = tet ) is the solution of the modified initial value
problem
0
y00 2y0 + y = (t), y(0) = 0, y
(0) = 0.
The graph of y = u(t t0 )(t t0 )e(tt0) is shown in Figure 8.7.3
Definition 8.7.2 and the principle of superposition motivate the next definition.
Definition 8.7.3 Suppose is a nonzero constant and f is piecewise continuous on [0, ). If t0 > 0,
then the solution of the initial value problem
ay00 + by0 + cy = f(t) + (t t0 ),
y(0) = k0 ,
y0 (0) = k1
is defined to be
where y is the solution of
y(0) = k0 ,
y0 (0) = k1 .
This definition also applies if t0 = 0, provided that the initial condition y0 (0) = k1 is replaced by
0
y
(0) = k1 .
Example 8.7.2 Solve the initial value problem
y00 + 6y0 + 5y = 3e2t + 2(t 1),
y(0) = 3,
y0 (0) = 2.
(8.7.16)
459
=
=
y(0) = 3, y0 (0) = 2
1
y = e2t + e5t
2
1
=
L1
2 + 6s + 5
s
1 1
1
1
L
=
4
s+1 s+5
5 t
e .
2
1
L
1
(s + 1)(s + 5)
et e5t
,
4
1
5
e(t1) e5(t1)
y = e2t + e5t et + u(t 1)
2
2
2
(8.7.17)
(Figure 8.7.4)
y
y
1
t5
t=
t = 2
3
1
2
t=1
2
1
10
11
1
2
3
3
Definition 8.7.3 can be extended in the obvious way to cover the case where the forcing function
contains more than one impulse.
Example 8.7.3 Solve the initial value problem
y00 + y = 1 + 2(t ) 3(t 2),
y(0) = 1, y0 (0) = 2.
y(0) = 1,
Since
w=L
1
2
s +1
y0 (0) = 2.
= sin t,
(8.7.18)
12
13
or
(Figure 8.7.5).
=
=
1 2 cos t,
t < 2,
y=
1 2 cos t 3 sin t, t 2
(8.7.19)
8.7 Exercises
In Exercises 120 solve the initial value problem. Where indicated by C/G , graph the solution.
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
17.
18.
19.
20.
y0 (0) = 1
y0 (0) = 4
y(0) = 1,
y0 (0) = 0
y(0) = 8,
y(0) = 0,
y0 (0) = 2
y(0) = 1,
y0 (0) = 1
y0 (0) = 2
y(0) = 1,
y0 (0) = 2
y0 (0) = 2
y(0) = 1,
y0 (0) = 2
y(0) = 1,
y0 (0) = 1, and
y00 4y = 3(t),
y(0) = 1,
y(0) = 1,
y0 (0) = 1
y0 (0) = 0
y0 (0) = 1
y0 (0) = 1, and
0
y
(0) = 2
y(0) = 1,
y(0) = 0,
y(0) = 0,
y(0) = 1,
y0 (0) = 1
y(0) = 0,
22.
25.
y(0) = 1,
y(0) = 1,
y00 + y = (t),
24.
y0 (0) = 1
y0 (0) = 1
y(0) = 1,
21.
23.
y0 (0) = 2
y(0) = 0,
y0 (0) = 9
y(0) = 7,
y(0) = 1,
y00 + 4y = 4 + (t 3),
y0 (0) = 6
y(0) = 2,
0
y
(0) = 7
y(0) = 0,
y(0) = 1,
y(0) = 1,
0
y
(0) = 0
0
y
(0) = 5
0
y
(0) = 6
0,
0 t < t0 ,
0,
t t0 + h,
yh (0) = 0,
yh0 (0) = 0,
461
1
2
as + bs + c
and verify Theorem 8.7.1 by graphing w and yh on the same axes, for small positive values of h.
26.
27.
28.
29.
y0 (0) = 0
y(0) = 0,
y(0) = 0,
y0 (0) = 0
y(0) = 0,
y0 (0) = 0
Recall from Section 6.2 that the displacement of an object of mass m in a springmass system in
free damped oscillation is
my00 + cy0 + ky = 0,
y(0) = y0 ,
y0 (0) = v0 ,
Solve the initial value problem. Find a formula that does not involve step functions and represents
y on each subinterval of [0, ) on which the forcing function is zero.
X
(a) y00 y =
(t k), y(0) = 0, y0 (0) = 1
(b) y00 + y =
k=1
k=1
(t 2k),
k=1
k=1
y(0) = 0,
(t k),
(t k),
y0 (0) = 1
y(0) = 0,
y(0) = 0,
y0 (0) = 1
y0 (0) = 0
F (s)
1
s
(s > 0)
tn
n!
sn+1
(s > 0)
tp , p > 1
(p + 1)
s(p+1)
(s > 0)
eat
1
sa
(s > a)
tn eat
n!
(s a)n+1
(s > 0)
s
s2 + 2
(s > 0)
+ 2
(s > 0)
(n = integer > 0)
(n = integer > 0)
cos t
sin t
et cos t
et sin t
cosh bt
sinh bt
t cos t
s2
s
(s )2 + 2
(s )2 + 2
(s > )
(s > )
s2
s
b2
(s > |b|)
s2
b
b2
(s > |b|)
s2 2
(s2 + 2 )2
(s > 0)
463
(s2
2s
+ 2 )2
(s > 0)
(s2
23
+ 2 )2
(s > 0)
3
s2 (s2 + 2 )2
arctan
s
(1)k F (k)(s)
1 s
F
,
>0
es
s
es F (s)
(s > 0)
F (s a)
u(t )
(s > 0)
(s > 0)
f( )g(t ) d
(t a)
F (s) G(s)
eas
(s > 0)
CHAPTER 9
Linear Higher Order Equations
IN THIS CHAPTER we extend the results obtained in Chapter 5 for linear second order equations to
linear higher order equations.
SECTION 9.1 presents a theoretical introduction to linear higher order equations.
SECTION 9.2 discusses higher order constant coefficient homogeneous equations.
SECTION 9.3 presents the method of undetermined coefficients for higher order equations.
SECTION 9.4 extends the method of variation of parameters to higher order equations.
465
An nth order differential equation is said to be linear if it can be written in the form
y(n) + p1 (x)y(n1) + + pn (x)y = f(x).
(9.1.1)
We considered equations of this form with n = 1 in Section 2.1 and with n = 2 in Chapter 5. In this
chapter n is an arbitrary positive integer.
In this section we sketch the general theory of linear nth order equations. Since this theory has already
been discussed for n = 2 in Sections 5.1 and 5.3, well omit proofs.
For convenience, we consider linear differential equations written as
P0 (x)y(n) + P1 (x)y(n1) + + Pn (x)y = F (x),
(9.1.2)
which can be rewritten as (9.1.1) on any interval on which P0 has no zeros, with p1 = P1 /P0 , . . . ,
pn = Pn /P0 and f = F/P0 . For simplicity, throughout this chapter well abbreviate the left side of
(9.1.2) by Ly; that is,
Ly = P0 y(n) + P1 y(n1) + + Pn y.
We say that the equation Ly = F is normal on (a, b) if P0 , P1 , . . . , Pn and F are continuous on (a, b)
and P0 has no zeros on (a, b). If this is so then Ly = F can be written as (9.1.1) with p1 , . . . , pn and f
continuous on (a, b).
The next theorem is analogous to Theorem 5.3.1.
Theorem 9.1.1 Suppose Ly = F is normal on (a, b), let x0 be a point in (a, b), and let k0 , k1 , . . . , kn1
be arbitrary real numbers. Then the initial value problem
Ly = F,
y(x0 ) = k0 ,
y0 (x0 ) = k1 , . . . ,
(9.1.3)
467
(9.1.5)
is normal and has the solutions y1 = x , y2 = x , and y3 = 1/x on (, 0) and (0, ). Show that
{y1 , y2 , y3 } is linearly independent on (, 0) and (0, ). Then find the general solution of (9.1.5) on
(, 0) and (0, ).
Solution Suppose
c3
=0
(9.1.6)
x
on (0, ). We must show that c1 = c2 = c3 = 0. Differentiating (9.1.6) twice yields the system
c1 x 2 + c2 x 3 +
c3
x
c3
2c1 x + 3c2 x2 2
x
2c3
2c1 + 6c2 x + 3
x
c1 x 2 + c2 x 3 +
0.
(9.1.7)
=
=
=
0
0
0.
(9.1.8)
By solving this system directly, you can verify that it has only the trivial solution c1 = c2 = c3 =
0; however, for our purposes its more useful to recall from linear algebra that a homogeneous linear
system of n equations in n unknowns has only the trivial solution if its determinant is nonzero. Since the
determinant of (9.1.8) is
1 1
1 1 0
0
2 3 1 = 2 1 3 = 12,
2 6
2 2 4
0
it follows that (9.1.8) has only the trivial solution, so {y1 , y2 , y3 } is linearly independent on (0, ). Now
Theorem 9.1.2 implies that
c3
y = c1 x 2 + c2 x 3 +
x
is the general solution of (9.1.5) on (0, ). To see that this is also true on (, 0), assume that (9.1.6)
holds on (, 0). Setting x = 1 in (9.1.7) yields
c1 c2 c3
2c1 + 3c2 c3
2c1 6c2 2c3
=
=
=
0
0
0.
(9.1.9)
(9.1.10)
for all x. We must show that c1 = c2 = c3 = c4 = 0. Differentiating (9.1.10) three times yields the
system
c1 ex + c2 ex + c3 e2x + c4 e3x = 0
c1 ex c2 ex + 2c3 e2x 3c4 e3x = 0
(9.1.11)
c1 ex + c2 ex + 4c3 e2x + 9c4 e3x = 0
c1 ex c2 ex + 8c3 e2x 27c4 e3x = 0.
If (9.1.11) holds for all x, then it certainly holds for x = 0. Therefore
c1 + c2 + c3 + c4
c1 c2 + 2c3 3c4
c1 + c2 + 4c3 + 9c4
c1 c2 + 8c3 27c4
The determinant of this system is
1
1 1
1
1 1 2 3
=
1
1 4
9
1 1 8 27
=
=
=
=
0
0
0
0.
1
1
1 4
=
3
8
7 28
2 1 4
0 3
8 = 2
0 6 24
1
0
0
0
1
2
0
2
2 1
0 3
2 7
3
6
4
8
28
(9.1.12)
8
= 240,
24
so the system has only the trivial solution c1 = c2 = c3 = c4 = 0. Now Theorem 9.1.2 implies that
y = c1 ex + c2 ex + c3 e2x + c4 e3x
is the general solution of (9.1.9).
The Wronskian
We can use the method used in Examples 9.1.1 and 9.1.2 to test n solutions {y1 , y2 , . . . , yn } of any nth
order equation Ly = 0 for linear independence on an interval (a, b) on which the equation is normal.
Thus, if c1 , c2 ,. . . , cn are constants such that
c1 y1 + c2 y2 + + cn yn = 0,
a < x < b,
c1 y1
(n1)
(x) + c2 y2
(x)+
+cn yn (x) = 0
+cn yn0 (x) = 0
..
.
(n1)
+cn yn
(x) = 0
(9.1.13)
yn (x)
0
0
y1 (x)
y2 (x)
yn0 (x)
W (x) =
..
..
..
..
.
.
.
.
(n1)
(n1)
(n1)
y
(x) y2
(x) yn
(x)
1
469
We call this determinant the Wronskian of {y1 , y2 , . . . , yn }. If W (x) 6= 0 for some x in (a, b) then the
system (9.1.13) has only the trivial solution c1 = c2 = = cn = 0, and Theorem 9.1.2 implies that
y = c1 y1 + c2 y2 + + cn yn
is the general solution of Ly = 0 on (a, b).
The next theorem generalizes Theorem 5.1.4. The proof is sketched in (Exercises 1720).
Theorem 9.1.3 Suppose the homogeneous linear nth order equation
P0 (x)y(n) + P1 (x)yn1 + + Pn (x)y = 0
(9.1.14)
is normal on (a, b), let y1 , y2 , . . . , yn be solutions of (9.1.14) on (a, b), and let x0 be in (a, b). Then the
Wronskian of {y1 , y2 , . . . , yn } is given by
Z x
P1 (t)
dt , a < x < b.
W (x) = W (x0 ) exp
(9.1.15)
x0 P0 (t)
Therefore, either W has no zeros in (a, b) or W 0 on (a, b).
Formula (9.1.15) is Abels formula.
The next theorem is analogous to Theorem 5.1.6..
Theorem 9.1.4 Suppose Ly = 0 is normal on (a, b) and let y1 , y2 , . . . , yn be n solutions of Ly = 0 on
(a, b). Then the following statements are equivalent; that is, they are either all true or all false:
(a) The general solution of Ly = 0 on (a, b) is y = c1 y1 + c2 y2 + + cn yn .
(b) {y1 , y2 , . . . , yn } is a fundamental set of solutions of Ly = 0 on (a, b).
(c) {y1 , y2 , . . . , yn } is linearly independent on (a, b).
Example 9.1.3 In Example 9.1.1 we saw that the solutions y1 = x2 , y2 = x3 , and y3 = 1/x of
x3 y000 x2 y00 2xy0 + 6y = 0
are linearly independent on (, 0) and (0, ). Calculate the Wronskian of {y1 , y2 , y3 }.
Solution If x 6= 0, then
2
x
x3
W (x) = 2x 3x2
2 6x
1
x
1
2
x
2
x3
1
1 x
3
x
1
= 2x3 2 3x 3
x
1
1 3x
x3
Example 9.1.4 In Example 9.1.2 we saw that the solutions y1 = ex , y2 = ex , y3 = e2x , and y4 = e3x
of
y(4) + y000 7y00 y0 + 6y = 0
are linearly independent on every open interval. Calculate the Wronskian of {y1 , y2 , y3 , y4 }.
Solution For all x,
W (x) =
ex
ex
ex
ex
ex
ex
ex
ex
e2x
2e2x
4e2x
8e2x
e3x
3e3x
9e3x
27e3x
from (9.1.12).
R EMARK: Under the assumptions of Theorem 9.1.4, it isnt necessary to obtain a formula for W (x). Just
evaluate W (x) at a convenient point in (a, b), as we did in Examples 9.1.1 and 9.1.2.
Theorem 9.1.5 Suppose c is in (a, b) and 1 , 2 , . . . , are real numbers, not all zero. Under the assumptions of Theorem 10.3.3, suppose y1 and y2 are solutions of (5.1.35) such that
(n1)
(c) = 0,
1 i n.
so
y2 (c)
y20 (c)
..
.
(n1)
y2
(c)(c)
=0
(n1)
yn
(c)(c)
..
.
yn (c)
yn0 (c)
..
.
(9.1.16)
471
on (a, b).
Well apply Theorems 9.1.6 and 9.1.7 throughout the rest of this chapter.
9.1 Exercises
1.
Verify that the given function is the solution of the initial value problem.
24
(a) x3 y000 3x2 y00 + 6xy0 6y = , y(1) = 0, y0 (1) = 0, y00 (1) = 0;
x
1
2
3
y = 6x 8x 3x +
x
2
1
1
x
4
3
1
, y(1) = , y0 (1) = , y00 (1) = 1;
(b) y000 y00 y0 + y =
x
x
x4
2
2
1
y =x+
2x
(c) xy000 y00 xy0 + y = x2 , y(1) = 2, y0 (1) = 5, y00 (1) = 1;
y = x2 2 + 2e(x1) e(x1) + 4x
y(1) = 5,
y0 (1) =
17
;
2
63
; y = 2x2 ln x x1/2 + 2x1/2 + 4x2
4
(e) x4 y(4) 4x3 y000 + 12x2 y00 24xy0 + 24y = 6x4 , y(1) = 2,
y00 (1) =
y0 (1) = 9,
4
y = x ln x + x 2x + 3x 4x4
y(1) = 5,
y0 (1) = 24
y(1) = 4,
y0 (1) = 14,
y(0) = 5,
y0 (0) = 6,
Find solutions y1 , y2 , . . . , yn of the equation y(n) = 0 that satisfy the initial conditions
(
0, j 6= i 1,
(j)
yi (x0 ) =
1 i n.
1, j = i 1,
5.
c3
x
satisfies
x3 y000 x2 y00 2xy0 + 6y = 0
(A)
y10 (1) = 0,
y20 (1) = 1,
y30 (1) = 0,
= 1,
= 0,
= 0,
y100 (1) = 0
y200 (1) = 0
y300 (1) = 1.
y0 (1) = k1 ,
Verify that the given functions are solutions of the given equation, and show that they form a
fundamental set of solutions of the equation on any interval on which the equation is normal.
(a) y000 + y00 y0 y = 0;
{ex , ex , xex}
{ex , ex , x}
{x, x2 , ex }
7.
y00 (1) = k2 .
{x, ex , ex , e2x}
y000 + 2xy00 + ex y0 y = 0,
given that W (0) = 2.
473
9.
(A)
(c) Use W (0) from (a) and Abels formula to calculate W (x).
(d) What is the general solution of (A)?
10.
(c) {2, x + 1, x2 + 2}
2
(d) x, x ln x, 1/x}
n
x
x x
,
, ,
}
2! 3!
n!
(g) {ex /x, ex /x, 1}
(f) {ex , ex , x}
(e) {1, x,
(h) {x, x2 , ex }
11.
Suppose Ly = 0 is normal on (a, b) and x0 is in (a, b). Use Theorem 9.1.1 to show that y 0 is
the only solution of the initial value problem
Ly = 0,
y(x0 ) = 0,
y0 (x0 ) = 0, . . . , y(n1)(x0 ) = 0,
on (a, b).
12.
n
X
j=1
aij yj ,
1 i n,
Prove: If
y = c1 y1 + c2 y2 + + ck yk + yp
14.
Suppose Ly = 0 is normal on (a, b) and let x0 be in (a, b). For 1 i n, let yi be the solution
of the initial value problem
(
0, j 6= i 1,
(j)
Lyi = 0, yi (x0 ) =
1 i n,
1, j = i 1,
where x0 is an arbitrary point in (a, b). Show that any solution of Ly = 0 on (a, b), can be written
as
y = c1 y1 + c2 y2 + + cn yn ,
with cj = y(j1)(x0 ).
zn
where the {aij } are constants. Show that {z1 , z2 , . . . , zn } is a fundamental set of solutions of (A)
if and only if the determinant
a11 a12 a1n
a21 a22 a2n
..
..
..
..
.
.
.
.
an1 an2 ann
is nonzero.H INT: The determinant of a product of n n matrices equals the product of the determinants.
16.
Show that {y1 , y2 , . . . , yn } is linearly dependent on (a, b) if and only if at least one of the functions
y1 , y2 , . . . , yn can be written as a linear combination of the others on (a, b).
X
=
a1i1 a2i2 , . . . , anin ,
where the sum is over all permutations (i1 , i2 , . . . , in ) of (1, 2, . . . , n) and the choice of + or in each
term depends only on the permutation associated with that term.
17.
Prove: If
then
a11
a21
..
A(u1 , u2 , . . . , un ) =
.
an1,1
u1
a12
a1n
a22
a2n
..
.
an1,2
u2
..
..
.
an1,n
un
Let
f11
f21
F = .
..
fn1
f12
f22
..
.
fn2
475
f1n
f2n
.. ,
..
.
.
fnn
F 0 = F1 + F2 + + Fn ,
where Fi is the determinant obtained by differentiating the ith row of F .
19.
20.
Use Exercise 18 to show that if W is the Wronskian of the n-times differentiable functions y1 , y2 ,
. . . , yn , then
y1
y2
yn
y10
y20
yn0
..
..
..
..
0
W =
.
.
.
.
.
(n2)
(n2)
(n2)
y
y2
yn
1
(n)
(n)
y(n)
y2
yn
1
Use Exercises 17 and 19 to show that if W is the Wronskian of solutions {y1 , y2 , . . . , yn } of the
normal equation
P0 (x)y(n) + P1 (x)y(n1) + + Pn (x)y = 0,
(A)
then W 0 = P1 W/P0 . Derive Abels formula (Eqn. (9.1.15)) from this. H INT: Use (A) to write
y(n) in terms of y, y0 , . . . , y(n1).
21.
22.
23.
Show that if the Wronskian of the n-times continuously differentiable functions {y1 , y2 , . . . , yn }
has no zeros in (a, b), then the differential equation obtained by expanding the determinant
y
y1
y2 yn
0
y
y10
y20
yn0
..
..
.. = 0,
..
..
.
.
.
.
.
y(n) y(n) y(n) y(n)
n
1
2
in cofactors of its first column is normal and has {y1 , y2 , . . . , yn } as a fundamental set of solutions
on (a, b).
24.
Use the method suggested by Exercise 23 to find a linear homogeneous equation such that the
given set of functions is a fundamental set of solutions on intervals on which the Wronskian of the
set has no zeros.
(a) {x, x2 1, x2 + 1}
(b) {ex , ex , x}
(d) {x, x2 , ex }
(f) {x + 1, ex , e3x }
is said to be a constant coefficient equation. In this section we consider the homogeneous constant coefficient equation
a0 y(n) + a1 y(n1) + + an y = 0.
(9.2.1)
Since (9.2.1) is normal on (, ), the theorems in Section 9.1 all apply with (a, b) = (, ).
As in Section 5.2, we call
p(r) = a0 r n + a1 r n1 + + an
(9.2.2)
the characteristic polynomial of (9.2.1). We saw in Section 5.2 that when n = 2 the solutions of (9.2.1)
are determined by the zeros of the characteristic polynomial. This is also true when n > 2, but the
situation is more complicated in this case. Consequently, we take a different approach here than in
Section 5.2.
If k is a positive integer, let Dk stand for the k-th derivative operator; that is
Dk y = y(k) .
If
q(r) = b0 r m + b1 r m1 + + bm
q(D) = b0 Dm + b1 Dm1 + + bm
such that
q(D)y = (b0 Dm + b1 Dm1 + + bm )y = b0 y(m) + b1 y(m1) + + bm y
whenever y is a function with m derivatives. We call q(D) a polynomial operator.
With p as in (9.2.2),
p(D) = a0 Dn + a1 Dn1 + + an ,
=
=
(a0 r n + a1 r n1 + + an )erx ;
that is
p(D)(erx ) = p(r)erx .
This shows that y = erx is a solution of (9.2.1) if p(r) = 0. In the simplest case, where p has n distinct
real zeros r1 , r2 ,. . . , rn , this argument yields n solutions
y1 = er1 x ,
y2 = er2 x , . . . ,
yn = ern x .
It can be shown (Exercise 39) that the Wronskian of {er1 x , er2 x , . . . , ern x } is nonzero if r1 , r2 , . . . , rn
are distinct; hence, {er1 x , er2 x , . . . , ern x } is a fundamental set of solutions of p(D)y = 0 in this case.
477
Example 9.2.1
(a) Find the general solution of
y000 6y00 + 11y0 6y = 0.
(9.2.3)
y(0) = 4,
y0 (0) = 5,
y00 (0) = 9.
(9.2.4)
y = c1 ex + c2 e2x + c3 e3x .
(9.2.5)
S OLUTION (b) We must determine c1 , c2 and c3 in (9.2.5) so that y satisfies the initial conditions in
(9.2.4). Differentiating (9.2.5) twice yields
y0
y00
=
=
(9.2.6)
Setting x = 0 in (9.2.5) and (9.2.6) and imposing the initial conditions yields
c1 + c2 + c3
c1 + 2c2 + 3c3
c1 + 4c2 + 9c3
= 4
= 5
= 9.
y
700
600
500
400
300
200
100
0.5
1.0
1.5
2.0
(9.2.7)
However, before we can make this assertion we must define what we mean by saying that two operators
are equal, and what we mean by the products of operators in (9.2.7). We say that two operators are equal
if they apply to the same functions and always produce the same result. The definitions of the products in
(9.2.7) is this: if y is any three-times differentiable function then
(a) (D 1)(D2 + 1)y is the function obtained by first applying D2 + 1 to y and then applying D 1
to the resulting function
(b) (D2 + 1)(D 1)y is the function obtained by first applying D 1 to y and then applying D2 + 1
to the resulting function.
From (a),
(D 1)(D2 + 1)y = (D 1)[(D2 + 1)y]
= (D 1)(y00 + y) = D(y00 + y) (y00 + y)
(9.2.8)
= (y000 + y0 ) (y00 + y)
000
00
0
3
2
= y y + y y = (D D + D 1)y.
This implies that
(D 1)(D2 + 1) = (D3 D2 + D 1).
479
From (b),
(D2 + 1)(D 1)y
=
=
=
=
(9.2.9)
Example 9.2.3 Use the result of Example 9.2.2 to find the general solution of
y000 y00 + y0 y = 0.
(9.2.10)
1 0 1
W (0) = 0 1 1 = 2,
1 0 1
y = c1 cos x + c2 sin x + c3 ex
is the general solution of (9.2.10).
Example 9.2.4 Find the general solution of
y(4) 16y = 0.
(9.2.11)
(D + 2)y = 0,
(D2 + 4)y = 0.
Hence, {e2x , e2x, cos 2x, sin 2x} is a set of solutions of (9.2.11). The Wronskian of this set is
2x
e
e2x
cos 2x
sin 2x
2x
2e
2e2x 2 sin 2x
2 cos 2x
W (x) = 2x
.
2x
4e
4 cos 2x 4 sin 2x
4e2x
8e
8e2x
8 sin 2x 8 cos 2x
Since
W (0) =
1
1
1
2 2
0
4
4 4
8 8
0
0
2
0
8
= 512,
(9.2.12)
(9.2.13)
where j and j are real, j 6= 0, and mj is a positive integer. If (9.2.12) holds then rj is a real zero of
p, while if (9.2.13) holds then + i and i are complex conjugate zeros of p. In either case, mj is
the multiplicity of the zero(s).
By arguments similar to those used in our examples, it can be shown that
p(D) = a0 p1 (D)p2 (D) pk (D)
(9.2.14)
and that the order of the factors on the right can be chosen arbitrarily. Therefore, if pj (D)y = 0 for some
j then p(D)y = 0. To see this, we simply rewrite (9.2.14) so that pj (D) is applied first. Therefore the
481
problem of finding solutions of p(D)y = 0 with p as in (9.2.14) reduces to finding solutions of each of
these equations
pj (D)y = 0, 1 j k,
where pj is a power of a first degree term or of an irreducible quadratic. To find a fundamental set of
solutions {y1 , y2 , . . . , yn } of p(D)y = 0, we find fundamental set of solutions of each of the equations
and take {y1 , y2 , . . . , yn } to be the set of all functions in these separate fundamental sets. In Exercise 40
we sketch the proof that {y1 , y2 , . . . , yn } is linearly independent, and therefore a fundamental set of
solutions of p(D)y = 0.
To apply this procedure to general homogeneous constant coefficient equations, we must be able to
find fundamental sets of solutions of equations of the form
(D a)m y = 0
and
m
(D )2 + 2 y = 0,
where m is an arbitrary positive integer. The next two theorems show how to do this.
Theorem 9.2.1 If m is a positive integer, then
{eax , xeax , . . . , xm1 eax }
(9.2.15)
(D a)m y = 0.
(9.2.16)
is an arbitrary polynomial of degree m 1, then y = eax f is a solution of (9.2.16). First note that if g
is any differentiable function then
(D a)eax g = Deax g aeax g = aeax g + eax g0 aeax g,
so
(D a)eax g = eax g0 .
Therefore
(9.2.17)
(D a)eax f
(D a)2 eax f
(D a)3 eax f
= eax f 0
= (D a)eax f 0 = eax f 00
= (D a)eax f 00 = eax f 000
..
.
(D a)m eax f
Since f (m) = 0, the last equation implies that y = eax f is a solution of (9.2.16) if f is any polynomial
of degree m 1. In particular, each function in (9.2.15) is a solution of (9.2.16). To see that (9.2.15)
is linearly independent (and therefore a fundamental set of solutions of (9.2.16)), note that if
c1 eax + c2 xeax + c + cm1 xm1 eax = 0
for all x in some interval (a, b), then
c1 + c2 x + c + cm1 xm1 = 0
for all x in (a, b). However, we know from algebra that if this polynomial has more than m 1 zeros then
c1 = c2 = = cn = 0.
(9.2.18)
(9.2.19)
3
=
=
=
=
r 4 + 4r 3 + 6r 2 + 4r
r(r 3 + 4r 2 + 6r + 4)
r(r + 2)(r 2 + 2r + 2)
r(r + 2)[(r + 1)2 + 1].
(9.2.20)
483
(D + 2)y = 0,
Dy = 0.
and
are given by
{e2x},
{1},
and
(9.2.21)
Solution A fundamental set of solutions of (9.2.21) can be obtained by combining fundamental sets of
solutions of
2
(D + 1)2 + 1 y = 0, (D 1)3 y = 0,
(D + 1)y = 0, and D2 y = 0.
Fundamental sets of solutions of these equations are given by
{ex cos x, xex cos x, ex sin x, xex sin x},
{ex }, and {1, x},
9.2 Exercises
In Exercises 114 find the general solution.
1.
2.
y(4) + 8y00 9y = 0
3.
4.
5.
6.
7.
8.
y(4) + y00 = 0
9.
y(4) 16y = 0
10.
12.
11.
13.
14.
y000 + 3y00 y0 3y = 0,
y(0) = 2,
18.
19.
C/G
3y000 y00 7y0 + 5y = 0,
20.
21.
22.
23.
24.
25.
26.
27.
28.
y00 (0) = 40
y0 (0) = 9,
y(0) = 2,
y(0) = 6,
y0 (0) = 3,
y00 (0) = 4
y00 (0) = 22
14
, y0 (0) = 0, y00 (0) = 10
5
y(0) = 1, y0 (0) = 1, y00 (0) = 4
y(0) =
y(4) 16y = 0,
y0 (0) = 14,
y(0) = 0,
17.
y(0) = 6,
y(0) = 4,
y0 (0) = 3,
y0 (0) = 3,
y00 (0) = 13
y00 (0) = 1
y000 (0) = 62
4y(4) 13y00 + 9y = 0,
y(0) = 2,
y0 (0) = 3,
y(0) = 1,
y(0) = 5,
y0 (0) = 8,
y00 (0) = 1,
y000 (0) = 3
y0 (0) = 2,
y00 (0) = 6,
7
C/G 4y(4) + 8y000 + 19y00 + 32y0 + 12y = 0, y(0) = 3, y0 (0) = 3, y00 (0) = ,
2
31
000
y (0) =
4
Find a fundamental set of solutions of the given equation, and verify that its a fundamental set by
evaluating its Wronskian at x = 0.
(a) (D 1)2 (D 2)y = 0
(d) D3 (D 1)y = 0
y000 (0) = 8
30.
31.
(D2 + 9)3 D2 y = 0
33.
(D4 16)2 y = 0
35.
(4D2 + 4D + 9)3 y = 0
36.
37.
38.
(D 1)4 16 y = 0
32.
(D 2)3 (D + 1)2 Dy = 0
485
a2
an
a22
..
.
..
a2n1
a2n
..
.
ann1
Y
(aj ai ),
=
1i<jn
(A)
where the left side is the Vandermonde determinant and the right side is the product of all factors
of the form (aj ai ) with i and j between 1 and n and i < j.
40.
A theorem from algebra says that if P1 and P2 are polynomials with no common factors then there
are polynomials Q1 and Q2 such that
Q1 P1 + Q2 P2 = 1.
This implies that
Q1 (D)P1 (D)y + Q2 (D)P2 (D)y = y
for every function y with enough derivatives for the left side to be defined.
(a) Use this to show that if P1 and P2 have no common factors and
P1 (D)y = P2 (D)y = 0
then y = 0.
(b) Suppose P1 and P2 are polynomials with no common factors. Let u1 , . . . , ur be linearly
independent solutions of P1 (D)y = 0 and let v1 , . . . , vs be linearly independent solutions of
P2 (D)y = 0. Use (a) to show that {u1 , . . . , ur , v1 , . . . , vs } is a linearly independent set.
(c) Suppose the characteristic polynomial of the constant coefficient equation
a0 y(n) + a1 y(n1) + + an y = 0
(A)
(j > 0)
and no two of the polynomials p1 , p2 , . . . , pk have a common factor. Show that we can
find a fundamental set of solutions {y1 , y2 , . . . , yn } of (A) by finding a fundamental set of
solutions of each of the equations
pj (D)y = 0,
1 j k,
and taking {y1 , y2 , . . . , yn } to be the set of all functions in these separate fundamental sets.
(A)
(C)
(D)
=
=
to show that
(cos A + i sin A)(cos B + i sin B) = cos(A + B) + i sin(A + B).
(b) Apply (a) repeatedly to show that if n is a positive integer then
n
Y
k=1
(A)
(d) Show that (A) also holds if n = 0 or a negative integer. H INT: Verify by direct calculation
that
(cos + i sin )1 = (cos i sin ).
Then replace by in (A).
487
(2k + 1)
n
+ i sin
(2k + 1)
n
k = 0, 1, . . ., n 1,
then
zkn = 1
and
kn = 1,
k = 0, 1, . . . , n 1.
Use (e) of Exercise 42 to find a fundamental set of solutions of the given equation.
(a) y000 y = 0
(b) y000 + y = 0
(d) y(6) y = 0
(f) (D 1)6 1 y = 0
x > 0,
(A)
and
Y (t) = y(x(t)),
(B)
then
dy
dx
dY
dt
x2
d2 y
dx2
d2 Y
dY
dt2
dt
x3
d3 y
dx3
d3 Y
d2 Y
dY
3 2 +2
.
3
dt
dt
dt
dr y
dr Y
dr1 Y
dY
=
+
A
+ + Ar1,r
1r
dxr
dtr
dtr1
dt
where A1r , . . . , Ar1,r are integers. Use these results to show that the substitution (B) transforms
(A) into a constant coefficient equation for Y as a function of t.
(A)
d3 Y
d2 Y
dY
+
(a
3a
)
+ (a2 a1 + 2a0 )
+ a3 Y = 0.
1
0
3
2
dt
dt
dt
Assuming that a0 , a1 , a2 , a3 are real and a0 6= 0, find the possible forms for the general solution
of (A).
(9.3.1)
or
ex
p0 + p1 x + + pk xk cos x + q0 + q1 x + + qk xk sin x .
From Theorem 9.1.5, the general solution of (9.3.1) is y = yp + yc , where yp is a particular solution of
(9.3.1) and yc is the general solution of the complementary equation
a0 y(n) + a1 y(n1) + + an y = 0.
In Section 9.2 we learned how to find yc . Here we will learn how to find yp when the forcing function
has the form stated above. The procedure that we use is a generalization of the method that we used in
Sections 5.4 and 5.5, and is again called method of undetermined coefficients. Since the underlying ideas
are the same as those in Sections 5.4 and 5.5, well give an informal presentation based on examples.
Forcing Functions of the Form ex p0 + p1 x + + pk xk
We first consider equations of the form
a0 y(n) + a1 y(n1) + + an y = ex p0 + p1 x + + pk xk .
=
=
=
=
uex ,
ex (u0 + u),
ex (u00 + 2u0 + u),
ex (u000 + 3u00 + 3u0 + u)
(9.3.2)
489
(9.3.3)
Since the unknown u appears on the left, we can see that (9.3.3) has a particular solution of the form
up = A + Bx + Cx2 + Dx3 .
Then
u0p
u00p
u000
p
=
=
=
B + 2Cx + 3Dx2
2C + 6Dx
6D.
Substituting from the last four equations into the left side of (9.3.3) yields
00
0
u000
p + 6up + 11up + 5up
Comparing coefficients of like powers of x on the right sides of this equation and (9.3.3) shows that up
satisfies (9.3.3) if
5D =
5
5C + 33D = 28
5B + 22C + 36D = 24
5A + 11B + 12C + 6D = 21.
Solving these equations successively yields D = 1, C = 1, B = 2, A = 1. Therefore
up = 1 + 2x x2 + x3
is a particular solution of (9.3.3), so
yp = ex up = ex (1 + 2x x2 + x3 )
is a particular solution of (9.3.2) (Figure 9.3.1).
Example 9.3.2 Find a particular solution of
y(4) y000 6y00 + 4y0 + 8y = e2x (4 + 19x + 6x2 ).
Solution Substituting
y
ue2x ,
y0
y00
y000
y(4)
=
=
=
=
(9.3.4)
40
30
20
10
Figure 9.3.1 yp = ex (1 + 2x x2 + x3 )
into (9.3.4) and canceling e2x yields
(u(4) + 8u000 + 24u00 + 32u0 + 16u) (u000 + 6u00 + 12u0 + 8u)
6(u00 + 4u0 + 4u) + 4(u0 + 2u) + 8u = 4 + 19x + 6x2 ,
or
u(4) + 7u000 + 12u00 = 4 + 19x + 6x2 .
(9.3.5)
Since neither u nor u0 appear on the left, we can see that (9.3.5) has a particular solution of the form
up = Ax2 + Bx3 + Cx4 .
Then
u0p
u00p
2A + 6Bx + 12Cx2
u000
p
6B + 24Cx
u(4)
p
24C.
(4)
(9.3.6)
491
y
.30
.25
.20
.15
.10
.05
0.1
0.2
0.3
0.4
0.5
Figure 9.3.2 yp =
0.6
0.7
0.8
0.9
1.0
x2 e2x
(4 + 4x + x2 )
24
Comparing coefficients of like powers of x on the right sides of this equation and (9.3.5) shows that up
satisfies (9.3.5) if
144C = 6
72B + 168C = 19
24A + 42B + 24C = 4.
Solving these equations successively yields C = 1/24, B = 1/6, A = 1/6. Substituting these into
(9.3.6) shows that
x2
up =
(4 + 4x + x2 )
24
is a particular solution of (9.3.5), so
yp = e2x up =
x2 e2x
(4 + 4x + x2 )
24
(9.3.7)
=
=
uex ,
ex (u0 + u),
y00
y000
=
=
(9.3.8)
Since cos x and sin x are not solutions of the complementary equation
u000 + 4u00 + u0 6u = 0,
a theorem analogous to Theorem 5.5.1 implies that (9.3.8) has a particular solution of the form
up = (A0 + A1 x) cos x + (B0 + B1 x) sin x.
(9.3.9)
Then
u0p = (A1 + B0 + B1 x) cos x + (B1 A0 A1 x) sin x,
00
0
u000
p + 4up + up 6up
Comparing the coefficients of x cos x, x sin x, cos x, and sin x here with the corresponding coefficients
in (9.3.8) shows that up is a solution of (9.3.8) if
10A1
10B1
10A0 2A1 + 8B1
10B0 2B1 8A1
=
=
=
=
5
5
5
2.
Solving the first two equations yields A1 = 1/2, B1 = 1/2. Substituting these into the last two
equations yields
10A0
10B0
=
=
5 + 2A1 8B1 = 10
2 + 2B1 + 8A1 = 5,
493
y
100
80
60
40
20
20
Figure 9.3.3 yp = ex up =
ex
[(2 x) cos x + (1 + x) sin x]
2
(9.3.10)
Solution Substituting
y
y0
y00
y000
=
=
=
=
uex ,
ex (u0 u),
ex (u00 2u0 + u),
ex (u000 3u00 + 3u0 u)
(9.3.11)
(9.3.12)
u00p
u000
p
00
0
u000
p + up + up + up
Comparing the coefficients of x cos x, x sin x, cos x, and sin x here with the corresponding coefficients
in (9.3.11) shows that up is a solution of (9.3.11) if
4A1 + 4B1
4A1 4B1
2A0 + 2B0 + 2A1 + 6B1
2A0 2B0 6A1 + 2B1
= 6
= 2
=
1
= 3.
Solving the first two equations yields A1 = 1, B1 = 1/2. Substituting these into the last two equations
yields
2A0 + 2B0
2A0 2B0
=
=
1 2A1 6B1 = 2
3 + 6A1 2B1 = 4,
0.2
0.1
0.1
0.2
0.3
0.4
0.5
Figure 9.3.4 yp =
xex
[(3 2x) cos x + (1 + x) sin x]
2
495
xex
[(3 2x) cos x + (1 + x) sin x]
2
9.3 Exercises
In Exercises 159 find a particular solution.
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
17.
18.
19.
20.
21.
22.
23.
24.
25.
26.
y000 7y00 + 20y0 24y = e2x [(13 8x) cos 2x (8 4x) sin 2x]
y000 6y00 + 18y0 = e3x [(2 3x) cos 3x (3 + 3x) sin 3x]
y(4) + 2y000 2y00 8y0 8y = ex (8 cos x + 16 sin x)
y(4) + 8y000 + 32y00 + 64y0 + 39y = e2x[(4 15x) cos 3x (4 + 15x) sin 3x]
y(4) 5y000 + 13y00 19y0 + 10y = ex [(7 + 8x) cos 2x + (8 4x) sin 2x]
y(4) + 4y000 + 8y00 + 8y0 + 4y = 2ex (cos x 2 sin x)
497
y(4) 3y000 + 4y00 2y0 = ex [(28 + 6x) cos 2x + (11 12x) sin 2x]
y(4) 4y000 + 14y00 20y0 + 25y = ex [(2 + 6x) cos 2x + 3 sin 2x]
In Exercises 6974 solve the initial value problem and graph the solution.
69.
70.
71.
72.
y(0) = 2,
y(0) = 2,
y(0) = 1,
y0 (0) = 7,
y0 (0) = 0,
y0 (0) = 15,
y00 (0) = 9
y00 (0) = 0
y00 (0) = 17
C/G y(4) + 2y000 + 2y00 + 2y0 + y = ex (20 12x), y(0) = 3, y0 (0) = 4, y00 (0) =
7, y000 (0) = 22
73.
74.
C/G y(4) 3y000 + 5y00 2y0 = 2ex (cos x sin x), y(0) = 2, y0 (0) = 0, y00 (0) = 1,
y000 (0) = 5
75.
y(0) = 3,
y0 (0) = 4,
y00 (0) = 16
(A)
(B)
and
p(r) = a0 r n + a1 r n1 + + an
is the characteristic polynomial of the complementary equation
a0 y(n) + a1 y(n1) + + an y = 0.
76.
Prove:
(a) The equation
a0 u(n)
+
=
up = xm u0 + u1 x + + uk xk cos x + v0 + v1 x + + vk xk sin x.
(A)
= p0 + p1 x + + pk x k
= q 0 + q 1 x + + q k xk .
(9.4.1)
(9.4.2)
u01 y1
(n2)
+ u02 y2
(n2)
+u0n yn
= 0.
(r)
yp(r) = u1 y1 + u2 y2 + un yn(r) , 0 r n 1.
(9.4.4)
499
These formulas are easy to remember, since they look as though we obtained them by differentiating
(9.4.2) n 1 times while treating u1 , u2 , . . . , un as constants. To see that (9.4.3) implies (9.4.4), we first
differentiate (9.4.2) to obtain
yp0 = u1 y10 + u2 y20 + + un yn0 + u01 y1 + u02 y2 + + u0n yn ,
which reduces to
yp0 = u1 y10 + u2 y20 + + un yn0
yp00 = u1 y100 + u2 y200 + + un yn00 + u01 y10 + u02 y20 + + u0n yn0 ,
which reduces to
yp00 = u1 y100 + u2 y200 + + un yn00
because of the second equation in (9.4.3). Continuing in this way yields (9.4.4).
The last equation in (9.4.4) is
(n1)
yp(n1) = u1 y1
(n1)
+ u2 y2
+ + un yn(n1) .
yp(n) = u1 y1
(n)
(n1)
+ + un yn(n) + u01 y1
+ u2 y2
(n1)
+ u02 y2
+ + u0n yn(n1) .
u01 y1
(n1)
+ u02 y2
+ + u0n yn(n1) =
F (x)
.
P0 (x)
+u0n yn = 0
+u0n yn0 = 0
..
.
(n2)
(n2)
u01 y1
+ u02 y2
+
0 (n1)
0 (n1)
u1 y1
+ u2 y2
+
which can be written in matrix form as
y1
y2
0
y1
y20
..
..
.
.
(n2)
(n2)
y
y2
1
(n1)
y1
(n1)
y2
+u0n yn
=0
0 (n1)
+un yn
= F/P0 ,
yn
yn0
..
..
.
(n2)
yn
(n1)
yn
u01
u02
..
.
u0
n1
u0n
0
0
..
.
0
F/P0
(9.4.5)
F Wj
,
P0 W
1 j n,
(9.4.6)
where Wj is the Wronskian of the set of functions obtained by deleting yj from {y1 , y2 , . . . , yn } and
keeping the remaining functions in the same order. Equivalently, Wj is the determinant obtained by
deleting the last row and j-th column of W .
Having obtained u01 , u02 , . . . ,u0n, we can integrate to obtain u1 , u2 , . . . , un . As in Section 5.7, we take
the constants of integration to be zero, and we drop any linear combination of {y1 , y2 , . . . , yn } that may
appear in yp .
R EMARK: For efficiency, its best to compute W1 , W2 , . . . , Wn first, and then compute W by expanding
in cofactors of the last row; thus,
W =
n
X
(n1)
(1)nj yj
Wj .
j=1
Therefore
y2
W1 =
y20
y3
,
y30
u01 =
y1
W = y10
00
y
1
F W1
,
P0 W
y2
y20
y200
y1
W2 =
y10
u02 =
y3
y30 .
y00
3
y3
,
y30
F W2
,
P0 W
y1
W3 =
y10
u03 =
F W3
.
P0 W
y2
,
y20
(9.4.7)
(9.4.8)
ex
ex
ex
W2
W3
x
e
x
e
x
1
x
1
ex
= 2,
ex
ex
= ex (x + 1),
ex
ex
= ex (x 1).
ex
W = 0W1 ex W2 + ex W3 = 0(2) ex ex (x + 1) + ex ex (x 1) = 2x.
8x2 ex
F
=
= 4ex .
P0 W
x 2x
Therefore, from (9.4.7)
u01
u02
=
=
u03
Hence,
yp
u1 y1 + u2 y2 + u3 y3
(8ex )x + ex (2(x + 1)2 ) + ex e2x(2x 3)
ex (2x2 2x 1).
W =
y1
y2
y3
y10
y20
y30
y100
y200
y300
y1000
y2000
y3000
y4
y40
,
y400
y000
4
501
y2
W1 = y20
00
y
2
y1
W3 = y10
00
y1
u01 =
F W1
,
P0 W
y3
y30
y300
y2
y20
y200
u02 =
y4
y40 ,
y400
y4
y40 ,
y400
F W2
,
P0 W
y1
W2 = y10
00
y
1
y1
W4 = y10
00
y1
u03 =
y3
y30
y300
y2
y20
y200
F W3
,
P0 W
y4
y40 ,
y400
y3
y30 ,
y300
u04 =
F W4
.
P0 W
(9.4.9)
(9.4.10)
given that y1 = x, y2 = x2 , y3 = 1/x and y4 = 1/x2 form a fundamental set of solutions of the
complementary equation. Then find the general solution of (9.4.10) on (, 0) and (0, ).
Solution We seek a particular solution of (9.4.10) of the form
u3
u4
yp = u1 x + u2 x2 +
+ 2.
x
x
The Wronskian of {y1 , y2 , y3 , y4 } is
x x2
1/x
1/x2
2/x3
1 2x 1/x2
,
W (x) =
2/x3
6/x4
0 2
0 0 6/x4 24/x5
so
2
x
1/x
1/x2
12
W1 = 2x 1/x2 2/x3 = 4 ,
x
2
2/x3
6/x4
W2
W3
W4
x
1/x
= 1 1/x2
0 2/x3
=
=
1/x2
1 2x 2/x3 =
0 2
6/x4
x x2
1/x
1 2x 1/x2 =
0 2
2/x3
x
x2
1/x2
6
2/x3 = 5 ,
x
6/x4
12
,
x2
6
.
x
503
6
24
= 0W1 + 0W2 4 W3 + 5 W4
x
x
6 12 24 6
72
=
5 = 6.
x4 x2
x x
x
x6
72
x4
.
6
u02
u03
u04
4
x
x4
12
W1 =
4 = 2,
6
6
x
x4
6
1
x4
5 = ,
W2 =
6
6
x
x
4
x
x4 12
= 2x2 ,
W3 =
6
6 x2
x4 6
x4
= x3 .
W4 =
6
6 x
u2 = ln |x|,
u3 =
2x3
x4
, u4 = .
3
4
Hence,
yp
=
=
=
u1 y1 + u2 y2 + u3 y3 + u4 y4
4
2x3 1
x
1
2
(2x)x + (ln |x|)x +
+
3 x
4 x2
2
19x
.
x2 ln |x|
12
c3
c4
+ 2
x
x
9.4 Exercises
In Exercises 121 find a particular solution, given the fundamental set of solutions of the complementary
equation.
1.
{x, x2, x3 }
{xex, x2 ex , x3 ex }
{ex , ex , 1/x}
x(1 x)y
000
{x, x2 , 1/x}
{x, ex , ex }
{1, x, x2 , 1/x}
{ x, 1/ x, x3/2 , x3/2}
x(x2 6)y(4) + 2(x2 12)y000 + x(6 x2 )y00 + 2(12 x2 )y0 = 2(x2 6)2 ;
{1, 1/x, ex , ex }
{x, x2 , x3 , x4 }
x4 y(4) 4x3 y000 + 2x2 (6 x2 )y00 + 4x(x2 6)y0 + (x4 4x2 + 24)y = 4x5 ex ;
{xex, x2 ex , xex, x2 ex }
20.
21.
x4 y(4) 4x3 y000 + x2 (12 x2 )y00 + 2x(x2 12)y0 + 2(12 x2 )y = 2x5 ; {x, x2 , xex, xex }
In Exercises 2233 solve the initial value problem, given the fundamental set of solutions of the complementary equation. Where indicated by C/G , graph the solution.
22.
23.
24.
25.
y(1) = 4,
y(1) = 0,
y0 (1) = 4,
y0 (1) = 1,
y00 (1) = 2;
y00 (1) = 7;
26.
y(0) = 0,
y(1) = 6,
y0 (1) =
43
,
6
{x, x3 , x ln x}
{x2 , x3 , x3 ln x}
y0 (0) = 5,
5
y00 (1) = ;
2
29.
5
,
4
y00 (0) =
30.
31.
33.
34.
y0 (0) = 5,
y(0) = 1,
32.
3
,
4
1
; {x + 1, ex , e3x }
4
y(0) =
y(1) = 7,
y0 (1) = 11,
y(0) =
55
,
4
y00 (1) = 5,
y0 (0) = 0,
4x4 y(4) + 24x3 y000 + 23x2 y00 xy0 + y = 6x, y(1) = 2, y0 (1) = 0, y00 (1) = 4,
37
; {x, x, 1/x, 1/ x}
4
x4 y(4) + 5x3 y000 3x2 y00 6xy0 + 6y = 40x3 , y(1) = 1, y0 (1) = 7,
y00 (1) = 1,
505
y000 (1) =
(A)
is normal on an interval (a, b). Let {y1 , y2 , . . . , yn } be a fundamental set of solutions of its complementary equation on (a, b), let W be the Wronskian of {y1 , y2 , . . . , yn }, and let Wj be the
determinant obtained by deleting the last row and the j-th column of W . Suppose x0 is in (a, b),
let
Z x
F (t)Wj (t)
dt, 1 j n,
uj (x) = (1)(nj)
x0 P0 (t)W (t)
and define
yp = u1 y1 + u2 y2 + + un yn .
(a) Show that yp is a solution of (A) and that
(r)
(r)
yp(r) = u1 y1 + u2 y2 + un yn(r) ,
1 r n 1,
and
(n)
yp(n) = u1 y1
(n)
+ u2 y2
+ + un yn(n) +
F
.
P0
H INT: See the derivation of the method of variation of parameters at the beginning of the
section.
(b) Show that yp is the solution of the initial value problem
P0 (x)y(n) + P1 (x)y(n1) + + Pn (x)y = F (x),
y(x0 ) = 0, y0 (x0 ) = 0, . . . ,
y(n1) (x0 ) = 0.
x0
y1 (t)
y10 (t)
1
..
G(x, t) =
.
P0 (t)W (t)
(n2)
(t)
y1
y (x)
1
y2 (t)
y20 (t)
..
.
(n2)
y2
y2 (x)
j G(x, t)
=
xj x=t
yp(j) (x) =
(t)
0,
yn (t)
yn (t)
..
..
,
.
.
(n2)
yn
(t)
yn (x)
yn0 (t)
..
..
.
,
.
(n2)
yn
(t)
(j)
yn (x)
yn (t)
0 j n.
1 j n 2,
1
, j = n 1.
P0 (t)
j G(x, t)
F (t) dt,
1 j n 1,
xj
x0
Z x (n)
F (x)
G(x, t)
+
F (t) dt, j = n.
P0 (x)
xn
x0
Z
In Exercises
3542 use the method suggested by Exercise 34 to find a particular solution in the form
Rx
yp = x0 G(x, t)F (t) dt, given the indicated fundamental set of solutions. Assume that x and x0 are in
an interval on which the equation is normal.
35.
36.
37.
38.
39.
{ex, ex , e2x}
{x, x2 , 1/x}
x3 y000 x2 (x + 3)y00 + 2x(x + 3)y0 2(x + 3)y = F (x); {x, x2, xex}
40.
41.
x4 y(4) + 6x3 y000 + 2x2 y00 4xy0 + 4y = F (x); {x, x2, 1/x, 1/x2}
42.
{1, x, x2 , 1/x}
CHAPTER 10
Linear Systems of Differential
Equations
IN THIS CHAPTER we consider systems of differential equations involving more than one unknown
function. Such systems arise in many physical applications.
SECTION 10.1 presents examples of physical situations that lead to systems of differential equations.
SECTION 10.2 discusses linear systems of differential equations.
SECTION 10.3 deals with the basic theory of homogeneous linear systems.
SECTIONS 10.4, 10.5, AND 10.6 present the theory of constant coefficient homogeneous systems.
SECTION 10.7 presents the method of variation of parameters for nonhomogeneous linear systems.
507
Many physical situations are modelled by systems of n differential equations in n unknown functions,
where n 2. The next three examples illustrate physical problems that lead to systems of differential
equations. In these examples and throughout this chapter well denote the independent variable by t.
Example 10.1.1 Tanks T1 and T2 contain 100 gallons and 300 gallons of salt solutions, respectively. Salt
solutions are simultaneously added to both tanks from external sources, pumped from each tank to the
other, and drained from both tanks (Figure 10.1.1). A solution with 1 pound of salt per gallon is pumped
into T1 from an external source at 5 gal/min, and a solution with 2 pounds of salt per gallon is pumped
into T2 from an external source at 4 gal/min. The solution from T1 is pumped into T2 at 2 gal/min, and the
solution from T2 is pumped into T1 at 3 gal/min. T1 is drained at 6 gal/min and T2 is drained at 3 gal/min.
Let Q1 (t) and Q2 (t) be the number of pounds of salt in T1 and T2 , respectively, at time t > 0. Derive a
system of differential equations for Q1 and Q2 . Assume that both mixtures are well stirred.
5 gal/min; 1 lb/gal
T1
4 gal/min; 2 lb/gal
2 gal/min
300 gal
3 gal/min
100 gal
6 gal/min
3 gal/min
Figure 10.1.1
Solution As in Section 4.2, let rate in and rate out denote the rates (lb/min) at which salt enters and
leaves a tank; thus,
Q01
Q02
Note that the volumes of the solutions in T1 and T2 remain constant at 100 gallons and 300 gallons,
respectively.
509
1
1
Q2 3 =
Q2 lb/min.
300
100
Therefore
1
Q2 .
(10.1.1)
100
Solution leaves T1 at the rate of 8 gal/min, since 6 gal/min are drained and 2 gal/min are pumped to T2 ;
hence,
1
2
Q1 8 =
Q1 .
(10.1.2)
(rate out)1 = ( lb/gal in T1 ) (8 gal/min) =
100
25
Eqns. (10.1.1) and (10.1.2) imply that
(rate in)1 = 5 +
2
1
Q2 Q1 .
100
25
T2 receives salt from the external source at the rate of
Q01 = 5 +
(10.1.3)
1
1
Q1 2 =
Q1 lb/min.
100
50
Therefore
1
Q1 .
(10.1.4)
50
Solution leaves T2 at the rate of 6 gal/min, since 3 gal/min are drained and 3 gal/min are pumped to T1 ;
hence,
1
1
Q2 6 =
Q2 .
(10.1.5)
(rate out)2 = ( lb/gal in T2 ) (6 gal/min) =
300
50
Eqns. (10.1.4) and (10.1.5) imply that
(rate in)2 = 8 +
1
1
Q1 Q2 .
(10.1.6)
50
50
We say that (10.1.3) and (10.1.6) form a system of two first order equations in two unknowns, and write
them together as
Q02 = 8 +
Q01
Q02
2
Q1 +
25
1
= 8 + Q1
50
= 5
1
Q2
100
1
Q2 .
50
Example 10.1.2 A mass m1 is suspended from a rigid support on a spring S1 and a second mass m2
is suspended from the first on a spring S2 (Figure 10.1.2). The springs obey Hookes law, with spring
constants k1 and k2 . Internal friction causes the springs to exert damping forces proportional to the rates
of change of their lengths, with damping constants c1 and c2 . Let y1 = y1 (t) and y2 = y2 (t) be the
displacements of the two masses from their equilibrium positions at time t, measured positive upward.
Derive a system of differential equations for y1 and y2 , assuming that the masses of the springs are
negligible and that vertical external forces F1 and F2 also act on the objects.
Spring S
Mass m
Spring S
Mass m
Figure 10.1.2
Solution In equilibrium, S1 supports both m1 and m2 and S2 supports only m2 . Therefore, if `1 and
`2 are the elongations of the springs in equilibrium then
(m1 + m2 )g = k1 `1
and
m2 g = k2 `2 .
(10.1.7)
Let H1 be the Hookes law force acting on m1 , and let D1 be the damping force on m1 . Similarly, let
H2 and D2 be the Hookes law and damping forces acting on m2 . According to Newtons second law of
motion,
m1 y100 = m1 g + H1 + D1 + F1 ,
(10.1.8)
m2 y200 = m2 g + H2 + D2 + F2 .
When the displacements are y1 and y2 , the change in length of S1 is y1 + `1 and the change in length
of S2 is y2 + y1 + `2 . Both springs exert Hookes law forces on m1 , while only S2 exerts a Hookes
law force on m2 . These forces are in directions that tend to restore the springs to their natural lengths.
Therefore
H1 = k1 (y1 + `1 ) k2 (y2 + y1 + `2 )
and
H2 = k2 (y2 + y1 + `2 ).
(10.1.9)
When the velocities are y10 and y20 , S1 and S2 are changing length at the rates y10 and y20 + y10 , respectively. Both springs exert damping forces on m1 , while only S2 exerts a damping force on m2 . Since the
force due to damping exerted by a spring is proportional to the rate of change of length of the spring and
in a direction that opposes the change, it follows that
D1 = c1 y10 + c2 (y20 y10 )
and
D2 = c2 (y20 y10 ).
(10.1.10)
511
=
=
and
m2 y200
=
=
From (10.1.7),
m1 g + k1 (y1 + `1 ) k2 (y2 + y1 + `2 )
(10.1.11)
(10.1.12)
m1 g k1 `1 + k2 `2 = m2 g + k2 `2 = 0.
=
=
Example 10.1.3 Let X = X(t) = x(t) i + y(t) j + z(t) k be the position vector at time t of an object
with mass m, relative to a rectangular coordinate system with origin at Earths center (Figure 10.1.3).
According to Newtons law of gravitation, Earths gravitational force F = F(x, y, z) on the object is
inversely proportional to the square of the distance of the object from Earths center, and directed toward
the center; thus,
K
X
xi+ yj+zk
= K
F=
,
(10.1.13)
3/2
kXk2
kXk
(x2 + y2 + z 2 )
where K is a constant. To determine K, we observe that the magnitude of F is
kFk = K
kXk
K
K
=
= 2
.
kXk3
kXk2
(x + y2 + z 2 )
Let R be Earths radius. Since kFk = mg when the object is at Earths surface,
mg =
K
,
R2
so
K = mgR2 .
xi+yj+zk
3/2
(x2 + y2 + z 2 )
Now suppose F is the only force acting on the object. According to Newtons second law of motion,
F = mX00 ; that is,
xi+yj+ zk
m(x00 i + y00 j + z 00 k) = mgR2
.
3/2
(x2 + y2 + z 2 )
Cancelling the common factor m and equating components on the two sides of this equation yields the
system
gR2 x
x00 = 2
(x + y2 + z 2 )3/2
gR2 y
(10.1.14)
y00 = 2
(x + y2 + z 2 )3/2
2
gR z
z 00 = 2
.
(x + y2 + z 2 )3/2
X(t)
Figure 10.1.3
Rewriting Higher Order Systems as First Order Systems
A system of the form
y10
y20
=
=
..
.
g1 (t, y1 , y2 , . . . , yn )
g2 (t, y1 , y2 , . . . , yn )
yn0
gn (t, y1 , y2 , . . . , yn )
(10.1.15)
is called a first order system, since the only derivatives occurring in it are first derivatives. The derivative
of each of the unknowns may depend upon the independent variable and all the unknowns, but not on
the derivatives of other unknowns. When we wish to emphasize the number of unknown functions in
(10.1.15) we will say that (10.1.15) is an n n system.
Systems involving higher order derivatives can often be reformulated as first order systems by introducing additional unknowns. The next two examples illustrate this.
Example 10.1.4 Rewrite the system
m1 y100
m2 y200
=
=
=
=
(10.1.16)
513
v1
y20
v10
v20
v2
1
[(c1 + c2 )v1 + c2 v2 (k1 + k2 )y1 + k2 y2 + F1 ]
m1
1
[c2 v1 c2 v2 + k2 y1 k2 y2 + F2 ] .
m2
(10.1.17)
R EMARK: The difference in form between (10.1.15) and (10.1.17), due to the way in which the unknowns
are denoted in the two systems, isnt important; (10.1.17) is a first order system, in that each equation in
(10.1.17) expresses the first derivative of one of the unknown functions in a way that does not involve
derivatives of any of the other unknowns.
Example 10.1.5 Rewrite the system
x00
y000
=
=
y = y1 ,
y0 = y2 ,
y00 = y3 .
x2
x02
y10
y20
y30
=
=
=
=
f(t, x1 , x2 , y1 , y2 , y3 )
y2
y3
g(t, x1 , x2, y1 , y2 , y3 ).
y0 = y2 ,
y00 = y3 ,
and
y000 = y4 .
(10.1.18)
=
=
=
y2
y3
y4
y40
x = y1 ,
and
x00 = y3 .
Then
y10 = x0 = y2 ,
y20 = x00 = y3 ,
and
y30 = x000 .
y2
y20
y30
=
=
y3
f(t, y1 , y2 , y3 ).
Since systems of differential equations involving higher derivatives can be rewritten as first order systems by the method used in Examples 10.1.5 10.1.7 , well consider only first order systems.
Numerical Solution of Systems
The numerical methods that we studied in Chapter 3 can be extended to systems, and most differential
equation software packages include programs to solve systems of equations. We wont go into detail on
numerical methods for systems; however, for illustrative purposes well describe the Runge-Kutta method
for the numerical solution of the initial value problem
y10
y20
=
=
g1 (t, y1 , y2 ),
g2 (t, y1 , y2 ),
y1 (t0 ) = y10 ,
y2 (t0 ) = y20
i = 0, 1, . . . , n,
b t0
.
n
Well denote the approximate values of y1 and y2 at these points by y10 , y11 , . . . , y1n and y20 , y21 , . . . , y2n .
h=
515
The Runge-Kutta method computes these approximate values as follows: given y1i and y2i , compute
I1i
J1i
I2i
J2i
I3i
J3i
I4i
J4i
and
h
(I1i + 2I2i + 2I3i + I4i ),
6
h
y2,i+1 = y2i + (J1i + 2J2i + 2J3i + J4i )
6
for i = 0, . . . , n1. Under appropriate conditions on g1 and g2 , it can be shown that the global truncation
error for the Runge-Kutta method is O(h4 ), as in the scalar case considered in Section 3.3.
y1,i+1
y1i +
10.1 Exercises
1.
Tanks T1 and T2 contain 50 gallons and 100 gallons of salt solutions, respectively. A solution
with 2 pounds of salt per gallon is pumped into T1 from an external source at 1 gal/min, and a
solution with 3 pounds of salt per gallon is pumped into T2 from an external source at 2 gal/min.
The solution from T1 is pumped into T2 at 3 gal/min, and the solution from T2 is pumped into T1
at 4 gal/min. T1 is drained at 2 gal/min and T2 is drained at 1 gal/min. Let Q1 (t) and Q2 (t) be the
number of pounds of salt in T1 and T2 , respectively, at time t > 0. Derive a system of differential
equations for Q1 and Q2 . Assume that both mixtures are well stirred.
2.
Two 500 gallon tanks T1 and T2 initially contain 100 gallons each of salt solution. A solution
with 2 pounds of salt per gallon is pumped into T1 from an external source at 6 gal/min, and a
solution with 1 pound of salt per gallon is pumped into T2 from an external source at 5 gal/min.
The solution from T1 is pumped into T2 at 2 gal/min, and the solution from T2 is pumped into T1
at 1 gal/min. Both tanks are drained at 3 gal/min. Let Q1 (t) and Q2 (t) be the number of pounds
of salt in T1 and T2 , respectively, at time t > 0. Derive a system of differential equations for Q1
and Q2 thats valid until a tank is about to overflow. Assume that both mixtures are well stirred.
3.
A mass m1 is suspended from a rigid support on a spring S1 with spring constant k1 and damping
constant c1 . A second mass m2 is suspended from the first on a spring S2 with spring constant k2
and damping constant c2 , and a third mass m3 is suspended from the second on a spring S3 with
spring constant k3 and damping constant c3 . Let y1 = y1 (t), y2 = y2 (t), and y3 = y3 (t) be the
displacements of the three masses from their equilibrium positions at time t, measured positive
upward. Derive a system of differential equations for y1 , y2 and y3 , assuming that the masses of
the springs are negligible and that vertical external forces F1 , F2 , and F3 also act on the masses.
5.
u0 = f(t, u, v, v0 , w 0 )
(b) v00 = g(t, u, v, v0 , w)
w 00 = h(t, u, v, v0 , w, w 0)
(e)
x00 = f(t, x, y)
y00 = g(t, x, y)
6.
Rewrite the system (10.1.14) of differential equations derived in Example 10.1.3 as a first order
system.
7.
Formulate a version of Eulers method (Section 3.1) for the numerical solution of the initial value
problem
y10 = g1 (t, y1 , y2 ), y1 (t0 ) = y10 ,
y20 = g2 (t, y1 , y2 ), y2 (t0 ) = y20 ,
on an interval [t0 , b].
8.
Formulate a version of the improved Euler method (Section 3.2) for the numerical solution of the
initial value problem
y10 = g1 (t, y1 , y2 ), y1 (t0 ) = y10 ,
y20 = g2 (t, y1 , y2 ), y2 (t0 ) = y20 ,
on an interval [t0 , b].
=
=
..
.
yn0
.. =
..
..
..
..
.
.
.
.
.
yn0
ann (t)
y1
y2
..
.
yn
f1 (t)
f2 (t)
..
.
fn (t)
(10.2.1)
517
or more briefly as
y0 = A(t)y + f (t),
(10.2.2)
where
y=
y1
y2
..
.
yn
A(t) =
a11 (t)
a21 (t)
..
.
a12 (t)
a22 (t)
..
.
..
.
a1n (t)
a2n (t)
..
.
an1 (t)
an2 (t)
ann (t)
f (t) =
and
f1 (t)
f2 (t)
..
.
fn (t)
We call A the coefficient matrix of (10.2.2) and f the forcing function. Well say that A and f are continuous if their entries are continuous. If f = 0, then (10.2.2) is homogeneous; otherwise, (10.2.2) is
nonhomogeneous.
An initial value problem for (10.2.2) consists of finding a solution of (10.2.2) that equals a given
constant vector
k1
k2
k = . .
..
kn
y(t0 ) = k.
The next theorem gives sufficient conditions for the existence of solutions of initial value problems for
(10.2.2). We omit the proof.
Theorem 10.2.1 Suppose the coefficient matrix A and the forcing function f are continuous on (a, b), let
t0 be in (a, b), and let k be an arbitrary constant n-vector. Then the initial value problem
y0 = A(t)y + f (t),
y(t0 ) = k
=
=
y1 + 2y2 + 2e4t
2y1 + y2 + e4t
(10.2.3)
in matrix form and conclude from Theorem 10.2.1 that every initial value problem for (10.2.3) has
a unique solution on (, ).
y=
1
5
8
7
e4t + c1
1
1
e3t + c2
1
1
1
y(0) =
5
et
3
22
(10.2.4)
(10.2.5)
y(t0 ) =
k1
k2
Since the coefficient matrix and the forcing function are both continuous on (, ), Theorem 10.2.1
implies that this problem has a unique solution on (, ).
S OLUTION (b) If y is given by (10.2.4), then
1 1 2
8
1 2
1
Ay + f =
e4t + c1
e3t
7
2 1
1
5 2 1
1 2
1
2
t
+c2
e +
e4t
2 1
1
1
1 22
3
1
2
=
e4t + c1
e3t + c2
et +
e4t
3
1
1
5 23
1 32
1
1
4t
3t
=
e + 3c1
e c2
et = y0 .
1
1
5 28
S OLUTION (c) We must choose c1 and c2 in (10.2.4) so that
1 8
1 3
1
1
+ c1
+ c2
=
,
1
1
5 7
5 22
which is equivalent to
1
1
1
1
c1
c2
1
3
(10.2.6)
as developed in Sections 9.1. For example, by rewriting (10.2.6) as an equivalent linear system it can be
shown that Theorem 10.2.1 implies Theorem 9.1.1 (Exercise 12).
519
10.2 Exercises
1.
2.
Rewrite the system in matrix form and verify that the given vector function satisfies the system for
any choice of the constants c1 and c2 .
y10 = 2y1 + 4y2
1
1
6t
(a)
y = c1
e + c2
e2t
y20 = 4y1 + 2y2 ;
1
1
y10 = 2y1 2y2
1
2
4t
(b)
y
=
c
e
+
c
e3t
1
2
y20 = 5y1 + y2 ;
1
5
y10 = 4y1 10y2
5
2
2t
(c)
y = c1
e + c2
et
y20 =
3y1 + 7y2 ;
3
1
y10 = 2y1 + y2
1
1
3t
(d)
y = c1
e + c2
et
y20 =
y1 + 2y2 ;
1
1
Rewrite the system in matrix form and verify that the given vector function satisfies the system for
any choice of the constants c1 , c2 , and c3 .
= y1 + 2y2 + 3y3
=
y2 + 6y3
=
2y3 ;
1
1
1
y = c1 1 et + c2 0 et + c3 2 e2t
1
0
0
0
y1 =
2y2 + 2y3
(b) y20 = 2y1
+ 2y3
y30 = 2y1 + 2y2 ;
1
0
1
y = c1 0 e2t + c2 1 e2t + c3 1 e4t
1
1
1
y10 = y1 + 2y2 + 2y3
(c) y20 = 2y1 y2 + 2y3
y30 = 2y1 + 2y2 y3 ;
1
0
1
y = c1 0 e3t + c2 1 e3t + c3 1 e3t
1
1
1
0
y1 =
3y1 y2 y3
(d) y20 = 2y1 + 3y2 + 2y3
y30 =
4y1 y2 2y3 ;
1
1
1
y = c1 0 e2t + c2 1 e3t + c3 3 et
1
1
7
(a)
3.
y10
y20
y30
Rewrite the initial value problem in matrix form and verify that the given vector function is a
solution.
y10 =
y1 + y2 y1 (0) = 1
1
1
2t
(a)
y
=
2
e
e3t
y20 = 2y1 + 4y2 , y2 (0) = 0;
1
2
y10 = 5y1 + 3y2 y1 (0) =
12
1
3
2t
(b)
y=3
e +3
e4t
y20 = y1 + y2 , y2 (0) = 6;
1
1
5.
Rewrite the initial value problem in matrix form and verify that the given vector function is a
solution.
6y1 + 4y2 + 4y3
y1 (0) =
3
y10 =
(a) y20 = 7y1 2y2 y3 , , y2 (0) = 6
y30 =
7y1 + 4y2 + 3y3
y3 (0) =
4
1
1
0
y = 1 e6t + 2 2 e2t + 1 et
1
1
1
0
y1 =
8y1 + 7y2 + 7y3 y1 (0) =
2
(b) y20 = 5y1 6y2 9y3 , y2 (0) = 4
y30 =
5y1 + 7y2 + 10y3 , y3 (0) =
3
1
0
1
y = 1 e8t + 1 e3t + 2 et
1
1
1
Rewrite the system in matrix form and verify that the given vector function satisfies the system for
any choice of the constants c1 and c2 .
(a)
(b)
= 3y1 + 2y2 + 3 2t
= 5y1 + 3y2 + 6 3t
2 cos t
2 sin t
1
y = c1
+ c2
+
3 cos t sin t
3 sin t + cos t
t
= 3y1 + y2 5et
= y1 + y2 + et
1
1+t
1
y = c1
e2t + c2
e2t +
et
1
t
3
y10
y20
6.
y10
y20
y10
y20
(A)
y0 = A(t)y + f (t),
and show that A and f are continuous on an interval (a, b) if and only if (A) is normal on (a, b).
7.
A matrix function
Q(t) =
q11(t)
q21(t)
..
.
q12 (t)
q22 (t)
..
.
qr1 (t)
qr2 (t)
q1s (t)
q2s (t)
..
..
.
.
qrs (t)
521
is said to be differentiable if its entries {qij } are differentiable. Then the derivative Q0 is defined
by
0
0
0
q11 (t) q12
(t) q1s
(t)
0
0
0
q21
(t) q22
(t) q2s
(t)
Q0 (t) =
.
..
..
.
.
.
.
.
.
.
.
0
qr1
(t)
0
qr2
(t)
0
qrs
(t)
(a) Prove: If P and Q are differentiable matrices such that P + Q is defined and if c1 and c2 are
constants, then
(c1 P + c2 Q)0 = c1 P 0 + c2 Q0 .
(b) Prove: If P and Q are differentiable matrices such that P Q is defined, then
(P Q)0 = P 0 Q + P Q0 .
8.
9.
Verify that Y 0 = AY .
6t
e
e2t
2 4
(a) Y =
, A=
e6t e2t
4 2
4t
3t
e
2e
2 2
(b) Y =
, A=
e4t
5e3t
5
1
2t
t
5e
2e
4 10
(c) Y =
,
A
=
3e2t et
3
7
3t
t
e
e
2 1
(d) Y =
, A=
e3t et
1 2
t
e et
e2t
1 2
3
0 2e2t , A = 0 1
6
(e) Y = et
0
0
e2t
0 0 2
3t
e
e
0
9 6 6
(g) Y = e3t
0
e3t , A = 6 3 6
3t
3t
e
e
e3t
6 6 3
2t
e
e3t
et
3 1 1
(h) Y = 0 e3t 3et , A = 2
3
2
e2t
e3t
7et
4 1 2
Suppose
y1 =
y11
y21
and
y2 =
y12
y22
y11
y21
y12
y22
(A)
11.
It can be shown that if Y is a differentiable and invertible square matrix function, then Y 1 is
differentiable.
(a) Show that (Y 1 )0 = Y 1 Y 0 Y 1 . (Hint: Differentiate the identity Y 1 Y = I.)
n
(b) Find the derivative of Y n = Y 1 , where n is a positive integer.
(c) State how the results obtained in (a) and (b) are analogous to results from calculus concerning
scalar functions.
12.
Show that Theorem 10.2.1 implies Theorem 9.1.1. H INT: Write the scalar equation
P0 (x)y(n) + P1 (x)y(n1) + + Pn (x)y = F (x)
13.
10.3
Suppose y is a solution of the n n system y0 = A(t)y on (a, b), and that the n n matrix P is
invertible and differentiable on (a, b). Find a matrix B such that the function x = P y is a solution
of x0 = Bx on (a, b).
In this section we consider homogeneous linear systems y0 = A(t)y, where A = A(t) is a continuous
n n matrix function on an interval (a, b). The theory of linear homogeneous systems has much in
common with the theory of linear homogeneous scalar equations, which we considered in Sections 2.1,
5.1, and 9.1.
Whenever we refer to solutions of y0 = A(t)y well mean solutions on (a, b). Since y 0 is obviously
a solution of y0 = A(t)y, we call it the trivial solution. Any other solution is nontrivial.
If y1 , y2 , . . . , yn are vector functions defined on an interval (a, b) and c1 , c2 , . . . , cn are constants,
then
y = c1 y1 + c2 y2 + + cn yn
(10.3.1)
is a linear combination of y1 , y2 , . . . ,yn . Its easy show that if y1 , y2 , . . . ,yn are solutions of y0 = A(t)y
on (a, b), then so is any linear combination of y1 , y2 , . . . , yn (Exercise 1). We say that {y1 , y2 , . . . , yn }
is a fundamental set of solutions of y0 = A(t)y on (a, b) on if every solution of y0 = A(t)y on (a, b) can
be written as a linear combination of y1 , y2 , . . . , yn , as in (10.3.1). In this case we say that (10.3.1) is
the general solution of y0 = A(t)y on (a, b).
It can be shown that if A is continuous on (a, b) then y0 = A(t)y has infinitely many fundamental sets
of solutions on (a, b) (Exercises 15 and 16). The next definition will help to characterize fundamental
sets of solutions of y0 = A(t)y.
We say that a set {y1 , y2 , . . . , yn } of n-vector functions is linearly independent on (a, b) if the only
constants c1 , c2 , . . . , cn such that
c1 y1 (t) + c2 y2 (t) + + cn yn (t) = 0,
a < t < b,
(10.3.2)
are c1 = c2 = = cn = 0. If (10.3.2) holds for some set of constants c1 , c2 , . . . , cn that are not all
zero, then {y1 , y2 , . . . , yn } is linearly dependent on (a, b)
The next theorem is analogous to Theorems 5.1.3 and 9.1.2.
523
Theorem 10.3.1 Suppose the nn matrix A = A(t) is continuous on (a, b). Then a set {y1 , y2 , . . . , yn }
of n solutions of y0 = A(t)y on (a, b) is a fundamental set if and only if its linearly independent on (a, b).
Example 10.3.1 Show that the vector functions
t
e
0
y1 = 0 , y2 = e3t ,
et
1
and
e2t
y3 = e3t
0
Solution Suppose
2t
et
0
e
0
c1 0 + c2 e3t + c3 e3t = 0 ,
et
1
0
0
a < t < b.
0
0 e2t
c1
e3t e3t c2 = 0 , a < t < b.
0
1
0
c3
Expanding the determinant of this system in cofactors of the entries of the first row yields
t
e
3t
0 e2t
0 e3t
e3t
e3t
2t 0
0 e3t e3t = et e
0
+
e
t
t
t
1
e
e
0
0
1
e
1
0
et (e3t ) + e2t (e2t ) = 2e4t .
y11
y12
y1n
y21
y22
y2n
y1 = . , y2 = . , . . . , yn = . .
..
..
..
yn1
yn2
ynn
If
y = c1 y1 + c2 y2 + + cn yn
then
= c1
y11
y21
..
.
yn1
y11
y21
= .
..
yn1
+ c2
y12
y22
..
.
yn2
y12
y22
..
.
yn2
y1n
y2n
..
..
.
.
ynn
+ + cn
c1
c2
..
.
cn
y1n
y2n
..
.
ynn
c=
and
Y = [y1 y2 yn ] =
c1
c2
..
.
cn
y11
y21
..
.
y12
y22
..
.
..
.
yn1
yn2
ynn
=
=
=
(10.3.3)
y1n
y2n
..
.
(10.3.4)
y11
y21
W = .
..
yn1
y12
y22
..
.
..
.
y1n
y2n
..
.
yn2
ynn
(10.3.5)
is called the Wronskian of {y1 , y2 , . . . , yn }. It can be shown (Exercises 2 and 3) that this definition is
analogous to definitions of the Wronskian of scalar functions given in Sections 5.1 and 9.1. The next
theorem is analogous to Theorems 5.1.4 and 9.1.3. The proof is sketched in Exercise 4 for n = 2 and in
Exercise 5 for general n.
Theorem 10.3.2 [Abels Formula] Suppose the n n matrix A = A(t) is continuous on (a, b), let
y1 , y2 , . . . , yn be solutions of y0 = A(t)y on (a, b), and let t0 be in (a, b). Then the Wronskian of
{y1 , y2 , . . . , yn } is given by
Z t
W (t) = W (t0 ) exp
a11 (s) + a22 (s) + + ann (s)] ds , a < t < b.
(10.3.6)
t0
R EMARK: The sum of the diagonal entries of a square matrix A is called the trace of A, denoted by
tr(A). Thus, for an n n matrix A,
tr(A) = a11 + a22 + + ann ,
525
Z
t0
tr(A(s)) ds ,
a < t < b.
We say that Y in (10.3.4) is a fundamental matrix for y0 = A(t)y if any (and therefore all) of the
statements (a)-(e) of Theorem 10.3.2 are true for the columns of Y . In this case, (10.3.3) implies that the
general solution of y0 = A(t)y can be written as y = Y c, where c is an arbitrary constant n-vector.
Example 10.3.2 The vector functions
e2t
y1 =
2e2t
y2 =
and
et
et
4 3
6
5
(10.3.7)
on (, ). (Verify.)
(a) Compute the Wronskian of {y1 , y2 } directly from the definition (10.3.5)
(b) Verify Abels formula (10.3.6) for the Wronskian of {y1 , y2 }.
(c) Find the general solution of (10.3.7).
y =
4 3
6
5
y,
y(0) =
4
5
(10.3.8)
= et .
(10.3.9)
e2t
W (t) =
2e2t
et
1
2t t
=
e
e
et
2
A=
4 3
6
5
1
1
S OLUTION (c) Since W (t) 6= 0, Theorem 10.3.3 implies that {y1 , y2 } is a fundamental set of solutions
of (10.3.7) and
e2t et
Y =
2e2t
et
is a fundamental matrix for (10.3.7). Therefore the general solution of (10.3.7) is
e2t
et
e2t et
c1
y = c1 y1 + c2 y2 = c1
+ c2
=
.
2e2t
et
2e2t
et
c2
(10.3.10)
S OLUTION (d) Setting t = 0 in (10.3.10) and imposing the initial condition in (10.3.8) yields
1
1
4
c1
+ c2
=
.
2
1
5
Thus,
c1 c2
2c1 + c2
5.
The solution of this system is c1 = 1, c2 = 3. Substituting these values into (10.3.10) yields
e2t
et
e2t + 3et
y=
3
=
2e2t
et
2e2t 3et
as the solution of (10.3.8).
10.3 Exercises
1.
Prove: If y1 , y2 , . . . , yn are solutions of y0 = A(t)y on (a, b), then any linear combination of y1 ,
y2 , . . . , yn is also a solution of y0 = A(t)y on (a, b).
2.
In Section 5.1 the Wronskian of two solutions y1 and y2 of the scalar second order equation
P0 (x)y00 + P1 (x)y0 + P2 (x)y = 0
was defined to be
y
W = 10
y1
y2
.
y20
(A)
(a) Rewrite (A) as a system of first order equations and show that W is the Wronskian (as defined
in this section) of two solutions of this system.
(b) Apply Eqn. (10.3.6) to the system derived in (a), and show that
Z x
P1 (s)
W (x) = W (x0 ) exp
ds ,
x0 P0 (s)
which is the form of Abels formula given in Theorem 9.1.3.
527
y1
y10
W =
..
.
(n1)
y
1
y2
y20
..
.
(n1)
y2
yn0
..
yn
..
.
(n1)
yn
(A)
(a) Rewrite (A) as a system of first order equations and show that W is the Wronskian (as defined
in this section) of n solutions of this system.
(b) Apply Eqn. (10.3.6) to the system derived in (a), and show that
Z x
P1 (s)
W (x) = W (x0 ) exp
ds ,
x0 P0 (s)
which is the form of Abels formula given in Theorem 9.1.3.
4.
Suppose
y1 =
y11
y21
and
y2 =
y12
y22
y12
;
y22
y12
0
.
y22
(b) Use the equation Y 0 = A(t)Y and the definition of matrix multiplication to show that
0
[y11
0
y12
] = a11 [y11
y22 ]
0
[y21
0
y22
] = a21 [y11
y22 ].
and
(c) Use properties of determinants to deduce from (a) and (a) that
0
0
y11 y12
y12
= a11 W and y11
0
0
y21 y22
y21
y22
= a22 W.
a < t < b.
Y = .
..
.. ,
..
..
.
.
.
yn1
yn2
ynn
a < t < b.
t0
6.
Suppose the n n matrix A is continuous on (a, b) and t0 is a point in (a, b). Let Y be a fundamental matrix for y0 = A(t)y on (a, b).
(a) Show that Y (t0 ) is invertible.
(b) Show that if k is an arbitrary n-vector then the solution of the initial value problem
y0 = A(t)y,
y(t0 ) = k
is
y = Y (t)Y 1 (t0 )k.
7.
Let
A=
2 4
4 2
y1 =
e6t
e6t
y2 =
e2t
e2t
k=
y(0) = k.
3
9
(A)
529
(c) Use the result of Exercise 6(b) to find a formula for the solution of (A) for an arbitrary initial
vector k.
8.
9.
10.
11.
y1 =
e4t
e4t
y1 =
5e2t
3e2t
y1 =
e3t
e3t
y2 =
y2 =
y2 =
2e3t
5e3t
2et
et
et
et
k=
10
4
k=
19
11
2
8
k=
Let
A
y1
3 1 1
2
3
2 ,
4 1 2
2t
3t
e
e
0 , y2 = e3t ,
e2t
e3t
et
y3 = 3et ,
7et
2
k = 7 .
20
y(0) = k.
(A)
(c) Use the result of Exercise 6(b) to find a formula for the solution of (A) for an arbitrary initial
vector k.
12.
13.
0 2
A = 2 0
2 2
e2t
y1 =
0
e2t
2
2 ,
0
e2t
y2 = e2t ,
0
1 2
3
A = 0 1
6 ,
0 0 2
t
t
e
e
y1 = et , y2 = 0 ,
0
0
e4t
y3 = e4t ,
e4t
e2t
y3 = 2e2t ,
e2t
0
k = 9 .
12
5
k = 5 .
1
Suppose Y and Z are fundamental matrices for the n n system y0 = A(t)y. Then some of the
four matrices Y Z 1 , Y 1 Z, Z 1 Y , ZY 1 are necessarily constant. Identify them and prove that
they are constant.
15.
16.
Suppose the n n matrix A = A(t) is continuous on (a, b) and t0 is in (a, b). For i = 1, 2, . . . ,
n, let yi be the solution of the initial value problem yi0 = A(t)yi , yi (t0 ) = ei , where
1
0
0
0
1
0
e1 = . , e2 = . , en = . ;
..
..
..
0
17.
Show that Y is a fundamental matrix for the system y0 = A(t)y if and only if Y 1 is a fundamental matrix for y0 = AT (t)y, where AT denotes the transpose of A. H INT: See Exercise
11.
18.
Let Z be the fundamental matrix for the constant coefficient system y0 = Ay such that Z(0) = I.
(a) Show that Z(t)Z(s) = Z(t + s) for all s and t. H INT: For fixed s let 1 (t) = Z(t)Z(s)
and 2 (t) = Z(t + s). Show that 1 and 2 are both solutions of the matrix initial value
problem 0 = A, (0) = Z(s). Then conclude from Theorem 10.2.1 that 1 = 2 .
(b) Show that (Z(t))1 = Z(t).
(c) The matrix Z defined above is sometimes denoted by etA . Discuss the motivation for this
notation.
10.4
(10.4.1)
(10.4.2)
531
but we did not show how we obtained y1 and y2 in the first place. To see how these solutions can be
obtained we write (10.4.2) as
y10 = 4y1 3y2
(10.4.3)
y20 =
6y1 + 5y2
and look for solutions of the form
y1 = x1 et
and
y2 = x2 et ,
(10.4.4)
and
y20 = x2 et .
Substituting this and (10.4.4) into (10.4.3) and canceling the common factor et yields
4x1 3x2
6x1 + 5x2
=
=
x1
x2 .
=
=
0
0.
(10.4.5)
The trivial solution x1 = x2 = 0 of this system isnt useful, since it corresponds to the trivial solution
y1 y2 0 of (10.4.3), which cant be part of a fundamental set of solutions of (10.4.2). Therefore we
consider only those values of for which (10.4.5) has nontrivial solutions. These are the values of for
which the determinant of (10.4.5) is zero; that is,
4
3
= (4 )(5 ) + 18
6
5
=
=
2 2
( 2)( + 1) = 0,
=
=
0
0,
which implies that x1 = x2 /2, where x2 can be chosen arbitrarily. Choosing x2 = 2 yields the solution
y1 = e2t , y2 = 2e2t of (10.4.3). We can write this solution in vector form as
1
y1 =
e2t .
(10.4.6)
2
Taking = 1 in (10.4.5) yields the system
3x1 3x2
6x1 + 6x2
0,
In (10.4.6) and (10.4.7) the constant coefficients in the arguments of the exponential functions are the
eigenvalues of the coefficient matrix in (10.4.2), and the vector coefficients of the exponential functions
are associated eigenvectors. This illustrates the next theorem.
2 t
x12 e
x22 e2 t
..
.
xn2 e2 t
n t
x1ne
x2nen t
..
..
.
.
xnn exn t
x11
x21
1 t 2 t
n t
= e e e ..
.
xn1
x12
x22
..
.
xn2
..
x1n
x2n
..
.
xnn
Since the columns of the determinant on the right are x1 , x2 , . . . , xn , which are assumed to be linearly
independent, the determinant is nonzero. Therefore Theorem 10.3.3 implies that {y1 , y2 , . . . , yn } is a
fundamental set of solutions of y0 = Ay.
Example 10.4.1
(a) Find the general solution of
y0 =
2 4
4 2
(10.4.8)
y.
y =
2 4
4 2
y,
y(0) =
5
1
(10.4.9)
( 2 4)( 2 + 4)
( 6)( + 2).
Hence, 1 = 6 and 2 = 2 are eigenvalues of A. To obtain the eigenvectors, we must solve the system
2
4
x1
0
=
(10.4.10)
4
2
x2
0
with = 6 and = 2. Setting = 6 in (10.4.10) yields
4
4
x1
0
=
,
4 4
x2
0
533
1
1
e6t
1
1
e2t
(10.4.11)
S OLUTION (b) To satisfy the initial condition in (10.4.9), we must choose c1 and c2 in (10.4.11) so that
1
1
5
c1
+ c2
=
.
1
1
1
This is equivalent to the system
c1 c2
c1 + c2
1,
y2 = 2e6t 3e2t .
Example 10.4.2
(a) Find the general solution of
3 1 1
3
2 y.
y0 = 2
4 1 2
(10.4.12)
3 1 1
y0 = 2
3
2 y,
4 1 2
2
y(0) = 1 .
8
(10.4.13)
3
2
4
1
x1
0
x2 = 0
2
2
x3
0
..
1
1
1
.
0
..
,
2
1
2 . 0
.
4 1 4 .. 0
which is row equivalent to
.
0 1 ..
.
1
0 ..
.
0
0 ..
.
0
1
y1 = 0 e2t
1
..
0 1 1 . 0
.
,
2
0
2 .. 0
..
4 1 5 . 0
.
0 1 ..
.
1
1 ..
.
0
0 ..
.
0
(10.4.14)
535
1
y2 = 1 e3t
1
..
4
1
1
.
0
..
,
2
4
2 . 0
.
4 1 1 .. 0
..
.
..
3
.
7
.
0 ..
0 17
1
0
.
0
1
y3 = 3 et
7
1
1
1
y = c1 0 e2t + c2 1 e3t + c3 3 et ,
1
1
7
e2t
y= 0
e2t
e3t
e3t
e3t
et
c1
3et c2 .
7et
c3
(10.4.15)
S OLUTION (b) To satisfy the initial condition in (10.4.13) we must choose c1 , c2 , c3 in (10.4.15) so that
1
1
1
c1
2
0 1 3 c2 = 1 .
1
1
7
c3
8
3
e
e3t
et
y = 0 e3t 3et 2
e2t e3t
7et
1
1
1
1
= 3 0 e2t 2 1 e3t + 3 et .
1
1
7
3
2
y0 = 2 3
2
2
2
2 y.
3
(10.4.16)
..
4
2
2
.
0
..
,
2 4
2 . 0
..
2
2 4 . 0
which is row equivalent to
.
0 1 ..
.
1 1 ..
.
0
0 ..
.
0
1
y1 = 1 et
1
of (10.4.16). Eigenvectors associated with 2
(10.4.17)
.
2 2 .. 0
.
.
2 2 .. 0
.
2 2 .. 0
Hence, the components of these eigenvectors need only satisfy the single condition
x1 + x2 + x3 = 0.
Since theres only one equation here, we can choose x2 and x3 arbitrarily. We obtain one eigenvector by
choosing x2 = 0 and x3 = 1, and another by choosing x2 = 1 and x3 = 0. In both cases x1 = 1.
Therefore
1
1
0 and 1
1
0
537
are linearly independent eigenvectors associated with 2 = 5, and the corresponding solutions of
(10.4.16) are
1
1
y2 = 0 e5t and y3 = 1 e5t .
1
0
Because of this and (10.4.17), Theorem 10.4.1 implies that the general solution of (10.4.16) is
1
1
1
y = c1 1 et + c2 0 e5t + c3 1 e5t .
1
1
0
(10.4.19)
y2
y1
y1
Figure 10.4.1 Trajectories of a 2 2 system with a Figure 10.4.2 Trajectories of a 2 2 system with a
repeated positive eigenvalue
repeated negative eigenvalue
Now suppose 2 > 1 , and let L1 and L2 denote lines through the origin parallel to x1 and x2 ,
respectively. By a half-line of L1 (or L2 ), we mean either of the rays obtained by removing the origin
from L1 (or L2 ).
Letting c2 = 0 in (10.4.19) yields y = c1 x1 e1 t . If c1 6= 0, the trajectory defined by this solution is a
half-line of L1 . The direction of motion is away from the origin if 1 > 0, toward the origin if 1 < 0.
Similarly, the trajectory of y = c2 x2 e2 t with c2 6= 0 is a half-line of L2 .
Henceforth, we assume that c1 and c2 in (10.4.19) are both nonzero. In this case, the trajectory of
(10.4.19) cant intersect L1 or L2 , since every point on these lines is on the trajectory of a solution for
which either c1 = 0 or c2 = 0. (Remember: distinct trajectories cant intersect!). Therefore the trajectory
of (10.4.19) must lie entirely in one of the four open sectors bounded by L1 and L2 , but do not any point
on L1 or L2 . Since the initial point (y1 (0), y2 (0)) defined by
y(0) = c1 x1 + c2 x2
is on the trajectory, we can determine which sector contains the trajectory from the signs of c1 and c2 , as
shown in Figure 10.4.3.
The direction of y(t) in (10.4.19) is the same as that of
e2 t y(t) = c1 x1 e(2 1)t + c2 x2
(10.4.20)
e1 t y(t) = c1 x1 + c2 x2 e(2 1 )t .
(10.4.21)
and of
Since the right side of (10.4.20) approaches c2 x2 as t , the trajectory is asymptotically parallel to L2
as t . Since the right side of (10.4.21) approaches c1 x1 as t , the trajectory is asymptotically
parallel to L1 as t .
The shape and direction of traversal of the trajectory of (10.4.19) depend upon whether 1 and 2 are
both positive, both negative, or of opposite signs. Well now analyze these three cases.
Henceforth kuk denote the length of the vector u.
539
y2
L2
L1
c1 > 0, c2 < 0
x1
c < 0, c < 0
1
2
y1
c > 0, c > 0
1
2
x2
c1 < 0, c2 > 0
L2
L1
so, although the trajectory is asymptotically parallel to L2 as t , its not asymptotically tangent to
L2 . The direction of motion along each trajectory is away from the origin.
so, although the trajectory is asymptotically parallel to L1 as t , its not asymptotically tangent to
it. The direction of motion along each trajectory is toward the origin.
Case 3: 2 > 0 > 1
Figure 10.4.6 shows some typical trajectories. In this case,
lim ky(t)k = and
lim
y(t) c2 x2 e2 t
= lim kc1 x1 e1 t k = 0,
t
so the trajectory is asymptotically tangent to L1 as t . The direction of motion is toward the origin
on L1 and away from the origin on L2 . The direction of motion along any other trajectory is away from
L1 , toward L2 .
L2
y2
L2
y1
y1
L1
L1
10.4 Exercises
In Exercises 115 find the general solution.
1.
y0 =
3.
y0 =
1
5
2
1
4
1
6
1
3
2
5.
7.
9.
11.
13.
y =
y =
1 2
2 1
y0 =
1
4
4.
y0 =
1
1
4
2
4
3
2 11
6 4 8
y0 = 4
0 4 y
8 4 6
1 1
2
y0 = 12 4 10 y
6
1 7
2.
2
2 6
y0 = 2
6
2 y
2 2
2
6.
8.
10.
12.
14.
y =
3
5
4
1
5
3
3
1
1 1 2
y0 = 1 2 3 y
4
1 1
3
5
8
y0 = 1 1 2 y
1 1 1
4
y0 = 4
1
1 4
3 2 y
1 1
3
y0 = 2
10
2 2
7 2 y
10 5
15.
3 1
y0 = 3 5
6 2
541
1
1 y
4
1
2 0
4
1
20. y0 = 4 1 0 y, y(0) = 7
6
0
0 3
1
2 2 3
1
1
21. y0 = 4
4 3 y, y(0) = 1
3
2
1 0
5
6 3 8
0
22. y0 = 2
1 2 y, y(0) = 1
3 3 5
1
2 4 7
4
1
23. y0 = 1 5 5 y, y(0) = 1
3
4 4 1
3
3
0 1
2
24. y0 = 11 2 7 y, y(0) = 7
1
0 3
6
2 5 1
8
25. y0 = 4 1
1 y, y(0) = 10
4
5
3
4
3 1 0
7
26. y0 = 4 2 0 y, y(0) = 10
4 4 2
2
2
2 6
6
27. y0 = 2
6 2 y, y(0) = 10
2 2 2
7
28.
Let A be an n n constant matrix. Then Theorem 10.2.1 implies that the solutions of
y0 = Ay
are all defined on (, ).
(A)
(a) Use Theorem 10.2.1 to show that the only solution of (A) that can ever equal the zero vector
is y 0.
29.
31.
33.
35.
C/G y0 =
C/G y =
C/G y =
1
1
1 1
9 3
1 11
5 4
1 10
C/G y =
30.
C/G y =
32.
C/G y =
34.
4
2
3
11
1
5
10
4
7
3
1
5
y
Suppose the eigenvalues of the 2 2 matrix A are = 0 and 6= 0, with corresponding eigenvectors x1 and x2 . Let L1 be the line through the origin parallel to x1 .
(a) Show that every point on L1 is the trajectory of a constant solution of y0 = Ay.
(b) Show that the trajectories of nonconstant solutions of y0 = Ay are half-lines parallel to x2
and on either side of L1 , and that the direction of motion along these trajectories is away
from L1 if > 0, or toward L1 if < 0.
The matrices of the systems in Exercises 36-41 are singular. Describe and graph the trajectories of
nonconstant solutions of the given systems.
36.
38.
40.
42.
C/G y0 =
C/G y =
C/G y =
1
1
1 1
1 3
1
3
4 4
1
1
C/G y =
37.
y
C/G y =
39.
C/G y =
41.
1
2
3
6
y
1
1
2
2
y
3
3
1
1
y
L Let P = P (t) and Q = Q(t) be the populations of two species at time t, and assume that each
population would grow exponentially if the other didnt exist; that is, in the absence of competition,
P 0 = aP
and
Q0 = bQ,
(A)
where a and b are positive constants. One way to model the effect of competition is to assume
that the growth rate per individual of each population is reduced by an amount proportional to the
other population, so (A) is replaced by
P0
aP Q
P + bQ,
543
where and are positive constants. (Since negative population doesnt make sense, this system
holds only while P and Q are both positive.) Now suppose P (0) = P0 > 0 and Q(0) = Q0 > 0.
(a) For several choices of a, b, , and , verify experimentally (by graphing trajectories of (A)
in the P -Q plane) that theres a constant > 0 (depending upon a, b, , and ) with the
following properties:
(i) If Q0 > P0 , then P decreases monotonically to zero in finite time, during which Q
remains positive.
(ii) If Q0 < P0 , then Q decreases monotonically to zero in finite time, during which P
remains positive.
(b) Conclude from (a) that exactly one of the species becomes extinct in finite time if Q0 6= P0 .
Determine experimentally what happens if Q0 = P0 .
(c) Confirm your experimental results and determine by expressing the eigenvalues and associated eigenvectors of
a
A=
b
in terms of a, b, , and , and applying the geometric arguments developed at the end of this
section.
10.5
We saw in Section 10.4 that if an n n constant matrix A has n real eigenvalues 1 , 2 , . . . , n (which
need not be distinct) with associated linearly independent eigenvectors x1 , x2 , . . . , xn , then the general
solution of y0 = Ay is
y = c1 x1 e1 t + c2 x2 e2 t + + cn xn en t .
In this section we consider the case where A has n real eigenvalues, but does not have n linearly independent eigenvectors. It is shown in linear algebra that this occurs if and only if A has at least one eigenvalue
of multiplicity r > 1 such that the associated eigenspace has dimension less than r. In this case A is
said to be defective. Since its beyond the scope of this book to give a complete analysis of systems with
defective coefficient matrices, we will restrict our attention to some commonly occurring special cases.
Example 10.5.1 Show that the system
0
y =
11 25
4 9
(10.5.1)
does not have a fundamental set of solutions of the form {x1 e1 t , x2 e2 t }, where 1 and 2 are eigenvalues of the coefficient matrix A of (10.5.1) and x1 , and x2 are associated linearly independent eigenvectors.
Solution The characteristic polynomial of A is
11
25
=
4
9
=
( 11)( + 9) + 100
2 2 + 1 = ( 1)2 .
Hence, = 1 is the only eigenvalue of A. The augmented matrix of the system (A I)x = 0 is
..
10 25 . 0 ,
.
4 10 .. 0
5
1 2
0
0
..
.
..
.
0
.
Hence,
x1 = 5x2 /2 where x2 is arbitrary. Therefore all eigenvectors of A are scalar multiples of x1 =
5
, so A does not have a set of two linearly independent eigenvectors.
2
5 t
From Example 10.5.1, we know that all scalar multiples of y1 =
e are solutions of (10.5.1);
2
however, to find the general solution we must find a second solution y2 such that {y1 , y2 } is linearly
independent. Based on your recollection of the procedure for solving a constant coefficient scalar equation
ay00 + by0 + cy = 0
in the case where the characteristic polynomial has a repeated root, you might expect toobtain
a second
5
solution of (10.5.1) by multiplying the first solution by t. However, this yields y2 =
tet , which
2
doesnt work, since
5
11 25
5
y20 =
(tet + et ), while
y2 =
tet .
2
4 9
2
The next theorem shows what to do in this situation.
Theorem 10.5.1 Suppose the nn matrix A has an eigenvalue 1 of multiplicity 2 and the associated
eigenspace has dimension 1; that is, all 1 -eigenvectors of A are scalar multiples of an eigenvector x.
Then there are infinitely many vectors u such that
(A 1 I)u = x.
(10.5.2)
and
y2 = ue1 t + xte1 t
(10.5.3)
=
=
545
To see that y1 and y2 are linearly independent, suppose c1 and c2 are constants such that
c1 y1 + c2 y2 = c1 xe1 t + c2 (ue1 t + xte1 t ) = 0.
(10.5.4)
(10.5.5)
(10.5.6)
5
2
et
is a solution of (10.5.6). From Theorem 10.5.1, a second solution is given by y2 = uet + xtet , where
(A I)u = x. The augmented matrix of this system is
..
10
25
.
5
,
..
4 10 . 2
..
.
.
0 ..
52
1
0
1
2
1
5
u1 u2 = ,
2
2
where u2 is arbitrary. We choose u2 = 0, so that u1 = 1/2 and
1
u= 2 .
0
Thus,
y2 =
1
0
et
+
2
5
2
tet .
3 4 10
y0 = 2 1 2 y.
2 2 5
(10.5.7)
..
2 4 10 . 0
.
2 0 2 .. 0 ,
..
2 2 6 . 0
which is row equivalent to
.
0 1 ..
.
1 2 ..
.
0
0 ..
.
0
1
x1 = 2 .
1
Therefore
1
y1 = 2 et
1
is a solution of (10.5.7).
Eigenvectors associated with 2 = 1 satisfy (A + I)x
..
4 4 10 .
.
2 2 2 ..
.
2 2 4 ..
,
0
547
.
1 1 0 ..
.
0 0 1 ..
.
0 0 0 ..
.
0
1
x2 = 1 ,
0
so
1
y2 = 1 et
0
is a solution of (10.5.7).
Since all the eigenvectors of A associated with 2 = 1 are multiples of x2 , we must now use Theorem 10.5.1 to find a third solution of (10.5.7) in the form
1
y3 = uet + 1 tet ,
(10.5.8)
0
where u is a solution of (A + I)u = x2 . The augmented matrix of this system is
..
4
4
10
.
1
.
,
2 2 2 ..
1
..
2 2 4 .
0
..
1 1 0 .
.
0 0 1 ..
.
0 0 0 ..
1 .
2
0
1
u = 0 ,
1
2
1
2
t
e
y3 = 0
+ 1 tet
2
0
1
of (10.5.7).
1
0
1
2
1
= ,
2
{y1 , y2 , y3 } is a fundamental set of solutions of (10.5.7). Therefore the general solution of (10.5.7) is
1
1
2
1
t
e
y = c1 2 et + c2 1 et + c3 0
+ 1 tet .
2
0
1
0
1
Theorem 10.5.2 Suppose the nn matrix A has an eigenvalue 1 of multiplicity 3 and the associated
eigenspace is onedimensional; that is, all eigenvectors associated with 1 are scalar multiples of the
eigenvector x. Then there are infinitely many vectors u such that
(A 1 I)u = x,
(10.5.9)
and, if u is any such vector, there are infinitely many vectors v such that
(A 1 I)v = u.
(10.5.10)
= xe1 t ,
= ue1 t + xte1 t , and
t2 e1 t
= ve1 t + ute1 t + x
2
1 1
1
y0 = 1 3 1 y.
0 2
2
Solution The characteristic polynomial of the coefficient matrix A in (10.5.11) is
1
1
1
1
3
1 = ( 2)3 .
0
2
2
(10.5.11)
..
1
1
1
.
0
.
1 1 1 .. 0 ,
.
0 2
0 .. 0
.
0 1 ..
.
1
0 ..
.
0
0 ..
.
0
1
x1 = 0 .
1
Therefore
1
y1 = 0 e2t
1
is a solution of (10.5.11).
We now find a second solution of (10.5.11) in the form
1
y2 = ue2t + 0 te2t ,
1
..
1
1
1
.
1
.
1 1 1 .. 0 ,
..
0 2
0 . 1
.
0 1 ..
.
1
0 ..
.
0
0 ..
12
1 .
2
0
1
1
u=
1
2
0
and
1
1
2t
e
y2 = 1
+ 0 te2t
2
0
1
is a solution of (10.5.11).
We now find a third solution of (10.5.11) in the form
1
1
2t
te
t2 e2t
y3 = ve2t + 1
+ 0
2
2
0
1
549
..
1
1
1
1
.
.
1 ,
1 1 1 ..
2
.
0 2
0 ..
0
0 1
1
Therefore
..
.
..
.
..
.
1
2
.
0
1
1
v=
0 .
2
0
1
1
1
2t
2t
e
te
t2 e2t
y3 = 0
+ 1
+ 0
2
2
2
0
0
1
is a solution of (10.5.11). Since y1 , y2 , and y3 are linearly independent by Theorem 10.5.2, they form a
fundamental set of solutions of (10.5.11). Therefore the general solution of (10.5.11) is
1
1
1
2t
e
y = c1 0 e2t + c2 1
+ 0 te2t
2
1
0
1
1
1
1
2t
2 2t
2t
e
te
t
e
.
+c3 0
+ 1
+ 0
2
2
2
0
0
1
Theorem 10.5.3 Suppose the nn matrix A has an eigenvalue 1 of multiplicity 3 and the associated
eigenspace is twodimensional; that is, all eigenvectors of A associated with 1 are linear combinations
of two linearly independent eigenvectors x1 and x2 . Then there are constants and (not both zero)
such that if
x3 = x1 + x2 ,
(10.5.12)
then there are infinitely many vectors u such that
(A 1 I)u = x3 .
(10.5.13)
= x1 e1 t ,
y2
y3
= x2 e1 t , and
= ue1 t + x3 te1 t ,
(10.5.14)
0 0 1
y0 = 1 1 1 y.
1 0 2
551
(10.5.15)
..
1 0 1 . 0
.
1 0 1 .. 0 ,
..
1 0 1 . 0
which is row equivalent to
.
0 1 ..
.
0
0 ..
.
0
0 ..
.
0
1
0
x3
x1 = x2 = x3 0 + x2 1 .
1
0
x3
Therefore the vectors
1
x1 = 0
1
and
1
y1 = 0 et
1
and
0
x2 = 1
0
0
y2 = 1 et
0
(10.5.16)
..
1
0
1
.
.
1 0 1 .. ,
.
1 0 1 ..
1 0 1
0 0
0
0 0
0
..
.
..
.
..
.
(10.5.18)
Therefore (10.5.17) has a solution if and only if = , where is arbitrary. If = = 1 then (10.5.12)
and (10.5.16) yield
1
0
1
x3 = x1 + x2 = 0 + 1 = 1 ,
1
0
1
and the augmented matrix (10.5.18) becomes
1 0
0 0
0 0
.
1 ..
.
0 ..
.
0 ..
.
0
1
u = 0 .
0
1
1
y3 = uet + x3 tet = 0 et + 1 tet
0
1
is a solution of (10.5.15). Since y1 , y2 , and y3 are linearly independent by Theorem 10.5.3, they form a
fundamental set of solutions for (10.5.15). Therefore the general solution of (10.5.15) is
1
0
1
1
y = c1 0 et + c2 1 et + c3 0 et + 1 tet .
1
0
0
1
Geometric Properties of Solutions when n = 2
Well now consider the geometric properties of solutions of a 2 2 constant coefficient system
0
y1
a11 a12
y1
=
(10.5.19)
y20
a21 a22
y2
under the assumptions of this section; that is, when the matrix
a11 a12
A=
a21 a22
has a repeated eigenvalue 1 and the associated eigenspace is one-dimensional. In this case we know
from Theorem 10.5.1 that the general solution of (10.5.19) is
y = c1 xe1 t + c2 (ue1 t + xte1 t ),
(10.5.20)
553
(10.5.21)
We assume that 1 6= 0.
Negative HalfPlane
x
c <0
c >0
Positive HalfPlane
(b) Along trajectories in the negative half-plane (c2 < 0), the direction of y(t) approaches the direction
of x as t and the direction of x as t .
lim y(t) = 0 if
1 > 0,
lim y(t) = 0 if
1 < 0,
or
lim ky(t)k = and
there are four possible patterns for the trajectories of (10.5.19), depending upon the signs of c2 and 1 .
Figures 10.5.2-10.5.5 illustrate these patterns, and reveal the following principle:
If 1 and c2 have the same sign then the direction of the traectory approaches the direction of x as
kyk 0 and the direction of x as kyk . If 1 and c2 have opposite signs then the direction of the
trajectory approaches the direction of x as kyk 0 and the direction of x as kyk .
y2
y2
x
u
y1
y1
y2
y2
x
u
y1
y1
u
Figure 10.5.4 Negative eigenvalue; motion toward Figure 10.5.5 Negative eigenvalue; motion toward
the origin
the origin
10.5 Exercises
In Exercises 112 find the general solution.
1.
3.
5.
7.
9.
11.
y0 =
y =
y =
y =
2.
3
1
4
7
7
1
4
11
4
3
12
8
13 16
9 11
y
1
1
1
y0 = 4 4
3
2
1
y0 =
4.
6.
8.
3
3 y
0
4 2 2
y0 = 2
3 1 y
2 1
3
10.
12.
y =
y =
0
1
1
2
3 1
1 1
10
4
9
2
0 2 1
y0 = 4 6 1 y
0 4 2
1
y0 = 2
1
6
y0 = 2
2
1
1
0
6
18. y0 = 1 1 2 y, y(0) = 5
7
1 1 1
2 2 1
6
19. y0 = 2 2 1 y, y(0) = 2
3 3 2
0
7 4 4
6
0 1 y, y(0) = 9
20. y0 = 1
9 5 6
1
1 1
0
2 y
3 1
5 3
1 3 y
1 1
555
21.
22.
23.
1 4
y0 = 3
6
3 2
4 8
y0 = 3 1
1 1
5 1
y0 = 7
1
4
0
1
2
1 y, y(0) = 1
3
3
4
4
3 y, y(0) = 1
9
3
11
0
13 y, y(0) = 2
8
2
The coefficient matrices in Exercises 2432 have eigenvalues of multiplicity 3. Find the general solution.
24.
26.
28.
30.
32.
33.
5 1
1
9 3 y
y0 = 1
2
2
4
25.
6 4 4
1 y
y0 = 2 1
2
3
1
10
11 y
8
1
1 y
2
0
0 y
2
2 12
y0 = 2 24
2 24
4
0
y0 = 1 3
1
0
3 1
y0 = 1 1
1 1
27.
29.
31.
10 12
2
3 y
1
6
1
y0 = 2
2
0 2 2
y0 = 1 5 3 y
1 1
1
1 12 8
y0 = 1 9 4 y
1 6 1
3 3
4
5 8 y
y0 = 4
2
3 5
and
(A 1 I)
u = x,
y2 = ue1 t + xte1 t
and
2 = u
e1 t + xte1 t .
y
and let
34.
xe1 t ,
y2
y3
Complete the proof of Theorem 10.5.2 by showing that y3 is a solution of y0 = Ay and that
{y1 , y2 , y3 } is linearly independent.
557
a11
a21
a12
a22
has a repeated eigenvalue 1 and the associated eigenspace is one-dimensional. Let x be a 1 eigenvector of A. Show that if (A 1 I)u1 = x and (A 1 I)u2 = x, then u2 u1 is parallel
to x. Conclude from this that all vectors u such that (A 1 I)u = x define the same positive and
negative half-planes with respect to the line L through the origin parallel to x.
In Exercises 36- 45 plot trajectories of the given system.
36.
38.
40.
42.
44.
10.6
C/G
C/G
C/G
C/G
C/G
y0 =
y =
y =
y =
y =
3
4
1
1
1
3
3
5
2
3
3
4
0 1
1 2
2
1
1
0
37.
C/G
y =
39.
41.
43.
45.
C/G
C/G
C/G
C/G
y =
y =
y =
y =
2
1
1
0
y
5
3
3
1
y
4 3
3
2
0 1
1 2
y
0
1
y
4
4
We now consider the system y0 = Ay, where A has a complex eigenvalue = + i with 6= 0.
We continue to assume that A has real entries, so the characteristic polynomial of A has real coefficients.
This implies that = i is also an eigenvalue of A.
An eigenvector x of A associated with = + i will have complex entries, so well write
x = u + iv
where u and v have real entries; that is, u and v are the real and imaginary parts of x. Since Ax = x,
A(u + iv) = ( + i)(u + iv).
(10.6.1)
Taking complex conjugates here and recalling that A has real entries yields
A(u iv) = ( i)(u iv),
which shows that x = u iv is an eigenvector associated with = i. The complex conjugate
eigenvalues and can be separately associated with linearly independent solutions y0 = Ay; however,
we wont pursue this approach, since solutions obtained in this way turn out to be complexvalued.
Instead, well obtain solutions of y0 = Ay in the form
y = f1 u + f2 v
where f1 and f2 are realvalued scalar functions. The next theorem shows how to do this.
(10.6.2)
(10.6.3)
(10.6.4)
Carrying out the multiplication indicated on the right side of (10.6.1) and collecting the real and imaginary
parts of the result yields
A(u + iv) = (u v) + i(v + u).
Equating real and imaginary parts on the two sides of this equation yields
Au
Av
= u v
= v + u.
We leave it to you (Exercise 25) to show from this that u and v are both nonzero. Substituting from these
equations into (10.6.4) yields
f10 u + f20 v
=
=
f1 (u v) + f2 (v + u)
(f1 + f2 )u + (f1 + f2 )v.
This is true if
f10
f20
=
=
f1 + f2
f1 + f2 ,
or, equivalently,
f10 f1
f20 f2
=
=
f2
f1 .
If we let f1 = g1 et and f2 = g2 et , where g1 and g2 are to be determined, then the last two equations
become
g10 =
g2
g20 = g1 ,
which implies that
g100 = g20 = 2 g1 ,
so
g100 + 2 g1 = 0.
The general solution of this equation is
g1 = c1 cos t + c2 sin t.
Moreover, since g2 = g10 /,
g2 = c1 sin t + c2 cos t.
559
f2
=
=
(10.6.5)
is a solution of y0 = Ay for any choice of the constants c1 and c2 . In particular, by first taking c1 = 1
and c2 = 0 and then taking c1 = 0 and c2 = 1, we see that y1 and y2 are solutions of y0 = Ay. We leave
it to you to verify that they are, respectively, the real and imaginary parts of (10.6.3) (Exercise 26), and
that they are linearly independent (Exercise 27).
Example 10.6.1 Find the general solution of
y0 =
4 5
5 2
(10.6.6)
y.
..
5
. 0
3 4i
,
..
5
3 4i . 0
which is row equivalent to
3+4i
5
1
0
..
.
..
.
0
.
0
y1 = e
3 cos 4t 4 sin 4t
5 cos 4t
and
3 + 4i
5
t
y2 = e
3 sin 4t + 4 cos 4t
5 sin 4t
which are linearly independent solutions of (10.6.6). The general solution of (10.6.6) is
3 cos 4t 4 sin 4t
3 sin 4t + 4 cos 4t
t
t
y = c1 e
+ c2 e
.
5 cos 4t
5 sin 4t
14
6
39
16
(10.6.7)
y.
39
15 3i
6
15 3i
0
,
0
5+i
2
1
0
..
.
..
.
0
.
0
y1 = e
sin 3t + 5 cos 3t
2 cos 3t
and
5i
2
t
y2 = e
cos 3t + 5 sin 3t
2 sin 3t
which are linearly independent solutions of (10.6.7). The general solution of (10.6.7) is
sin 3t + 5 cos 3t
cos 3t + 5 sin 3t
y = c1 et
+ c2 et
.
2 cos 3t
2 sin 3t
Example 10.6.3 Find the general solution of
5 5
y0 = 8 7
1 0
4
6 y.
0
(10.6.8)
4
7 5
8 5
6
1 0 2
which is row equivalent to
..
. 0
..
,
. 0
..
. 0
.
0 2 ..
.
1 2 ..
.
0
0 ..
.
0
2
x1 = 2 ,
1
so
2
y1 = 2 e2t
1
is a solution of (10.6.8).
The augmented matrix of (A iI)x = 0 is
5
5 i
8
7i
1
0
.
4 ..
.
6 ..
.
i ..
1 0
0 1
0 0
i
1i
0
..
.
..
.
..
.
,
0
.
0
i
x2 = 1 + i .
1
are
i
(cos t + i sin t) 1 + i
1
sin t
y2 = cos t sin t
cos t
and
561
cos t
y3 = cos t sin t ,
sin t
2
sin t
cos t
y = c1 2 e2t + c2 cos t sin t + c3 cos t sin t .
1
cos t
sin t
Example 10.6.4 Find the general solution of
1 1
3
y0 = 1
1 1
2
2 y.
2
(10.6.9)
Hence, the eigenvalues of A are 1 = 2, 2 = 2 + 2i, and 3 = 2 2i. The augmented matrix of
(A 2I)x = 0 is
..
1
1
2
.
0
..
,
1
1
2
.
0
..
1 1
0 . 0
..
1 0 1 .
.
0 1 1 ..
.
0 0 0 ..
Therefore x1 = x2 = x3 . Taking x3 = 1 yields
1
x1 = 1
1
so
.
0
1
y1 = 1 e2t
1
is a solution of (10.6.9).
The augmented matrix of (A (2 + 2i)I) x = 0 is
1
2
1 2i
1
1 2i
2
1
1
2i
..
. 0
..
,
. 0
..
. 0
563
.
0 1
i ..
.
0 0
0 ..
.
0
i
x2 = i
1
The real and imaginary parts of
are
i
e2t (cos 2t + i sin 2t) i
1
sin 2t
y2 = e2t sin 2t
cos 2t
and
cos 2t
y2 = e2t cos 2t ,
sin 2t
1
sin 2t
cos 2t
y = c1 1 e2t + c2 e2t sin 2t + c3 e2t cos 2t .
1
cos 2t
sin 2t
Geometric Properties of Solutions when n = 2
Well now consider the geometric properties of solutions of a 2 2 constant coefficient system
0
y1
a11 a12
y1
=
(10.6.10)
y20
a21 a22
y2
under the assumptions of this section; that is, when the matrix
a11 a12
A=
a21 a22
has a complex eigenvalue = + i ( 6= 0) and x = u + iv is an associated eigenvector, where
u and v have real components. To describe the trajectories accurately its necessary to introduce a new
rectangular coordinate system in the y1 -y2 plane. This raises a point that hasnt come up before: It is
always possible to choose x so that (u, v) = 0. A special effort is required to do this, since not every
eigenvector has this property. However, if we know an eigenvector that doesnt, we can multiply it by a
suitable complex constant to obtain one that does. To see this, note that if x is a -eigenvector of A and
k is an arbitrary real number, then
x1 = (1 + ik)x = (1 + ik)(u + iv) = (u kv) + i(v + ku)
and
v1 = v + ku,
(10.6.11)
so
(u1 , v1 ) = (u kv, v + ku) = (u, v)k 2 + (kvk2 kuk2)k (u, v) .
Therefore (u1 , v1 ) = 0 if
(10.6.12)
If (u, v) 6= 0 we can use the quadratic formula to find two real values of k such that (u1 , v1 ) = 0
(Exercise 28).
Example 10.6.5 In Example 10.6.1 we found the eigenvector
3 + 4i
3
4
x=
=
+i
5
5
0
3
4
and v =
are not orthogonal, since
5
0
(u, v) = 12. Since kvk2 kuk2 = 18, (10.6.12) is equivalent to
for the matrix of the system (10.6.6). Here u =
2k 2 3k 2 = 0.
The zeros of this equation are k1 = 2 and k2 = 1/2. Letting k = 2 in (10.6.11) yields
5
10
u1 = u 2v =
and v1 = v + 2u =
,
5
10
and (u1 , v1 ) = 0. Letting k = 1/2 in (10.6.11) yields
v
u
1 5
5
u1 = u + =
and v1 = v =
,
5
5
2
2
2
and again (u1 , v1 ) = 0.
(The numbers dont always work out as nicely as in this example. Youll need a calculator or computer
to do Exercises 29-40.)
Henceforth, well assume that (u, v) = 0. Let U and V be unit vectors in the directions of u and v,
respectively; that is, U = u/kuk and V = v/kvk. The new rectangular coordinate system will have the
same origin as the y1 -y2 system. The coordinates of a point in this system will be denoted by (z1 , z2 ),
where z1 and z2 are the displacements in the directions of U and V, respectively.
From (10.6.5), the solutions of (10.6.10) are given by
y = et [(c1 cos t + c2 sin t)u + (c1 sin t + c2 cos t)v] .
(10.6.13)
For convenience, lets call the curve traversed by et y(t) a shadow trajectory of (10.6.10). Multiplying
(10.6.13) by et yields
et y(t) = z1 (t)U + z2 (t)V,
565
where
z1 (t) =
z2 (t) =
Therefore
(z2 (t))2
(z1 (t))2
+
= c21 + c22
kuk2
kvk2
(verify!), which means that the shadow trajectories of (10.6.10) are ellipses centered at the origin, with
axes of symmetry parallel to U and V. Since
z10 =
kuk
z2
kvk
z20 =
and
kvk
z1 ,
kuk
the vector from the origin to a point on the shadow ellipse rotates in the same direction that V would have
to be rotated by /2 radians to bring it into coincidence with U (Figures 10.6.1 and 10.6.2).
y
U
V
y1
y1
so the trajectory spirals away from the origin as t varies from to . The direction of the spiral
depends upon the relative orientation of U and V, as shown in Figures 10.6.3 and 10.6.4.
If < 0, then
lim ky(t)k = and
lim y(t) = 0,
t
so the trajectory spirals toward the origin as t varies from to . Again, the direction of the spiral
depends upon the relative orientation of U and V, as shown in Figures 10.6.5 and 10.6.6.
y2
y1
y1
y2
y2
y1
y1
10.6 Exercises
In Exercises 116 find the general solution.
1.
y0 =
3.
y0 =
1
5
1
4
2
5
2
5
2.
y0 =
11
26
4.
y0 =
5
3
6
1
4
9
5.
7.
9.
11.
13.
15.
1
2 y
1
3 3
2
y0 = 0
5
1
2 1 1
1 y
y0 = 0 1
1 0
1
y0 =
y =
5 4
10
1
3
5
2
1
1
1
2
y0 = 1
0 1 y
1 2 1
6
0 3
y0 = 3
3
3 y0
1 2
6
6.
8.
10.
12.
14.
16.
3
3
1
y0 = 1 5 3 y
3
7
3
3
1 3
2 y
y0 = 4 1
4 2
3
y0 =
y =
1
3
34
52
20 30
7 5
2
5
3
y0 = 5
10
1
y0 = 0
1
5 2 1
4
21. y0 = 3 2
2 y, y(0) = 0
1 3
2
6
4 4
0
8
22. y0 = 8 10 20 y, y(0) = 6
2 3 2
5
1 15 15
15
23. y0 = 6 18 22 y, y(0) = 17
3 11 15
10
4 4 4
16
3 15 y, y(0) = 14
24. y0 = 10
2 3 1
6
4 2
7 8 y
13 8
2 2
2 1 y0
0
0
567
26.
Verify that
y1 = et (u cos t v sin t)
Show that if the vectors u and v are not both 0 and 6= 0 then the vector functions
y1 = et (u cos t v sin t)
28.
and
y2 = et (u sin t + v cos t)
are linearly independent on every interval. H INT: There are two cases to consider: (i) {u, v}
linearly independent, and (ii) {u, v} linearly dependent. In either case, exploit the the linear
independence of {cos t, sin t} on every interval.
u1
v1
Suppose u =
and v =
are not orthogonal; that is, (u, v) 6= 0.
u2
v2
(a) Show that the quadratic equation
(1)
(2)
(2)
u1 =
(1)
v1
k1
and
(1)
(2)
v1 =
u1
.
k1
(1)
(1)
(2)
(2)
29.
C/G
y0 =
31.
C/G
y0 =
3 5
5 3
4
4
8
4
30.
C/G
y0 =
15
25
10
15
32.
C/G
y0 =
3 15
3
3
In Exercises 33-40 find vectors U and V parallel to the axes of symmetry of the shadow trajectories, and
plot a typical trajectory.
33.
C/G
y0 =
5 6
12 7
34.
y
C/G
y0 =
5
6
12
7
35.
C/G
y =
37.
C/G
y0 =
1 10
10 1
39.
C/G
y0 =
7 10
10 9
10.7
4 5
9 2
36.
C/G
y =
38.
C/G
y0 =
1 5
20 1
40.
C/G
y0 =
7
12
4
5
9
2
6
5
569
Y = .
..
.. ,
..
..
.
.
.
yn1 yn2 ynn
where
y1 =
y11
y21
..
.
yn1
y2 =
y12
y22
..
.
yn2
yn =
y1n
y2n
..
.
ynn
is a fundamental set of solutions of the complementary system. In Section 10.3 we saw that Y 0 = A(t)Y .
We seek a particular solution of
y0 = A(t)y + f (t)
(10.7.1)
of the form
yp = Y u,
(10.7.2)
= Y 0 u + Y u0
= AY u + Y u0 (since Y 0 = AY )
= Ayp + Y u0 (since Y u = yp ).
Comparing this with (10.7.1) shows that yp = Y u is a solution of (10.7.1) if and only if
Y u0 = f .
Thus, we can find a particular solution yp by solving this equation for u0 , integrating to obtain u, and
computing Y u. We can take all constants of integration to be zero, since any particular solution will
suffice.
Exercise 22 sketches a proof that this method is analogous to the method of variation of parameters
discussed in Sections 5.7 and 9.4 for scalar linear equations.
Example 10.7.1
(a) Find a particular solution of the system
0
y =
1 2
2 1
y+
2e4t
e4t
(10.7.3)
y =
1 2
2 1
(10.7.4)
y.
y2 =
et
et
571
By Cramers rule,
u01
u02
et
= 2e2t .
et
1 2e4t
2e2t e4t
1 e3t
2t 3t
e
2e
Therefore
et
et
2e4t
e4t
3et
e5t
e3t
et
e3t
et
#
u0 =
1
2
3e3t
2e2t
3 t
e,
2
e7t
2e2t
1 5t
e .
2
"
15et
e5t
1
5
8e4t
7e4t
(10.7.5)
1
5
8e4t
7e4t
e3t
e3t
et
et
c,
8 4t
e + c1 e3t + c2 et
5
y2
7 4t
e + c1 e3t c2 et ,
5
2e2t
4
y+
1
1
(10.7.6)
e4t
e6t
1
e2t
By Cramers rule,
u01
u02
1 1 1
2e6t 1 e2t
1 e4t 1
2e6t e6t 1
Therefore
=
=
1
u =
2
0
1
= 2e6t .
e2t
e2t + 1
2e6t
e4t + e6t
2
e4t e6t
2e6t
e2t 1
.
2
e4t + e6t
e2t 1
1
yp = Y u =
24
e4t
e6t
1
e2t
3e4t + 2e6t
6e2t + 12t
1
=
24
4e2t + 12t 3
3e2t (4t + 1) 8
2t 3t2
1 2t
(10.7.7)
573
By Cramers rule,
Therefore
u01
u02
1 t2
t2 t2
1 2t
t2 1
3t2
= t2 .
2t
3t2
=
2t
t2
=
t2
0
u =
2t3 3t4
t2
2t 3t2 ,
2t3 t2
t2
2t 1.
2t 3t2
2t 1
2t
1
3t2
2t
t2 t3
t2 t
t3 (t 1)
t2 (t 1)
Example 10.7.4
(a) Find a particular solution of
2
y0 = 1
1
t
1 1
e
0 1 y + 0 .
1
0
et
(10.7.8)
2 1 1
y0 = 1
0 1 y.
1 1
0
(10.7.9)
t
1
e
y1 = 1 , y2 = et ,
1
0
and
et
y3 = 0
et
1 et et
Y = 1 et 0
1 0 et
0 t
1 et et
u1
e
1 et 0 u02 = 0 .
1 0 et
u03
et
1 et
1 et
1 0
u02
u03
1
2t
e
1
2t
e
1
= 2t
e
et
0
et
Therefore
et
et
0
et
0
et
1
1
1
et
0
et
et
0
et
1
1
1
et
et
0
et
0
et
et
0
et
= e2t .
=
e3t et
e2t
et et
1 e2t
e2t
1 e2t
1.
e2t
e2t
et et
u0 = 1 e2t .
1
et et
e2t
u=
+t ,
2
t
so
yp = Y u =
1 e
1 et
1 0
et et
e
e2t
0
+t =
t
2
e
t
t
et
2
et
t
e (t 1)
2
et (t 1) et
et (2t 1)
575
et
t
t
et (2t 1)
1
e
e
et + c1 1 + c2 et + c3 0 ,
y = yp + c1 y1 + c2 y2 + c3 y3 = t
e (t 1)
1
0
et
2
t
t
e (t 1) e
y = yp + Y c =
et
2
et
t
e (t 1)
2
et (t 1) et
et (2t 1)
3
et
1
0
y =
0
6
2
e2t e3t
given that
et
Y = 0
et
+ 1
et
et
0
et
0 c
et
e2t
1
0 y + et ,
1
et
(10.7.10)
e2t
e3t
0
0
e3t
1
Solution We seek a particular solution of (10.7.10) in the form yp = Y u, where Y u0 = f ; that is,
t
0
e
0 e2t
u1
1
0 e3t e3t u02 = et .
et
et 1
0
u03
0
e3t
1
e2t
e3t
0
By Cramers rule,
u01
u02
u03
1
4t
2e
1
4t
2e
1
4t
2e
1
et
et
0
e3t
1
et
0
et
1
et
et
et
0
et
0
e3t
1
=
e2t
e3t =
0
1
et =
et
= 2e4t .
e2t
e3t
0
e4t
2e4t
1
2
e3t
2e4t
1 t
e
2
2e2t et
.
2
e3t 2e2t
2e4t
1
u0 =
2
1
.
et
2t
t
2e
e
t
1
,
u=
et
2
t
e e2t
so
et
1
yp = Y u = 0
2
et
e2t
t
e (t + 1) 1
= 1
e3t
et
et
2
t
2t
0
e e
et (t 1)
0
e3t
1
10.7 Exercises
In Exercises 110 find a particular solution.
1.
3.
5.
7.
9.
10.
y0 =
y =
y =
1
1
4
1
1 2
2 1
6
1
3
2
y+
y+
1
t
y+
21e4t
8e3t
2.
4.
4e3t
4e5t
6.
y0 =
y =
y =
1
5
4 3
6
5
0 1
1 0
4
2
3
11
y+
50e3t
10e3t
y+
2
2et
1
t
y+
3 1 1
3
3 1 1
1
1 y + 6 8. y0 = 2
3
2 y + et
y0 = 3 5
6 2
4
3
4 1 2
et
t
3
2
2
e
2 y + e5t
y0 = 2 3
2
2 3
et
t
1
1 3
e
1
y0 = 4 4
3 y + et
3
2
1
0
et
In Exercises 1120 find a particular solution, given that Y is a fundamental matrix for the complementary
system.
1
1 t
cos t
cos t sin t
11. y0 =
y+t
; Y =t
sin t
sin t cos t
t t 1
t
1 1 t
t
e
et
12. y0 =
y+
;
Y
=
t
t2
et et
t t 1
16.
577
1
t 1
1
t 1
y
+
t
;
Y
=
t
1
1 t
t2 1 1
2t
t
1
1 2e
e
2 et
y
+
;
Y
=
y0 =
1
e2t
et
2
3 2et
3
3 4
6
2
1
1 t
1
3t
t
t t
y0 = 4
y+
; Y = 2
1 3t3
1
1 t
2t
t
t
et
1
2
t 1 t 1
t 1
t et
0
y =
y + t2 1 ; Y = et
t
et
1
y0 =
17.
y0
18.
y0
19.
y0
t+1
t+1
1 1 0
1
t
t3
1
1
= 0 2 1 y + 2 Y = t2 2t3 1
t
2 2 2
1
0 2t3
2
5t
t
2t
3t
3
e
e
e
e
e2t
0
= et
2
et y + 0 ; Y = e4t
0 et
2t
t
3t
e
e
1
0
e
1 1
1
t 0
t
1
cos t
sin t
1
1 t y + t ; Y = t 0 sin t
cos t
= 0
t
0 t 1
t
0 cos t sin t
t
t
t
e
t
1 et
e
e
et
1 t
1
1 t
t
t
e
1
t
e
0
e
e
=
y+
; Y =
t
t
t
et t
1 et
et
et
et
20.
y0
21.
22.
et
0
(A)
(B)
(b) Suppose (A) is normal on an interval (a, b) and {y1 , y2 , . . . , yn } is a fundamental set of
solutions of
P0 (t)y(n) + P1 (t)y(n1) + + Pn (t)y = 0
(C)
on (a, b). Find a corresponding fundamental matrix Y for
y0 = A(t)y
on (a, b) such that
y = c1 y1 + c2 y2 + + cn yn
is a solution of (D).
c=
c1
c2
..
.
cn
(D)
u1
u2
u = . .
..
un
Suppose the n n matrix function A and the nvector function f are continuous on (a, b). Let
t0 be in (a, b), let k be an arbitrary constant vector, and let Y be a fundamental matrix for the
homogeneous system y0 = A(t)y. Use variation of parameters to show that the solution of the
initial value problem
y0 = A(t)y + f (t), y(t0 ) = k
is
y(t) = Y (t) Y
(t0 )k +
Y
t0
(s)f (s) ds .
CHAPTER 11
Boundary Value Problems and Fourier
Expansions
IN THIS CHAPTER we develop series representations of functions that will be used to solve partial
differential equations in Chapter 12.
SECTION 11.1 deals with five boundary value problems for the differential equation
y00 + y = 0.
They are related to problems in partial differential equations that will be discussed in Chapter 12. We
define what is meant by eigenvalues and eigenfunctions of the boundary value problems, and show that
the eigenfunctions have a property called orthogonality.
SECTION 11.2 introduces Fourier series, which are expansions of given functions in term of sines and
cosines.
SECTION 11.3 deals with expansions of functions in terms of the eigenfunctions of four of the eigenvalue
problems discussed in Section 11.1. They are all related to the Fourier series discussed in Section 11.2.
581
581
In Chapter 12 well study partial differential equations that arise in problems of heat conduction, wave
propagation, and potential theory. The purpose of this chapter is to develop tools required to solve these
equations. In this section we consider the following problems, where is a real number and L > 0:
Problem 1:
y00 + y = 0, y(0) = 0, y(L) = 0
Problem 2:
y00 + y = 0,
y0 (0) = 0,
y0 (L) = 0
Problem 3:
y00 + y = 0,
y(0) = 0,
y0 (L) = 0
Problem 4:
y00 + y = 0,
y0 (0) = 0,
y(L) = 0
Problem 5:
y00 + y = 0,
y(L) = y(L),
y0 (L) = y0 (L)
In each problem the conditions following the differential equation are called boundary conditions. Note
that the boundary conditions in Problem 5, unlike those in Problems 1-4, dont require that y or y0 be zero
at the boundary points, but only that y have the same value at x = L , and that y0 have the same value
at x = L. We say that the boundary conditions in Problem 5 are periodic.
Obviously, y 0 (the trivial solution) is a solution of Problems 1-5 for any value of . For most values
of , there are no other solutions. The interesting question is this:
For what values of does the problem have nontrivial solutions, and what are they?
A value of for which the problem has a nontrivial solution is an eigenvalue of the problem, and
the nontrivial solutions are -eigenfunctions, or eigenfunctions associated with . Note that a nonzero
constant multiple of a -eigenfunction is again a -eigenfunction.
Problems 1-5 are called eigenvalue problems. Solving an eigenvalue problem means finding all its
eigenvalues and associated eigenfunctions. Well take it as given here that all the eigenvalues of Problems 1-5 are real numbers. This is proved in a more general setting in Section 13.2.
Theorem 11.1.1 Problems 15 have no negative eigenvalues. Moreover, = 0 is an eigenvalue of
Problems 2 and 5, with associated eigenfunction y0 = 1, but = 0 isnt an eigenvalue of Problems 1, 3,
or 4.
Proof We consider Problems 1-4, and leave Problem 5 to you (Exercise 1). If y00 + y = 0, then
y(y00 + y) = 0, so
Z L
y(x)(y00 (x) + y(x)) dx = 0;
0
therefore,
y2 (x) dx =
(11.1.1)
L Z
y(x)y00 (x) dx = y(x)y0 (x)
(y0 (x))2 dx
0
0
Z L
0
0
= y(L)y (L) y(0)y (0)
(y0 (x))2 dx.
0
(11.1.2)
y2 (x) dx =
0
RL
If y 6 0, then 0 y2 (x) dx > 0. Therefore 0 and, if = 0, then y0 (x) = 0 for all x in (0, L) (why?),
and y is constant on (0, L). Any constant function satisfies the boundary conditions of Problem 2, so
= 0 is an eigenvalue of Problem 2 and any nonzero constant function is an associated eigenfunction.
However, the only constant function that satisfies the boundary conditions of Problems 1, 3, or 4 is y 0.
Therefore = 0 isnt an eigenvalue of any of these problems.
Example 11.1.1 (Problem 1) Solve the eigenvalue problem
y00 + y = 0,
y(0) = 0,
y(L) = 0.
(11.1.3)
Solution From Theorem 11.1.1, any eigenvalues of (11.1.3) must be positive. If y satisfies (11.1.3) with
> 0, then
y = c1 cos x + c2 sin x,
where c1 and
c2 are constants. The boundary condition y(0) = 0 implies that
c1 = 0. Therefore
y = c2 sin x. Now the boundary conditiony(L) = 0 implies that c2 sin L = 0. To make
c2 sin L = 0 with c2 6= 0, we must choose = n/L, where n is a positive integer. Therefore
n = n2 2 /L2 is an eigenvalue and
nx
yn = sin
L
is an associated eigenfunction.
For future reference, we state the result of Example 11.1.1 as a theorem.
Theorem 11.1.2 The eigenvalue problem
y00 + y = 0,
y(0) = 0,
y(L) = 0
nx
,
L
n = 1, 2, 3, . . ..
y0 (0) = 0,
y0 (L) = 0
has the eigenvalue 0 = 0, with associated eigenfunction y0 = 1, and infinitely many positive eigenvalues
n = n2 2 /L2 , with associated eigenfunctions
yn = cos
There are no other eigenvalues.
nx
, n = 1, 2, 3 . . ..
L
583
y(0) = 0,
y0 (L) = 0.
(11.1.4)
Solution From Theorem 11.1.1, any eigenvalues of (11.1.4) must be positive. If y satisfies (11.1.4) with
> 0, then
y = c1 cos x + c2 sin x,
where c1 and
c2 are constants. The boundary
condition y(0) = 0 implies that c1 = 0. Therefore
0
y = c
sin
x.
Hence,
y
=
c
cos
x and the boundary condition y0 (L) = 0 implies that
2
2
c2 cos L = 0. To make c2 cos L = 0 with c2 6= 0 we must choose
(2n 1)
,
2L
(2n 1)x
2L
is an associated eigenfunction.
For future reference, we state the result of Example 11.1.2 as a theorem.
Theorem 11.1.4 The eigenvalue problem
y00 + y = 0,
y(0) = 0,
y0 (L) = 0
has infinitely many positive eigenvalues n = (2n 1)2 2 /4L2 , with associated eigenfunctions
yn = sin
(2n 1)x
,
2L
n = 1, 2, 3, . . . .
y0 (0) = 0,
y(L) = 0
has infinitely many positive eigenvalues n = (2n 1)2 2 /4L2 , with associated eigenfunctions
yn = cos
(2n 1)x
,
2L
n = 1, 2, 3, . . . .
y(L) = y(L),
y0 (L) = y0 (L).
(11.1.5)
y = c1 cos x + c2 sin x,
(11.1.6)
where c1 and c2 are constants. The boundary condition y(L) = y(L) implies that
cos( L) = cos L
and
sin( L) = sin L,
L = 0.
(11.1.7)
(11.1.8)
(11.1.9)
c1 sin x + c2 cos x .
L = 0.
(11.1.10)
Eqns. (11.1.9) and (11.1.10) imply that c1 = c2 = 0 unless = n/L, where n is a positive integer.
In this case (11.1.9) and (11.1.10) both hold for arbitrary c1 and c2 . The eigenvalue determined in this
way is n = n2 2 /L2 , and each such eigenvalue has the linearly independent associated eigenfunctions
nx
nx
cos
and sin
.
L
L
For future reference we state the result of Example 11.1.3 as a theorem.
Theorem 11.1.6 The eigenvalue problem
y00 + y = 0,
y(L) = y(L),
y0 (L) = y0 (L),
has the eigenvalue 0 = 0, with associated eigenfunction y0 = 1 and infinitely many positive eigenvalues
n = n2 2 /L2 , with associated eigenfunctions
nx
nx
y1n = cos
and y2n = sin
, n = 1, 2, 3, . . . .
L
L
There are no other eigenvalues.
Orthogonality
We say that two integrable functions f and g are orthogonal on an interval [a, b] if
Z b
f(x)g(x) dx = 0.
a
More generally, we say that the functions 1 , 2 , . . . , n , . . . (finitely or infinitely many) are orthogonal
on [a, b] if
Z b
i (x)j (x) dx = 0 whenever i 6= j.
a
The importance of orthogonality will become clear when we study Fourier series in the next two sections.
585
x
2x
2x
nx
nx
x
, sin
, cos
, sin
, . . . , cos
, sin
,...
L
L
L
L
L
L
(11.1.11)
f(x)g(x) dx = 0
(11.1.12)
whenever f and g are distinct functions from (11.1.11). If r is any nonzero integer, then
L
rx
L
rx
dx =
sin
= 0.
cos
L
r
L L
L
Z
and
Z
sin
(11.1.13)
L
rx
L
rx
dx = cos
= 0.
L
r
L L
f(x)g(x) dx =
cos
mx
nx
cos
dx.
L
L
(11.1.14)
1
[cos(A B) + cos(A + B)]
2
f(x)g(x) dx =
sin
nx
mx
sin
dx.
L
L
1
[cos(A B) cos(A + B)]
2
(11.1.15)
because the integrand is an odd function and the limits are symmetric about x = 0.
Exercises 19-22 ask you to verify that the eigenfunctions of Problems 1-4 are orthogonal on [0, L].
However, this also follows from a general theorem that well prove in Chapter 13.
11.1 Exercises
1.
Prove that = 0 is an eigenvalue of Problem 5 with associated eigenfunction y0 = 1, and that any
other eigenvalues must be positive. H INT: See the proof of Theorem 11.1.1.
y00 + y = 0,
00
y(0) = 0,
y() = 0
y0 () = 0
3.
y + y = 0,
4.
y00 + y = 0, y(0) = 0, y0 () = 0
5.
y00 + y = 0, y0 (0) = 0,
00
y (0) = 0,
y() = 0
6.
y + y = 0,
y() = y(),
7.
y00 + y = 0,
y0 (0) = 0,
8.
y00 + y = 0, y0 (0) = 0,
9.
y0 (1) = 0
y(1) = 0
00
y(0) = 0,
00
y(1) = y(1),
y + y = 0,
y0 () = y0 ()
y(1) = 0
y0 (1) = y0 (1)
10.
y + y = 0,
11.
12.
y00 + y = 0,
y(2) = y(2),
13.
y00 + y = 0,
y(0) = 0,
14.
00
y + y = 0, y (0) = 0,
y0 (2) = y0 (2)
y(2) = 0
y(3) = 0
00
15.
y + y = 0, y(0) = 0, y0 (1/2) = 0
16.
y00 + y = 0,
17.
18.
19.
y0 (0) = 0,
y0 (5) = 0
sin
x
2x
nx
, sin
, . . . , sin
,...
L
L
L
x
2x
nx
, cos
, . . . , cos
,...
L
L
L
587
sin
00
y + y = 0,
y(0) = 0,
y(x) dx = 0
24.
25.
y00 + y = 0,
y00 + y = 0,
y0 (0) = 0,
y(x) dx = 0
0
Z L
y(L) = 0,
y(x) dx = 0
26.
y00 + y = 0,
y0 (L) = 0,
y(x) dx = 0
(11.2.1)
a x b,
PN
m=1 cm m (x)
N = 1, 2, 3, . . .
cm m (x)
(11.2.2)
m=1
n = 1, 2, 3, . . ..
(11.2.3)
f(x)n (x) dx =
n (x)
cm m (x)
m=1
dx.
(11.2.4)
f(x)n (x) dx =
cm
m=1
(11.2.5)
n (x)m (x) dx = 0 if
m 6= n,
(11.2.5) reduces to
Z
f(x)n (x) dx = cn
b
a
2n (x) dx.
cn =
Rb
a
2n (x) dx 6= 0, n = 1, 2, 3,
f(x)n (x) dx
n = 1, 2, 3, . . ..
(11.2.6)
2n (x) dx
Then the infinite series n=1 cn n (x) is called the Fourier expansion of f in terms of the orthogonal
set {n }
n=1 , and c1 , c2 , . . . , cn , . . . are called the Fourier coefficients of f with respect to {n }n=1 . We
indicate the relationship between f and its Fourier expansion by
f(x)
cn n (x),
a x b.
cn n (x),
a x b,
n=1
(11.2.7)
n=1
rather than (11.2.7). Unfortunately, this isnt always true. The series on the right may diverge for some or
all values of x in [a, b], or it may converge to f(x) for some values of x and not for others. So, for now,
well just think of the series as being associated with f because of the definition of the coefficients {cn },
and well indicate this association informally as in (11.2.7).
589
Fourier Series
Well now study Fourier expansions in terms of the eigenfunctions
1, cos
x
x
2x
2x
nx
nx
, sin
, cos
, sin
, . . . , cos
, sin
, . . ..
L
L
L
L
L
L
of Problem 5. If f is integrable on [L, L], its Fourier expansion in terms of these functions is called the
Fourier series of f on [L, L]. Since
Z L
12 dx = 2L,
L
nx
1
1
L
2nx
2nx
cos2
dx =
1 + cos
dx =
x+
sin
L
2 L
L
2
2n
L
L
and
nx
1
dx =
sin
L
2
L
L
L
2nx
1 cos
L
1
dx =
2
L
2nx
sin
x
2n
L
X
n=1
where
an =
1
L
f(x) cos
nx
dx,
L
1
2L
L
, = L,
L
nx
nx
+ bn sin
,
L
L
an cos
a0 =
L
= L,
and
f(x) dx,
bn =
1
L
f(x) sin
nx
dx, n 1.
L
Note that a0 is the average value of f on [L, L], while an and bn (for n 1) are twice the average
values of
nx
nx
f(x) cos
and f(x) sin
L
L
on [L, L], respectively.
Convergence of Fourier Series
The question of convergence of Fourier series for arbitrary integrable functions is beyond the scope of
this book. However, we can state a theorem that settles this question for most functions that arise in
applications.
Definition 11.2.3 A function f is said to be piecewise smooth on [a, b] if:
(a) f has at most finitely many points of discontinuity in (a, b);
(b) f 0 exists and is continuous except possibly at finitely many points in (a, b);
(c) f(x0 +) = limxx0 + f(x) and f 0 (x0 +) = limxx0 + f 0 (x) exist if a x0 < b;
(d) f(x0 ) = limxx0 f(x) and f 0 (x0 ) = limxx0 f 0 (x) exist if a < x0 b.
Since f and f 0 are required to be continuous at all but finitely many points in [a, b], f(x0 +) = f(x0 )
and f 0 (x0 +) = f 0 (x0 ) for all but finitely many values of x0 in (a, b). Recall from Section 8.1 that f is
said to have a jump discontinuity at x0 if f(x0 +) 6= f(x0 ).
The next theorem gives sufficient conditions for convergence of a Fourier series. The proof is beyond
the scope of this book.
X
an cos
n=1
nx
nx
+ bn sin
L
L
(11.2.8)
f(x)
if L < x < L and f is continuous at x
f(x) + f(x+)
if L < x < L and f is discontinuous at x
F (x) =
2
f(L+) + f(L) if x = L or x = L.
2
Since f(x+) = f(x) if f is continuous at x, we can also say that
f(x+) + f(x)
if L < x < L,
2
F (x) =
f(L) + f(L+) if x = L.
2
Note that F is itself piecewise smooth on [L, L], and F (x) = f(x) at all points in the open interval
(L, L) where f is continuous. Since the series in (11.2.8) converges to F (x) for all x in [L, L], you
may be tempted to infer that the error
N
X
nx
nx
EN (x) = F (x) a0
an cos
+ bn sin
L
L
n=1
can be made as small as we please for all x in [L, L] by choosing N sufficiently large. However, this
isnt true if f has a discontinuity somewhere in (L, L), or if f(L+) 6= f(L). Heres the situation in
this case.
If f has a jump discontinuity at a point in (L, L), there will be sequences of points {uN } and {vN }
in (L, ) and (, L), respectively, such that
lim uN = lim vN =
and
EN (uN ) .09|f() f(+)|
and
Thus, the maximum value of the error EN (x) near does not approach zero as N , but just occurs
closer and closer to (and on both sides of ) , and is essentially independent of N .
If f(L+) 6= f(L), then there will be sequences of points {uN } and {vN } in (L, L) such that
lim uN = L,
and
lim vN = L,
This is the Gibbs phenomenon. Having been alerted to it, you may see it in Figures 11.2.211.2.4,
below; however, well give a specific example at the end of this section.
Example 11.2.1 Find the Fourier series of the piecewise smooth function
x, 2 < x < 0,
f(x) =
1
0<x<2
2,
on [2, 2] (Figure 11.2.1). Determine the sum of the Fourier series for 2 x 2.
591
y
2
x
2
Figure 11.2.1
Solution Note that went bothered to define f(2), f(0), and f(2). No matter how they may be defined,
f is piecewise smooth on [2, 2], and the coefficients in the Fourier series
F (x) = a0 +
X
n=1
an cos
nx
nx
+ bn sin
2
2
are not affected by them. In any case, Theorem 11.2.4 implies that F (x) = f(x) in (2, 0) and (0, 2),
where f is continuous, while
f(2+) + f(2)
1
1
5
=
F (2) = F (2) =
2+
=
2
2
2
4
and
To summarize,
f(0) + f(0+)
1
F (0) =
=
2
2
1
0+
2
5
x = 2
4,
x, 2 < x < 0,
1
F (x) =
x = 0,
4,
0 < x < 2,
2,
5
x = 2.
4,
1
.
4
1
2
2
(cos n 1),
2
n 2
1
2
1
(1 + 3 cos n).
2n
f(x) cos
nx
1
dx =
2
2
Z
nx
dx +
2
1
nx
cos
dx
2
2
Z
nx
(x) sin
dx +
2
2
1
nx
sin
dx
2
2
(x) cos
and
bn
nx
1
f(x) sin
dx =
2
2
2
Therefore
2 X cos n 1
nx
1 X 1 + 3 cos n
nx
3
cos
+
sin
.
F (x) = + 2
4 n=1
n2
2
2 n=1
n
2
approximates f(x) for m = 5 (dotted curve), m = 10 (dashed curve), and m = 15 (solid curve).
y
2
x
2
Figure 11.2.2
593
v(x) = v(x),
and
L x L.
Then we say that u is an even function and v is an odd function. Note that:
The product of two even functions is even.
The product of two odd functions is even.
The product of an even function and an odd function is odd.
Example 11.2.2 The functions u(x) = cos x and u(x) = x2 are even, while v(x) = sin x and
v(x) = x3 are odd. The function w(x) = ex is neither even nor odd.
You learned parts (a) and (b) of the next theorem in calculus, and the other parts follow from them
(Exercise 1).
Theorem 11.2.5 Suppose u is even and v is odd on [L, L]. Then:
Z
(a)
u(x) dx = 2
L
(c)
u(x) dx,
(b)
(d)
nx
dx = 2
L
nx
dx = 2
L
v(x) sin
u(x) sin
L
v(x) dx = 0,
u(x) cos
(e)
nx
dx = 0 and
L
u(x) cos
nx
dx,
L
v(x) sin
nx
dx,
L
(f)
v(x) cos
L
nx
dx = 0.
L
Example 11.2.3 Find the Fourier series of f(x) = x2 x on [2, 2], and determine its sum for 2
x 2.
Solution Since L = 2,
F (x) = a0 +
X
an cos
n=1
where
1
a0 =
4
1
an =
2
1
bn =
2
and
nx
nx
+ bn sin
2
2
(x2 x) dx,
(11.2.9)
(x2 x) cos
nx
dx,
2
n = 1, 2, 3, . . .,
(11.2.10)
(x2 x) sin
nx
dx,
2
n = 1, 2, 3, . . . .
(11.2.11)
an
=
=
=
From (11.2.11),
bn
=
=
Therefore
"
#
2
Z 2
2
nx
nx
nx
2
dx =
x sin
2
x sin
dx
x cos
2
n
2 0
2
0
0
"
#
2 Z 2
8
nx
nx
x cos
cos
dx
n2 2
2 0
2
0
"
2 #
8
2
nx
16
2 cos n
sin
= (1)n 2 2 .
n2 2
n
2 0
n
"
#
2 Z 2
nx
2
nx
nx
dx =
cos
dx
x sin
x cos
2
n
2 0
2
0
0
"
2 #
2
2
nx
4
sin
= (1)n
.
2 cos n
n
n
2 0
n
2
F (x) =
Theorem 11.2.4 implies that
4 16 X (1)n
nx
4 X (1)n
nx
+ 2
cos
+
sin
.
2
3 n=1 n
2
n=1 n
2
F (x) =
Figure 11.2.3 shows how the partial sum
4,
x = 2,
x2 x, 2 < x < 2,
4,
x = 2.
m
m
4 16 X (1)n
nx
4 X (1)n
nx
+ 2
cos
+
sin
2
3 n=1 n
2
n=1 n
2
Fm (x) =
approximates f(x) for m = 5 (dotted curve), m = 10 (dashed curve), and m = 15 (solid curve).
Theorem 11.2.5 ilmplies the next theorem follows.
Theorem 11.2.6 Suppose f is integrable on [L, L].
(a) If f is even, the Fourier series of f on [L, L] is
F (x) = a0 +
an cos
n=1
where
1
a0 =
L
f(x) dx
and
2
an =
L
nx
,
L
f(x) cos
nx
dx,
L
n 1.
595
y
6
x
2
Figure 11.2.3 Approximation of f(x) = x2 x by partial sums of its Fourier series on [2, 2]
(b) If f is odd, the Fourier series of f on [L, L] is
F (x) =
bn sin
n=1
where
bn =
2
L
f(x) sin
nx
,
L
nx
dx.
L
Example 11.2.4 Find the Fourier series of f(x) = x on [, ], and determine its sum for x .
Solution Since f is odd and L = ,
F (x) =
bn sin nx
n=1
where
bn
Therefore
Z
2
x cos nx
cos nx dx
n
0
0
0
2
2
2
n+1
.
= cos n + 2 sin nx = (1)
n
n
n
0
=
x sin nx dx =
F (x) = 2
X
(1)n
sin nx.
n
n=1
x = ,
0,
x, < x < ,
F (x) =
0,
x = .
Fm (x) = 2
m
X
(1)n
sin nx
n
n=1
approximates f(x) for m = 5 (dotted curve), m = 10 (dashed curve), and m = 15 (solid curve).
Example 11.2.5 Find the Fourier series of f(x) = |x| on [, ] and determine its sum for
x .
Solution Since f is even and L = ,
F (x) = a0 +
an cos nx.
n=1
Since f(x) = x if x 0,
1
a0 =
x2
x dx =
=
2 0
2
Z
2
x cos nx dx =
x sin nx
sin nx dx
n
0
0
0
2
2
2
cos nx = 2 (cos n 1) = 2 [(1)n 1].
n2
n
n
0
2
=
=
Therefore
597
F (x) =
However, since
2 X (1)n 1
+
cos nx.
2
n=0
n2
(1)n 1 =
0
2
(11.2.12)
if n = 2m,
if n = 2m + 1,
the terms in (11.2.12) for which n = 2m are all zeros. Therefore we only to include the terms for which
n = 2m + 1; that is, we can rewrite (11.2.12) as
F (x) =
4 X
1
cos(2m + 1)x.
2
m=0 (2m + 1)2
However, since the name of the index of summation doesnt matter, we prefer to replace m by n, and
write
4X
1
F (x) =
cos(2n + 1)x.
2
n=0 (2n + 1)2
Since |x| is continuous for all x and | | = ||, Theorem 11.2.4 implies that F (x) = |x| for all x in
[, ].
Example 11.2.6 Find the Fourier series of f(x) = x(x2 L2 ) on [L, L], and determine its sum for
L x L.
Solution Since f is odd,
F (x) =
n=1
where
bn
=
=
=
=
Therefore
2
L
bn sin
nx
,
L
nx
x(x2 L2 ) sin
dx
L
0
"
#
L Z L
2
nx
nx
2
2
2
2
x(x L ) cos
(3x L ) cos
dx
n
L 0
L
0
"
#
L
Z L
2L
nx
nx
2
2
(3x L ) sin
6
x sin
dx
n2 2
L 0
L
0
"
#
L Z L
12L2
nx
nx
12L3
x cos
cos
dx = (1)n 3 3 .
3
3
n
L 0
L
n
0
Z
12L3 X (1)n
nx
F (x) =
sin
.
3 n=1 n3
L
Theorem 11.2.4 implies that F (x) = x(x2 L2 ) for all x in [L, L].
2,
0, 11 < x <
1
1, 2 < x < 2 ,
f(x) =
1
0,
2 < x< 1
on [1, 1] is
1
2 X (1)n1
F (x) = +
cos(2n 1)x.
2 n=1 2n 1
0,
12 ,
1,
F (x) =
12 ,
0,
1 x < 12 ,
x = 12 ,
12 < x < 12 ,
x = 12 ,
1
2 < x 1;
thus, F (as well as f) has unit jump discontinuities at x = 12 . Figures 11.2.6-11.2.7 show the graphs of
y = f(x) and
N
1
2 X (1)n1
cos(2n 1)x
y = F2N1 (x) = +
2 n=1 2n 1
for N = 10, 20, and 30. You can see that although F2N1 approximates F (and therefore f) well on
larger intervals as N increases, the maximum absolute values of the errors remain approximately equal
to .09, but occur closer to the discontinuities x = 12 as N increases.
y
y
y = 1.09
y = 1.00
y = 1.09
y = 1.00
1
1
x
1 y = 0.09
x
1 y = 0.09
599
y = 1.09
y = 1.00
x
1 y = .09
USING TECHNOLOGY
The computation of Fourier coefficients will be tedious in many of the exercises in this chapter and
the next. To learn the technique, we recommend that you do some exercises in each section by hand,
perhaps using the table of integrals at the front of the book. However, we encourage you to use your
favorite symbolic computation software in the more difficult problems.
11.2 Exercises
1.
In Exercises 2-16 find the Fourier series of f on [L, L] and determine its sum for L x L. Where
indicated by C , graph f and
Fm (x) = a0 +
m
X
n=1
C L = 1;
3.
L = ;
4.
L = 1;
5.
L = ;
f(x) = 2 x
f(x) = 2x 3x2
f(x) = 1 3x2
f(x) = | sin x|
an cos
nx
nx
+ bn sin
L
L
10.
11.
12.
13.
14.
15.
16.
C L = ;
L = ;
f(x) = x cos x
C L = ;
f(x) = x sin x
L = ;
0,
1 < x < 12 ,
L = 1; f(x) =
cos x, 21 < x < 12 ,
1
0,
<x<1
2
0,
1 < x < 12 ,
L = 1; f(x) =
x cos x, 21 < x < 12 ,
1
0,
2 <x <1
0,
1 < x < 12 ,
L = 1; f(x) =
sin x, 12 < x < 12 ,
1
0,
2 < x< 1
0,
1 < x < 12 ,
1
0,
<x<1
2
0,
1 < x < 12 ,
L = 1; f(x) =
x sin x, 12 < x < 12 ,
1
0,
2 < x< 1
0, 4 < x < 0,
C L = 4; f(x) =
x,
0<x<4
2
x ,
1 < x < 0,
C L = 1; f(x) =
1 x2 ,
0<x<1
17.
18.
19.
2, 2 < x < 1,
1, 1 < x < 1,
1,
1 < x < 2.
2, 3 < x < 2,
3, 2 < x < 2,
f(x) =
1,
2 < x < 3.
f(x) =
1
2
=
.
(2n + 1)2
8
n=0
20.
X
coth 1
1
=
.
2 +1
n
2
n=0
601
(a) Suppose g0 is continuous on [a, b] and 6= 0. Use integration by parts to show that theres a
constant M such that
Z
Z
b
M
b
M
and
g(x) sin x dx
, > 0.
g(x) cos x dx
a
a
(b) Show that the conclusion of (a) also holds if g is piecewise smooth on [a, b]. (This is a special
case of Riemanns Lemma.
k
(c) We say that a sequence {n }
and write n = O(1/nk ) if theres a
n=1 is of order n
constant M such that
M
|n | < k , n = 1, 2, 3, . . ..
n
Let {an }
n=1 and {bn }n=1 be the Fourier coefficients of a piecewise smooth function. Conclude from (b) that an = O(1/n) and bn = O(1/n).
26.
(a) Suppose f(L) = f(L), f 0 (L) = f 0 (L), f 0 is continuous, and f 00 is piecewise continuous
on [L, L]. Use Theorem 11.2.4 and integration by parts to show that
f(x) = a0 +
X
an cos
n=1
nx
nx
+ bn sin
,
L
L
with
1
a0 =
2L
L
an = 2 2
n
nx
f (x) cos
dx,
L
L
00
f(x) dx,
L
L
bn = 2 2
n
and
L x L,
00
f 00 (x) sin
nx
dx, n 1.
L
(b) Show that if, in addition to the assumptions in (a), f is continuous and f 000 is piecewise
continuous on [L, L], then
an =
27.
L2
n3 3
nx
dx.
L
L < x < 0
(Figure 11.2.8), then the Fourier series of f on [L, L] has the form
A0 +
X
2n
2n
An cos
+ Bn sin
L
L
n=1
where
A0 =
1
L
f(x) dx,
2
L
f(x) cos
2nx
dx,
L
Bn =
2
L
f(x) sin
2nx
dx,
L
n = 1, 2, 3, . . . .
Figure 11.2.8 y = f(x), where f(x + L) = f(x), Figure 11.2.9 y = f(x), where f(x + L) = f(x),
L < x < 0
L < x < 0
28.
L < x < 0
(Figure 11.2.9), then the Fourier series of f on [L, L] has the form
X
(2n 1)x
(2n 1)x
An cos
+ Bn sin
,
L
L
n=1
where
An =
29.
2
L
f(x) cos
(2n 1)x
dx and
L
Bn =
2
L
f(x) sin
F m = c1 1 + c2 2 + + cm m ,
cn =
Rb
a
f(x)n (x) dx
;
Rb
2 (x) dx
a n
(2n 1)x
dx,
L
n = 1, 2, 3, . . ..
n = 1, 2, . . . , m.
(f(x) Fm (x)) dx
n=1
2n dx.
c2n
n=1
30.
2n (x) dx
f 2 (x) dx.
m
X
An cos
n=1
nx
nx
+ Bn sin
L
L
a0 +
X
an cos
n=1
nx
nx
+ bn sin
L
L
m
X
n=1
an cos
nx
nx
+ bn sin
.
L
L
m
X
(a2n + b2n )
n=1
1
L
for every m 0.
(c) Conclude from (b) that limn an = limn bn = 0.
f 2 (x) dx
603
x
2x
nx
, cos
, . . . , cos
,...
L
L
L
y0 (0) = 0,
y0 (L) = 0
(11.3.1)
(Problem 2) are orthogonal on [0, L]. If f is integrable on [0, L] then the Fourier expansion of f in terms
of these functions is called the Fourier cosine series of f on [0, L]. This series is
a0 +
an cos
n=1
where
a0 =
nx
,
L
f(x) dx
1
=
L
dx
f(x) dx
and
nx
Z
dx
nx
2 L
L
0
an = Z L
=
f(x) cos
dx, n = 1, 2, 3, . . . .
L
L
nx
0
dx
cos2
L
0
Comparing this definition with Theorem 6(a) shows that the Fourier cosine series of f on [0, L] is the
Fourier series of the function
f(x), L < x < 0,
f1 (x) =
f(x),
0 x L,
Z
f(x) cos
an cos
n=1
f(x) dx and
2
an =
L
f(0+)
f(x)
C(x) =
f(x) + f(x+)
f(L)
nx
L
f(x) cos
nx
dx,
L
n = 1, 2, 3, . . .,
if x = 0
if 0 < x < L and f is continuous at x
if 0 < x < L and f is discontinuous at x
if x = L.
y = f(x)
y = f(x)
Figure 11.3.1
Example 11.3.1 Find the Fourier cosine series of f(x) = x on [0, L].
Solution The coefficients are
1
a0 =
L
and, if n 1
an
=
=
=
Therefore
L
1 x2
L
=
x dx =
L 2 0
2
"
#
L Z L
nx
2
nx
nx
dx =
x sin
sin
dx
x cos
L
n
L 0
L
0
0
L
Z L
2
nx
2L
nx
2L
sin
dx = 2 2 cos
= 2 2 [(1)n 1]
n 0
L
n
L 0
n
4L
if n = 2m 1,
(2m 1)2 2
0
if n = 2m.
2
L
C(x) =
Theorem 11.3.1 implies that
L 4L X
1
(2n 1)x
2
cos
.
2
2
n=1 (2n 1)
L
C(x) = x,
Fourier Sine Series
0 x L.
605
x
2x
nx
, sin
, . . . , sin
,...
L
L
L
y(0) = 0,
y(L) = 0
(Problem 1) are orthogonal on [0, L]. If f is integrable on [0, L] then the Fourier expansion of f in terms
of these functions is called the Fourier sine series of f on [0, L]. This series is
bn sin
n=1
where
nx
,
L
nx
Z
dx
nx
2 L
L
bn = 0Z L
=
f(x) sin
dx,
L
L
nx
0
2
sin
dx
L
0
Z
f(x) sin
n = 1, 2, 3, . . ..
Comparing this definition with Theorem 6(b) shows that the Fourier sine series of f on [0, L] is the
Fourier series of the function
f(x), L < x < 0,
f2 (x) =
f(x),
0 x L,
obtained by extending f over [L, L] as an odd function (Figure 11.3.2).
Applying Theorem 11.2.4 to f2 yields the next theorem.
Theorem 11.3.2 If f is piecewise smooth on [0, L], then the Fourier sine series
S(x) =
bn sin
n=1
nx
L
2
L
f(x)
S(x) =
f(x) + f(x+)
f(x) sin
nx
dx,
L
if x = 0
if 0 < x < L and f is continuous at x
if 0 < x < L and f is discontinuous at x
if x = L.
Example 11.3.2 Find the Fourier sine series of f(x) = x on [0, L].
607
y = f(x)
y = f(x)
Figure 11.3.2
Solution The coefficients are
bn
Therefore
"
#
L Z L
nx
2
nx
nx
=
x sin
dx =
x cos
cos
dx
L
n
L 0
L
0
0
L
2L
nx
2L
n+1 2L
= (1)
+ 2 2 sin
= (1)n+1
.
n
n
L 0
n
2
L
S(x) =
Theorem 11.3.2 implies that
2L X (1)n
nx
sin
.
n=1 n
L
S(x) =
x, 0 x < L,
0, x = L.
x
3x
(2n 1)x
, cos
, . . . , cos
,...
2L
2L
2L
y0 (0) = 0,
y(L) = 0
(11.3.2)
X
(2n 1)x
cn cos
,
2L
n=1
where
(2n 1)x
Z
dx
2 L
(2n 1)x
2L
0
cn = Z L
=
f(x) cos
dx.
L
2L
(2n 1)x
0
dx
cos2
L
0
Z
f(x) cos
Well call this expansion the mixed Fourier cosine series of f on [0, L], because the boundary conditions of (11.3.2) are mixed in that they require y to be zero at one boundary point and y0 to be zero at the
other. By contrast, the ordinary Fourier cosine series is associated with (11.3.1), where the boundary
conditions require that y0 be zero at both endpoints.
It can be shown (Exercise 57) that the mixed Fourier cosine series of f on [0, L] is simply the restriction
to [0, L] of the Fourier cosine series of
f(x),
0 x L,
f3 (x) =
f(2L x), L < x 2L
on [0, 2L] (Figure 11.3.3).
y
y = f(x)
2L
y = f(2Lx)
Figure 11.3.3
Applying Theorem 11.3.1 with f replaced by f3 and L replaced by 2L yields the next theorem.
609
Theorem 11.3.3 If f is piecewise smooth on [0, L], then the mixed Fourier cosine series
CM (x) =
(2n 1)x
2L
cn cos
n=1
f(x) cos
f(0+)
f(x)
CM (x) =
f(x) + f(x+)
(2n 1)x
dx,
2L
if x = 0
if 0 < x < L and f is continuous at x
if 0 < x < L and f is discontinuous at x
if x = L.
Example 11.3.3 Find the mixed Fourier cosine series of f(x) = x L on [0, L].
Solution The coefficients are
Z
2 L
(2n 1)x
dx
cn =
(x L) cos
L 0
2L
"
#
L Z L
4
(2n 1)x
(2n 1)x
=
(x L) sin
dx
sin
(2n 1)
2L
2L
0
0
L
(2n 1)x
8L
8L
=
cos
=
.
2
2
(2n 1)
2L
(2n 1)2 2
0
Therefore
CM (x) =
Theorem 11.3.3 implies that
8L X
1
(2n 1)x
cos
.
2
2
n=1 (2n 1)
2L
CM (x) = x L,
0 x L.
x
3x
(2n 1)x
, sin
, . . . , sin
,...
2L
2L
2L
y(0) = 0,
y0 (L) = 0
(Problem 3) are orthogonal on [0, L]. If f is integrable on [0, L], then the Fourier expansion of f in terms
of these functions is
X
(2n 1)x
dn sin
,
2L
n=1
(2n 1)x
Z
dx
2 L
(2n 1)x
2L
0
dn = Z L
=
f(x) sin
dx.
L
2L
(2n 1)x
0
sin2
dx
2L
0
Z
f(x) sin
Well call this expansion the mixed Fourier sine series of f on [0, L].
It can be shown (Exercise 58) that the mixed Fourier sine series of f on [0, L] is simply the restriction
to [0, L] of the Fourier sine series of
f(x),
0 x L,
f4 (x) =
f(2L x), L < x 2L,
on [0, 2L] (Figure 11.3.4).
y
y = f(x)
y = f(2Lx)
2L
Figure 11.3.4
Applying Theorem 11.3.2 with f replaced by f4 and L replaced by 2L yields the next theorem.
Theorem 11.3.4 If f is piecewise smooth on [0, L], then the mixed Fourier sine series
SM (x) =
dn sin
n=1
(2n 1)x
2L
f(x) sin
(2n 1)x
dx,
2L
f(x)
SM (x) =
f(x) + f(x+)
f(L)
611
if x = 0
if 0 < x < L and f is continuous at x
if 0 < x < L and f is discontinuous at x
if x = L.
Example 11.3.4 Find the mixed Fourier sine series of f(x) = x on [0, L].
Solution The coefficients are
Z
2 L
(2n 1)x
dn =
x sin
dx
L 0
2L
"
#
L Z L
(2n 1)x
(2n 1)x
4
cos
dx
=
x cos
(2n 1)
2L
2L
0
0
Z L
4
(2n 1)x
=
cos
dx
(2n 1) 0
2L
L
8L
(2n 1)x
8L
n+1
=
sin
.
= (1)
(2n 1)2 2
2L
(2n 1)2 2
0
Therefore
SM (x) =
Theorem 11.3.4 implies that
8L X (1)n
(2n 1)x
sin
.
2 n=1 (2n 1)2
2L
SM (x) = x,
0 x L.
A Useful Observation
In applications involving expansions in terms of the eigenfunctions of Problems 1-4, the functions being
expanded are often polynomials that satisfy the boundary conditions of the problem under consideration.
In this case the next theorem presents an efficient way to obtain the coefficients in the expansion.
Theorem 11.3.5
(a) If f 0 (0) = f 0 (L) = 0, f 00 is continuous, and f 000 is piecewise continuous on [0, L], then
f(x) = a0 +
nx
,
L
an cos
n=1
with
1
a0 =
L
f(x) dx
and
2L2
an = 3 3
n
0 x L,
nx
dx,
L
n=1
bn sin
nx
,
L
0 x L,
(11.3.3)
n 1.
(11.3.4)
cn cos
(2n 1)x
,
2L
2L
n2 2
bn =
n=1
f 00 (x) sin
with
8L
cn =
(2n 1)2 2
f(x) =
dn sin
n=1
f 00 (x) cos
(2n 1)x
,
2L
with
dn =
8L
(2n 1)2 2
f 00 (x) sin
nx
dx.
L
(11.3.5)
0 x L,
(2n 1)x
dx.
2L
(11.3.6)
0 x L,
(2n 1)x
dx.
2L
(11.3.7)
Proof Well prove (a) and leave the rest to you (Exercises 35, 42, and 50). Since f is continuous on
[0, L], Theorem 11.3.1 implies (11.3.3) with a0 , a1 , a2 ,... as defined in Theorem 11.3.1. We already know
that a0 is as in (11.3.4). If n 1, integrating twice by parts yields
an
=
=
=
=
=
=
=
2
L
nx
dx
L
0
"
#
L Z L
2
nx
nx
f(x) sin
f 0 (x) sin
dx
n
L 0
L
0
Z L
2
nx
f 0 (x) sin
dx (since sin 0 = sin n = 0)
n 0
L
"
#
L Z L
nx
nx
2L
0
00
f (x) cos
f (x) cos
dx
n2 2
L 0
L
0
Z L
2L
nx
2 2
f 00 (x) cos
dx (since f 0 (0) = f 0 (L) = 0)
n 0
L
"
#
L Z L
2L2
nx
nx
00
000
3 3 f (x) sin
f (x) sin
dx
n
L 0
L
0
Z L
2L2
nx
f 000 (x) sin
dx (since sin 0 = sin n = 0).
3
3
n 0
L
Z
f(x) cos
(By an argument similar to one used in the proof of Theorem 8.3.1, the last integration by parts is legitimate in the case where f 000 is undefined at finitely many points in [0, L], so long as its piecewise
continuous on [0, L].) This completes the proof.
Example 11.3.5 Find the Fourier cosine expansion of f(x) = x2 (3L 2x) on [0, L].
an =
1
(3Lx 2x ) dx =
L
2
L
x4
3
Lx
2
nx
dx,
L
613
L
3
= L
2
0
n 1.
Evaluating this integral directly is laborious. However, since f 0 (x) = 6Lx 6x2 , we see that f 0 (0) =
f 0 (L) = 0. Since f 000 (x) = 12, we see from (11.3.4) that if n 1 then
L
Z
24L2 L
nx
24L3
nx
24L3
an = 3 3
sin
dx = 4 4 cos
=
[(1)n 1]
n 0
L
n
L 0
n4 4
48L3
if n = 2m 1,
=
(2m 1)4 4
0
if n = 2m.
Therefore
C(x) =
48L3 X
1
(2n 1)x
L3
4
cos
.
2
n=1 (2n 1)4
L
Example 11.3.6 Find the Fourier sine expansion of f(x) = x(x2 3Lx + 2L2 ) on [0, L].
Solution Since f(0) = f(L) = 0 and f 00 (x) = 6(x L), we see from (11.3.5) that
Z
12L L
nx
bn = 2 2
(x L) sin
dx
n 0
L
"
#
L Z L
12L2
nx
nx
=
cos
dx
(x L) cos
n3 3
L 0
L
0
"
L #
12L2
L
nx
12L3
=
sin
=
.
L
n3 3
n
L 0
n3 3
Therefore
S(x) =
nx
12L3 X 1
sin
.
3
3
n=1 n
L
Example 11.3.7 Find the mixed Fourier cosine expansion of f(x) = 3x3 4Lx2 + L3 on [0, L].
Solution Since f 0 (0) = f(L) = 0 and f 00 (x) = 2(9x 4L), we see from (11.3.6) that
Z L
16L
(2n 1)x
cn =
(9x 4L) cos
dx
2
2
(2n 1) 0
2L
"
#
L
Z L
32L2
(2n 1)x
(2n 1)x
=
(9x 4L) sin
sin
dx
9
(2n 1)3 3
2L
2L
0
0
"
L #
32L2
18L
(2n 1)x
n+1
=
(1)
5L +
cos
(2n 1)3 3
(2n 1)
2L
0
32L3
18
=
(1)n 5 +
.
(2n 1)3 3
(2n 1)
32L3 X
1
18
(2n 1)x
n
CM (x) =
(1) 5 +
cos
.
3 n=1 (2n 1)3
(2n 1)
2L
=
=
=
=
Therefore
Z L
48L
(2n 1)x
(2x 3L) sin
dx
(2n 1)2 2 0
2L
"
#
L
Z L
(2n 1)x
(2n 1)x
96L2
(2x 3L) cos
cos
dx
2
(2n 1)3 3
2L
2L
0
0
"
L #
96L2
4L
(2n 1)x
3L
sin
(2n 1)3 3
(2n 1)
2L
0
3
96L
4
3 + (1)n
.
(2n 1)3 3
(2n 1)
96L3 X
1
4
(2n 1)x
n
SM (x) =
3 + (1)
sin
.
3 n=1 (2n 1)3
(2n 1)
2L
11.3 Exercises
In exercises marked by C graph f and some partial sums of the required series. If the interval is [0, L],
choose a specific value of L for the graph.
In Exercises 1-10 find the Fourier cosine series.
1.
f(x) = x2 ;
[0, L]
2.
C f(x) = 1 x;
3.
C f(x) = x2 2Lx;
4.
5.
6.
7.
8.
[0, 1]
[0, L]
f(x) = (x 1) ;
x
f(x) = e ;
[0, L]
[0, 1]
[0, ]
9.
10.
[0, L]
[0, L]
C f(x) = 1;
12.
C f(x) = 1 x;
13.
14.
15.
16.
17.
[0, L]
[0, 1]
f(x) = e ;
[0, ]
[0, ]
C f(x) = 1;
2
f(x) = x ;
[0, L]
[0, L]
C f(x) = x; [0, 1]
1, 0 x L2
C f(x) =
0, L2 < x < L;
22.
f(x) = cos x;
[0, ]
23.
f(x) = sin x;
[0, ]
24.
[0, L]
[0, L]
C f(x) = 1;
f(x) = x2 ;
[0, L]
[0, L]
1, 0 x L2
0, L2 < x < L;
27.
C f(x) =
28.
f(x) = cos x;
[0, ]
29.
f(x) = sin x;
[0, ]
30.
[0, L]
[0, L].
In Exercises 31-34 use Theorem 11.3.5(a) to find the Fourier cosine series of f on [0, L].
31.
32.
33.
34.
35.
f(x) = x2 (x L)2
615
nx
dx,
L
n 1.
In Exercises 36-41 use Theorem 11.3.5(b) or, where applicable, Exercise 11.1.35(b), to find the Fourier
sine series of f on [0, L].
36.
C f(x) = x(L x)
37.
38.
39.
40.
41.
42.
f(x) = x2 (L x)
f(x) = x(L2 x2 )
(2n 1)x
dx,
2L
n 1.
In Exercises 43-49 use Theorem 11.3.5(c) or, where applicable, Exercise 11.1.42(b), to find the mixed
Fourier cosine series of f on [0, L].
43.
44.
45.
46.
47.
48.
49.
50.
C f(x) = x2 (L x)
f(x) = L2 x2
f(x) = L3 x3
f(x) = x4 2Lx3 + L4
16L2
(2n 1)3 3
(2n 1)x
dx,
2L
n 1.
In Exercises 51-56 use Theorem 11.3.5(d) or, where applicable, Exercise 50(b), to find the mixed Fourier
sine series of the f on [0, L].
51.
52.
f(x) = x(2L x)
617
f(x) = (x L)3 + L3
Show that the mixed Fourier cosine series of f on [0, L] is the restriction to [0, L] of the Fourier
cosine series of
f(x),
0 x L,
f3 (x) =
f(2L x), L < x 2L
on [0, 2L]. Use this to prove Theorem 11.3.3.
58.
Show that the mixed Fourier sine series of f on [0, L] is the restriction to [0, L] of the Fourier sine
series of
f(x),
0 x L,
f4 (x) =
f(2L x), L < x 2L
on [0, 2L]. Use this to prove Theorem 11.3.4.
59.
Show that the Fourier sine series of f on [0, L] is the restriction to [0, L] of the Fourier sine series
of
f(x),
0 x L,
f3 (x) =
f(2L x), L < x 2L
on [0, 2L].
60.
Show that the Fourier cosine series of f on [0, L] is the restriction to [0, L] of the Fourier cosine
series of
f(x),
0 x L,
f4 (x) =
f(2L x), L < x 2L
on [0, 2L].
CHAPTER 12
Fourier Solutions of Partial Differential
IN THIS CHAPTER we use the series discussed in Chapter 11 to solve partial differential equations that
arise in problems of mathematical physics.
SECTION 12.1 deals with the partial differential equation
ut = a2 uxx ,
which arises in problems of conduction of heat.
SECTION 12.2 deals with the partial differential equation
utt = a2 uxx ,
which arises in the problem of the vibrating string.
SECTION 12.3 deals with the partial differential equation
uxx + uyy = 0,
which arises in steady state problems of heat conduction and potential theory.
SECTION 12.4 deals with the partial differential equation
1
1
urr + ur + 2 u = 0,
r
r
which is the equivalent to the equation studied in Section 1.3 when the independent variables are polar
coordinates.
619
619
We begin the study of partial differential equations with the problem of heat flow in a uniform bar of
length L, situated on the x axis with one end at the origin and the other at x = L (Figure 12.1.1).
We assume that the bar is perfectly insulated except possibly at its endpoints, and that the temperature
is constant on each cross section and therefore depends only on x and t. We also assume that the thermal
properties of the bar are independent of x and t. In this case, it can be shown that the temperature
u = u(x, t) at time t at a point x units from the origin satisfies the partial differential equation
ut = a2 uxx,
0 < x < L,
t > 0,
where a is a positive constant determined by the thermal properties. This is the heat equation.
x
x=0
x=L
0 x L.
We call this the initial condition. We must also specify boundary conditions that u must satisfy at the
ends of the bar for all t > 0. Well call this problem an initial-boundary value problem.
We begin with the boundary conditions u(0, t) = u(L, t) = 0, and write the initial-boundary value
problem as
ut = a2 uxx, 0 < x < L, t > 0,
u(0, t) = 0, u(L, t) = 0, t > 0,
(12.1.1)
u(x, 0) = f(x), 0 x L.
Our method of solving this problem is called separation of variables (not to be confused with method
of separation of variables used in Section 2.2 for solving ordinary differential equations). We begin by
looking for functions of the form
v(x, t) = X(x)T (t)
that are not identically zero and satisfy
vt = a2 vxx ,
v(0, t) = 0,
v(L, t) = 0
vxx = X 00 T,
and
XT 0 = a2 X 00 T,
which we rewrite as
T0
X 00
=
.
a2 T
X
Since the expression on the left is independent of x while the one on the right is independent of t, this
equation can hold for all (x, t) only if the two sides equal the same constant, which we call a separation
constant, and write it as ; thus,
T0
X 00
= 2 = .
X
a T
This is equivalent to
X 00 + X = 0
and
T 0 = a2 T.
(12.1.2)
Since v(0, t) = X(0)T (t) = 0 and v(L, t) = X(L)T (t) = 0 and we dont want T to be identically zero,
X(0) = 0 and X(L) = 0. Therefore must be an eigenvalue of the boundary value problem
X 00 + X = 0,
X(0) = 0,
X(L) = 0,
(12.1.3)
and X must be a -eigenfunction. From Theorem 11.1.2, the eigenvalues of (12.1.3) are n = n2 2 /L2 ,
with associated eigenfunctions
Xn = sin
nx
,
L
n = 1, 2, 3, . . ..
2 a2 t/L2
2 a2 t/L2
sin
nx
,
L
n = 1, 2, 3, . . .
Since
nx
,
L
vn satisfies (12.1.1) with f(x) = sin nx/L. More generally, if 1 , . . . , m are constants and
vn (x, 0) = sin
um (x, t) =
m
X
n en
2 a2 t/L2
sin
n=1
m
X
n=1
n sin
nx
.
L
nx
,
L
621
n en
2 a2 t/L2
sin
n=1
where
S(x) =
n sin
n=1
f(x) sin
nx
,
L
(12.1.4)
(12.1.5)
nx
L
nx
dx.
L
We use the term formal solution in this definition because its not in general true that the infinite
series in (12.1.5) actually satisfies all the requirements of the initial-boundary value problem (12.1.4)
when it does, we say that its an actual solution of (12.1.4).
Because of the negative exponentials in (12.1.5), u converges for all (x, t) with t > 0 (Exercise 54).
Since each term in (12.1.5) satisfies the heat equation and the boundary conditions in (12.1.4), u also has
these properties if ut and uxx can be obtained by differentiating the series in (12.1.5) term by term once
with respect to t and twice with respect to x, for t > 0. However, its not always legitimate to differentiate
an infinite series term by term. The next theorem gives a useful sufficient condition for legitimacy of term
by term differentiation of an infinite series. We omit the proof.
Theorem 12.1.2 A convergent infinite series
W (z) =
wn (z)
n=1
wn0 (z)
n=1
(where the derivatives at z = z1 and z = z2 are one-sided) provided that wn0 is continuous on [z1 , z2 ]
and
|wn0 (z)| Mn , z1 z z2 , n = 1, 2, 3, . . . ,
P
where M1 , M2 , . . . , Mn , . . . , are constants such that the series n=1 Mn converges.
Theorem 12.1.2, applied twice with z = x and once with z = t, shows that uxx and ut can be obtained
by differentiating u term by term if t > 0 (Exercise 54). Therefore u satisfies the heat equation and the
boundary conditions in (12.1.4) for t > 0. Therefore, since u(x, 0) = S(x) for 0 x L, u is an actual
solution of (12.1.4) if and only if S(x) = f(x) for 0 x L. From Theorem 11.3.2, this is true if f is
continuous and piecewise smooth on [0, L], and f(0) = f(L) = 0.
In this chapter well define formal solutions of several kinds of problems. When we ask you to solve
such problems, we always mean that you should find a formal solution.
12L3 X 1
nx
sin
.
3 n=1 n3
L
12L3 X 1 n2 2 a2 t/L2
nx
u(x, t) =
e
sin
.
3 n=1 n3
L
If both ends of bar are insulated so that no heat can pass through them, then the boundary conditions
are
ux (0, t) = 0, ux (L, t) = 0, t > 0.
We leave it to you (Exercise 1) to use the method of separation of variables and Theorem 11.1.3 to
motivate the next definition.
Definition 12.1.3 The formal solution of the initial-boundary value problem
ut = a2 uxx, 0 < x < L, t > 0,
ux (0, t) = 0, ux (L, t) = 0, t > 0,
u(x, 0) = f(x), 0 x L
is
u(x, t) = 0 +
n en
2 a2 t/L2
cos
n=1
where
C(x) = 0 +
n=1
1
L
f(x) dx and
n =
2
L
n cos
(12.1.6)
nx
,
L
nx
L
f(x) cos
nx
dx,
L
n = 1, 2, 3, . . . .
L 4L X
1
(2n 1)x
C(x) = 2
cos
.
2
n=1 (2n 1)2
L
Therefore
2 2 2
2
L 4L X
1
(2n 1)x
u(x, t) = 2
e(2n1) a t/L cos
.
2
n=1 (2n 1)2
L
We leave it to you (Exercise 2) to use the method of separation of variables and Theorem 11.1.4 to
motivate the next definition.
623
n e(2n1)
2 a2 t/4L2
sin
n=1
where
SM (x) =
n sin
n=1
(12.1.7)
(2n 1)x
,
2L
(2n 1)x
2L
8L X (1)n
(2n 1)x
sin
.
2 n=1 (2n 1)2
2L
(2n 1)x
8L X (1)n (2n1)22 a2 t/4L2
u(x, t) = 2
e
sin
.
n=1 (2n 1)2
2L
Figure 12.1.2 shows a graph of u = u(x, t) plotted with respect to x for various values of t. The line
y = x corresponds to t = 0. The other curves correspond to positive values of t. As t increases, the
graphs approach the line u = 0.
We leave it to you (Exercise 3) to use the method of separation of variables and Theorem 11.1.5 to
motivate the next definition.
Definition 12.1.5 The formal solution of the initial-boundary value problem
ut = a2 uxx, 0 < x < L, t > 0,
ux(0, t) = 0, u(L, t) = 0, t > 0,
u(x, 0) = f(x), 0 x L
is
u(x, t) =
n e(2n1)
2 a2 t/4L2
n=1
where
CM (x) =
n=1
n cos
cos
(2n 1)x
,
2L
(2n 1)x
2L
(12.1.8)
y=x
x
L
Figure 12.1.2
Example 12.1.4 Solve (12.1.8) with f(x) = x L.
Solution From Example 11.3.3, the mixed Fourier cosine series of f on [0, L] is
CM (x) =
Therefore
u(x, t) =
8L X
1
(2n 1)x
cos
.
2
2
n=1 (2n 1)
2L
2 2 2
2
8L X
1
(2n 1)x
e(2n1) a t/4L cos
.
2
2
n=1 (2n 1)
2L
Nonhomogeneous Problems
A problem of the form
ut = a2 uxx + h(x), 0 < x < L, t > 0,
u(0, t) = u0 , u(L, t) = uL , t > 0,
u(x, 0) = f(x), 0 x L
(12.1.9)
and
uxx = vxx + q 00
(12.1.10)
625
(12.1.11)
if
a2 q 00 + h(x) = 0,
q(0) = u0 ,
q(L) = uL .
We can obtain q by integrating q 00 = h/a2 twice and choosing the constants of integration so that
q(0) = u0 and q(L) = uL . Then we can solve (12.1.11) for v by separation of variables, and (12.1.10) is
the solution of (12.1.9).
Example 12.1.5 Solve
ut = uxx 2, 0 < x < 1, t > 0,
u(0, t) = 1, u(1, t) = 1, t > 0,
u(x, 0) = x3 2x2 + 3x 1, 0 x 1.
Solution We leave it to you to show that
q(x) = x2 + x 1
satisfies
q 00 2 = 0,
q(0) = 1,
q(1) = 1.
Therefore
u(x, t) = v(x, t) + x2 + x 1,
where
vt = vxx ,
v(0, t) = 0,
0 < x < 1,
v(1, t) = 0,
t > 0,
t > 0,
and
v(x, 0) = x3 2x2 + 3x 1 x2 x + 1 = x(x2 3x + 2).
From Example 12.1.1 with a = 1 and L = 1,
v(x, t) =
12 X 1 n2 2 t
e
sin nx.
3 n=1 n3
Therefore
u(x, t) = x2 + x 1 +
12 X 1 n2 2 t
e
sin nx.
3 n=1 n3
A similar procedure works if the boundary conditions in (12.1.11) are replaced by mixed boundary
conditions
ux(0, t) = u0 , u(L, t) = uL, t > 0
ux(L, t) = uL,
t > 0;
ux (L, t) = uL ,
t > 0.
n en
2 a2 t/L2
sin
n=1
nx
,
L
of (12.1.4), where
S(x) =
n sin
n=1
nx
L
is the Fourier sine series of f on [0, L]. Consider the m-th partial sum
um (x, t) =
m
X
n en
2 a2 t/L2
n=1
sin
nx
.
L
(12.1.12)
For several fixed values of t (including t = 0), graph um (x, t) versus t. In some cases it may be useful to
graph the curves corresponding to the various values of t on the same axes in other cases you may want to
graph the various curves sucessively (for increasing values of t), and create a primitive motion picture on
your monitor. Repeat this experiment for several values of m, to compare how the results depend upon
m for small and large values of t. However, keep in mind that the meanings of small and large in this
case depend upon the constants a2 and L2 . A good way to handle this is to rewrite (12.1.12) as
um (x, t) =
m
X
n en
n=1
where
=
2 a2 t
,
L2
sin
nx
,
L
(12.1.13)
627
12.1 Exercises
1.
2.
3.
4.
C Perform numerical experiments with the formal solution obtained in Example 12.1.1.
5.
C Perform numerical experiments with the formal solution obtained in Example 12.1.2.
6.
C Perform numerical experiments with the formal solution obtained in Example 12.1.3.
7.
C Perform numerical experiments with the formal solution obtained in Example 12.1.4.
In Exercises 8-42 solve the initial-boundary value problem. Where indicated by C , perform numerical
experiments. To simplify the computation of coefficients in some of these problems, check first to see if
u(x, 0) is a polynomial that satisfies the boundary conditions. If it does, apply Theorem 11.3.5; also, see
Exercises 11.3.35(b), 11.3.42(b), and 11.3.50(b).
8.
9.
10.
11.
12.
13.
14.
15.
16.
18.
19.
20.
21.
22.
23.
24.
25.
26.
27.
28.
29.
30.
31.
33.
34.
35.
36.
37.
38.
39.
40.
41.
42.
629
In Exercises 43-46 solve the initial-boundary value problem. Perform numerical experiments for specific
values of L and a.
43.
44.
46.
47.
Let h be continuous on [0, L] and let u0 , uL, and a be constants, with a > 0. Show that its always
possible to find a function q that satisfies (a), (b), or (c), but that this isnt so for (d).
(a)
(b)
(c)
(d)
a2 q 00 + h = 0,
a2 q 00 + h = 0,
a2 q 00 + h = 0,
a2 q 00 + h = 0,
q(0) = u0 , q(L) = uL
q 0 (0) = u0 , q(L) = uL
q(0) = u0 , q 0 (L) = uL
q 0 (0) = u0 , q 0 (L) = uL
49.
50.
51.
52.
53.
54.
P
2
In this exercise take it as given that the infinite series n=1 np eqn converges for all p if q > 0,
and, where appropriate, use the comparison test for absolute convergence of an infinite series.
Let
u(x, t) =
n en
2 a2 t/L2
n=1
where
2
n =
L
and f is piecewise smooth on [0, L].
f(x) sin
sin
nx
L
nx
dx
L
631
2 2 2
2
X
nx
nn en a t/L cos
,
L n=1
L
< x < .
(c) Starting from the result of (a), use Theorem 12.1.2 with z = x to show that, for a fixed t > 0,
uxx (x, t) =
2 2 2
2
nx
2 X 2
n n en a t/L sin
,
L2 n=1
L
< x < .
(d) For fixed but arbitrary x, use Theorem 12.1.2 with z = t to show that
ut (x, t) =
2 2 2
2
2 a2 X 2
nx
n n en a t/L sin
,
2
L n=1
L
if t > t0 > 0, where t0 is an arbitrary positive number. Then argue that since t0 is arbitrary,
the conclusion holds for all t > 0.
(e) Conclude from (c) and (d) that
ut = a2 uxx ,
< x < ,
t > 0.
By repeatedly applying the arguments in (a) and (c), it can be shown that u can be differentiated
term by term any number of times with respect to x and/or t if t > 0.
(12.2.1)
and
to two and three space dimensions have important applications to the the propagation of electromagnetic,
sonic, and water waves.
The Vibrating String
We motivate the study of the wave equation by considering its application to the vibrations of a string
such as a violin string tightly stretched in equilibrium along the x-axis in the xu-plane and tied to the
points (0, 0) and (L, 0) (Figure 12.2.1).
If the string is plucked in the vertical direction and released at time t = 0, it will oscillate in the xuplane. Let u(x, t) denote the displacement of the point on the string above (or below) the abscissa x at
time t.
Well show that its reasonable to assume that u satisfies the wave equation under the following assumptions:
Figure 12.2.2 shows a segment of the displaced string at a time t > 0. (Dont think that the figure is
necessarily inconsistent with Assumption 4; we exaggerated the slope for clarity.)
The vectors T1 and T2 are the forces due to tension, acting along the tangents to the segment at its
endpoints. From Newtons second law of motion, T1 T2 is equal to the mass times the acceleration of
the center of mass of the segment. The horizontal and vertical components of T1 T2 are
|T2 | cos 2 |T1 | cos 1
and
respectively. Since
|T2 | cos 2 = |T1 | cos 1 = T
(12.2.3)
by assumption, the net horizontal force is zero, so theres no horizontal acceleration. Since the initial
horizontal velocity is zero, theres no horizontal motion.
Applying Newtons second law of motion in the vertical direction yields
|T2 | sin 2 |T1 | sin 1 = s utt (x, t),
(12.2.4)
633
1
T
x+x
p
1 + u2x(, t) d;
x+x
1 d = x,
so (12.2.4) becomes
|T2 | sin 2 |T1 | sin 1 = x utt (x, t).
Therefore
= utt(x, t).
x
T
(12.2.5)
uxx (x, t) =
and
vxx = X 00 T,
XT 00 = a2 X 00 T,
which we rewrite as
T 00
X 00
=
.
2
a T
X
For this to hold for all (x, t), the two sides must equal the same constant; thus,
X 00
T 00
= 2 = ,
X
a T
which is equivalent to
X 00 + X = 0
and
T 00 + a2 T = 0.
(12.2.6)
Since v(0, t) = X(0)T (t) = 0 and v(L, t) = X(L)T (t) = 0 and we dont want T to be identically zero,
X(0) = 0 and X(L) = 0. Therefore must be an eigenvalue of
X 00 + X = 0,
X(0) = 0,
X(L) = 0,
(12.2.7)
and X must be a -eigenfunction. From Theorem 11.1.2, the eigenvalues of (12.2.7) are n = n2 2 /L2 ,
with associated eigenfunctions
Xn = sin
nx
,
L
n = 1, 2, 3, . . ..
nat n L
nat
+
sin
,
L
na
L
vn
(x, t) =
t
so
635
na
nat
nat
nx
n sin
+ n cos
sin
,
L
L
L
L
vn
nx
nx
and
(x, 0) = n sin
.
L
t
L
Therefore vn satisfies (12.2.1) with f(x) = n sin nx/L and g(x) = n cos nx/L. More generally, if
1 , 2 , . . . , m and 1 , 2 ,. . . , m are constants and
m
X
nat n L
nat
nx
um (x, t) =
n cos
+
sin
sin
,
L
na
L
L
n=1
vn (x, 0) = n sin
m
X
n sin
n=1
nx
L
and
g(x) =
m
X
n sin
n=1
nx
.
L
n sin
n=1
nx
L
and
Sg (x) =
2
L
f(x) sin
nx
dx and
L
n sin
n=1
are the Fourier sine series of f and g on [0, L]; that is,
n =
n =
2
L
nx
L
g(x) sin
(12.2.8)
nx
dx.
L
Since there are no convergence-producing factors in (12.2.8) like the negative exponentials in t that
appear in formal solutions of initial-boundary value problems for the heat equation, it isnt obvious that
(12.2.8) even converges for any values of x and t, let alone that it can be differentiated term by term to
show that utt = a2 uxx. However, the next theorem guarantees that the series converges not only for
0 x L and t 0, but for < x < and < t < .
Theorem 12.2.2 If f and g are pieceswise smooth on [0, L], then u in (12.2.1) converges for all (x, t),
and can be written as
Z x+at
1
1
u(x, t) = [Sf (x + at) + Sf (x at)] +
Sg ( ) d.
(12.2.9)
2
2a xat
Proof
and
1
[sin(A + B) + sin(A B)]
2
1
sin A sin B = [cos(A + B) cos(A B)]
2
and
nx
nat
sin
sin
L
L
=
=
From (12.2.10),
1
n(x + at)
n(x at)
cos
cos
2Z
L
L
x+at
n
n
sin
d.
2L xat
L
(12.2.10)
(12.2.11)
1X
n(x + at)
n(x at)
n sin
+ sin
2 n=1
L
L
(12.2.12)
n=1
1
=
[Sf (x + at) + Sf (x at)].
2
Since it can be shown that a Fourier sine series can be integrated term by term between any two limits,
(12.2.11) implies that
Z x+at
X
nat
nx
1 X
n
n L
sin
sin
=
d
n
sin
na
L
L
2a
L
xat
n=1
n=1
!
Z x+at X
1
n
=
n sin
d
2a xat n=1
L
Z x+at
1
=
Sg ( ) d.
2a xat
n cos
nx
nat
sin
L
L
x0+
h(x) h(0)
x
and
h0 (L) = lim
xL
h(x) h(L)
xL
both exist.
(a) Let p be the odd periodic extension of h to (, ); that is,
h(x),
0 x L,
p(x) =
and p(x + 2L) = p(x),
h(x), L < x < 0,
< x < .
(12.2.13)
< x < .
(12.2.14)
637
Proof Throughout this proof, k denotes an integer. Since f is differentiable on the open interval (0, L),
both p and q are differentiable on every open interval ((k 1)L, kL). Thus, we need only to determine
whether p and q are differentiable at x = kL for every k.
(a) From Figure 12.2.3, p is discontinuous at x = 2kL if h(0) 6= 0 and discontinuous at x = (2k 1)L
if h(L) 6= 0. Therefore p is not differentiable on (, ) unless h(0) = h(L) = 0. From Figure 12.2.4,
if h(0) = h(L) = 0, then
p0 (2kL) = h0+ (0) and
x = 3L
x = 2L
x=L
x=0
x=L
x = 2L
x = 3L
x = 3L
x = 2L
x=L
x=0
x=L
x = 2L
x = 3L
Figure 12.2.3 The odd extension of a function that Figure 12.2.4 The odd extension of a function that
does not satisfy (12.2.13)
satisfies (12.2.13)
(b) From Figure 12.2.5,
0
q
(2kL) = h0+ (0)
and
0
q+
(2kL) = h0+ (0),
and
0
q+
((2k 1)L) = h0 (L),
x = 3L
x = 2L
x=L
x=0
x=L
x = 2L
x = 3L
x = 3L
x = 2L
x=L
x=0
x=L
x = 2L
x = 3L
Figure 12.2.5 The even extension of a function that Figure 12.2.6 The even extension of a function that
doesnt satisfy (12.2.14)
satisfies (12.2.14)
(12.2.15)
f(0) = f(L) = 0
(12.2.16)
00
00
f+
(0) = f
(L) = 0.
(12.2.17)
and
Proof We first show that Sg is differentiable and Sf is twice differentiable on (, ). Well then
differentiate (12.2.9) twice with respect to x and t and verify that (12.2.9) is an actual solution of (12.2.1).
Since f and g are continuous on (0, L), Theorem 11.3.2 implies that Sf (x) = f(x) and Sg (x) = g(x)
on [0, L]. Therefore Sf and Sg are the odd periodic extensions of f and g. Since f and g are differentiable on [0, L], (12.2.15), (12.2.16), and Theorem 12.2.3(a) imply that Sf and Sg are differentiable on
(, ).
Since Sf0 (x) = f 0 (x) on [0, L] (one-sided derivatives at the endpoints), and Sf0 is even (the derivative
of an odd function is even), Sf0 is the even periodic extension of f 0 . By assumption, f 0 is differentiable
on [0, L]. Because of (12.2.17), Theorem 12.2.3(b) with h = f 0 and q = Sf0 implies that Sf00 exists on
(, ).
Now we can differentiate (12.2.9) twice with respect to x and t:
ux (x, t) =
1
1 0
[Sf (x + at) + Sf0 (x at)] + [Sg (x + at) Sg (x at)],
2
2a
1
1 00
[Sf (x + at) + Sf00 (x at)] + [Sg0 (x + at) Sg0 (x at)],
2
2a
a 0
1
ut (x, t) = [Sf (x + at) Sf0 (x at)] + [Sg (x + at) + Sg (x at)],
2
2
uxx (x, t) =
and
utt (x, t) =
a2 00
a
[S (x + at) Sf00 (x at)] + [Sg0 (x + at) Sg0 (x at)].
2 f
2
(12.2.18)
(12.2.19)
(12.2.20)
Comparing (12.2.18) and (12.2.20) shows that utt (x, t) = a2 uxx(x, t) for all (x, t).
From (12.2.8), u(0, t) = u(L, t) = 0 for all t. From (12.2.9), u(x, 0) = Sf (x) for all x, and therefore,
in particular,
u(x, 0) = f(x), 0 x < L.
From (12.2.19), ut (x, 0) = Sg (x) for all x, and therefore, in particular,
ut (x, 0) = g(x),
0 x < L.
and
639
Solution We leave it to you to verify that f and g satisfy the assumptions of Theorem 12.2.4.
From Exercise 11.3.39,
Sf (x) =
(2n 1)x
96L4 X
1
sin
.
5 n=1 (2n 1)5
L
8L2 X
(2n 1)x
1
sin
.
3 n=1 (2n 1)3
L
96L4 X
1
(2n 1)at
(2n 1)x
cos
sin
5 n=1 (2n 1)5
L
L
3 X
8L
1
(2n 1)at
(2n 1)x
sin
sin
.
+ 4
4
a n=1 (2n 1)
L
L
Theorem 12.1.2 implies that uxx and utt can be obtained by term by term differentiation, for all (x, t),
so utt = a2 uxx for all (x, t) (Exercise 62). Moreover, Theorem 11.3.2 implies that Sf (x) = f(x) and
Sg (x) = g(x) if 0 x L. Therefore u(x, 0) = f(x) and ut (x, 0) = g(x) if 0 x L. Hence, u is
an actual solution of the initial-boundary value problem.
R EMARK: In solving a specific initial-boundary value problem (12.2.1), its convenient to solve the problem with g 0, then with f 0, and add the solutions to obtain the solution of the given problem.
Because of this, either f 0 or g 0 in all the specific initial-boundary value problems in the exercises.
The Plucked String
If f and g dont satisfy the assumptions of Theorem 12.2.4, then (12.2.8) isnt an actual solution of
(12.2.1) in fact, it can be shown that (12.2.1) doesnt have an actual solution in this case. Nevertheless, u
is defined for all (x, t), and we can see from (12.2.18) and (12.2.20) that utt (x, t) = a2 uxx (x, t) for all
(x, t) such that Sf00 (x at) and Sg0 (x at) exist. Moreover, u may still provide a useful approximation
to the vibration of the string; a laboratory experiment can confirm or deny this.
Well now consider the initial-boundary value problem (12.2.1) with
x,
0 x L2 ,
f(x) =
(12.2.21)
L x, L2 x L
and g 0. Since f isnt differentiable at x = L/2, it doesnt satisfy the assumptions of Theorem 12.2.4,
so the formal solution of (12.2.1) cant be an actual solution. Nevertheless, its instructive to investigate
the properties of the formal solution.
The graph of f is shown in Figure 12.2.7. Intuitively, we are plucking the string by half its length at the
middle. Youre right if you think this is an extraordinarily large displacement; however, we could remove
this objection by multiplying the function in Figure 12.2.7 by a small constant. Since this would just
multiply the formal solution by the same constant, well leave f as weve defined it. Similar comments
apply to the exercises.
From Exercise 11.3.15, the Fourier sine series of f on [0, L] is
Sf (x) =
4L X (1)n+1
(2n 1)x
sin
,
2
2
n=1 (2n 1)
L
.5 L
.5 L
4L X (1)n+1
(2n 1)at
(2n 1)x
cos
sin
.
2
2
n=1 (2n 1)
L
L
(12.2.22)
This series converges absolutely for all (x, t) by the comparison test, since the series
1
(2n
1)2
n=1
converges. Moreover, (12.2.22) satisfies the boundary conditions
u(0, t) = u(L, t) = 0,
t > 0,
0 x L.
However, we cant justify differentiating (12.2.22) term by term even once, and formally differentiating it
twice term by term produces a series that diverges for all (x, t). (Verify.). Therefore we use dAlemberts
form
1
u(x, t) = [Sf (x + at) + Sf (x at)]
(12.2.23)
2
for u to study its derivatives. Figure 12.2.8 shows the graph of Sf , which is the odd periodic extension
of f. You can see from the graph that Sf is differentiable at x (and Sf0 (x) = 1) if and only if x isnt an
odd multiple of L/2.
641
.5L
.5L
.5L
x = 3L
x = 2L
x=L
.5L
x=0
x=L
x = 2L
x = 3L
x = 3L
x = 2L
x=L
x=0
x=L
x = 2L
In Figure 12.2.9 the dashed and solid curves are the graphs of y = Sf (x at) and y = Sf (x + at)
respectively, for a fixed value of t. As t increases the dashed curve moves to the right and the solid
curve moves to the left. For this reason, we say that the functions u1 (x, t) = Sf (x + at) and u2 (x, t) =
Sf (x at) are traveling waves. Note that u1 satisfies the wave equation at (x, t) if x + at isnt an
odd multiple of L/2 and u2 satisfies the wave equation at (x, t) if x at isnt an odd multiple of L/2.
Therefore (12.2.23) (or, equivalently, (12.2.22)) satisfies utt (x, t) = a2 uxx (x, t) = 0 for all (x, t) such
that neither x at nor x + at is an odd multiple of L/2.
We conclude by finding an explicit formula for u(x, t) under the assumption that
0xL
0 t L/2a.
and
(12.2.24)
To see how this formula can be used to compute u(x, t) for 0 x L and arbitrary t, we refer you to
Exercise 16.
From Figure 12.2.10,
(
x at,
0 x L2 + at,
Sf (x at) =
L x + at, L2 + at x L
and
Sf (x + at) =
x + at,
0x
L x at,
L
2
L
2
at,
at x L
u(x, t) =
x,
L
2
at,
L x,
0x
L
2
L
2
L
2
at,
at x
L
2
+ at,
at x L
if (x, t) satisfies (12.2.24). Figure 12.2.11 is the graph of this function on [0, L] for a fixed t in (0, L/2a).
x = 3L
.5L
.5L
y = .5L at
at
.5L
L
x =.5L at
x = .5L at
x =.5L + at
x =.5L + at
USING TECHNOLOGY
Although the formal solution
u(x, t) =
X
n=1
nat n L
nat
n cos
+
sin
L
na
L
sin
nx
L
of (12.2.1) is defined for all (x, t), were mainly interested in its behavior for 0 x L and t 0. In
fact, its sufficient to consider only values of t in the interval 0 t < 2L/a, since
u(x, t + 2kL/a) = u(x, t)
for all (x, t) if k is an integer. (Verify.)
You can create an animation of the motion of the string by performing the following numerical experiment.
Let m and k be positive integers. Let
tj =
2Lj
,
ka
j = 0, 1, . . . k;
thus, t0 , t1 , . . . tk are equally spaced points in [0, 2L/a]. For each j = 0, 1 ,2, . . . k, graph the partial sum
m
X
natj
n L
natj
nx
um (x, tj ) =
n cos
+
sin
sin
L
na
L
L
n=1
on [0, L] as a function of x. Write your program so that each graph remains displayed on the monitor for
a short time, and is then deleted and replaced by the next. Repeat this procedure for various values of m
and k.
We suggest that you perform experiments of this kind in the exercises marked C , without other
specific instructions. (These exercises were chosen arbitrarily; the experiment is worthwhile in all the
exercises dealing with specific initial-boundary value problems.) In some of the exercises the formal
solutions have other forms, defined in Exercises 17, 34, and 49; however, the idea of the experiment is
the same.
643
12.2 Exercises
In Exercises 1-15 solve the initial-boundary value problem. In some of these exercises, Theorem 11.3.5(b)
or Exercise 11.3.35 will simplify the computation of the coefficients in the Fourier sine series.
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
utt = 9uxx,
u(0, t) = 0,
0x1
0x1
0x1
0x1
0x3
0x1
0x1
0x1
0x1
15.
16.
0x1
0x1
We saw that the displacement of the plucked string is, on the one hand,
u(x, t) =
(2n 1)at
(2n 1)x
4L X (1)n+1
cos
sin
, 0 x L, t 0,
2 n=1 (2n 1)2
L
L
(A)
u(x, ) =
x,
L
2
0x
L
2
a,
L
2
L x,
L
2
a,
a x
L
2
+ a,
(B)
a x L.
if 0 L/2a. The first objective of this exercise is to show that (B) can be used to compute
u(x, t) for 0 x L and all t > 0.
(a) Show that if t > 0, theres a nonnegative integer m such that either
(i) t =
mL
+
a
or
(ii) t =
(m + 1)L
,
a
where 0 L/2a.
(b) Use (A) to show that u(x, t) = (1)m u(x, ) if (i) holds, while u(x, t) = (1)m+1 u(x, )
if (ii) holds.
(c) L Perform the following experiment for specific values of L and a and various values of
m and k: Let
Lj
tj =
, j = 0, 1, . . . k;
2ka
thus, t0 , t1 , . . . , tk are equally spaced points in [0, L/2a]. For each j = 0, 1 , 2,. . . , k,
graph the mth partial sum of (A) and u(x, tj ) computed from (B) on the same axis. Create
an animation, as described in the remarks on using technology at the end of the section.
17.
If a string vibrates with the end at x = 0 free to move in a frictionless vertical track and the end at
x = L fixed, then the initial-boundary value problem for its displacement takes the form
utt = a2 uxx , 0 < x < L, t > 0,
ux(0, t) = 0, u(L, t) = 0, t > 0,
u(x, 0) = f(x), ut (x, 0) = g(x), 0 x L.
(A)
1)a
2L
2L
n=1
where
CMf (x) =
n=1
n cos
(2n 1)x
2L
and
CMg (x) =
n=1
n cos
(2n 1)x
2L
645
are the mixed Fourier cosine series of f and g on [0, L]; that is,
2
n =
L
(2n 1)x
f(x) cos
dx and
2L
2
n =
L
g(x) cos
(2n 1)x
dx.
2L
In Exercises 18-31, use Exercise 17 to solve the initial-boundary value problem. In some of these exercises
Theorem 11.3.5(c) or Exercise 11.3.42(b) will simplify the computation of the coefficients in the mixed
Fourier cosine series.
18.
19.
20.
21.
22.
23.
24.
25.
26.
27.
28.
29.
0x1
0x1
0x1
0x1
0x1
0x1
0x1
0x1
31.
0x1
0x1
32.
Adapt the proof of Theorem 12.2.2 to find dAlemberts solution of the initial-boundary value
problem in Exercise 17.
33.
Use the result of Exercise 32 to show that the formal solution of the initial-boundary value problem
in Exercise 17 is an actual solution if g is differentiable and f is twice differentiable on [0, L] and
0
0
00
g+
(0) = g(L) = f+
(0) = f(L) = f
(L) = 0.
H INT: See Exercise 11.3.57, and apply Theorem 12.2.3 with L replaced by 2L.
34.
1)a
2L
2L
n=1
where
SMf (x) =
n sin
n=1
(2n 1)x
2L
and
SMg (x) =
n sin
n=1
(2n 1)x
2L
are the mixed Fourier sine series of f and g on [0, L]; that is,
n =
2
L
f(x) sin
(2n 1)x
dx and
2L
n =
2
L
g(x) sin
(2n 1)x
dx.
2L
In Exercises 35-46 use Exercise 34 to solve the initial-boundary value problem. In some of these exercises
Theorem 11.3.5(d) or Exercise 11.3.50(b) will simplify the computation of the coefficients in the mixed
Fourier sine series.
35.
36.
37.
0x
0x1
0x
39.
40.
41.
42.
43.
44.
45.
46.
647
0x1
0x
0x1
0x
0x1
0x1
0x1
0x1
47.
Adapt the proof of Theorem 12.2.2 to find dAlemberts solution of the initial-boundary value
problem in Exercise 34.
48.
Use the result of Exercise 47 to show that the formal solution of the initial-boundary value problem
in Exercise 34 is an actual solution if g is differentiable and f is twice differentiable on [0, L] and
0
0
00
f(0) = f
(L) = g(0) = g
(L) = f+
(0) = 0.
H INT: See Exercise 11.3.58 and apply Theorem 12.2.3 with L replaced by 2L.
49.
X
n=1
where
Cf (x) = 0 +
n=1
n cos
nat Ln
nat
n cos
+
sin
L
na
L
nx
L
and
Cg (x) = 0 +
n=1
cos
nx
,
L
n cos
nx
L
n = 1, 2, 3, . . ..
In Exercises 50-59 use Exercise 49 to solve the initial-boundary value problem. In some of these exercises
Theorem 11.3.5(a) will simplify the computation of the coefficients in the Fourier cosine series.
50.
51.
52.
53.
54.
55.
56.
57.
58.
59.
0x2
0x2
0x
0x1
0x
0x1
0x
t > 0,
t > 0,
ut (x, 0) = 0,
0x1
0x
0x1
60.
Adapt the proof of Theorem 12.2.2 to find dAlemberts solution of the initial-boundary value
problem in Exercise 49.
61.
Use the result of Exercise 60 to show that the formal solution of the initial-boundary value problem
in Exercise 49 is an actual solution if g is differentiable and f is twice differentiable on [0, L] and
0
0
0
0
f+
(0) = f
(L) = g+
(0) = g
(L) = 0.
649
Suppose and are constants and either pn (x) = cos nx or pn (x) = sin nx, while either
qn (t) = cos nt or qn (t) = sin nt for n = 1, 2, 3, . . . . Let
u(x, t) =
kn pn (x)qn (t),
(A)
n=1
where {kn }
n=1 are constants.
P
(a) Show that if n=1 |kn| converges then u(x, t) converges for all (x, t).
P
(b) Use Theorem 12.1.2 to show that if n=1 n|kn | converges then (A) can be differentiated
term by term with respect to x and t for all (x, t); that is,
ux(x, t) =
n=1
and
ut (x, t) =
kn pn (x)qn0 (t).
n=1
(c) Suppose
n=1 n
n=1
and
utt (x, y) =
kn pn (x)qn00 (t)
n=1
(d) Suppose
n=1 n
|n | and
u(x, t) =
n=1 n|n |
X
n=1
2
2 u0
2 u0
=
a
,
t2
x2
and
u0 (x, 0) = f(x),
(b) Show that
u0
(x, 0) = 0,
t
2
2 u1
2 u1
=
a
,
t2
x2
and
u1 (x, 0) = 0,
< x < ,
< x < .
< x < ,
u1
(x, 0) = g(x),
t
t > 0,
t > 0,
< x < .
< t < ,
ut (x, 0) = g(x),
t > 0,
< x < .
< x <
u(x, 0) = x,
65.
66.
ut (x, 0) = 4ax,
67.
u(x, 0) = x3 ,
ut (x, 0) = 6x2 ,
68.
u(x, 0) = x sin x,
< x <
< x <
(12.3.1)
where (x, y) varies over the interior of the plate and t > 0. To find a solution of (12.3.1), its necessary to
specify the initial temperature u(x, y, 0) and conditions that must be satisfied on the boundary. However,
as t , the influence of the initial condition decays, so
lim ut (x, y, t) = 0
and the temperature approaches a steady state distribution u = u(x, y) that satisfies
uxx + uyy = 0.
(12.3.2)
This is Laplaces equation. This equation also arises in applications to fluid mechanics and potential
theory; in fact, it is also called the potential equation. We seek solutions of (12.3.2) in a region R that
satisfy specified conditions called boundary conditions on the boundary of R. For example, we may
require u to assume prescribed values on the boundary. This is called a Dirichlet condition, and the
problem is called a Dirichlet problem. Or, we may require the normal derivative of u at each point (x, y)
on the boundary to assume prescribed values. This is called a Neumann condition, and the problem is
called a Neumann problem. In some problems we impose Dirichlet conditions on part of the boundary
and Neumann conditions on the rest. Then we say that the boundary conditions and the problem are
mixed.
Solving boundary value problems for (12.3.2) over general regions is beyond the scope of this book,
so we consider only very simple regions. We begin by considering the rectangular region shown in
Figure 12.3.1.
The possible boundary conditions for this region can be written as
(1 )u(x, 0) +
uy (x, 0) =
f0 (x), 0 x a,
(1 )u(x, b)
uy (x, b)
f1 (x), 0 x a,
(1 )u(0, y)
ux (0, y)
g0 (y),
0 y b,
(1 )u(a, y)
ux (a, y)
g1 (y),
0 y b,
651
u(0,y) = g0(y)
y
u(x,b) = f (x)
1
xx
+ uyy = 0
u(x,0) = f0(x)
u(a,y) = g1(y)
ux(0,y) = g0(y)
u (x,b) = f (x)
y
1
xx
+ uyy = 0
uy(x,0) = f0(x)
ux(a,y) = g1(y)
and
is a solution of
BVP(, , , )(f0 , f1 , g0 , g1 ).
Therefore we concentrate on problems where only one of the functions f0 , f1 , g0 , g2 isnt identically
zero. There are 64 (count them!) problems of this form. Each has homogeneous boundary conditions on
three sides of the rectangle, and a nonhomogeneous boundary condition on the fourth. We use separation
of variables to find infinitely many functions that satisfy Laplaces equation and the three homogeneous
boundary conditions in the open rectangle. We then use these solutions as building blocks to construct a
formal solution of Laplaces equation that also satisfies the nonhomogeneous boundary condition. Since
its not feasible to consider all 64 cases, well restrict our attention in the text to just four. Others are
discussed in the exercises.
If v(x, y) = X(x)Y (y) then
vxx + vyy = X 00 Y + XY 00 = 0
for all (x, y) if and only if
Y 00
X 00
=
=k
X
Y
for all (x, y), where k is a separation constant. This equation is equivalent to
X 00 kX = 0,
Y 00 + kY = 0.
(12.3.3)
From here, the strategy depends upon the boundary conditions. We illustrate this by examples.
Example 12.3.1 Define the formal solution of
uxx + uyy = 0, 0 < x < a, 0 < y < b,
u(x, 0) = f(x), u(x, b) = 0, 0 x a,
u(0, y) = 0, u(a, y) = 0, 0 y b
(12.3.4)
(Figure 12.3.4).
Solution The boundary conditions in (12.3.4) require products v(x, y) = X(x)Y (y) such that X(0) =
X(a) = Y (b) = 0; hence, we let k = in (12.3.3). Thus, X and Y must satisfy
X 00 + X = 0,
X(0) = 0,
X(a) = 0
(12.3.5)
and
Y 00 Y = 0,
Y (b) = 0.
(12.3.6)
From Theorem 11.1.2, the eigenvalues of (12.3.5) are n = n2 2 /a2 , with associated eigenfunctions
Xn = sin
nx
,
a
n = 1, 2, 3, . . ..
Y (b) = 0,
n(b y)
;
a
(12.3.7)
653
y
u(x,b) = 0
b
uxx + uyy = 0
u(0,y) = 0
u(a,y) = 0
u(x,0) = f(x)
Then
vn (x, y) = Xn (x)Yn (y) =
so vn (x, 0) = sin nx/a and vn satisfies (12.3.4) with f(x) = sin nx/a. More generally, if 1 , . . . ,
m are arbitrary constants then
um (x, y) =
m
X
n=1
nx
sinh n(b y)/a
sin
sinh nb/a
a
m
X
n sin
n sin
n=1
nx
.
L
Therefore, if f is an arbitrary piecewise smooth function on [0, a], we define the formal solution of
(12.3.4) to be
X
sinh n(b y)/a
nx
u(x, y) =
n
sin
,
(12.3.8)
sinh
nb/a
a
n=1
where
S(x) =
n=1
nx
a
n = 1, 2, 3, . . ..
If y < b then
sinh n(b y)/a
eny/a
sinh nb/a
(12.3.9)
for large n, so the series in (12.3.8) converges if 0 < y < b; moreover, since also
cosh n(b y)/a
eny/a
sinh nb/a
for large n, Theorem 12.1.2 applied twice with z = x and twice with z = t, shows that uxx and uyy can
be obtained by differentiating u term by term if 0 < y < b. (Exercise 37). Therefore u satisfies Laplaces
equation in the interior of the rectangle in Figure 12.3.4. Moreover, the series in (12.3.8) also converges
on the boundary of the rectangle, and satisfies the three homogeneous boundary conditions conditions in
(12.3.4). Therefore, since u(x, 0) = S(x) for 0 x L, u is an actual solution of (12.3.5) if and only if
S(x) = f(x) for 0 x a. From Theorem 11.3.2, this is true if f is continuous and piecewise smooth
on [0, L], and f(0) = f(L) = 0.
Example 12.3.2 Solve (12.3.4) with f(x) = x(x2 3ax + 2a2 ).
Solution From Example 11.3.6,
S(x) =
Therefore
u(x, y) =
nx
12a3 X 1
sin
.
3 n=1 n3
a
(12.3.10)
To compute approximate values of u(x, y), we must use partial sums of the form
m
12a3 X sinh n(b y)/a
nx
um (x, y) = 3
sin
.
n=1 n3 sinh nb/a
a
Because of (12.3.9), small values of m provide sufficient accuracy for most applications if 0 < y < b.
Moreover, the n3 in the denominator in (12.3.10) ensures that this is also true for y = 0. For graphing
purposes, we chose a = 2, b = 1, and m = 10. Figure 12.3.5 shows the surface
u = u(x, y),
0 x 2,
0 y 1,
0 x 2,
k = 0, 1, . . ., 10.
655
2.5
2
1.5
0.5
1
0
1
0.8
0.6
0.4
0.2
0
0.2
0.4
0.6
0.8
1.2
1.4
Figure 12.3.5
1.6
1.8
Figure 12.3.6
(12.3.11)
(Figure 12.3.7).
y
u (x,b) = f(x)
b
ux(0,y) = 0
uxx + uyy = 0
u(x,0) = 0
u (a,y) = 0
x
Solution The boundary conditions in (12.3.11) require products v(x, y) = X(x)Y (y) such that X 0 (0) =
X 0 (0) = 0,
X 0 (a) = 0
(12.3.12)
and
Y 00 Y = 0,
Y (0) = 0.
(12.3.13)
From Theorem 11.1.3, the eigenvalues of (12.3.12) are = 0, with associated eigenfunction X0 = 1,
and n = n2 2 /a2 , with associated eigenfunctions
Xn = cos
nx
,
a
n = 1, 2, 3, . . . .
Y (0) = 0,
so we could take
ny
.
(12.3.14)
a
However, because of the nonhomogeneous Neumann condition at y = b, its better to require that Yn0 (b) =
1, which can be achieved by dividing the right side of (12.3.14) by the value of its derivative at y = b;
thus,
a sinh ny/a
Yn =
.
n cosh nb/a
Then
a sinh ny/a
nx
vn (x, y) = Xn (x)Yn (y) =
cos
,
n cosh nb/a
a
so
vn
nx
(x, b) = cos
.
y
a
Yn = sinh
Therefore vn satisfies (12.3.11) with f(x) = cos nx/a. More generally, if 0 , . . . , m are arbitrary
constants then
m
aX
sinh ny/a
nx
um (x, y) = 0 y +
n
cos
n=1 n cosh nb/a
a
satisfies (12.3.11) with
f(x) = 0 +
m
X
n cos
n=1
nx
.
L
Therefore, if f is an arbitrary piecewise smooth function on [0, a] we define the formal solution of
(12.3.11) to be
aX
sinh ny/a
nx
u(x, y) = 0 y +
n
cos
,
n=1 n cosh nb/a
a
where
C(x) = 0 +
n=1
n cos
nx
a
n = 1, 2, 3, . . ..
657
a 4a X
1
(2n 1)x
2
cos
.
2
2 n=1 (2n 1)
a
Therefore
u(x, y) =
ay 4a2 X
sinh(2n 1)y/a
(2n 1)x
3
cos
.
2
n=1 (2n 1)3 cosh(2n 1)b/a
a
(12.3.15)
For graphing purposes, we chose a = 2, b = 1, and retained the terms through n = 10 in (12.3.15).
Figure 12.3.8 shows the surface
u = u(x, y),
0 x 2,
0 y 1,
0 x 2,
k = 0, 1, . . . , 10.
1.5
1
1
0.5
0
1
0.8
0.6
0.4
0.2
0
0.2
0.4
0.6
0.8
1.2
1.4
1.6
1.8
x
1
Figure 12.3.8
Figure 12.3.9
(12.3.16)
(Figure 12.3.10).
Solution The boundary conditions in (12.3.16) require products v(x, y) = X(x)Y (y) such that Y (0) =
Y 0 (b) = X 0 (a) = 0; hence, we let k = in (12.3.3). Thus, X and Y must satisfy
X 00 X = 0,
X 0 (a) = 0
(12.3.17)
y
uy(x,b) = 0
uxx + uyy = 0
u(0,y) = g(y)
ux(a,y) = 0
u(x,0) = 0
Y (0) = 0,
Y 0 (b) = 0.
(12.3.18)
From Theorem 11.1.4, the eigenvalues of (12.3.18) are n = (2n 1)2 2 /4b2 , with associated eigenfunctions
(2n 1)y
Yn = sin
, n = 1, 2, 3, . . ..
2b
Substituting = (2n 1)2 2 /4b2 into (12.3.17) yields
X 00 ((2n 1)2 2 /4b2 )X = 0,
X 0 (a) = 0,
so we could take
(2n 1)(x a)
.
(12.3.19)
2b
However, because of the nonhomogeneous Dirichlet condition at x = 0, its better to require that Xn (0) =
1, which can be achieved by dividing the right side of (12.3.19) by its value at x = 0; thus,
Xn = cosh
Xn =
Then
vn (x, y) = Xn (x)Yn (y) =
so
vn (0, y) = sin
(2n 1)y
.
2b
659
Therefore vn satisfies (12.3.16) with g(y) = sin(2n 1)y/2b. More generally, if 1 , . . . , m are
arbitrary constants then
um (x, y) =
m
X
n=1
m
X
n sin
n=1
(2n 1)y
.
2b
Thus, if g is an arbitrary piecewise smooth function on [0, b], we define the formal solution of (12.3.16)
to be
X
(2n 1)y
cosh(2n 1)(x a)/2b
sin
,
u(x, y) =
n
cosh(2n
1)a/2b
2b
n=1
where
SM (x) =
n sin
n=1
(2n 1)y
2b
96b3 X
1
4
(2n 1)y
n
.
3
+
(1)
sin
3
3
n=1 (2n 1)
(2n 1)
2b
Therefore
u(x, y) =
(12.3.20)
(Figure 12.3.11).
Solution The boundary conditions in (12.3.20) require products v(x, y) = X(x)Y (y) such that Y 0 (0) =
Y (b) = X 0 (0) = 0; hence, we let k = in (12.3.3). Thus, X and Y must satisfy
X 00 X = 0,
X 0 (0) = 0
(12.3.21)
and
Y 00 + Y = 0,
Y 0 (0) = 0,
Y (b) = 0.
(12.3.22)
y
u(x,b) = 0
b
u (0,y) = 0
uxx + uyy = 0
u (a,y) = g(y)
x
u (x,0) = 0
X 0 (0) = 0,
so we could take
(2n 1)x
.
(12.3.23)
2b
However, because of the nonhomogeneous Neumann condition at x = a, its better to require that
Xn0 (a) = 1, which can be achieved by dividing the right side of (12.3.23) by the value of its derivative at x = a; thus,
2b cosh(2n 1)x/2b
.
Xn =
(2n 1) sinh(2n 1)a/2b
Then
2b cosh(2n 1)x/2b
(2n 1)y
vn (x, y) = Xn (x)Yn (y) =
cos
,
(2n 1) sinh(2n 1)a/2b
2b
so
vn
(2n 1)y
(a, y) = cos
.
x
2b
Therefore vn satisfies (12.3.20) with g(y) = cos(2n 1)y/2b. More generally, if 1 , . . . , m are
arbitrary constants then
Xn = cosh
um (x, y) =
m
2b X
cosh(2n 1)x/2b
(2n 1)y
n
cos
n=1 (2n 1) sinh(2n 1)a/2b
2b
661
g(y) =
(2n 1)y
.
2b
n cos
n=1
Therefore, if g is an arbitrary piecewise smooth function on [0, b], we define the formal solution of
(12.3.20) to be
u(x, y) =
2b X
cosh(2n 1)x/2b
(2n 1)y
n
cos
,
n=1 (2n 1) sinh(2n 1)a/2b
2b
where
CM (y) =
n cos
n=1
(2n 1)y
2b
2
b
g(y) cos
(2n 1)y
dy.
2b
8b X
1
(2n 1)y
cos
.
2 n=1 (2n 1)2
2b
16b2 X
cosh(2n 1)x/2b
(2n 1)y
cos
.
3 n=1 (2n 1)3 sinh(2n 1)a/2b
2b
y > 0}
(Figure 12.3.12) that satisfy homogeneous boundary conditions at x = 0 and x = a, and a nonhomogeneous Dirichlet or Neumann condition at y = 0. An example of such a problem is
uxx + uyy = 0, 0 < x < a, y > 0,
u(x, 0) = f(x), 0 x a,
u(0, y) = 0, u(a, y) = 0, y > 0,
(12.3.24)
The boundary conditions in this problem are not sufficient to determine u, for if u0 = u0 (x, y) is a
solution and K is a constant then
u1 (x, y) = u0 (x, y) + K sin
x
y
sinh
.
a
a
is also a solution. (Verify.) However, if we also require on physical grounds that the solution remain
bounded for all (x, y) in S then K = 0 and this difficulty is eliminated.
uxx + uyy = 0
u(0,y) = 0
u(a,y) = 0
u(x,0) = f(x)
nx
,
a
bn eny/a sin
n=1
where
S(x) =
n=1
bn sin
nx
a
nx
,
a
663
See Exercises 29-34 for other boundary value problems on a semi-infinite strip.
12.3 Exercises
In Exercises 1-16 apply the definition developed in Example 1 to solve the boundary value problem. (Use
Theorem 11.3.5 where it applies.) Where indicated by C , graph the surface u = u(x, y), 0 x a,
0 y b.
1.
2.
3.
4.
5.
6.
7.
0 < y < 2,
0 x 3,
0y2
8.
9.
10.
11.
12.
0 x 2,
0y1
14.
15.
16.
0 < x < a,
0<y<b
that satisfies the given boundary conditions for general a, b, and f or g. Then solve the boundary value
problem for the specified a, b, and f or g. (Use Theorem 11.3.5 where it applies.) Where indicated by C
, graph the surface u = u(x, y), 0 x a, 0 y b.
17.
18.
19.
20.
21.
22.
23.
24.
26.
27.
28.
665
0 < x < a,
y>0
that satisfies the given boundary conditions for general a and f. Then solve the boundary value problem
for the specified a and f.
29.
30.
31.
32.
33.
34.
35.
y>0
36.
37.
f1 (x) dx =
g0 (y) dy =
g1 (y) dy = 0.
0
u(x, y) =
n=1
where
n =
and f is piecewise smooth on [0, a].
2
a
f(x) sin
nx
dx
a
and
y < b,
(A)
y<b
(B)
for large n.
(b) Use (A) to show that u is defined for (x, y) such that 0 < y < b.
(c) For fixed y in (0, b), use (A) and Theorem 12.1.2 with z = x to show that
< x < .
(d) Starting from the result of (b), use (A) and Theorem 12.1.2 with z = x to show that, for a
fixed y in (0, b),
uxx (x, y) =
< x < .
(e) For fixed but arbitrary x, use (B) and Theorem 12.1.2 with z = y to show that
uy (x, y) =
X
cosh n(b y)/a
nx
nn
sin
a n=1
sinh nb/a
a
if 0 < y0 < y < b, where y0 is an arbitrary number in (0, b). Then argue that since y0 can
be chosen arbitrarily small, the conclusion holds for all y in (0, b).
(f) Starting from the result of (e), use (A) and Theorem 12.1.2 to show that
uyy (x, y) =
0 < y < b.
667
(g) Conclude that u satisfies Laplaces equation for all (x, y) such that 0 < y < b.
By repeatedly applying the arguments in (c)(f), it can be shown that u can be differentiated term
by term any number of times with respect to x and/or y if 0 < y < b.
(12.4.1)
x
x
= sin1 .
r
r
We begin with the case where the region is a circular disk with radius , centered at the origin; that is,
we want to define a formal solution of the boundary value problem
r=
p
x2 + y 2
= cos1
and
1
1
urr + ur + 2 u = 0, 0 < r < , < ,
r
r
u(, ) = f(), <
(12.4.2)
(Figure 12.4.1). Note that (12.4.2) imposes no restriction on u(r, ) when r = 0. Well address this
question at the appropriate time.
y
u(,) = f()
x
1
u +r
rr
u +r
r
=0
r 2 R00 + rR0
00
=
= ,
R
(12.4.3)
Since (r, ) and (r, ) are the polar coordinates of the same point, we impose periodic boundary conditions on ; that is,
00 + = 0,
() = (),
0 () = 0 ().
(12.4.4)
Since we dont want R to be identically zero, must be an eigenvalue of (12.4.4) and must be an
associated eigenfunction. From Theorem 11.1.6, the eigenvalues of (12.4.4) are 0 = 0 with associated
eigenfunctions 0 = 1 and, for n = 1, 2, 3, . . . , n = n2 , with associated eigenfunction cos n and
sin n therefore,
n = n cos n + n sin n
where n and n are constants.
Substituting = 0 into (12.4.3) yields the
r 2 R00 + rR0 = 0,
so
R000
1
= ,
0
R0
r
c
1
R00 = ,
r
and
R0 = c2 + c1 ln r.
If c1 6= 0 then
(12.4.5)
lim |R0(r)| = ,
r0+
which doesnt make sense if we interpret u0 (r, ) = R0 (r)0 () = R0 (r) as the steady state temperature
distribution in a disk whose boundary is maintained at the constant temperature R0 (). Therefore we now
require R0 to be bounded as r 0+. This implies that c1 = 0, and we take c2 = 1. Thus, R0 = 1 and
v0 (r, ) = R0 (r)0 () = 1. Note that v0 satisfies (12.4.2) with f() = 1.
Substituting = n2 into (12.4.3) yields the Euler equation
r 2 R00n + rR0n n2 Rn = 0
for Rn . The indicial polynomial of this equation is
s(s 1) + s n2 = (s n)(s + n),
(12.4.6)
669
(12.4.7)
by Theorem 7.4.3. Consistent with our previous assumption on R0 , we now require Rn to be bounded as
r 0+. This implies that c2 = 0, and we choose c1 = n . Then Rn (r) = r n /n , so
vn (r, ) = Rn (r)n () =
rn
(n cos n + sin n).
n
um (r, ) = 0 +
satisfies (12.4.2) with
f() = 0 +
m
X
n=1
Definition 12.4.1 The bounded formal solution of the boundary value problem (12.4.2) is
u(r, ) = 0 +
X
rn
(n cos n + n sin n),
n
n=1
where
F () = 0 +
(12.4.8)
(n cos n + n sin n)
n=1
0 =
and
n =
1
2
and
n =
f() d,
f() cos n d
f() sin n d,
n = 1, 2, 3, . . . .
P
Since n=0 nk (r/)n converges for every k if 0 < r < , Theorem 12.1.2 can be used to show that
if 0 < r < then (12.4.8) can be differentiated term by term any number of times with respect to both r
and . Since the terms in (12.4.8) satisfy Laplaces equation if r > 0, (12.4.8) satisfies Laplaces equation
if 0 < r < . Therefore, since u(, ) = F (), u is an actual solution of (12.4.2) if and only if
F () = f(),
< .
From Theorem 11.2.4, this is true if f is continuous and piecewise smooth on [, ] and f() = f().
Example 12.4.1 Find the bounded formal solution of (12.4.2) with f() = ( 2 2 ).
X
(1)n
sin n,
n3
n=1
X
r n (1)n
sin n,
n n3
n=1
0 r ,
(12.4.9)
u(,) = f()
u( ,) = 0
0
u +r
rr
u +r
r
=0
Solution We use separation of variables exactly as before, except that now we choose the constants in
(12.4.5) and (12.4.7) so that Rn (0 ) = 0 for n = 0, 1, 2,. . . . In view of the nonhomogeneous Dirichlet
condition on the boundary r = , its also convenient to require that Rn () = 1 for n = 0, 1, 2,. . . . We
leave it to you to verify that
R0 (r) =
ln r/0
ln /0
and
Rn =
n
n n
n
0 r 0 r
,
n n
n
0 0 n
n = 1, 2, 3, . . .
671
ln r/0
ln /0
n
n n
n
0 r 0 r
(n cos n + n sin n),
n n
n
0 0 n
n = 1, 2, 3, . . .,
um (r, ) = 0
n
n n
ln r/0 X n
0 r 0 r
+
(n cos n + n sin n)
n n
n
ln /0 n=1 n
0 0
m
X
n=1
u(r, ) = 0
n
n n
ln r/0 X n
0 r 0 r
+
(n cos n + n sin n),
n n
n
ln /0 n=1 0 0 n
where
F () = 0 +
(n cos n + n sin n)
n=1
u(r, ) = 0,
(12.4.10)
0 < r < ,
(12.4.11)
and
00 + = 0,
(0) = 0,
() = 0.
(12.4.12)
From Theorem 11.1.2, the eigenvalues of (12.4.12) are n = n2 2 / 2 , with associated eigenfunction
n = sin n/, n = 1, 2, 3,. . . . Substituting = n2 2 / 2 into (12.4.11) yields the Euler equation
r 2 R00 + rR0n
n2 2
R = 0.
2
u(r,) = 0
u(,) = f()
u +r
rr
u +r
r
=0
n2 2
=
2
so
n
n
s
s+
,
Rn = c1 r n/ + c2 r n/ ,
by Theorem 7.4.3. To obtain a solution that remains bounded as r 0+ we let c2 = 0. Because of the
Dirichlet condition at r = , its convenient to have r() = 1; therefore we take c1 = n/ , so
Rn (r) =
r n/
.
n/
Now
vn (r, ) = Rn (r)n () =
satisfies (12.4.10) with
r n/
n
sin
n/
n
.
More generally, if 1 , 2 , . . . , m
um (r, ) =
m
X
n=1
f() =
m
X
n=1
r n/
n
sin
n/
n sin
n
.
n=1
where
S() =
n=1
r n/
n
sin
,
n/
n sin
12.4 Exercises
1.
2.
u(r, ) = 0,
0 < r < ,
u (r, ) = 0,
0 < r < ,
u(r, ) = 0,
0 < r < ,
673
u (r, ) = 0,
0 < r < ,
u (r, ) = 0,
0 < r < ,
CHAPTER 13
Boundary Value Problems for Second
Order Ordinary Differential Equations
IN THIS CHAPTER we discuss boundary value problems and eigenvalue problems for linear second
order ordinary differential equations.
Section 13.1 discusses point two-point boundary value problems for linear second order ordinary differential equations.
Section 13.2 deals with generalizations of the eigenvalue problems considered in Section 11.1
677
677
(13.1.1)
Suppose P0 , P1 , P2 , and F are continuous and P0 has no zeros on an open interval (a, b). From Theorem 5.3.1, if x0 is in (a, b) and k1 and k2 are arbitrary real numbers then (13.1.1) has a unique solution
on (a, b) such that y(x0 ) = k1 and y0 (x0 ) = k2 . Now we consider a different problem for (13.1.1).
PROBLEM Suppose P0 , P1 , P2 , and F are continous and P0 has no zeros on a closed interval [a, b].
Let , , , and be real numbers such that
2 + 2 6= 0 and
2 + 2 6= 0,
(13.1.2)
(13.1.3)
(13.1.4)
y(b) + y0 (b) = k2 .
(13.1.5)
and
The assumptions stated in this problem apply throughout this section and wont be repeated. Note
that we imposed conditions on P0 , P1 , P2 , and F on the closed interval [a, b], and we are interested in
solutions of (13.1.3) on the closed interval. This is different from the situation considered in Chapter 5,
where we imposed conditions on P0 , P1 , P2 , and F on the open interval (a, b) and we were interested in
solutions on the open interval. There is really no problem here; we can always extend P0 , P1 , P2 , and
F to an open interval (c, d) (for example, by defining them to be constant on (c, d] and [b, d)) so that
they are continuous and P0 has no zeros on [c, d]. Then we can apply the theorems from Chapter 5 to the
equation
P1 (x) 0 P2 (x)
F (x)
y00 +
y +
y=
P0 (x)
P0 (x)
P0 (x)
on (c, d) to draw conclusions about solutions of (13.1.3) on [a, b].
We call a and b boundary points. The conditions (13.1.4) and (13.1.5) are boundary conditions, and the
problem is a two-point boundary value problem or, for simplicity, a boundary value problem. (We used
similar terminology in Chapter 12 with a different meaning; both meanings are in common usage.) We
require (13.1.2) to insure that were imposing a sensible condition at each boundary point. For example,
if 2 + 2 = 0 then = = 0, so y(a) + y0 (a) = 0 for all choices of y(a) and y0 (a). Therefore
(13.1.4) is an impossible condition if k1 6= 0, or no condition at all if k1 = 0.
We abbreviate (13.1.1) as Ly = F , where
Ly = P0 (x)y00 + P1 (x)y0 + P0 (x)y,
and we denote
B1 (y) = y(a) + y0 (a) and
B1 (y) = k1 ,
B2 (y) = k2 .
(13.1.6)
678 Chapter 13 Boundary Value Problems for Second Order Ordinary Differential Equations
This boundary value problem is homogeneous if F = 0 and k1 = k2 = 0; otherwise its nonhomogeneous.
We leave it to you (Exercise 1) to verify that B1 and B2 are linear operators; that is, if c1 and c2 are
constants then
Bi (c1 y1 + c2 y2 ) = c1 Bi (y1 ) + c2 Bi (y2 ), i = 1, 2.
(13.1.7)
The next three examples show that the question of existence and uniqueness for solutions of boundary
value problems is more complicated than for initial value problems.
Example 13.1.1 Consider the boundary value problem
y00 + y = 1,
y(0) = 0,
y(/2) = 0.
y(0) = 0,
y() = 0.
y(0) = 0,
y() = 0.
You can use the method of undetermined coefficients (Section 5.5) to find that the general solution of
y00 + y = sin 2x is
sin 2x
y=
+ c1 sin x + c2 cos x.
3
The boundary conditions y(0) = 0 and y() = 0 both require that c2 = 0, but they dont restrict c1 .
Therefore the boundary value problem has infinitely many solutions
y=
sin 2x
+ c1 sin x,
3
where c1 is arbitrary.
Theorem 13.1.1 If z1 and z2 are solutions of Ly = 0 such that either B1 (z1 ) = B1 (z2 ) = 0 or B2 (z1 ) =
B2 (z2 ) = 0, then {z1 , z2 } is linearly dependent. Equivalently, if {z1 , z2 } is linearly independent, then
B12 (z1 ) + B12 (z2 ) 6= 0 and
679
Proof Recall that B1 (z) = z(a) + z 0 (a) and 2 + 2 6= 0. Therefore, if B1 (z1 ) = B1 (z2 ) = 0 then
(, ) is a nontrivial solution of the system
z1 (a) + z10 (a)
z2 (a) + z 0 (a)
=
=
0
0.
(13.1.8)
(13.1.9)
(c) For each continuous F and pair of constants (k1 , k2 ), the boundary value problem
Ly = F,
B1 (y) = k1 ,
B2 (y) = k2
B1 (y) = 0,
B2 (y) = 0
(13.1.10)
(a) = (b): Since {z1 , z2 } is a fundamental set of solutions for Ly = 0, there are constants a1 , a2 ,
b1 , and b2 such that
y1 = a1 z1 + a2 z2
(13.1.11)
y2 = b1 z1 + b2 z2 .
Moreover,
a1
b1
a2
6 0.
=
b2
(13.1.12)
because if this determinant were zero, its rows would be linearly dependent and therefore {y1 , y2 } would
be linearly dependent, contrary to our assumption that {y1 , y2 } is a fundamental set of solutions of Ly =
0. From (13.1.7) and (13.1.11),
B1 (y1 ) B2 (y1 )
a1 a2
B1 (z1 ) B2 (z1 )
=
.
B1 (y2 ) B2 (y2 )
b1 b2
B1 (z2 ) B2 (z2 )
680 Chapter 13 Boundary Value Problems for Second Order Ordinary Differential Equations
Since the determinant of a product of matrices is the product of the determinants of the matrices, (13.1.8)
and (13.1.12) imply (13.1.9).
(b) = (c): Since {y1 , y2 } is a fundamental set of solutions of Ly = 0, the general solution of
Ly = F is
y = yp + c1 y1 + c2 y2 ,
where c1 and c2 are arbitrary constants and yp is a particular solution of Ly = F . To satisfy the boundary
conditions, we must choose c1 and c2 so that
k1
k2
=
=
Then B1 (z1 ) = 0 and B2 (z2 ) = 0. To see that z1 and z2 are linearly independent, note that
a1 z1 + a2 z2
=
=
a1 [B1 (y2 )y1 B1 (y1 )y2 ] + a2 [B2 (y2 )y1 B2 (y1 )y2 ]
[B1 (y2 )a1 + B2 (y2 )a2 ]y1 [B1 (y1 )a1 + B2 (y1 )a2 ]y2 .
y(1) = 4,
y0 (2) = 3,
(13.1.13)
given that {x, x2} is a fundamental set of solutions of the complementary equation
Solution Using variation of parameters (Section 5.7), you can show that yp = x3 is a solution of the
complementary equation
x2 y00 2xy0 + 2y = 2x3 = 0.
681
so c1 = 7 and c2 = 4. Therefore
c1 + c2
c1 + 4c2
9,
y = x3 + 7x 4x2
y(0) = 3,
y(1) = 5e2 .
(13.1.14)
Since {e3x, e4x } is a fundamental set for the complementary equation, we could write the solution of
(13.1.13) as
y = 2e2x + c1 e3x + c2 e4x
and determine c1 and c2 by imposing the boundary conditions. However, this would lead to some tedious
algebra, and the form of the solution would be very unappealing. (Try it!) In this case its convenient to
use the fundamental system {z1 , z2 } mentioned in Theorem 13.1.2(e); that is, we choose {z1 , z2 } so that
B1 (z1 ) = z1 (0) = 0 and B2 (z2 ) = z2 (1) = 0. It is easy to see that
z1 = e3x e4x and
z2 = e3(x1) e4(x1)
3
,
e(1 e)
e4
,
e1
3
e4
(e3x e4x ) +
(e3(x1) e4(x1)).
e(1 e)
e1
Sometimes its useful to have a formula for the solution of a general boundary problem. Our next
theorem addresses this question.
682 Chapter 13 Boundary Value Problems for Second Order Ordinary Differential Equations
Theorem 13.1.3 Suppose the homogeneous boundary value problem
Ly = 0,
B1 (y) = 0,
B2 (y) = 0
(13.1.15)
has only the trivial solution. Let y1 and y2 be linearly independent solutions of Ly = 0 such that
B1 (y1 ) = 0 and B2 (y2 ) = 0, and let
W = y1 y20 y10 y2 .
Then the unique solution of
Ly = F,
is
y(x) = y1 (x)
Proof
B1 (y) = 0,
B2 (y) = 0
F (t)y2 (t)
dt + y2 (x)
P0 (t)W (t)
(13.1.16)
F (t)y1 (t)
dt.
P0 (t)W (t)
(13.1.17)
(13.1.18)
where
u01 y1 + u02 y2
u01 y10 + u02 y20
=
=
0
F,
F y2
and
P0 W
F (t)y2 (t)
dt and
P0 (t)W (t)
u02 =
F y1
,
P0 W
u2 (x) =
F (t)y1 (t)
dt.
P0 (t)W (t)
This and (13.1.18) show that (13.1.17) is a solution of Ly = F . Differentiating (13.1.17) yields
Z x
Z b
F (t)y1 (t)
F (t)y2 (t)
dt + y20 (x)
dt.
(13.1.19)
y0 (x) = y10 (x)
a P0 (t)W (t)
x P0 (t)W (t)
(Verify.) From (13.1.17) and (13.1.19),
B1 (y) = B1 (y1 )
F (t)y2 (t)
dt = 0
P0 (t)W (t)
F (t)y1 (t)
dt = 0
P0 (t)W (t)
where
y1 (t)y2 (x)
P0 (t)W (t)
G(x, t) =
y1 (x)y2 (t)
P0 (t)W (t)
a t x,
x t b.
(13.1.20)
683
This is the Greens function for the boundary value problem (13.1.16). The Greens function is related
to the boundary value problem (13.1.16) in much the same way that the inverse of a square matrix A is
related to the linear algebraic system y = Ax; just as we substitute the given vector y into the formula
x = A1 y to solve y = Ax, we substitute the given function F into the formula (13.1.20) to obtain the
solution of (13.1.16). The analogy goes further: just as A1 exists if and only if Ax = 0 has only the
trivial solution, the boundary value problem (13.1.16) has a Greens function if and only the homogeneous
boundary value problem (13.1.15) has only the trivial solution.
We leave it to you (Exercise 32) to show that the assumptions of Theorem 13.1.3 imply that the unique
solution of the boundary value problem
Ly = F,
is
y(x) =
B1 (y) = k1 ,
B2 (y) = k2
k2
k1
y1 +
y2 .
B2 (y1 )
B1 (y2 )
y() y0 () = 0,
Let {z1 , z2 } = {cos x, sin x}, which is a fundamental set of solutions of y00 + y = 0. Then
B1 (z1 ) = (cos x sin x)x=0 = 1
B2 (z1 ) = (cos x + sin x)
= 1
x=
and
B1 (z2 )
B2 (z2 )
Therefore
(sin x + cos x)x=0 = 1
(sin x cos x)x= = 1.
= 2.
Z
cos x sin x
F (t)(cos t + sin t) dt
2
x
Z
cos x + sin x x
+
F (t)(cos t sin t) dt.
2
0
(13.1.21)
684 Chapter 13 Boundary Value Problems for Second Order Ordinary Differential Equations
The Greens function is
2
G(x, t) =
,
2
Well now consider the situation not covered by Theorem 13.1.3.
0 t x,
x t .
B1 (y) = 0,
B2 (y) = 0
(13.1.22)
has a nontrivial solution y1 , and let y2 be any solution of Ly = 0 that isnt a constant multiple of y1 . Let
W = y1 y20 y10 y2 . If
Z b
F (t)y1 (t)
dt = 0,
(13.1.23)
P
0 (t)W (t)
a
then the homogeneous boundary value problem
Ly = F,
B1 (y) = 0,
B2 (y) = 0
(13.1.24)
F (t)y1 (t)
dt 6= 0,
P0 (t)W (t)
y = yp + c1 y1 + c2 y2 ,
where c1 and c2 are constants. Then
B1 (y)
=
=
=
Since B1 (y1 ) = 0, Theorem 13.1.1 implies that B1 (y2 ) 6= 0; hence, B1 (y) = 0 if and only if c2 = 0.
Therefore y = yp + c1 y1 and
Z b
F (t)y1 (t)
B2 (y) = B2 (yp + c1 y1 ) = B2 (y2 )
dt + c1 B2 (y1 )
a P0 (t)W (t)
Z b
F (t)y1 (t)
= B2 (y2 )
dt,
a P0 (t)W (t)
since B2 (y1 ) = 0. From Theorem 13.1.1, B2 (y2 ) 6= 0 (since B2 (y1 = 0). Therefore Ly = 0 if and only
if (13.1.23) holds. This completes the proof.
685
y(0) = 0,
y() = 0
(13.1.25)
explains the Examples 13.1.2 and 13.1.3. The complementary equation y00 + y = 0 has the linear independent solutions y1 = sin x and y2 = cos x, and y1 satisfies both boundary conditions. Since P0 = 1
and
sin x
cos x
W =
= 1,
cos x sin x
(13.1.23) reduces to
F (x) sin x dx = 0.
sin x dx = 2,
F (x) sin x dx = 2
sin2 x cos x dx =
2
sin3 x = 0,
3
0
so Theorem 13.1.3 implies that (13.1.25) has infinitely many solutions, differing by constant multiples of
y1 (x) = sin x.
13.1 Exercises
1.
Verify that B1 and B2 are linear operators; that is, if c1 and c2 are constants then
Bi (c1 y1 + c2 y2 ) = c1 Bi (y1 ) + c2 Bi (y2 ),
i = 1, 2.
y00 y = x,
y(0) = 2,
y00 y = x,
y(0) + y0 (0) = 3,
00
y = 2 3x,
y(0) = 0,
5.
y00 + 4y = 1,
6.
7.
8.
y(1) = 1
y(1) y0 (1) = 0
y(1) y0 (1) = 2
y(0) + y0 (0) = 8,
y(1) + y0 (1) = 6e
y(1) = 7e2 (see Example 13.1.5)
y(0) = 0,
y(1) y0 (1) = 0
686 Chapter 13 Boundary Value Problems for Second Order Ordinary Differential Equations
9.
(a) State a condition on a and b such that the boundary value problem
y00 + y = F (x),
y(a) = 0,
y(b) = 0
(A)
has a unique solution for every continuous F , and find the solution by the method used to
prove Theorem 13.1.3
(b) In the case where a and b dont satisfy the condition you gave for (a), state necessary and
sufficient on F such that (A) has a solution, and find all solutions by the method used to
prove Theorem 13.1.4.
10.
11.
y(a) = 0,
y0 (b) = 0.
y0 (a) = 0,
y0 (b) = 0.
In Exercises 1215 find a formula for the solution of the boundary problem by the method used to prove
Theorem 13.1.3. Assume that a < b.
12.
13.
14.
15.
y y = F (x), y(a) = 0,
y(b) = 0
y0 (b) = 0
y0 (b) = 0
In Exercises 1619 find all values of such that boundary problem has a unique solution, and find the
solution by the method used to prove Theorem 13.1.3. For other values of , find conditions on F such
that the problem has a solution, and find all solutions by the method used to prove Theorem 13.1.4.
16.
y() = 0
y0 () = 0
17.
y + y = F (x), y(0) = 0,
18.
19.
20.
Let {z1 , z2 } be a fundamental set of solutions of Ly = 0. Given that the homogeneous boundary
value problem
Ly = 0, B1 (y) = 0, B2 (y) = 0
has a nontrivial solution, express it explicity in terms of z1 and z2 .
21.
If the boundary value problem has a solution for every continuous F , then find the Greens function
for the problem and use it to write an explicit formula for the solution. Otherwise, if the boundary
value problem does not have a solution for every continuous F , find a necessary and sufficient
condition on F for the problem to have a solution, and find all solutions. Assume that a < b.
(a)
(b)
(c)
(d)
y00
y00
y00
y00
= F (x),
= F (x),
= F (x),
= F (x),
y(a) = 0, y(b) = 0
y(a) = 0, y0 (b) = 0
y0 (a) = 0, y(b) = 0
y0 (a) = 0, y0 (b) = 0
687
(A)
Then use the Greens function to solve (A) with (a) F (x) = 1, (b) F (x) = x, and (c) F (x) = x2 .
23.
y(/2) = 0,
y() = 0,
(A)
given that
cos x
and
y1 (x) =
x
sin x
y2 (x) =
x
are solutions of the complementary equation. Then use the Greens function to solve (A) with (a)
F (x) = x3/2 and (b) F (x) = x5/2 .
24.
y(1) = 0,
y(2) = 0,
(A)
given that {x, x2 } is a fundamental set of solutions of the complementary equation. Then use the
Greens function to solve (A) with (a) F (x) = 2x3 and (b) F (x) = 6x4 .
25.
y0 (2) = 0,
(A)
given that {x, 1/x} is a fundamental set of solutions of the complementary equation. Then use the
Greens function to solve (A) with (a) F (x) = 1, (b) F (x) = x2 , and (c) F (x) = x3 .
In Exercises 2630 find necessary and sufficient conditions on , , , and for the boundary value
problem to have a unique solution for every continuous F , and find the Greens function.
26.
y00 = F (x),
27.
y00 + y = F (x),
y(0) + y0 (0) = 0,
y() + y0 () = 0
28.
y00 + y = F (x),
y(0) + y0 (0) = 0,
y(/2) + y0 (/2) = 0
29.
30.
31.
y(0) + y0 (0) = 0,
y(1) + y0 (1) = 0
y(0) + y0 (0) = 0,
y() + y0 () = 0
y(0) + y0 (0) = 0,
y(/2) + y0 (/2) = 0
Find necessary and sufficient conditions on , , , and for the boundary value problem
y00 y = F (x),
y(a) + y0 (a) = 0,
y(b) + y0 (b) = 0
(A)
to have a unique solution for every continuous F , and find the Greens function for (A). Assume
that a < b.
32.
Show that the assumptions of Theorem 13.1.3 imply that the unique solution of
Ly = F,
is
y=
B1 (y) = k1 ,
B2 (y) = f2
k2
k1
(y1 )y1 +
y2 .
B2
B1 (y2 )
688 Chapter 13 Boundary Value Problems for Second Order Ordinary Differential Equations
13.2 STURM-LIOUVILLE PROBLEMS
In this section we consider eigenvalue problems of the form
P0 (x)y00 + P1 (x)y0 + P2 (x)y + R(x)y = 0,
B1 (y) = 0,
B2 (y) = 0,
(13.2.1)
where
B1 (y) = y(a) + y0 (a) and
2 + 2 > 0,
y(0) = 0,
y(1) = 0.
(13.2.2)
1 4
.
2
2
If < 1/4 then r1 and r2 are real and distinct, so the general solution of the differential equation in
(13.2.2) is
y = c1 er1 t + c2 er2 t .
r1 =
3 +
1 4
and
r2 =
=
=
0
0.
Since the determinant of this system is er2 er1 6= 0, the system has only the trivial solution. Therefore
isnt an eigenvalue of (13.2.2).
If = 1/4 then r1 = r2 = 3/2, so the general solution of (13.2.2) is
y = e3x/2 (c1 + c2 x).
The boundary condition y(0) = 0 requires that c1 = 0, so y = c2 xe3x/2 and the boundary condition
y(0) requires that c2 = 0. Therefore = 1/4 isnt an eigenvalue of (13.2.2).
If > 1/4 then
3
3
r1 = + i and r2 = i,
2
2
with
4 1
1 + 42
=
or, equivalently, =
.
(13.2.3)
2
4
689
n = 1, 2, 3, . . . .
y(1) = 0,
y(2) = 0.
(13.2.4)
=
=
0
0.
690 Chapter 13 Boundary Value Problems for Second Order Ordinary Differential Equations
Theorem 13.2.1 If P0 , P1 , P2 , and R are continuous and P0 and R are positive on a closed interval
[a, b], then the equation
P0 (x)y00 + P1 (x)y0 + P2 (x)y + R(x)y = 0
(13.2.5)
can be rewritten as
(p(x)y0 )0 + q(x)y + r(x)y = 0,
(13.2.6)
where p, p0 , q and r are continuous and p and r are positive on [a, b].
Proof
(13.2.7)
with u = P1 /P0 , v = P2 /P0 , and R1 = R/P0 . (Note that R1 is positive on [a, b].) Now let p(x) = eU (x) ,
where U is any antiderivative of u. Then p is positive on [a, b] and, since U 0 = u,
p0 (x) = p(x)u(x)
(13.2.8)
(13.2.9)
Since p is positive on [a, b], this equation has the same solutions as (13.2.5). From (13.2.8),
(p(x)y0 )0 = p(x)y00 + p0 (x)y0 = p(x)y00 + p(x)u(x)y0 ,
so (13.2.9) can be rewritten as in (13.2.6), with q(x) = p(x)v(x) and r(x) = p(x)R1 (x). This completes
the proof.
It is to be understood throughout the rest of this section that p, q, and r have the properties stated in
Theorem 13.2.1. Moreover, whenever we write Ly in a general statement, we mean
Ly = (p(x)y0 )0 + q(x)y.
The differential equation (13.2.6) is called a SturmLiouville equation, and the eigenvalue problem
(p(x)y0 )0 + q(x)y + r(x)y = 0,
B1 (y) = 0,
B2 (y) = 0,
(13.2.10)
y(0) = 0,
y(1) = 0
(13.2.11)
y(0) = 0,
y(1) = 0.
(13.2.12)
691
y(1) = 0,
y(2) = 0
(13.2.13)
1 0
y + 2 y = 0.
x
x
Comparing this to (13.2.7) shows that u(x) = 1/x, so we take U (x) = ln x and p(x) = eln x = x.
Multiplying the differntial equation by x yields
xy00 + y0 +
y = 0.
x
Since
xy00 + y0 = (xy0 )0 ,
(13.2.13) is equivalent to the SturmLiouville problem
(xy0 )0 +
y = 0,
x
y(1) = 0,
y(2) = 0.
(13.2.14)
Problems 14 of Section 11.1 are SturmLiouville problems. (Problem 5 isnt , although some authors
use a definition of Sturm-Liouville problem that does include it.) We were able to find the eigenvalues
of Problems 1-4 explicitly because in each problem the coefficients in the boundary conditions satisfy
= 0 and = 0; that is, each boundary condition involves either y or y0 , but not both. If this isnt
true then the eigenvalues cant in general be expressed exactly by simple formulas; rather, approximate
values must be obtained by numerical solution of equations derived by requiring the determinants of
certain 2 2 systems of homogeneous equations to be zero. To apply the numerical methods effectively,
graphical methods must be used to determine approximate locations of the zeros of these determinants.
Then the zeros can be computed accurately by numerical methods.
Example 13.2.5 Solve the SturmLiouville problem
y00 + y = 0,
y(0) + y0 (0) = 0,
(13.2.15)
Solution If = 0, the differential equation in (13.2.15) reduces to y00 = 0, with general solution
y = c1 + c2 x. The boundary conditions require that
c1 + c2
c1 + 4c2
=
=
0
0,
692 Chapter 13 Boundary Value Problems for Second Order Ordinary Differential Equations
u
4
(13.2.17)
1
cosh k + 3k sinh k
k
sinh k + 3k cosh k
(1 3k 2 ) sinh k + 2k cosh k.
Therefore the system (13.2.17) has a nontrivial solution if and only if DN (k) = 0 or, equivalently,
tanh k =
2k
.
1 3k 2
(13.2.18)
693
so
y0 = k(c1 sin kx + c2 cos kx).
The boundary conditions require that
c1 + kc2 = 0
(cos k 3k sin k)c1 + (sin k + 3k cos k)c2 = 0.
(13.2.20)
1
=
cos k 3k sin k
k
sin k + 3k cos k
= (1 + 3k 2 ) sin k + 2k cos k.
The system (13.2.20) has a nontrivial solution if and only if DP (k) = 0 or, equivalently,
tan k =
2k
.
1 + 3k 2
Figure 13.2.2 shows the graphs of the two sides of this equation. You can see from the figure that the
graphs intersect at infinitely many points kn n (n = 1, 2, 3,. . . ), where the error in this approximation
approaches zero as n . Given this estimate, you can use Newtons method to compute kn more
accurately. We computed
k1
k2
k3
k4
2.9256856,
6.1765914,
9.3538959,
12.5132570.
8.5596361,
38.1502809,
87.4953676,
156.5815998.
694 Chapter 13 Boundary Value Problems for Second Order Ordinary Differential Equations
u
1
k=
k = 2
k = 3
k = 4
[u(x)Lv(x) v(x)Lu(x)] dx =
=
b
p(x)[u(x)v0 (x) u0 (x)v(x)]
b
[u(x)Lv(x) v(x)Lu(x)] dx = p(x)[u(x)v (x) u (x)v (x)] .
0
(13.2.22)
and
u(b) + u0 (b) = 0
v(b) + v0 (b) = 0.
Since 2 + 2 > 0 and 2 + 2 > 0, the determinants of these two systems must both be zero; that is,
u(a)v0 (a) u0 (a)v(a) = u(b)v0 (b) u0 (b)v(b) = 0.
This and (13.2.22) imply (13.2.21), which completes the proof.
The next theorem shows that a SturmLiouville problem has no complex eigenvalues.
695
B1 (y) = 0,
B2 (y) = 0
(13.2.23)
If y = u + iv where u and v are real-valued and twice differentiable, we define y0 = u0 + iv0 and
y00 = u00 + iv00 . We say that y is a solution of (13.2.23) if the real and imaginary parts of the left side of
(13.2.23) are both zero. Since Ly = (p(x)0 y)0 + q(x)y and p, q, and r are real-valued,
Ly + r(x)y
=
=
=
=
0
0.
=
=
0
0.
Since
[u(x)Lv(x) v(x)Lu(x)] dx +
(13.2.24)
Since r is positive on [a, b] and q 6= 0 by assumption, this implies that u 0 and v 0 on [a, b].
Therefore y 0 on [a, b], which completes the proof.
696 Chapter 13 Boundary Value Problems for Second Order Ordinary Differential Equations
Theorem 13.2.4 If 1 and 2 are distinct eigenvalues of the SturmLiouville problem
Ly + r(x)y = 0,
B1 (y) = 0,
B2 (y) = 0
(13.2.25)
(13.2.26)
Proof
Since u and v satisfy the boundary conditions in (13.2.25), Theorem 13.2.2 implies that
Z
[u(x)Lv(x) v(x)Lu(x)] dx = 0.
r(x)u(x)v(x) dx = 0,
B1 (y) = 0,
B2 (y) = 0,
B1 (y) = 0,
B2 (y) = 0
can be ordered as
1 < 2 < < n < ,
and
lim n = .
(13.2.27)
You may want to verify (13.2.27) for the eigenfunctions obtained in Examples 13.2.1 and 13.2.2.
In conclusion, we mention the next theorem. The proof is beyond the scope of this book.
697
Theorem 13.2.7 Let 1 < 2 < < n < be the eigenvalues of the SturmLiouville problem
Ly + r(x)y = 0,
B1 (y) = 0,
B2 (y) = 0,
Then
f(x) + f(x+) X
=
cn yn (x)
2
n=1
13.2 Exercises
In Exercises 17 rewrite the equation in SturmLiouville form (with = 0). Assume that b, c, , and
are contants.
1.
y00 + by0 + cy = 0
2.
3.
4.
5.
6.
7.
8.
00
(1 x )y xy + y = 0
2 00
x y + bxy + cy = 0
00
y 2xy + 2y = 0
00
(Hermites equation)
xy + (1 x)y + y = 0
00
(Chebyshevs equation)
(Eulers equation)
(Bessels equation)
(Laguerres equation)
(1 x )y 2xy + ( + 1)y = 0
(Legendres equation)
y(1) = 0,
y(2) = 0
(A)
y = 0,
x
y(1) = 0,
y(2) = 0.
y2 (x)
dx =
x
Conclude from this that the eigenvalues of (A) are all positive.
9.
y(0) = 0,
y(1) = 0.
(B)
698 Chapter 13 Boundary Value Problems for Second Order Ordinary Differential Equations
10.
y0 (0) = 0,
y0 (1) = 0.
In Exercises 1120 : (a) Determine whether = 0 is an eigenvalue. If it is, find an associated eigenfunction.
(b) Compute the negative eigenvalues with errors not greater than 5 108 . State the form of the
associated eigenfunctions.
(c) Compute the first four positive eigenvalues with errors not greater than 5 108. State the form of
the associated eigenfunctions.
11.
C y00 + y = 0,
12.
C y00 + y = 0,
y0 (0) = 0,
13.
C y00 + y = 0,
y(0) y0 (0) = 0, y0 () = 0
14.
C y00 + y = 0,
15.
C y00 + y = 0,
y0 (0) = 0,
16.
C y00 + y = 0,
17.
C y00 + y = 0,
18.
C y00 + y = 0,
3y(0) + y0 (0) = 0,
19.
C y00 + y = 0,
y(3) y0 (3) = 0
20.
C y00 + y = 0,
21.
y(2) = 0
y(2) y0 (2) = 0
y(0) = 0,
y0 (1) = 0
with errors not greater than 5 108 . State the form of the associated eigenfunctions.
In Exercises 2224 take it as given that {xekx, xekx} and {x cos kx, x sin kx} are fundamental sets of
solutions of
x2 y00 2xy0 + 2y k 2 x2 y = 0
and
x2 y00 2xy0 + 2y + k 2 x2 y = 0,
respectively.
22.
23.
y(1) = 0,
y(2) = 0.
y0 (1) = 0,
y(2) = 0
with errors no greater than 5 108 . State the form of the associated eienfunctions.
25.
699
y(1) = 0,
y0 (2) = 0
with errors no greater than 5 108 . State the form of the associated eienfunctions.
Consider the Sturm-Liouville problem
y00 + y = 0,
y(0) = 0,
y(L) + y0 (L) = 0.
(A)
(a) Show that (A) cant have more than one negative eigenvalue, and find the values of for which
it has one.
(b) Find all values of such that = 0 is an eigenvalue of (A).
(c) Show that = k 2 with k > 0 is an eigenvalue of (A) if and only if
tan kL = k.
(B)
(d) For n = 1, 2, . . . , let yn be an eigenfunction associated with n = kn2 . From Theorem 13.2.4,
ym and yn are orthogonal over [0, L] if m 6= n. Verify this directly. H INT: Integrate by parts twice
and use (B).
26.
27.
y(0) + y0 (0) = 0,
y() + y0 () = 0,
where 6= 0.
y(0) + y0 (0) = 0,
(A)
y(0) + y0 (0),
y(L) + y0 (L) = 0,
(SL)
29.
L The point of this exercise is that (SL) cant have more than two negative eigenvalues.
(a) Show that is a negative eigenvalue of (SL) if and only if = k 2 , where k is a positive
solution of
( k 2 ) sinh kL + k( ) cosh kL.
700 Chapter 13 Boundary Value Problems for Second Order Ordinary Differential Equations
(b) Suppose = 0. Show that (SL) has a negative eigenvalue if and only if and are
both nonzero. Find the negative eigenvalue and an associated eigenfunction. H INT: Show that in
this case = p and s = q, where q 6= 0.
(c) Suppose 6= 0. We know from Section 11.1 that (SL) has no negative eigenvalues if
= 0 and = 0. Assume that either 6= 0 or 6= 0. Then we can rewrite (A) as
tanh kL =
k( )
.
k 2
By graphing both sides of this equation on the same axes (there are several possibilities for the right
side), show that it has at most two positive solutions, so (SL) has at most two negative eigenvalues.
30.
L The point of this exercise is that (SL) has infinitely many positive eigenvalues 1 < 2 <
< n < , and that limn n = .
(a) Show that is a positive eigenvalue of (SL) if and only if = k 2 , where k is a positive solution
of
( + k 2 ) sin kL + k( ) cos kL = 0.
(A)
(b) Suppose = 0. Show that the positive eigenvalues of (SL) are n = (n/L)2 , n = 1,
2, 3, . . . . H INT: Recall the hint in Exercise 29(b).
Now suppose 6= 0. From Section 11.1, if = 0 and = 0, then (SL) has the
eigenvalues
n = [(2n 1)/2L]2 , n = 1, 2, 3, . . .
(why?), so lets suppose in addition that at least one of the products and is nonzero. Then
we can rewrite (A) as
k( )
tan kL =
.
(B)
k 2
By graphing both sides of this equation on the same axes (there are several possibilities for the
right side), convince yourself of the following:
(c) If = 0, theres a positive integer N such that (B) has one solution kn in each of the intervals
((2n 1)/L, (2n + 1)/L)) ,
n = N, N + 1, N + 2, . . . ,
(C)
and either
(2n 1)
lim kn
= 0 or
n
2L
31.
(2n + 1)
lim kn
= 0.
n
2L
(d) If 6= 0, theres a positive integer N such that (B) has one solution kn in each of the intervals
(C) and
n
lim kn
= 0.
n
N
(p(x)y0 )0 + r(x)y = 0,
y(a) = 0,
(p(x)y ) + r(x)y = 0,
y (a) = 0,
y0 (b) = 0
Problem 3:
(p(x)y0 )0 + r(x)y = 0,
y(a) = 0,
y0 (b) = 0
0 0
(p(x)y ) + r(x)y = 0,
y(b) = 0
Problem 2:
Problem 4:
0 0
y (a) = 0,
y(b) = 0
y(a) + y0 (a) = 0,
y(b) + y0 (b)
701
702 Chapter 13 Boundary Value Problems for Second Order Ordinary Differential Equations
A BRIEF TABLE OF INTEGRALS
Z
u+1
+ c, 6= 1
u du =
+1
Z
du
= ln |u| + c
u
Z
cos u du = sin u + c
Z
sin u du = cos u + c
tan u du = ln | cos u| + c
cot u du = ln | sin u| + c
sec2 u du = tan u + c
csc2 u du = cot u + c
cos2 u du =
u 1
+ sin 2u + c
2 4
sin2 u du =
u 1
sin 2u + c
2 4
du
du = tan1 u + c
1 + u2
du
du = sin1 u + c
1 u2
Z
1
1 u 1
du
=
ln
+c
u2 1
2 u + 1
Z
cosh u du = sinh u + c
sinh u du = cosh u + c
u dv = uv
v du
ueu du = ueu eu + c
eu cos u du =
eu ( cos u + sin u)
+c
2 + 2
eu sin u du =
eu ( sin u cos u)
+c
2 + 2
ln |u| du = u ln |u| u + c
u ln |u| du =
cos 1 u cos 2 u du =
sin 1 u sin 2 u du =
sin 1 u cos 2 u du =
u2 ln |u| u2
+c
2
4
sin(1 + 2 )u sin(1 2 )u
+
+c
2(1 + 2 )
2(1 2 )
sin(1 + 2 )u sin(1 2 )u
+
+c
2(1 + 2 )
2(1 2 )
cos(1 + 2 )u cos(1 2 )u
+c
2(1 + 2 )
2(1 2 )
(1 6= 2 )
(1 6= 2 )
(1 6= 2 )
703
Answers to Selected
Exercises
x2
+ c (b) y = x cos x sin x + c
2
x2
x2
ln x
+ c (d) y = x cos x + 2 sin x + c1 + c2 x
2
4
x3
sin x + ex + c1 + c2 x
3
x5
+ ex + c1 + c2 x + c3 x2
60
7 4x
e + c1 + c2 x + c3 x 2
64
1
cos x2 (c) y = 3 ln( 2 cos x)
2
x5
1
1
29
47 37
(x 2) +
(e) y = xe2x e2x +
15
5
30
4
4
4
x2
8x 11
2
x3
cos 2x 7 2
7
x4
x3
1
26
5
+
+ x 6x + (i) y =
+
+ (x 2)2 (x 2)
3
6
4
8
12
6
2
3
3
1.2.7 (p. 15) (a) 576 ft (b) 10 s 1.2.8 (p. 15) (b) y = 0 1.2.10 (p. 15) (a) (2c2, ) (, )
705
705
2.1.1 (p. 41) y = eax 2.1.2 (p. 41) y = cex 2.1.3 (p. 41) y = ce(ln x)
/2
c
e(x1)
e
1/x
2.1.5
(p.
2.1.7 (p. 41) y =
41)
y
=
ce
2.1.6
(p.
41)
y
=
3
x
x
x ln x
1
2
c
+ ce3x 2.1.13 (p. 41) y = + ex
3
x x
ex + c
7 ln |x| 3
c
2.1.16 (p. 42) y =
+ x+
2
1+x
x
2
x
3
2
x
c
+
2.1.17 (p. 42) y = (x 1)4 (ln |x 1| cos x + c) 2.1.18 (p. 42) y = ex
4
x
x2
2 ln |x| 1
c
c cos x
+ + 2 2.1.20 (p. 42) y = (x +c) cos x 2.1.21 (p. 42) y =
x2
2 x
(1 + x)2
1 (x 2)3
(x 2)5
2
+c
2.1.23 (p. 42) y = (x + c)e sin x
2 (x 1)
(x 1)
ex
ex
c
e3x e7x
2x + 1
3 + 2. y =
2.1.26 (p. 42)
2
x
x
x
10
(1 + x2 )2
1
2 ln |x| x
1
1 + x2
1
2.1.27 (p. 42) y = 2 ln
2.1.29 (p. 42) y =
+
2.1.28 (p. 42) y = (sin x + csc x)
x
2
x
2
2x
2
2.1.24 (p. 42) y =
2 ln |x| x
1
+
2.1.30 (p. 42) y = (x 1)3 [ln(1 x) cos x]
x
2 2x
1
x2
ln |x 1| + tan x + 1
ln |x| + x2 + 1
2.1.35 (p. 42) y =
3
(x 1)
(x + 2)4
1
2
2
2.1.36 (p. 42) y = (x 1)
ln |x 1| 4
2
Z
2
2
x2
2.1.37 (p. 42) y = (x 5) 7 + ln |x 5| 2.1.38 (p. 42) y = e
3+
1 5 x2
+ e
2 2
2 t2
t e dt
Z x
sin t
tan t
x
2+
dt 2.1.40 (p. 42) y = e
dt
t
t
1
1
Z x
Z x
1
et
1
(x1)
x
t t2
2.1.41 (p. 43) y =
1
+
dt
2.1.42
(p.
43)
y
=
2e
+
e
e
e
dt
2
1 + x2
x
0 1+t
1
1
2.1.39 (p. 42) y =
x
x0
1/2
1
1
c
2.1.48 (p. 44) (a) y = tan1
+ ce3x
(b) y = ln
+
3
x x2
c
x
(c) y = exp x2 + 2
(d) y = 1 +
x
c + 3 ln |x|
p
2(x3 + x2 + x + c)
c
xc
y 1
(ln y)2
x3
= +c
2
3
y1
2 3
11
e(x 4)/2
x + 3x2 + 4x
2.2.12 (p. 52) y =
3
3
2 e(x2 4)/2
2.2.13 (p. 52) y3 + 2y2 + x2 + sin x = 3 2.2.14 (p. 53) (y + 1)(y 1)3 (y 2)2 = 256(x + 1)6
2
1
2e2x2
4 ex
2.2.18 (p. 53) y =
;
2 ex2
2.2.20 (p. 53) y =
2
1 + e2x
1 +
4x2 15
;
2
x+1
(, ) 2.2.23 (p. 53) y = 3
2x 4
1/3
(5, 5)
(, 2)
(, )
15
,
2
x+c
2.2.25 (p. 53) y = x cos c + 1 x2 sin c;
1 cx
707
y 1; y 1
P0
; limt P (t) = 1/
P0 + (1 P0 )eat
SI0
I0 + (S I0 )erSt
I0
and limt I(t) = 0. If q 6= Rs, then
1 + rI0 t
I =
I0
q
. If q < rs, then limt I(t) = = S
rt
I0 + ( I0 )e
r
if q > rS, then limt I(t) = 0 2.2.34 (p. 55) f = ap,
2.2.35 (p. 55) y = ex 1
2x2 + c 2.2.36 (p. 55) y = x2 1 + x2 + c
where a=constant
g(x) = h(x)
2.3.1 (p. 60) (a), (b) x0 6= k (k = integer) 2.3.2 (p. 60) (a), (b) (x0 , y0 ) 6= (0, 0)
2.3.3 (p. 61) (a), (b) x0 y0 6= (2k + 1) 2 (k= integer) 2.3.4 (p. 61) (a), (b) x0 y0 > 0 and x0 y0 6= 1
2.3.5 (p. 61) (a) all (x0 , y0 ) (b) (x0 , y0 ) with y0 6= 0 2.3.6 (p. 61) (a), (b) all (x0 , y0 )
2.3.7 (p. 61) (a), (b) all (x0 , y0 ) 2.3.8 (p. 61) (a), (b) (x0 , y0 ) such that x0 6= 4y0
2.3.9 (p. 61) (a) all (x0 , y0 ) (b) all (x0 , y0 ) 6= (0, 0) 2.3.10 (p. 61) (a) all (x0 , y0 )
(b) all (x0 , y0 ) with y0 6= 1 2.3.11 (p. 61) (a), (b) all (x0 , y0 )
3
x+1
5
5/3
y0 6= (2k + 1)
(k = integer)
2
Also,
y=
0,
3
5x
+1
5/3
< x 53
, 53 < x <
5
, the following function is also a solution:
3
5/3
3
, < x < a,
5 (x + a)
y=
0,
a x 53
5/3
3
x+1
, 53 < x < .
5
2.3.17 (p. 62) (a) all (x0 , y0 ) (b) all (x0 , y0 ) with y0 6= 1
1 + x3 , x 0,
;
1,
x<0
y8 =
1,
x 0,
;
1 + x3 , x < 0
y7 =
1 x3 , x 0,
;
1,
x<0
y9 =
1,
x 0,
1 x3 , x < 0
< x <
1,
0 < x 5,
1 (x2 5)3/2 ,
5<x<
(b)
y=
1,
<
x
5,
2
3/2
5<x<
1 (x 5) ,
709
and
x 5,
5 < x < ,
1 (x2 5)3/2 ,
x 5,
1 (x2 5)3/2 ,
5 < x < ,
1
2.4.2 (p. 68) y = x2/7 (c ln |x|)1/7 2.4.3 (p. 68) y = e2/x(c 1/x)2
1 cex
2x + c
2
2.4.5 (p. 68) y = (1 x2 + cex )1/2
2.4.4 (p. 68) y =
1 + x2
1/3
2
x
2 2
3 (x2 1)/4
2.4.6 (p. 68) y =
2.4.7 (p. 69) y =
2.4.8 (p. 69) y = 1 e
3(1 x) + cex
2
1 4x
2.4.1 (p. 68) y =
1
2.4.10 (p. 69) y = (2ex 1)2
x(11 3x)1/3
1/2
5x
2.4.11 (p. 69) y = (2e12x 1 12x)1/3 2.4.12 (p. 69) y =
2(1 + 4x5 )
P0 eat
0
2.4.14 (p. 69) P =
; limt P (t) =
Rt
1 + aP0 0 ( )ea d
1/aL
cx2
1 cx
if L = 0,
if L = ,
if 0 < L < .
y = x
2.4.17 (p. 69) y = x(4 ln |x| + c)1/4 2.4.18 (p. 69) y = x sin1 (ln |x| + c)
x(4x 3)
y
1
2.4.27 (p. 70) y = x 4x6 1 2.4.28 (p. 70) tan1 ln(x2 + y2 ) = c
(2x 3)
x 2
2.4.29 (p. 70) (x + y) ln |x| + y(1 ln |y|) + cx = 0 2.4.30 (p. 70) (y + x)3 = 3x3 (ln |x| + c)
2.4.31 (p. 70) (y + x) = c(y x)3 ;
2.4.32 (p. 70) y2 (y 3x) = c;
y = x;
y = x
y 0; y = 3x
y
y3
+ 3 = ln |x|+c
x x
aX0 + bY0 =
cX0 + dY0 = .
2.4.41 (p. 72) (y + 2x + 1)4 (2y 6x 3) = c;
2.4.42 (p. 72) (y + x 1)(y x 5)3 = c;
2.4.43 (p. 72) ln |y x 6|
y = 3x + 3/2;
y = x + 5;
2(x + 2)
= c;
y x6
y = 2x 1
y = x + 1
x2 (1 + cx4 )
2.4.45 (p. 72) y1 = x3 ; y = x3 cx6 1 2.4.46 (p. 72) y1 = x2 ; y =
y = x2
1 cx4
2.4.47 (p. 72) y1 = ex ; y =
ex (1 2cex )
;
1 cex
y = 2ex
x2
5 +
y = 2 ln x
ln |x| + c)
2x2
3 +
1 + 48x
1
2.4.56 (p. 72) y = 1 +
2x2
x + 1 + cex
1 + 60x
2x
711
1
1
2x
2.4.58 (p. 72) y = 1
2.4.59 (p. 72) y = x 2
x
1 + ce
x(1 cx)
x +c
2.5.1 (p. 79) 2x3 y2 = c 2.5.2 (p. 79) 3y sin x + 2x2 ex + 3y = c 2.5.3 (p. 79) Not exact
2.5.4 (p. 79) x2 2xy2 + 4y3 = c 2.5.5 (p. 79) x + y = c 2.5.6 (p. 79) Not exact
2.5.7 (p. 79) 2y2 cos x + 3xy3 x2 = c 2.5.8 (p. 79) Not exact
2.5.9 (p. 79) x3 +x2 y +4xy2 +9y2 = c 2.5.10 (p. 79) Not exact 2.5.11 (p. 79) ln |xy|+x2 +y2 = c
2.5.12 (p. 79) Not exact 2.5.13 (p. 79) x2 + y2 = c 2.5.14 (p. 79) x2 y2 ex + 2y + 3x2 = c
2.5.15 (p. 79) x3 ex
+y
tan x
2.5.20 (p. 79) y =
2
x+
ex 1
ex + 1
2x2 + 3x 1
x2
1/3
x2 x + 6
(x + 2)(x 3)
7x2
3y2
+ 4xy +
= c 2.5.24 (p. 80) (x4 y2 + 1)ex + y2 = c
2
2
2.5.29 (p. 81) (a) M (x, y) = 2xy + f(x) (b) M (x, y) = 2(sin x + x cos x)(y sin y + cos y) + f(x)
(c) M (x, y) = yex ey cos x + f(x)
2.5.30 (p. 81) (a) N (x, y) =
x4 y
x
+ x2 + 6xy + g(y) (b) N (x, y) = + 2y sin x + g(y)
2
y
E = 2C
2
1
9x4 + 34x2 + 21
3 3(x + 1) +
2.5.38 (p. 82) y = 1 2 2.5.39 (p. 82) y = x
x
2
2x +
713
!
9 5x2
.
3
2.6.14 (p. 92) (y) = ey ; ey (sin x cos y +y 1) = c 2.6.15 (p. 92) (y) = ey ; xyey (x+y) = c
2.6.16 (p. 92)
xy
= c and y = k (k = integer) 2.6.17 (p. 92) (x, y) = x4 y3 ; x5 y4 ln x = c
sin y
2
+ y3 + 3 ln |y| = c and x 0, y 0
x
x3 y 3
y
= c 2.6.25 (p. 92) (x) = x + 1; y(x + 1)2 (x + y) = c
3
x
x
1.0
h = 0.1
48.298147362
x
2.0
h = 0.1
1.390242009
x
1.50
x
3.0
h = 0.05
7.886170437
h = 0.05
51.492825643
h = 0.05
1.370996758
h = 0.025
8.852463793
h = 0.025
53.076673685
h = 0.025
1.361921132
h = 0.0125
9.548039907
h = 0.1
h = 0.05
h = 0.025
1.469458241 1.462514486 1.459217010
Approximate Solutions
Exact
54.647937102
Exact
1.353193719
Exact
10.500000000
h = 0.1
0.3210
h = 0.05 h = 0.025
0.1537
0.0753
Residuals
x
2.0
h = 0.1
h = 0.05
h = 0.025
0.473456737 0.483227470 0.487986391
Approximate Solutions
h = 0.1
-0.3129
x
1.0
h = 0.1
0.691066797
Exact
0.659957689
h = 0.05
0.676269516
h = 0.025
0.668327471
h = 0.05 h = 0.025
-0.1563
-0.0781
Residuals
x
1.0
x
1.0
h = 0.1
-0.772381768
h = 0.025
-0.756179726
Eulers method
h = 0.05
h = 0.025
0.593002325 0.620131525
h = 0.1
0.538871178
h = 0.1
0.647231889
h = 0.05
-0.761510960
Exact
-0.750912371
Exact
0.647231889
Exact
0.647231889
solution of (A). Therefore the Euler semilinear method produces the exact solution of the
given problem
.
3.1.14 (p. 108)
x
3.0
x
3.0
x
2.0
x
3.0
h = 0.2
0.867565004
h = 0.2
0.569670789
x
3.0
Eulers method
h = 0.1
h = 0.05
0.885719263 0.895024772
h = 0.2
0.922094379
h = 0.2
0.993954754
Eulers method
h = 0.05
h = 0.025
13.912944662 14.559623055
h = 0.1
15.354122287
x
2.0
h = 0.1
12.804226135
Exact
15.282004826
Exact
0.904276722
Exact
0.904276722
Eulers method
h = 0.1
h = 0.05
0.945604800 0.956752868
Exact
15.282004826
Exact
0.967523153
Exact
0.967523153
715
x
1.50
Exact
0.343780513
x
2.0
h = 0.2
0.754572560
Eulers method
h = 0.1
h = 0.05
0.743869878 0.738303914
Exact
0.732638628
x
1.50
h = 0.2
0.722610454
h = 0.0500
2.175959970
Exact
0.732638628
Eulers method
h = 0.0250
h = 0.0125
2.210259554 2.227207500
Exact
2.244023982
x
1.50
h = 0.0500
2.117953342
Exact
2.244023982
x
1.0
h = 0.1
0.032105117
Eulers method
h = 0.05
h = 0.025
0.043997045 0.050159310
Exact
0.056415515
x
1.0
x
1.0
Exact
0.343780513
h = 0.0500
0.305596953
x
1.0
Eulers method
h = 0.0250
h = 0.0125
0.330797109 0.337020123
x
1.50
x
2.0
h = 0.0500
0.319892131
x
3.0
x
3.0
h = 0.1
0.056020154
h = 0.1
28.987816656
h = 0.1
54.709134946
h = 0.1
1.361427907
h = 0.1
1.291345518
Exact
0.056415515
Eulers method
h = 0.05
h = 0.025
38.426957516 45.367269688
Euler semilinear method
h = 0.05
h = 0.025
54.724150485 54.728228015
Eulers method
h = 0.05
h = 0.025
1.361320824 1.361332589
Exact
54.729594761
Exact
54.729594761
Exact
1.361383810
Exact
1.361383810
x
1.0
h = 0.1
56.134480009
x
2.0
h = 0.1
1.353501839
x
1.50
x
3.0
h = 0.05
10.141969585
h = 0.05
55.003390448
h = 0.05
1.353288493
h = 0.025
54.734674836
h = 0.025
1.353219485
h = 0.025
10.396770409
Exact
54.647937102
Exact
1.353193719
h = 0.0125
10.472502111
h = 0.1
h = 0.05
h = 0.025
1.455674816 1.455935127 1.456001289
Approximate Solutions
Exact
10.500000000
h = 0.1
-0.00818
h = 0.05 h = 0.025
-0.00207
-0.000518
Residuals
x
2.0
h = 0.1
h = 0.05
h = 0.025
0.492862999 0.492709931 0.492674855
Approximate Solutions
h = 0.1
0.00335
x
1.0
h = 0.1
0.660268159
Exact"
0.659957689
x
2.0
h = 0.1
-0.749751364
h = 0.05
0.660028505
h = 0.05
-0.750637632
h = 0.025
0.659974464
h = 0.025
-0.750845571
h = 0.05 h = 0.025
0.000777
0.000187
Residuals
Exact"
-0.750912371
3.2.13 (p. 118) Applying variation of parameters to the given initial value problem
y = ue3x , where (A) u0 = 1 2x, u(0) = 2. Since u000 = 0, the improved Euler method yields
the exact solution of (A). Therefore the improved Euler semilinear method produces the exact solution
of the given problem.
x
1.0
h = 0.1
0.105660401
x
1.0
x
3.0
x
3.0
Exact
0.099574137
h = 0.1
15.107600968
Exact
0.099574137
Exact"
15.282004826
Exact"
15.282004826
717
x
2.0
x
2.0
x
2.0
x
2.0
x
1.50
x
1.50
h = 0.2
0.967473721
x
1.0
x
1.0
h = 0.0500
0.349176060
Exact"
0.904276722
Exact"
0.904276722
x
1.50
x
1.50
x
3.0
x
3.0
h = 0.2
0.924335375
Exact"
0.967523153
Exact"
0.967523153
Exact"
0.343780513
Exact"
0.343780513
Exact"
0.732638628
h = 0.2
0.732679223
h = 0.0500
2.247880315
Exact"
0.732638628
Exact"
2.244023982
Exact"
2.244023982
Exact"
0.056415515
h = 0.1
0.059071894
Exact"
0.056415515
x
1.0
x
1.0
x
3.0
x
3.0
h = 0.1
50.534556346
h = 0.1
1.361395309
719
Exact"
54.729594761
Exact"
54.729594761
Exact"
1.361383810
Exact"
1.361383810
x
2.0
h = 0.1
1.349489056
h = 0.05
1.352345900
h = 0.025
1.352990822
Exact
1.353193719
x
2.0
h = 0.1
1.350890736
h = 0.05
1.352667599
h = 0.025
1.353067951
Exact
1.353193719
x
1.50
h = 0.05
10.133021311
h = 0.025
10.391655098
h = 0.0125
10.470731411
Exact
10.500000000
x
1.50
h = 0.05
10.136329642
h = 0.025
10.393419681
h = 0.0125
10.470731411
Exact
10.500000000
x
1.0
h = 0.1
0.660846835
h = 0.05
0.660189749
h = 0.025
0.660016904
Exact"
0.659957689
x
1.0
h = 0.1
0.660658411
h = 0.05
0.660136630
h = 0.025
0.660002840
Exact"
0.659957689
x
2.0
h = 0.1
-0.750626284
h = 0.05
-0.750844513
h = 0.025
-0.750895864
Exact"
-0.751331499
x
2.0
h = 0.1
-0.750335016
h = 0.05
-0.750775571
h = 0.025
-0.750879100
Exact"
-0.751331499
x
1.0
h = 0.1
54.654509699
h = 0.05
54.648344019
h = 0.025
54.647962328
Exact
54.647937102
x
2.0
x
1.50
x
3.0
h = 0.1
1.353191745
h = 0.05
10.498658198
h = 0.05
1.353193606
h = 0.025
1.353193712
h = 0.025
10.499906266
Exact
1.353193719
h = 0.0125
10.499993820
h = 0.1
h = 0.05
h = 0.025
1.456023907 1.456023403 1.456023379
Approximate Solutions
Exact
10.500000000
h = 0.1
0.0000124
h = 0.05
0.000000611
Residuals
x
2.0
h = 0.1
h = 0.05
h = 0.025
0.492663789 0.492663738 0.492663736
Approximate Solutions
h = 0.1
0.000000902
x
1.0
h = 0.1
0.659957046
Exact"
0.659957689
x
2.0
h = 0.1
-0.750911103
h = 0.05
0.659957646
h = 0.05
-0.750912294
h = 0.025
0.659957686
h = 0.025
-0.750912367
h = 0.025
0.0000000333
h = 0.05
0.0000000508
Residuals
h = 0.025
0.00000000302
Exact"
-0.750912371
3.3.13 (p. 126) Applying variation of parameters to the given initial value problem yields
y = ue3x , where (A) u0 = 1 4x + 3x2 4x3 , u(0) = 3. Since u(5) = 0, the Runge-Kutta
method yields the exact solution of (A). Therefore the Euler semilinear method produces the exact
solution of the given problem.
x
0.0
0.1
0.2
0.3
0.4
0.5
0.6
0.7
0.8
0.9
1.0
h = 0.1
-3.000000000
-2.162598011
-1.577172164
-1.163350794
-0.868030294
-0.655542739
-0.501535352
-0.389127673
-0.306468018
-0.245153433
-0.199187198
x
0.0
0.1
0.2
0.3
0.4
0.5
0.6
0.7
0.8
0.9
1.0
Runge-Kutta method
h = 0.05
h = 0.025
-3.000000000 -3.000000000
-2.162526572 -2.162522707
-1.577070939 -1.577065457
-1.163242678 -1.163236817
-0.867927182 -0.867921588
-0.655450183 -0.655445157
-0.501455325 -0.501450977
-0.389060213 -0.389056546
-0.306412184 -0.306409148
-0.245107859 -0.245105379
-0.199150401 -0.199148398
Exact
-3.000000000
-2.162522468
-1.577065117
-1.163236453
-0.867921241
-0.655444845
-0.501450707
-0.389056318
-0.306408959
-0.245105226
-0.199148273
Exact
-3.000000000
-2.162522468
-1.577065117
-1.163236453
-0.867921241
-0.655444845
-0.501450707
-0.389056318
-0.306408959
-0.245105226
-0.199148273
x
3.0
x
3.0
x
2.0
x
2.0
Runge-Kutta method
h = 0.1
h = 0.05
0.904295772 0.904277759
h = 0.2
0.967523147
h = 0.0500
0.343839158
Exact"
15.282004826
Exact"
15.282004826
Exact"
0.904276722
Exact"
0.904276722
Runge-Kutta method
h = 0.1
h = 0.05
0.967523152 0.967523153
x
1.50
x
1.00
1.05
1.10
1.15
1.20
1.25
1.30
1.35
1.40
1.45
1.50
Runge-Kutta method
h = 0.05
h = 0.025
15.281981407 15.282003300
h = 0.2
0.904678156
x
3.0
x
3.0
h = 0.1
15.282005990
x
2.0
x
2.0
h = 0.1
15.281660036
Exact"
0.967523153
Exact"
0.967523153
Runge-Kutta method
h = 0.0250
h = 0.0125
0.343784814 0.343780796
Exact"
0.343780513
Exact"
0.000000000
0.028121010
0.055393464
0.082163990
0.108862590
0.136058516
0.164564471
0.195650216
0.231540017
0.276810456
0.343780513
Runge-Kutta method
h = 0.1
h = 0.05
0.732638318 0.732638609
Exact"
0.732638628
h = 0.2
0.732633229
Exact"
0.732638628
721
x
1.50
x
1.50
x
1.0
x
1.0
x
1.0
x
1.0
x
3.0
x
3.0
h = 0.0500
2.244025683
Runge-Kutta method
h = 0.0250
h = 0.0125
2.244024088 2.244023989
Exact"
2.244023982
Exact"
2.244023982
Runge-Kutta method
h = 0.05
h = 0.025
0.056416137 0.056415552
Exact"
0.056415515
h = 0.1
0.056426886
h = 0.1
54.695901186
h = 0.1
54.729099966
Exact"
0.056415515
Runge-Kutta method
h = 0.05
h = 0.025
54.727111858 54.729426250
h = 0.1
1.361384082
Runge-Kutta method
h = 0.05
h = 0.025
1.361383812 1.361383809
Exact"
54.729594761
Exact"
54.729594761
Exact"
1.361383810
Exact"
1.361383810
x
2.00
h = .1
-1.000000000
h = .025
-1.000000000
x
1.00
h = .1
1.000000000
h = .05
1.000000000
h = .025
1.000000000
Exact"
1.000000000
x
1.50
h = .1
4.142171279
h = .05
4.142170553
h = .025
4.142170508
Exact
4.142170505
x
3.0
h = .1
16.666666988
h = .05
16.666666687
h = .025
16.666666668
Exact
-1.000000000
Exact
16.666666667
2 ln 10
ln 2
ln 2
minutes
ln 4/3
723
ln(p0 /p1 )
tp
ln p
1
Q1
4.1.5 (p. 138)
=
4.1.6 (p. 138) k =
ln
4.1.7 (p. 138) 20 g
ln 2
tq
ln q
t2 t1
Q2
50 ln 2
25
4.1.8 (p. 138)
yrs 4.1.9 (p. 138)
ln 2%
3
2
4.1.10 (p. 138) (a) = 20 ln 3 yr (b). Q0 = 100000e.5 4.1.11 (p. 138) (a) Q(t) = 5000 4750et/10 (b) 5000
lbs
1
4.1.12 (p. 138)
yrs; 4.1.13 (p. 138) V = V0 et ln 10/2 4 hours
25
1500 ln 43
4.1.14 (p. 138)
yrs; 24/3 Q0 4.1.15 (p. 138) W (t) = 20 19et/20 ; limt W (t) = 20 ounces
ln 2
4.1.16 (p. 138) S(t) = 10(1 + et/10 ); limt S(t) = 10 g 4.1.17 (p. 139) 10 gallons
4.1.18 (p. 139) V (t) = 15000 + 10000et/20 4.1.19 (p. 139) W (t) = 4 106 (t + 1)2 dollars t years from now
100
e.06t 1
4.1.20 (p. 139) p =
4.1.21 (p. 139) (a) P (t) = 1000e.06t + 50 .06/52
(b) 5.64 104
t/2
25 24e
e
1
rP0
12M
(1 ert ) + P0 ert (c) M
4.1.22 (p. 139) (a) P 0 = rP 12M (b) P =
r
12(1 erN )
(d) For (i) approximate M = $402.25, exact M = $402.80
for (ii) approximate M = $1206.05, exact M = $1206.93.
1
4.1.23 (p. 139) (a) T () = ln 1 1 erN )/ years
r
P0
S() =
rN
+ ln 1 (1 erN )/
(1 erN )
(b) T (1.05) = 13.69 yrs, S(1.05) = $3579.94 T (1.10) = 12.61 yrs,
S(1.10) = $6476.63 T (1.15) = 11.70 yrs, S(1.15) = $8874.98.
4.1.4 (p. 138)
S0 (1 e(ar)T )
if a 6= r,
ra
S0 T if a = r.
4.2.1 (p. 148) 15.15 F 4.2.2 (p. 148) T = 10 + 110et ln 9 4.2.3 (p. 148) 24.33 F
4.2.4 (p. 148) (a) 91.30 F (b) 8.99 minutes after being placed outside (c) never
4.2.5 (p. 148) (a) 12:11:32 (b) 12:47:33 4.2.6 (p. 148) (85/3) C 4.2.7 (p. 148) 32 F 4.2.8 (p. 148) Q(t) = 40(1 e3t/40 )
4.2.9 (p. 148) Q(t) = 30 20et/10 4.2.10 (p. 148) K(t) = .3 .2et/20 4.2.11 (p. 148) Q(50) = 47.5
(pounds)
234 105
4.2.12 (p. 148) 50 gallons 4.2.13 (p. 148) min q2 = q1 /c 4.2.14 (p. 149) Q = t + 300
, 0 t 300
(t + 300)2
2
4.2.15 (p. 149) (a) Q0 +
Q = 6 2et/25 (b) Q = 75 50et/25 25e2t/25 (c) 75
25
k(S0 Tm ) km t
4.2.16 (p. 149) (a) T = Tm + (T0 Tm )ekt +
e
ekt
(k km )
(b) T = Tm + k(S0 Tm )tekt + (T0 Tm )ekt (c) limt T (t) = limt S(t) = Tm
a
a
aT0 + am Tm0
am (T0 Tm0 ) k(1+a/am )t
4.2.17 (p. 149) (a) T 0 = k 1 +
T + k Tm0 +
T0 (b) T =
+
e
,
am
am
a + am
a + am
aT0 + am Tm0
a(Tm0 T0 ) k(1+a/am )t
aT0 + am Tm0
Tm =
+
e
; (c) limt T (t) = limt Tm (t) =
a + am
a + am
a + am
a
V0
4.2.18 (p. 150) V =
, limt V (t) = a/b
b V0 (V0 a/b) eat
r rt/W
4.2.19 (p. 150) c1 = c 1 ert/W , c2 = c 1 ert/W
te
.
W
1e
rt/W
X 1 rt j
j=0
j!
(b) c (c) 0
c1 W1 + c2 W2
c2 W22 c1 W12
W1 + W2
4.2.21 (p. 150) Let c =
,=
, and =
. Then:
W1 + W2
W1 + W2
W1 W2
rt
rt
e
, c2 (t) = c
e
(a) c1 (t) = c +
W1
W2
(b) limt c1 (t) = limt c2 (t) = c
Section 4.3 Answers, pp. 160162
384
384
1 e5t/12 ;
ft/s 4.3.2 (p. 160) k = 12; v = 16(1 e2t )
5
5
4.3.3 (p. 160) v = 25(1 et );25 ft/s 4.3.4 (p. 160) v = 20 27et/40 4.3.5 (p. 160) 17.10 ft
4.3.1 (p. 160) v =
40(13 + 3e4t/5 )
; -40 ft/s 4.3.7 (p. 160) v = 128(1 et/4 )
13 3e4t/5
m
v0 k
m
mg
v0 k
ln 1 +
; ym = y0 +
v0
ln 1 +
4.3.9 (p. 160) T =
k
mg
k
k
mg
64(1 et )
; -64 ft/s
1 + et
v0(1 + et ) (1 et )
4.3.11 (p. 161) v =
;
(1 + et ) v0 (1 et )
4.3.12 (p. 161) T =
m
tan1
kg
r
v0
k
mg
v=
, where =
mg
and = 2
k
kg
.
m
gk
m (tT )
mg 1 e
p
;
gk
k
2
m (tT )
1+e
as
; a0 = mg. 4.3.14 (p. 161) (a) ms0 = mg f (s)
s+1
4.3.15 (p. 161) (a) v 0 = 9.8 + v 4 /81 (b) vT 5.308 m/s
4.3.16 (p. 161) (a) v 0 = 32 + 8 |v|; vT = 16 ft/s (b) From Exercise 4.3.14(c), vT is the negative
p
number such that 32 + 8 |vT | = 0; thus, vT = 16 ft/s.
4.3.17 (p. 162) 6.76 miles/s 4.3.18 (p. 162) 1.47 miles/s 4.3.20 (p. 162) =
gR2
(ym + R)2
725
a is unstable if a > 0.
* 4.4.10 (p. 176) 0 is a stable equilibrium if a 0; a and a are stable and 0 is unstable if a > 0.
4.4.11 (p. 176) 0 is unstable if a 0; a and a are unstable and 0 is stable if a > 0.
x2
2xy
y2
y(x2 + y2 2x2 ln |xy|)
4.5.2 (p. 190) y0 =
4.5.3 (p. 190) y0 =
.
2
+ 3y
(xy 1)
x(x2 + y2 2y2 ln |xy|)
2
x1/2
4.5.5 (p. 190) y0 + 2xy = 4xex 4.5.6 (p. 190) xy0 + y = 4x3
2
4.5.7 (p. 190) y0 y = cos x sin x 4.5.8 (p. 190) (1 + x2 )y0 2xy = (1 x)2 ex
4.5.10 (p. 190) y0 g yg0 = f 0 g f g0 . 4.5.11 (p. 190) (x x0 )y0 = y y0 4.5.12 (p. 190) y0 (y2 x2 +
1) + 2xy = 0 4.5.13 (p. 190) 2x(y 1)y0 y2 + x2 + 2y = 0
x3
x
4.5.21 (p. 192) y =
9 x2
; those with c > 0
2
y
1
1
y
4.5.33 (p. 192) tan1 ln(x2 + y2 ) = k 4.5.34 (p. 192) ln(x2 + y2 ) + (tan ) tan1 = k
x
2
2
x
Section 5.1 Answers, pp. 203210
4.5.29 (p. 192) y2 = 2x ln(x 1)2 + k 4.5.30 (p. 192) y = 1 +
e2x
e5x
+ (k1 2k0 )
.
3
3
5.1.2 (p. 203) (c) y = ex (3 cos x 5 sin x) (d) y = ex (k0 cos x + (k1 k0 ) sin x)
5.1.3 (p. 204) (c) y = ex (7 3x) (d) y = ex (k0 + (k1 k0 )x)
5.1.1 (p. 203) (c) y = 2e2x + e5x (d) y = (5k0 k1 )
; (1, 1)
x1
x+1
x1
x+1
5
1
e2x
5.1.5 (p. 204) (a) ex (b) e2x cos x (c) x2 + 2x 2 (d) x5/6 (e) 2 (f) (x ln |x|)2 (g)
6
x
2 x
1
5.1.6 (p. 204) 0 5.1.7 (p. 204) W (x) = (1 x2 )1 5.1.8 (p. 205) W (x) =
5.1.10 (p. 205) y2 = ex
x
1
5.1.11 (p. 205) y2 = xe3x 5.1.12 (p. 205) y2 = xeax 5.1.13 (p. 205) y2 =
5.1.14 (p. 205) y2 = x ln x
x
a
1/2 2x
5.1.15 (p. 205) y2 = x ln x 5.1.16 (p. 205) y2 = x e
5.1.17 (p. 205) y2 = x 5.1.18 (p. 205)
1
y2 = x sin x 5.1.19 (p. 205) y2 = x1/2 cos x 5.1.20 (p. 205) y2 = xex 5.1.21 (p. 205) y2 = 2
x 4
5.1.22 (p. 205) y2 = e2x
5.1.23 (p. 205) y2 = x2 5.1.35 (p. 207) (a) y00 2y0 + 5y = 0 (b) (2x 1)y00 4xy0 + 4y = 0 (c)
x2 y00 xy0 + y = 0
(d) x2 y00 + xy0 + y = 0 (e) y00 y = 0 (f) xy00 y0 = 0
5.1.37 (p. 207) (c) y = k0 y1 + k1 y2 5.1.38 (p. 208) y1 = 1, y2 = x x0 ; y = k0 + k1 (x x0 )
5.1.39 (p. 208) y1 = cosh(x x0 ), y2 = sinh(x x0 ); y = k0 cosh(x x0 ) + k1 sinh(x x0 )
1
k1
5.1.40 (p. 208) y1 = cos (x x0 ), y2 = sin (x x0 ) y = k0 cos (x x0 ) +
sin (x x0 )
1
x
k0 + k1 x
5.1.41 (p. 208) y1 =
, y2 =
y=
1 x2
1 x2
1 x2
2
c1x + c2 x3 , x 0,
5.1.42 (p. 209) (c) k0 = k1 = 0; y =
c 1 x2 + c 3 x3 , x < 0
(d) (0, ) if x0 > 0, (, 0) if x0 < 0
5.1.43 (p. 209) (c) k0 = 0, k1 arbitrary y = k1 x + c2 x2
5.1.4 (p. 204) (a) y =
a1 x3 + a2 x4 , x 0,
b1 x3 + b2 x4 , x < 0
(d) (0, ) if x0 > 0, (, 0) if x0 < 0
y = ex (c1 cos 2x + c2 sin 2x) 5.2.10 (p. 217) y = e3x (c1 cos 2x + c2 sin 2x)
3x
3x
5.2.11 (p. 217) y = ex/2 c1 cos
+ c2 sin
5.2.12 (p. 217) y = c1 ex/5 + c2 ex/2
2
2
5.2.13 (p. 218) y = e7x (2 cos x 3 sin x) 5.2.14 (p. 218) y = 4ex/2 + 6ex/3 5.2.15 (p. 218) y =
3ex/3 4ex/2
ex/2 3e3x/2
5.2.16 (p. 218) y =
+
5.2.17 (p. 218) y = e3x/2 (3 2x) 5.2.18 (p. 218) y = 3e4x 4e3x
3
4
2 6
5.2.19 (p. 218) y = 2xe3x 5.2.20 (p. 218) y = ex/6 (3+2x) 5.2.21 (p. 218) y = e2x 3 cos 6x +
sin 6x
3
1 (x2) 2 7(x2)
(x1)
2(x1)
5.2.23 (p. 218) y = 2e
3e
5.2.24 (p. 219) y = e
e
3
3
5.2.25 (p. 219) y = e7(x1) (2 3(x 1)) 5.2.26 (p. 219) y = e(x2)/3 (2 4(x 2))
2
k1 k0
sin (x x0 )
727
5.3.26 (p. 228) yp = cos 3x; y = cos 3x + ex (c1 cos 2x + c2 sin 2x)
5.3.27 (p. 228) yp = cos x + sin x; y = cos x + sin x + e3x (c1 cos 2x + c2 sin 2x)
5.3.28 (p. 228) yp = 2 cos 2x + sin 2x; y = 2 cos 2x + sin 2x + c1 e4x + c2e3x
y = 2 cos 2x + sin 2x + 2e4x 3e3x
5.3.29 (p. 228) yp = cos 3x sin 3x; y = cos 3x sin 3x + e3x (c1 + c2x)
y = cos 3x sin 3x + e3x (1 + 2x)
1
5.3.30 (p. 228) y = 2
(M cos x + N sin x) + c1 cos 0 x + c2 sin 0 x
0 2
e3x
e3x
5.3.33 (p. 229) yp = 1 + 2x + 3x2 +
; y = 1 + 2x + 3x2 +
+ c1 e6x + c2 ex
3
3
5.3.34 (p. 229) yp = 1 + x + e2x ; y = 1 + x + e2x (1 + c1 cos x + c2 sin x)
5.3.35 (p. 229) yp = x + x3 2e2x ; y = x + x3 2e2x + c1 e7x + c2 ex
5.3.36 (p. 229) yp = 1 x2 + ex ; y = 1 x2 + ex + e2x (c1 + c2 x)
4 x/2
4 x/2
5.3.37 (p. 229) yp = 2x + x3 +
e ; y = 2x + x3 +
e
+ ex (c1 cos 3x + c2 sin 3x)
45
45
5.3.38 (p. 229) yp = 1 + 2x + e3x ; y = 1 + 2x + e3x (1 + c1 cos x + c2 sin x)
Section 5.4 Answers, pp. 235238
1
x
x
3x
+
5.4.2 (p. 235) yp = e3x 1
5.4.3 (p. 235) yp = ex 2
4
2
4
4
5.4.4 (p. 235) yp = e2x (1 3x + x2 ) 5.4.5 (p. 235) yp = ex (1 + x2 ) 5.4.6 (p. 235) yp = ex (2 + x + 2x2 )
1
x
x
5.4.7 (p. 235) yp = xex
+
5.4.8 (p. 235) yp = xex (1 + 2x) 5.4.9 (p. 235) yp = xe3x 1 +
6
2
2
1
x
2 x
2 x
2x
5.4.10 (p. 235) yp = xe (2+x) 5.4.11 (p. 235) yp = x e
1+
5.4.12 (p. 235) yp = x e
x
2
2
2 x/3
x2 e2x
x
e
5.4.13 (p. 235) yp =
(1 x + x2 ) 5.4.14 (p. 235) yp =
(3 2x + x2 )
2
27
5.4.21 (p. 236) y = xe2x + 3ex e4x 5.4.22 (p. 236) y = ex (2 + x 2x2 ) e3x
ex
5.4.23 (p. 236) y = e2x (3 x) 2e5x 5.4.24 (p. 236) yp = (1 x) + ex (3 + 2x)
3
5.4.25 (p. 236) yp = ex (3 + 7x) + xe3x 5.4.26 (p. 236) yp = x3 e4x + 1 + 2x + x2
5.4.27 (p. 236) yp = xe2x (1 2x) + xex 5.4.28 (p. 236) yp = ex (1 + x) + x2 ex
5.4.29 (p. 236) yp = x2 ex + e3x (1 x2 ) 5.4.31 (p. 237) yp = 2e2x 5.4.32 (p. 237) yp = 5xe4x
e3x
5.4.33 (p. 237) yp = x2 e4x 5.4.34 (p. 237) yp =
(1+2x2x2 ) 5.4.35 (p. 237) yp = xe3x (4x+2x2 )
4
5.4.36 (p. 237) yp = x2 ex/2 (1 + 2x + 3x2 )
4 3/2
x2
5.4.37 (p. 237) (a) y = e
x
+ c1 x + c2 (b) y = e3x
(2 ln x 3) + c1 x + c2
3
4
x3
(c) y = e2x [(x + 1) ln |x + 1| + c1 x + c2 ] (d) y = ex/2 x ln |x| +
+ c1 x + c2
6
x
e2x
(3 + 6x + 6x2 + 4x3 ) + c
8
x
2
3x
2
x
(d) e (1 + x ) + c (e) e (6 + 4x + 9x ) + c (f) e (1 2x3 + 3x4 ) + c
k
(1)k k!ex X (x)r
+c
k+1
r!
r=0
5.5.1 (p. 244) yp = cos x + 2 sin x 5.5.2 (p. 244) yp = cos x + (2 2x) sin x
5.5.3 (p. 244) yp = ex (2 cos x + 3 sin x)
e2x
5.5.4 (p. 244) yp =
(cos 2x sin 2x) 5.5.5 (p. 244) yp = ex (x cos x sin x)
2
5.5.6 (p. 244) yp = e2x (1 2x)(cos 3x sin 3x) 5.5.7 (p. 245) yp = x(cos 2x 3 sin 2x)
h
x
x i
3 sin
5.5.8 (p. 245) yp = x [(2 x) cos x + (3 2x) sin x] 5.5.9 (p. 245) yp = x x cos
2
2
5.5.10 (p. 245) yp = xex (3 cos x + 4 sin x) 5.5.11 (p. 245) yp = xex [(1 + x) cos 2x + (1 + x) sin 2x]
5.5.12 (p. 245) yp = (14 10x) cos x (2 + 8x 4x2 ) sin x.
x2
5.5.13 (p. 245) yp = (1 + 2x + x2 ) cos x + (1 + 3x2 ) sin x 5.5.14 (p. 245) yp =
(cos 2x sin 2x)
2
x
2
x
2
5.5.15 (p. 245) yp = e (x cos x + 2 sin x) 5.5.16 (p. 245) yp = e (1 x )(cos x + sin x)
5.5.17 (p. 245) yp = ex (x2 x3 )(cos x + sin x) 5.5.18 (p. 245) yp = ex [(1 + 2x) cos x (1 3x) sin x]
5.5.19 (p. 245) yp = x(2 cos 3x sin 3x) 5.5.20 (p. 245) yp = x3 cos x + (x + 2x2 ) sin x
5.5.21 (p. 245) yp = ex (x + x2 ) cos x (1 + 2x) sin x
5.5.22 (p. 245) y = ex (2 cos x + 3 sin x) + 3ex e6x 5.5.23 (p. 245) y = ex [(1 + 2x) cos x + (1 3x) sin x]
5.5.24 (p. 245) y = ex (cos x2 sin x)+e3x (cos x+sin x) 5.5.25 (p. 245) y = e3x [(2 + 2x) cos x (1 + 3x) sin x]
ex
5.5.26 (p. 245) y = e3x [(2 + 3x) cos x + (4 x) sin x]+3ex 5e2x 5.5.27 (p. 245) yp = xe3x (cos x 2 sin x)
5
ex
ex
5.5.28 (p. 245) yp = x(cos x + 2 sin x)
(1 x) +
2
2
x
xe
1
2x
5.5.29 (p. 245) yp =
(2 + x) + 2xe +
(3 cos x + sin x)
2
10
729
ex
x2
(4 + 5x) + 1 + x +
25
2
x2 e2x
1
2x
3x
yp =
(3 + x) e (cos x sin x) + 3e + (2 + x)
6
4
y = (1 2x + 3x2 )e2x + 4 cos x + 3 sin x 5.5.33 (p. 245) y = xe2x cos x + 3 cos 2x
3
1
13 2x 3 2x
y = cos 2x + sin 2x + ex
e
xe
8
4
8
4
x
e
2
(1 x2 ) cos x (1 x)2 sin x + c
(a) 2x cos x (2 x ) sin x + c (b)
2
ex
[(4 + 10x) cos 2x (3 5x) sin 2x] + c
25
x
e
(d)
(1 + x)2 cos x (1 x2 ) sin x + c
2
ex
(e)
x(3 3x + x2 ) cos x (3 3x + x3 ) sin x + c
2
(f) ex [(1 2x) cos x + (1 + x) sin x] + c (g) ex [x cos x + x(1 + x) sin x] + c
(c)
4
c2
+ c1 x + ; {x, 1/x}
3x2
x
x(ln |x|)2
+ c1 x + c2 x ln |x|; {x, x ln |x|}
2
= (e2x + ex ) ln(1 + ex ) + c1 e2x + c2 ex ; {e2x , ex }
4
= ex x7/2 + c1 + c2 x ; {ex , xex }
5
= ex (2x3/2 + x1/2 ln x + c1 x1/2 + c2 x1/2 ); {x1/2 ex , x1/2 ex }
= ex (x sin x + cos x ln | cos x| + c1 cos x + c2 sin x); {ex cos x, ex sin x}
e2x
+ c1 + c2 ex ; {x1/2 , x1/2 ex }
2
5.6.17 (p. 253) y = 2x2 ln x + c1 x2 + c2 x4 ; {x2 , x4 } 5.6.18 (p. 253) {ex , ex /x} 5.6.19 (p. 253) {x2 , x3 }
5.6.20 (p. 253) {ln |x|, x ln |x|} 5.6.21 (p. 253) {sin x, cos x} 5.6.22 (p. 253) {ex , x3 ex } 5.6.23 (p. 253)
{xa , xa ln x}
5.6.24 (p. 253) {x sin x, x cos x} 5.6.25 (p. 253) {e2x , x2 e2x } 5.6.26 (p. 253) {x1/2 , x1/2 cos x}
5.6.27 (p. 253) {x1/2 e2x , x1/2 e2x } 5.6.28 (p. 253) {1/x, e2x } 5.6.29 (p. 253) {ex , x2 } 5.6.30 (p. 253)
{e2x , x2 e2x } 5.6.31 (p. 253) y = x4 + 6x2 8x2 ln |x|
(x + 1) x
5.6.32 (p. 253) y = 2e2x xex 5.6.33 (p. 254) y =
e (3 2x) + 7ex
4
x2
(x + 2)2
2x
5.6.34 (p. 254) y =
+ x 5.6.35 (p. 254) y =
+ 2
4
6(x 2)
x 4
7c1 + c2 e6x
6c1 + c2 e7x
(d)
y
=
c1 + c2 e7x
c1 + c2 e6x
(7c1 c2 ) cos x + (c1 + 7c2 ) sin x
(e) y =
c1 cos x + c2 sin x
2c1 + 3c2 e5x/6
c1 + c2 (x + 6)
(f) y =
(g) y =
6(c1 + c2 x)
6(c1 + c2 e5x/6 )
(c) y =
c1 + c2 ex (1 + x)
2c1 x + c2 (1 2x2 )
(b)
y
=
x(c1 + c2 ex )
c1 + c2 x
c1 + c2 e2x (x + 1)
2c1 + c2 e3x (1 x)
(d) y =
2x
c1 + c2 xe
c1 + c2 xe3x
c1 + 7c2 x6
(2c2 x c1 ) cos x (2c1 x + c2) sin x
(f) y =
(e) y =
2x(c1 cos x + c2 sin x)
x(c1 + c2 x6 )
(c) y =
x cos x
3x4 ex
a+1
5.7.15 (p. 263) yp =
5.7.16 (p. 263) yp = x
5.7.14 (p. 263) yp =
2
2
2
x sin x
5.7.17 (p. 263) yp =
5.7.18 (p. 263) yp = 2x2 5.7.19 (p. 263) yp = ex sin x
2
x
x3/2
5.7.20 (p. 263) yp =
5.7.21 (p. 263) yp =
5.7.22 (p. 263) yp = 3x2
2
4
x 3 ex
4x3/2
5.7.23 (p. 263) yp =
5.7.24 (p. 263) yp =
5.7.25 (p. 263) yp = x3 ex 5.7.26 (p. 263)
2
15
x
yp = xe
5.7.27 (p. 263) yp = x2 5.7.28 (p. 263) yp = xex (x 2) 5.7.29 (p. 263) yp = xex (x 1)/4
e2x (3x2 2x + 6)
xex
+
5.7.31 (p. 263) y = (x 1)2 ln(1 x) + 2x2 5x + 3
5.7.30 (p. 263) y =
6
3
x(x2 + 6)
x2
1
5.7.32 (p. 263) y = (x2 1)ex 5(x1) 5.7.33 (p. 264) y =
5.7.34 (p. 264) y =
+x+ 2
2
3(x 1)
2
2x
x2 (4x + 9)
5.7.35 (p. 264) y =
6(x + 1)
5.7.1 (p. 262) yp =
Rx
0
731
1
1
1
6.1.1 (p. 277) y = 3 cos 4 6t sin 4 6t ft 6.1.2 (p. 277) y = cos 8 5t sin 8 5t ft
4
2 6
4 5
1
1
17
sin 8t ft; R =
ft; 0 = 8 rad/s; T = /4 s;
6.1.4 (p. 277) y = cos 8t
4
16
16
.245 rad 14.04 ;
25
5
6.1.5 (p. 277) y = 10 cos 14t +
sin 14t cm; R =
809 cm; 0 = 14 rad/s; T = /7 s;
14
14
1
2
1 67
6.1.6 (p. 277) y = cos 70 t + sin 70 t m; R =
m 0 = 70 rad/s;
4
4 35
70
1
1
1
6.1.12 (p. 278) y = sin 8t + cos 4 2t sin 4 2t
16
3
8 2
1
1
6.1.13 (p. 278) y = t cos 8t cos 8t + sin 8t ft 6.1.14 (p. 278) T = 4 2 s
6
8
t
1
6.1.15 (p. 278) = 8 rad/s y = ( cos 8t + 2 sin 8t) +
sin 8t ft
16
128
h
i 1
t 8
6.1.16 (p. 278) = 4 6 rad/s; y =
cos 4 6t + 4 sin 4 6t + sin 4 6t ft
9
6 3
t
t
6.1.17 (p. 278) y = cos 2t sin 2t + 3 cos 2t + 2 sin 2t m
2
4
v0
1 p
sin 0 t; R =
(0 y0 )2 + (v0 )2 ;
6.1.18 (p. 278) y = y0 cos 0 t +
0
0
y0 0
v0
cos = p
; sin = p
(0 y0 )2 + (v0 )2
(0 y0 )2 + (v0 )2
6.1.19 (p. 278) The object with the longer period weighs four times as much as the other.
6.1.20 (p. 278) T2 = 2T1 , where T1 is the period of the smaller object.
6.1.21 (p. 278) k1 = 9k2 , where k1 is the spring constant of the system with the shorter period.
Section 6.2 Answers, pp. 287289
e2t
6.2.1 (p. 287) y =
(3 cos 2t sin 2t) ft;
2
6.2.2 (p. 287)
6.2.3 (p. 287)
6.2.5 (p. 287)
6.2.7 (p. 287)
6.2.9 (p. 287)
5 2t
e
ft
2
1
82 t
y = et 3 cos 3t + sin 3t ft
e ft
3
3
1
e3t
y = e16t
+ 10t ft 6.2.4 (p. 287) y =
(5 cos t + 63 sin t) ft
4
4
1
11
0 c < 8 lb-sec/ft 6.2.6 (p. 287) y = e3t cos 91t + sin 91t ft
2
91
4t
e
45
y=
(2 + 8t) ft 6.2.8 (p. 287) y = e10t 9 cos 4 6t + sin 4 6t cm
3
2 6
3
41
9
41
y = e3t/2
cos
t + sin
t ft
2
2
2
2 41
119
9
119
t
sin
t ft
2
2
2 119
1
1
cos 8 2t sin 8 2t ft
6.2.11 (p. 287) y = e8t
4
4 2
1
14
6.2.12 (p. 287) y = et cos 3 11t + sin 3 11t ft
3
9 11
22
2
2
6.2.13 (p. 287) yp =
cos 2t +
sin 2t ft 6.2.14 (p. 288) y = (e8t 2e4t )
61
61
3
1
1
6.2.15 (p. 288) y = e2t
cos 4t sin 4t m 6.2.16 (p. 288) y = e3t (10 cos t 70 sin t) cm
10
5
2
1
6.2.17 (p. 288) yp = cos 3t +
sin 3t ft
15
15
11
27
42
39
6.2.18 (p. 288) yp =
cos 4t +
sin 4t cm 6.2.19 (p. 288) yp =
cos t +
sin t ft
100
100
73
73
1
1
1
6.2.20 (p. 288) y = cos 2t + sin 2t m 6.2.21 (p. 288) yp =
( cos 0 t + sin 0 t)
2
4
c0
1
cy0
(v0 +
) sin 1 t
6.2.24 (p. 288) y = ect/2m y0 cos 1 t +
1
2m
r2 y0 v0 r1 t v0 r1 y0 r2 t
6.2.25 (p. 288) y =
e +
e
6.2.26 (p. 289) y = er1 t (y0 + (v0 r1 y0 )t)
r2 r1
r2 r1
Section 6.3 Answers, pp. 294295
3
1
cos
2
6
6.3.1 (p. 294) I = e15t 2 cos 5 15t sin 5 31t
31
200 10t
e
sin 30t
3
6.3.4 (p. 294) I = 10e30t (cos 40t + 18 sin 40t) 6.3.5 (p. 294) I = e40t (2 cos 30t 86 sin 30t)
1
20
6.3.6 (p. 294) Ip = (cos 10t + 2 sin 10t) 6.3.7 (p. 294) Ip =
(cos 25t 6 sin 25t)
3
37
3
20
(8 cos 50t sin 50t) 6.3.9 (p. 294) Ip =
(17 sin 100t 11 cos 100t)
6.3.8 (p. 294) Ip =
13
123
45
6.3.10 (p. 294) Ip = (cos 30t + 8 sin 30t)
52
e < 1 let X0 =
,a=
,b=
.
1 e2
1 e2
1 e2
"
2
Y2
2
=
if ;
1 e2
(1 e2 )2
2 #1/2
2
h2
r00
6.4.2 (p. 302) Let h =
then =
, e=
1 +
. If e = 0, then
k
r0
h
0 is undefined, but also irrelevant if e 6= 0 then = 0 , where < , cos =
1
r0
1 and sin = 0 .
e r0
eh
r02 00 ;
2 1
2g2
6.4.3 (p. 302) (a) e =
(b) r0 = R1 , r00 = 0, 0 arbitrary, 00 =
1 + 2
R13 (1 + 2 )
6c
1
mh2 ( 2 + 1)
302)
f
(r)
=
+
6.4.5
(p.
r4
r3
r3
d2 u
k
1 du(0 )
r00
6.4.6 (p. 302) (a) 2 + 1 2 u = 0, u(0 ) = ,
= . (b) with =
d
h
r0
d
h
1/2
733
1
1
k 1/2
r0 r00
r0 r00
sinh ( 0 )
(ii) r = r0 1
( 0 )
;
1 2 : (i) r = r0 cosh ( 0 )
h
h
h
1
0
(iii) r = r0
cos ( 0 )
r0 r0
sin ( 0 )
h
m=0
(1)m (m + 1)x2m+1
m=0
(1)m+1
m=0
2m
x
+ a1 x
2m 1
(m + 1)(2m + 1)x2m +
m=0
m=0
1 5
x
5
a1 X
(m + 1)(2m + 3)x2m+1
3
m=0
(1)
"m1
#
Y 4j + 1
m
j=0
2j + 1
2m
+ a1
m=0
(1)
"m1
Y
(4j + 3)
j=0
x2m+1
2m m!
(1)
m=0
2m m!
Qm1
j=0
m=0
8m m!
2j + 1
j=0
"m1
#
Y (4j + 1)2 x2m
(2j + 1)
2m
+ a1
m=0
+ a1
(1)
m=0
Qm1
j=0
j=0
(2j + 3)
2m m!
X
x2m
x2m+1
(1)m Qm1
+ a1
(1)m m
2 m!
(2j + 1)
j=0
m=0
m=0
(1)
m=0
"m1
#
Y 4j + 3 x2m
j=0
2j + 1
2m m!
+ a1
8m m!
2j + 3
x2m+1
35 4
3
1 7
1 14x +
x + a1 x 3x3 + x5 +
x
3
5
35
2
"m1
#
Y (4j + 3)2 x2m+1
(1)
m=0
"m1
#
Y 4j + 5 x2m+1
j=0
2j + 3
2m m!
1 3
5 4 1 5 17 6
13 7
x +
x x
x +
x +
3
12
6
72
126
5
21
11
7.2.12 (p. 329) y = 1 x + 3x2 x3 + 5x4
x5 + 3x6
x7 +
2
8
16
1
5
49 6 45 7
7.2.13 (p. 329) y = 2 x 2x2 + x3 + 3x4 x5
x +
x +
3
6
5
14
X (x 3)2m
X (x 3)2m+1
7.2.16 (p. 330) y = a0
+ a1
(2m)!
(2m + 1)!
7.2.11 (p. 329) y = 2 x x2 +
m=0
X (x 3)2m
2m m!
m=0
"m1
X
Y
m=0
+ a1
m=0
X (x 3)2m+1
Qm1
j=0
m=0
(2j + 3)
j=0
(2j + 3)
X
(x 1)2m
4m (m + 1)!
(x 1)2m+1
+ a1
Qm1
m!
(2j + 3)
m=0
j=0
8
10
4
(x 2)6 + a1 (x 2)
(x 2)3
1 6(x 2) + (x 2)4 +
3
135
9
(1)
m=0
"m1
Y
(2j + 1)
j=0
X
3m
3m m!
2m
m
(x + 1)2m+1
(x
+
1)
+
a
(1)
Q
1
m1
4m m!
(2j + 3)
m=0
j=0
3
1
3 4
1 6
7.2.21 (p. 330) y = 1 + 2x + x2 x3
x
x +
8
3
128
1024
5
3
7
4
7.2.22 (p. 330) y = 2 + 3(x 3) + 3(x 3)2 2(x 3)3 (x 3)4 + (x 3)5 +
(x 3)6
(x 3)7 +
4
5
24
35
5
27
21
27
81
(x 1)4 +
(x 1)5 +
(x 1)6
(x 1)7 +
7.2.23 (p. 330) y = 1 + (x 1) + 3(x 1)2 (x 1)3
2
4
4
2
8
3
5
49
135
7.2.24 (p. 330) y = 4 6(x 3) 2(x 3)2 + (x 3)3 + (x 3)4 (x 3)5
(x 3)6 +
(x 3)7 +
2
4
20
56
15
1
7.2.25 (p. 330) y = 3 4(x 4) + 15(x 4)2 4(x 4)3 +
(x 4)4 (x 4)5
4
5
20
4
8
7.2.26 (p. 330) y = 3 3(x + 1) 30(x + 1)2 +
(x + 1)3 + 20(x + 1)4 (x + 1)5 (x + 1)6
3
3
9
X
X
a
+
a
x
0
1
7.2.27 (p. 330) (a)y = a0
(1)m x2m + a1
(1)m x2m+1 (b)y =
1 + x2
m=0
m=0
m=0
x3m
3m m!
Qm1
j=0
(3j + 2)
+ a1
m=0
x3m+1
3m m!
Qm1
j=0
(3j + 4)
"m1
X
2 m Y
m=0
m=0
(3j + 2)
j=0
3 m!
(1) Qm1
j=0
(3j + 2)
m=0
m=0
3m
+ a1
(1)
m=0
3j + 4
j=0
"m1
Y
(3j + 4)
j=0
"m1
#
Y 3j 5
m
m=0
j=0
m=0
(2)
"m1
#
Y 5j + 1
5j + 4
j=0
(1)m
x
4m m!
j=0
(1)m Qm1
j=0
x6m + a1
m=0
+ a1
(4j + 3)
7m
(7j + 6)
+ a1
x6m+1
+ a1
(1)m
(1)m
m=0
m=0
"
m1
X
2 m Y
m=0
9
7
1 x8 + a1 x x9
7
9
5m
4m
Qm1
x3m+1
3m m!
x3m+1
21 3 42 6
7 9
10 7
1+
x +
x +
x + a1 x + 4x4 +
x
2
5
20
7
m=0
X
x3m
6m m!
+ a1
x3m+1
Qm1
m!
(3j + 4)
735
(5j + 2)
j=0
x5m+1
m!
x4m+1
4m m! j=0 (4j + 5)
x7m+1
7m m!
Qm1
m=0
X
x6m
x6m+1
(1)m Qm1
+ a1
(1)m m
6 m!
(6j + 5)
j=0
m=0
m=0
X
7
55 4 59 5 83 6 9547 7
7.3.1 (p. 337) y = 2 3x 2x2 + x3
x +
x
x +
x +
2
12
8
6
336
7.3.2 (p. 337) y = 1 + 2x 4x3 + 4x4 + 4x5 12x6 + 4x7 +
2
11 4 9 5 329 6 1301 7
x x +
x
x +
7.3.3 (p. 337) y = 1 + x2 x3 +
3
6
5
90
315
7
15 4 45 5 261 6 207 7
7.3.4 (p. 337) y = x x2 x3 +
x +
x
x +
x +
2
2
8
8
16
15 2 1 3 11 4
5 5
1 6
1 7
7.3.5 (p. 337) y = 4 + 3x
x + x +
x
x +
x +
x +
4
4
16
16
20
120
16 2 13 3 23 4 10 5
7 6 1 7
7.3.6 (p. 337) y = 7 + 3x
x +
x
x +
x
x x +
3
3
9
9
27
9
7 2
3 3
37 4
7 5
1 6
19 7
7.3.7 (p. 337) y = 2 + 5x x
x +
x
x
x +
x +
4
16
192
192
1920
11520
4
4
4
136
104
7.3.8 (p. 337) y = 1 (x 1) + (x 1)3 (x 1)4 (x 1)5 +
(x 1)6
(x 1)7 +
3
3
5
45
63
13
77
278
1942
23332
7.3.9 (p. 337) y = 1 (x + 1) + 4(x + 1)2
(x + 1)3 +
(x + 1)4
(x + 1)5 +
(x + 1)6
(x + 1)7 +
3
6
15
45
315
1
5
19
7
59
1091
7.3.10 (p. 337) y = 2 (x 1) (x 1)2 + (x 1)3
(x 1)4 +
(x 1)5 +
(x 1)6
(x 1)7 +
2
3
12
30
45
630
1
2
5
11
29
101
7.3.11 (p. 337) y = 2 + 3(x + 1) (x + 1)2 (x + 1)3 + (x + 1)4
(x + 1)5 +
(x + 1)6
(x + 1)7 +
2
3
8
30
144
840
42
604
7.3.12 (p. 337) y = 1 2(x 1) 3(x 1)2 + 8(x 1)3 4(x 1)4
(x 1)5 + 19(x 1)6
(x 1)7 +
5
35
17 3 3 4
9 5
7.3.19 (p. 339) y = 2 7x 4x2
x x
x +
6
4
40
X (1)m x2m
X (1)m x2m+1
2
2
7.3.39 (p. 341) y1 =
= ex , y2 =
= xex
m!
m!
m=0
m=0
1
3
31 5
y = 2 + 3x + x x3 x4 +
x +
6
4
120
7
5
41 4
41 5
y = 2 + 3x x2 x3 +
x +
x +
2
6
24
120
23
23
11
y = 3 + 5x 5x2 +
x3
x4 +
x5 +
6
12
30
3
17
1
1
y = 2 + 3(x 1) + (x 1)2
(x 1)3
(x 1)4 + (x 1)5 +
2
12
12
8
1
1
31
53
y = 2 3(x + 2) + (x + 2)2 (x + 2)3 +
(x + 2)4
(x + 2)5 +
2
3
24
120
3
11 3 15 4 71 5
y = 1 2x + x2
x +
x
x +
2
6
8
60
7
43
203
167
y = 2 (x + 2) (x + 2)2
(x + 2)3
(x + 2)4
(x + 2)5 +
2
6
24
30
7
89 5
y = 2 x x2 + x3 x4 +
x +
6
120
2
737
1
1
3
7.3.48 (p. 341) y = 1 + (x 1)2 + (x 1)3 (x 1)5 +
2
6
8
1
1
1
1
2
7.3.49 (p. 341) y = 1 2(x 3) + (x 3) (x 3)3 + (x 3)4 (x 3)5 +
2
6
4
6
Section 7.4 Answers, pp. 346347
7.4.1 (p. 346) y = c1 x4 + c2 x2 7.4.2 (p. 346) y = c1 x + c2x7
7.4.3 (p. 346) y = x(c1 + c2 ln x) 7.4.4 (p. 346) y = x2 (c1 + c2 ln x)
7.4.5 (p. 346) y = c1 cos(ln x) + c2 sin(ln x) 7.4.6 (p. 346) y = x2 [c1 cos(3 ln x) + c2 sin(3 ln x)]
c2
7.4.7 (p. 346) y = c1 x + 3 7.4.8 (p. 346) y = c1 x2/3 + c2 x3/4 7.4.9 (p. 346) y = x1/2 (c1 + c2 ln x)
x
1
7.4.10 (p. 346) y = c1 x+c2 x1/3 7.4.11 (p. 346) y = c1 x2 +c2 x1/2 7.4.12 (p. 346) y = [c1 cos(2 ln x) + c2 sin(2 ln x]
x
7.4.13 (p. 346) y = x1/3 (c1 + c2 ln x) 7.4.14 (p. 346) y = x [c1 cos(3 ln x) + c2 sin(3 ln x)]
c2
c1
7.4.15 (p. 346) y = c1 x3 + 2 7.4.16 (p. 346) y =
+ c2 x1/2 7.4.17 (p. 346) y = x2 (c1 + c2 ln x)
x
x
1
1
1
7.4.18 (p. 346) y = 2 c1 cos ln x + c2 sin ln x
x
2
2
Section 7.5 Answers, pp. 357364
1
2 2
31 3
1
1
7.5.1 (p. 357) y1 = x1/2 1 x
x +
x +
y2 = x1 1 + x + x2 x3 + ;
5
35
315
2
6
2
8
40 3
6
4
7.5.2 (p. 357) y1 = x1/3 1 x + x2
x + ; y2 = 1 x + x 2 x 3 +
3
9
81
5
5
4
7 2
970 3
2
1/3
1
2
7.5.3 (p. 357) y1 = x
1 x
x +
x + ; y2 = x
1 x + x3 +
7
45
2457
3
1
19 2
1571 3
11 2 1 3
1/4
1
7.5.4 (p. 357) y1 = x
1 x
x +
x + ; y2 = x
1 + 2x
x x +
2
104
10608
6
7
28 2 1111 3
7
19 3
7.5.5 (p. 357) y1 = x1/3 1 x +
x
x + ; y2 = x1/4 1 x + x2
x + ;
31
1333
8
24
6
1217 2 41972 3
1 2 35 3 11 4
1/5
7.5.6 (p. 357) y1 = x
1
x
x +
x + ; y2 = x x
x +
x +
25
625
46875
4
18
12
11 2
109 3
131 2 39 3
7.5.7 (p. 357) y1 = x3/2 1 x +
x
x + ; y2 = x1/4 1 + 4x
x +
x +
26
1326
24
14
1
2 2
5 3
1 2
1 3
1/3
1/6
7.5.8 (p. 357) y1 = x
1 x+
x
x + ; y2 = x
1
x +
x +
3
15
63
12
18
1 2
1 3
1
71 2
719 3
1/3
7.5.9 (p. 357) y1 = 1
x +
x + ; y2 = x
1
x
x +
x +
14
105
405
18
34992
3
7 2
547 3
14 2 556 3
1/2
1/5
x
x
x + ; y2 = x
1+x+
x
x +
7.5.10 (p. 358) y1 = x
1+
17
153
5661
13
897
X
n=0
X (1)n
(2)n
xn ; y2 = x1
xn
n!
(2j
+
3)
j=1
Qn
n=0
X
(1)n
n=0
X
(1)n
1/2
2n n!
n=0
X
n=0
X
n=0
Qn
(3j + 1)
j=1
9n n!
x n ; y2 =
xn ; x1
(1)n
1 X
Qn
xn
2
x
(2j
5)
j=1
n=0
X (1)n n
(1)
xn ; y2 = x1/3
x
3n n!
(3j + 4)
j=1
Qn
n!
Qn
j=1
(2j + 1)
x n ; y2 = x
n=0
1/2
X
n=0
n!
2n
xn
(2j
1)
j=1
Qn
n!
n=0
X
1
1
Qn
xn ; y2 = x1/3
xn
(3j
+
2)
n!
(3j 2)
j=1
j=1
Qn
n=0
2
1 2
7.5.20 (p. 358) y1 = x 1 + x +
x ; y2 = x1/3
7
70
n
Y
2j + 1
(1)n
n=0
j=1
6j + 1
n
Y
3j 13
X
(1)n
n=0
3n n!
3j 4
j=1
n=0
xn
n
Y
X
(1)n
; xn y2 = x1/3
(3j + 1)
9n n!
j=1
xn
n
X
X
(1)n (n + 2)! n
(1)n Y
Qn
7.5.22 (p. 358) y1 = x
; x y2 = x1/4
(4j + 5)xn
n
n=0
j=1
n=0
n!
(1)
xn ; y2 = x1
(2j
+
1)
j=1
Qn
n
Y
(6j + 5)
j=1
16 n!
X
n=0
j=1
n!
(1)n
xn
(2j
1)
j=1
Qn
xn ; y2 = x1
n
Y
2j 1
(1)n 2n
n=0
3j 4
j=1
xn
1
xn ; x1
6n n!(3n + 4)
5 2
245 3
25
675 2
38025 3
9
x+
x
x + ; y2 = x1/4 1
x+
x
x +
40
128
39936
96
14336
5046272
32
28 2
4480 3
32
48 2
y1 = x1/3 1 +
x
x +
x + ; y2 = x3 1 +
x+
x
117
1053
540189
7
7
5
55 2
935 3
1
5 2
55 3
y1 = x1/2 1 x +
x
x + ; y2 = x1/2 1 + x
x
x + .
8
96
1536
4
32
384
3
5 2
5 3
1/2
2
2
y1 = x
1 x+
x +
x + ; y2 = x
1 + 8x + 60x 160x3 +
4
96
4224
10
200 2
17600 3
3
9 2
105 3
1/3
y1 = x
1
x+
x
x ; + ; y2 = x1/2 1
x+
x
x +
63
7371
3781323
20
352
23936
n!
n=0
n=0
X
(1)n 2 n
1/3
n=0
(4j + 3)
1/2
1/2
X
(1)m
m=0
1/2
m=0
m=0
1/2
m=0
j=1
8j + 1
j=1
Y 8j 3
8j + 1
X
(1)m
1/3
1/4
m
Y
4j 3
2m
2m
X
7/2
18m m!
j=1
8j + 5
1
8m m!
(1)
m=0
j=1
m
Y
8j + 1
j=1
Qm
1/4
(4j 1)
(4j + 5)
j=1
8m m!
16m m!
j=1
1
2m m!
Y
j=1
(2j 1)
8j 1
x2m
x2m
4
8 4
x2m ; y2 = 1 + x2 +
x
5
55
2m
2m
m
Y
8j 7
X
(1)m
m=0
1/4
m=0
x2m ; y2 = x1
m=0
(6j 17)
; y2 = x
; y2 = x
m
Y
m=0
(1)m (m + 1)x2m ; y2 = x
m=0
8m m!
m
m=0
; y2 = x
Qm
(2j 1)
j=1
2m m!
1/3
m=0
; y2 = x
m
Y
3j 1
j=1
X
(1)m
1/2
m=0
x2m
4m
12j 1
m
Y
4j 1
j=1
2j 3
x2m
x2m
1/2
4m
m=0
X
(1)m
1/2
X
1/3
(1)m
m=0
m=0
m=0
2m
; y2 =
1 X
x2
j=1
4j + 5
2m
(2)
2m
j=1
(4j 3)
m
Y
4j 3
m=0
2m
; y2 = x
; y2 = x
j=1
Qm
4j 5
(2j 1)
j=1
2m m!
X
(1)m
m=0
2m m!
x2m
x2m
4m m!
j=1
x2m
m
Y
(2j 3)2
j=1
m
Y
X
(1)m
3/2
m=0
8m m!
x2m ; y2 = x1 (1 + x2 )
4j + 3
m
Y
2j + 1
m
Y
X
(1)m
m=0
j=1
; y2 = x
1/2
m=0
m
Y
(4j 3)2
8m m!
(2)
3j + 2
2m
2 (m + 1)! 2m
1 X
x ; y2 = 3
(1)m
x
(2j
+
3)
j=1
m=0
j=1
m
Y
3j 4
X
(1)m
1/2
(2j + 1)
(1) Qm
m=0
j=1
j=1
m
2j + 1
m
Y
m!
m=0
m
Y
4j 1
X
(1)m
4j 3
(4j 3)
x2m
x2m
X (1) 2m
(1)
x2m ; y2 = x1/3
x
6m m!
(3j
+
1)
j=1
Qm
739
m=0
6 2
36 4
216 6
1
1
1 6
y1 = x
1
x +
x
x + ; y2 = x1/3 1 x2 + x4
x +
13
325
12025
2
8
48
13 2
273 4
2639 6
1
2 4
2 6
y1 = x1/4 1
x +
x
x + ; y2 = x1 1 x2 +
x
x +
64
8192
524288
3
33
209
3 2
9 4
81 6
2 2 5 4 40 6
1/3
1/3
y1 = x
1 x +
x
x + ; y2 = x
1 x + x
x +
4
14
140
3
9
81
3 2 15 4 35 6
8 4 16 6
1/2
1/2
2
y1 = x
1 x +
x
x + ; y2 = x
1 2x + x
x +
2
8
16
3
5
3 4 5 6
2 2 36 4 408 6
1/4
2
1/2
y1 = x
1 x + x x + ; y2 = x
1 x +
x
x +
2
2
5
65
455
1/2
cos x
sin x
y1 = ; y2 =
x
x
m=0
X
(1)m
(1)m
2m
Qm
x
;
y
x2m
2 = x
m
m
4 m! j=1 (j + )
4 m! j=1 (j )
Qm
m=0
x1/2
x1/3
x
x1/2
; y2 =
7.5.62 (p. 364) y1 =
; y2 =
2
1+x
1+x
1 + 2x
1 + 2x2
1/4
1/3
2
x
x
x
x1/3
; y2 =
7.5.64 (p. 364) y1 =
; y2 =
7.5.63 (p. 364) y1 =
1 3x
1 3x
5+x
5+x
x1/4
x1/2
x1/2
x3/2
7.5.65 (p. 364) y1 =
; y2 =
7.5.66 (p. 364) y1 =
; y2 =
2
2
2
2x
2x
1 + 3x + x
1 + 3x + x2
1/3
x
x1/4
x
x
; y2 =
7.5.68 (p. 364) y1 =
; y2 =
7.5.67 (p. 364) y1 =
2
2
2
(1 + x)
(1 + x)
3 + 2x + x
3 + 2x + x2
7.5.61 (p. 363) y1 =
x+
x +
4
18
2
16
54
1
7 2
23 3
1
5
157 2
1/4
3/4
7.6.10 (p. 373) y1 = x
1 x
x +
x + ; y2 = y1 ln x + x
+
x
x +
4
32
384
4
64
2304
7 2 23 3
1
13
1/3
5/3
7.6.11 (p. 373) y1 = x
1x+ x
x + ; y2 = y1 ln x x
x
6
18
12
108
X
(1)n
n=0
(n!)2
X
2 n
n=0
y2 = y1 ln x x1/6
7.6.14 (p. 374) y1 = x2
n=1
X
n=0
(3j + 1)
j=1
Qn
y2 = y1 ln x + 3x
j=1
X
(1)n
n=1
(5j + 1)
j=1
Qn
n=1
X
(1)n
1
j(3j + 1)
n=1
X
(1)n
1/3
n=0
1/3
4n n!
Qn
n=1
n=0
X (1)n
n=1
j=1
(6j 7)2
j=1
81n (n!)2
Qn
(6j 7)2
(2j + 5)
j=1
(n!)2
Qn
2n nxn
n=1
1
j(2j 3)
n
X
j=1
xn
xn
1
)
j(6j 7)
xn ;
(2j + 5)
j=1
(n!)2
xn ;
xn ;
j=1
81n (n!)2
Qn
xn
n=1
j(5j + 1)
n
X
(2j 3)
Qn
j=1
xn ;
j=1
4n n!
X (1)n
X
(1)n
2
j=1
(2j 3)
j=1
n
X
5j + 2
(5j + 1)
Qn
n
X
1
xn ;
j=1
125n (n!)2
X (1)n
1/2
y2 = y1 ln x 2x2
n!
125n (n!)2
n=0
y2 = y1 ln x + 14x
n
X
(3j + 1)
Qn
X (1)n
(n!)2
xn ;
2n (n + 1)xn ; y2 = y1 ln x x3
n=0
1/5
n!
X
(1)n
y2 = y1 ln x x1/5
Qn
j=1
n=0
xn ; y2 = y1 ln x 2x1/2
X
2 n
n
X
(j + 5)
j=1
j(2j + 5)
xn
xn
n
1X2
7.6.20 (p. 374) y1 =
x
n=0
n
1X2
y2 = y1 ln x +
x
n=1
Qn
j=1
Qn
j=1
n=0
n
5 X (1)
y2 = y1 ln x +
x
n=1
y2 = y1 ln x 3x
7.6.23 (p. 374) y1
7.6.24 (p. 374) y1
7.6.25 (p. 374) y1
7.6.26 (p. 374) y1
7.6.27 (p. 374) y1
n=0
j=1
n!
j=1
n!
n
X
(2j 5)
1
j(2j 1)
n
X
j=1
(2j + 3)
Qn
xn
1
j(2j 5)
j=1
2n n!
xn ;
(2j 5)
Qn
X (1)n
n=0
xn ;
j=1
Qn
Qn
X
(1)n
2
2
(2j 1)
n!
n
1 X (1)
(2j 1)
n!
741
xn
xn ;
n
X
(2j + 3)
j=1
2n n!
j=1
1
j(2j + 3)
xn
3
1
5
1
= x2 1 + 3x + x2 x3 + ; y2 = y1 ln x 5x1 1 + x x2 +
2
2
4
4
6968 2
= x3 (1 + 20x + 180x2 + 1120x3 + ; y2 = y1 ln x x4 26 + 324x +
x +
3
85 2 3145 3
39
4499 2
2
= x 1 5x +
x
x + ; y2 = y1 ln x + x 2
x+
x +
4
36
4
108
3 2
7 3
3
5 2
= 1x+ x
x + ; y2 = y1 ln x + x 1 x + x +
4
12
4
9
280 2
= x3 (1 + 16x + 36x2 + 16x3 + ); y2 = y1 ln x x2 40 + 150x +
x +
3
X
(1)m
m=0
m=0
1/2
2m m!
2m
m=1
X
(1)m
4m m!
X
(1)m
m=0
m=1
2m
2m m!
m=0
Qm
m
X
j=1
(4j 1)
j=1
8m m!
(2j + 1)
j=1
2m m!
m
(2j + 1)
x X (1)
j=1
y2 = y1 ln x
2
2m m!
m=1
1
j(2j 1)
m
X
j=1
x2m
1
j(4j 1)
j=1
1
j(2j + 1)
x2m
(1)m mx2m
x2m
x2m ;
m
X
m=1
x2m ;
Qm
x2m ;
m
(4j 1)
x1/2 X (1)
j=1
y2 = y1 ln x +
2
8m m!
m=1
j=1
x1/2 X (1)m
; y2 = y1 ln x
2
4m m!
(2j 1)
j=1
m=0
x X
2
m=1
Qm
X
(1)m
1/2
X
(1)m
m
X
1
x X (1)m
; y2 = y1 ln x
2
2m m!
m
(2j 1)
x X (1)
j=1
y2 = y1 ln x +
2
2m m!
(1)m (m + 1)x2m ; y2 = y1 ln x
m=0
x2m
m
X
1
j=1
x2m
X
(1)m
1/4
m=0
Qm
j=1
(8j 13)
x2m ;
(32)m m!
m
(8j 13)
13 1/4 X (1)
j=1
y2 = y1 ln x +
x
m
2
(32) m!
m=1
X
(1)m
1/3
m=0
Qm
j=1
(3j 1)
9m m!
m
(3j 1)
x1/3 X (1)
j=1
y2 = y1 ln x +
m
2
9 m!
m=1
X
(1)m
1/2
m=0
y2 = y1 ln x + x
1/2
X
(1)m
m=1
5/3
X (1)m
m=0
3m m!
m
1 X (1)
m=0
Qm
m
X
j=1
1
j(3j 1)
x2m
m
X
(4j 3)(4j 1)
j=1
8j 3
j(4j 3)(4j 1)
x5/3 X (1)m
; y2 = y2 1 ln x
2
3m m!
m=1
Qm
(4j 7)
j=1
2m m!
x2m
x2m ;
j=1
4m (m!)2
2m
1
j(8j 13)
x2m ;
(4j 3)(4j 1)
m
X
1
j=1
x2m
x2m
x2m ;
m
m
(4j 7)
7 X (1)
j=1
y2 = y1 ln x +
m
2x
2 m!
m=1
j=1
j=1
4m (m!)2
Qm
m
X
m
X
j=1
1
j(4j 7)
x2m
3
15 4 35 6
7.6.39 (p. 374) y1 = x
1 x2 +
x
x +
2
8
16
1
13 2 101 4
;
y2 = y1 ln x + x
x +
x +
4
32
192
1
1
1 6
1
3 2
11 4
7.6.40 (p. 375) y1 = x 1 x2 + x4
x + ; y2 = y1 ln x + x3
x +
x +
2
8
48
4
32
576
3 2
9 4
25 6
1
21 2
215 4
2
7.6.41 (p. 375) y1 = x
1 x
x
x + ; y2 = y1 ln x +
x
x +
4
64
256
2
128
1536
17 2
85 4
85 6
25
471 2
1583 4
7.6.42 (p. 375) y1 = x3 1
x +
x
x + ; y2 = y1 ln x + x1
x +
x +
8
256
18432
8
512
110592
1
33 2
395 4
3 2 45 4 175 6
1
x
x + ; y2 = y1 ln x x
x +
x +
7.6.43 (p. 375) y1 = x
1 x +
4
64
256
4
128
1536
1
8 2
7.6.44 (p. 375) y1 = ; y2 = y1 ln x 6 + 6x x
x
3
7.6.45 (p. 375) y1 = 1 x; y2 = y1 ln x + 4x
1
X
(x 1)2
1
; y2 = y1 ln x + 3 3x + 2
xn
x
n(n2 1)
n=2
1/2
(x + 1) ; y2 = y1 ln x x
3/2
3 + 3x + 2
n=2
1
1 x2 ; y2 = y1 ln x + x7/3
6
n(n2 1)
X
11 2
1
4 7x +
x 6
xn
3
n(n 2)(n2 1)
X
(1)n
n=3
1
1 X
1
x2m
4
12
6m m(m + 1)(m + 1)!
m=1
1/2
4m (m!)2
1/2
m=3
1
1 4
1 x2 +
x ; y2 = y1 ln x + x3/2
2
32
X
(1)m
m=0
1/2
(1)m
3 2 3 4 X
x x +
x2m
2
2
m(m 1)(m 2)
x2m ; y2 = y1 ln x
1/3
X
(1)m
m=1
4m (m!)2
1/3
5
9 2 X
1
x +
x2m .
8
128
4m+1 (m 1)m(m + 1)(m + 1)!
m=2
m
X
1
j=1
x
x ln x
x
x ln x
;
7.6.59 (p. 378)
;
1+x
1+x
3+x
3+x
x
x ln x
x1/4
x1/4 ln x
;
7.6.61 (p. 378)
;
7.6.60 (p. 378)
2 x2 2 x2
1 + x2
1 + x2
1/2
x
x ln x
x
x1/2 ln x
7.6.62 (p. 378)
;
7.6.63 (p. 378)
;
2
4 + 3x 4 + 3x
1 + 3x + x
1 + 3x + x2
1/3
x
x ln x
x
x1/3 ln x
7.6.64 (p. 378)
;
7.6.65
(p.
378)
;
(1 x)2 (1 x)2
1 + x + x2 1 + x + x2
7.6.58 (p. 378)
743
x2m
(4)n
xn ; y2 = x + 4x2 8
n!(n + 2)!
n=0
n=1
X
(1)n
1/2
n=1
X
(1)n
n!
n=0
X
(1)n
n!
3/2
n=0
y2 = x
3/2
(2j + 1)
j=1
y1 ln x x
n=0
Qn
n!
X
3 n
1/2
n=1
x = xe
j(j + 1)
xn
n
X
1
X
(1)n
n!
n=1
j=1
xn
xn ;
Qn
j=1
; y2 = x
n
X
(2j + 1)
n!
j=1
1
j(2j + 1)
1
1
1
1 + x + x2
2
2
2
xn
y1 ln x x
(1)n
xn ;
+ 3)!
n
X
1
X
(1)n
n!
n=1
j=1
4n n!(n
1
1 2
1
x
1+ x+
8
64
768
n
X
2j + 1
j=1
j(j + 2)
j=1
xn
xn = xex ; y2 = 1 y1 ln x + x
X
3 n
1/2
n=0
3
y2 = x1/2
4
n=1
n
X
j+1
(4)n
n!(n + 2)!
X (1)n
(1)n
xn ; y2 = 1 y1 ln x + x
n!(n + 1)!
n!(n + 1)!
n=0
y1 ln x 4
y1 ln x 6x
120 X (1)n
xn ;
2
x
n!(n + 5)!
3/2
X
n=1
n
X
2j + 3
(1)n
n
4 n!(n + 3)!
j=1
j(j + 3)
n=0
y2 = x
1
1 2
1 3
1 4
1
1+ x+
x +
x +
x
4
24
144
576
2880
x1/2 X
(1)n (n + 1)(n + 2)(n + 3)xn ;
7.7.9 (p. 388) y1 =
6
120 X (1)n
y1 ln x 2
x
n!(n + 5)!
n=1
n
X
2j + 5
j=1
j(j + 5)
n=0
y2 = x
5/2
X
1
n=0
y2 = x2
n=1
2
1 x
5
n
X
X
1
3
1 + x + x2 3y1 ln x + x1/2
(1)n (n + 1)(n + 2)(n + 3)
2
2
n!
j=1
1
j(j + 3)
27 5
1 6
y2 = 1 + 10x + 50x + 200x 300 y1 ln x +
x
x
25
30
2
3
1
1
1 5
1
6
x
1 x + x2 x3 + x4
5
4
3
8
20
120
n
Y
2j + 3
j=1
j+4
y1 ln x + x
xn
X
(1)n 6!
n=1
n(n + 6)!
xn ;
1
1 3
1
x2 X 1
1 + x + x2
x
y1 ln x +
4
12
16
8
n!
n=1
n
Y
2j + 3
j=1
j+4
n
X
(j 2 + 3j + 6)
j=1
j(j + 4)(2j + 3)
xn
n=0
1 X (1)n
n!
n=0
X
n=0
(1) (n + 1)
j=1
4
X
j +5
j=1
(1)n 2n
n=0
j+6
n
Y
(j + 3)2
n!
n=0
j+4
j=1
n
Y
j8
X
(1)n
n
Y
3j + 7
9n
n=0
xn ; y2 = x7 1 +
n
Y
j5
j=1
j+5
xn ; y2 = x3 1 +
xn ; y2 = x2 1 +
X
n=0
10
x
6
xn ; y2 = x2/3 1 +
4
1 2
x
x
27
243
1
x
4
2
1
1
1
5
x + x2 x3 + x4 x5
6
3
2
3
6
n=0
4
5
40 3 40 4 32 5 16 6
y2 = 1 x + x 2
x +
x
x +
x
3
3
21
21
21
Qm 21
m
X (1)
(2j + 5) 2m
j=1
x ;
7.7.23 (p. 388) y1 = x6
m
2 m!
m=0
y2 = x
m
(2j + 5)
3
15
75 6 X (1)
j=1
1 + x2
y1 ln x +
x
2
2
2
2m+1 m!
m=1
X
(1)m
6
2m m!
m=0
y2 = x
x2m = x6 ex
/2
m=1
m=0
1
1 4
1
y2 = 1 + x 2 +
x
8
64
384
7.7.26 (p. 388) y1 =
m
X
j=1
m
X
1
j=1
y2 = x
(1)
x2m ;
4m m!(m + 3)!
y1 ln x 3x
m=1
x X (1)m (m + 2) 2m
x ;
2
m!
4y1 ln x + x
x2m
(1)m
4m m!(m + 3)!
m
X
2j + 3
j=1
j(j + 3)
m=0
1
j(2j + 5)
1
1
x6 X (1)m
1 + x2 y1 ln x +
2
2
4
2m m!
X
(1)m (m + 2)
m=1
m!
52
234 2 572 3
x+
x +
x + 143x4
5
5
5
2
1
21
21 2 35 3
7.7.20 (p. 388) y1 = x6 1 + x + x2 ; y2 = x 1 +
x+
x +
x
3
7
4
2
4
26
143 2
x+
x
5
20
X
(1)n (n + 1)
7
X
x
x2
+
2
6
(1)n
1
1
1 3
xn ; y2 = x1/2 1 x + x2
x
+ 4)!
2
8
48
2n (n
n=0
j+6
j=1
m
X
j 2 + 4j + 2
j=1
745
j(j + 1)(j + 2)
x2m
2m
x2m
m=0
y2 = x
(1)m
x2m ;
4m m!(m + 2)!
1
1
1 + x2
4
16
y1 ln x 2x
m=1
(2j 1)
j=1
X (1)m
2m m!
m=0
X
1
2
m!
m=0
m=0
y2 = x
13/3
; y2 = x
j=1
x2m
m
X
1
x X (1)m
y1 ln x +
2
2m m!
j=1
(3j + 1)
9m m!(m + 2)!
y1 ln x x
2
y1 ln x 3x
5/2
j=1
m
X
1
X
1
2
m=1
m!
(1)m
16m m!(m + 3)!
j=1
x2m
x2m
m
X
2j + 3
j=1
j(j + 3)
m=0
(1 + 2x ) 2
Qm
y1 ln x + x
+ 2)!
X
2
m=1
m
X
3j 2 + 2j + 2
(3j + 1)
j=1
9m m!(m
j=1
j(j + 2)(3j + 1)
1
x2m
m(m + 2)!
x2m
m=0
3 m
X
7 4
2
y1 ln x +
x x2
x2m
12
m(m 1)(m + 2)!
m=2
(1)m
x2m ; y2 = x7/2 (1 + x2 )2
(m + 1)(m + 2)(m + 3)
x7 X
7.7.37 (p. 388) y1 =
(1)m (m + 5)x2m ; y2 = x1 1 2x2 + 3x4 4x6
5
m=0
(1)
mm
+1
2m
m=0
(1)m
m=0
3/2
Qm
X (1)m
m=0
Qm
m
Y
2j + 1
j=1
j+5
(4j + 5)
j=1
2m (m
+ 2)!
2)!
x2m ; y2 = x7 1 +
x2m ; y2 = 1
(2j 1)
j=1
2m1 (m +
m=0
2m
(1)m (m + 1)x2m ; y2 = x4
x2m ;
X
13/3
m=1
1
9
27
1 x2 ; y2 = x2 1 + x2
2
2
2
2m
m=1
Qm
2j 2 2j 1
j(j + 1)(2j 1)
(1)m
x2m ;
16m m!(m + 3)!
m
X
x2m = x2 ex ; y2 = x2 (1 x2 ) 2y1 ln x + x
2
2
1 + x2 +
9
81
j(j + 2)
m=0
y2 = x1/3
= xe
x2 /2
1 2
1 4
1
1+
x +
x
32
1024
24576
2m
j=1
x2m ;
Qm
m=1
m
X
j+1
(1)m
m
4 m!(m + 2)!
X
(1)m j=1 (2j 1)
1
+ y1 ln x x1/2
4
8m+1 m!(m + 1)!
5/2
7/2
8m m!(m + 1)!
m=0
y2 = x
Qm
X
(1)m
1/2
21 2 35 4 35 6
x +
x +
x
8
16
64
1 2
x
2
x2m ; y2 = x5/2 1 +
3 2
x
2
m=0
y2 = x
1
X
m=0
747
(1)m
x2m ;
4m m! j=1 (j + )
Qm
(1)m
2
Qm
x2m
m
4 !( 1)!
4 m! j=1 (j )
x X
(1)m
Qm
y1 ln x
m
2
4 m! j=1 (j + )
m=1
m
X
2j +
j=1
j(j + )
(h)
(i)
(s 4)2
s2 + 4
(s2 + 4)(s2 + 9)
(s2 + 4)(s2 + 16)
2 s2 + 1
=
1,
f
(3)
=
f
(3+)
=
1
(b)
f
(1)
=
3,
f
(1) = 4, f (1+) = 1
8.1.4 (p.402) (a) f (3)
(c) f
= 1, f
=f
+ = 2, f () = 0, f () = f (+) = 1
2
2
2
(d) f (1) = 1, f (1) = 2, f (1+) = 1, f (2) = 0, f (2) = 3, f (2+) = 6
8.1.1 (p. 402) (a)
1 e(s+1)
e(s+2)
1
1
3
1 es
1 e(s1)
+
(b) + e4s
+
(c)
(d)
2
2
s+1
s+2
s
s
s
s
(s 1)2
2
2
(s )
2(s )
t
8.1.7 (p. 402) L(et cos t) =
sin t) =
2 L(e
2
2
((s ) + )
((s )2 + 2 )2
2
1
s
sb
8.1.15 (p. 403) (a) tan1 , s > 0 (b) ln 2
, s > 0 (c) ln
, s > max(a, b)
s
2 s + 2
sa
2
2
1
s
1
s
(d) ln 2
, s > 1 (e) ln 2
, s>2
2 s 1
4 s 4
1
s
1
s
1
s
1
8.1.18 (p. 404) (a) 2 tanh (b) tanh (c) 2
coth
(d) 2
s
2
s
4
s +1
2
(s + 1)(1 es )
e
13
13
26
2
8
8
2
1
1
5
3
(e) tet + et + te2t e2t (f) et + tet + cos t sin t
3
9
9
2
2
3
1
3
2
4
1
4
1
8.2.5 (p. 412) (a) cos 2t + sin 2t cos 3t
sin 3t (b) cos t +
sin t +
cos 4t
sin 4t
5
5
5
15
15
15
15
60
8.2.1 (p. 411) (a)
2m
1 t 9 t 16 2t
1
8 3t 4 2t
e e +
e
8.3.2 (p. 418) y = +
e + e
6
2
3
3
15
5
23 2t 1 t 1 3t
1 2t 17 2t 2 3t
8.3.3 (p. 418) y = e
+ e + e 8.3.4 (p. 418) y = e +
e
+ e
15
3
5
4
20
5
11 2t 1 t
1 3t
t
2t
t
8.3.5 (p. 418) y =
e
+ e +
e 8.3.6 (p. 418) y = e + 2e
2e
15
6
10
5
1
8.3.7 (p. 418) y = sin t sin 2t 8.3.8 (p. 418) y = 4et 4e2t + e3t
3
3
7 2t 13 t 1 4t
5
1
e + e 8.3.10 (p. 418) y = et 4e2t + e3t
8.3.9 (p. 418) y = e +
2
3
6
2
2
1
5
8.3.11 (p. 418) y = et 2et + e2t 8.3.12 (p. 418) y = 2 e2t + et
3
3
1
1
8 3t 4 2t
e + e
8.3.13 (p. 418) y = 1 cos 2t + sin 2t 8.3.14 (p. 418) y = +
2
3
15
5
1
2
1
8.3.15 (p. 418) y = et e2t + et 8.3.16 (p. 418) y = 1 + et + et
6
3
2
7
7
1
8.3.17 (p. 418) y = cos 2t sin 2t + sin t 8.3.18 (p. 418) y = et + e3t
3
2
6
8.3.19 (p. 418) y = 1 + cos t 8.3.20 (p. 418) y = t + sin t 8.3.21 (p. 418) y = t 6 sin t + cos t + sin 2t
8.3.22 (p. 418) y = et + 4e2t 4e3t 8.3.23 (p. 418) y = 3 cos t 2 sin t + et (2 + 5t)
8.3.24 (p. 419) y = sin t 2 cos t + 3e3t + et 8.3.25 (p. 419) y = (3t + 4) sin t (2t + 6) cos t
8.3.26 (p. 419) y = (2t + 2) cos 2t + sin 2t + 3 cos t 8.3.27 (p. 419) y = et (cos t 3 sin t) + e3t
8.3.28 (p. 419) y = 1 + t + et (3 cos t 5 sin t) 8.3.29 (p. 419) y = 4 cos t 3 sin t et (3 cos t 8 sin t)
8.3.30 (p. 419) y = et 2et + e2t (cos 3t 11/3 sin 3t)
8.3.31 (p. 419) y = et (sin t cos t) + e2t (cos t + 4 sin t)
1
4
32 t/2
1
2
9 t/3
8.3.32 (p. 419) y = e2t et +
e
8.3.33 (p. 419) y = e2t et/2 +
e
5
3
15
7
5
35
8.3.34 (p. 419) y = et/2 (5 cos(t/2) sin(t/2)) + 2t 4
1
8.3.35 (p. 419) y =
12 cos t + 20 sin t 3et/2 (4 cos t + sin t) .
17
8.3.1 (p. 418) y =
749
et/2
1
1
(5t + 26) (3 cos t + sin t) 8.3.37 (p. 419) y =
3e3t et/3 (3 + 310t)
10
5
100
Section 8.4 Answers, pp. 427430
1
1
3
1 es
+ e4s 2 +
8.4.2 (p. 427) t + u(t 1)(1 t);
s
s
s
s2
2
1
1
1
2t 1 u(t 2)(t 1);
e2s
+
s2
s2
s
s
1
2
1
s
+e
+
1 + u(t 1)(t + 1);
s
s2
s
1
1
1
3
2s
t 1 + u(t 2)(5 t); 2 e
2
s
s
s
s
2
2
2
1
s
2
t (1 u(t 1)); 3 e
+ 2 +
s
s3
s
s
2
7
10
2s
2
u(t 2)(t + 3t); e
+ 2 +
s3
s
s
2
2
2
1
2
2
2
t + 2 + u(t 1)(t t 2); 3 + es
+
+
s
s
s3
s2
s
(s1)
1e
tet + u(t 1)(et tet);
(s 1)2
1 e(s+1)
e(s+2)
+
s+1
s+2
1
2e2s
2
1
t + 2u(t 2)(t 2) u(t 3)(t 5); 2 +
+ e3s
2
2
s
s
s
s
1
1
1
2
s
2s
[u(t 1) u(t 2)] t ; e
+
e
+
s2
s
s2
s
2
1
2
1
4
4
s
2
2
t + u(t 1)(t t) u(t 2)t ; 2 + e
+ 2 e2s
+ 2 +
3
3
s
s
s
s
s
s
1
es
1
6
2s
t + u(t 1)(2 2t) + u(t 2)(4 + t); 2 2 2 + e
+
s
s
s2
s
1 + e 2 s s es (s 2)
sin t + u(t /2) sin t + u(t )(cos t 2 sin t);
s2 + 1
2
2
2
5
13
2 2u(t 1)t + u(t 3)(5t 2);
es 2 +
+ e3s
+
s
s
s2
s
s
3
3
5
1
2
2s
4s
3 + u(t 2)(3t 1) + u(t 4)(t 2);
+e
+
+e
+
2
2
s
s
s
s
s
2
2
1
2
5
2
s
(t + 1) + u(t 1)(2t + 3); 3 + 2 + + e
+
s
s
s
s2
s
(
0,
0 t < 2,
u(t 2)e2(t2) =
e2(t2) , t 2.
(t1)
0,
1e
(t1)
0 t < 1,
,
t 1.
0,
0 t < 1,
2
(t 1)
(t 1)2
, 1 t < 2,
8.4.21 (p. 428) u(t 1)
+ u(t 2)(t 2) =
2
2
t 3 , t 2.
2
2 + t, 0 t < 1,
6,
t + 4,
3
8.4.23 (p. 429) 5 t + u(t 3)(7t 15) + u(t 6)(t 6)2 =
2
1 t < 3,
t 3.
5 t,
0 t < 3,
6t 10,
44 12t +
3 t < 6,
3 2
t ,
2
0,
t 6.
0 t < ,
2(t)
0t< ,
2
8.4.25 (p. 429) 1 cos t + u(t /2)(3 sin t + cos t) =
1 + 3 sin t, t .
2
(
0,
8.4.26 (p. 429) u(t 2) 4e(t2) 4e2(t2) + 2e(t2) =
4e(t2) 4e2(t2) + 2e(t2) ,
1 cos t,
t2
+ 2t + 1
2
0 t < 1,
3t + 2,
1 t < 3,
6t 3,
t 3.
+ u(t 4)(t 4) =
1 t2 ,
3t2
+ 2t + 2,
2
2
3t
+ 3t 2,
2
m=1
u(t m);
t 4.
m=1
X
e (1 + e )
1 (1 es )
8.4.36
(p.
430)
(1)m (2m 1)u(t m);
s
2
s(1 e )
s (1 + es )2
s
m=1
15
3
u(t 1) 2(t1)
+ e2t 2t +
(e
2t + 1)
2
2
2
1
13 t 1 2t
1
1
1
1
1
y = et +
e + e + u(t 2) 1 + et2 + e(t2) + et+2 e(t6) e2t
2
6
3
2
2
2
6
3
1
1 2(t1)
1
1 2(t2)
t
2t
t1
t2
y = 7e + 4e + u(t 1)
e
+ e
2u(t 2)
e
+ e
2
2
2
2
1
1
1
1
1
1
y = sin 2t 3 cos 2t + sin t 2u(t )
sin t + sin 2t + u(t 2)
sin t sin 2t
3
3
3
6
3
6
1
31 4t 16 t
2 t1 1 4(t1) 1
1
1 4(t2) 1 t2
y=
e +
e + u(t 1)
e
e
+ u(t 2)
+
e
e
4
12
3
3
6
2
4
12
3
1
1
3
1
y = (cos t cos 3t) u t
sin t cos t + sin 3t cos 3t
8
3
8
2
t
1
1
y = sin 2t + u t
( cos 2t sin 2t + 2 2t)
4
8
8
2
8.5.2 (p. 437) y = 32 cos t+2u(t4) (t 4 sin(t 4)) 8.5.3 (p. 437) y =
2 t < 4,
0t<2
X
1
1 1 es
8.4.34 (p. 430) 1 + 2
(1)m u(t m); ;
s
s(1 e )
s 1 + es
t 2.
8.4.30 (p. 429) For each t only finitely many terms are nonzero.
m=1
t + 1,
0 t < 2,
1
e2(t2)
+
2et2
2
2
t2 e2t
te2t u(t 2)(t 2)2 e2t
2
t4
1
1
+1
u(t 1)(t4 + 2t3 10t + 7) + u(t 2)(2t3 + 3t2 36t + 44)
8.5.19 (p. 438) y =
12
12
6
1 t
1
8.5.20 (p. 438) y = e (3 cos t + sin t) +
2
2
2 1
t
(t2)
u(t 2) e
( 1) cos t +
sin t + 1
2
2
1
u(t 3) e(t3) (3 cos t + (3 + 1) sin t) + t
2
X
t2
(t m)2
8.5.21 (p. 438) y =
+
u(t m)
2
2
8.5.18 (p. 438) y = y =
m=1
2m + 1 cos t,
2m t < (2m + 1)
(m = 0, 1, . . . )
2m,
(2m 1) t < 2m (m = 1, 2, . . . )
(b) y = (m + 1)(t sin t m cos t), 2m t < (2m + 2) (m = 0, 1, . . . )
(c) y = (1)m (2m + 1) cos t, m t < (m + 1) (m = 0, 1, . . . )
em+1 1 tm
(d) y =
(e
+ et) m 1, m t < m + 1 (m = 0, 1 . . . )
2(e 1) 2(m+1)
e
1
(e) y = m + 1
et sin t 2m t < 2(m + 1) (m = 0, 1, . . . )
e2 1
m+1
em+1 1
1
e2m+2 1
(f) y =
etm
+ e2(tm)
, m t < m + 1 (m = 0, 1, . . . )
2
e1
2
e2 1
751
1
8.6.1 (p. 448) (a)
sin 2(t ) d (b)
e2 cos 3(t ) d
2 0
0
Z t
Z t
Z t
1
1
(c)
sin 2 cos 3(t ) d or
sin 3 cos 2(t ) d (d)
cos sin(t ) d
2 0
3 0
0
(e)
ea d (f) et
0
2t
2 (t )e3 d (i)
e sin(t ) d
(t )e cos d (j)
(h)
a
as
2s(s2 2 )
(c) 2
(d)
2
2
2
2
+
+
(s 1)(s + a )
(s a )
(s2 + 2 )4
(s 1)
s+1
2
(g)
(e)
(f)
(s 2)3 (s 1)2
(s + 2)2 [(s + 1)2 + 2 ]
((s 1)2 + 2 )2
1
2
6
3 6!
(h)
(i)
(j) 4
(k) 7
(s 3) ((s 1)2 1)
(s 2)2 (s2 + 4)
s (s 1)
s [(s + 1)2 + 9]
12
2 7!
48
(l) 7 (m) 8
(n) 5 2
s
s [(s + 1)2 + 4]
s (s + 4)
Z t
Z t
2
5
1
f (t )e3 /2 sinh
d (b) y =
f (t ) sin 2 d
8.6.3 (p. 449) (a) y =
2
2
5 0
Z t
Z t0
1
1
(c) y =
e f (t ) d (d) y(t) = sin kt + cos kt +
f (t ) sin k d
k
k
0
Z t
Z t0
3
1
f (t ) sinh 2 d
(e) y = 2te3t +
e3 f (t ) d (f) y = sinh 2t +
2
2 0
Z t 0
Z t
k1
1
(g) y = e3t +
(e3 e2 )f (t ) d (h) y =
sin t + k0 cos t +
f (t ) sin d
0
0
(a)
as
(s2
a2 )(s2
b2 )
(b)
t2
8.6.4 (p. 449) (a) y = sin t(b) y = tet (c) y = 1 + 2tet (d) y = t +
2
1 4
5
t (f) y = 1 t
(e) y = 4 + t2 +
2
24
7!8! 16
13!7! 21
6!7! 14
1
1
8.6.5 (p. 450) (a)
t (b)
t (c)
t (d) (et + sin t cos t) (e) (cos t cos 2t)
16!
21!
14!
2
3
Section 8.7 Answers, pp. 460461
1 2t
11 2t
e 4et +
e
+ 2u(t 1)(e(t1) e2(t1) )
2
2
5
= 2e2t + 5et + u(t 1)(e(t1) e2(t1) )
3
1 2t 2 t 1 2t 5
= e e e
+ u(t 1) sinh 2(t 1)
6
3
2
2
1
= (8 cos t 5 sin t sin 3t) 2u(t /2) cos t
8
1
1
= 1 cos 2t + sin 2t + u(t 3) sin 2t
2
2
= 4et + 3et 8 + 2u(t 2) sinh(t 2)
1
7
= et et + 2 + 3u(t 6)(1 e(t6) )
2
2
753
1
u(t /2) sin 2t
2
1
(1 + e2t ) + u(t 1)(e(t1) e2(t1) )
2
1
1
8.7.10 (p. 460) y = et + et (2t 5) + 2u(t 2)(t 2)e(t2)
4
4
1
1
8.7.11 (p. 460) y = (2 sin t + 5 sin 2t) u(t /2) sin 2t
6
2
8.7.12 (p. 460) y = et (sin t cos t) e(t) sin t 3u(t 2)e(t2) sin t
4
1
2
8.7.13 (p. 460) y = e2t cos 3t + sin 3t u(t /6)e2(t/6) cos 3t u(t /3)e2(t/3) sin 3t
3
3
3
7 2t 6 t/2 1
1
2(t2)
(t2)/2
e e
+ u(t 2)(e
e
)
8.7.14 (p. 460) y =
10
5
2
5
1
1 t/2
8.7.15 (p. 460) y =
(12 cos t + 20 sin t) +
e (10 cos t 11 sin t) u(t /2)e(2t)/4 cos t
17
34
+u(t )e(t)/2 sin t
1
8.7.16 (p. 460) y = (cos t cos 2t 3 sin t) 2u(t /2) cos t + 3u(t ) sin t
3
8.7.17 (p. 460) y = et et(1 + 2t) 5u(t 1) sinh(t 1) + 3u(t 2) sinh(t 2)
1
8.7.18 (p. 460) y = (et et (1 + 6t)) u(t 1)e(t1) + 2u(t 2)e(t2) )
4
5
1
1
8.7.19 (p. 460) y = sin t sin 2t + u(t )(sin 2t + 2 sin t) + u(t 2) sin t
3
3
3
3
1
1
1
1
3
8.7.20 (p. 460) y = cos 2t sin 2t + + u(t /2)(1 + cos 2t) + u(t ) sin 2t + u(t 3/2) sin 2t
4
2
4
4
2
2
1
8.7.21 (p. 460) y = cos t sin t
8.7.22 (p. 460) y = (8e3t 12e2t )
4
8.7.23 (p. 460) y = 5(e2t et )
8.7.24 (p. 460) y = e2t (1 + 6t)
1
8.7.25 (p. 460) y = et/2 (4 19t)
4
8.7.29 (p. 461) y = (1)k m1 Rec /2m (t ) if 1 = (2k + 1)/2(k = integer)
(em+1 1)(etm et )
8.7.30 (p. 461) (a) y =
, m t < m + 1, (m = 0, 1, . . . )
2(e 1)
(b) y = (m + 1) sin t, 2m t < 2(m + 1), (m = 0, 1, . . . )
e2m+2 1
em+1 1
(c) y = e2(tm)
e(tm)
, m t < m + 1 (m = 0, 1, . . . )
2
e 1
e1
0,
2m t < (2m + 1),
(d) y =
(m = 0, 1,. . . )
sin t, (2m + 1) t < (2m + 2),
8.7.9 (p. 460) y =
2
9.1.7 (p. 471) 2ex 9.1.8 (p. 472) 2K cos x 9.1.9 (p. 472) (a) W (x) = 2e3x (d) y = ex (c1 +c2 x+c3 x2 )
9.1.10 (p. 472) (a) 2 (b) e3x (c) 4 (d) 4/x2 (e) 1 (f) 2x (g) 2/x2 (h) ex (x2 2x + 2)
(i) 240/x5 (j) 6e2x (2x 1)(l) 128x
9.1.24 (p. 474) (a) y000 = 0 (b) xy000 y00 xy0 + y = 0 (c) (2x 3)y000 2y00 (2x 5)y0 = 0
(d) (x2 2x + 2)y000 x2 y00 + 2xy0 2y = 0 (e) x3 y000 + x2 y00 2xy0 + 2y = 0
(f) (3x 1)y000 (12x 1)y00 + 9(x + 1)y0 9y = 0
(g) x4 y(4) + 5x3 y000 3x2 y00 6xy0 + 6y = 0
9.1.2 (p. 471) y = 2x2 3x3 +
1i<jn
(aj ai )
3
3
3
3
x/2
x
x/2
x/2
9.2.43 (p. 486) (a) e , e
cos
x ,e
sin
x
(b) e , e
cos
x ,e
sin
x
2
2
2
2
2x
2x
2x
2x
(c) {e
2x,e cos 2x, e sin 2x}
cos 2x, e sin
3
3
3
3
x
x
x/2
(d) e , e , e
cos
x , ex/2 sin
x , ex/2 cos
x , ex/2 sin
x
2
2
2
2
x/2
3x
3x
(e)
{cos 2x, sin 2x, e 3x
sinx,e 3x
cos x, e sin
cosx, e
x}
3
3
3
3
2x
3x/2
3x/2
x/2
x/2
(f) 1, e , e
cos
x ,e
sin
x ,e
cos
x ,e
sin
x
2
2
2
2
ex , ex/2 cos
3
x , ex/2 sin
2
3
x , ex/2 cos
2
3
x , ex/2 sin
2
3
x
2
755
9.2.45 (p. 487) y = c1 xr1 + c2 xr2 + c3 xr3 (r1 , r2 , r3 distinct); y = c1 xr1 + (c2 + c3 ln x)xr2 (r1 , r2
distinct); y = [c1 + c2 ln x + c3 (ln x)2 ]xr1 ; y = c1 xr1 + x [c2 cos( ln x) + c3 sin( ln x)]
Section 9.3 Answers, pp. 494496
e3x
(3x+x2 ) 9.3.3 (p. 494) yp = ex (1+xx2 )
4
xex
(1 x + x2 x3 )
9.3.4 (p. 494) yp = e2x (1 5x + x2 ). 9.3.5 (p. 494) yp =
2
xe2x
x 2 ex
9.3.6 (p. 494) yp = x2 ex (1 + x) 9.3.7 (p. 494) yp =
(2 + x) 9.3.8 (p. 494) yp =
(2 + x)
2
2
2 2x
x e
9.3.9 (p. 494) yp =
(1+2x) 9.3.10 (p. 494) yp = x2 e3x (2+xx2 ) 9.3.11 (p. 494) yp = x2 e4x (2+x)
2
x3 ex/2
(1 + x) 9.3.13 (p. 494) yp = ex (1 2x + x2 ) 9.3.14 (p. 494) yp = e2x (1 x)
9.3.12 (p. 494) yp =
48
ex
(1 x) 9.3.17 (p. 494) yp = ex (1 + x)2
9.3.15 (p. 494) yp = e2x (1 + x + x2 x3) 9.3.16 (p. 494) yp =
3
xe2x
9.3.18 (p. 494) yp = xex (1 + x3 ) 9.3.19 (p. 494) yp = xex (2 + x) 9.3.20 (p. 494) yp =
(1 x2 )
6
xex
9.3.21 (p. 494) yp = 4xex/2 (1 + x) 9.3.22 (p. 494) yp =
(1 + x2 )
6
x2 e2x
x2 e2x
9.3.23 (p. 494) yp =
(1 + x + x2 ) 9.3.24 (p. 494) yp =
(3 + x + x2 ) 9.3.25 (p. 494) yp =
6
6
3 x
x e
(2 + x)
48
x 3 ex
x3 ex
(1 + x) 9.3.27 (p. 495) yp =
(1 x + x2 ) 9.3.28 (p. 495) yp =
9.3.26 (p. 494) yp =
6
6
x3 e2x
(2 + x x2 )
12
9.3.29 (p. 495) yp = ex [(1 + x) cos x + (2 x) sin x] 9.3.30 (p. 495) yp = ex [(1 x) cos 2x + (1 + x) sin 2x]
9.3.31 (p. 495) yp = e2x [(1 + x x2 ) cos x + (1 + 2x) sin x]
ex
x
9.3.32 (p. 495) yp =
[(1 + x) cos 2x + (1 x + x2 ) sin 2x] 9.3.33 (p. 495) yp =
(8 cos 2x + 14 sin 2x)
2
13
2x
xe
9.3.34 (p. 495) yp = xex [(1 + x) cos x + (3 + x) sin x] 9.3.35 (p. 495) yp =
[(3 x) cos 2x + sin 2x]
2
3x
x
xe
e
9.3.36 (p. 495) yp =
(x cos 3x + sin 3x) 9.3.37 (p. 495) yp = (cos x + 7 sin x)
12
10
ex
9.3.38 (p. 495) yp =
(cos 2x sin 2x) 9.3.39 (p. 495) yp = xe2x cos 2x
12
ex
xex
[(1 + x) cos x + (2 x) sin x] 9.3.41 (p. 495) yp =
(cos x + 2 sin x)
9.3.40 (p. 495) yp =
2
10
x
2x
xe
xe
9.3.42 (p. 495) yp =
(3 cos 2x sin 2x) 9.3.43 (p. 495) yp =
[(1 x) cos 3x + (1 + x) sin 3x]
40
8
xex
x2 ex
9.3.44 (p. 495) yp =
(1 + x) sin 2x 9.3.45 (p. 495) yp =
(cos x 2 sin x)
4
4
2 2x
2 2x
x e
x e
9.3.46 (p. 495) yp =
(cos 2x sin 2x) 9.3.47 (p. 495) yp =
(1 + x) sin x
32
8
2 x
2x
2x
x
9.3.48 (p. 495) yp = 2x e + xe cos x 9.3.49 (p. 495) yp = e + xe + 2x cos x
9.3.50 (p. 495) yp = 2x + x2 + 2xex 3xex + 4e3x
9.3.51 (p. 495) yp = xex (cos 2x2 sin 2x)+2xe2x +1 9.3.52 (p. 495) yp = x2 e2x (1+2x)cos 2x+sin 2x
9.3.1 (p. 494) yp = ex (2+xx2 ) 9.3.2 (p. 494) yp =
1x
x2
2
x2
+ 16
12
9.3.73 (p. 496) y = (2 x) cos x (1 7x) sin x + e2x 9.3.74 (p. 496) 2 + ex [(1 + x) cos x sin x 1]
Section 9.4 Answers, pp. 502505
8 7/2 x2
x e
9.4.3 (p. 503) yp = x ln |x|
105
2
3x
2(x + 2)
xe
2x2
9.4.5 (p. 503) yp =
9.4.6 (p. 503) yp =
9.4.4 (p. 503) yp =
x
64
3
ex (x + 1)
9.4.7 (p. 503) yp =
9.4.8 (p. 503) yp = 2x2 ln |x| 9.4.9 (p. 503) yp = x2 + 1
x
2x2 + 6
x2 ln |x|
9.4.10 (p. 503) yp =
9.4.11 (p. 503) yp =
9.4.12 (p. 503) yp = x2 2
3
3
1
25 3
x5/2
x(12 x2 )
9.4.13 (p. 503) x3 ln |x|
x 9.4.14 (p. 503) yp =
9.4.15 (p. 503) yp =
4
48
4
6
x4 ln |x|
x 3 ex
2
9.4.16 (p. 503) yp =
9.4.17 (p. 503) yp =
9.4.18 (p. 503) yp = x ln |x|
6
2
x
x
xe
3xe
9.4.19 (p. 503) yp =
9.4.20 (p. 503) yp =
9.4.21 (p. 503) yp = x3
2
2
x3
9.4.22 (p. 503) y = x(ln x)2 + 3x + x3 2x ln x 9.4.23 (p. 503) y =
(ln |x|)2 + x2 x3 + 2x3 ln |x|
2
1
3
9.4.24 (p. 503) y = (3x + 1)xex 3ex e2x + 4xex 9.4.25 (p. 503) y = x4 (ln x)2 + 3x x4 + 2x4 ln x
2
2
2
x4 + 12
x
x
9.4.26 (p. 503) y =
+ 3x x2 + 2ex 9.4.27 (p. 503) y =
ln |x| + 4x 2x2
6
3
2
9.4.1 (p. 502) yp = 2x3 9.4.2 (p. 503) yp =
xex (1 + 3x)
x+1
ex
e3x
+
+
9.4.29 (p. 504) y = 8x + 2x2 2x3 + 2ex ex
2
2
4
2
3(4x2 + 9)
x
ex
ex
e2x
9.4.30 (p. 504) y = 3x2 ln x 7x2 9.4.31 (p. 504) y =
+
+
+
2
2
2
2
4
9.4.28 (p. 504) y =
x0
x
Zx0x
(x t)3
F (t) dt
6x
Z 0x
x0
x
1
1
1
1
+ . 9.4.33 (p. 504) y = x3 ln |x| + x 2x3 + 2
x
x
x
x
xe(xt) x2 + x(t 1)
F (t) dt 9.4.38 (p. 505) yp =
t4
x0
x
x+
x0
757
x0
x0
(x t)2 (2x + t)
F (t) dt
6xt3
x2 t(t 2) 2te(xt)
F (t) dt
2x(t 1)2
(x + t)(x t)3
F (t) dt
12x2 t3
e2(xt) (1 + 2t) + e2(xt) (1 2t) 4x2 + 4t2 2
F (t) dt
32t2
5
1
Q1 +
Q2
100 + 2t
100 + 3t
4
1
Q1
Q2 .
5+
50 + t
100 + 3t
12
m2 y200 = (c2 c3 )y10 (c2 + c3 )y20 + c3 y30 + (k2 k3 )y1 (k2 + k3 )y2 + k3 y3 + F2
gR2 x
0
gR2 y
00
10.1.4 (p. 515) x00 = x0 + 2
y
=
y
+
m
m
(x + y2 + z 2)3/2
(x2 + y2 + z 2)3/2
0
gR2 z
z +
m
(x2 + y2 + z 2 )3/2
x01 = x2
x02 = x3
10.1.5 (p. 515) (a) x03 = f (t, x1 , y1 , y2 )
y10 = y2
y20 = g(t, y1 , y2 )
z 00 =
y10
(c) y20
y30
=
=
=
y2
y3
f (t, y1 , y2 , y3 )
x01
x0
(e) 02
y1
y20
=
=
=
=
x2
f (t, x1 , y1 )
y2
g(t, x1 , y1 )
0
x1
y0
y1
z1
x
10.1.6 (p. 515)
y10
y0
(d) 20
y3
y40
=
=
=
=
u01
; v10
(b) v20
w10
w20
y2
y3
y4
f (t, y1 )
=
=
=
=
=
x01
y10
z10
f (t, u1 , v1 , v2 , w2)
v2
g(t, u1 , v1, v2, w1)
w2
h(t, u1 , v1 , v2 , w1 , w2 )
gR2 x
(x2 + y2 + z 2 )3/2
gR2 y
(x2 + y2 + z 2 )3/2
gR2 z
(x2 + y2 + z 2 )3/2
4
3
10
7
2
4
4
2
y (d) y0 =
1 2
10.2.2 (p. 518) (a) y0 =
0 1
0 0
"
#
1
2
2
0
(c) y =
2 1
2 y
2
2 1
"
(b) y0 =
1
2
3
5
1
4
3
6
2
2
1
1
2
2
5
2
3
0 2 2
y (b) y0 = 2 0 2
2 2 0
"
#
3 1 1
0
(d) y = 2
3
2 y
4 1 2
y, y(0) =
"
1
0
3 2t
6 3t
(b) y =
6
4
4
7 2 1 y, y(0) =
10.2.4 (p. 519) (a) y =
7
4
3
#
"
#
"
8
7
7
2
0
5 6 9 y, y(0) = 4
(b) y =
5
7 10
3
"
2
1
d 2
Y = Y 0Y + Y Y 0
dt
3
6
4
"
(b) y0 =
5
1
3
1
3
1
1
1
y, y(0) =
y+
5et
et
9
5
n1
X r 0 nr1
d n
Y = Y 0 Y n1 + Y Y 0 Y n2 + Y 2 Y 0 Y n3 + + Y n1 Y 0 =
Y Y Y
dt
r=0
0
P2(x)
P0(x)
1
P1 (x) y
P0 (x)
3e6t 6e2t
3e6t + 6e2t
6e4t + 4e3t
6e4t 10e3t
15e2t 4et
9e2t + 2et
(c) y =
5e3t 3et
5e3t + 3et
"
1
2
(c) y =
1
7
(c) y =
(c) y =
e6t + e2t
e6t e2t
1
2
e6t e2t
e6t + e2t
5e4t + 2e3t
5e4t 5e3t
5e2t + 6et
3e2t 3et
e3t + et
e3t et
1
(c) y =
6
"
0
..
.
0
Pn (x)
P0 (x)
1
..
.
0
Pn1 (x)
P0(x)
10e2t + 10et
6e2t 5et
0
..
.
1
P1 (x)
P0 (x)
2e4t 2e3t
2e4t + 5e3t
e3t et
e3t + et
..
.
4e2t + 3e3t et
3e3t + 3et
4e2t + 3e3t 7et
6e2t 6e3t
6e3t
6e2t 6e3t
2e2t 3e3t + et
3e3t 3et
2e2t 3e3t + 7et
e2t + e4t
10e2t + e4t
11e2t + e4t
"
1
10.3.12 (p. 528) (b) y =
3
"
2e2t + e4t
e2t + e4t
e2t + e4t
"
1
(c) y =
3
et et
et
0
et
0
0
"
e2t + e4t
2e2t + e4t
e2t + e4t
(c) y =
et
759
e2t + e4t
e2t + e4t
2e2t + e4t
1
1
e3t + c2
3
1
1
1
3
1
"
1
2
1
"
2
1
2
2
4
3
"
1
1
1
"
11
7
1
"
4
1
1
"
1
1
5
"
1
1
2
2
6
+ c2
e + c2
2t
5t
9t
1
4
1
"
1
1
0
+ c2
"
1
2
1
"
1
2
1
+ c2
"
1
1
1
1
0
1
+ c2
"
1
0
3
2
4
4
2
e
+ c3
"
1
1
1
e2t
e2t + c3
"
1
0
1
e2t
2t
2t
#
6t
#
e
3t
+ c3
"
2
6
3
"
1
1
1
+ c3
"
1
0
1
+ c3
"
1
1
0
"
1
3
0
e6t
+ c3
5t
+ c3
7
5
4
"
1
1
et/2 + c2
2
1
3t
3
2
et/2 +
+ c2
e2t + c2
6t
e + c3
1
1
e5t
et
e4t
e5t
3
9
2
4
5t
4
2
2
1
e5t
1
1
e2t
3t
e3t
"
+ c2
e5t +
1
1
2t
e3t
1
2
0
e + c2
4
1
"
3t
4t
1
2
"
e16t + c2
"
7
7
e5t + c2
3t
1
1
+ c2
e2t + c1
et
2
1
e2t
et
et
"
5
5
0
"
2
2
2
1
2
1
"
2
2
2
"
1
1
1
"
1
4
4
"
"
0
0
1
"
3
0
3
"
4
2
4
"
0
3
0
t/2
e +
2t
6t
et +
"
t/2
2t
"
2
2
2
6
6
2
t/2
"
1
1
0
"
1
1
0
e2t
4
12
4
e4t
7
7
7
2t
1
2
0
"
2t
"
e +
"
"
3
3
3
e +
"
e3t
e4t
4
2
2
"
"
3
9
6
e4t +
"
1
1
1
10.4.29 (p. 541) Half lines of L1 : y2 = y1 and L2 : y2 = y1 are trajectories other trajectories
are asymptotically tangent to L1 as t and asymptotically tangent to L2 as t .
10.4.31 (p. 541) Half lines of L1 : y2 = y1 /3 and L2 : y2 = y1 are trajectories other trajectories
are asymptotically tangent to L1 as t and asymptotically parallel to L2 as t .
10.4.32 (p. 541) Half lines of L1 : y2 = y1 /2 and L2 : y2 = y1 are trajectories other trajectories
are asymptotically tangent to L1 as t and asymptotically tangent to L2 as t .
10.4.33 (p. 541) Half lines of L1 : y2 = y1 /4 and L2 : y2 = y1 are trajectories other trajectories
are asymptotically tangent to L1 as t and asymptotically parallel to L2 as t .
10.4.34 (p. 541) Half lines of L1 : y2 = y1 and L2 : y2 = 3y1 are trajectories other trajectories
are asymptotically parallel to L1 as t and asymptotically tangent to L2 as t .
10.4.36 (p. 541) Points on L2 : y2 = y1 are trajectories of constant solutions. The trajectories
of nonconstant solutions are half-lines on either side of L1 , parallel to
1
1
, traversed toward L1 .
10.4.37 (p. 541) Points on L1 : y2 = y1 /3 are trajectories of constant solutions. The trajectories
of nonconstant solutions are half-lines on either side of L1 , parallel to
L1 .
1
2
10.4.38 (p. 541) Points on L1 : y2 = y1 /3 are trajectories of constant solutions. The trajectories
of nonconstant solutions are half-lines on either side of L1 , parallel to
away from L1 .
2
2
2
1
1
,
1, traversed
e2t
et
1
1
, L1 .
10.4.40 (p. 541) Points on L2 : y2 = y1 are trajectories of constant solutions. The trajectories
of nonconstant solutions are half-lines on either side of L2 , parallel to
4
1
, traversed toward L1 .
10.4.41 (p. 541) Points on L1 : y2 = 3y1 are trajectories of constant solutions. The trajectories
of nonconstant solutions are half-lines on either side of L1 , parallel to
L1 .
1
1
2
1
e5t + c2
1
1
et + c2
2
1
e9t + c2
1
1
e2t + c2
2
1
+ c2
3
2
4
3
"
1
1
2
"
1
1
1
"
0
1
1
"
2
3
1
"
1
1
1
6
2
1
0
1
0
4
3
+ c2
"
7t
+ c2
8
4
et
+
3
"
2t
0
1
1
"
1
1
1
te
7t
2
1
te2t
2t
3
2
te9t
te4t
te
1
1
2
te
"
1
1
1
e4t
+
2
+ c3
"
0
3
0
+ c3
"
1
1
0
e2t
+
2
+ c3
"
1
0
0
e4t
+
2
+ c3
"
1
0
0
e4t
+
2
e + c3
0
1
0
te
4t
2
1
tet
1
1
1
0
1
0
1
"
2t
e2t +
te5t .
e4t
+
2
e + c2
e9t +
1
1
1
2t
1
1
1
0
"
e + c2
2
1
2t
1
0
1
1
2
1
0
"
+ c2
et +
+ c2
e5t +
e2t
3
e4t + c2
t
1
0
4t
4t
"
"
4t
1
0
1
!
#
te
te
"
0
1
1
"
1
1
1
5
8
#
e
3t
2t
te
te
4t
4t
12
16
te3t
761
2
3
0
2
"
4
8
6
"
3
3
6
"
2
0
2
2
2
2
"
1
1
0
"
3
6
3
"
0
1
1
"
6
6
"
2
3
1
e +
2t
3t
4t
4t
1
1
1
0
1
1
+c3
9
5
6
"
4t
"
3
4
1
e + c2
#
"
1
1
0
3t
+ c2
"
1
2
0
2t
3
2
0
"
2t
"
2
2
0
3
2
3
e +
3
1
e5t
"
1
1
0
"
1
0
0
e3t
+
36
"
e2t
+
4
te2t
"
0
1
1
te
6t
1
1
0
te6t
+
4
"
0
1
1
"
e3t
+
2
1
0
0
1
1
0
"
3
3
3
e6t
+
4
"
tet
te8t
"
e6t
+
8
0
4
4
te2t
e +
8
0
8
8t
8
4
4
1
1
0
"
"
2t
"
+ c2
te4t
4
9
1
6t
"
0
1
1
"
"
"
+c3
"
8
4
e4t +
+c3
"
e5t
#
#
1
1
0
"
1
1
1
te3t
+
2
2t
te
"
"
2t
te
!
#
3t
1
1
1
t2 e6t
2
0
1
1
"
0
1
1
t2 e3t
2
te
2t
t2 e2t
2
12
6
te5t
0
1
1
"
e + c2
+c3
2
1
2
"
+c3
6t
12
1
0
"
"
4
0
1
"
1
0
1
"
2
0
1
"
1
1
0
1
1
0
"
3t
3t
1
1
0
"
2t
0
1
1
"
e2t
+
2
e2t
+
8
"
1
1
0
+ c2
"
6
1
0
e6t
+
6
e6t
36
"
6
1
0
3t
3t
+ c2
"
6
1
0
+ c2
"
0
1
0
+ c2
3
2
0
"
e2t + c2
0
0
1
"
te2t
+
2
"
!
0
1
1
t2 e2t
2
2
1
2
te
6t
t2 e6t
2
"
te6t
+
6
"
2
1
2
+ c3
"
1
0
0
+ c3
"
1
0
0
te
2t
"
+ c3
1
0
0
"
2
1
1
1
1
1
3t
"
et
+
2
"
1
2
1
"
1
1
1
e2t +
3 sin t cos t
5 sin t
e2t + c3
3t
1
0
0
"
te
3t
te
te
3t
te2t
2t
3 cos t + sin t
5 cos t
5 cos 2t + sin 2t
13 cos 2t
cos 2t + sin 2t
2 cos 2t
+ c2 e
cos 3t sin 3t
cos 3t
+ c2 e2t
3t
"
1
1
2
"
1
1
1
"
1
1
1
2t
2t
+ c2 e
+ c2 e
e + c2 e
4t
2t
"
+ c2 e
2t
+ c2 et
3t
5 sin 2t cos 2t
13 sin 2t
sin 2t cos 2t
2 sin 2t
sin 3t + cos 3t
sin 3t
"
cos 2t sin 2t
cos 2t + sin 2t
2 cos 2t
"
cos 2t sin 2t
cos 2t sin 2t
2 cos 2t
sin t
sin t
cos t
+ c3 e
"
+ c3 e
4t
"
+ c3 e
cos t
cos t
sin t
sin 2t + cos 2t
sin 2t cos 2t
2 sin 2t
2t
"
sin 2t + cos 2t
sin 2t + cos 2t
2 sin 2t
763
1
1
1
"
2t
2t
e + c2 e
sin 2t cos 2t
2 cos 2t
2 cos 2t
"
cos 6t 3 sin 6t
5 cos 6t
+ c2 e3t
cos t 3 sin t
2 cos t
3 sin 3t cos 3t
5 cos 3t
sin 4t 8 cos 4t
5 cos 4t
+ c2 e
2t
sin t + 3 cos t
2 sin t
+ c2 e2t
2t
3 cos 3t sin 3t
5 sin 3t
cos 4t 8 sin 4t
5 sin 4t
"
2
2
1
"
1
2
1
"
1
1
1
5 cos 3t + sin 3t
2 cos 3t + 3 sin 3t
17 cos 3t sin 3t
7 cos 3t + 3 sin 3t
"
1
1
2
"
4
4
2
"
0
3
3
"
6
3
3
1
10.6.29 (p. 567) U =
2
10.6.30 (p. 567) U
2t
e + c2 e
e + c2 e
e +e
4t
+e
8t
1
1
.5257
.8507
+ c2 e
3t
8t
+ c2 e
4t
2t
+e
"
"
sin 3t
sin 3t
cos 3t
+ c3 e
1
1
.8507
.5257
+ c3 e
"
cos 3t
cos 3t
sin 3t
+ c3 e
15 cos 6t + 10 sin 6t
14 cos 6t 8 sin 6t
7 cos 6t 4 sin 6t
4 cos 2t + 8 sin 2t
6 sin 2t + 2 cos 2t
3 cos 2t + sin 2t
10 cos 4t 4 sin 4t
17 cos 4t sin 4t
3 cos 4t 7 sin 4t
6t
cos t
sin t
sin t
"
cos 3t sin 3t
sin 3t
cos 3t
3 cos t + sin t
cos t 3 sin t
4 cos t 2 sin t
"
+ c3 e
2 cos t 2 sin t
cos t sin t
2 cos t
1
,V =
2
,V
"
"
"
"
"
4t
2t
6t
"
1
1
1
2t
cos 2t sin 2t
2 sin 2t
2 sin 2t
"
"
sin t
cos t
cos t
+ c3 e
sin 6t + 3 cos 6t
5 sin 6t
+ c2 e
2t
"
sin 3t + cos 3t
cos 3t
sin 3t
2 sin t + 2 cos t
cos t + sin t
2 sin t
4t
5 cos 6t + 5 sin 6t
cos 6t 3 sin 6t
cos(t/2) + sin(t/2)
cos(t/2) + 2 sin(t/2)
.5257
.8507
.8507
.5257
.5257
.8507
,V
.5257
.8507
,V
.8817
.4719
.8817
.4719
0
1
1
10.6.39 (p. 568) U =
2
,V
,V
,V=
1
1
1
0
.9732
.2298
.8507
.5257
1
1
1
10.7.8 (p. 575)
6
"
3et + 4
6et 4
10
1
1
tet(t + 2) + (t3 2)
tet(t 2) + (t3 + 2)
"
2t2 + t
t
t
13e3t + 3e3t
e3t 11e3t
t
0
0
1
,V=
.5257
.8507
1
0
,V
1
10.7.3 (p. 575)
9
1
10.7.7 (p. 575)
6
"
"
1
10.7.16 (p. 576)
2
.2298
.9732
,V
.4719
.8817
.4719
.8817
.8507
.5257
1
,V =
2
765
1
10.7.10 (p. 575)
3
1
9
et
10.7.20 (p. 576)
4t
0
0
..
.
0
Pn (t)/P0 (t)
"
2t + 1
2t 1
2t + 1
1
0
..
.
0
Pn1 /P0 (t)
"
2et
et
2et
5e2t e3t
e3t 5e2t
"
t
t
t
7 6t
11 + 3t
2 6t
7 + 6t
1 12t
1
10.7.18 (p. 576)
4
.8507
.5257
"
t sin t
0
1
4t
3et
1
et
#
..
.
0
0
..
.
1
P1 (t)/P0 (t)
y +
0
0
.
..
.
F (t)/P0(t)
2t3 ln |t| + t3 (t + 2)
2 ln |t| + 3t 2
(b)
y1
y10
..
.
(n1)
y1
y2
y20
..
.
(n1)
y2
..
.
yn
yn0
..
.
(n1)
yn
2 X (1)n
11.2.2 (p. 598) F (x) = 2 +
sin nx;
F (x) =
n=1
32 ,
2x 3x2 ,
32 ,
X
(1)n
n=1
n2
cos nx 4
x = ,
< x < ,
x=
12 X
cos nx
(1)n
;
2
n2
n=1
2,
2 x,
2,
X
(1)n
n=1
F (x) = 1 3x2
x = 1,
1 < x < 1,
x=1
sin nx;
1 x 1
2
4X
1
cos 2nx;
4n2 1
n=1
X
1
n
11.2.6 (p. 599) F (x) = sin x + 2
(1)n 2
sin nx;;
2
n 1
n=2
n=1
X (1)n
1
cos x 2
cos nx;
2
n2 1
n=2
16 X
n
sin x
sin 2nx;
2
(4n2 1)2
n=1
F (x) = x cos x, x
4 X 4n2 + 1
+ cos x
cos 2nx;
(4n2 1)2
F (x) = x sin x, x
F (x) = |x| sin x, x
1
1
2 X (1)n
+ cos x
cos 2nx;
4n2 1
n=1
767
F (x) = f (x), 1 x 1
1
8 X
n
sin x 2
(1)n
sin 2nx;
4
(4n2 1)2
n=1
1 X (1)n
n=1
n(n + 1)
sin(2n + 1)x
F (x) = f (x), 1 x 1
1
4X
n
sin x
(1)n 2
sin 2nx;
2
4n 1
F (x) =
n=1
0,
21 ,
sin x,
1
,
2
0,
1
1
2X 1
n
+ cos x
1
n
sin
cos nx;
n2 1
2
n=2
0,
1
,
2
F (x) =
| sin x|,
0,
1 x < 12 ,
x = 1,
12 < x < 12 ,
x = 1,
1
<x1
2
2
1
1
2 X
n 4n + 1
+
cos
x
+
(1)
cos 2nx
2
4
2
(4n2 1)2
n=1
1 X
2n + 1
+
(1)n
cos(2n + 1)x;
4
n(n + 1)
n=1
F (x) =
0,
1
4,
x sin x,
1
,
4
0,
1 x < 12 ,
x = 21 ,
12 < x < 21 ,
x = 12 ,
1
2 < x 1,
8 X
1
(2n + 1)x
4 X (1)n
nx
cos
sin
;
2
(2n + 1)2
4
n
4
n=0
n=1
1 x < 12 ,
x = 21 ,
12 < x < 12 ,
x = 12 ,
1
<x1
2
2,
0,
F (x) =
x,
2,
x = 4,
4 < x < 0,
0 x < 4,
x=4
1
1X1
8 X
1
11.2.16 (p. 599) F (x) = +
sin 2nx + 3
sin(2n + 1)x;
2
(2n + 1)3
n=1
F (x) =
1
,
2
2
n=0
x = 1,
1 < x < 0,
x = 0,
0 < x < 1,
x=1
x ,
1
,
2
x2 ,
1
2,
3
1X1
n
nx
3X1
n
nx
+
sin
cos
+
cos n cos
sin
4
n
2
2
n
2
2
n=1
3X1
5
+
2
n=1
sinh
11.2.20 (p. 599) F (x) =
sin
1+2
n=1
2n
nx
1X1
2n
nx
cos
+
cos n cos
sin
3
3
n
3
3
n=1
X
(1)n
n=1
n2 + 1
cos nx 2
X
(1)n n
n=1
n2 + 1
X
1
n
sin x + 2
(1)n 2
sin nx
2
n 1
n=2
X (1)n
1
11.2.22 (p. 600) F (x) = 1 cos x sin x 2
cos nx
2
n2 1
n=2
2 sin k X
n
11.2.23 (p. 600) F (x) =
(1)n 2
sin nx
n k2
n=1
sin k
11.2.24 (p. 600) F (x) =
"
X (1)n
1
2k
cos nx
k
n2 k2
n=1
L2
4L2 X (1)n
nx
+ 2
cos
3
n2
L
n=1
4 X
1
+ 2
2
n=1
1
cos(2n 1)x
(2n 1)2
2L
4L2 X 1
nx
+ 2
cos
3
n2
L
2
n=1
1 cos k
2k X [1 (1)n cos k]
cos nx.
k
n2 k2
n=1
2 X (1)n
n=1
2n 1
(2n 1)x
L
2L
4L2 X (1)n
nx
+ 2
cos
3
n2
L
2
cos
n=1
sin nx
1
4 X 1
+ 2
cos nx
3
n2
n=1
e 1
2 X [(1)n e 1]
11.3.8 (p. 613) C(x) =
+
cos nx
(n2 + 1)
n=1
L2
L2 X 1
2nx
11.3.9 (p. 613) C(x) =
2
cos
6
n2
L
n=1
4L2 X 1
nx
2L2
11.3.10 (p. 613) C(x) =
+ 2
cos
3
n2
L
n=1
1
(2n 1)x
4X
11.3.11 (p. 614) S(x) =
sin
(2n 1)
L
n=1
2X1
11.3.12 (p. 614) S(x) =
sin nx
n
n=1
2X
n
[1 (1)n cos k] 2
sin nx
11.3.13 (p. 614) S(x) =
n k2
n=1
h
i
2X1
n
nx
11.3.14 (p. 614) S(x) =
1 cos
sin
n
2
L
n=1
4L X (1)n+1
(2n 1)x
11.3.15 (p. 614) S(x) = 2
sin
(2n 1)2
L
n=1
16 X
n
sin 2nx
11.3.16 (p. 614) S(x) = sin x
2
(4n2 1)2
n=1
2 X n[(1)n e 1]
11.3.17 (p. 614) S(x) =
sin nx
(n2 + 1)
n=1
4 X (1)n
(2n 1)x
cos
2n 1
2L
n=1
2
(2n 1)x
4L X (1)n
8
1
cos
11.3.19 (p. 614) CM (x) =
2n 1
(2n 1)2 2
2L
n=1
4X
2
(2n 1)x
11.3.20 (p. 614) CM (x) =
(1)n +
cos
.
(2n 1)
2
n=1
4X
1
(2n + 1)
(2n 1)x
11.3.21 (p. 614) CM (x) =
cos
cos
2n 1
4
2L
n=1
4X
(1)n
n=1
2n 1
(2n 1)x
cos
(2n 3)(2n + 1)
2
8X
1
(2n 1)x
cos
(2n 3)(2n + 1)
2
n=1
2
4(1)n
(2n 1)x
8L X
1
11.3.24 (p. 614) CM (x) = 2
1+
cos
2
(2n 1)
(2n 1)
2L
n=1
769
(2n 1)x
4X
1
sin
(2n 1)
2L
n=1
(2n 1)x
16L2 X
1
2
11.3.26 (p. 614) SM (x) = 2
(1)n +
sin
(2n 1)2
(2n 1)
2L
n=1
4X
1
(2n 1))
(2n 1)x
11.3.27 (p. 614) SM (x) =
1 cos
sin
2n 1
4
2L
n=1
2n 1
(2n 1)x
4X
11.3.28 (p. 614) SM (x) =
sin
(2n 3)(2n + 1)
2
n=1
(1)n
(2n 1)x
8X
11.3.29 (p. 614) SM (x) =
sin
(2n 3)(2n + 1)
2
n=1
8L2 X
1
4
(2n 1)x
11.3.30 (p. 614) SM (x) = 2
(1)n +
sin
(2n 1)2
(2n 1)
2L
n=1
7L4
144L4 X (1)n
nx
cos
11.3.31 (p. 614) C(x) =
4
5
n4
L
n=1
2L4
48L4 X 1 + (1)n 2
nx
11.3.32 (p. 614) C(x) =
cos
5
4
n4
L
n=1
3L4
48L4 X 2 + (1)n
nx
11.3.33 (p. 614) C(x) =
cos
5
4
n4
L
n=1
L4
3L4 X 1
2nx
4
cos
11.3.34 (p. 614) C(x) =
30
n4
L
n=1
8L2 X
1
(2n 1)x
11.3.36 (p. 615) S(x) = 3
sin
(2n 1)3
L
n=1
4L3 X (1 + (1)n 2)
nx
11.3.37 (p. 615) S(x) = 3
sin
n3
L
n=1
12L X (1)n
nx
sin
3
n3
L
3
n=1
96L4 X
1
(2n 1)x
11.3.39 (p. 615) S(x) =
sin
5
(2n 1)5
L
n=1
720L5 X (1)n
nx
11.3.40 (p. 615) S(x) =
sin
5
n5
L
n=1
240L X 1 + (1)n 2
5
n=1
n5
sin
nx
L
64L X
1
3
(2n 1)x
11.3.43 (p. 615) CM (x) = 3
(1)n +
cos
(2n 1)3
(2n 1)
2L
n=1
32L X (1)n
2
n=1
(2n 1)3
cos
(2n 1)x
2L
(2n 1)x
96L3 X
1
2
(1)n +
cos
11.3.45 (p. 615) CM (x) = 3
(2n 1)3
(2n 1)
2L
n=1
(2n 1)x
96L3 X
1
4
11.3.46 (p. 615) CM (x) =
(1)n 3 +
cos
3
(2n 1)3
(2n 1)
2L
n=1
96L3 X
1
8
(2n 1)x
11.3.47 (p. 615) CM (x) =
(1)n 5 +
cos
3
(2n 1)3
(2n 1)
2L
n=1
1
(1)n 4
(2n 1)x
384L4 X
11.3.48 (p. 615) CM (x) =
1
+
cos
4
(2n 1)4
(2n 1)
2L
n=1
1
(1)n 2
(2n 1)x
768L4 X
11.3.49 (p. 615) CM (x) =
1
+
cos
4
(2n 1)4
(2n 1)
2L
n=1
32L2 X
1
(2n 1)x
11.3.51 (p. 615) SM (x) =
sin
3
(2n 1)3
2L
n=1
(2n 1)x
96L3 X
1
4
1 + (1)n
sin
11.3.52 (p. 615) SM (x) = 3
(2n 1)3
(2n 1)
2L
n=1
(2n 1)x
96L3 X
1
2
11.3.53 (p. 616) SM (x) =
1 + (1)n
sin
3
(2n 1)3
(2n 1)
2L
n=1
192L3 X (1)n
(2n 1)x
11.3.54 (p. 616) SM (x) =
sin
4
(2n 1)4
2L
n=1
1536L4 X
1
3
(2n 1)x
(1)n +
sin
11.3.55 (p. 616) SM (x) =
4
(2n 1)4
(2n 1)
2L
n=1
384L4 X
1
4
(2n 1)x
11.3.56 (p. 616) SM (x) =
(1)n +
sin
4
(2n 1)4
(2n 1)
2L
n=1
2 2
8 X
1
e(2n1) t sin(2n 1)x
3
(2n 1)3
n=1
2 2
4X
1
(2n 1)x
12.1.9 (p. 626) u(x, t) =
e9(2n1) t/16 sin
(2n 1)
4
n=1
16 X
n
e12n t sin 2nx
12.1.10 (p. 626) u(x, t) = e3t sin x
2
(4n2 1)2
n=1
n3
2
n=1
n3
3
n=1
(2n 1)x
8 X (1)n+1 (2n1)2 2 t
12.1.13 (p. 626) u(x, t) = 2
e
sin
(2n 1)2
2
n=1
n5
n=1
771
2 2
96 X
1
e5(2n1) t sin(2n 1)x
5
(2n 1)5
n=1
n5
n=1
16
64 X (1)n 92 n2 t/16
nx
12.1.17 (p. 627) u(x, t) =
+ 2
e
cos
3
n2
4
n=1
16 X 1 n2 2 t
nx
8
12.1.18 (p. 627) u(x, t) = + 2
e
cos
3
n2
2
n=1
1 X 1 36n2 2 t
1
12.1.19 (p. 627) u(x, t) = 2
e
cos 2nx
6
n2
n=1
2 2
384 X
1
(2n 1)x
12.1.20 (p. 627) u(x, t) = 4 4
e3(2n1) t/4 cos
(2n 1)4
2
n=1
28
576 X (1)n 5n2 2 t/2
nx
4
e
cos
12.1.21 (p. 627) u(x, y) =
5
n4
2
n=1
2
48 X 1 + (1)n 2 3n2 2 t
12.1.22 (p. 627) u(x, t) = 4
e
cos nx
5
n4
n=1
3
48 X 2 + (1)n n2 2 t
12.1.23 (p. 627) u(x, t) = 4
e
cos nx
5
n4
n=1
X 1 4n2 t
4
3
e
cos 2nx
12.1.24 (p. 627) u(x, t) =
30
n4
n=1
2 2
8X
(1)n
(2n 1)x
12.1.25 (p. 627) u(x, t) =
e(2n1) t/4 sin
(2n + 1)(2n 3)
2
n=1
X
n=1
2
1
4
(2n 1)x
(1)n +
e3(2n1) t/4 sin
(2n 1)2
(2n 1)
2
2
(2n 1)x
128 X
1
e5(2n1) t/16 sin
3
(2n 1)3
4
n=1
2 2
96 X
1
4
(2n 1)x
12.1.28 (p. 627) u(x, t) = 3
1 + (1)n
e(2n1) t/4 sin
(2n 1)3
(2n 1)
2
n=1
2 2
96 X
1
2
(2n 1)x
12.1.29 (p. 627) u(x, t) = 3
1 + (1)n
e(2n1) t/4 sin
(2n 1)3
(2n 1)
2
n=1
2 2
1536 X
1
3
(2n 1)x
12.1.31 (p. 627) u(x, t) =
(1)n +
e(2n1) t/4 sin
4
(2n 1)4
(2n 1)
2
n=1
384 X
n=1
2 2
(2n 1)x
1
4
(1)n +
e(2n1) t/4 sin
(2n 1)4
(2n 1)
2
2
X
e3(2n1) t/4
(2n 1)3
n=1
773
(2n 1)x
3
(1) +
cos
(2n 1)
2
n
(2n 1)x
16 X (1)n (2n1)2 t
e
cos
2n 1
4
n=1
2 2
64 X (1)n
8
(2n 1)x
12.1.35 (p. 628) u(x, t) =
1
e9(2n1) t/64 cos
2n 1
(2n 1)2 2
8
n=1
2 2
1
(2n 1)x
8 X
12.1.36 (p. 628) u(x, t) = 2
e3(2n1) t/4 cos
(2n 1)2
2
n=1
2 2
1
2
(2n 1)x
96 X
12.1.37 (p. 628) u(x, t) = 3
(1)n +
e(2n1) t/4 cos
(2n 1)3
(2n 1)
2
n=1
(2n 1)3
2
n=1
2 2
(2n 1)x
96 X
1
8
(1)n 5 +
e(2n1) t/4 cos
12.1.39 (p. 628) u(x, t) = 3
(2n 1)3
(2n 1)
2
n=1
2 2
(2n 1)x
96 X
1
4
12.1.40 (p. 628) u(x, t) = 3
(1)n 3 +
e(2n1) t/4 cos
(2n 1)3
(2n 1)
2
n=1
2 2
768 X
1
(1)n 2
(2n 1)x
12.1.41 (p. 628) u(x, t) = 4
1
+
e(2n1) t/4 cos
(2n 1)4
(2n 1)
2
n=1
2 2
384 X
1
(1)n 4
(2n 1)x
1+
e(2n1) t/4 cos
12.1.42 (p. 628) u(x, t) = 4
4
(2n 1)
(2n 1)
2
n=1
1
2 X (1)n (2n1)2 2 a2 t/L2
(2n 1)x
12.1.43 (p. 628) u(x, t) =
e
cos
2
2n 1
L
n=1
h
i
2X1
n n2 2 a2 t/L2
nx
12.1.44 (p. 628) u(x, t) =
1 cos
e
sin
n
2
L
n=1
4X
n=1
4X
1
(2n 1)) (2n1)2 2 a2 t/4L2
(2n 1)x
12.1.46 (p. 629) u(x, t) =
1 cos
e
sin
2n 1
4
2L
n=1
2
2
4 X e9 (2n1) t/16
(2n 1)x
12.1.48 (p. 629) u(x, t) = 1 x + x +
sin
(2n 1)
4
3
n=1
2 2
8 X e(2n1) t
sin(2n 1)x
3
(2n 1)3
n=1
2 2
8 X
1
(2n 1)x
e3(2n1) t/4 cos
2
(2n 1)2
2
n=1
64 X (1)n
n=1
2 2
(2n 1)x
8
1
e9(2n1) t/64 cos
2n 1
(2n 1)2 2
8
2 2
(1)n
(2n 1)x
8X
e(2n1) t/4 sin
(2n + 1)(2n 3)
2
n=1
2 2
(2n 1)x
32 X e(2n1) t/4
sin
3
(2n 1)3
2
n=1
4 X (1)n+1
sin 3(2n 1)t sin(2n 1)x
33
(2n 1)3
n=1
8 X
1
12.2.2 (p. 642) u(x, t) = 3
cos 3(2n 1)t sin(2n 1)x
(2n 1)3
n=1
4 X (1 + (1)n 2)
12.2.3 (p. 642) u(x, t) = 3
cos n 7 t sin nx
n3
n=1
8 X
1
sin 3(2n 1)t sin(2n 1)x
12.2.4 (p. 642) u(x, t) =
34
(2n 1)4
n=1
4 X (1 + (1)n 2)
12.2.5 (p. 642) u(x, t) =
sin n 7 t sin nx
4
4
n
7 n=1
324 X (1)n
8nt
nx
cos
sin
3
n3
3
3
n=1
96 X
1
12.2.7 (p. 642) u(x, t) = 5
cos 2(2n 1)t sin(2n 1)x
(2n 1)5
n=1
243 X (1)n
8nt
nx
12.2.8 (p. 642) u(x, t) =
sin
sin
24
n4
3
3
n=1
48 X
1
sin 2(2n 1)t sin(2n 1)x.
12.2.9 (p. 642) u(x, t) = 6
(2n 1)6
n=1
16 X
n
cos 2n 5 t sin 2nx
12.2.10 (p. 642) u(x, t) = cos 5 t sin x
2
(4n2 1)2
n=1
240 X 1 + (1)n 2
12.2.11 (p. 642) u(x, t) = 5
cos nt sin nx
n5
n=1
8 X
1
sin 2n 5 t sin 2nx
12.2.12 (p. 642) u(x, t) = sin 5 t sin x
2 1)2
(4n
2 5
5 n=1
240 X 1 + (1)n 2
sin nt sin nx
6
n6
n=1
720 X (1)n
12.2.14 (p. 643) u(x, t) = 5
cos 3nt sin nx
n5
n=1
240 X (1)n
12.2.15 (p. 643) u(x, t) = 6
sin 3nt sin nx
n6
n=1
128 X (1)n
3(2n 1)t
(2n 1)x
12.2.18 (p. 644) u(x, t) = 3
cos
cos
(2n 1)3
4
4
n=1
775
(2n 1)x
64 X
1
3
(1)n +
cos(2n 1)t cos
12.2.19 (p. 644) u(x, t) = 3
(2n 1)3
(2n 1)
2
n=1
3(2n 1)t
(2n 1)x
512 X (1)n
12.2.20 (p. 644) u(x, t) = 4
sin
cos
3
(2n 1)4
4
4
n=1
64 X
1
3
(2n 1)x
12.2.21 (p. 644) u(x, t) = 4
(1)n +
sin(2n 1)t cos
(2n 1)4
(2n 1)
2
n=1
1
4
(2n 1) 5 t
(2n 1)x
96 X
12.2.22 (p. 644) u(x, t) = 3
(1)n 3 +
cos
cos
(2n 1)3
(2n 1)
2
2
n=1
X
2
(2n 1) 3 t
(2n 1)x
1
12.2.23 (p. 644) u(x, t) = 96
(1)n +
cos
cos
(2n 1)3
(2n 1)
2
2
n=1
192 X
1
4
(2n 1) 5 t
(2n 1)x
(2n 1) 3t
(2n 1)x
192 X
1
2
(1)n +
sin
sin
12.2.25 (p. 644) u(x, t) =
(2n 1)4
(2n 1)
2
2
3
n=1
(1)n 4
3(2n 1)t
(2n 1)x
384 X
1
12.2.26 (p. 644) u(x, t) = 4
1
+
cos
cos
(2n 1)4
(2n 1)
2
2
n=1
96 X
1
8
(2n 1) 7 t
(2n 1)x
12.2.27 (p. 644) u(x, t) = 3
(1)n 5 +
cos
cos
(2n 1)3
(2n 1)
2
2
n=1
768 X
1
(1)n 4
3(2n 1)t
(2n 1)x
1+
sin
cos
12.2.28 (p. 644) u(x, t) = 5
5
3
(2n 1)
(2n 1)
2
2
n=1
192 X
1
8
(2n 1) 7 t
(2n 1)x
12.2.29 (p. 644) u(x, t) =
(1)n 5 +
sin
cos
(2n 1)4
(2n 1)
2
2
4 7
n=1
768 X
1
(1)n 2
(2n 1)t
(2n 1)x
12.2.30 (p. 645) u(x, t) = 4
1+
cos
cos
4
(2n 1)
(2n 1)
2
2
n=1
(1)n 2
(2n 1)t
(2n 1)x
1536 X
1
1+
sin
cos
12.2.31 (p. 645) u(x, t) = 5
5
(2n 1)
(2n 1)
2
2
n=1
1
1
12.2.32 (p. 645) u(x, t) = [CMf (x + at) + CMf (x at)] +
2
2a
x+at
CMg ( ) d
xat
(2n 1)x
32 X
1
cos 4(2n 1)t sin
(2n 1)3
2
n=1
96 X
1
4
3(2n 1)t
(2n 1)x
12.2.36 (p. 645) u(x, t) = 3
1 + (1)n
cos
sin
(2n 1)3
(2n 1)
2
2
n=1
8X
1
(2n 1)x
12.2.37 (p. 645) u(x, t) =
sin 4(2n 1)t sin
(2n 1)4
2
n=1
1
4
3(2n 1)t
(2n 1)x
64 X
12.2.38 (p. 646) u(x, t) = 4
1 + (1)n
sin
sin
(2n 1)4
(2n 1)
2
2
n=1
3(2n 1)t
(2n 1)x
96 X
1
2
12.2.39 (p. 646) u(x, t) = 3
1 + (1)n
cos
sin
(2n 1)3
(2n 1)
2
2
n=1
(2n 1) 3 t
(2n 1)x
192 X (1)n
12.2.40 (p. 646) u(x, t) =
cos
sin
(2n 1)4
2
2
n=1
64 X
1
2
3(2n 1)t
(2n 1)x
12.2.41 (p. 646) u(x, t) = 4
1 + (1)n
sin
sin
(2n 1)4
(2n 1)
2
2
n=1
(2n 1) 3 t
(2n 1)x
384 X (1)n
12.2.42 (p. 646) u(x, t) =
sin
sin
5
(2n
1)
2
2
3 n=1
1
3
(2n 1) 5 t
(2n 1)x
1536 X
n
12.2.43 (p. 646) u(x, t) =
(1) +
cos
sin
4
(2n 1)4
(2n 1)
2
2
n=1
384 X
1
4
(2n 1)x
12.2.44 (p. 646) u(x, t) = 4
(1)n +
cos(2n 1)t sin
(2n 1)4
(2n 1)
2
n=1
(2n 1) 5 t
(2n 1)x
3072 X
1
3
(1)n +
sin
sin
12.2.45 (p. 646) u(x, t) =
(2n 1)5
(2n 1)
2
2
5 5
n=1
(2n 1)x
384 X
1
4
12.2.46 (p. 646) u(x, t) = 5
(1)n +
sin(2n 1)t sin
(2n 1)5
(2n 1)
2
n=1
x+at
1
1
12.2.47 (p. 646) u(x, t) = [SMf (x + at) + SMf (x at)] +
SMg ( ) d
2
2a xat
768 X
1
5(2n 1)t
(2n 1)x
cos
cos
12.2.50 (p. 647) u(x, t) = 4 4
(2n 1)4
2
2
n=1
1
5(2n 1)t
(2n 1)x
1536 X
sin
cos
12.2.51 (p. 647) u(x, t) = 4t
5
5
(2n
1)
2
2
5 n=1
12.2.52 (p. 647) u(x, t) =
X 1 + (1)n 2
24
48
cos 2nt cos nx
5
n4
n=1
7
144 X (1)n
12.2.53 (p. 647) u(x, t) = 4
cos n 7 t cos nx
5
n4
n=1
X 1 + (1)n 2
24 t
12.2.54 (p. 647) u(x, t) =
24
sin 2nt cos nx
5
n5
n=1
7t
144 X (1)n
12.2.55 (p. 647) u(x, t) =
sin n 7 t cos nx
5
5
5
n
7 n=1
X 1
4
3
cos 8nt cos 2nx
30
n4
n=1
3
48 X 2 + (1)n
12.2.57 (p. 647) u(x, t) = 4
cos nt cos nx
5
n4
n=1
3X 1
4 t
12.2.58 (p. 647) u(x, t) =
3t
48 X 2 + (1)n
5
sin nt cos nx
5
n5
n=1
R x+at
1
2a
xat
x+at
f (x + at) + f (x at)
1
+
2
2a
Cg ( ) d
g(u) du
xat
12.2.64 (p. 649) u(x, t) = x(1 + 4at) 12.2.65 (p. 649) u(x, t) = x2 + a2 t2 + t
12.2.66 (p. 649) u(x, t) = sin(x + at) 12.2.67 (p. 649) u(x, t) = x3 + 6tx2 + 3a2 t2 x + 2a2 t3
sin x sin at
12.2.68 (p. 649) u(x, t) = x sin x cos at + at cos x sin at +
a
Section 12.3 Answers, pp. 662665
12.3.1 (p. 662) u(x, y) =
8 X sinh(2n 1)(1 y)
sin(2n 1)x
3
(2n 1)3 sinh(2n 1)
n=1
8 X
(1)n+1
n=1
sinh(1 y)
16 X n sinh 2n(1 y)
sin x
sin 2nx
2
sinh 1
y
+ 3
2
(1)n
n=1
4 X
108 X
n=1
sinh ny/3
nx
cos
n3 cosh 2n/3
3
sinh(2n 1)y
cos(2n 1)x
(2n 1)3 cosh 2(2n 1)
sinh ny/2
8y
32 X
nx
+ 3
(1)n 3
cos
3
n cosh n
2
n=1
4 X sinh ny
y
+ 3
3
n=1
n3 cosh n
cos nx
(2n 1)y
128 X cosh(2n 1)(x 3)/4
sin
3
(2n 1)3 cosh 3(2n 1)/4
4
n=1
96 X
4
1 + (1)n
3
(2n 1)
n=1
768 X
n=1
96 X
1 + (1)n
3 + (1)n
n=1
2
(2n 1)
4
(2n 1)
cosh(2n 1)x/2
(2n 1)y
16 X
cos
432 X
4(1)n
1+
3
(2n 1)
n=1
cosh(2n 1)x/6
(2n 1)y
cos
(2n 1)3 sinh(2n 1)/3
6
777
cosh(2n 1)x/2
(2n 1)y
64 X
(1)n
cos
.
cosh(2n 1)x/2
(2n 1)y
192 X
2
12.3.16 (p. 663) u(x, y) = 4
(1)n +
cos
n=1
72 X
u(x, y) =
n=1
X
n=1
sinh ny/a
nx
n
sin
,
sinh nb/a
a
2
a
f (x) cos
u(x, y) =
f (x) sin
nx
dx
a
sinh(2n 1)y/3
(2n 1)x
sin
(2n 1)3 sinh 2(2n 1)/3
3
2
n =
a
nx
dx,
a
n=1
0 =
1
a
f (x) dx,
n1
8(1 y)
48 X 1 sinh n(1 y)
4
cos nx
15
n4
sinh n
n=1
u(x, y) =
n=1
(2n 1)x
f (x) cos
dx
2a
(2n 1)x
288 X sinh(2n 1)(2 y)/6
sin
3
2
a
n=1
f (x) sin
(2n 1)x
dx
2a
18
32 X
(1)n 5 +
u(x, y) = 3
(2n 1)
n=1
n=1
(1)n
n=1
2
a
u(x, y) =
X
n=1
f (x) cos
2
a
f (x) sin
nx
dx
a
cosh n(y 2)
sin nx
n3 cosh 2n
nx
dx,
a
cosh ny/a
nx
1
cos
, 0 =
cosh nb/a
a
a
f (x) dx,
n1
X 1 cosh 2ny
4
3
cos 2nx
30
n4 cos 2n
n=1
n cosh nb/a
a
n=1
4X
sinh(2n 1)(y 1)
u(x, y) =
(1)n+1
sin(2n 1)x
2
n =
a
f (x) sin
nx
dx
a
X
n=1
96 X
u(x, y) =
cosh nx/b
ny
2
n
sin
, n =
cosh na/b
b
b
n=1
n=1
u(x, y) =
cosh(2n 1)x/4
(2n 1)y
128 X
(1)n
cos
.
3
(2n 1)3 cosh(2n 1)/2
4
n=1
64 X
(2n 1)y
g(y) cos
dy
2b
n=1
(1)n+1
n=1
ny
dy
b
g(y) sin
cosh(2n 1)x/2b
(2n 1)y
cos
,
cosh(2n 1)a/2b
2b
b X
cosh nx/b
ny
12.3.26 (p. 664) u(x, y) =
n
sin
,
n sinh na/b
b
u(x, y) =
cosh(2n 1)x
sin(2n 1)y.
(2n 1)5 cosh(2n 1)
2
n =
b
g(y) sin
X
n=1
cosh(2n 1)x/4
(2n 1)y
sin
(2n 1)3 sinh(2n 1)/4
4
2b X
cosh(2n 1)(x a)/2b
(2n 1)y
n
sin
,
4
1 + (1)
(2n 1)
n
bX
sinh n(x a)/b
ny
12.3.28 (p. 664) u(x, y) = 0 (x a) +
n
cos
,
n cosh na/b
b
1
0 =
b
n=1
n =
2
b
g(y) cos
ny
dy,
b
ny
dy
b
g(y) cos
u(x, y) =
ny
dy
b
(2n 1)y
g(y) sin
dy
2b
u(x, y) = 192
(x 2)
4 X sinh(2n 1)(x 2)
cos(2n 1)y.
2
2
a
u(x, y)
779
n eny/a cos
n=1
0
3
= 2
f (x) cos
nx
dx,
a
nx
1
, 0 =
a
a
f (x) dx,
n1
P
48
1
e(2n1)y cos(2n 1)x
n=1 (2n1)4
(2n 1)x
=
n e(2n1)y/2a cos
,
2
a
(2n 1)x
2
sin
, n =
2a
a
2a
n=1
(2n 1)3
6
n =
f (x) cos
(2n 1)x
dx
2a
f (x) sin
(2n 1)x
dx
2a
n=1
X
n=1
n e
(2n1)y/2a
32 X
1
(2n 1)x
u(x, y) =
e(2n1)y/2 sin
.
(2n 1)3
2
n=1
a X n ny/a
nx
12.3.32 (p. 664) u(x, y) =
e
sin
,
n
a
2
n =
a
n=1
u(x) = 4
X
(1 + (1)n 2)
n4
n=1
f (x) sin
nx
dx
a
eny sin nx
2a X n (2n1)y/2a
(2n 1)x
e
cos
,
2n 1
2a
n =
n=1
5488 X
1
4(1)n
(2n 1)x
u(x, y) =
1+
e(2n1)y/14 cos
3
3
(2n 1)
(2n 1)
14
n=1
2
a
2
a
2a X n (2n1)y/2a
(2n 1)x
e
sin
,
2n 1
2a
n =
n=1
f (x) cos
(2n 1)x
dx
2a
f (x) sin
(2n 1)x
dx
2a
2000 X
1
4
(2n 1)x
u(x, y) = 3
(1)n +
e(2n1)y/10 sin
(2n 1)3
(2n 1)
10
n=1
X
An sinh n(b y)/a + Bn sinh ny/a
sinh nb/a
n=1
X
Cn sinh n(a x)/b + Dn sinh nx/b
sinh na/b
n=1
sin
sin
nx
a
ny
b
n sinh nb/a
a
n=1
n sinh na/b
b
n=1
X rn n n rn
ln r/
1
12.4.1 (p. 672) u(r, ) = 0
+
(n cos n + n sin n) 0 =
n n n
ln 0 /
2
n
0
0
1
and n =
n=1
f () cos n d,
n =
n/ n/
n/ n/
0
f () d,
f () sin n d, n = 1, 2, 3, . . .
n/ n/
n=1
n
f () sin
d, n = 1, 2, 3,. . .
n/ n/
0
sin
n/ n/
n/ n/
r
X n 0
r
0
r
n
+
cos
0
n n/ n/ + n/ n/
0
0
Z n=1
2
n
n =
f () cos
d, n = 1, 2, 3,. . .
0
f () d,
0
X
n=1
f () cos
0
(2n 1)
r(2n1)/2
cos
2
(2n1)/2
(2n 1)
d, n = 1, 2, 3,. . .
2
(2n 1)
20 X n (2n1)/2 r(2n1)/2 + (2n1)/2 r(2n1)/2
sin
,
n =
(2n 1)
d, n = 1, 2, 3,. . .
2
g() sin
0
1
n =
781
n=1
n
rn/
cos
n/
0 =
f () d,
n
d, n = 1, 2, 3,. . .
rn
(n cos n + sin n)
12.4.7 (p. 673) vn(r, ) =
nn1
Z
X rn
1
u(r, ) = c +
(
cos
n
+
sin
n)
=
f () cos n d,
n
n
n
nn1
n =
f () cos
n=1
f () sin n d, n = 1, 2, 3,. . .
2
x3
ex e(x1) 13.1.3 (p. 684) y = x2
+ cx with c arbitrary
e1
3
1
11
9
13.1.4 (p. 684) y = x + 2ex + e(x1) 13.1.5 (p. 684) y = +
cos 2x + sin 2x
4
4
4
13.1.2 (p. 684) y = x +
tF (t) dt = 0 y = x
sin(x a)
sin(b a)
F (t) sin(t b) dt +
sin(x b)
sin(b a)
F (t) dt
3(5e3x 4e4x )
2e4 (4e3(x1) 3e4(x1) )
+
e(15 16e)
16e 15
F (t) sin(t a) dt
F (t) sin(t a) dt = 0
y = sin(x a)
F (t) sin(t a) dt
F (t) sin(t a) dt = 0
y = sin(x a)
F (t) sin(t a) dt
F (t) cos(t a) dt = 0
y = cos(x a)
F (t) cos(t a) dt
sinh(x a)
cosh(b a)
cosh(x a)
sinh(b a)
sinh(x a)
sinh(b a)
1
13.1.15 (p. 685) y =
2
F (t) cosh(t b) dt
cosh(x b)
cosh(b a)
F (t) cosh(t b) dt
cosh(x b)
sinh(b a)
F (t) dt + e
1
sin
sin x
sin nx
e F (t) dt
F (t) sinh(t a) dt
F (t) sinh(t a) dt
a
x
F (t) cosh(t a) dt
F (t) sin t dt .
with c1 arbitrary.
y=
sinh(x b)
sinh(b a)
F (t) sinh(t b) dt +
F (t) sin nt dt
+ c1 sin nx
sin x
cos
F (t) cos (t ) dt
cos (x )
cos
cos(n + 1/2)x
n + /2
with c1 arbitrary,
cos x
cos
F (t) sin (t ) dt +
sin (x )
cos
sin(n + 1/2)x
n + /2
with c1 arbitrary.
+
cos x
F (t) cos t dt .
cos nx
with c1 arbitrary.
783
F (t) cos nt dt
+ c1 cos nx
y=
1
ba
(b) G(x, t) =
(c) G(x, t) =
(d)
(x a)
ba
(x
a)(t b)
b a)
a t x,
xtb
(t b)F (t) dt + (x b)
at a t x
ax x t b
y = (a x)
xb
tb
y=
atx
xtb
(t a)F (t) dt
a
b
F (t) dt +
(a t)F (t) dt
(t b)F (t) dt + (x b)
F (t) dt
y=
tF (t) dt + x
(c) y =
(t a)(x b)
5x4 9x 18
60
(2 + t)(3 x)
, 0 t x,
5
(2 + x)(3 t) , x t 1
5
(a) y =
x2 x 2
5x2 7x 14
(b) y =
2
30
cos t sin x
3/2 ,
t x,
2
t
x
13.1.23 (p. 686) G(x, t) =
sin t
cos x
, xt
3/2
t
x
x + cos x /2 sin x
1 + cos x sin x
(b) y =
(a) y =
x
x
(t 1)x(x 2)
, 1 t x,
3
t
x(x 1)(t 2) , x t 2
3
t
(a) y = x(x 1)(x 2) (b) y = x(x 1)(x 2)(x + 3)
1
4
1
3+ 2
x+
,
22
t
x
13.1.25 (p. 686) G(x, t) =
1 3x + 1 1 + 4 ,
1 x t,
xt2
x
t2
x2 11x + 4
11x3 45x2 4
11x4 139x2 28
(a) y =
(b) y =
(c) y =
11x
33x
88x
22
G(x, t) =
G(x, t) =
( t)( + x)
( + )
( x)( + t) ,
( + )
0 t x,
xt1
, 0 t x,
+
(
cos
x
sin
x)( cos t + sin t)
xt
0tx
xt)
e
( cos t ( + ) sin t)( cos x ( + ) sin x)
0 t x,
xt
xt
xt
e
( cos t ( + ) sin t)(( + ) cos x + sin x)
, 0 t x,
+ ( + )( +
, x t /2
+ ( + )( +
, 0 t x,
(ba)
(ab)
2[( + )( )e
(xa)
( )( + )e
(tb)
( + )e
)(( )e
( + )e(tb))
(ba)
2[( + )( )e
( )( + )e(ab)]
(( )e
(xa)
xt
2
x
1 x 2 y 0 )0 +
13.2.4 (p. 696) (xb y0 )0 +cxb2y = 0 13.2.5 (p. 696) (ex y0 )0 +2ex y = 0 13.2.6 (p. 696) (xex y0 )0 +
ex y = 0
13.2.7 (p. 696) ((1 x2 )y0 )0 + ( + 1)y = 0
y = 2 cosh x
x (c) 1.9323619, 5.9318981, 11.9317920,
sinh
19.9317507 y = 2 cos x sin x
2
y=0
1 x2
x (c) 1.5113188,
13.2.16 (p.
= 0 isnt an eigenvalue
(b) 1.0239346
697) (a)
y = cosh
x
sinh x(c) 2.0565705, 9.3927144, 21.7169130,
38.9842177 y = cos x sin x
13.2.17 (p.697) (a) = 0 isnt an eigenvalue
(b) 0.4357577,
y = 2 cosh
x sinh
x (c) 0.3171423, 3.7055350, 9.1970150,
16.8760401 y = 2 cos x sin x
13.2.18 (p.
= 0 isnt an eigenvalue
(b) 2.1790546, 9.0006633
697) (a)
y = cosh x 3 sinh x
y = 2 cosh x sinh
x (c) 8.8694608, 16.5459202, 26.4155505,
38.4784094 y = 2 cos x sin x
13.2.20 (p.697) (a) = 0 isnt an eigenvalue
(b) 7.9394171, 3.1542806
y = 2 cosh
x
5
sinh
x
(c)
785
Index
A
Abels formula, 199202, 468
Accelerated payment, 139
Acceleration due to gravity, 151
Airys equation, 319
Amplitude,
of oscillation, 271
time-varying, 279
Amplitudephase form, 272
Aphelion distance, 300
Apogee, 300
Applications,
of first order equations, 130192
autonomous second order equations, 162179
cooling problems, 140141
curves, 179192
elementary mechanics, 151177
growth and decay, 130140
mixing problems, 143150
of linear second order equations, 268302
motion under a central force, 295302
motion under inverse square law force, 299
301
RLC circuit, 289295
springmass systems, 268289
Autonomous second order equations, 162183
conversion to first order equations, 162
damped 173178
pendulum 174
springmass system, 173
Newtons second law of motion and, 163
undamped 164172
pendulum 173169
springmass system, 164173
stability and instability conditions for, 170178
B
Beat, 275
Bernoullis equation, 6364
787
788 Index
Circuit, RLC. See RLC circuit
Closed Circuit, 289
Coefficient(s) See also Constant coefficient equations
computing recursively, 322
Fourier, 587
in Frobenius solutions, 352358
undetermined, method of, 229248, 475496
principle of superposition and, 235
Coefficient matrix, 516, 516
Competition, species, 6, 541
Complementary equation, 35, 469
Complementary system, 568
Compound interest, continuous, 131, 134
Constant,
damping, 173
decay, 130
separation, 619
spring, 268
temperature decay, 140
Constant coefficient equations, 210, 475
homogeneous, 210221
with complex conjugate roots, 214217
with distinct real roots, 211, 217
higher order. See Higher order constant coefficient homogeneous equations
with repeated real roots, 212, 217
with impulses, 452460
nonhomogeneous, 229248
with piecewise continuous forcing functions, 430
439
Constant coefficient homogeneous linear systems of
differential equations, 529568
geometric properties of solutions,
when n = 2, 536539, 551554, 562565
with complex eigenvalue of constant matrix, 556
565
with defective constant matrix, 558556
with linearly independent eigenvetors, 529541
Constant solutions of separable first order equations,
4853
Converge absolutely, 307
Convergence,
of improper integral, 393
open interval of, 306
radius of, 306
Convergent infinite series, 620
Convergent power series, 306
Convolution, 440452
convolution integral, 445450
defined, 441
theorem, 441
transfer functions, 446448
Volterra integral equation, 445
Index 789
Dirac delta function, 452
Direction fields for first order equations, 1627
Dirichlet, Peter G. L., 662
Dirichlet condition, 662
Dirichlet problem, 662
Discontinuity,
jump, 398
removable, 408
Distributions, theory of, 453
Divergence of improper integral, 393
Divergent power series, 306
E
Eccentricity of orbit, 300
Eigenfunction associated with , 580, 689
Eigenvalue, 580, 689
Eigenvalue problems, See also Boundary value problems
Sturm-Liouville problems, 686700
defined, 689
orthogonality in, 695
solving, 688
Elliptic orbit, 300
Epidemics 553
Equidimensional equation, 486
Equilibrium, 163
spring-mass system, 268
Equilibrium position, 268
Equipotentials, 185
Error(s),
in applying numerical methods, 96
in Eulers method, 97102
at the i-th step, 96
truncation, 96
global, 102, 111, 119
local, 100
local, numerical methods with O(h3 ), 114
116
Escape velocity, 159
Eulers equation, 343346, 229
Eulers identity, 96108
Eulers method, 96108
error in, 97100
truncation, 100102
improved, 109114
semilinear, 102106
step size and accuracy of, 97
Even functions, 592
Exact first order equations, 7382
implicit solutions of, 7374
procedurs for solving, 76
Exactness condition, 75
790 Index
piecewise continuous constant equations with,
430439
Fourier coefficients, 587
Fourier series, 586616
convergence of, 589
cosine series, 603604
convergence of, 607
mixed, 606
defined 588
even and odd functions, 592589
sine series, 605
convergence of, 605
mixed, 609
Fourier solutions of partial differential equations, 618
673
heat equation, 618629
boundary conditions in, 618
defined, 618
formal and actual solutions of, 620
initial-boundary value problem, 618625
initial condition, 618
nonhomogeneous problems, 623625
separation of variables to solve, 618620
Laplaces equation, 649673
boundary conditions, 649662
defined, 649
formal solutions of, 651662
in polar coordinates, 666673
for semiinfinite strip, 660
Free fall under constant gravity, 13
Free motion, 268
oscillation, RLC circuit in, 291292
vibrations, 279283
Frequency, 279
of simple harmonic motion, 292
Frobenius solutions, 347390
indicial equation with distinct real roots differing by an integer, 378390
indicial equation with distinct real roots not differing by an integer, 351364
indicial equation with repeated root, 364378
power series in, 348
recurrence relationship in, 350
two term, 353355
verifying, 357
Function(s)
even and odd, 592
piecewise smooth, 588
Fundamental matrix, 524
Fundamental set of solutions, of higher order constant
coefficient homogeneous equations, 480
482
of homogeneous linear second order equations,
198, 202
of homogeneous linear systems of differential
equations, 522, 524
of linear higher order equations, 466
G
Gamma function, 403
Generalized Riccati equation, 72, 255
General solution
of higher order constant coefficient homogeneous
equations, 475480
of homogeneous linear second order equations,
198
of homogeneous linear systems of differential
equations, 521, 524
of linear higher order equations, 465, 469
of nonhomogeneous linear first order equations,
30, 40
of nonhomogeneous linear second order equations, 221, 248255
Geometric problems, 235184
Gibbs phenomenon, 589, 597
Global truncation error in Eulers method, 102
Glucose absorption by the body, 5
Gravitation, Newtons law of, 151, 176, 295, 510, 515
Gravity, acceleration due to,151
Greens function, 504, 681, 682, 685686
Grid, rectangular, 17
Growth and decay,
carbon dating, 136
exponential, 130140
interest compounded continuously, 133134
mixed growth and decay, 134
radioactive decay, 130
savings program, 136
H
Half-life, 130
Half-line, 536
Half-plane, 552
Harmonic conjugate function, 82
Harmonic function, 82
Harmonic motion, simple, 166, 271 292, 292
amplitude of oscillation, 272
natural frequancy of, 272
phase angle of, 272
Heat equation,618629
boundary conditions in, 618
defined, 618
formal and actual solutions of, 620
initial-boundary value problems, 618, 625
initial condition, 618
nonhomogeneous problems, 623625
Index 791
separation of variables to solve, 618
Heat flow lines, 185
Heavisides method, 407, 412
Hermites equation, 322
Heuns method, 116
Higher order constant coefficient homogeneous equations, 475487
characteristic polynomial of, 482478
fundamental sets of solutions of, 480
general solution of, 476482
Homogeneous linear first order equations, 3034
general solutions of, 33
separation of variables in, 35
Homogeneous linear higher order equations, 465
Homogeneous linear second order equations, 194221
constant coefficient, 210221
with complex conjugate roots, 214217
with distinct real roots, 210217
with repeated real roots, 210214, 217
solutions of, 194, 198
the Wronskian and Abels formula, 199202
Homogeneous linear systems of differential equations,
516
basic theory of, 521528
constant coefficient, 529568
with complex eigenvalues of coefficient matrix, 556568
with defective coefficient matrix, 542551
geometric properties of solutions when n =
2, 529539, 551554, 562565
with linearly independent eigenvectors, 529
539 subitem fundamental set of solutions
of, 521, 524
general solution of, 521, 524
trivial and nontrivial solution of, 521
Wronskian of solution set of, 523
Homogeneous nonlinear equations
defined, 65
transformation into separable equations, 6568
Hookes law, 268269
I
Imaginary part, 215
Implicit function theorem, 47
Implicit solution(s) 7374
of exact first order equations, 7374
of initial value problems, 47
of separable first order equations, 4749
Impressed voltage, 53
Improper integral, 393
Improved Euler method, 108112 120122
semilinear, 112114
Impulse function, 452
J
Jump discontinuity, 398
K
Keplers second law, 296
Keplers third law, 301
Kirchoffs Law, 290
L
Laguerres equation, 348
Lambda-eigenfunctions, 580, 687
Laplaces equation, 649673
792 Index
boundary conditions, 649651
defined, 649
formal solutions of, 651662
in polar coordinates, 666673
for semi-infinte strip, 660
Laplace transforms, 393461
computation of simple, 393396
of constant coefficient equations
with impulses 452461
with piecewise continuous forcing functions,
430439
convolution, 440452
convolution integral, 445
defined, 441
theorem, 441
transfer functions, 446448
definition of, 393
existence of, 398
First shifting theorem, 397
inverse, 404
defined, 403
linearity property of, 405
of rational functons, 406411
linearity of, 396
of piecewise continuous functions, 421430
unit step function and, 419430
Second shifting theorem, 425
to solve initial value problems, 413419
derivatives , 413415
formula for, 443444
second order equations, 415
tables of, 396
Legendres equation, 204, 319
ordinary points of, 319
singular points of, 319, 347
Limit, 398
Limit cycle, 176
Linear combination(s), 198, 465, 521
of power series, 313316
Linear difference equations, second order homogeneous, 340
Linear first order equations, 3044
homogeneous, 3035
general solution of, 33
separation of variables, 35
nonhomogeneous, 30, 3541
general solution of, 3541
solutions in integral form, 3839
variation of parameters to solve, 35, 38
solutions of, 3031
Linear higher order equations, 465505
fundamental set of solutions of, 465, 466
general solution of, 465, 469
Index 793
linear indeopendence of, 521, 524
trivial and nontrivial solution of, 521
Wronskian of solution set of, 523
nonhomogeneous, 516
variation of parameters for, 568576
solutions to initial value problem, 515517
Lines of force, 185
Liouville, Joseph, 689
local truncation error, 100102
numerical methods with O(h3 ), 114-116
Logistic equation 3
M
Maclaurin series, 308
Magnitude of acceleration due to gravity at Earths
surface, 151
Malthusian model, 2
Mathematical models, 2
validity of, 137, 140, 149
Matrix/matrices, 516518
coefficient,
complex eigenvalue of, 557568
defective, 542
fundamental, 524
Mechanics, elementary, 151178
escape velocity, 158159 162, 162
motion through resisting medium under constant
gravitational force, 151157
Newtons second law of motion, 151151
pendulum motion
damped, 174176
undamped, 173169
spring-mass system
damped, 173174, 269, 279289
undamped, 164173,268
units used in, 151
Midpoint method, 109
Mixed boundary value problems, 649
Mixed Fourier cosine series, 606608
Mixed Fourier sine series, 609
Mixed growth and decay, 134
Mixing problems, 143148
Models, mathematical, 23
validity of, 137, 140, 149
Motion,
damped, 268
critically, 280
overdamped, 279280
underdamped, 279
elementary, See Mechanics, elementary
equation of, 269
forced, 270
free, 270
794 Index
existence and uniqueness of solutions of, 5672
transformation into separable equations, 6272
Nonoscillatory solution, 358
Nontrivial solutions
of homogeneous linear first order equations, 30
of homogeneous linear higher order equations,
465
of homogeneous linear second order equations,
194
of homogeneous linear systems of differential
equations, 521
Numerical methods, 96127, 514
with O(h3 ) local truncation, 114116
error in, 96
Eulers method, 96108
error in, 97102
semilinear, 102106
step size and accuracy of, 97
truncation error in, 99102
Heuns method, 115
semilinear, 106
improved Euler method, 106, 109112
semilinear, 112
midpoint, 116
Runge-Kutta method, 98, 106 119127, 513
514
for cases where x0 isnt the left endpoint, 122
124
semilinear, 106, 122
for systems of differential equations, 514
Numerical quadrature, 119, 127
O
Odd functions, 592
One-parameter families of curves, 179183
defined, 179
differential equation for, 180
One-parameter families of functions, 30
Open interval of convergence, 306
Open rectangle, 56
Orbit, 301
eccentricity of, 300
elliptic, 300
period of, 301
Order of differential equation, 8
Ordinary differential equation,
defined, 8
Ordinary point, series solutions of linear second order
equations near, 319341
Orthogonality, 583581
in Sturm-Liouville problems, 695
Orthogonal trajectories, 186190,
finding, 186
Index 795
of higher order constant coefficient homogeneous equations, 475478
Chebyshev, 322
indicial, 343, 351
Taylor, 309
trigonometric, 602
Polynomial operator, 475
Population growth and decay, 2
Positive half-plane, 552
Potential equation, 649
Power series, 306319
convergent, 306307
defined, 306
differentiation of, 308309
divergent, 306
linear combinations of, 313316
radius of convergence of, 306, 307
shifting summation index in, 310312
solutions of linear second order equations, represented by, 319341
Taylor polynomials, 309
Taylor series, 308
uniqueness of 309309
Q
Quasi-period, 279
R
Radioactive decay, 130131
Radius of convergence of power series, 306, 307
Rational functions, inverse Laplace transforms of, 406
413
Rayleigh, Lord, 171
Rayleighs equation, 177
Real part, 215
Rectangle, open, 56
Rectangular grid, 17
Recurrence relations, 322
in Frobenius solutions, 351
two term, 353355
Reduction of order, 213, 248255
Regular singular points, 342347
at x0 = 0, 347364
Removable discontinuity, 398
Resistance, 290
Resistor, 290
Resonance, 277
Ricatti, Jacopo Francesco, 72
Ricatti equation, 72
RLC circuit, 289294
closed, 289
in forced oscillation with danping, 293
in free oscillation, 291293
Roundoff errors, 96
Runge-Kutta method, 98, 119127, 514
for cases where x0 isnt the left endpoint, 122
for linear systems of differential equations, 514
semilinear, 106, 122
S
Savings program, growth of, 136
Scalar differential equations, 512
Second order differential equation, 6
autonomous, 162178
conversion to first order equation, 162
damped, 173178
Newtons second law of mation and, 163
undamped, 164169
Laplace transform to solve, 415418
linear, See linear second equations
two-point boundary value problems for, 676
686
assumptions, 676
boundary conditions for, 676
defined, 676
Greens function for, 682
homogeneous and nonhomogeneous, 676
procedure for solving, 677
Second order homogeneous linear difference equation, 340
Second shifting Theorem, 425427
Semilinear Euler method, 102
Semilinear improved Euler method, 106, 112
Semilinear Runge-Kutta method, 108, 124
Separable first order equations, 4555
constant solutions of, 4850
implicit solutions, 47
transfomations of nonlinear equations to, 6263
Bernoullis equation, 6268
homogeneous nonlinear equations, 6568
other equations, 64
Separated boundary conditions, 676
Separation constant, 619
Separation of variables, 35, 45
to solve heat equation, 618
to solve Laplaces equation, 651662, 667673
to solve wave equation, 632
Separatrix, 171, 170
Series, power. See Power series
Series solution of linear second order equations, 306390
Frobenius solutions, 347390
near an ordinary point, 319
Shadow trajectory, 564565
Shifting theorem
first, 397
796 Index
second, 425427
Simple harmonic motion, 269273
amplitude of oscillation, 271
natural frequency of, 272
phase angle of, 272
Simpsons rule, 127
Singular point, 319
irregular, 342
regular, 342347
Solution(s), 910 See also Frobenius solutions Nontrivial solutions Series solutions of linear
second order equations Trivial solution
nonoscillatory, 358
oscillatory, 358
Solution curve, 99
Species, interacting, 6, 540
Spring, natural length of, 268, 269
Spring constant, 268
Spring-mass systems, 268289
damped, 172, 269, 287289
critically damped motion, 287283
forced vibrations, 283287
free vibrations, 283285
overdamped motion, 279
underdamped motion, 279
in equilibrium, 268
simple harmonic motion, 269273
amplitude of oscillation, 272
natural frequency of, 272
phase angle of, 272
undamped, 164166, 269277
forced oscillation, 273287
Stability of equilibrium and critical point, 163164
Steady state, 135
Steady state charge, 293
Steady state component, 285, 447
Steady state current, 293
String motion, wave equation applied to, 630638
plucked, 638642
vibrating, 630638
Sturm-Liouville equation, 689
Sturm-Liouville expansion, 696
Sturm-Liouville problems, 687700
defined, 687
orthogonality in, 695
solving, 687
Summation index in power series, 310312
Superposition, principle of, 44, 225, 235, 470
method of undetermine coefficients and, 235
Systems of differential equations, 507518 See also
Linear systems of differential equations
first order
higher order systems rewritten as, 322512
Index 797
Undamped autonomous second order equations, 164
171
pendulum, 173169
spring-mass system, 164166
stability and instabilty conditions for, 170171
Undamped motion, 268
Underdamped motion, 279
Underdamped oscillation, 291
Undetermined coefficients
for linear higher order equations, 487496
forcing functions, 487494
for linear second order equations, 229248
principle of superposition, 235
Uniqueness of solutions of nonlinear first equations,
5662
Uniqueness theorem, 40, 56, 194, 465, 516
Unit step function, 422430
V
Validity, interval of, 12
Vandermonde, 484
Vandermonde determinant, 484
van der Pols equation, 176
Variables, separation of, 35, 45
Variation of parameters
for linear first order equations, 35
for linear higher order equations, 497505
derivation of method, 497498
fourth order equations, 501502
third order equations, 499
for linear higher second order equations, 255
for nonhomogeneous linear systems of differential equations, 568577
Velocity
escape, 158151
terminal, 152156
Verhulst, Pierre, 3
Verhulst model, 3, 27, 69
Vibrating strings, wave equation applied to, 630
Vibrations
forced, 283287
free, 279283
Voltage, impressed, 289
Voltage drop, 290
Volterra, Vito 445
Volterra integral equation, 445
W
Wave equation, 630649
defined, 630
plucked string, 637642
vibrating string, 630637
assumptions, 630