Sam Melkonian, MATH1005 - Differential Equations and Infinite Series
Sam Melkonian, MATH1005 - Differential Equations and Infinite Series
Sam Melkonian, MATH1005 - Differential Equations and Infinite Series
and
Infinite Series
Second Edition
Sam Melkonian
School of Mathematics and Statistics
Carleton University
Ottawa, Canada
NELSON
NELSON
Preface
The prerequisites for this book are elementary differential and integral calculus and
linear algebra. The exercises at the end of each section follow the progression of the
topics in that section, and are approximately in increasing order of difficulty. The
exercises at the end of certain chapters cover the material of the entire chapter, may
be more difficult, may involve material from earlier chapters, or may be of a more
theoretical nature. The solutions of all of the exercises are provided in Appendix C.
Proofs of theorems which are mere computations are furnished in order to provide
the reader with a better understanding of the subject. More abstract or otherwise
difficult proofs are omitted from the main text. The proofs of selected theorems are
given in Appendix B.
The second edition is identical to the first, with the exception of minor changes
and corrections.
Sam Melkonian
April 2015
Contents
Preface 111
1 Introduction 3
1.1 Basic Concepts 3
Exercises 1.1 .. 7
2 First-Order Equations 9
.
2 1 Separable Equations ...... 9
2.1.1 Orthogonal Trajectories 1 1
Exercises . 2 1 ....... 1 4
.2 2 Homogeneous Equations 1 5
Exercises 2.2 ....... 8 1
. 2 3 Linear Equations .... 81
.
2 . 3 1 Bernoulli Equations . 2 1
Exercises . 2 3 ........ 2 3
2.4 Functions of Two Variables 2 4
2.4.1 Partial Derivatives 2 4
2.4.2 T he Chain Rule . 26
Exercises 2.4 ........ 27
. 2 5 Exact Equations ..... 82
2.5.1 Integrating Factors 3 3
Exercises 2.5 .. 36
Chapter 2 Exercises ..... 38
3 Second-Order Equations 43
.
3 1 Basic Definitions ... 4 3
Exercises 3.1 ........... 64
.3 2 Linear Homogeneous Equations 7 4
3.2.1 Equations with Constant Coefficients 8 4
.
3 .
2 2 Cauchy-Euler Equations ...... 5 2
V
Vl CONTENTS
Exercises 3.2 . . . . . . . . . . . . . . . . . . . . . 55
3.3 Linear Nonhomogeneous Equations . . . . . . . . 57
3.3.1 The Method of Undetermined Coefficients 57
3.3.2 Variation of Parameters . . . . . . . . 67
Exercises 3.3 . . . . . . . . . . . . . . . . . . . 74
3.4 Equations Reducible to First-Order Equations 76
Exercises 3.4 . . 83
Chapter 3 Exercises . . . . . . . . . . 84
Appendices
C Solutions 347
C.1 Chapter 1 Solutions . 347
C.2 Chapter 2 Solutions . 348
C.3 Chapter 3 Solutions . 360
C.4 Chapter 4 Solutions . 377
C.5 Chapter 5 Solutions . 390
C.6 Chapter 6 Solutions . 408
C.7 Chapter 7 Solutions . 419
C.8 Chapter 8 Solutions . 426
C.9 Chapter 9 Solutions . 439
Index 445
Part I
1
...
Chapter 1
Introduction
The term ordinary refers to differential equations in which the unknown function
y is a function of a single variable. In contrast, differential equations which contain
unknown functions of more than one variable are called partial differential equations.
This book is concerned only with ordinary differential equations, to which we shall
refer simply as differential equations, or equations for short.
3
4
CHAPTER 1. INTRODUCTION
Exampl� 1.4. The first-order equation y' +x = 0 can be solved simply by integration
and reqmres no special techniques:
Y +x=0 ⇒ y x2
= -x ⇒ y
J
=
I /
-xdx = -- + c
2
Definition 1.3. The solution of a first-order equation which contains one arbitrary
constant is called the general solution. It is a one-parameter family of solutions, i.e.,
a set of solutions in which every solution corresponds to a particular value of the
parameter c. A solution in which c is assigned a particular value is called a particular
solution.
y y=- +1 and y
2 -2
2
x2 x2
= -x , =-
2 2
1.1. BASIC CONCEPTS 5
are particular solutions. At every point (x, y) on any one of these curves, the slope of
the tangent line is :� = -x, i.e., y' + x = 0, which is the differential equation. Thus,
the differential equation defines a direction at every point (x, y) in the plane (where
it is defined), and the graph of every solution is a curve which follows these directions
at every point on the curve. A few directions are indicated in Figure 1.1.
In Definition 1.4, g(.rc, y) denotes an expression which may include both x and y.
For example, g( x, y) = x 2 + y2 or g( x, y) = '!!_. Such functions of two variables will be
X
discussed at greater length in Section 2.4.
For the equation y' + x = 0 in Example 1.4, the initial condition y(0) = 1 forces
c = 1. Hence, the solution of the initial-value problem
x2
+ x = 0, y(0) = 1, is y =-
y'
2 + 1.
The initial condition y(4) = -1 forces c = 7. Hence, the solution of the initial-value
problem
x2
+ X = 0, = -1, =-
y' y(4) is y
2 + 7.
Example 1.5. Let y(t) > 0 denote the amount of a substance present at time t, and
suppose that the rate at which y changes with time is proportional to the amount
present at time t. This means that
dy
= ky(t),
dt
which is a first-order ordinary differential equation, where k is the proportionality
constant. This equation determines, for example, the (approximate) number y(t) of
bacteria present in a culture at time t. Since y is an increasing function oft, y' > 0
and, hence, k > 0. This equation also determines the amount y(t) of a radioactive
substance present at time t. Since the substance decays with time, y' < 0 and, hence,
k < 0. If a quantity y(t) is constant in time, then y' = 0 and, hence, k = 0.
6 CHAPTER 1. INTRODUCTION
y' = ky * y= J kydt,
and the integral on the right cannot be evaluated because y is not known as a function
of t. It is therefore necessary to perform certain algebraic manipulations before an
integration can be performed.
Express the equation in the equivalent form � y ' =k and integrate both sides with
. y
respect to t to obtam
J
1 , .
-:;/
dt = Jy 1 dy
dt
dt = Jy1
dy,
and the integral on the right can be evaluated without knowledge of y as a function
of t. Thus, we obtain
j tdy = j kdt.
dy
Example 1.6. The equation = 2y has the general solution y(t) = y(0)e 2t by
dt
Example 1.5 with k = 2.
Example 1. 7. The initial-value problem y' = -3y, y(0) 2, has the solution
y(t) = 2e- 3t by Example 1.5 with k = -3 and y(0) = 2.
1.1. BASIC CONCEPTS 7
Example 1.8. Find the general solution of y' - xy = 0 and solve the initial-value
problem given the initial condition y(0) = -2.
If y(x) = 0 (i.e., y = 0 for all x), then y'(x) = 0, and the equation is satisfied. If
tv' j tv' jt
y(x) ¢. 0, then, proceeding as in Example 1.5,
y' - xy = 0 ⇒ y' = xy ⇒ =x ⇒ dx = j x dx ⇒ dy = j x dx
2
x
⇒ ln lvl = -
2
+ C ⇒ lvl = e e
c x2 /2
⇒ y = ±ecex2 /2 = Kex2 /2
is the general solution, where K = 0 corresponds to the solution y 0. y(0) = -2 ⇒ =
K = -2 ⇒ y = -2ex / 2 is the solution of the initial-value problem.
2
The method employed in solving the first-order equations in the present chapter
ca,11 be applied to all equations of a particular type, and will be discussed in greater
generality in Chapter 2, as well as the methods required to solve other types of
first-order equation. Second-order equations will be discussed in Chapter 3, where
the concepts general solution, particular solution and initial-value problem will be
suitably generalized.
Exercises 1.1
1. Find the general solution of the equation y' + 2x = xe x .
1
2. Find the general solution of the equation -y' = 4cos(2x).
X
2
dy
4. Find the general solution of the equation ( = 4x2e 2x . 2
dx)
1
5. Find the general solution of the equation -- - y' = 2 sin(x).
COS (X )
dy
6. Solve the initial-value problem = ln(t), l > 0, y(l) = 2.
dt
7. Solve the initial-value problem y' = 4cos 2(x), y (�) = i
. . . x+3
8. Fm d the genera1 so1ut10n of the equation y' =
x _x_6
2
8 CHAPTER 1. INTRODUCTION
y
9. Find the general solution of the equation d = 12e 2x sin(3x).
x
!� =
d
10. Solve the initial-value problem 3y, y(O) = 2.
y
11. Solve the initial-value problem d = -2y, y(O) = 3.
dt
12. Solve the initial-value problem y' + cos(x)y = 0, y(1r) = -3.
First-Order Equations
The essential characteristic of a separable equation is that the quantity g(y) which
dy
multiplies is independent of x, whereas the right-hand side f(x) of the equation is
dx
independent of y. Either or both of these functions may, of course, be constant. The
reader may readily verify that the equations in Examples 1.4, 1.5 and 1.8 in Chapter
1 are separable. The method employed in their solution is applicable to any separable
equation. Thus, employing the substitution rule, we obtain
and evaluation of the last two integrals gives a relation between x and y containing
one arbitrary constant. (As seen in the examples in Chapter 1, a difference c2 - c 1
of two arbitrary constants may be replaced by a single one.) It may or may not
be possible to solve the relation for y explicitly as a function of x. Nevertheless, it
constitutes, at least in principle, the general solution.
3x 2
Example 2.1. The equation 2d is separable because it can be placed in the
dy
X
= y
dy
form 2y- = 3x 2
. Then
dx
J 2y �� dx = j 3x 2 dx ⇒ j 2y dy = j 3x 2 dx ⇒ y2 = x3 + c ⇒ y = ±Jx3 + c
9
10 CHAPTER 2. FIRST-ORDER EQUATIONS
is the general solution. If the initial condition y(O) = 2 is imposed, then it requires
that 2 = ±Jc, which gives c = 4 and we must take the plus sign. The solution of
the initial-value problem is then y = ✓x3 + 4. If, instead, the initial condition is
y(O) = -2, then,again, c = 4, but we must take the minus sign, and y = - ✓x3 + 4.
Example 2.2. The equation (x2 + 4)y' = .!__ is separable because it can be placed
2y
in the form 2yy' = -!--.
X+4
Then
j 2yy' dx = j :
x2 4
dx => j 2y dy = j x2
:
4
dx => y2 = � ln(x2 + 4) + c,
du
employing the substitution rule with u = x2 + 4, - = 2x,to obtain
dx
J x2
x
+4
dx =
1
2 J 2x
� dx = 2
1
J 1 du
; dx dx =
1
2 J 1
; du =
1
2 ln(u) + c.
Hence, y = ± ✓� ln(x2 + 4) + c.
j 2yeY y' dx =
2
j ln x)
� dx => j 2ye Y dy =
2
j ln x) .
� dx
du
Employing the substitution rule with u = y2 , - = 2y, in the integral on the left,
dy
dv
and v = ln(x), = ! ,in the integral on the right, we obtain
dx x
. \ .
2.1. SEPARABLE EQUATIONS 11
A straight line through the origin with slope m can be described by the equation
y = mx. The set of all such lines constitutes a one-parameter family of lines, one line
for each value of the parameter m. With f(x) = x, the family may be described by
y = mf(x) or, alternatively, g(x, y, m) = mx - y = 0.
A few circles centred at the origin and a few lines through the origin are displayed
in Figure 2.1.
Figure 2.1: Circles centred at the origin and lines through the origin.
Notice that, in Figure 2.1, every line intersects every circle orthogonally, i.e., at
right angles. More precisely, at every point of intersection, the line tangent to a circle
at that point is orthogonal (perpendicular) to the line through the origin.
Thus, every straight line through the origin is an orthogonal trajectory of the
family of circles centred at the origin, and every circle centred at the origin is an
orthogonal trajectory of the family of lines through the origin.
X
Example 2.4. The general solution of the first-order equation y' = -- is a one
y
parameter family of curves. Find the general solution and its orthogonal trajectories.
YY
I
= -x ⇒ 2 = -2 + c1 ⇒ y2 = -x 2 + 2c1 ⇒ x2 + y2 = 2c1 = c,
which defines a one-parameter family of circles centred at the origin for c > 0. Its
orthogonal trajectories must satisfy the equation y' = '}!_, which is also separable. If
X
y ¢. 0, then
�y'
y
=�
X
⇒ ln IYI = ln lxl + C ⇒ lvl = e ixl
c
⇒ y = ±ecx = K x,
=
which defines a one-parameter family of lines through the origin, in agreement with
the result inferred from Figure 2.1. The constant function y 0 (the x-axis) satisfies
the equation and corresponds to K = 0. The vertical line x = 0 (the y-axis) is an
orthogonal trajectory, but is excluded from the solution y = K x. It can be included
by regarding x as a function of y, expressing the equation y' = '}!_ as
X
dx
x, =-=-=-=-
1 1 x
dy dy y' y'
dx
Differentiation with respect to x gives y' = 2x. The orthogonal trajectories must
1 1
therefore satisfy y' = --, the general solution of which is y = -- ln lxl + k, and
2x 2
defines the orthogonal trajectories (Figure 2.2).
y )
. as -
Y = x2 y' - 2xy
We may express the equat10n
X2
k and then differentiate to obtain ---- = O'
x4
2y
.1.e., xyI - 2 y = Q, or yI = -. Alternatively,
X
2
y = kx2 ⇒ :2 = k and y' = 2kx ⇒ y' = 2x ( :2 ) = :,
14 CHAPTER 2. FIRST-ORDER EQUATIONS
as before. The orthogonal trajectories must therefore satisfy y' = _ _.:._, which is
2y
separable. Thus,
y' = -;
y
==> 2yy' = -x ==> y2
2
= -� + c ==> y = ±g, or �
2
+ y2 = c,
which defines a one-parameter family of ellipses for c > 0. A few members of each
family are displayed in Figure 2.3
Exercises 2 .1
1
1. Solve the initial-value problem y' = 3x 2y2, y(0) =
_
°
2
• •
2. Fmd the general solution of the equation y =
• I Jx+I .
y3
dy 2x + 1
3. Solve the initial-value problem (x 2 + 1) = y(0) = 3.
dx 3y2 ,
. . y' X
4. Find the general solution of the equation
4x2 + 3x- 2 - 5y 4
- 4y3 + 1-
I
. .. , ln(x)
5. Solve the m1tial-value problem xy - -- = 0, x > 0, y(l) = -3.
y
---- ---
2.2. HOMOGENEOUS EQUATIONS 15
' xy + x
7. Solve the initial-value problem y = , y(2) = -2.
xy-y
10. Find the general solution of the equation y' = 2x(y2 + 1) and its orthogonal
trajectories.
11. Find the orthogonal trajectories of the one-parameter family of curves y = x3 +c.
12. Find the orthogonal trajectories of the one-parameter family of curves y = kx 4 .
13. Find the orthogonal trajectories of the one-parameter family of curves y = ecx.
y
y' = '!!_, y' = X
+ = l + '!!._
X X X
and
x2 + y 2 x y l y
y' =---=-+-=-+-
xy y x y/x x
/ X2 + Y . not, smce
Y 1s . x and y may appear only
are homogeneous, whereas y = -- =x+-
X X
as the combination '!!._.
X
which has the form g(u)u' = h(x), and is separable. After u is found, y is obtained
by y = XU.
,
'
I
1 y l
+ XU,=y,= - + - = - + U.
: yjx X
U
U
1
Then xu' = - ,which is separable. Thus,
u
1 1 1
xu' ⇒ uu = -
I
⇒ -u2=ln x
l l + c1 ⇒ u2=21n lxl + 2c1 = 21n lxl + c
U X 2
⇒ u = ±J2 ln lxl + c ⇒ y=xu = ±xJ2 ln lxl + c ..
xy' = yn
l (y) -yln(x), x > 0, y > 0,
In order to evaluate the integral on the left, make the substitution v= ln(u) - 1.
dv l
Then - =-,and we obtain
du u
J
unu
l
[l ( ) - l
] du=
J l dv
- -du=
v du J l
- dv=ln v
v
l l = ln I ln(u) - 11-
\
2.2. HOMOGENEOUS EQUATIONS 17
x2 y' = x2 + xy + y2 , y(l) = l.
= I + ;; + (Y)
y 2
The equation can be placed in the form y I ;; , . h omogeneous.
and 1s
y 1 / 1
'/1, = - =} y = XU =} U + XU
I
= yI = l + U + U2 =} XU
I
= 1+ U 2 =} --- U
1 2+u
f- J
X X
1
⇒ - du= _!-_ dx ⇒ tan-1(u) = ln lxl +c ⇒ u = tan(ln lxl + c).
1 + u2 X
7f
Hence, y = x tan(ln lxl + c) is the general_ solution. y(l) = 1 ⇒ tan(c) = 1⇒ c = ,
4
and the solution of the initial-value problem is y = x tan (in lxl + �).
y e- y/x
can be placed in the form y' = - + --, and is homogeneous.
X y1 X
e-U
=} U + XUI = y I = U +-
J J�
u
⇒ ueu du = dx = ln lxl + c.
Integration by parts gives J ueu du= ueu - eu . Hence, ueu - eu = ln lxl + c, i.e.,
(
18 CHAPTER 2. FIRST-ORDER EQUATIONS
Exercises 2. 2
x+
1. Solve the initial-value problem y' = Y, y(l) = 2.
X
3. Solve the initial-value problem y' = V:, + '!!_, x > 0, y > 0, y(l) = 9.
vY X
where a(x) ¢ 0, b(x) and c(x) may be any functions of x whatsoever (or constants),
but are independent of y and y'. An equation which is not linear is called nonlinear.
For example, the equations ex y' + ln(x)y = x3 + 1, y' = 6 and y' + x2 y = 0 are
linear, but yy' = l, y' + sin(y) = 0 and y' + y2 = x are nonlinear.
)
b(x
In order to solve a linear equation, divide the equation by a(x) and let P(x) = )
. ax(
c(x)
and Q(x) = to place the equation in the standard form
ax( )
The function J(x) is chosen so that the left-hand side I(x)y'+ I(x)P(x)ybecomes
[J(x)y]'. Employing the product rule, this requirement becomes
'(x)
which gives l(x)P(x)y= I '(x)y, or I(x)P(x) = I' (x) . Then 1!· = P(x) and,
(x)
employing the substitution rule, we obtain
Example 2.11. The equation y' + 2y = 1 is linear, with the integrating factor
I(x) = ef
2d
x =e 2x _
·;ri1egrat10n
· of w h"1ch gives
· e
2x
y= J e dx
2x
= 1 e 2x + c and, hence, y =
2
1
2 + ce-2 x_
/ 1
y --y=lnx)
( , x>O, y)=-3.
l(
X
du ]:_
integration of which , employing the substitution rule with u = ln(x) and = '
.
gives
dx x
l
-y =
X
X
J ln(x)
--dx
X
=
J du
u- dx
dX
=
J l
udu = -u2
2
+c=
X
1
-[ln(x)] 2
2
+ c'
and y = -[ln(x)] 2 + ex. Then y(l) = -3 ==> c = - ==> y = -[ln(x)] 2 - 3x.
3
2 2
J J
Integration by parts then gives
xy = 4x e-2x dx = -2xe-2x + 2e-2x dx = -2xe-2x - e-2x + c,
e-2x C
and y = -2e-2x - -- + -.
X X
1 , sin(x) .
- - y + 2 ()
y = 2sm(x)cos(x),
COS(X -) COS X
l.C.'
[cos\x)
v]'
= 2sin(x)cos(x) = sin(2x),
J
integration of which gives
l l 1
- - - y = sin(2x) dx = -- cos(2x) + c ==> y = --cos(x
2
)cos(2x) + ccos(x).
COS(X ) 2
1 5 1 5
Then y(1r) = - 2==> -2 = - c ==> c = ==> y = - cos(x)cos(2x) + cos(x).
2 2 2 2
2.3. LINEAR EQUATIONS 21
wherea(x) ¢. 0, b(x) and c(x) are functions of x (or constants), but are independent
of y and y', and a is a real number.
1 ---1 I
1 1
YI = --U 1 0 U = _g_ I
--U1-0U
1-a 1-a
1
+ b(x)u� = c(x)uT=o.
et I I a
--a(x)u 1 -au
1-a
-Ct
Multiplication by u� then gives
which is linear. Once the linear equation is solved for u(x), the solution y(x) of the
Bernoulli equation is obtained by y = u �.
Then
l , 2 1 1 '
x 2u - u= -
x x3
⇒ ( 2 u)
1
⇒ I_u=j-I_dx= --+c
1
3
x x3 x2 x3 2x2
⇒ u=- 1 +cx2 ⇒ y =u
-1
=
1
1 2
2
2
+ cx2 - 1 + kx2
is the general solution.
is the general solution. Note thatu112 = ±Ju. In fact, it is evident from the Bernoulli
equation that if y is a solution, then so is -y, because
2x2
I
y' + 2x2 y= vY, y > 0, y (O) =4.
1 3
The equation is a Bernoulli equation with a= -
2. With 1 - a=
2,
i.e.'
2.3. LINEAR EQUATIONS 23
⇒ u = 1 + ce-x ⇒ y = u
3 2 /3 = (1 + ce-x3 ) 2 /3
is the general solution, and y(0) = 4 ⇒ (1 + c)2 1 3 = 4 ⇒ c 43/2 - 1 7 ⇒
y = (1 + 7e- x )
3
213
is the solution of the initial-value problem.
Exercises 2. 3 \
12. Find the general solution of the equation x ln(x)y' + y = - 22x , x > 0.
X -1
1
13. Solve the initial-value problem 3y' - y = 2, y(0) = 2.
y
14. Find the general solution of the equation y' + 4y = 2e- x y'Y, y > 0.
15. Solve the initial-value problem 2x2 y' - 2xy = -y3 sin(x), y (�) = 1r.
16. Find the general solution of the equation xyy' + y 2 - xex = 0.
17. Find the general solution of the equation x ln(x )y' + y = 2yy/y, x > l, y > 0.
24 CHAPTER 2. FIRST-ORDER EQUATIONS
Definition 2.8. A function f of two variables assigns to any pair (x, y) in its domain
a real number denoted byf ( x, y), where the domain of f is either specified or taken
to be all points (x, y) in the plane where f ( x, y) is defined.
Several such functions have already been encountered in the preceding sections.
For example,
are functions of two variables. In the.above, the domain off is the entire plane IR2,
that of g is the set of all points (x, y) with y i= 0, and that of his the set of all points
(x, y) with x - y 2'. 0, i.e., x 2'. y.
Definition 2.9. Let f be a function of two variables x and y. The partial derivative
off with respect to x is the function j� or �� of two variables defined by
uX h->O h
The partial derivative off with respect to y is the function J� or �� of two variables
defined by
fy (x,y ) _
- a f(x,y) _- 1.Im J(x,y + h)-J(x,y)
.
!:}
uy h->O h
z
If z = J(x,y), then o = fx (x,y) is the rate of change of z with respect to x with
ox
y held constant, and �: = j�(x, y) is the rate of change of z with respect toy with
x held constant.
Example 2.18. Let f(x,y) = x4y2 + 2x- 3y+ e x - ln(y) - sin(y) + cos(x) + 2. Then
a Jx = O af 3 f. h
2
fxx = . 1 denvat1ve
1s t e partia . . of fx wit . h respect to x,
ox ox ox ox2
a
� fx = �� =
aa
f a2 f
� .1s tl1e partia . 1 denvative
.
.
. of 1·x with respect toy,
uy uy ux uyux
a fy
aa
f o2 f . .
. i denvative
1s the partia
.
. of fy with respect to x,
ox· = ox oy = oxoy
a1
a af
= �� =
a2 f . .
uy ·y
� !:}
2
1s the partia
. i denvative
. . of fy with respect toy.
uy uy uy
26 CHAPTER 2. FIRST-ORDER EQUATIONS
2e 2x
fxy (x,y) 12x2 y3 + --,
y
?e 2x
12x2 y3 + -�-,
y
e 2x
12x3 y 2 - - - 6y.
y2
Note that, in this example, fxy = fyx · Although this is not true in general, the
conditions under which it is true are given by the following:
Theorem 2.1. If fxy and fyx are continuous in an open region R of the (x,y)-plane
(i.e., R excludes its boundary), then f�y (x,y) = fyx (x,y) for all (x,y) in R.
. . . � ��
In other words, 1f z 1s a funct10n of x and xis a function oft, then - = --.
dt dx dt
Several versions of the chain rule exist for functions of two (or more) variables.
The one of interest in the present study is the following:
2.4. FUNCTIONS OF TWO VARIABLES 27
Theorem 2.2. (The Chain Rule) If f is a function of two variables and x and
y are functions of a single variable t, then the composition h(t) = f(x(t), y(l)) has
derivative
d � �
h'(l) = J(x(t), y(t)) = fx(x(t), y(t)) dl + fy (x(l), y(l)) dt . (2.1)
dl
In other words,if z = f (x, y) and x and y are functions of t, then
dz 8 f dx 8 f dy
-=--+--.
dt 8x d t 8y dl
Example 2.20. Let f(x, y) = x2 + y3, x(t) = t3 - 6l + 1 and y(t) =et +3t. Then
is a function of t, and
8 ! dx 8 ! dy
h' (t)
8X dt
+
8y d t
= 2x(t)(3t2 - 6) +3[y(t)] 2(e l +3)
2(t3 - 6l +1)(3t2 - 6) +3(e +3t) (i +3).
t 2
dx
In Theorem 2.2, consider the special case where x(t) = l. In that case, =1,
dt
and Equation (2.1) reduces to
d dy
J(x, y(x)) = fx(x, y(x)) + fy (x, y(x)) dx , (2.2)
dx
which is the version of the chain rule required in the study of exact equations.
Exercises 2.4
1. Let f(x, y) = x3 - y2 + x2 y2 + 1.
(a) Determine J(l, 0), f(3, 1), f(l, 3) and f(2, -1).
28 CHAPTER 2. FIRST-ORDER EQUATIONS
(b) Find fx (x,y) and fy (x,y), and the values of these functions at the points
(1, 0), (3, 1), (1, 3) and (2, -1).
(c) Find fxx (x,y), fxy (x,y), fyx (x,y) and fyy (x,y), and the values of these
functions at the points (1, 0), (3, 1), (1, 3) and (2, -1).
Suppose that there exists a function J of two variables such that fx = P and
fy = Q. Then Equation (2.3) takes the form
dy
fx + fy =
dx 0
2.5. EXACT EQUATIONS 29
Theurern 2.3. Suppose that P and Q have continuous first-order partial derivatives
in an open region R of the plane. If the equation P(x,y) + Q(x,y)y' = 0 is exact in
R, then Py (x,y) = Qx (x,y) for all (x,y) in R.
Proof. Since the equation is exact, there exists a potential function f. Then fx = P
and fy = Q * fxy = Py and fyx = Qx , Since Py and Qx are continuous in R, fxy and
fyx are continuous in R, hence equal by Theorem 2.1. Thus, Py = Qx in R.
dy
Example 2.22. Consider the equation x 2 + y2 + xy = 0.
dx
P(x,y) = x 2 + y2 , Q(x,y) = xy, Py = 2y, Qx = y, Py =I= Qx, hence, the equation is
not exact, by Theorem 2.4.
It is not true, in general, that if Py = Qx, then the equation P(x, y)+Q(x,y)y' = 0
is exact. In order to state a converse of Theorem 2.3, i.e., a theorem which gives the
conditions under which exactness follows from Py = Qx , the following definition is
required.
30 CHAPTER 2. FIRST-ORDER EQUATIONS
Definition 2.12 is, of necessity, merely informal, since the mathematically rigorous
definitions of connected and simply connected sets are beyond the scope of this book.
Theorem 2.5. Suppose that P and Q have continuous first-order partial derivatives
in an open, simply connected region R of the plane. If Py = Qx in R, then the
equation P(x, y) + Q(x, y)y' = 0 is exact in R.
Note that, if the region R is not simply connected, then the equation may not be
exact, even if Py = Qx -
are continuous in the plane, which is simply connected, and Py = Qx . Hence, the
equation is exact by Theorem 2.5. A potential function f exists, and satisfies the two
conditions fx = P and fy = Q.
fx = P ⇒ f(x, y) = J P(x, y) dx = J x2
3
+ y2 dx = � + xy2 + g(y),
where g(y) is an arbitrary function of y. Note that, in the above integration with
respect to x, y is regarded as a constant, and g(y) has the role of the arbitrary
d
"constant" of integration, being the most general expression such that g(y) = .
dx 0
Then fy = Q ⇒
x3
2xy + g'(y) = 2xy ⇒ g'(y) = 0 ⇒ g(y) = c1 =? f ( X, Y) =
3 + xy2 + C1,
x3
f ( x, y) = or
3 + xy + c1 = c2,
2
2.5. EXACT EQUATIONS 31
P(x,y) = 4x3 - 2x + 3y, Q(x,y) = 3x + 2y, all first-order partial derivatives of both
P and Q are continuous in the plane, which is simply connected, and Py = 3 = Qx .
Hence, the equation is exact by Theorem 2.5. A potential function f exists, and
satisfies the two conditions fx = P and fy = Q.
Note that, if we begin with the condition fy = Q instead of fx = P, then the result
will be the same. Thus,
fy = Q => J(x,y) =
J Q(x,y)dy= f 2
3x+2ydy= 3xy+y +g(x),
where g(x) is an arbitrary function of x, being the most general expression such that
d
g(x) = 0. In the above integration with respect toy, x is regarded as a constant.
dy
Then fx = P =>
3
3y+g'(x)=4x -2x+3y ⇒ g'(x)=4x3 -2x ⇒ g(x)=x4 -x2 +c 1
As shown in Example 2.22, this equation is not exact because Py =I= Qx. Thus, any
attempt to determine a function f such that fx = P and fy = Q must fail. Proceeding
as in the last two examples,
and fy =Q⇒
2xy + g'(y)= xy ⇒ g'(y)= -xy,
32 CHAPTER 2. FIRST-ORDER EQUATIONS
and fy = Q ⇒
ex +xcos(y) + g'(y)=e x +xcos(y) + 1 ⇒ g'(y) = 1 ⇒ g(y) = y + c1
⇒ f(x,y)=ye x +xsin(y)+y +c1,
and the general solution is ye x + x sin(y) + y = k. Setting x = 0 and y = -3 then
gives k = -6, and the solution of the initial-value problem is ye x + x sin(y) + y = -6.
P(x,y) = y ln(x) +2x, Q(x,y) = -x+x ln(x)-3y2 , all first-order partial derivatives of
both P and Qare continuous in the right half-plane x > 0, which is simply connected,
and Py = ln(x) = Qx - Hence, the equation is exact by Theorem 2.5.
and fx = P ⇒
xyln(x)- xy +x 2 - y3 = -9.
2.5. EXACT EQUATIONS 33
is exact. The exactness of Equation (2.4) requires that (IP)y = (IQ)x - Employing
the product rule, this condition becomes
This partial differential equation for the unknown function I ( x, y) is more difficult to
solve than the given ordinary differential equation, and simplifying assumptions must
be made, which may or may not succeed.
If I(x) does not exist, then seek an integrating factor I(y) which is independent
of x. Then Ix = 0, Iy = J'(y), and the condition (2.5) becomes
I'(y)
(2.7)
I(y) (
If the right-hand side of Equation (2.7) is independent of x, then I(y) is determined
by Equation (2.7). Otherwise, Equation (2.7) is a contradiction because the left-hand
side is independent of x. In that case, I (y) does not exist.
jx + y
3
+ 2xy2 y' = 0, X > 0.
P(x,y) = ..jx + y , Q(x,y) = 2xy , Py (x,y) = 3y , Qx (x,y) = 2y , Py =/= Qx, hence,
3 2 2 2
I'(x)
= � ⇒ ln II(x)I = ! ln(x) = ln (x 1 12
) ⇒ I(x) = ±x 112 = ±Jx.
I(x) 2x 2
With I(x) = x 112, the equation becomes
and fy = Q ⇒
1 2 3/2 3
2x3 f 2 y2 + g'(y) = 2x3f2y2 ⇒ g(y) = c1 ⇒ J(x,y) =
2
2
x +
3x y + c1,
. . 1 2 2
and the general solut10n 1s x + 3/2 3
y = k�, or 3x2 + 4x3/ 2 Y 3 _
- k 1-
2 3x
2.5. EXACT EQUATIONS 35
x2 )
+y+ ( + X + XY y1 = 0.
X
2
Py= 1, Q x = x + 1 + y, Py # Q x , hence, the equation is not exact. Since
-x-y
x2 + X + xy
is not independent of y, I(x) does not exist. Since
Qx Py x+
-
= y = l
p x+y
2
(x+y)e Y + (� +x+xy)eY y'=O,
and fu = Q ==>
J'(y) -2x 1 1
==> ln II(y)I=-- ln(y) ==> I(y) =y- 112.
J(y) 4xy 2y 2
36 CHAPTER 2. FIRST-ORDER EQUATIONS
and fv =Q⇒
x 2 y-l/ 2 + g'(y) = x 2y -l/2 + 1 ⇒ g'(y) = 1 ⇒ g(y) = y + C1
⇒ J(x, y) = 2x2y 112 + y + c1,
and the general solution is 2x 2 y 112 + y = k. Setting x = 1 and y = 4 gives k = 8, and
the solution of the initial-value problem is 2x 2 y112 + y = 8.
Exercises 2. 5
1. Find the general solution of 3x2 + y + 1 - (3y2 - x + l)y' = 0.
3x 2y2 - y - 2xy3
5. Solve the initial-value problem y' = , y(2) = 1.
3x 2y2 - 2x 3 y+x
2x + 2
-------- 2y - 3 dy = .
+ 1 + -------- O
x + y + 2x - 3y + 3
2 2 x + y + 2x - 3y + 3 dx
2 2
y X
13. Consider the equation yI = O.
X2 +y 2 X2 +y 2
(a) Show that Py = Qx in the region R = {(x, y): (x, y) =/= (0, 0)}.
(b) Solve the equation.
(c) Is the equation exact in R?
14. Solve the initial-value problem x + 6y2 + 4xyy' = 0, y(2) = 0, and express y in
terms of x.
Chapter 2 Exercises
1. Consider the equation xy + y2 - x2 y' = O.
(a) Solve it as a homogeneous equation.
(b) Solve it as a Bernoulli equation.
y2
2. Consider the equation - y' = 0.
X2
10. (a) Show that any separable equation can be expressed as an exact equation.
(b) Solve the equation y + x ln(x) ln(y)y' = 0, x > 0, y > 0, as a separable
equation.
(c) Solve the separable equation in part (b) as an exact equation.
11. Consider an equation of the form y' = J(ax +by+ c), b-=/- 0.
(y') 2 + 1
18. Consider the equation = 1.
(y-xy')2
19. Peano 's existence theorem states that, if f is continuous on a rectangular region
R with sides parallel to the axes, and if (x0 , y0) is an interior point of R, then
the initial-value problem y' = f(x, y), y(x0) = y0, has a solution.
(a) Find the general solution of the equation y' = '#._ and express y as a function
X
of x.
(b) Show that the initial-value problem with the initial condition y(0) = 1 has
no solution, and give the reason.
20. Picard 's existence and uniqueness theorem states that, if f and fy are continuous
on a rectangular region R with sides parallel to the axes, and if (x0, y0) is an
interior point of R, then the initial-value problem y' = J(x, y), y(x0) = y0, has
a unique solution.
Second-Order Equations
Example 3.1. The second-order equation y" = x can be solved by two integrations:
yII = X ⇒ yI = 1 x 2 + C1
2
is the general solution since it contains two arbitrary constants c1 and c2 which cannot
be replaced by a single arbitrary constant. Particular solutions are
1 3 1 1 3
y= x , y = x3 + 2x + 1, and y = x - 4x - 3,
6 6 6
corresponding to c1 = c2 = 0, c1 = 2, c2 = 1, and c1 = -4, c2 = -3, respectively.
In Example 3.1, if the initial conditions y(0) = 2 and y'(0) = 3 are imposed, then
y = 6x
1 3 + C1X + C2 and y 0 = 2 ⇒ = 2 ⇒ y = 61x3 + C1X + 2 ⇒ yI = 2x
12 + C1,
() C2
1
and y' (0) = 3 ⇒ c 1 = 3 ⇒ y = -x 3 + 3x + 2
6
43
44 CHAPTER 3. SECOND-ORDER EQUATIONS
!�:; ,
where a(x) :/= 0, b(x), c(x) and g(x) are functions of x (or constants). Otherwise,
the equation is nonlinear. Dividing the equation by a(x) and letting p(x) =
c(x) g(x)
q(x) = and J(x) = , the equation may be placed in the standard form
a(x) a(x)
y" + p(x)y' + q(x)y = f(x).
=
If f(x) 0, then the equation y" +p(x)y' +q(x)y = 0 (or a(x)y" +b(x)y' +c(x)y = 0)
is called homogeneous. Otherwise, it is nonhomogeneous.
It follows by Definition 3.4 that two functions are linearly dependent on I if and
only if one of the functions is a constant multiple of the other on I: Suppose that
C1Y1 + C2 Y2 = 0.
-C2 -C1
If Ci-/=- 0, then Yi = -y2 , and if C2 -/=- 0, then Y2 = -yi.
� �
Conversely, if Yi = cy2 , then 1 · y1 - cy2 = 0 (with ci 1 -/=- 0 and c2 = -c), and if
=
y2 = cy1, then cy1 - 1 · Y2 = 0 (with c1 = c and c2 = -1 -/=- 0). Two functions are
linearly independent on J if and only if neither one is a constant multiple of the other
on J.
More generally, Yi = e
rix
and y2 = e
rz x
are linearly independent on IR if and only if
ri -/=- r2.
Exercises 3 .1
1. Find the general solution of the equation y" + 6x2 + sin(x) = 2.
5. Determine whether the given equation is linear and homogeneous, linear and
nonhomogeneous, or nonlinear.
7. Show that the functions y 1 = x0 and y2 = xf3 are linearly dependent on I if and
only if a = /3, where I is any interval where both functions are defined.
9. Show that the functions y 1, Y2, · ··, Yn are linearly dependent if and only if (at
least) one of the functions is a linear combination of the others.
Theorem 3.1. If y1 and y2 arc any two solutions of a linear, homogeneous equation
y" + p(x )y' + q(x)y = 0, then any linear combination y = C1Y1 + C2Y2 is a solution.
Proof.
Theorem 3.2. The equation y" + p(x)y' + q(x)y = 0 has precisely two linearly
independent solutions y 1 and Y2, and the general solution is y = CiY1 + c2y2, where ci
and c2 are arbitrary constants.
Note that, if we take Yi = cos(x) and Y2 = 2 cos(x), then, although both Y1 and Y2
are solutions of y" + y = 0, they are not linearly independent since y2 = 2yi. Then
y = C1Yi + C2Y2 = ci cos(x) + 2c2 cos(x) = (c1 + 2c2) cos(x) = kcos(x) is not the
general solution. Thus, it is essential that Yi and y2 be linearly independent solutions
in order for C1Y1 + C2 Y2 to be the general solution.
Reduction of Order
Suppose that Yi is a solution of
Y2 = uyi ==>- Y2
I
= u Yi + UYi,
I I
Y2
fl
=u
ff
Y1 + 2' '
u Yi + UY1 ,
ff
48 CHAPTER 3. SECOND-ORDER EQUATIONS
ar2 + br + c = 0, (3.3)
called the indicial equation. Employing the quadratic formula, the solutions of the
indicial equation (3.3) are given by
-b ± Jb - 4ac
r=------
2
(3.4)
2a
3.2. LINEAR HOMOGENEOUS EQUATIONS 49
There are three possibilities, namely, b2 - 4ac > 0, b2 - 4ac = 0, and b2 - 4ac < 0,
and each must be analysed separately.
-b
Case (ii) If b2 - 4ac = 0, then r = - is the only root, and one solution is y1 = erx _
2a
In order to determine a second, independent solution, employ reduction of order. The
standard form of the equation ay" +by'+cy = 0 is y" + �y' + <::._y = 0, with p(x) = �.
a a a
By Equation (3.2),
Note that 4r 2 - 12r + 9 = (2r - 3)2 = 0 also gives r = � as the only root. Thus,
two independent solutions are y1 e� x and y2
=;= = xe � x , and the general solution is
y = e2 x (c1 + c2 x). Then y(0) = 0
3
⇒ c1 = 0 ⇒
Case (iii) If b2 - 4ac < 0, then the roots of the quadratic are complex,
In order to extract two real, independent solutions from the complex ones, employ
the fact that any linear combination of solutions is a solution (by Theorem 3.1), and
Euler's identity, which states that, for any real 0,
e
i0
= cos(0) + isin(0).
Thus, express the complex solutions as
<o+if3) x = eaxeif3x = eax [cos(f3x) + isin(/3x)] and
z1 e
z2 e<a-if3)
x
= eax e-if3x = e ax [
cos(/3x) - isin(/3x)],
3.2. LINEAR HOMOGENEOUS EQUATIONS 51
and let
+ Z2 + Zt
Zl
= Zl
= 1n
:J1. ( z 1 ) = e
QX
r:i ) and
cos( /Jx
2 2
= Zi = :::.S ({JX
°'( Z1 ) = e
Z1 - Z2 Z1 - o
)'
x ·
Sln
2i 2i
where �(z1) is the real part of z 1 and <s(z 1) its imaginary part. Then Y1 and Y2 are
two real, independent solutions, and the general solution is
4y" + 6y' + 3y = 0.
y= e
rx
-6 ± J36 - 48
⇒ 4r2 + 6r + 3 = 0 ⇒ r = --- J3 i ⇒
--- = - -3 ± -
8 4 4
The standard form of an Euler equation is y " + ..!!_ y , + __!:_2 y = 0. Since p(x) = ..!!_
ax ax ax
c
and q(x) = -2 are undefined at x = 0, the solution may be undefined at x = 0. Such
ax
a point is called a singular point or singularity of the equation.
For x > 0, seek solutions of the Euler equation (3.5) in the form y = xr , where r
is a constant to be determined. Then
The three cases where the quadratic ar2 + (b - a)r + c in Equation (3.6) has two
real, distinct roots, a repeated real root, and two complex conjugate roots must be
analysed separately.
Case (i) If the quadratic has two real, distinct roots r 1 and r2 , then two independent
solutions of the Euler equation are y1 = xr 1 and y2 = xr2, and the general solution is
y = C1Xr1 + C2Xr2 .
Case (ii) If the quadratic has a repeated real root r = a - b, which occurs if and
2a
only if (b-a)2 -4ac = 0, then one solution is y1 = xr . A second, independent solution
y2 = u(x)y 1 is obtained by reduction of order. By Equation (3.2) on page 48,
2 -
V = u' = �e-fp(x)dx = _l_e-f abx dx _e-� ln(x) = _l_e(r2 -l)ln()x = x r l
= _l2r
1
YI x2r
x 2rx 2 xr X
⇒ u = ln(x) ⇒ Y2 = xr ln(x),
and the general solution is y = c 1 xr + c2 xr ln(x) = xr [c1 + c2 ln(x)].
Case (iii) If the quadratic has two complex conjugate roots r = a± i/3, then two
complex solutions are z 1 = xa +i/3 and z2 = xa -i/3 = z 1. Since x7 = e 10(x ) = e 7 1 n(x) for
-Y
3.2. LINEAR HOMOGENEOUS EQUATIONS 53
any real number 'Y, we define the quantity xi0 by x = e ( ) . Employing Euler's
iO iOln x
By Theorem 3.1, since the Euler equation is linear and homogeneous, any linear
combination of solutions is a solution. Thus, two real, independent solutions are
�+� �+�
= =�(z1 )=x°' cos[,Bln(x)l and
2 2
Z1 - Z2 Z1 - Z1
= =S'(z1)=x°' sm[,Bln(x)],
2i 2i
and the general solution is y=x°' { c1 cos[,Bln(x)]+ c2 sin[,Bln(x)]}.
If x < 0, let t =-x > 0 and y(x)= z(l). Then, by the chain rule,
dy _ dz dl _ dz d2y _ d dz dt _ d2 z _ d2 z
- - ( ) ( l)
dx dl dx dl' 2
dx - dt dt dx - dt 2 - dl 2'
and the equation ax2 y" + bxy'+ cy=0 transforms into at2 z" + blz' + cz = 0, i.e., an
Euler equation for z(t) with l > 0. Since y(x)=z(l)=z(-x), the solutions y(x) for
x < 0 are obtained from the solutions z(t) by replacing l by -x. Employing the fact
that
x, x > 0
lxl= { }
-X, X <0
the solutions of an Euler equation for any x f O can be obtained from the solutions
for x > 0 by replacing x by lxl.
2x 2 y" + xy'-3y = 0.
For x > 0, y = xr ⇒
X
2 /I
y + xyI -y = 0 y(l) = 0, y'(l) = -4.
For x > 0, y = xr ⇒
r ( r - l) + r - l = r2 - 1 = (r - l) (r + l) = 0 ..
⇒ r1 = 1 and r2 = -1. The general solution for any x =I= 0 is
r(r - 1) - 5r + 9 = r 2 - 6r + 9 = (r - 3) 2 = 0 ⇒ r = 3
is the only root. The general solution for any x =I= 0 is
Then y(l) = 0 ⇒ C3 = 0 ⇒ y = c4x3 ln lxl, y' = c4 (3x2 ln lxl + x2), and y'(l) =2⇒
c4 = 2 ⇒ y = 2x3 ln lxl is the solution of the initial-value problem.
3.2. LINEAR HOMOGENEOUS EQUATIONS 55
Exercises 3.2
1 . Find the general solution of the equation y" - y' - 2y = 0.
2. Solve the initial-value problem y" + y' - 6y = 0, y(0) = 0 , y'(0) = 10, and
determine y(l) and y'(l).
17. Find the general solution of the equation 6x2 y" + 7xy' - 2y = 0.
18. Solve the initial-value problem x2 y" - 7xy' + l6y = 0, y(l) = 0, y'(l) = 2, and
determine y(-1) and y(e).
19. Find the general solution of the equation 9x2 y" - 3xy' + 4y = 0.
20. Employ three different methods to solve the equation x2 y" + xy' = 0.
21. Find the general solution of the equation -2x 2 y" + 2xy' - 5y = 0.
22. Solve the initial-value problem x2 y" - 3xy' + 13y = 0, y(l) = 0, y'(l) = 6.
23. Find the general solution of the equation x2 y" + xy' + 4y = 0.
3.3. LINEAR NONHOMOGENEOUS EQUATIONS 57
The solutions y 1 and y2 of Equation (3.8) are called the homogeneous solutions,
and g(x) in Equation 3 ( .7) is called the nonhomogeneous term.
I\ If g(x) consists of certain, particular forms, then the form of a particular solution
yp , containing unknown constants, of Equation 3 ( .9) can be deduced. The unknown
constants in YP are then determined by forcing YP to be a solution of Equation (3.9).
This is called the method of undetermined coefficients.
If g(x) = C ef3x , where C and /3 are constants, then YP = Aef3x , provided that ef3x
is not a solution of Equation (3.10).
58 CHAPTER 3. SECOND-ORDER EQUATIONS
y II -y-
I x
2y= 3e.
y II-yI - 2y= 0
and y = erx =? r 2-r -2 = (r -2)(r + 1) = 0:::} y1 = e2x, Y2 = e-x, and the general
solution of the homogeneous equation is Yh = c1 e2x + c 2 e- x .
Since g(x) = 3ex and ex is not a solution of the homogeneous equation, YP = Aex .
Then y'p = Aex yp11= Aex and
)
)
3 3
Thus, YP =
- ex and y = YP + Yh = -2 ex + c1e2x + c2 e-x is the general solution of
2
the nonhomogeneous equation.
yll + y= 0,
y" - 4y = 8e2x .
The associated homogeneous equation is
y" - 4y = 0,
and y = erx ⇒ r2 - 4 = 0 ⇒ r = ±2 ⇒ Yi = e x, y2 = e- x, and the general solution
2 2
If both ef3x and xef3x are solutions of Equation (3.10), then yP = x2 ef3x . In this
case, x2 ef3x cannot be a solution of Equation (3.10) because a linear, second-order
equation has precisely two independent solutions (Theorem 3.2).
y" - 6y ' + 9y = 0,
and y = erx ⇒ r 2 - 6r + 9 = (r - 3) 2 = 0 ::::} Yi = e 3x, Y2 = xe3x, and the general
solution of the homogeneous equation is Yh = c1 e3x + c2 xe3x .
Since g(x) = 4e 3x and both e 3x and xe 3x are solutions of the homogeneous equation,
YP = Ax2e 3x . Then y; = Ae3x (2x + 3x2 ), yi = Ae3x (2 + 12x + 9x2 ), and
Thus, YP = 2x2 e3x and y = YP + Yh = 2x2 e3x + cie3x + c2 xc3x is the general solution
of the nonhomogeneous equation.
60 CHAPTER 3. SECOND-ORDER EQUATIONS
3. YP = Ax2e/3x , if both ef3x and xef3x are solutions of the associated homogeneous
equation.
y" + 4y' + 4y = 0,
and y = erx ⇒ r 2 + 4r + 4 = (r + 2)2 = 0 ⇒ Y1 = e- 2x , Y2 = xe- 2x, and the general
solution of the homogeneous equation is Yh = c 1 e- 2x + c2 xe- 2x.
Since g(x) = 6sin(3x) and sin(3x) and cos(3x) are not solutions of the associated
homogeneous equation, YP = Acos(3x) + Bsin(3x). Then
1.e.'
(12B - 5A) cos(3x) - (12A + 5B) sin(3x) = 6 sin(3x),
which holds if and only if A and B satisfy the system { ���: �2/} : !6 } , with
72 30 72 30 .
the solution A =- and B =- . Thus, yP =- cos(3x) - sm(3x) and
169 169 169 169
72 ) 30 . ( )
Y = YP + Yh = - cos ( 3x + c 1 e-2x + c2 xe-2x
- sm 3x
169 169
is the general solution of the nonhomogeneous equation. Note that YP includes both
a cosine term and a sine term, even though g(x) includes no cosine term.
YP = x[Acos((3x) + Bsin((3x)].
In this case, xcos((3x) and x sin((3x) cannot be solutions of Equation (3.10) because a
linear, second-order equation has precisely two independent solutions (Theorem 3.2).
y" + y = 0,
and y = erx =} r 2 + 1 = 0 =} r = ±i =} y 1 = cos(x),
y2 = sin(x), and the general
solution of the homogeneous equation is Yh = c 1 cos(x) + c2 sin(x).
Since g(x) = 2cos(x) and cos(x), sin(x) satisfy the associated homogeneous equation,
YP = x[Acos(x) + Bsin(x)].
Then
The case where g(x) = C cos(/3x) + D sin(/3x) can be summarized by the following:
l. YP = A cos(/3x) + B sin(/Jx), provided that cos(/3x) and sin(/3x) are not solutions
of the associated homogeneous equation.
YP =Ao+A1x + A2 x2 + · · · + Anxn ,
provided that no term in YP satisfies Equation (3.10).
y" - Sy'+ 6y = 0,
13 13 .
which gives B = 2 and A=
. .
6. + 2x, and the general solut10n of the
Hence, YP
6 =
13
e 2x + c2e3x .
nonhomogeneous equat10n 1s y = YP + Yh =
6 + 2 + c1
x
---
3.3. LINEAR NONHOMOGENEOUS EQUATIONS 63
y"-2y' = 2-3x.
y"-2y' = 0,
The latter cannot contain any terms which satisfy Equation (3.10), because the only
polynomial which can satisfy a homogeneous equation with constant coefficients has
degree zero or one, and every term in the above polynomial has degree at least two.
y" = 0,
64 CHAPTER 3. SECOND-ORDER EQUATIONS
Since g(x) = 24 - 36x + 12x2 and both a constant and x satisfy the homogeneous
equation, YP i- A+Bx+Cx2 and YP i- x(A +Bx+Cx2 ), but
Of course, this equation can be solved much more easily simply by two integrations:
as above.
For y" + 4y = 4x2, YP i =A+ Bx+Cx2. Then y� 1 = B + 2Cx, yi1 = 2C, and
y:1 + 4yp 1 = 4x2 if and only if 2C + 4(A +Bx+Cx ) = 4x ,
2 2
1 1
which gives C = 1, B = 0, and A = - . Hence, Yp 1 = - + x2 .
2 2
For y" + 4y = -5ex ' yP2 ' = De ' y"P2 = De ' and
= Dex . Then yP2 x x
which gives D = -1. Hence, yp2 = -ex , and YP = YPi + yp2 = -� + x2 - ex , and
or
ef3x [Q(x) cos(,x) + R(x) sin(,x)],
multiplied by x or x2 if necessary, in order that no term in YP be a solution of the
associated homogeneous equation, where Q and R are polynomials of the same degree
as that of P.
y" - 2y' + 2y = 0,
and y = erx ⇒ r2 - 2r + 2 = 0::::} r = 1 ± i::::} y1 = ex cos(x), Y2 = ex sin(x), and the
general solution of the homogeneous equation is Yh = c1ex cos(x) + c2 ex sin(x).
+ p(x)y' + q(x)y = 0.
11
y (3.12)
Let y1 and y2 be any two linearly independent solutions of Equation (3.12). Seek a
particular solution of Equation (3.11) in the form
(3.13)
(3.14)
The requirement that YP be a solution of Equation (3.11) imposes one constraint upon
the two functions u1 and u2. We may therefore impose a second constraint, chosen
in order to simplify the procedure. Thus, impose the condition
(3.15)
(3.17)
68 CHAPTER 3. SECOND-ORDER EQUATIONS
YiU'i + Y2U2 = 0
I
(3.18)
y� u� + y� u; = f ( x)
of algebraic equations. Employing Cramer's rule, we obtain
- 0 Y2
, I
I J(x) y; yif(x)
u, � I �; �; I
The quantity
I Yi Y2 I = YiY2t - Y1Y2
t
y� y�
is denoted by W[y1, Y2](x) or simply by W(x) and called the Wronskian of y1 and y2.
Thus,
-yd(x) yif(x)
ui =J dx, u2 =J dx, and YP = uiyi + U2Y2-
W(x) W(x)
This method for the determination of a particular solution of Equation (3.11) is called
variation of parameters or variation of constants.
Note that the above formulas for u i and u2 are defined provided that W(x) i= 0.
This is guaranteed by the following:
Theorem 3.8. If p and q are continuous on an interval I, and Yi and y2 are solutions
=
of y" + p(x)y' + q(x)y = 0, then either W 0 on I or W(x) i= 0 for any x in J. The
solutions Yi and y2 are linearly independent on I if and only if W(x) i= 0 on I. (See
Chapter 3 Exercises, Exercise 15, on page 85.)
y - 3yI+ 2y=e.
ff 2x
y" - 3y' + 2y = 0,
and y = e rx ⇒ r2 - 3r + 2 = (r - l)(r - 2) = 0 ⇒ Yi = e , Y2 = e , and the
x 2x
Yi Y2 ex e 2x = 3x
w (X) =
I Yi Y 2
I I
I I
= ex 2 2x
e e .
I
3.3. LINEAR NONHOMOGENEOUS EQUATIONS 69
Hence,
2x.e2x
J () X =J-e 3 x dX =!-exdX
- y 2](x)d
=-e,x
WX e
Y1 J ( x)d e . e2x d
x
d
J () X =J x X = J 1 X = X,
Wx e 3
Note that the term -e2x = -y2 has been absorbed into the term c2e2x in the general
solution above. Thus, any term in YP which satisfies the homogeneous equation may
be removed from YP · In fact, a particular solution of a nonhomogeneous equation is
not unique because, if YP is a particular solution, then so is YP + Yi, where Yi is any
solution of the associated homogeneous equation. For this reason, arbitrary constants
of integration k 1 and k2 need not be added to u 1 and u 2, since this would merely add
the term k1Y1 + k2 Y2 to yp, and these may be removed.
4y" - y = 4e½ x
, y (0) = 0, y' (0) = 3.
The associated homogeneous equation, 4y "- y = 0, has the two independent solutions
x x
Y1 = e½ and Y2 = e-½, with the Wronskian W(x) = -1. The standard form of the
. . yII - 1 y = e2lx . Hence, · x) = e2I x ,
non l1omogcncous equat10n 1s f(
4
equation and may be removed from YP · The general solution of the nonhomogeneous
equat10n 1s y = YP + Yh = xe2x + c1e2 x + c2e-2 x . Then y( 0 ) = 0 ⇒ c2 = -c1 ⇒
. . l l I
and
I =e -6x
and
I x3 x4
Wronskian
I
6
W (x) = 3x2 4x3 = x .
6 I 12
- -y + 2 y = x3 e
• II X
The nonhomogcneous equation in standard form 1s y Thus,
X X
f(x) =x e . By integration by parts,
3 x
+ 3y = 4x5 ex
2
x2y" - 3xy' .
x2y" - 3xy' + 3y = 0
and, for x > 0, y = x r ⇒ r2 - 4r + 3 = (r - l)(r - 3) = 0 ⇒ Y1 = x and Y2 = x3 .
Since lxl = ±x and lxl3 = ±x3 , these solutions are defined for all real x, with the
Wronskian
x x3
I
W (x) = 1 3x2 = 2x .
I
3
72 CHAPTER 3. SECOND-ORDER EQUATIONS
3
The standard form of the nonhomogeneous equation is y " - � y' + = 4x3 ex , with
2
y
X X2
f (x
)
= 4x3 e x2 . Thus, by integration by parts,
J x . 4x e
dx
J x2 · 2 xe x dx
3 3 x
- ---
2
2x3 -
=- 2
- x 2e x
2
+
J 2 xe x2 dx = - x 2ex2 + ex ,
2
J 4x e
J
3 x2
X .
dx = 2 xe
x2
dx = ex2
2x3
x
2
y" - 3xy ' + 5y = x2, x > 0.
and y = xr ⇒ r 2 4r + 5 = 0 ⇒ r
4±\/-4 = 2 ± i
= --- ⇒ y1 = x2 cos[ln(x)] and
2
-
-! x2 sin[ln(x)] d =
x
-!
sin[ln(x)]
dx = cos[ln(x)],
dX X
x 3 X
J x cos[ln(x)]
dx = cos[ln(x)]
J
dx = sin[ln(x)],
2
x 3 X
and YP =x 2
cos2[ln(x)] + x2 sin2[ln(x)] = x2. Hence,
y = YP + Yh = x2 {1 + c1 cos[ln(x)] + c2 sin[ln(x)]}
is the general solution of the nonhomogeneous equation.
3.3. LINEAR NONHOMOGENEOUS EQUATIONS 73
x 2 y" - xy' + y = 0,
and y = xr ⇒ r 2 - 2r + 1 = (r - 1)2 = 0 ⇒ Y1 =x and Y2 = x ln(x), with the
Wronskian
x =
I x x ln(x) I = x.
W( ) 1 ln(x) + 1
1 1
The nonhomogeneous equation in standard form is y" - -y' + 2y = 27x2 ln(x), and
X X
f(x) = 27x 2 ln(x). By integration by parts,
u1 - J x ln(x). 7x 2 ln(x)
! dx =- J 27x 2 [ln(x)] 2 dx
U2 J
x · 27x 2 ln(x)
dx = 27x 2 ln(x) dx J
J
x
9x3 ln(x) - 9x2 dx
and
- J x-1/2 .
-x- 1
J
4� dx = ! x-1/2 dx = !x1/2 '
4 2
J J
1 f 2 · .l_
x 1 1
___4�x dx = -- x1/2 dx = --x3/2 '
-x- 1 4 6
and
1 1/2 . 1/2 _ -1 3/2 1
YP - =
x x x . x-1/2 = -x.
2 6 3
Since YP is a particular solution of the nonhomogeneous equation for any real x, the
general solution for any x =I= 0 is
Exercises 3.3
In Exercises 1-17, solve the equation or the initial-value problem by the method of
undetermined coefficients.
6. 6y"+y' - 2y=65sin(x)
8. y"+y=4sin(x)
9. y"+4y = 8 cos(2x)+12sin(2x)
11. y" - y = 4
14. y" - 9y = 2 - 3x + x2
21. y"+9y=6sin(3x)
y = j y' dx = j z dx.
The general solution z of the first-order equation includes one arbitrary constant,
and its integral y contains a second arbitrary constant, and is therefore the general
solution of the second-order equation.
y" l
--=-+x.
y' + l X
Since y does not appear explicitly, let z(x) = y'(x) to obtain the first-order equation
z' l
--=-+x
z+ l X
3.4. EQUATIONS REDUCIBLE TO FIRST-ORDER EQUATIONS 77
1 1 2
J--dz=J!+xdx
Z + 1
⇒ ln lz+ll=lnlxl+- x +c1
2
J J
X
⇒ z + 1= k1xe x
212
⇒ y= zdx = k1xe x
212
- 1 dx = k1ex ! 2
2
- X + C2
Since y does not appear explicitly, let z(x) =y'(x) to obtain the first-order equation
which has the form z' = f(x + z + 1). By Exercise 11 in the Chapter 2 Exercises on
page 39, let u = x + z + l to obtain
1
uI = 1 +zI = -
u2
⇒ y =
J z dx =
J ( k1 - 3x) 1/3 - x - l dx = - 1 ( k1 - 3x)4/3 - 21 x2 - x + c2
4
is the general solution.
y'y" = x.
Since y does not appear explicitly, let z(x) = y'(x) to obtain the first-order equation
zz' = x,
The value of the last integral depends upon the sign of k. If k = 0, then
dx ✓x2 + µ2 = µsec(t),
2,
1r 1r
x = µ tan(t), - <t< dt = µsec2 (t),
2
J✓ J
to obtain
y=± x 2 + µ2 dx = ±µ2 sec3(t) dl.
3.4. EQUATIONS REDUCIBLE TO FIRST-ORDER EQUATIONS 79
By integration by parts,
⇒ 2 j sec (t)
3
dl scc(t) tan(l) + ln \ sec(t) + tan(l)\ + C3
⇒ j sec (l)
3
dt
1
2 [ sec(t) tan(l) + ln I sec(t) + tan(t)\] +c4.
l �--
Hence, employing tan(t) = - and sec(t) =-✓x 2 +µ2 ,
X
l
µ µ
y=
µ2 x x 2 +µ2
±- [ + ln -'--
✓
-
x 2 +µ2 x
-- +- +c5.
✓
2 2
µ µ µ
x = µsec(t), 0�l<
w
or w � t <
3w dx
= µsec(t) tan(t), ✓x 2 - µ2 = µ tan(t),
2 2, di
to obtain
µ2
±
2 [ sec(t) tan(l) -ln I sec(l) + tan(t)I] +c6.
l �--
Hence, employmg sec(t) = - and tan(t) =-✓x 2 -µ2 ,
.
l
X
/1, µ
µ2 x ✓x 2 -µ2
y=±- [-----ln
x x 2 -µ2
-+---
✓ +c5.
2 µ2 µ µ
80 CHAPTER 3. SECOND-ORDER EQUATIONS
y'y" + y3 = 0.
Let y'(x) = v (y). Then, by the chain rule,
dv dy ,
y"(x) = vv
= dy dx '
and the equation becomes v2 v' + y3 = 0, which is of the first order. The general
solution v(y) of the latter equation contains one arbitrary constant. Once v(y) is
found, y' = v(y) is a separable equation, and
yielding a second arbitrary constant and, therefore, the general solution of the second
order equation.
y" = (y') 2 ( 2y - t)
Since x does not appear explicitly, let v(y) = y'(x) to obtain the first-order equation
vv' = v2 ( 2y - t)
which is separable. One solution is v = 0 and gives y' = 0, i.e., y = c 1. If v #- 0, then
=> J 2
ye-Y dy = J k 1 dx => -1e-y
2
= k1x + k2
y" + (1 + 2y)(y') 3 = 0.
3.4. EQUATIONS REDUCIBLE TO FIRST-ORDER EQUATIONS 81
Since x does not appear explicitly, let v(y) = y'(x) to obtain the first-order equation
vv' + (1 + 2y)v3 = 0,
which is separable. One solution is v = 0 and gives y' = 0, i.e., y = c1. If v i- 0, then
v'
-- = 1 + 2y
v2
=} !V = y + y2 + C2 =} (y + y2 + C2)y' =1
1 2 1
⇒ J y + y2 + c 2 dy = J 1 dx =}
2,Y
+ 3Y3 + C2Y = X + C3
is the general solution.
yv' + v = -3y2v2
is a Bernoulli equation with a= 2. Hence, u = v- 1 ⇒ v = u- 1 ⇒ v' = -u- 2 u', and
the equation for v transforms into
-yu- 2 u' + u- 1 = -3y2u-2, or - yu' + u = -3y2,
which is linear. Its standard form is
1
uI - -u = 3y,
y
Since x does not appear explicitly, let v (y) = y' (x) to obtain the first-order equation
vv' + v2 = v,
which is separable. One solution is v = 0 and gives y' = 0, i.e., y = c1 . If v =/- 0, then
---=
y' 1
1-ke-Y
=> J �
1- e Y
_ dy = J l dx => j __!!____ dy = x +
eY - k
c3
Note that y also does not appear in Equation (3.19). It may therefore also be solved
by letting z(x) = y'(x). The equation then becomes
z' + z 2 = z,
1
_z_'_ = 1 => (- - + �) z' = 1 => -ln\1-z\ +lnlz\ = x+c1
z- z 2 l - z z
z z kex
=> ln 1- -l =x + => _ _ = kex
=> z =
1- z 1- z kex + l
C1
is the general solution, and is equivalent to the solution obtained earlier because
3.4. EQUATIONS REDUCIBLE TO FIRST-ORDER EQUATIONS 83
Exercises 3. 4
Find the general solution of the given equation.
y" 2
1. --=-+3x2
y' -2 X
2. X2 yll = (y')2
3. y" - x(y')3 = 0
4. y'y" + X = 0
7. x4 + (y') 2 - xy'y" = 0
15. yT+y'y" = 1
17. cos(y')y" = 1
Chapter 3 Exercises
1. Consider the equation x2 y" + xy' + (x2 - } ) y = 0, x > 0. Given that one
. . cos(x)
so1ut10n 1s Y1 = , find a second, independent solution y2 by reduction of
VX
order.
2. Consider the equation y" + xy' + y = 0. Given that one solution is y1 = e-x / 2 ,
2
3. Consider the equation 2x2 y" + (2x2 + x)y' - y = 0, x > 0. Given that one
solution is y1 = x-1/ 2 e-x, find a second, independent solution y2 by reduction
of order. Note that Y2 includes an integral which cannot be evaluated in terms
of elementary functions.
8. Consider the equation a(x - x0) 2y" + b(x - x0)y' + cy = 0, where a, b, c and Xo
are constants.
(a) Show that the change of variables t = x - x0 and y(x) = z(t) transforms
the equation into an Euler equation for z(t).
(b) Solve the equation 2(x - 3) 2 y" + 3(x - 3)y' + y = 0 for x-=/= 3.
(a) Show that the change of variables t = ln(x) and y(x) = z(t) transforms the
Euler equation for y(x) into an equation for z ( t) with constant coefficients.
(b) Show that the indicial equation for z = e rl is identical to the one for y = xr.
(c) Express the three cases of solution z = c 1 e rit + c2er2l , z = erl (c1 + c2t) and
z = e°'t [cL cos(,6l) + c2 sin(,6t)] in terms of x to obtain the three cases of
solution for y(x).
15. Suppose that the functions p and q are continuous on an interval I and let y 1
and Y2 be solutions of the equation y" + p(x)y' + q(x)y = 0.
86 CHAPTER 3. SECOND-ORDER EQUATIONS
(a) Show that the Wronskian W(x) = W[y1, y2](x) = Y1Y; - y�y2 satisfies the
first-order equation W'(x) + p(x)W(x) = 0. (Hint: Multiply the equation
y� + p(x)y; + q(x)Y2 = 0 by Y1, y� + p(x)y� + q(x)Y1 = 0 by Y2, and subtract
the latter from the former.)
(b) Solve the first-order equation in part (a) for W(x).
(c) Deduce from the result of part (b) that either W(x) = 0 on I, or W(x) =/= 0
for any x in I.
(d) Prove that y 1 and y2 are linearly dependent on I if and only if W (x) =0
on I.
(e) Deduce from the result of part (d) that y 1 and y2 are linearly independent
on I if and only if W(x) =/= 0 on I.
16. Consider the equation x 2y" - xy' = 0 on the interval I= (-l, 1).
The definitions and certain of the methods of solution discussed in Chapter 3 can be
extended to equations of any order n 2'. 2.
Definition 4.1. The general solution of an equation of order n 2'. 2 is the solution
which contains n arbitrary constants which cannot be combined. It is an n-parameter
family of solutions, i.e., a set of solutions such that every solution corresponds to
particular values of the arbitrary constants. A solution in which the constants arc
assigned particular values is called a particular solution.
I II
y, y' y' . . . ' y(n-1)
87
88 CHAPTER 4. HIGHER-ORDER LINEAR EQUATIONS
is also a solution.
Theorem 4.2. The homogeneous equation (4.3) has precisely n linearly independent
solutions Y1, Y2, · · · , Yn , and the general solution is
In the case n = 2 discussed in Chapter 3, there are three possibilities for the
roots of the polynomial P in Equation (4.5), namely, two distinct real roots, one real
repeated root, or two complex-conjugate roots.
In the cases n 2: 3, there are more possibilities, such as repeated complex roots,
or real roots which are repeated more than once, but the forms of the solutions are
analogous to the ones for n = 2, and are given by Theorems 4.3-4.5.
4.1. HOMOGENEOUS EQUATIONS 89
Theorem 4.3. If P has n distinct real roots ri, 1 :S: i :S: n, i.e.,
P(r) = r3 - 4r2 + r + 6 = 0.
Since r = -1 is a root, r+1 must be a factor. Long division of r+1 into r3 -4r2+r+6
gives the other factor r2 - 5r + 6. Alternatively,
r3 - 4r2 +r+6 (r+ l)(r2 + ar +6)
r 3 +(a+ l)r2 +(a+ 6)r+ 6 ⇒ a= -5 ⇒
r3 - 4r2 + r+ 6 (r + l)(r2 - 5r + 6) = (r + l)(r - 2)(r - 3) =0
90 CHAPTER 4. HIGHER-ORDER LINEAR EQUATIONS
is the general solution · Then y' = -c1 e- x +2c2 e2x +3c3 e3x , y" = c1 e- x +4c2 e2x +9c3 e3x ,
and the initial conditions y(0) = 0, y'(0) = 0 and y"(0) = 12 require that
The sum of the first two equations gives 3c2 + 4c3 = 0, and the sum of the last two
gives 6c2 + 12c3 = 12. The solution of the system
3c2 + 4c3 - 0
{ }
6c2 + 12c3 = 12
y= e- x - 4e2x + 3e3x
P(r) = r4 - 5r3 + 5r 2 + 5r - 6 = 0.
Since r = 1 and r = -1 are roots, r - 1 and r + 1 must be factors. Long division of
(r - l)(r + 1) = r2 - 1 into r4 - 5r3 + 5r2 + Sr - 6 gives the other factor r2 - 5r + 6.
Alternatively,
and
Theorem 4.4. Let r0 be a root of the indicial equation (4.5) obtained by letting
y = erx in Equation (4.4). If r0 has multiplicity m 2: 1, i.e., P(r) = Q(r)(r - r0)m
with Q(r0) =I- 0, then m linearly independent solutions of Equation (4.4) are given by
P(r) = r3 - 4r2 + 5r - 2 = 0.
Since r = l is a root, r - l is a factor. Long division of r - l into r3 - 4r2 + 5r - 2
gives the other factor r2 - 3r + 2. Hence,
r3 - 4r2 + 5r - 2 = ( r - l)(r2 - 3r + 2) = ( r - l) 2 (r - 2) =0
⇒ r 1 = 1 is a root of multiplicity 2 and r2 = 2 is a root of multiplicity 1. Three
linearly independent solutions are therefore given by Y1 = ex , Y2 = xex and y3 = e 2x ,
and
y
( 4)
- 4y "' + 3y " + 4y ' - 4y = 0.
P(r) = r4 - 2r 3 - 3r2 + 4r + 4 = 0.
Since r = - l and r = 2 are roots, r + l and r - 2 are factors. Long division of
(r + l)(r - 2) = r2 - r - 2 into r4 - 2r3 - 3r2 + 4r + 4 gives the other factor r2 - r -2.
Hence,
r4 - 2r3 - 3r2 + 4r + 4 = (r2 - r - 2)2 = (r + 1)2 (r - 2)2 = 0
⇒ r1 = -1 and r2 = 2 are roots of multiplicity 2. Four independent solutions are
therefore given by Yi = e-x , Y2 = xe-x , y3 = e2x and y4 = xe2x , and
Y = C1e-x + C2Xe-x + C3 e 2x + C4Xe2x
is the general solution.
94 CHAPTER 4. HIGHER-ORDER LINEAR EQUATIONS
is the general solution. Note that, since no root of P(r) other than r1 = 2 could be
found, it may be beneficial to determine whether or not r1 = 2 is also a root of P'(r).
Theorem 4.5. Let r0 =a+ i/3 and r0 = a - i/3 be two complex-conjugate roots of
the indicial equation (4.5) obtained by letting y = e rx in Equation (4.4). Then two
real, linearly independent solutions of Equation (4.4) are given by
Proof. By the proof of Theorem 4.4, the complex-conjugate functions xk e rox and
xk erox , 0 :::; k :::; m - 1, are solutions. As in the case n = 2 derived in Section
3.2.1, from every one of the m pairs of complex-conjugate solutions Zk = xk e ro x and
Zk = x e o , 0 :::; k :::; m - 1, two real solutions
k r x
Zk + Zk Zk - Zk
= xk e°'x cos(/3x) and = xk e°'x sin(/Jx)
2 2i
are obtained, for a total of 2m real, independent solutions. By the first part of this
theorem and/or Theorem 4.4, an additional n - 2m real, independent solutions are
determined by the roots of Q.
r2 - 6r + 13 =0 =} r = 6 ± J35 - 52 = 3 ± 2i.
2
96 CHAPTER 4. HIGHER-ORDER LINEAR EQUATIONS
Hence, P has the real root r1 = 2 of multiplicity 1 and the complex-conjugate roots
3 ± 2i of multiplicity 1. Three real, independent solutions are therefore given by
Y1 = e 2x, Y2 = e 3x cos(2x) and y3 = e sin(2x), and
3x
r2 - 6r + 13 =0 ⇒ = 6 ± J35 - 52 = 3 ± 2i.
r
2
Hence, r1 = 1 is a root of multiplicity 2 and 3 ± 2i are two complex-conjugate
roots
of multiplicity 1. Four real, independent solutions are therefore given by y1 = ex ,
Y2 = xe , y3 = e cos(2x) and Y4 = e3x sin(2x), and
x 3x
P(r) = r4 + r 2 + 1 = 0.
Since no real roots are immediately evident, write
r4 + r 2 + 1 (r 2 + ar + l)(r 2 + br + 1)
r4 +(a+ b)r3 +(ab+ 2)r 2 +(a+ b)r + 1
and solve for a and b to obtain a= ±1 and b = =fl. Choosing a= 1 and b = -1 gives
r4 + r 2 + 1 = (r2 + r + l)(r2 - r + 1).
Theorem 4.6. Let P(r) = 0 denote the indicial equation which results from the
substitution of y = xr into Equation (4.6) for x > 0. If r = r0 is a real root of
multiplicity m 2: 1, then m independent solutions of Equation 4.6 for x > 0 are given
by
xr0 , xr0 ln(x), xr0 [ln(x)]2, •··, xr0 [ln(x)J m -l_
If a± i/3 are complex-conjugate roots of multiplicity m 2: 1, then 2m independent
solutions of Equation 4.6 for x > 0 are given by
xa cos[/3 ln(x)], xa ln(x) cos[/3 ln(x)], x0 [ln(x)] m -l cos[/3 ln(x)],
xa sin[/3 ln(x)], xa ln(x) sin[/3 ln(x)], x0 [ln(x)]m-t sin[/3 ln(x)] .
The solutions for x =/- 0 are obtained from the ones for x > 0 by replacing x by lxl.
4.1. HOMOGENEOUS EQUATIONS 99
Proof. For x > 0, make the change of variables l = ln(x) and y(x) = z(l). Then, by
the chain rule,
dy dz dl l dz
-- = -- ⇒ xy (x) = z'(t),
,
]
dx dl dx x dt
d2 y
dx2
1 d2 z
x2 dt2
l dz
x2 dl
=
l d2 z dz
[
x2 dl2 dt
-
⇒ x2 y"(x) = z"(l) z'(t),
d3 y 1 d3 z d2 z 2 d2 z dz l d3 z d2 z dz
[ ] [ ] = [ 3 + 2 ]
dx3 x dt
3 3 dt 2 x dt
3 2 dt x dl
3 3 dl 2 dt
3 111 =
⇒ x y (x) z (t) - 3z"(l) + 2z'(t),
111
(
etc., i.e., every term xk y( k) x) in the Euler equation transforms into an expression with
constant coefficients. Thus, the Euler equation for y(x) transforms into an equation
for z(t) with constant coefficients. Moreover, the indicial equation P(r) = 0 for y(x)
is identical to the one for z(t) because z(t) = e rl if and only if y(x) = e r In(x) = xr .
The forms of the solutions for y(x) then follow from the corresponding forms of the
solutions for z(l) as given by Theorems 4.4 and 4.5 in Section 4.1.1. Replacing x by
lxl then gives the solutions for both x > 0 and x < 0.
For x > 0, y = xr ⇒
P(r) r(r - l)(r - 2) + 3r(r - 1) - 2r + 2
r ( r - 1) ( r - 2) + 3r ( r - 1) - 2 (r - 1)
(r - 1) [r ( r - 2) + 3r - 2]
(r - 1) ( r2 + r - 2)
(r - 1) 2 (r + 2) = 0
x3 y
111 - 4x2 y" + l3xy' - l3y = 0.
100 CHAPTER 4. HIGHER-ORDER LINEAR EQUATIONS
For x > 0, y = xr ⇒
P(r) r(r - l)(r - 2) - 4r(r - 1) + 13r - 13
r(r - l)(r - 2) - 4r(r - 1) + 13(r - 1)
(r - l)[r(r - 2) - 4r + 13]
( r - 1)(r2 - 6r + 13) = 0
6 ± J36 - 52
r - 6r + 13
2
=0 ⇒ r = = 3 ± 2i.
2
Hence, Y1 = x, Yz = x3 cos[2 ln(x)] and y3 = x3 sin[2 ln(x)] for x > 0, and
y = c1x + c2 x3 cos (2 ln lxl) + c3x3 sin(2 ln lxl)
is the general solution for x # 0.
Subtracting twice the first equation from third gives c2 = 4. Adding the first two
gives 3c1 + 4c2 = 1 ⇒ c1 = -5, and the first equation then gives c3 = 1. Hence,
y = -5x2 + 4x3 + x-1 is the solution of the initial-value problem.
4.1. HOMOGENEOUS EQUATIONS 101
-4 ± ✓16 - 52
r2 + 4r + 13 = 0 ⇒ r = ----- = -2 ± 3i.
2
Hence, y = c1x + c2x2 + c3x-2 cos(3 ln !xi) + c4x- 2 sin(3 ln lxl) is the general solution
for X-=/ 0.
Exercises 4.1
1. F ind the general solution of the equation y"' - 6y" + lly' - 6y = 0.
2. Solve the initial-value problem y"' - 2y" - y' + 2y = 0, y(0) = 6, y'(0) = 0,
y"(0) = 0.
102 CHAPTER 4. HIGHER-ORDER LINEAR EQUATIONS
9 111
3. Find the general solution of the equation y + 9y" - y' - y = 0.
4. Find the general solution of the equation y111 -
5y" + 8y' - 4y = 0.
5. Find the general solution of the equation y"' - 6y" + l2y' - 8y = 0.
6. Solve the initial-value problem y"' + y" - y' - y = 0, y(0) = 0, y'(0) 3,
y"(0) = 2.
7. Find the general solution of the equation y"' - 5y" + l 7y' - l3y = 0.
8. Find the general solution of the equation y ( 4) - 5y" + 4y = 0.
9. Solve the initial-value problem y( 4) - 2y'" - y" + 2y' = 0, y(0) = 0, y'(0) = 2,
y"(0) = 0, y'"(0) = 8.
10. Find the general solution of the equation y ( 4) - 7y111 + l7y" - l7y' + 6y = 0.
11. Find the general solution of the equation y(4) - y"' - 3y" + 5y' - 2y = 0.
12. Find the general solution of the equation y( 4) - 4y111 + 6y" - 4y' + y = 0.
13. Find the general solution of the equation y( 4) - 6y111 + l3y" - 12y' + 4y = 0.
14. Find the general solution of the equation y( 4) + 2y"' + 4y" - 2y' - 5y = 0.
15. Find the general solution of the equation y( 4) + lOy"' + 4ly" + 76y' + 52y = 0.
16. Find the general solution of the equation y ( 4) + 5y" + 4y = 0.
17. Find the general solution of the equation y ( 4) + 4y = 0.
18. Find the general solution of the equation y( 4) - 8y"' + 26y" - 40y' + 25y = 0.
19. Find the general solution of the equation x3 y"' + x2 y" - 2xy' + 2y = 0.
20. Find the general solution of the equation x3 y"' - 2x2 y" + 3xy' - 3y = 0.
21. Find the general solution of the equation x3y"' + xy' - y = 0.
22. Solve the initial-value problem x3 y"' + 8x2 y" + l3xy' - l3y = 0, x > 0, y(l) = 0,
y'(l) = 6, y"(l) = -2.
23. Find the general solution of the equation x4 y( 4 ) + x3 y"' + x2 y" - 2xy' + 2y = 0.
24. Find the general solution of the equation x4 y(4 ) - x3y"' + 5x2 y" - lOxy' + lOy = 0.
25. Find the general solution of the equation x4y( 4) + 6x3 y111 + 6x2 y" - 2xy' + 2y = 0.
26. Find the general solution of the equation x4y( 4) + 2x3 y"' + 3x2 y" - 3xy' + 4y = 0.
4.2. NONHOMOGENEOUS EQUATIONS 103
Y1 Y2 Yn
y� y; y�
W(x) = W[y1, Y2, · · · , Yn ](x) =
n- (n-l n-l )
Y1( l ) Y2 ) Yn(
y(
n)
+ Pn-1(x)y (n-l ) + · · · + P2(x)y" + P1(x)y' + Po(x)y = f(x), (4.9)
and the associated homogeneous equation
y(
n)
+ Pn-1 (x)y (n-l) + · · · + P2(x)y" + P1(x)y' + Po(x)y = 0. (4.10)
=
If Pk, 0 ::; k ::; n - 1, are continuous on an interval 1, and Yk, 1 ::; k ::; n, are solutions
of Equation (4.10), then either W 0 on I or W(x) -=I= 0 for any x in J. The solutions
Yi, Y2, · · ·, Yn are linearly independent on I if and only if W -=I= 0 on I.
104 CHAPTER 4. HIGHER-ORDER LINEAR EQUATIONS
0
0
(n-1) (n-1)
Y1 Y2 J(t) Y
n
(n-1)
9
P of Equation (4 . ) is given by
Then a particular solution Y
where
e- x 0 e 2x
-e - x
0 2e 2x = -27e-x (3ex ) = -81,
x x
e- 27e- 4e 2x
e- x xe- x 0
-e - x -
e - xe- x
x
0 = 27e-x ( e-2x) = 27e-3x .
x
e- -2e- + xe-x 27e- x
x
4.2. NONHOMOGENEOUS EQUATIONS 105
J
Then
U3 3e- 3x dx = -e-3x ,
and
9
--x2 e-x
2
- 3xe- x - e- x
y"' -y' = 0,
y=e
rx
⇒ P(r) = r3 - r = r(r2 -
1) = r(r - l)(r + 1) = 0 ⇒ Y1 = 1, Y2 = e
x
and
y3 = e- are three independent solutions. With J(x) = 8xe ,
x x
1 ex e-x
W(x) = 0 ex = -e-x 2,
0 ex
e-x
0 ex e -x
0 e -e-x
x
= -16xex ,
8xe x x
e e -x
1 0 e-x
0 0 -e-x = 8x,
0 8xex e-x
1 ex 0
0 ex 0 = 8xe2x .
0 ex 8xex
106 CHAPTER 4. HIGHER-ORDER LINEAR EQUATIONS
Then
4xdx = 2x2 ,
J
u2
and
y
111
- 3y " + 7y ' - 5y = 32e x sin(2x).
For the associated homogeneous equation
y
111
- 3 y" + 7 y ' - 5y = 0,
y = e rx ⇒ P(r) = r3 - 3r2 + 7r - 5 = (r - l)(r 2 - 2r + 5) = 0 ⇒ r1 = 1 and
2±F1]
r = --- - = l ± 2i ⇒ y1 = ex, Y2 = e x cos (2x) and y3 = e x sin(2x) are three
2
4.2. NONHOMOGENEOUS EQUATIONS 107
ex e x cos(2x) e x sin(2x)
W(x) e x
e cos(2x) - 2e sin(2x)
x x
e sin(2x) + 2ex cos(2x)
x
u1 J 8sin(2x)dx = -4cos(2x),
and
0 J(x) 8e 2x 27e 3X
1 ex 0 e3x
0 ex 0 3e3x
fl 3 (x)
0 ex 0 9e3x
= -6e4x f(x) = -216e7x ,
0 ex J(x) 27e3x
1 e
"'
e2
x 0
x 2 2x 1 ex e2x
0 e 0
0
e
e x 4 e 2x 0
= f(x) 0 ex 2 e2x = 2e3x f(x) = 72e6 x
_
0 e x 4 e 2x
0 ex 8e2x f(x)
4.2. NONHOMOGENEOUS EQUATIONS 109
J
Then
U1 -6 e3x dx = -2e3x ,
u2 18 je 2x
dx = 9e 2x ,
-18 j ex dx = -18e x,
J
U3
U4 6 1 dx = 6x.
Hence, YP = -2e3X + 9e2X ex - 18ex e2X + 6xe3x = -1le3x + 6xe3x, or YP = 6xe3x , since
-lle3x is a solution of the homogeneous equation. Thus,
x3 y
111 - 3x 2 y" + 6xy' - 6y = 0,
for which y = xr =} P(r) = r(r -l)(r - 2) - 3r(r - 1) + 6r - 6 = 0 =}
⇒ Y1 = x, Y2 = x2 and y = x 3
3
are three independent solutions. With f(x) = 8ln(x),
x x2 x3
W(x) = 1 2x 3x2 = x (6x2 ) - 4x3 = 2x3,
0 2 6x
0 x2 x 3
�1(x) 0 2x 3x2 = f(x) [x4 ] = 8x4 ln(x),
f(x) 2 6x
X 0 x3
1 0 3x2 = - f(x) [2x3] = -16x3 ln(x),
f(x) 6x
2
X x 0
1 2x 0 = f(x) [x2 ] = 8x2 ln(x).
0 2 f(x)
110 CHAPTER 4. HIGHER-ORDER LINEAR EQUATIONS
Then
u1 41 xln(x)dx=2x ln(x)-x 2 2
,
u3 4
j ln x)
� dx = 2[ln(x)] 2 .
Hence,
x3 y"' + 2xy' - 2y = 0,
(r - l)[r(r - 2) + 2] = (r - l)(r2 - 2r + 2) = 0
2± \1-4
⇒r1 =1and r2 -2r+2 = 0⇒r = = l±i⇒y 1 = x,y2 = xcos [ln(x)]
2
4.2. NONHOMOGENEOUS EQUATIONS 111
1
and y3 = xsin[ln(x)] are three independent solutions. With f(x) = 2,
X
x xcos[ln(x)] xsin[ln(x)]
W(x) = 1 cos[ln(x)] - sin[ln(x)] sin[ln(x)] + cos[ln(x)]
0 -¾ ¾
sin[ln(x)] - cos[ln(x)] ¾ cos[ln(x)] - ¾ sin[ln(x)]
X [�] - 1[1] = 1,
0 xcos[ln(x)] xsin[ln(x)]
0 cos[ln(x)] - sin[ln(x)] sin[ln(x)] + cos[ln(x)]
f (x) -� sin[ln(x)] - � cos[ln(x)] � cos[ln(x)] - � sin[ln(x)]
1
J(x)[x] = -,
X
x O xsin[ln(x)]
1 0 sin[ln(x)] + cos[ln(x)]
0 J(x) ¾ cos[ln(x)] - ¾ sin[ln(x)]
cos[ln(x)]
- J(x){x cos[ln(x)]} = ----,
X
x xcos[ln(x)] 0
6._3(X) 1 cos[ln(x)] - sin[ln(x)] 0
0 -¾
sin[ln(x)] - ¾ cos[ln(x)] J(x)
sin[ln(x)].
f(x){-xsin[ln(x)]} = - X
Then
u1 .
/ 1 dx = ln(x),
cos[l (x)]
u2 -/
. : dx = - sin[ln(x)],
sin[l (x)]
= cos[ln(x)].
- ./
u3 : dx
4. 2. 2 Undetermined Coefficients-Annihilators
In Section 3.3.1, the method of undetermined coefficients was employed to determine
particular solutions YP of second-order nonhomogeneous equations . The same method
can be applied to the higher-order equations considered in the present chapter, with
112 CHAPTER 4. HIGHER-ORDER LINEAR EQUATIONS
a slight difference. Instead of listing the form of YP for every type of nonhomogeneous
term g(x), the form of YP will be determined by g(x). The unknown constants in YP
are then determined by substitution into the nonhomogeneous equation, as before.
DJ= n[J] = f = J,
d� '
where f is a differentiable function. Let n2 denote the linear operator defined by
D2 f = n 2 [J] = D[n[f ]] = n[J'] = f",
and, more generally, for any integer n 2': 1,
If P(n)J(x) = 0 for all x, then P(n) is called an annihilator of the function J, and
the function f is said to be annihilated by P(n).
Example 4.26. Let P(r) = r - 1. Then P(n) = n - 1, and (n - l)f = f' - f for
any differentiable function f. If f ( x) = ex , then
Example 4.27. Let P(r) = r2 + 4. Then P(D) = D2 + 4, and (D2 + 4)J = f" + 4J
for any differentiable function f. If f(x) = sin(2x), then
P(D)[sin(2x)] = (D 2 +4) sin(2x) = D2 sin(2x)+4 sin(2x) = -4 sin(2x)+4 sin(2x) = 0.
Thus, D2 + 1 is an annihilator of the function sin(2x).
Example 4.29. Let f(x) = e3x sin(2x). How can an annihilator off be determined?
Recall that e 3x cos(2x) and e3x sin(2x) are solutions of a second-order homogeneous
equation for which the indicial equation has the roots r = 3 ± 2i. Then
r - 3 = ±2i => (r - 3)2 = -4 => P(r) = r2 - 6r + 13 = 0
is the indicial equation. Hence, e3x cos(2x) and e 3x sin(2x) are the solutions of the
equation y" - 6y' + 13y = 0, i.e., they are annihilated by P(D) = D2 - 6D + 13.
Example 4.30. Let J(x) = x2 e2x . Recall that e 2x , xe 2x and x2 e 2x are solutions of a
third-order homogeneous equation for which the indicial equation has the root r = 2
of multiplicity 3, i.e., the indicial equation is P(r) = (r-2)3. Hence, P(D) = (D-2)3
is an annihilator of x2 e 2x , as well as e 2x and xe 2x .
where the nonhomogeneous term is denoted by g(x) since the equation need not be
in standard form. With
(4.12)
Equation (4.12) gives the form of Yp, and the constants Ci, 1 � i � m, are determined
by substitution of yP into Equation (4.11).
Proof. Since Q(D)P(D)zi = 0, 1 � i � m, P(D)zi are solutions of Q(D)y = 0. They
arc linearly independent because if d1P(D)z1 + d2P(D)z2 + · · · + dmP(D)zm = 0, then
P(D)(d1z1 + d2 z2 + · · · + dm zm ) = 0, i.e., z = d1z1 + d2 z2 + · · · + dmZm is a solution
of P(D)y = 0. Hence, there exist constants b1, b2 , · · ·, bn such that
Then
d1z1 + d2z2 +· · · + dmzm = b1Y1 + b2Y2 + · · · + bn Yn
⇒ d1z1 + d2z2 + · · · + dm zm - b1 Y1 - b2 y2 - · · · - bnYn = 0
⇒ di = 0, bj = 0, 1 � i � m, 1 � j � n,
smce
y
111 -
3y' - 2y = 27e-x,
which has been solved by variation of parameters in Section 4.2.1, Example 4.20. The
indicial polynomial is P(r) = (r + 1)2 (r - 2). Hence, the nonhomogeneous equation
lS
Since e-x , xe-x and e2x are solutions of the homogeneous equation P(D)y 0,
YP = C3x 2 e-x, or YP = cx2 e- x , where c is to be determined. Then
y� c[2xe-x - x2 e-x ],
Y; c[2e-x - 4xe-x + x2e-x],
y;' c[-6e-x + 6 xe-x - x2 e-x ],
⇒ -6c = 27 ⇒ c = - 29 ⇒ YP = - 29 x2e -x ⇒
9
y = --x2 e-x + c 1 e-x + C2 Xe-x + C4e 2x
2
is the general solution of the nonhomogeneous equation.
which has been solved by variation of parameters in Section 4.2.1, Example 4.21. The
indicial polynomial is P(r) = r(r - l)(r + 1). Hence, the nonhomogeneous equation
IS
[ax2 + (6a + b)x + (6a + 3b)]e x - [ax2 + (2a + b)x + b]ex = 8xex
⇒ 4ax + ( 6a + 2b) = 8x
⇒ a = 2 and b= -6 ⇒ YP = (2x2 - 6x)ex ⇒
y
111
- 3y" + 7y' - 5y = 32ex sin(2x),
which has been solved by variation of parameters in Section 4.2.1, Example 4 2. 2.
The indicial polynomial is P(r) = (r - l)(r 2 - 2r + 5) . Hence, the nonhomogeneous
equation is
P(D)y = (D - l)(D2 - 2 D + 5)y = 32ex sin(2x).
Since ex cos(2x) and ex sin(2x) are solutions of a homogeneous equation for which
the indicial equation has the roots r = 1 ± 2i, r - 1 = ±2i ⇒ (r - 1)2 = -4 ⇒
r2 - 2r + 5= 0 is the indicial equation. Hence, the annihilator of g(x) = 32ex sin(2x)
of minimal degree is Q(D) = D2 - 2D + 5. Then
11 1
Yp - 3 Yp + 7 Yp - 5 YP = ex cos(2x)[(12b- 9a) - 3(2a + 4b) + 7a]
Ill
which has been solved by variation of parameters in Section 4.2.1, Example 4.23. The
indicial polynomial is P(r) = r(r - l )(r - 2 )(r - 3 ). Hence, the nonhomogeneous
equation is
P(D)y = D(D - l)(D - 2)(D - 3)y = 36e3x.
118 CHAPTER 4. HIGHER-ORDER LINEAR EQUATIONS
Y� a[e3x + 3xe3x ],
Y; a[6e3x + 9xe3x ],
y;' a[27e3x + 27xe3x ],
4 a[108e 3x + 81xe 3x ],
Yt )
4 =
Yt ) - 6y�' + lly � - 6y� a[108e3x + 81xe3x ] - 6a[27e 3x + 27xe3x ]
+lla[6e 3x + 9xe3x ] - 6a[e3x + 3xe 3x ]
36e 3x
⇒ 6a = 36 ⇒ a = 6 ⇒ Yv = 6xe 3x ⇒
Exercises 4.2
In Exercises 1-16, employ variation of parameters to find the general solution or to
solve the initial-value problem.
8. y( 4) - y" =2
9. y( 4) + y" = 6x
10. x 3y'" - x 2y" + 2xy' - 2y = x, x >0
1
11. x3 y"' + 5x2 y" + 2xy' - 2y = -, x >0
Chapter 4 Exercises
1. Consider the equation y"' - y" - 2y' = 12.
4 . 2) .
3
3. Solve the equation x y
/II
+ x2 y/I = - , x > 0 ( see Exerc1se
X
4. Integrate the equation y"' - y" = 20x3 twice and solve the resulting first-order
equation (see Exercise 6 in Section 4.2 on page 118).
5. Solve the equation x4y( 4) - 4x3 y"' + 12x2 y" - 24xy' + 24y = x4, x > 0.
6. Solve the equation x3 y111 - x2 y" + lOxy' = 156x2 sin[3 ln(x)], x > 0.
8. Let p(x) and q(x) be continuous on the interval I = (-1, 1). Is it possible for
the equation y" + p(x)y' + q(x)y = 0 to have the solutions y 1 = 1, y2 = x and
y3 = x on I?
3
9. Solve the equation y"' + 3y" + 3y' + y = 2xe-x cos(x) by variation of parameters.
Linear Systems
=
where x 1, x 2, · · · , X n are unknown functions oft, and aij (l), 1 :S i,j :Sn, and Jj (t),
1 :S j :S n, are given functions of t. A linear system is homogeneous if fj (t) 0,
1 :S j :Sn. Otherwise, it is nonhomogeneous. It has constant coefficients if aij (t) = aij
is constant, 1 :S i, j :S n.
x' 3x + 2y
y' 2x -y
X
1
X - 3y + t 2
y' 6x + 4y + e l
121
122 CHAPTER 5. LINEAR SYSTEMS
and the solution x(t) = 2e t , y(t) = et can be expressed as the vector (or vector-valued)
function
x' 2x + 3y - z + t 2
y' x - 4z - et
z' -y + 6z + 5
can be expressed as x' =Ax+ f(t) by letting
More generally, the system (5.1) can be expressed as x' = A(t)x + f(t) by letting
5.1. HOMOGENEOUS SYSTEMS 123
au(l) a 1 2(l)
a2 1(t) a2 2(t)
For a homogeneous system, f(t) =0, and, for a system with constant coefficients,
A (l) = A has constant entries aij, 1 :S i, j '.S n.
is also a solution.
1 :S i :S n.
124 CHAPTER 5. LINEAR SYSTEMS
xu(t) X1 2(t)
Xn(t) X22(t)
W(t) = det(x 1 (t) x2(t) · · · Xn(t)) =
Xnn (l)
Theorem 5.2. Suppose that A(t) = (aij(t)) is continuous on an interval I, i.e.,
=
aij(t) is continuous for 1 � i,j � n, and let x1 (t),x2(l), · · · ,xn(t) be solutions of
x' = A(t)x. Then either W(t) 0 on I, or W(t) i= 0 for any t in I. The solutions
x1(t),x2(t), · · · ,xn (t) are linearly independent on I if and only if W(t) i= 0 on I.
Xnn(t)
l l·
is called a fundamental matrix for the system. The general solution of the system is
x(t) = C1 X1 (t) + C2X2(t) + · · · + Cn Xn (t),
where c 1 , c2, · · ·, Cn are arbitrary constants, and may be expressed more concisely as
Theorem 5.3. A fundamental matrix X(t) for a system x' = A(t)x, where A(t) is
continuous on an interval I, is nonsingular on I, i.e., det(X(t)) i= 0 on I, and satisfies
the matrix equation X'(t) = A(t)X(t), where X'(t) = (x�/t)).
Proof. Since x1 (t), x2 (t), · · ·, xn (t) are linearly independent, det(X(t)) = W(t) i= 0
on I, and, since x� = A(t)xi, 1 � i � n,
X' ( t) ( x't ( t) x; ( t) · · · x� ( t))
(Ax1(l) Ax2(t) · · · Axn(t))
A(x1(l) X2(t) · · · Xn (l))
AX(t).
5.1. HOMOGENEOUS SYSTEMS 125
(5.4)
=
where A is a scalar and v =/- 0 is a vector, to be determined. The case v = 0 is
omitted because it yields only the trivial solution x(l) 0. Then
Al
x'(t) = Ae v,
det(AI - A) = 0. (5.6)
The eigenvalues of A are determined by solving Equation (5.6) for A, and for each
eigenvalue Ai , the eigenvectors which correspond to Ai are obtained by setting A = Ai
in Equation (5.5) and solving for v.
{ :: : �: - : �� } .
(5.7)
5.1. HOMOGENEOUS SYSTEMS 1 27
x= ( : ) and A = ( _ � � ) .
Then
A
; (A- 2)(,\.-7)+4=,\. 2 -9,\.+18
I A-_\ l=
2
det(>J - A)
(,\. - 3)(,\. - 6) = 0
=} ,\. 1 = 3 and ,\.2 = 6 are the eigenvalues of A.
x 1 ( t) = e 3t (�) 2 t
= ( �: )
e
and x2 ( t) = e 6t (�) = ( ;:;t ),
2e e 6t
and X(t) = (x1(t) x2(t)) = ( 3 6 ) is a fundamental matrix. The general
3t
et 2e t
solution in vector form is
from which the general solution x(t) = 2c 1 e 3t + c2e 6t and y(t) =c1 e 3t + 2c2e 6t of the
system (5.7) is obtained in scalar form. Note that, if vis-an eigenvector of A, then
128 CHAPTER 5. LINEAR SYSTEMS
so is cv for any constant c =/- 0. Thus, the choice of an eigenvector is not unique,
4 2 4e3t 2e6t
and we may take v 1 = ( ) and v2 = ( ) . Then Y(t) = ( 3 ) .1s also
2 4 2e t 4e 6 t
Then
( : =� ) ( � ) = ( � )
Thus, two independent solutions of the system (5.8) are given in vector form by
1 e2t ) ( 3 3e3t )
x1(t) = e2t (
1
) = (
e2t
and x2 (l) = e3t 4
) = (
4e 3t ,
e2t 3e3t
and X (t) = (x 1 (l) x2 (l)) = (
e 2 t 4e 3 t
) is a fundamental matrix. The general
solution in vector form is
from which the general solution x(t) = c 1 e2t + 3c2 e3t and y(t) = c 1 e2t + 4c2 e3t of the
system (5.8) is obtained in scalar form.
(5.9)
Then
=I >.; 1 � I = (>. + 1)
det(>.J - A)
>. 1 =0
2
which states that both a and b are free. Hence, a = 1 and b = 0 gives the eigenvector
v1 = ( t ), and a = 0 and b = 1 gives the eigenvector v2 = ( � ) . Since v1 and
v2 are linearly independent, two independent solutions of the system (5.9) are given
in vector form by
130 CHAPTER 5. LINEAR SYSTEMS
t
e � ) is a fundamental matrix. The general
( ;
e t
solution in vector form is
from which the general solution x(t) = c 1 e-t and y(t) = c2 e-t of the system (5.9) is
obtained in scalar form.
Note that, even though the 2 x 2 matrix A has only one eigenvalue A 1, the general
solution is obtained as in the preceding examples because there are two independent
eigenvectors which correspond to ,\ 1 .
A system such as (5.9) is said to be decoupled because each equation involves only one
of the unknown functions, and can be solved independently of the other(s). Thus,
=
x' = -x ⇒ x(t) = c1 e-t, and y' = -y ⇒ y(t) = c2 e-t, as above.
{ x;
y -
3x +
- 4X -
2y } ' x(0)
y
= 1, y(0) = 5. (5.10)
This problem may be expressed in matrix form as x' = Ax, x(0) = xo, where
X
= (: ) ' A= ( -� -� ) and Xo
=( !).
Then
(>. + 1)(>. - 2) = 0
⇒ A1 = -1 and >.2 =2 are the eigenvalues of A.
e -t e2t )
and X(t) = (x 1 (l) x2(l)) =
( - 4e -t
-e 2t
is a fundamental matrix. The solution
of the initial-value problem (5.10) is then given by x(t) = X(l)X(o)- 1 xo.
( a b )-
c d
1
1
- det(A)
(
d -b )
-c a -
1
(
d -b )
ad - be -c a ·
Thus, X(o)- 1 = ( _! -� )- 1 ( -! 1
=
-
�),and
x(i) = (
-1 -1
4 1
) (
1
5 )
= (
e -t e2t
-4e-t -e2t
)(- 2
3 )
{ -=
Example 5.5. Consider the system
x' - 2y + 2z
y' -3x + y + 3z } (5.11)
z' = -x + y + 3z
This system may be expressed in matrix form as x' = Ax, where
-
and A= ( -� � � ) .
-1 1 3
132 CHAPTER 5. LINEAR SYSTEMS
Then
>- 2 -2
det(,H - A) 3 >- - 1 -3
1 -1 >- - 3
>-[(>- - 1)(>- - 3) - 3] - 2[3(>- - 3) + 3] - 2[-3 - (>- - 1)]
>-[>-2 - 4>-] - 4), + 16
>-2 (>- - 4) - 4(>- - 4)
(>- - 4)(>-2 - 4)
(>- - 4)(>- - 2)(>- + 2) = 0
⇒ >-1 = 2, >-2 = -2 and A3 = 4 are the eigenvalues of A.
Row reduction of the coefficient matrix (R2 - R2 - 3R3 and R3 - R1 2R3, where
� denotes row i) then gives
-
=� ) ----+ ( � � =� ) ----+ ( � -� -� )
Row reduction of the coefficient matrix gives
(1 �
1 -1 1 1 -1 1 0 3 -3
⇒
0 -i :DU) 0)
⇒ -b+c = 0 and 2a+b-c = 0 ⇒ a= 0, and b = 1 ⇒ v3 = (:) is an eigenvector
Thus, three independent solutions of the system (5.11) are given in vector form by
e2t e- 2t o)
and X(l) = (x1(t) x2(l) x3 (t)) = 0 e- 2
e4t is a fundamental matrix. The
,c�
( t
e 2t
O e4t
general solution of the system (5.11) is
x(t) C1X1(t) + C2X (t) + C3X3(i)
2
e�' )( �:)
X(t)c
e- 2 l c,e"He-")
e- 2 t C2 e- 2l + C3e 4l
,
e t
2
0 e 4l
C3 C1 e 2l
+ C3e
4t
134 CHAPTER 5. LINEAR SYSTEMS
{ -
Example 5.6. Consider the system
x'
y' = (5.12)
z' =
(n n
This system may be expressed in matrix form as x' = Ax, where
(J
0
x= and A= 1
0
Then
,\-1 0 0
det(,\J - A) = 0 ,\-1 0 = (,\ - 1) 2 (,\ - 2) = 0
0 ,\-2
=? ,\ 1 = 1, of multiplICity 2, and ,\ 2 = 2 are the eigenvalues of A.
the eigenvalue ,\ 1 = 1.
to the eigenvalue A2 = 2.
Thus, three independent solutions of the s ystem (5.12) are given in vector form by
et 0 0 )
and X(l) = (x1(l) x 2(l) x3(t)) = ( 0 et O is a fundamental matrix. The
et 0 e2t
general solution of the system (5.12) is
x(t)
Complex Eigenvalues
Let A be an n x n matrix with real entries, and suppose that A = a+ i(3, (3 =/- 0, is
a complex eigenvalue. Then "X = a - i(3 is also an eigenvalue since det( AI - A) is a
polynomial with real coefficients . If v_is an eigenvector corresponding to A, then vis
an eigenvector which corresponds to A because
Then z(t) = e>.tv and z(t) = e>-t v are two complex solutions of the system x' = Ax.
Let v = a + ib, where a and b are real vectors. Then v = a - ib and, employing
Euler's identity, we obtain
Since the system is linear and homogeneous, any linear combination of solutions is a
solution, by Theorem 5.1. Thus,
z(t) + z(t)
= �(z(t)) = e'�t [cos(,Bt)a - sin(,Bt)b],
2
z(t) z(t)
Xz(t) = Ss(z(t)) = e0t [sin(,8t)a + cos(,Bt)b]
;
Then
>- 2 -
det(>J - A) = \ ; -\ I = (>- - 2) 2 + 9 = >-2 4>- + 13 = 0
>-
-
x1(l) R(z(t)) = 3
e 2t [cos( t) ( �) -sin( l) ( �)] 3
cos( t) 3e 2t cos(3t)
e 2t (
- sin( l) ) = (
3
-e2t sin( t) ) ' 3
x 2(l) �(z(t))= e 2 t [sin( t) ( �) 3 + cos(3 t) ( �) ]
t sin(3 l)
= ( e2 sin( t )
2t
3
e2 (
cos( t) ) 3e tcos(3l) )
x(t)
. .
c1x1(t) + c 2x 2(t) = X(l)c = e 2t (
cos( t) sin( t) c1 3 3
-sin(3t) cos(3l) ) ( c 2 )
3
c1 cos( t) + c 2 sin(3 l) c1e 2t cos(3t) + c 2 e 2t sin( t) 3
e 2t (
-c1 sin(3 t) + c 2 cos(3t) ) = (
3
-c1 e 2t sin( t) + c 2 e 2t cos( t) ) ' 3
i.e., x(t) = e l[c1 cos(3 t) + c2 sin(3 t)] and y(t) = e t[-c1 sin(3 t ) + c
2 2
3 t)].
2 cos(
Then
det(>J - A)= I
>-
�
4
-1 3 1 3
= >-(>- - 4) + 1 = >- 2 - 4 >- + 13 = 0
⇒ -
>-, >- =
4± \/-36 = 2 ± 3i are the complex eigenvalues of A.
2
For >- = 2 + 3i, (>-[ - A)v= 0 with v = ( � ) ⇒
( -2 + 3i -1 3 ) (
a
)= (
0)
1 2+ 3i b 0
138 CHAPTER 5. LINEAR SYSTEMS
⇒ a+ (2 + 3i)b = 0, and b = -1 ⇒
+i [sin(3t) ( ! ) + cos(3t) ( � ) ]
1 }
is a complex solution, and
(
x(l) c1 x1(t) + c 2 x 2(t) = X(t)c
2cos(3t) - 3sin(3t) 2sin(3t) + 3cos(3t) c1
e 2l ) ( c2 )
(
-cos(3l) -sin(3t)
ci[2cos(3t) - 3sin(3t)] + c 2 [2sin(3t) + 3cos(3l)]
e2 t )'
-c1 cos(3l) - c 2 sin(3t)
i.e.'
{ X
y'
1
=
= 5
+
_ x + y}
5
X y
, x(0) = 1,
y
(0) = 3. (5.15)
x = ( ; ) , A= ( � � ) and x(O) = ( � ) .
-
The n
>. 1 1
det(>J - A) = ; -_ = (>. - 1)(>. - 5) + 5 = >.2 - 6>. + 10 = 0
>. 5
I 1
⇒ (2 + i)a - b = 0, and a = 1 ⇒
e 3t
( 2cos(t) � si n(l)
s )
)
'
e
3t
( 2sin(�\ f �os(t)
n
)
140 CHAPTER 5. LINEAR SYSTEMS
_ (xi (t ) x2 (t) ) _
X(t) - - e 3t
( cos(t ) sin(t )
2cos(t) - sin(t ) 2sin(t ) + cos(t ) )
is a fundamental matrix,
X(0) = ( � � ) , X(0)- 1 = ( � � ),
-
and x(O) = ( ; ) ⇒
= e3
t ( cos(t) + sin(t )
3cos(t) + sin(t) ) '
i.e., x(t) = e3t [cos(t ) + sin(t )] and y(t) = e3t [3cos(t ) + sin(t ) ].
(5.16 )
{ �;z' =: -4x
�: +: 4y4� +: 3:z } .
This system may be expressed in matrix form as x' = Ax, where
Then
A+ l -4 -3
det(AI - A) = -2 A - l -1
4 -4 A - l
= (A+ l)[(A - 1)2 - 4] + 4[-2(.A. - 1) + 4] - 3[8 - 4(.A. - l)]
(A+ 1)[.A.2 - 2,,\ - 3] + 4A - 12
(A+ l)(A - 3)(A + 1) + 4(.A. - 3)
(A - 3)[(.A. + 1)2 + 4]
= (A - 3)[.A. 2 + 2.A. + 5] = 0
5.1. HOMOGENEOUS SYSTEMS 141
- -2± J=R
=} A1 = 3 and A2, A2 = = -1 ± 2i are the eigenvalues of A.
2
( 2i -4
-2 2i- 2
4 -4
( 2i -4 -3 ) 2i -4
(
-2 2i - 2 -1 ---+ 0 -2i- 6
4 -4 2i - 2 0 -8i-4
142 CHAPTER 5. LINEAR SYSTEMS
i.e.'
(5.17)
U
This system may be expressed in matrix form as x' = Ax, where
( i) -�)
0 -4
0 0
X= and A=
0 0 0
8 0 0
Then
,\0 4 0
,\0 2 0 ,\ 2
0 A 0 2
det(,\J - A) =.A. 0 ,\ 0 +4 -1 0 0
-1 0 A 0
-8 0 ,\ 0 -8 ,\
0 -8 0 ,\
,\[,\(,\ 2 + 16)] + 4[,\2 + 16]
(,\2 +16)(.A.2 +4) = 0
=> .A. 1, >: 1 = ±2i and A 2 , >:2 = ±4i arc the eigenvalues of A.
(t -1
0
2i
0
4
0
2i
0 -8 0
144 CHAPTER 5. LINEAR SYSTEMS
(
0 4 0 2i O 4 0 2i 0 4
2i O 2 0 2i O 2 0 2i 0
=>
-1 0 2i O --t O O O O 0 0 0
) ( ) (
�0 -8 0 2i O O O 6 0 0 0
=> d = 0 => b =0 and 2ia + 4c = 0, and c = 1 => a = 2i =>
0 n l
is an eigenvector of A which corresponds to the eigenvalue >. 1 = 2i. Then
! )- !
i
Z1
i
[ ) + (
l(
is a complex solution, and
0 2 -2 sin(2l)
l
!!l(z 1 ( t)) = cos(2t) - sin(2t) (
= cos!2t)
( [ ) ( � ) ) ,
!
[
0 2 2 cos(2t)
'J(z 1 (t)) = sin(2t) + cos(2t) = sin:2t) )
( ) ( � )
[
are two real, independent solutions of the system (5.17).
* u �
u n1
is an eigenvector of A which corresponds to the eigenvalue >.2 = 4i. Then
)1
is a complex solution, and
1
� si�(4t)
x 3(t) = �(z2(l)) = [cos(4t) ( )-sin(4t) ( � = (- ),
2 0 2cos(4t)
� coo�4t)
x4(t) = 8'(z2(l)) = [sin(4t) ( ) + cos(4t) ( � ) = ( )
2 0 2sm(4t)
are two real, independent solutions of the system (5.17). Thus, x 1 (t), x2(t), x3(l) and
X4 (l) are four real, independent solutions,
-2sin(2t) 2cos(2l) 0 0 )
X(t) - O
- ( cos(2t)
0 -sin(4l) cos( 4t)
sin(2l) 0 0
0 0 2cos(4t) 2sin(4t)
146 CHAPTER 5. LINEAR SYSTEMS
(
-2 sin(2t) 2 cos(2t) 0 0
0 0 - sin(4t) cos(4t)
cos(2t) sin(2t) 0 0
0 0 2 cos(4l) 2 sin(4t)
i.e.,
x(l) -2c1 sin(2t) + 2c2 cos(2t),
y(t) -c3 sin(4t) + c4 cos(4t),
z(t) c1 cos(2l) + c2 sin(2t),
w(t) 2c3 cos(4l) + 2c4 sin(4t)
is the general solution of the system (5.17).
Generalized Eigenvectors
Consider the system x' = Ax, where A is a 2 x 2 matrix. If A possesses two distinct
eigenvalues >-1 and >-2 , with corresponding eigenvectors v 1 and v2, then two linearly
independent solutions of the system are
.\ 2 t
x1 (t) = e
.\ 1 t
v1 and x2(l) = e v2.
If A possesses only one eigenvalue >.1 of multiplicity two, i.e., det(>.I -A)= (>. - >.1) 2 ,
and if A has two independent eigenvectors v1 and v2 corresponding to >.1, then two
independent solutions of the system are
x1(t) = e .\ 1 tv1 and x2(t) = e .\ 1 t v2.
More generally, if an n x n matrix A possesses n independent eigenvectors (real or
complex), then n independent solutions of the system x' = Ax can be determined by
the methods already discussed.
with
m1 + m2 + · · · + mr = n.
Thus, n independent solutions of the system x' = Ax can be determined provided
that, for every eigenvalue Ai of multiplicity mi, a total of mi independent solutions of
the system can be found. Several cases are possible, and will be considered for n = 2,
n = 3 and n = 4, from which the suitable procedures for any n 2:: 2 can be deduced.
(5.18)
(5.19)
Then
I ,\�/ ,\ � 1 I
det(>.I - A) = (>. - 5)(>. - 1) + 4 = ,\2 _ 6,\ + 9
(,\. - 3) 2 = 0
=} ,\ 1 = 3 is the only eigenvalue of A, of multiplicity 2.
x�(t)= e 3t [t ( � ) + ( �l ) ] = e
3l
( 2l � 1 )
.
and
(� )'
l 3l
e
3
t 2t � 1 ) ( �� )
=( 2c1e�i� c:( �; �
t
l e
3
t
)
{ x'
y'
=
=
-5x
-x -
+ 4y } .
y
(5.22)
Then
A
det(>J - A) I \ l=(,\.+5)(,\.+1)+4=,\.2 +6,\.+9
S
;
A�
(,\. + 3) 2 = 0
=> ,\.1 = -3 is the only eigenvalue of A, of multiplicity 2.
Since A has only one independent eigenvector which corresponds to the eigenvalue ). 1
of multiplicity 2, a second, independent solution of the system must be sought in the
form
x2(t) = e- 3t(tuo + u1),
where u0 = v1 is an eigenvector corresponding to ). 1 and u 1 is a solution of the
algebraic system (A- ,,\ 1 I)u 1 = u0, i.e., a generalized eigenvector. With u 1 = ( � ),
⇒ -a+ 2b = 1, and b = 0 ⇒ a= -1 ⇒ u 1 = ( �
l
). Hence,
and
{
Example 5.14. Consider the system
x' = 2x
y' =
+ 3y
3y -- 9z
4z } . (5.23)
z' = y z
=� ) .
This system may be expressed in matrix form as x' = Ax, where
and A = ( � �
0 1 -1
Then
>.. -2 -3 9
det(>..I - A) 0 >.. - 3 4 = (>.. - 2)[(>.. - 3)(>.. + 1) + 4]
0 -1 >.. + 1
2
(>.. - 2)(>.. - 2>.. + 1) = (>.. - 2)(>.. - 1)2 = 0
⇒ >.. 1 = 2 of multiplicity 1 and >..2 = 1 of multiplicity 2.
an eigenvector which corresponds to the eigenvalue >.. 1 = 2. Thus, one solution of the
system (5.23) is
152 CHAPTER 5. LINEAR SYSTEMS
Since A has only one independent eigenvector which corresponds to the eigenvalue .A. 2
of multiplicity 2, a third, independent solution of the system must be sought in the
form
and
x(t) =
r
Example 5.15. Consider the system
= X + y - 2z
y' = - 3x + 5y - 6z } (5.24)
z' = -x + y
=� ) .
This system may be expressed in matrix form as x' = Ax, where
and A = ( -� �
-1 1 0
154 CHAPTER 5. LINEAR SYSTEMS
Then
,\-1 -1 2
det(>J - A) 3 ,\-5 6
1 -1 ,\
(,\-1)[,\(,\ - 5) + 6] + [3,\ - 6] + 2[-3 - (,\ -5)]
(>. - 1)(,\ 2 - 5,\ + 6) + (,\ - 2)
(,\ - 1)(,\ - 2)(,\ - 3) + (,\ - 2)
(>. -2)[(>. - 1)(,\ - 3) + 1]
(,\ -2)[>.2 - 4,\ + 4] = (,\ - 2)3 = 0
eigenvalue ,\1 = 2. Thus, two independent solutions of the system (5.24) are
Since A has only two independent eigenvectors which correspond to the eigenvalue ,\ 1
of multiplicity 3, a third, independent solution of the system must be sought in the
form
!)
where u 0 = av 1 + /Jv 2 is an eigenvector corresponding to ,\1 and u 1 is a solution of the
a= c =0 ⇒ b = 1 ⇒ u, =
(
n
which is consistent if and only if a = (3. Then -a+ b - 2c = a, and a
and uo =
(
�) Hence,
= 1 and
and
= e2t
(� � 3t � 1 ) ( �: ) = e
2t
( c + 2� 1
: � t3t
3
+ l) ) ,
0 1 l C3 C2 + C3 l
1
i.e., x(l) = (c1 + c3t)e2 t. y(t) = [c1 + 2c2 + c 3 (3t + l)]e2t and z(t) = (c2 + c3t)e2t .
{ �: : -� +
This system may be expressed in matrix form as x'
y + J
= Ax, where
(5.25)
156 CHAPTER 5. LINEAR SYSTEMS
Then
,\-1 0
det(>.I - A) =
0
0 ,\ - 1 0 = (,\ - 1) 3 = 0
1 -1 ,\-1
⇒ >-1 = 1 is the only eigenvalue of A, of multiplicity 3.
n
= = (�)
eigenvalue ,\1 = 1. Thus, two independent solutions of the system (5.25) are
Since A has only two independent eigenvectors which correspond to the eigenvalue ,\ 1
of multiplicity 3, a third, independent solution of the system must be sought in the
form
o) n.
=> b = 1 => u, = 0 ) and Uo = ( � ) Hence,
and
0 0
X(t) = (x1(t) x2(t) x,(t)) = e' ( � 0 1 )
1 t
is a fundamental matrix. The general solution is
xI3(t) = A 1eA1l (2 1
t 2 uo + tu1 + u2 ) + e .), t( tu0 + u1 ) ,
1
- -
The first two conditions in (5.26) are equivalent to
(>.1I A)uo = 0 and (A >.iI)u1 = uo,
respectively, as before. The third condition in (5.26) is equivalent to
(A - >-1I)u2 = u1,
a solution u2 of which is also called a generalized eigenvector corresponding to the
eigenvalue >.1 of multiplicity 3.
x-(n A-(-i =D
This system may be expressed in matrix form as x' = Ax, where
and
i
-
Then
>. 1 -2 1
det(>.I - A) 1 >.-4 1
-
0 -1 >.-1
-
(>. 1)[(>.-4)(>.- 1) + 1] - [-2(>. - 1) +1]
(>. 1)(>.2 - 5>. + 5) + (2>. - 3)
-
>.3 - 6>.2 + 12>.- 8
(>. 2) 3 =0
5.1. HOMOGENEOUS SYSTEMS 159
the only independent eigenvector which corresponds to the eigenvalue >. 1 = 2. Thus,
one solution of the system (5.27) is
Since A has only one independent eigenvector which corresponds to the eigenvalue >. 1
of multiplicity 3, a second, independent solution of the system must be sought in the
form
x2(l) = e2\luo + u1),
!),
where u0 = v1 is an eigenvector corresponding to >.1 and u 1 is a solution of the
(A - >-d)u1 = uo ⇒
-1 2 -1 a 1
(-1 2 -1 ) ( b ) ( 1 )
i)
0 1 -1 C 1
n
=> b - c = 0 and -a+ 2b - c = 1 => b = c, and c = 1 => b = l and a = 0 =>
u, = ( cc>
t2 t
½2 +
t+l
x 2 (t)=e2t ( t+l ) and x3 (t)=e 2t ( ½t +t+l ) ,
t lt
2
2
+1
and
i.e.,
{ :: : =�: : �� = �; } .
z' = -x + y - 4z
(5.28)
(n 5
This system may be expressed in matrix form as x' = Ax, where
c
2
-3)
and A= -7 3 -8
x= -1 1 -4
Then
>- + 5 -2 3
det(>.I - A) 7 >- -3 8
1 -1 >-+4
(>-+5)[(>- -3)(>-+4)+ 8] +2[7(>-+4) - 8] +3[-7 - (>- -3)]
(>-+5)(>-2 +>- - 4)+1U +28
(>.3 +6>. 2 +>- - 20)+ lU +28
>.3 +6>-2 +12>. +8
3
(>-+2) =0
>. 1 = -2 is the only eigenvalue of A, of multiplicity 3.
⇒
o =n H n o ) o -! =D u ) o ) ⇒
the only independent eigenvector which corresponds to the eigenvalue >-1 = -2. Thus,
162 CHAPTER 5. LINEAR SYSTEMS
Since A has only one independent eigenvector which corresponds to the eigenvalue >. 1
of multiplicity 3, a second, independent solution of the system must be sought in the
form
(A - >.1I)u1 = uo ⇒
and
l+l
3t + 2
l
is a fundamental matrix. The general solution is
i.e.'
x(t) 2
[c1 + c (t + 1) + c3 (tt2 t)]
+ 2
e- i,
y(l) 2 2
[3c1 + c (3l + 2) + c3 (�l + 2l+ 2)] e- 2 t,
z(t) 2 2
[c1 + c l+ c3 (�l + 1)] e- 2 t.
r, }
= -y + z
y' = X + w
= -w (5.29)
z'
w' = z
i 1 -1 0 i 1 -1 0 i 1 -1
-1 i 0 -1 0 0 -1 -i --) 0 0 -1
( ) --) ( ) (
00 i 1 00 i 1 0 0 0
00 -1 i 00 0 0 0 0 0
- sin(t) cos(t)
cos t sin t
x 1 (t) = !R(z 1 (l)) = ( �( ) ) and x2 (t) = '.:r(z 1 (t)) = ( �( ) )
I ;)
c� c� 2:)
-1 1 0 -1 1 0
I )
-1, 0 1 I 1 0 1
0 -1, -1 I o 0 -1, -1 0 -
0 1 I o 0 0 0 0
c�
-1,
-1 1 0
0 1 i I 2:
0 0 -2 I -2
0 0 0 I o
i.e.'
Exercises 5 .1
1. Find the general solution of the system { x;
= -5x + 6Y } .
y=- 3x+ 4 y
t: }
=� ! ) .
9. Find the general solution of the system { �2x + 3y
z' = -x+y+ 2z
10. Find a fundamental matrix for the system x' = Ax, where A = ( -!
-1 -3 5
1
1 . Find a fundamental matrix for the system x' = Ax, where
A
=
(
=! ! � ) .
=� ) .
1 2. = 3
Find the general solution of the system { x; - x + Y } .
y=- 4x- 3y
14. Find a fundamental matrix for the system x' = Ax, where A= ( i -� ) .
1 5. Solve the initial-value problem x' = Ax, x(O) = x0, where xo = ( !1 ) and
A= ( � -� ).
x' =x
1 6. Find the general solution of the system { y' = 2x + 2y - 2z } .
Z = X +y
1
furr:r
0 0
1 7. Find the general solution of the system x' = Ax, where A=
(
0 1
-1 2
( )
A= 0 1 1 0 .
-1 .o O 0
=1 ; ) .
CHAPTER 5. LINEAR SYSTEMS
20. Find the general solution of the system x' = Ax, where A= (
21. Find a fundamental matrix for the system x' = Ax, where A= � � .
( )
x' = 3x -y }
22. Find the general solution of the system { y' = .1: + 2y - z
z' = 3y - z
23. Find the general solution of the system x' = Ax, where A= ( �
i �).
24. i daf matrix for the system x' = Ax, where
:: �rr�r
( )
r-r�1
-1 1 -4
27. Find the general solution of the system x' = Ax, where A= (-� .
-1-0� 0
� )
28. Find the general solution of the system x' = Ax, where A = ( �-� � ).
1 1 1
-
29. i d th n of the system x' = Ax, where
:� �
r ·
( r-rr)
0 0 -1 1
5.2. NONHOMOGENEOUS SYSTEMS 171
is x(t) = xv(i) + x1i(t), where xv(t) is any particular solution of (5.30), and x1i(t) is
the general solution of the associated homogeneous system
Let X(t) be a fundamental matrix for the homogeneous system (5.31), and seek
a particular solution of the nonhomogeneous system (5.30) in the form
i.e.'
X(t)u'(t) = f(t),
172 CHAPTER 5. LINEAR SYSTEMS
left multiplication of which by X(t)- 1 gives u'(t) = X(tt 1 f(t) and, hence,
(5.35)
and determines a particular solution xp (t) for the nonhomogeneous system (5.30).
Analogous to single nonhomogeneous equations, this method is called variation of
parameters for systems.
f V1 (t) dt
v(t) = => j v(t) dt =
f v2(t) dt
Vn (t)
The general solution of the nonhomogeneous system x' = A(t)x + f(t) is then
{ x'
y'
= -5x + 4y + 2t
= -4x + 5y + t } (5.36)
This system may be expressed in matrix form as x' =Ax+ f(t), where
( 2t ) .
x=
( ) X
y
, A=
( -5 _
4)
4 5
and f(t) =
t
5.2. NONHOMOGENEOUS SYSTEMS 173
= (-X - 3)(-X + 3) =0
⇒ -X1 = 3 and A2 = -3 are the eigenvalues of A.
J X(t)- 1 f(l) dt dt = (
0
½te3t - ! e 3t
)
= g
e
1
3l (
3t - 1
)
0
� 3t 2(3t - l)e-3t � ( 6t - 2 )
e ( 3 ) =
g (3t - 1 )e- t 9 3t - 1 '
174 CHAPTER 5. LINEAR SYSTEMS
=� ) '
x(t) xh(t) + Xp (t) = X(t)c + Xp (t)
( ;::t
2e t
e _�:
) ( �: ) + t ( �!
i.e.'
x(t)
y(t)
x' = x - 2y + e t cos(2t)
{ y' = 2x + y (5.37)
+ e t sin(2l) }
This system may be expressed in matrix form as x' =Ax+ f(l), where
x=
( )
y
X
, A=
( 2
1 -2
1
) and f(t) = e
t ( COS (2t)
sin(2t) ) .
i [cos(2l) ( � ) - sin(2t) ( �l ) ] =e
t
( ��;g:j ) ,
( _ ;�:g�� ) ,
x 1 (l)
+ cos(2l) ( �l ) ] = e
t
x2 (t) e
l
[ sin(2i) ( � )
and
X(t) .
= (xi(l) x2 (i)) = e
l ( cos(2t) sin(2t)
sin(2t) -cos(2l) )
is a fundamental matrix. Then
_ (- -t cos(2t) - sin(2l)
cos(2t) )
=
-l ( cos(2t) sin(2t)
sin(2t) - cos(2l) ) '
( (
e - sin(2t) e
-t cos(2t) sin(2l) l cos(2l) 1
X(l)- 1 f(l) e ) ) = ( )
J J ( �)
sin(2t) -cos(2l) e sin(2t) 0 '
X(l)- 1 f(l) di dl = ( �)
(
0
t l cos(2t)
e t sin(2t) ) '
( (
x(i) x1i (i) + Xp (l) = X(t)c + Xp(t)
t cos(2t) sin(2t) c1 t cos(2t)
) ( c ) t
e sin(2t) -cos(2t) 2 + e sin(2t) ) '
1.e.'
x(l) l
[c1 cos(2t) + c2 sin(2t) + t cos(2t)],
et
y( l) e [c1 sin(2l) - c2 cos(2t) + t sin(2l)].
{
x' = -5x + 9y +
y' = -4x + 7y +
e
e
t
t
} (5.38)
=� � )
This sys tem may be expressed in matrix form as x' =Ax+ f(t), where
x = ( � ) , A= ( and f(t) = e
t ( �) .
176 CHAPTER 5. LINEAR SYSTEMS
det(,U -A)
I >, ;
5
;,
-_\ I = ( A + 5) (A - 7) + 36 = ,),2 - 2A + 1
(>--1)2 =0
and
X(l) = (x1(t) x2(t)) = et ( 3 3i + l
2 2t + 1
)
5.2. NONHOMOGENEOUS SYSTEMS 177
X(l)- 1 f(t)
J X(t)- 1 f(l) dt
�s:/ ) '
x(t) x1i(t) + xp(t) = X(t)c + xp (t)
=
i ( � �� : � ) ( �: ) + e
t
(
i.e.'
1:
lo
X( l) [ X ( t 0 )- x0 +
1
X ( s )- 1 f ( s) ds]
1: v1(s) ds
v(t) =
1: v2(s) ds
Vn (t)
{
x ' = -x + 2Y + et } x(O) = 2 y(O) = 1. (5.39)
y' = y + et ' '
This problem may be expressed in matrix form as x' =Ax+ f(t), x(O) = xo, where
⇒ b = 0, and a = 1 ⇒ v = v 2 = (
eigenvalue >-2 = -1.
t) is an eigenvector which corresponds to the
and
( �t ��l ) ( :: )
t
( t)'
1
t
( t) i: ds = ( ; ) =
( � ),
( � -i ) ( � ) i ) ' =
(
(i)+(i)=( : )
t l
t
⇒ x(t) X(l) [x(o)- 1 x(O) + 1 X(s)- 1 f(s)ds]
: t 1
( : ; ) ( ; )
t
e
(t + l)et + e -t
( (t + l)et )
i.e., x(t) = (l + l)et + e-t, y(t) = (l + l)et is the solution of the initial-value problem
(5.39).
x= ( ) y
X , A= ( -2
_ 1 _ 42), f ( t) =
e-2t
2
(42) and xo =(_ 1) .
- 4±FT6
⇒ ,\, ->,. = ----
2
= -2± 2i are the eigenvalues of A.
O 2cos(2 ) l
x 1 (t) e
_2 t[cos(2·t)(02).
-sm(2t)
(1 )]
=e _2t
(_ sin(2l))
,
t( 2cos(2t) 2sin(2t)
X(l) = (x1(t) x2(t)) = e _2
-sin(2l) cos(2t))
5.2. NONHOMOGENEOUS SYSTEMS 181
is a fundamental matrix. Then
�e2t ( cos(2l) -2sin(2t)
2 sin(2l) 2cos(2t)) '
= �e2 t
2
(
cos(2t) -2sin(2t)
sin(2t) 2 cos(2t))
e-2t (
4
2)
2 cos(2t) - 2sin(2t)
( 2sin(2t) + 2cos(2t))
lt( 2cos(2s)-2sin(2s)
d8
0 2 sin(2s) + 2cos(2s))
sin(2s) + cos(2s) t
( -cos(2s) + sin(2s))
I0
sin(2t) + cos(2t) - 1
( -cos(2t) + sin(2t) + 1 )
1 ( � � ) ( !1 ) = ( !1 ) '
X(o)-1x(O) + 1t X(st1f(s) ds
sin(2t) + cos(2t) - 1
1 ) + ( -cos(2t) + sin(2t) + 1 )
( -1
sin(2t) + cos(2t)
= ( - cos(2t) + sin(2t))
i.e., x(t) = 2e-2t, y(t) = -e- 2 t is the solution of the initial-value problem (5.40).
=� ) '
This problem may be expressed in matrix form as x' =Ax+ f(t), x(O) = x0, where
X
= ( :) ' A = ( � f(t) = ( � ) and Xo
= ( �) .
182 CHAPTER 5. LINEAR SYSTEMS
det(,\J - A)
I :1 ,\ !2 /
= ,\(,\ + 2) + 1 = ,\2 + 2,\ + 1
(,\ + 1) = 0
2
and
5.2. NONHOMOGENEOUS SYSTEMS 183
X(l)- 1 = -el ( �
1
- -l
\ )
= et ( � ),l t
�/
l l
( i ( ; �: ) ,
X(l)- 1 f(l) =
i � �/ ) ( � )
1 1
= (t -t)e l -(2s-l)e8
2
i: +2 o e8 ds
f
t
(l2 - 3l 3)el 3,
+
1
l
(2 - s)e8 ds (2 - s)e8 i: + fo\s ds
(2-t)el 2 - + - el 1
(3-t)e l -3,
1
l
X(s)- 1 f(s) ds
1
l
e8 ( � �: ) ds
(
(l 2 +
--
3l 3)el 3
(3 - l)et 3 .
-
)
X (o)- 1 x(O) = =
( � -� ) ( � ) ( � ) ,
2
( 1 )
+ (
(t2 3t + 3)e l 3
(3-t)e l 3
-
) - -
( ( t - 3l + 3)el
-- 1
2
(3 - l)e
t 2 )
{
Example 5.26. Consider the initial-value problem
X =1
X
y' = 3x - z + tcos(t) , x(O) = 1, y(O) = 2, z(O) = 1. (5.42)
z' = -x + y + tsin(t) }
This problem may be expressed in matrix form as x' =Ax+ f(l), x(O) = x0, where
x= : , A=
( )
z
(
� � -� , f(t) =
-l 1 0
) (
tco�(l)
tsin(l)
)
and Xo =
(
�l) ·
For the associated homogeneous system x' = Ax,
>. - 1 0 0
det(>.J - A) -3 >. 1
1 -1 >.
0)
n
cc>
Jl 0) 0)
(i-1
-3
1
5.2. NONHOMOGENEOUS SYSTEMS 185
z(l) = [cos(t)
+ isin(t)] [ ( � )
+
i(
! )]
is a complex solution of the homogeneous system,
�
x3 (l) = sin(t) ( � ) + cos(l) ( � ) = ( c� (l) )
1 0 sm(t)
0 �
1
X(lt = ( 2sin(t): cos(t) - sin(t) co (l) ) ,
- sin(l) - 2cos( t) cos(t) sin(t)
0
X(l)- 1 f(l) = ( 2sin(t): cos (t ) - sin(t) co�(l) ) ( t co�( t) ) = ( � ) ,
- sin(t) - 2cos(t) cos(t) sin(t) l sin(t) t
186 CHAPTER 5. LINEARSYSTEMS
⇒ x(t)
1 1
1.e., x(t) = et , y(t) = 2et + t2 cos(t), z(t) =et + t2 sin(t) is the solution of the
2 2
initial-value problem (5.42).
Exercises 5. 2
' = 2x + 3e2t
1. Find the general solution of the system { x,
}.
y =x- y+et
x'=4y+4cos(2 t) }
2. Find the general solution of the system { , . .
y = -X - 2 Slll(2t )
x' = -x + 4y + t2 et
3. Find the general solution of the system { ,
y = -x + 3y + tet }·
4. Find the general solution of the system { x; = 2x - 2Y }.
y =x+4y+ 2
x =x+e
5. Solve the initial-value problem { ; t
y = 2y+ 2e2
t } , x(0) = 3, y(0) = 2.
x; = -y 1
6. Solve the initial-value problem { + } , x(0) = 2, y(0) = 1.
Y = x+ 1
}
n' n'
x' = -2x - y + e- 4 t
7. Solve the initial-value problem { , _ t x(0) = 0, y(0) = 1.
y = 4x- 6y+ 2e 4
,
X
= ( A= (
-
� -[ f(l) = e' UJ
8. Solve the initial-value problem x' =Ax+ f(l), x(0) =xo, where
and Xo = ( D
Chapter 5 Exercises
1. A differential equation of order n 2:: 2 for the unknown function y(i) can be
transformed into a system of n first-order equations for the unknown functions
X1(t), X2(t), · · ·, Xn (l) by letting X1 = y, X2 = y', X3 = y", ·· ·, Xn = y( n -l)_
Consider the equation y" - 2 y'+y =0.
CHAPTER 5 EXERCISES 187
(a) Find two independent solutions y 1 (l) and y2 (t) of the equation, and the
general solution y(l).
(b) Transform the equation into a system of two first-order equations.
(c) Find two independent solutions x 1 (l) and x2 (l) of the system in part (b),
and the general solution x 1 (l), x 2 (l). Confirm that x 1 (t) is equivalent to
y( l).
(d) Compute the Wronskians W[y1 (l) y2 (t)] and W[x 1 (t) x2 (l)] and compare
the results.
(a) Find a fundamental matrix Y(l) such that Y(O) = I, the identity matrix,
and express the solution of the initial-value problem x' = Ax, x(O) = x0,
in terms of Y (t).
(b) Find a fundamental matrix Z (l) such that Z ( t0 ) = I, where t0 is a real
number, and express the solution of the initial-value problem x' = Ax,
x(t 0) = xo, in terms of Z(l).
=:
4. An n x n matrix A is diagonalizable, i.e., there exists a nonsingular matrix
P such that p- 1 AP = D is a diagonal matrix, if and only if A admits n
independent eigenvectors. Then D has the eigenvalues of A along its diagonal,
and the columns of Pare the eigenvectors of A. Consider the system x' = Ax,
1
where A = ( � ).
(d) Determine x(t) from y(t) in part (c) and confirm that your answer 1s
equivalent to the one in part (a).
0 0
5. Find a fundamental matrix for the system x' � Ax, where A � ( �
1 0
0 1
0 0
by generalizing the method employed in Examples 5.15 and 5.16.
by generalizing the method employed in Examples 5.17 and 5.18 and taking
n ),
In general, the subscripts of the vectors from left to right, are n = 0, 1, 2,
tn
Un,
Infinite Series
189
Chapter 6
Infinite sequences and series arise in such numerous applications that neither science
nor engineering would be possible in its present form without them. Sequences and
series are defined in the present chapter. More specialized forms of series and some
of their applications will be discussed in subsequent chapters.
All of the linear differential equations solved in Part I of this book are equations
with constant coefficients, with the exception of Cauchy-Euler equations, which are
of such a special form that they can be transformed into equations with constant
coefficients. In general, an equation with variable coefficients such as
can be solved only by means of infinite series. In the final chapter of this book, we
shall have gathered sufficient knowledge to solve Equation (6.1).
6.1 Sequences
Definition 6.1. Let f be a real-valued function and k an integer. The ordered set
of values off at the integers k, k + l, k + 2, · · ·, i.e.,
191
192 CHAPTER 6. SEQUENCES AND SERIES
{1 ! ! ! ... }
' 2' 3' 4'
00
is a sequence with a n = � and k = 1. It may be expressed as { � }
n n n=l
1 1
is a sequence with an = n and k = 0. It may be expressed as { n } .
2 2 n=O
{ -4, -2, 0, 2, 4, 6, · · ·}
{2, 3, 4, 5, · · ·}
n
Example 6.6. The sequence {an}�=o, where an = v'n+I' is
n+l
6.1. SEQUENCES 193
Given a sequence { an }�=k' it is frequently the case that the initial value k of n is
irrelevant. In that case, the sequence is expressed simply as {an }. One such instance
is when it is necessary to determine whether or not the terms an approach a unique,
finite number as n is increased indefinitely.
means that, the absolute value of the difference (i.e., the distance) between an and
L can be made arbitrarily close to O by taking n sufficiently large. More rigorously,
for any E > 0, however small, there exists an integer N, which depends upon E, such
that
n 2:'. N => Ian - LI < E.
If lim an= L, the sequence { an } is said to converge to L, and Lis called the limit of
n-+oo
the sequence. The notation an ---+ L as n ---+ oo is also employed. If no such L exists,
then the sequence is said to diverge, and lim an does not exist.
n-+oo
Example 6.8. It is clear that the number I_ can be made arbitrarily close to O by
n
taking n sufficiently large. For example, in order to make I_ < 10- 1 0 , take n > 10 10 .
n
In order to make I_ < 10- , take n > 10 , etc. Hence,
100 100
n
. 1
hm - = 0.
n-+oo n
Formally, for any E > 0, I I_ - 0 I = � < E if and only if n > �. Hence, it suffices to
n n E
1 1
n > - <E =?
E n
194 CHAPTER 6. SEQUENCES AND SERIES
Notice the manner in which this proof would fail if we made the false assumption
that lim a n= L where L-/=- 0. For example, if we take L = 17, then
n�oo
/¾- 11/ � 16
for all n -/=- 0, and, hence, I¾- 171 < c is impossible for any c � 16.
Example 6.9. Let c be a constant. In the present context, a constant is any number
independent of the "variable" n. The sequence
{ C} = { C, C, C, · · · }
converges to c, i.e., lim c = c since, for any c > 0, le - cl = 0 < c for all n � 1.
n->oo
hm -=0
. 1
n->oo nP
for any real number p > 0 smce, for any c > 0, let N > l/p. Then
. 1
c
n� N
If p =0, then lim � = lim 1 = 1. If p < 0, then lim � does not exist because
n-+oo nP n-+oo n-+oo nP
1
-P = P
n- , with -p > 0, increases indefinitely as n increases indefinitely. Thus, the
n
sequence { :P} converges for p � 0 and diverges for p < 0.
Example 6.11. Consider the sequence { ( -1 )"} of Example 6.5.
lim (-lt
n-+oo
doeti not exist because a n = ( -1 )" takes both of the values 1 and -1 regardless of
how large n is and, hence, the terms an do not approach a unique number. Thus, the
sequence { (-1 )"} diverges.
6.1. SEQUENCES 195
Example 6.12. lim sin(n) does not exist because sin(n) oscillates and does not
n......,oo
remain close to any one number regardless of how large n is. Hence, the sequence
{sin(n)} diverges.
1
Example 6.13. The number can be made arbitrarily close to O by taking n
2n
sufficiently large. Hence,
. 1
hm - = 0,
n---+oo 2 n
1
i.e., the sequence { n} converges to 0.
2
Example 6.14. Let r be a real number, and consider the sequence {rn }�=O· We
shall determine those values of r for which the sequence converges, and find the limit.
If lrl < 1, i.e., -1 < r < 1, then rn can be made arbitrarily close to 0 by taking n
sufficiently large; hence, the sequence {rn } converges to 0.
If r � -1, then rn alternates between positive and negative values, with rn 2:: 1 if n
is even and rn � -1 if n is odd; hence, the sequence { rn} diverges.
Theorem 6.1. Let {a n} and {bn} be convergent sequences, with lim an = L and
n......,oo
lim bn = M. Then:
n-,oo
1. The sequence {an + b,i} converges, and lim (an + bn )
n......,
= L + M.
2 . The sequence {can} converges for any constant c, and lim can = cL.
n......,oo
3. The sequence { an bn } converges, and lim an bn = LM.
n......,oo
an . an L
4. The sequence {- } converges if M =I- 0, and lim -
n......,oo bn
= -.
bn M
Example 6.15. By Example 6.10, lim � = 0 and lim --; = 0. Hence, by item 2
,i-,oo n ,i-,oo n
of Theorem 6.1 with c = -1, lim (--;) = 0 and, by item 1, lim (� - -;) = 0.
n......,oo n n......,oo n n
196 CHAPTER 6. SEQUENCES AND SERIES
Example 6.16. Since the sequence { ¾} converges to 0 by Example 6.8 and the
¾}
sequence {1} converges to 1 by Example 6.9 with c = 1, it follows by Theorem 6.1
that the sequence { 1 - converges to 1.
Example 6.17. If either {an } or {bn } diverges, then Theorem 6.1 is not applicable,
and sums, differences, products and quotients of such sequences may converge or may
diverge, depending upon the particular sequences.
Both of the sequences {n2 } and { n3 } diverge because their terms increase indefinitely
as n increases indefinitely, and { n 3 - n2} diverges. The limit is not 0.
Both of the equences { vn+T} and { fa} diverge, but
� � vln+l+fa 1
vn-t-1-fa= ( v n+l-fa) =
vn+1
n+l+fan vnTI
n+l+ fa
n
converges to 0 since the denominator can be made arbitrarily large and, hence, the
fraction arbitrarily close to 0, by taking n sufficiently large.
The sequence { ¾} converges to 0 and the sequence { n2} diverges. The product
{ 3
2
: n } ={ ¾} converges to 0.
n2 + 1n3 -
Example 6.18. Consider the sequence { }· In order to determine the
2n3 + n -l
limit of such an expression, divide the numerator and the denominator by nr , where
r is the greatest exponent of n in the denominator. In the present case, r = 3, and
n3 n2 + 1
-
2n3 + n -l
1 1 1
Since lim - = 0, lim 2 = 0, lim 3 = 0 and lim c = c for any constant c,
n->oo n n->oo n n->oo n n->oo
lim (1 - � + �) = 1
-= n �
and
�=
lim (2 + �� - �� ) = 2
n3 - n2 + 1 1
-
by Theorem 6.1. Hence, lim
n->oo 2 n3 + n - l 2
6.1. SEQUENCES 197
2n + 1
Example 6.19. Consider the sequence { J }· Divide the numerator
3n2 + 3n + 5
and the denominator by n = Jni to obtain
2n + 1 2+1n
J3n2 + 3n + 5
2
which converges to J3 as n --+ oo.
means that an can be made arbitrarily large by taking n sufficiently large. More
rigorously, for any K > 0, however large, there exists an integer N, which depends
upon K, such that
Similarly,
lim an = -oo
n->oo
means that lan l can be made arbitrarily large with a n < 0 by taking n sufficiently
large. More rigorously, for any K > 0, however large, there exists an integer N, which
depends upon K, such that
n�N ==} a n < - K.
In either case, the sequence { a n} diverges.
Example 6.20. The terms of the sequence { n3 } can be made arbitrarily large by
taking n sufficiently large. Formally, for any K > 0, let N > K 1 13. Then
lim a n
n-+oo
=0 if and only if lim lan l
n-+oo
= 0.
Proof. an is close to 0 if and only if lan l is close to 0.
limf(x) = L
x-+oo
⇒ liman= L.
n--+oo
In other words, if lim J(x) = L, then it is also true that lim an= L.
x-+oo n-+oo
The converse of Theorem 6.3 is false, i.e., if lim a n = L, then it may or may not
n->oo
be true that lim J(x) = L. For example, let J(x) = sin(1rx). Then an= sin(1rn) = 0
X->00
for all n and, hence, lim an = 0, but lim J(x) does not exist.
n-+oo x-+oo
ln n) ·
Example 6.22. Consider the sequence { � } In order to determine the limit of
ln(x)
the sequence, let J(x) = , and employ L'Hopital's rule to determine lim f(x).
X X->00
ln(x) l. ln(n)
lim -- = X->00
lim =0 ⇒
.:£ lim = 0'
X->00 X 1 n->oo n
by Theorem 6.3.
limit of the sequence, let J(x) = ( 1 + �) x' and employ the fact that
X->00
6.1. SEQUENCES 199
and
ln (1 + l)
lim x ln 1+ -X1) = lim x ,
X->00 ( X->00 -1
which is of the form i and, hence, L'H6pital's rule can be applied. Thus,
ln(l + l) 1�1
( - ;2 ) 1
lim x = lim = lim --1 = 1
X->00 lX X->00 x- -
1
�
X->00 1+ -
X
⇒ ⇒
n
lim J(x) = e = e
X->00
1
lim
n->OO
(1 + ]:_)
n
= e,
by Theorem 6.3.
Theorem 6.4. Let {an }, {bn } and {en } be sequences, and suppose that
This theorem is called the squeeze theorem because the terms of the sequence {bn }
are "squeezed" between the corresponding terms of the sequences {an } and {bn }-
sm n )
00
.
Example 6.24. Consider the sequence { . ( } Since -1 :s; sin(n) :s; 1, we
-n- n=l •
obtain the inequalities
1 sin(n) 1
--<--
- <-.
-
n n n
sin(n)
By Theorem 6.4, lim (-]:_) = 0 and lim (]:_) = O ⇒ lim = O.
n->oo n n->oo n n->oo n
Alternatively, since O :s; I sin(n)I :s; 1, we obtain the inequalities
2n
Example 6.25. Consider the sequence {an }�=1, where an = . Then
1
n.
2-2·2···2· 2 2 2 2 2 2
an = -------- = - . - . -···--. -·
1-2·3···n ( -l)·n 1 2 3 n-1 n
4 4
If n = l, then a1 = 2:::; -. If n = 2,then a2 = 2:::; -. If n :2:: 3,then
n n
2 -···--
-· 2 2 <1 2 -·
-· 2 -···--
2 2 <2
⇒
2 3 n- l - 1 23 n-1 -
Hence,
4
0:::; an :::; - for all n :2:: 1.
n
4
Since lim O = 0and lim - = 0,it follows by Theorem 6.4 that lim an = 0.
-->oo
n n-->oo n n-->oo
nl
Example 6.26. Consider the sequence {an }�=l,where an =
�- Then
n
1 ·2·3 ···(n-1) n
· l 2 3 n- l n
an = -------- = - . - . -•••--. -,
n·n·n···n·n n n n n n
a1 = 1 and, for n :2:: 2,
2 -···--·
3 n 1n -
-· -<1 ⇒
n n n n-
Hence,
1
0:::; a n :::; - for all n :2:: 1.
n
1
Since lim 0= 0and lim - = 0,it follows by Theorem 6.4 that lim an = 0.
n-->oo n-->oo n n-->oo
1 1
an+ l = -- < - = an for all n 2: 1.
n+ 1 n
6.1. SEQUENCES 201
n2
Example 6.29. Consider the sequence { an}�= 1, where an = ne-s. In order to
2
x
determine whether or not this sequence is monotone, let f(x) = xe- 8. Then
J'(x)
2
= e_xs +
2
xe_xs (-�) = e_x: ( 1 - :
2
) < 0 for x > 2.
It follows that the function f is decreasing for x > 2 and, hence, the sequence {an }
is decreasing for n 2: 3 > 2.
Example 6.30. The sequences {(-l)n} and {sin(n)} are not monotone because
none of the inequalities in Definition 6.4 can hold for all n 2: N for any integer N.
Definition 6.5. A sequence { an }�=k is bounded above if there exists a real number
K such that an :::; K for all n 2: k. It is bounded below if there exists a real number
M such that an 2: M for all n 2: k. It is bounded if it is bounded above and bounded
below, i.e., there exist real numbers K and M such that M :::; an :::; K for all n 2: k.
A sequence which is not bounded is called unbounded. K is called an upper bound,
and M a lower bound of the sequence.
00
n
Example 6.31. The sequence {- -} is bounded because
n + l n=O
n
0- > 0.
< -- < 1 for all n -
n+ 1 -
Here, M = 0 and K = l. These numbers are not unique since any M :::; 0 and K 2: 1
are also lower and upper bounds of the sequence, respectively.
2n 2: 2 for all n 2: 1.
It is not bounded above because lim 2n = oo, i.e., 2n can be made arbitrarily large
n--+oo
by taking n sufficiently large and, hence, it is impossible to have 2n ::; K for all n 2: 1,
for any real number K. Thus, {2n }�=l is unbounded.
202 CHAPTER 6. SEQUENCES AND SERIES
Theorem 6.5. A sequence { an }�=k is bounded if and only if the sequence {/an /}�=k
is bounded above.
Proof. If { an }�=k is bounded, then there exist real numbers M and K such that
MSa n SK for all n 2: k. Let L = max{/M/, /K/}. Then
M Sa n SK =? -L S an S L =? /an / S L,
i.e., {/an /}�=k is bounded above. Conversely, if {/an /}�=k is bounded above, then
there exists a real number K such that /an /S K for all n 2: k, and
/an /SK =? -KS an SK,
i.e., {a n}�=k is bounded.
00
1 1 l
Example 6.35. The sequence { - } is decreasing for n 2: 1 since -- < - for
n n= n+1 n
l
1
all n 2: 1, and it is bounded below since - > 0 for all n 2: 1. Hence, by Theorem 6.6,
n
it converges, a result which has already been established in Example 6.8.
In order to prove that the implication P(n) =} P(n + 1) is true, assume P(n) is
true and employ P(n) to show that P(n + 1) is also true. The assumption that P(n)
is true is called the inductive hypothesis.
n
Definition 6.6. Let a 1, a2, · · · , an be real numbers. The symbol Lai, read "The
i=l
sum of ai as i ranges from 1 to n," is defined by
n
Lai = a1 + a2 + a3 + · · · + an-I + an,
i=l
�i= n(n+l)
� 2
(6.2)
i=l
for all n 2 1. Let P(n) denote the formula (6.2), and apply the principle of induction.
If n = 1, then P(l) states that 1 = 1, which is true. In order to prove that the
implication P(n) =} P(n + 1) is true, assume P(n) is true and employ P(n) to show
that P(n + 1) is also true. Thus,
n+l
Li 1+2 + 3 + · · • + n + (n + 1)
i=l
n
i=l
n(n + 1)
+ (n + 1) (by the inductive hypothesis)
2
n(n+l) 2(n+l)
+
2 2
(n + l)(n + 2)
2
204 CHAPTER 6. SEQUENCES AND SERIES
which is P(n + 1), i.e., (6.2) with n replaced by n + 1. Thus, the formula (6.2) has
been proven by induction.
We shall employ induction to prove that the sequence is increasing for n 2: 1 and is
bounded above, and, hence, that it converges, by Theorem 6.6.
and it seems that an < 3 for every n 2: 1. In order to confirm this, we shall employ
induction, where P(n) is the statement "an < 3."
Since a 1 < 3, P(l) is true. Assuming that P(n) is true (the inductive hypothesis),
i.e., an < 3, we obtain
which is P(n + 1). Thus, it is proved that an < 3 for all n 2: 1, and the sequence is
bounded above.
Since a 1 < a2 < a3 < a4, it seems that the sequence is increasing. Let P(n) denote
the statement "an < an+1•"
Since a 1 < a2, P(l) is true. Assuming that P(n) is true, i.e., an < an+ i, we obtain
which is P(n + 1). Thus, it is proved that an < an+ l for all n 2: 1, and the sequence
is increasing.
where the last equality follows by the continuity of the function g(x) = J6 + x. Since
n ---. oo ⇒ n + l ---. oo,
Exercises 6.1
In Exercises 1 8, express the given sequence as {an }�=k.
1, -}, . ··}
1 1 1 1
3 {1, 4. {1, }
. 2' 4' 9' 1 6' ...
·}
1 1 1 .. 1
5. {1, 6. { 0, 1-- 1-� 1-� ···}
3' 9' 27' 2' 3' 4'
.
9. Wnte down the first five terms of the sequence
{ Jn2 + 1
--- }
2n + 1
00
.
n=O
10. Write down the first five terms of the inductively-defined sequence a1 2,
a2 = 3, an = a n-1 - an -2 for n ;::: 3.
11. Let {an }�=O and {bn}�=l be sequences such that bn = an+ J +; for all n 2'.: 1.
Determine bn+ l for n 2'.: 0 and bn-l for n 2'.: 2.
1 1 1 1
3 5, 7, 9, · · ·
, as {an}�=k in three different ways.
12. Express the sequence { }
In Exercises 13-48, determine whether or not the given sequence { an} converges. If
it converges, find the limit. If it diverges, determine whether or not lim an = ±oo.
n--+oo
206 CHAPTER 6. SEQUENCES AND SERIES
1
13. an= -1r
n
3
20. a n = r,;:;
yn
101,000,ooo,ooo,ooo 2 5
21. a n =
no.0000000001 22. a n = 3 - -2 + -n
n 4
1 3n2 2n - 3
n+
-
23. an = 24. an
+ 3n + 1
=
3n 2n2
3n3 - 2n - 3 3n2 - 2n - 3
25. a n 26. an
4n2 + n+ 1
=
+
=
2n3 2n -1
3n2 - 2n - 3 3n2 - 2n - 3
27. a n = ----;:::==== 28. an = ----;:::====
v2n4 + 3n + 1 v2n5 - 2n + 1
3n - 2n - 3
2
29. an = ----;::==== 30. a n = n2 - 2y'n
v'2n 3
- n+1
1r
(-- -1 1 - (-1r
35. a n = - 36. an = -- -
n n
ln(n )] 2
37. an = [
n
n P
40. a n = [ln( )] , p > 0, q > 0
nq
l ln( n)
43. a n = [ln(n)] /n
1
44. an = n /
6.1. SEQUENCES 207
cos(n) sin(n2 )
45. an =-- 46. an=
n fo
en (2n)!
-
47. an = - --
48. an -
n! 2nn2 n
In Exercises 49 54, determine whether or not the given sequence { a11 } is increasing
or decreasing for n 2::: N.
oo
53.
{ n ln(n)
00
54.
sin n)
{ � }
00
en } n =] n n =l
In Exercises 55-58, determine whether or not the given sequence { an }�=l is bounded
above (an :S K), bounded below (an 2::: M), or bounded (M :S an :S K). In each case,
determine Kand/or M, if it exists (the bounds K and Marc not unique).
n 1
t 55. an =
vnTI
56. an = -
2n
- ln(n)
-1
57. an =
1 58. an=n2 e-n
1--
n+]
. . � n(n + 1)(2n + 1)
59. Prove, by mduct10n, that � i 2 = .
t=l 6
61. Consider the sequence { an }�=l, defined inductively by a1 = 1 and an+l = 1-2_
an
for n 2::: 1. Does the sequence converge? Justify your answer.
62. Consider the sequence {an }�=l , defined inductively by a1 =2 and an+l =2 - 2_
an
for n 2::: 1. Prove, by induction, that 1 :S an :S 2 and that {an }�=l is decreasing
for n 2'. 1, and find the limit.
208 CHAPTER 6. SEQUENCES AND SERIES
6.2 Series
Definition 6. 7. Let { an }�=l be a sequence. Define the sequence { sn }�=l by
S1 a1
s2 a1 + a2
s2 a1 + a2 + a3
Lai.
n
Sn a1 + a2 + a3 + · · · + an =·
i=l
The sequence
La
00
n = a1 + a2 + a3 + · • • (6.3)
n= l
00
and called an infinite series, or simply a series. The series Lan is said to converge
n=l
if the sequence { sn } converges. Otherwise, the series diverges. If lim Sn = s, then s
n-->oo
is called the sum of the series, and
oo n
� an = lim Sn = lim � ai = S.
L n----+oo n----+ooL
n=l i=l
La .
00
n
n=l i=l k l (=l
6.2. SERIES 209
all represent one and the same series, determined entirely by the sequence {an } n=l.
In Definition 6.7, the sequence {an } was employed with n = l, 2, 3, · · · for the sake
of definiteness. More generally, if the initial value of n is k, then the corresponding
senes 1s
CX)
For example,
La
CX) CX)
L L
CX) CX) CX) CX)
CX) CX)
L ca L ca
CX) CX) CX)
L
CX) CX) CX)
Note that, if Lan converges and bn diverges, then L(an + bn ) must diverge
n=l n =l n=l
L (a
CX)
Example 6.39. Let r be a real number, and consider the sequence {rn }�=o· The
' corresponding series is
CX)
Lrn ,
n =O
210 CHAPTER 6. SEQUENCES AND SERIES
called a geometric series. In order to determine the values of r for which the series
converges and to find the sum, consider the nth partial sum
Sn = Lr = 1 + r + r + r3 + • • • + rn-l + rn.
i=O
i 2
Then
rs n r (1 + r + r2 + r3 + • • • + rn-l + rn)
r + r 2 + r3 + ... + rn-1 + rn + rn+l
and, hence,
1 + r + r 2 + r 3 + ... + r n-l + r n
-r_r 2 _ r 3_ ..._r n-1 _ r n _ r n+l
1 - rn+l
⇒ (1-r)s n 1 - rn+l _
If r-=/ 1, then
S n= ---
1-r
By Example 6.14 in Section 6.1, the sequence {rn } converges to O if -1 < r < 1 and
diverges for r ::; -1 or r > 1. Hence,
1-r n+l
lim Sn = lim --- if -1 < r < 1,
1
1-r
and { s n} diverges for r ::; -1 or r > 1. If r = 1, then rn = 1 for all n, and
n-+oo n-+oo 1 - r
Sn = 1 + 1 + 1 + ··· + 1 = n+1
⇒ { s n} diverges. In summary,
�r = - lrl < 1,
�
00
1-r'
1
n=O
n
2
00 00
I:
=O =O ( )
=
n
1 1 1
n
This series is geometric with r = - and, since - = - < 1, the series converges and
2 2
11 2
�2n- 1_.!-
00
1 1
n =O
� - -2
2
6.2. SERIES 211
where the last equality follows by item 2 of Theorem 6 8 This series is geometric
. .
i
with r = and, since Ii I i
= < 1, the series converges and
00
'""""' -2 · 8n · 3 -2n = -2--
1
= -18.
� 1- -98
n=O
r + r2
00
+ r3 + • • •
-1 + ( 1 + r + r2
n=l
00 + r3 + ... )
n=O
1
-1+--
1-r
r
1-r
212 CHAPTER 6. SEQUENCES AND SERIES
n=k
-1 - r - r2 + (1 + r + r2 + • • • + r k -l + r k + r k+l + ... )
- · · · - r k -l
- (1 + r + r2 + · · · + r k -1) + (1 + r + r 2 + • • •)
-L Lr
k-1 oo
r +
n n
n=O n=O
l -r k l
(by Example 6.39)
-� + 1_r
rk
l-r
For example,
and
where the right side is obtained from the left by partial fractions. Then the n th partial
sum of the series is
n (1 1 )
Sn
= � k- k+1
!2 ) + (!2 _ !3 ) + (!3 _ !4 ) +... + (- 1 _ 2:.) + (2:. __ 1
(1 _ )
n-1 n n n +l
1
1---.
n+l
Hence, lim Sn = l, i.e., the series converges and
n-+oo
1
00
� n(n + 1) = 1.
Example 6.46. Consider a series with only a finite number of nonzero terms, i.e.,
00
with an = 0 for n > m � 0. Then the partial sums Sn of the series are given by
S1 a1
s2 a1 + a2
s3 a1 + a2 + a3
L ak
m
Sm a1 + a2 + a3 + · · · + am =
k=l
L ak
m
Sm+1 a1 + a2 + a3 + ... + am + 0 =
k=l
L ak,
m
Sm+2 a1 + a2 + a3 + ... + am + 0 + 0 =
k=l
i.e., the series reduces to an ordinary finite sum. Such a series is called a finite series.
00
then Lan diverges. The latter version is often called the nth -term test.
n=l
oo n
"ak is the n th partial sum of the series.
Proof. Lets= Lan = lim Sn , where Sn = L
n--+oo
n=l k=l
214 CHAPTER 6. SEQUENCES AND SERIES
Then
Sn a1 + a2 + · · · + an-1 + an and
Sn-l a1 + a2 + · · · + an-1
Hence,
lim an = lim (sn - Sn-1) lim Sn - lim Sn-1 = s - s = 0.
= n---+oo
n---+oo n---+oo n---+oo
The second assertion in the theorem is the contrapositive of the first, and the two are
logically equivalent.
00
Note that the proof fails if Lan diverges for, then, the numbers does not exist,
n=l
and the term s - s has no meaning.
00
l n 1
Example 6.47. The series� ( ) converges since it is geometric with r
3 =
3 and
n
l!I < 1, and lim (!) = 0, as guaranteed by Theorem 6.9.
3 n->oo 3
n=l
0, if n is even
Sn l-1+1 -1 + 1 - 1 + ... + (-l) n -1 = { }.
1, if n is odd
=
n
Since lim --;::== = 1 =/- 0, the series diverges by the n th-term test (Theorem 6.9).
n->oo ✓n 2 + 1
6.2. SERIES 215
The reader is warned that the converse of Theorem 6.9 is false, i.e., if lim an = 0,
n-+oo
00
then there is no guarantee that the series Lan converges. It may converge, or it
n=l
may diverge, depending upon the particular series. Examples of both will be given
shortly.
y y
a
II
2 3 n-1 n X 2 3 n-1 n x
Figure 6.1: Rectangles of lesser area (left) and rectangles of greater area (right).
Since every rectangle has unit width, its area is equal to its height. Hence, the areas
of the rectangles on the left are a 2, a3, · · · , an , and the areas of the ones on the right
are a 1, a 2, · · · , an -J, as depicted in Figure 6.1. Employing the fact that the area
n
under each curve for 1 :S: x :S: n is i f ( x) dx, we obtain the inequalities
(6.4)
00
Consider the series Lan , and let { sn } n=l be the sequence of n th partial sums. From
n=l
216 CHAPTER 6. SEQUENCES AND SERIES
00
If / f(x) dx < oo, then, by (6.5) and the fact that f(x) > 0 for x 2: 1,
Sn :S a1
n
+ l J(x) dx :S a1 + 100 J(x) dx < oo
If 100 J(x) dx = oo, i.e., the improper integral diverges, then, by (6.6), ·
n n
S n 2: an + J J(x) dx 2: 1 J(x) dx
n 00
⇒ lim Sn 2: lim J J(x) dx = J f(x) dx = oo
n->oo n->oo 1 1
00
⇒ n__.,oo
lim S n oo, i.e., the sequence {sn }�=l and, hence, the series""
= an , diverges.
n= l
L,_;
Theorem 6.10. Let f be positive, continuous and decreasing for x 2: 1, and let
an = f(n). Then the series
00
1
and let f ( x) = 2. Since f is positive, continuous and decreasing for x > l and
X
an= J(n), the integral test applies. Thus,
00
1 1 00
⇒ 1
oo
J
2 d x =--1 =l<oo
1 X X 1 I: n2
n=l
converges by Theorem 6.10. We shall have to wait until Chapter 8 before we shall be
able to determine the sum of this series.
1
and let f ( x) = -. Since f is positive, continuous and decreasing for x > l and
X
a n = J ( n), the integral test applies. Thus,
oo
1
oo 00
1
- dx = ln lxl = oo
ll
⇒
JI X
I:
n=l
n
-
Thus, as stated earlier following the n th -term test, lim an = 0 does not guarantee
n-+oo
00
the convergence of the series Lan . Comparing the two series above,
n=l
00 1 1 1 1 1 1 1 1 1 ...
Ln 2 1+-+-+-+-+-+-+-+-+ (6.7)
n=l 4 9 16 25 36 49 64 81
00 1 1 1 1 1 1 1 1 1
I:�
n=l
1+-+-+-+-+-+-+-+-+···
2 3 4 5 6 7 8 9
(6.8)
we find that, although the terms in (6.8) approach 0, they do so much more slowly
than the ones in (6.7), and that is the reason for its divergence. Whereas the sum in
(6. 7) approaches a finite number, the sum in (6.8) increases indefinitely.
If p < 0, then -p > 0 and lim � = lim n-P = oo-/= 0. Hence, the series diverges
n-+oo nP n-+oo
by the nth-term test.
1
If p = 0, then lim - = lim 1 = 1 -/= 0. Hence, the series diverges by the nth -term
n-+oo nP n-+oo
test.
1
If p > 0, let f(x) = -. Since f is positive, continuous and decreasing for x �land
xP
an = f(n), the integral ·test applies. The series diverges if p = l by Example 6.51
and, for p -/= 1,
,
00 1 , x1 -P 1 00 oo, if p < l
J J
00
Hence, the series converges for p > land diverges for p ::; 1 by Theorem 6.10.
1
00
�nvn·
3 3 .
S.1ncel = - l -, th.1s 1s
· a p-senes
· wit
· hp = - and, smce
. - > 1, the senes converges
nyn
r,;;; n31 2 2 2
by Example 6.52.
1
00
� nln(n)"
1
Let J(x) = . Since f is positive, continuous and decreasing for x > 2 and
x 1 nx( )
an = J(n), the integral test applies. Thus, making the substitution u = ln(x),
12
00
- 1-dx =
X ln( X)
f00 ..!. du= ln 1u1l
J1n(2) U
00
= 00.
Jn(2)
Approximations of Series
00
Let Lan be a convergent series. If the sum s of the series cannot be determined,
n=l
then it can be approximated. By definition of limit, since
oo n
s = � an = lim = lim � ak,
L n-+oa
Sn
n-?OO L
n=l k=l
the terms Sn can be made arbitrarily close to s by taking n sufficiently large. Thus,
Sn is approximately equal to s, written Sn � s, and the larger we take n, the better
the approximation. Whenever an approximation is made, knowledge of the maximum
possible error is essential. The error made in approximating s by Sn is
DO n 00
y y
1 00
n +I
f(x) dx�Rn� 100
n
J(x) dx. (6.11)
1 J(x) dx.
6.2. SERIES 221
Since p = 3 > 1, the series converges by the integral test (Theorem 6.10). If the sum
of the series is approximated by s2 , i.e., n = 2, then
=
s=L 3 � s2 = L k23 = 2 + 41 = 2.25,
2
n
2
n=l k=l
and
1 1 1
= =
2
x 13 2
x1 1 2
⇒
.
-- :S R2 :S - - - < R2 < -.
9 - - 4
1 1
Thus, the minimum error is � 0.111 and the maximum error is = 0.25. If, instead,
the sum is approximated by s5, i.e., n = 5, then
9 4
2 2 1 2 2 2
= � -3 ,.:;::; =�- = 2 + -4 + - + - + - ,.::::; 2.37'
� k3
= 5
�n 27 64 125
S S5
and
1 1 1 1
<R5<-'
=
x2 1 5
=
x2 36 - - 25
⇒
16
-- :S R5 :S - - -
1 1
i.e., the minimum error is - ::::::; 0.028 and the maximum error is -
36 25 = 0.04, with a
much better approximation.
1
Let f(x) = x[ln(x)]2. Since f is positive, continuous and decreasing for x � 2, the
integral test applies, and the series converges because
1 1 1
= -ln(x) I =
r= .
J2 x[ln(x)]2 dx ln(2) < oo
2
222 CHAPTER 6. SEQUENCES AND SERIES
Suppose that an approximation of the sum s of the series is required such that the
error is no greater than 0.1. How large mustn be taken? Since
1 1 1 loo 1
00
1
the required precision is guaranteed if - ::; 0.1, which requires that ln(n) > 10,
ln(n)
i.e.,n :2: e 10 � 22,026.47. Hence,n :2: 22,027.
3n2
00
I:=l
n
en
3
·
3x2
Let f ( x) = � = 3x2 e-x . Then f is positive and continuous for x :2: 1, and
3
for x :2: 1 ⇒ f is decreasing for x :2: 1. Hence, the integral test applies, and the series
converges because
Suppose that an approximation of the sum s of the series is required such that the
error is less than 0.0001. Note that R n= s - Sn> 0 since {s n}�=l is increasing. How
large mustn be taken?
1 3x2 1 1
00
- -dx
n ex3 ex3 n e n3
Comparing the results of Examples 6.57 and 6.58, we notice that a large degree of
accuracy is obtained in the latter by taking only 3 terms of the series, whereas fairly
poor accuracy is obtained in the former by taking as many as 22,027 terms. Such
discrepancy is due to the fact that the terms of the series in Example 6.58 approach
0 much more rapidly than the ones in Example 6.57, and the addition of more terms
has a small effect upon the final sum.
6.2. SERIES 223
Lb La
00 00
Lb
00 00
Note that the initial value of n is given as 1 for definiteness, and may be replaced
by any other integer, and the initial values of n in the two series need not be the
same. The reason is that, for any integer m,
00
m-1 00
and Lan converges if and only if Lan converges because a finite number of terms
n=l n=m
La
m-1
such as n do not affect convergence.
n=l
Since
1 1
O<--<
- n2 + 1 - n2
for all n � 1 and the series L 2n1 is known to converge (it is a p-series with p = 2 > 1),
00
n=l
1 1
it follows by the comparison test (Theorem 6.11) with an= -2-- and bn = 2 that
n +1 n
224 CHAPTER 6. SEQUENCES AND SERIES
1
00
� --- converges.
Ln
n=O
2 +1
1
00
Ln-1·
n=2
Since
1
n=l
it follows by the comparison test (Theorem 6.11) with an _!__ and bn = - - that
n n-1
=
1
00
� -- diverges.
Ln-1
n=2
Since
00 2 n
for all n 2: 0 and the series ( ) is known to converge (it is a geometric series
� 3
2 2 2
with r = and 1 1 = < 1), it follows by the comparison test (Theorem 6.11) with
3 3 3
2n 2 n 00 2n
an = + and bn = ( ) that + converges.
3n 1 3 � 3n 1
Since
6.2. SERIES 225
3
= n
for all n 2'. 2 and the series � ( ) is known to diverge (it is a geometric series
2
with r =�and �
, , =�2: 1), it follows by the comparison test (Theorem 6.11) with
3 n 3n = 3n
an = ( ) and bn = that � n _ diverges.
2 2
n _
3 2 3
(X) 1
Ln+1·
n=O
The inequality
1 1
O<--<
- n+ 1 - n
for all n 2'. 1 is of no use, because L -n1 diverges. Instead, employ the inequality
(X)
n=l
1 1 1
-->--=->0
n + 1 - n+ n 2n -
=
= 1 1 1 = 1
for all n 2'. 1. Since � - = - � - diverges, � -- diverges by the comparison
L2n
n=l
2Ln
n=l
Ln+l
n=O
test.
f ln(l
n
+ ¼).
n=l
� ln(l + ¼) = � nln(l + ¾) =
� ln[(l + ¾) ]
n
.
L n L n2 L n2
n=l n=l n=l
L 2 1
L ln(l + .!.n )
L
00 00
Since 2 =2 2 converges, it follows by the comparison test that
n n n
converges.
n=l n=l n=l
� [ln(n)] 6
L n2
n=l
[ln(x)] P [ln(n)J P
Since lim = 0 for any p > 0, q > 0, by L'Hopital's rule, lim = 0 by
X->00 Xq n->OO nq
Theorem 6.3. Thus,
[ln(n)] 6 [ln(n)] 6 1
n2 nl/2 n3/2 '
[ln 1 6
and lim tl = 0 =} there exists an integer N such that
n->00 n
[ln(n)] 6 [ln(n)] 6 1
nl/2 <
1 =} 0 :s: n2 :s: n3/2 '
and, since f
n=l
; converges,
n /2
f
n=l
[ln ) 6
�� ] converges by the comparison test.
5
00 00
Lan =
n=l
L
n=l
n3 - ;: 2n + 3 ·
As seen in Example 6.66, certain of the inequalities required for the comparison
test may become too tedious. An alternative test, which is especially suitable for
series such as the one in Example 6.66, is given by the following:
Theorem 6.12. Let {an } and {bn } be sequences with an > 0 and bn > 0 for n::::: k,
where k is an integer, and let
. an
L = hm -.
n ---+oo bn
Lb
00 00
1. If O<L<oo, then either both Lan and n converge, or they both diverge.
n=l n=l
Lb
00 00
Lb
00 00
As in the comparison test, the initial value 1 of n may be replaced by any other
integer. This test is called the limit comparison test..
L n - ;:52n + 3 ·
00 00
Lan = 3
n=l n=l
Since we have deduced in Example 6.66 that a n rv -;, let bn = -;. Then
n n
a n3 + 5n2
L = lim _!I: = lim ------- = 1
n ---.oo bn n ---.oo n3 - n2 + 2n + 3
228 CHAPTER 6. SEQUENCES AND SERIES
00 00
and, since O < 1 < oo and Lb n converges, Lan converges by the limit comparison
n=l n=l
test (Theorem 6.12).
1 1 1 1
1
for large n. Let b n = -. Then
n
an 1
lim - = lim -- =1
n---+oo bn n---+oo n / n
l
00 00
and, since O < 1 < oo and Lb n diverges, Lan diverges by the limit comparison
n=l n=l
test (Theorem 6.12).
1
let bn = 4 . Then
n /3
00 00
and, since O < 1 < oo and Lb n converges, Lan converges by the limit comparison
n=l n=l
test (Theorem 6.12).
6.2. SERIES 229
n=l
�
3 5 1 1
p > 1 and q > Osuch that p + q = , e.g., p = and q = , and let bn = 5 4. Then
2 4 4 n1
an [ln(n)] 2 =0
L = nlim = nlim
-oo bn -oo n l /4
Lb
00 00
and, since L = 0 and n converges, Lan converges by the limit comparison test
n=l n=l
(Theorem 6.12).
1
and let bn = -. Then
n
a n n 1/2
L = lim ___!1:.
n -oo bn
= lim -------
n -oo Jn+T[ln(n - 1)] 7
=
F+I
lim ------ -
n- 00
- = oo
[ln(n _ 1)]7
00 00
[ln(n - 1)] 7
because lim .:;____
n -oo nl/2
= 0. Since L = oo and "b
_c._
L n diverges, L
"an diverges by
n=l n =3
the limit comparison test (Theorem 6.12).
I)-l)nbn = bo - b1 + b2 - b3 + b4 - b5 + · · · ,
n =O
where bn > 0 for all n � 0, is called an alternating series. More generally, for any
integers k and m,
n =k
with bn > 0 for all n � k, is an alternating series.
230 CHAPTER 6. SEQUENCES AND SERIES
Thus, an alternating series is one where the terms are alternately positive and
negative.
1
> 0.
is an alternating series with bn = - - > 0 for n -
n+ 1
1
is an alternating series with bn = Jn > 0 for n 2 1.
I)-1r sin(n)
n=l
is not an alternating series because there are values of n for which bn = sin(n) f 0.
If {bn } is decreasing for n 2 k, where k is an integer, and lim bn = 0, then the series
n->oo
converges. This theorem is called the alternating series test.
(-1r 1 1 1
L--
00
= -1+- -- +- - ...
n
n=l
2 3 4
ln(x). 1 - l ( x)
Let J(x) = Then f'(x) = �
X
< 0 for x > e ⇒ J is decreasing for x 2:: e.
X
ln (n) ln(n) .
Hence, ·{ -- }
00
n=O
n=O
k =O
then the absolute value of the error is less than the absolute va lue b n+l of the first
neglected term (which is ±b n + 1). In other words,
IR..I
= Is - sn l < bn +l,
where Rn= k
k
k=n+l
Proof.
00
S - Sn
k= n +l
because {bn } is decreasing for n 2: 0 => -(bn+m - bn+m+1 ) < 0 for all m 2: 0.
Since {bn} = { �4 } is decreasing and bn > 0 for n 2: 1, and J�� bn = 0, the series
converges by the alternating series test (Theorem 6.13). Suppose that the sum s of
the series is approximated by s3, i.e.,
(-1r-1 (-l)k-1 1 1
s L L 1- � 0.9498.
oo 3
= n4 � S3 = k4 = 16 +
81
n=l k=l
Then
1 1
IR3I = Is - s3I = 0.003 ,
44 256 � 9
<
i.e., the error, in absolute value, is at most 0.0039.
� ln(n) ·
Since {bn } is decreasing and bn > 0 for n 2: 2, and J�� b = 0, the series
= { lntn)} n
converges by the alternating series test (Theorem 6.13). How large must n be in order
that the error in the approximation of s by Sn be less than 0.0001 in absolute value?
Since
lerro rl = IRnl = Is - sn l < bn+ l,
the required accuracy is achieved by requiring that
1
bn+ l = l '.S 0.0001,
ln(n + )
which holds if and only if
ln(n + 1) 2: 10,000,
i.e.'
n> e 10 ,ooo - 1
- '
1
which is an astronomically large number. The reason is that the terms - - - 0
ln n)
(
far too slowly compared to, say, -;- , and such a large number of terms is required in
n
order for the finite sum Sn to become sufficiently close to the infinite sum s.
6.2. SERIES 233
00 00 00
If L lan l converges, then L 2lanl = 2 L lanl converges and, by the comparison
n=l n=l n =l
00
test, L(an + lan l) converges. Hence,
n=l
00 00
Lan = L[(an + lan l) - lanl]
n =l n=l
converges by Theorem 6.8. The second statement is the contrapositive of the first,
and is logically equivalent to it.
00 (-1r 00 _!_
L 1 2 l= L 2
n=l
n n' n=l
L(--
-1r
00
it follows by Theorem 6.15 that converges. Of course, this result can also
n2
-
n=l
be established independently by the alternating series test.
00
Example 6.80. The series L(-1r
--n
converges by the alternating series test, but
n=l
the series
001(-1rl 00 i
I:-
n =I:-n
n=l n=l
diverges (it is a p-series with p = 1 � 1).
234 CHAPTER 6. SEQUENCES AND SERIES
00
Examples 6.79 and 6.80 demonstrate that, for certain series, both La n and
n=l
00
L L
00 00
lanl converge, whereas for others, La n converges but lanl diverges. Of course,
n=l n=l n=l
00 00
if L lanl converges, then La n converges by Theorem 6.15.
n=l n=l
00
Definition 6.9. A series La n converges absolutely if both
n=l
00 00
n=l n=l
00 00 00
converge. If La n converges but L lanl diverges, then the series Lan converges
n=l n=l n=l
conditionally.
00
If a n 2: 0 for all n 2: 1, then lanl = a n and, hence, La n converges if and only if
n=l
it converges absolutely. Thus, there is a difference between absolute and conditional
00
convergence only for series La n where the a n take both positive and negative values.
n=l
00
It must be emphasized that, whether La n converges absolutely or conditionally,
n=l
it converges. The distinction between absolute and conditional convergence pertains
00
only to whether or not the series L
lanl converges.
n=l
00
Example 6.81. By Example 6.79, the series L--
(-1r
n2
converges absolutely and,
-
n=l
00
by Example 6.80, the series L (--
-1r
n
converges conditionally. Note that both series
n=l
converge. The distinction arises because, in the former,
00 00
L
(-1r _
1 n2 l - Ln2
2-
n=l n=l
diverges.
1
I (-1r I (X)
� nln(n)
(X) = � nln(n)
oo
(-l)n
diverges by the integral test. Hence,� converges conditionally.
nln(n)
L�-
00
( 2r -
or r
n=O
�J�= "I = t, �: = t,
The series
)
oo
. .
converges smce 1t 1s geometnc . h I r I < 1. Hence,
. wit
2 L (-
5n converges abso 1 ute1y.
--
. n=O
(-1r ✓n2 + 1
diverges by the n th-term test because lim - - -- =f. 0 (the limit does not
n-->oo n+l
exist ). It follows by Theorem 6 15 that
f
.
(-1r ✓n2 +1 = f Jn + 2 1
n+ l n +l
n=O n=O
Jn2 + 1 = 1 =f. 0.
diverges, a result which can be established independently since lim
n-->oo n+l
236 CHAPTER 6. SEQUENCES AND SERIES
L = lim
n---->
exists. Then:
00
00
As usual, with regard to convergence, the initial value O of n can be replaced by any
other integer. This theorem is called the ratio test.
Note that, since the ratio test involves lan l and not an, it cannot be employed as
a test for conditional convergence.
an+l = 1 3 2n ! 1 3 !
I an I n---->oo 2n+l n 2 n---->oo n
L = lim lim (n + ) 3 = lim (n +3 ) = < 1
n---->oo 2
00
⇒ Lan converges absolutely by the ratio test (Theorem 6.16). Thus, both
n =O
3
L L=O lanl = L=O ;
00 00 00 00
(-1rn3
Lan = 2n
and n
n=O n=O n n
converge.
6.2. SERIES 237
an 3n+l n4 + 1 n4 + 1
I an I n--->oo (n + 1)4 + 1 3n
L= lim _ _+_l = lim ----- = 3 lim ---- - =3 > 1
n--->oo n--->oo (n + 1)4 + 1
00
diverge.
which diverges,
L= h. m lan+ll
-- = h. m-- n
=1
n--->oo an n--->oo n + l
which converges,
I + I = lim
an l 2
n
L = lim = 1.
n--->oo a n n--->oo ( n + l ) 2
. n n +l)!
S1nce an > 0, I anI = an= -n! and I an+l I = ( ( + 1 )n+l
n n
⇒
. n . 1 lm 1 1
1 lffi ( -- ) 1lffi - i --- = - < 1.
n-+oo n+ 1 n-+oo ( !l )n n-+oo (1 + e
¾t
--
n
[ ]
2n+ 1 [(n+ 1)!]2 (2n)! 2 (n+ 1)!
(n
+ 1)(2n+ 1) (-1-)n+l
2 2n+ 1
n+l
an l n+ 1
+ I = 1.lffi 2---
⇒ L 1.lffi I -- = 2 > 1.
n-+oo an n-+oo n + 1
n=O
� _ � 1 ·3 · 5 ···(2n + 1) .
L an - L 3nn !
n=O n=O
n---+oo an 3
00
L = nlim lan l l /n
---+=
exists. Then:
(X)
Again, the initial value O of n can be replaced by any other integer. This theorem is
called the root test.
As for the ratio test, the root test cannot be employed as a test for conditional
convergence.
= = [ln(n)] 5n
Lan L
=
n3
n=l n= l n
Since
ln n 5
L = nlim lanll/n = lim [ ( )] = 0 < 1,
---+
(X) n ---+(X) n3
.£)
Since
n
f, = lim lan l l /n = lim (1 + = e > 1,
n�oo n�oo n
(X)
Exercises 6. 2
00
1
1. Write down the n th
partial sum Sn of the series � -
L..t 2n
for n = 0, l, • • • , 4.
n=O
3. Let { sn }�=l denote the sequence of partial sums of the series Lan . Determine
n=l
3n - 1
the sum s of the series if Sn = + for n � l.
2n 1
oo 2. 3n 00
1
6. I: 7. L3n
n=l
�
n= 2
8. L 5. 2
00
3n
3-2n 9. L5 . 3
00
2n
2-4n
n=O n= l
L 5 (-2)-3 L 4n +8n+3
00 00
n n 2
10. 11. 2
n=2 n=O
12.
� 2Jn2 +3
L..t 13.
f cos(n)
n n=O 2 + sin (n)
2
n=l
n3 + 2n2 - 1
00 00
(-1ri 15.
11. I:[1 - �- -
L..t n2 +n+l
n=O n=O
00
1 �vn
16.
L
n=l n2 vn
17.
L..t n2
n=l
00
1
L=l � r-1
'
CX)
18. r+l , r>0 19. L..t
n
n
n n=l
6.2. SERIES 241
1
00 00
1 1
00 00
(a) Approximate the sums of the series by s 2 and determine lower and upper
bounds for the error R2.
(b) How large must n be taken in order that Sn approximate s with error no
greater that 0.001?
(a) Approximate the sums of the series by s 3 and determine lower and upper
bounds for the error R3.
(b) How large must n be taken in order that Sn approximate s with error no
greater that 0.0001?
1 1
00 00
26. � 27.
nyri,+3 �yn-1
3n 3
00 00
28. 29. L 2
L4n+1
n=O n=O 2n -3
2n + 1 2n + n
oo 00
30. L�
n=O
31.
L
n=O
en
1
f vn-1
00
32. L 33.
n=l vn+n n=l n+l
34.
f n3 +2n-1
3 +2
35. L 2
00
-{jn2 +1
n=O n +n n=l n +n-l
4
2 42 CHAPTER 6. SEQUENCES AND SERIES
36.
�
00
n 213
1
ln(n)
37.
f ln(n)
n2
n =2
38.
f ln(l + ¾)
39.
f [ln(n)] 3
nfo
n=l vn n=2
oo (-)l n (-r
I::
1
40. 41. �
n=l n 2/3 +
2 sin(n)
00
(-1r 00
(-r l n
42. 43.
�Jln(n) � en ln(n)
44.
f (-1r - 1
n
45.
f 1+(-r
n 2
l n
n=l n=l
L (-n1r-1
00
(a) Approximate the sums of the series by s 3 and determine an upper bound
for IRnl-
(b) How large must n be taken in order that Sn approximate s with error less
than 0.0001 in absolute value?
L n(-+r1 1
00
(a) Approximate the sums of the series by s 2 and determine an upper bound
for IRnl-
(b) How large must n be taken in order that Sn approximates with a maximum
1
error of ?
1, 001
-
±
In Exercises 485
- 3, determine whether the given series converges absolutely, converges
conditionally, or diverges.
CHAPTER 6 EXERCISES 243
(-1r (-1r+1
00 CX)
48. L n -1 49.
n=2
� n Jn
50.
f (-l)n vn
51.
00
(-2r
n+l L�
n=O n=l
n 3 + 2n2 - 1 2n
L=O L
00 CX)
56 . 57.
n, (n + 1)!
n n=O
(n!)2 nl
!;
CX) CX)
58. 59.
n 2 (2n)! � 3 · 6 · 9 ·. · · (3n)
60.
(2n + 1)!
00
� n !(n + 1)!
61.
f n !(n+ 3)!
(2n + 3)!
n=O
CX)
(-n r (-1rn2n
CX)
Chapter 6 Exercises
1 - rn+l
1. Prove, by induction, the formula Sn --- for the n th partial sum of the
1 -r
=
Lrn.
CX)
geometric series
n=O
La
CX) CX)
2. Prove that Lan converges if and only if n converges for every integer
n=l n=ni
m 2': 1.
Taylor Series
The subject of Chapter 6 has been the study of sequences and series of numbers. The
topic of the present chapter is the study of series which contain a variable x, i.e.,
series of functions. Thus, the convergence or divergence of the series, as well as its
sum, will depend upon the value of x, making the infinite series a function of x.
CnX
n
= Co+ C1X + C2X + C3X + · · · ,
2 3
n=O
Note that, at x = a, the power series (7.1) reduces to the single term Co and,
hence, converges absolutely. However, only those power series which converge for all
x in an interval arc of any practical use.
Lnnx n
n=O
245
246 CHAPTER 7. TAYLOR SERIES
n=O
L lx l = L lxl
00 00
n n
n=O n=O
L -x
n!
n=O
1 n
l xn
about 0 with the coefficients Cn = , and let an Since
1
= -•
n. n.1
an+ ·l x +l n! l xl
lim I 1 lim I --- lim -- = 0 < 1
n
= n-+ I = n-+
n-+oo an oo (n + l) ! x n
oo n +l
for all x, the series converges absolutely for all x by the ratio test (Theorem 6.16).
The preceding three examples indicate that, given a power series about a, the
series may converge only at a, it may converge for all x in a finite interval, or it may
converge for all real x.
LCn(x - af
n =O
7.1. POWER SERIES 247
converges absolutely for Ix - al < R and diverges for Ix - al > R, then R is called
the radius of convergence of the power series. If the series converges only at x = a,
then R = 0. If the series converges absolutely for all real x, then R = oo.
Note that Ix - al is the distance between x and a, and Ix- al < R is the interval of
all points x such that -R < x -a < R, i.e., a - R < x < a+ R. The term "radius" is
employed because, in the event that x be a complex number, the set Ix -al < Ris a
disc of radius R centred at a. We shall, however, restrict our attention to real numbers.
The endpoints of the interval Ix - al < R are the two points Ix - al = R, i.e.,
x =a± R. At these values of x, the series may converge absolutely, it may converge
conditionally, or it may diverge. The interval J on which the series converges, either
absolutely or conditionally, may therefore be any one of
In Example 7.1, R = 0 and I = [O, O], in Example 7.2, R = 1 and I = (-1, 1),
and, in Example 7.3, R = oo and I= (-oo, oo).
is given by
R= lim I -- ,
Cn
n-->oo Cn l
+ I
provided that the limit exists.
Proof. Let an = Cn (X - ar. By the ratio test (Theorem 6.16), the series converges
absolutely if
.n-->oo I a-- l I = Ix - a I 1·1m I -- l I < 1,
n+ Cn+
lim
an n-->oo Cn
i.e.,
Ix - al<
1�1,
1
;� I �n l I
= nlim
--> oo Cn +1
and diverges if
Ix - al> lim
1�1-
n -->oo Cn l
+
248 CHAPTER 7. TAYLOR SERIES
Hence,
R= hm -n-
. I I
C
n->oo C n+ 1
Once R has been determined, the series converges absolutely at least for
Ln:l
n=O
. I-
R= hm
Cn I . n+2
- = hm --=1.
n->oo Cn+ 1 n->oo n + l
Hence, the series converges absolutely for lxl < 1, i.e., -1 < x < l.
1
about 3 with the coefficients Cn = -, n � l. This is a power series with Co = 0. The
n
radius of convergence is
1
R = lim =1.
n
= lim +
n->oo C n+l
1� 1
n->oo n
7.1. POWER SERIES 249
Hence, the series converges absolutely for lx-31 < 1, i.e., -1 < x-3 < 1, or 2 < x < 4.
� (3 - 2x)"
L
n=2
n-1
Before the point a at which the series is centred, as well as its coefficients Cn, can be
determined, the series must be placed in the standard power series form
Loo=2 ( n-1
n
3 - 2x)"
=
oo (-2)"
Ln-1
=2 n
�
(x - )2
n
'
3 (-
from which we find a= - and c11 = - 2)",-n 2". 2. This power series has Co = c1 = 0.
2 n-1
The radius of convergence is
.
R = hm - -
. I Cn I = hm
. 211 n
---n+-
1
= -.
n-> n->oo n-1 2 l 2
oo Cn+l
Hence, the series converges absolutely for
I �1 < !
x-
2 '2
i.e.
'
- < x -� <
2
! 2
! '2 or 1<x< .2
00
1
At x = 1, the series becomes� --, which diverges.
Ln-1
n=2
1"
(- ) which converges conditionally. Thus, the
00
At x = ,2 the series becomes � --,
Ln-
n=2
1
interval of convergence is J = ( 1, ]2 .
f
n=O
(-3)"( x
2
Jn+T
4)
+ "= f J(-6+)"
n=O
n l
(x + )2 "
250 CHAPTER 7. TAYLOR SERIES
L Jn+T,
00
13 1
At x = - -,the series becomes which diverges.
6 n+l n=O
centred at 1. Since only even powers of x - l are present, the coefficient of every odd
power of x - l is 0, i.e., the coefficient of (x - 1)2n+ 1 is c2n+l = 0 for n � 0, and the
coefficient of (x - )1 2n is C2n = 2n .
In such a power series, where every second term is 0, Theorem 7. 1 cannot be applied
because the expression 1 � 1 is undefined whenever k = 2n. In this case, the radius
Ck+l
of convergence can be found directly by the ratio test. Thus, with an = 2n (x - 1)2n,
a l 2 +1 (x- 1) + =
I an+n m 2lx -
n 2n 2
lim I = nlim 1 I nli-+oo 112 = 2lx- 11 2 < 1
n -+oo -+oo 2n ( X - l) 2n
1 1
for Ix - 11 < v12· The radius of convergence is therefore R = J2' and the series
converges absolutely for
1 1 1 1
-- <x-l
v'2 J2'
<- i.e.' 1- -
v'2
< x < l+-.
v'2
At the endpoints x = l ± �' the series becomes L 1, and diverges. Thus, the
CX)
n=O
interval of convergence is J = ( 1 - �, 1 + �) .
7.1. POWER SERIES 251
Exercises 7 .1
In Exercises 1-6, write down the first 5 terms of the given power series.
1.
00
L4n
x
n
2.
f (x - 2r
n =O JnTI
n =O
3.
f (x+1r
4.
f (x+2r
n=O
(-3t n=l n2
00
2n oo (x - 3)3n
5. 6. �
x
�v'n+l nfo
L2 ( L n+ l ( L C (X - 1r.
00 00 00
L a (X - ar + /3 L b (X - ar = L e,i(
00 00
Lb L e,ix .
00 00
9. Determine Cn , n 2: 0, if 3 + 2x - 5x + 2
nx
n
= n
n=O n =O
L b (X - 3t = L C,i(
00 00
11. Express LC X
as a sum of two power series, one of which contains only even
n
n
n=O
powers of x, and the other only odd.
In Exercises 12-23, find the radius and interval of convergence of the given power
senes.
2 n xn
00 00
12. 13.
n
x
Ln+l Ln 2 +1
n =O n =O
14. I:
n =O
n3 +1
15.
L=O
n
2n+l
(x+1)11 2n (2x - 4)
00 00
16. 17. 11
L 2n
n =O � y'n+l
252 CHAPTER 7. TAYLOR SERIES
= 2n(6- 3xt =
18. L n+l
19.
L
(x - 3)2n
2n
n=O n =O
x3n
L(3x - 2)2n
(X) (X)
20. 21.
� Jn2 +1 n=O
In Exercises 24 and 25, determine the radius of convergence of the given series.
-1)!]2 (x - )2n
24.
� (2n)! n
� (n!)2 x 25. L [(n(2n)!
1
n=O
(�
n=l
(b) Determine Cn , n 2: 0, if
Lx
(X)
�
�X
n
=-, lxl < 1.
n=O
1-x
1
This equation also shows that the function f (x) = -- can be expressed as a power
1-x
series about 0 for l x l < 1, i.e.,
1
(X)
f(x) =- = �x n ,
1-x � l x l < 1. (7. 2)
n=O
where R is the radius of convergence of the series. The solution of a problem often
appears as a power series, and it is then necessary to identify the function which is
represented by that series. The study of such issues is the content of the present
section.
3x2
f(x) = .
l+x
In order to express f(x) as a power series about 0, employ the geometric series,
00
1
- - -..;:' tn ltl < 1,
1 l-L...., '
- n=O
3.
X
where l = Employing (7.2) in the variable t, we obtain
oo oo
11 l l oo 1 n
J(x) - -- - - -..;:' t n - - -..;:' (-) - -..;:-" -x
x n
.
-1 3 t - 3 L...., - 3 L...., 3 L...., 3n+l
- n=O n=O n=O
Since the geometric series in the variable t converges absolutely for Ill < 1, the above
series representation of f(x) converges absolutely for
Thus, the radius of convergence of the series is R
ltl 1,
<
= 3.
Iii=
i.e., for lxl < 3.
In order to express f(x) as a power series about 2, f(x) must first be expressed as a
function of x-2, since the power series must contain powers of x-2. Thus,
1 1 1 1
f(x) = - = --- -
3-X 3 - (x - 2) - 2 1- (x-2) 1- l'
where l = x -2. Employing the geometric series in the variable t for ltl < 1, we
obtain
I> n
00 00
1
J(x) = 1-t = =
I)x - 2r,
n=O n=O
which converges absolutely for Ix -21 = ltl < 1. The radius of convergence of the
series is therefore R = 1.
1
f(x) =
8-2x
1 1 1 1 1 1 1
f(x) = 41 - x-2 41- t'
8- 2x 8 - 2(x - 2) - 4 4-2(x- 2) 2
x-2
where t = - -.Then
2
2
which converges absolutely for Ix; \ = itl < 1, i.e., for Ix-21 < 2. The radius of
convergence of the series is therefore R = 2.
. 4
J(x) = 4 + x2.
. 4 1 1
( +
j X) = 4 x = 1 + x4 = 1- t'
2 2
7.2. REPRESENTATIONS OF FUNCTIONS BY POWER SERIES 255
x2
where t = -- Then
4·
2
The series converges absolutely for I- : 1 =!ti< 1, i.e., for lxl < 2. Thus, the radius
of convergence of the series is R = 2.
1
with radius of convergence R2 = . It follows that
2
with the radius of convergence R > 0. Then the derivative of the series can be
obtained by term-by-term differentiation of the series, i.e.,
with radius of convergence R. Since the first term (n = 0) in the series on the right
of (7.3) is 0, the series may be expressed as
00 00
n=O n=l
and, making the change of index k = n - l, we obtain
00 00
n=l k=O
which is the more standard form of a power series.
with the radius of convergence R > 0. Then the integral of the series can be obtained
by term-by-term integration of the series, i.e.,
oo oo oo
Cn ( X - a)n+l
J
f(x)dx= f Lcn(x-atdx=
J
[en(x-at]dx= L n+l +C,
L
n=O n=O n=O
(7.4)
7.2. REPRESENTATIONS OF FUNCTIONS BY POWER SERIES 257
In all of the preceding examples, the representation of J(x) as a power series has
relied upon manipulations of the geometric series, i.e., Equation (7.2). This is not
always adequate, and more general methods are required.
Theorem 7.4. If
J(x) = L Gri(x - at,
n=O
\x - a\ < R,
with the radius of convergence R > 0, then the coefficients Cn are given by
(7.7)
258 CHAPTER 7. TAYLOR SERIES
Proof. By Theorem 7.2, the power series may be differentiated term-by-term. Thus,
J(x) 2 4
co+ c1(x-a)+ c2 (x - a) + c3 (x - a)3 + c4 (x - a) + c5(x - a) + · · · ,
5
J '(x) 2 3
c1 + 2c2 (x - a)+ 3c3 (x-a) + 4c4 (x-a) + 5c5 (x - a) + · · · ,
4
Example 7.17. Let us confirm the formula (7.7) for the geometric series
1
CX)
J(x) = - = � xn
l-x L
n=O
2
f"(x)
(1-x)3
⇒ j"(0) = 2 = 2!,
2-3
J" '(:r)
(1-x)4
⇒ J"'(0) = 3!,
2-3-4
j(4l(x) ⇒ JC4l(o) = 4!,
(1 - x)5
j(n)(0)
etc., and, in general, j( n)(0) = n!. Hence, Cn = = 1, as expected.
n.1
is called the Taylor series of f about a or centred at a. In the special case where
a= 0, the Taylor series off about 0 is also called the Maclaurin series off.
By Theorem 7.4 and Definition 7.3, the power series which represents a function
about a point a is its Taylor series about a. A distinction between the two arises,
however, due to the fact that there are functions J for which the Taylor series T(x)
is not equal to f (x) on an interval Ix - al < R, R > 0, and is therefore not a power
series representation of J(x). We shall see later how to prove that T(x) = f(x) for
functions for which it is true.
L d (X - ar,
00 00
j(n)(a)
then Cn = = dn , n 2:: 0. Thus, as observed in Example 7.17, different methods
n.1
of computing the series representation of a function must yield identical results.
1
n!
and, hence, the Taylor series of ex about 0, i.e., its Maclaurin series, is
Thus, the series converges absolutely for all x. We shall prove later, but assume for
the present, that T(x) = f(x) = ex for all x, i.e.,
1
ex = � -xn for all x.
CX)
L..t n!
n=O
00 00
e 2
x = L 1
,
n.
(2xr = L,
2
n.
x
n
n
for all x.
n=O n=O
2n j( n)(o)
Notice that = = , in accord with Theorem 7.4.
Cn
1
n. n.1
Example 7.20. Let f(x) = ex and a = 3. Then j(n)(x) = ex for all n ?: 0 and,
hence,
f(n) (3)
Cn =
n.1
=
e3
1
n.
and T( x) =
oo e3
1
n.
(x -3 L t
n=O
L1
1
CX)
which is the power series representation of e about 3 and, hence, its Taylor series x
about 3, as above.
.
1
Example 7.21. Let f(x) tan- 1 (x), - <tan- 1 (x) < Since f' (x)
=
2. = +
7f 7f
2 1 x2
-2x
and J"(x) = the computation of f( n)(x) for every n?: 0 is tedious. A much
(l + x2)2,
better alternative is to employ the geometric series (once again!) and Theorem 7.3.
Thus,
1
1::t'\ itl< 1,
CX)
1-t n=O
CX) CX)
1 + x2 n=O n=O
1
00 00 (-l)n
J --d x= �
J L....t (-l t x2n
=c+� x2n+l , lxl<l.
1 + x2 L..t 2n + 1
n=O n=O
7.2. REPRESENTATIONS OF FUNCTIONS BY POWER SERIES 261
Since both the series and f(x) have the value 0 at x = 0, C = 0. Hence,
is the power series representation of f about 0, and the series on the right is its
Taylor series about 0. This alternative derivation of T(x) automatically shows that
T(x) = f(x) for !xi < 1.
7f 1 7f
Note, in Example 7.21, the restriction -
2 < tan- (x) < 2 on the range (i.e., set
of values) of f(x) = tan- 1 (x). Without such a restriction, the inverse tangent would
be multi-valued, and not a proper function. Had a different "branch" of the inverse
31r
< tan-1(x) < , the value of the constant C would
7f
tangent been chosen, e.g.,
2 2
have been different (C = tan-1(0) = 1r for the latter choice).
(-1) n- 1 ( n - 1) !
and, in general, l nl(x) = n
for n 2: 1. Hence, the Taylor coefficients
off are given by
and the series on the right is the Taylor series of ln(x) about 1. This alternative
derivation of T(x) automatically shows that T(x) = f(x) for \x - 1\ < 1.
262 CHAPTER 7. TAYLOR SERIES
1 x2k+1
The radius of convergence can be determined by the ratio test. With ak = (-2kt
( + 1)! ,
x2k+3 (2k + 1)! l xl
2
lim la k+l
I = lim I I= lim =0< 1
k--+oo ak k--+oo (2k + 3)! x2k+l k--+oo (2k + 3)(2k + 2)
for all x. Hence, R = oo, i.e., the series converges absolutely for all x. We shall prove
later, but assume for the present, that T(x) = sin(x) for all x. Thus,
(-l)k 2k+1
sin(x) L=O
oo x3 x5 x1
= x = x - 3! + 5! - 7! + ...
k
(2k + l)!
for all x.
Example 7.24. Let f(x) = cos(x) and a= 0. In order to determine the Taylor series
off about a, the procedure employed in Example 7.23 can be repeated. However,
a more efficient method is to employ Theorem 7.2 and the result of Example 7.23.
Thus,
cos(x) � sin(x) = �
dx
f
(-lt 2k+1
dx = (2k + 1)!
x = f
(-lt(2k + 1) 2k
(2k + 1)!
x
k O k=O
oo ( l)k 2
- x2 x4 x6
L
k=O
(2k)!
x = l - 2! +
k
4!
- 6! + ...
for all x.
7.2. REPRESENTATIONS OF FUNCTIONS BY POWER SERIES 263
� (2k)!
7r 2k
( X - -)
2
k=O
for all x.
where
n n!
( )
k - k!(n - k)!
is read "n choose k," and is the number of different ways in which k objects can be
selected from a set of n objects. Since
J(x) = (1 + x)'\
_)
264 CHAPTER 7. TAYLOR SERIES
where a is any real number, and not necessarily a nonnegative integer. This will, of
course, involve an infinite power series rather than a finite sum. The advantage of
determining a representation of f for general a is that the functions
1
J(x) = Jf+x, J(x) = Jf+x' J(x) = (1 + x) 31 2 ,
l+x
among numerous others, have the form f(x) = (1 + x)°', and having a general formula
for all a eliminates the necessity of finding the Taylor series of every such function
separately. Thus,
f(x) (l+x)'\
J'(x) a(l+x)°'- 1,
J"(x) a(a - 1)(1 + x)c,- 2,
J'"(X) a(a - l)(a - 2)(1 + x)c,- ,
3
and, hence,
Co J(O) = 1,
J(k)(O) a(a - l)(a - 2) •••(a - k+ l)
k! k!
T(x) = �
k a a(a - l)(a - 2) ···(a - k+ 1) k
L (k) X
_
- l+ L
�
k! X
k=O k=l
a(a - 1) a(a - l)(a - 2) a(a - l)(a - 2)(a - 3)
1 +ax+ x 2+ x3+ x4
2! 3! 4!
+··· '
7.2. REPRESENTATIONS OF FUNCTIONS BY POWER SERIES 265
R = lim ,�,
. I a(a - l)(a
k-+oo Ck+l
- 2) •••(a - k + l) (k + 1)!
l)(a - k) I
hm
k-+oo k! a(a - 1)(a - 2) · · · (a - k +
lim I I
k+ l k+l
= lim =1
k-+oo a - k k-+oo k - a
since la -kl = k - a for all k 2:'. a. It can be shown that T(x) = J(x) for lxl < 1.
Thus,
(7.8)
The series on the right of (7.8) is called the binomial series, and this result is also
called the binomial theorem.
with
(n) = n(n- l)(n - 2) · · · (n - k + l) (n - k)! = n!
k k! (n-k)! k!(n-k)!'
as before.
1
Example 7.26. The Taylor series of J(x) = -- about O can be obtained by means
l+x
of the geometric series,
1 00
1 00 00
- n
= 2)-xr = I)-1rxn , lxl < 1.
1- l I:> ⇒ 1+X
n=O n=O n=O
1
Alternatively, since -- = (1 + x)- 1, we may also employ the binomial series with
l+x
a= -1. Thus, with a= -1, (�) = 1 and, fork 2:'. 1,
Hence,
as above.
1
Example 7.27. Consider the function J(x) = _ = (1 - x )- 3. Its Taylor series
(l x)3
about O (Maclaurin series) is the binomial series with a = -3 and with x replaced
by -x. Thus, with a= -3, (�) = 1 and, fork � 1,
k!
In order to place the last expression into a more concise form, multiply and divide by
2. Then
(-l)k · 3 · 4 · 5 · 6 · · · (k + 2) 2
k! 2
(-l)k (k + 2)!
2k!
(-l)k (k + l)(k + 2)
2
Hence,
(-x)'
1
(1 - )
X 3
t, (�)
1+ f (-l)k (k
�
l)(k + 2)
(-1/ xk
k=l
� (k + l)(k + 2) x k ,
� 2 lxl < 1,
k=O
(k + l)(k + 2) = 1 when k = 0.
since
2
7.2. REPRESENTATIONS OF FUNCTIONS BY POWER SERIES 267
� 2
as above.
1
Example 7.28. Consider the function f (x) = y11+x = (1 + x )- 2. Its Taylor series
I
l+ x
1 1
about O (Maclaurin series) is the binomial series with a= -2" Thus, with a= -
2,
(�) = 1 and, fork :2: 1,
In order to place the last expression into a more concise form, multiply and divide by
2 · 4 · 6 · · · (2k). Then
( -1)k · l · 3 · 5 · 7 · · · (2k- 1) 2 · 4 · 6 · · · (2k)
2 kk! 2 · 4 · 6 · · · (2k)
(-l) (2k) !
k 1
2 k! 2 · 1 · 2 · 3 · · · k
k k
(-l)k(2k)!
22k(k!)2 ·
Hence,
1 =�(a) X k = 1 � (-lk) (2k) !X k = � (-l) (2k)! X k
k k
lxl < l,
k + � 22 (k!)2 � 22k(k!)2
k =O k =O
�
)
k=l
vl1+x
268 CHAPTER 7. TAYLOR SERIES
. (-l)k(2k)!
smce
22 k(k!)2 = 1 when k = 0.
Example 7.29. Consider the function J(x) = �- In order to employ the
8+x 3
2
X
f(x)=-;;-;===2=---2 =- l+-
X X ( x2 )-½
\1/8 + x 2{/1 + x 2 8
8
2
The Taylor series off about O is then the binomial series of (1 + t)°' with t = � and
(�) =
a(a - l)(a - 2)(a 3)•·•(a - k + l)
�
k
(-½)(-½)(-D(-�) ... (-¥)
k!
(-l)k · 1 · 4 · 7 · 10··· (3k - 2)
Hence,
(1 + t) -½ _
- L..,
f--- (a) x k _
- l + L...,
f---. (-l) · 1 · 4· 7· 10··· (3k - 2) t ,
k
k
ltl < 1
k 3kk!
k=O k=l
� l + f---(-l) -1-4-7-10···(3k - 2)
k (x2 )k]
[
2 L..., 3kk! 8
k =l
x
+ f---
(-l)k · 1 · 4 · 7 · 10··· (3k - 2) 2 k+l
x
2 L..., 23 k+l3k k!
k=l
= ltl < 1, i.e., for lxl < 2yl2.
2
valid for 1
I �
Example 7.30. Consider the function J(x) = v1f+x = (1 +x)½. Its Taylor series
about O is the binomial series with a=�- Thus, (�)=1, (7) =a=�' and, for
k "?. 2,
a(a - l)(a - 2)(a - 3)···(a - k + 1)
k!
(½)(-½)(-�)(-�) ... (-¥)
k!
(-1) - k 1
· 1 · 3 5. ··(2k - 3)
·
2kk!
7.2. REPRESENTATIONS OF FUNCTIONS BY POWER SERIES 269
noting that there are k factors in the numerator, only k - 1 of which have minus
signs. Multiplying and dividing by 2 · 4 · 6 · · · (2k -2), we obtain
=
L
(a)
00
k 1 +
00
L
(-1t-1(2k-2)! k
lxl < 1.
v1f+x k x = 22k-lk!(k- 1)! x '
k=O k=l
oo
f( n) (a )
T(x) =
L
n=O
n.I
(x - ar.
L
n f(k) ( )
a (x - ) k
a
k=O k!
f"(a) ' f "(a)
J(a) + J'(a)(x - a)+ - -(x - a) 2 + (x - a) 3
21 �
f( n l(a)
+···+ (x -a)'\
n.1
and is a polynomial of degree n, called the nth -degree Taylor polynomial off about
a. If the Taylor series of a function converges to the function on an interval, i.e.,
T(x) = f(x) for Ix - al <Rand R > 0, then J(x) can be approximated by its Taylor
polynomial Tn (x), and the error is
oo f(k) ( a )
11,,-,(x) = f(x) - Tn (x) = L
k=n+l
kl
(x - a)k ,
The product of two Taylor series, or their quotient, about the same point a, is
again a Taylor series about a, but the formula for the coefficients of the product is
complicated ( see Exercise 26 in Section 7.1), and none exists for the quotient. In such
cases, their Taylor polynomials may still furnish useful information.
Example 7.31. Consider the function f(x) = ex cos(x). In order to determine its
4th -degree Taylor polynomial about 0, the Taylor polynomials of suitably high degree
of the functions ex and cos(x) must be multiplied. Since
12 l3 14
eX = 1 + X + -X + -X + -X + · · ·
2 6 24
and
1 1
= 1 - -x2 + -x + · · · '
4
cos(x)
2 24
and the product is required only up to the fourth power of x, the terms xk for k � 5
are neglected. Thus,
ex cos(x) = (1 + x + !x
2
+ !x3 + 2-x4)
2 6 24
13 1 4
1+X - -X - -X + ··· .
3 6
Example 7.32. Consider the function J(x) = tan(x). In order to determine its
5th -degree Taylor polynomial about 0, the Taylor polynomial of suitably high degree
of the function sin( x) must be divided by that of cos( x). Thus,
1 3 1 5
sin(x) =x- x +
120
x +···
6
and
1 1
= 1 - -x + -x + · · · '
2 4
cos(x)
2 24
and, dividing the former by the latter and neglecting the terms xk for k � 6, we
obtain
sin(x) x - lx
6
3
+ _1
120 x
5
cos(x) 1- lx
2
2
+ ....!...
24x
4
1 3 2
X + -X +-x5 + · · ·.
3 15
Example 7.33. Consider the function J(x) = (x2 -1)ln(x). Its Taylor series about
1 can be determined by multiplying the Taylor series of ln(x) about 1 by the Taylor
series of x2 - 1 about 1. Since x2 - 1 is a polynomial of degree 2, its Taylor series is
also a polynomial of degree 2, and the multiplication can be performed without great
difficulty.
By Example 7.22,
00
ln(x) = L ( -1nr-1(x - 1r, Ix -11 < 1.
n =l
The Taylor series of g(x) = x2 - 1 about 1 can be obtained by Equation (7.7). T hus,
g'(x) = 2x, g"(x) = 2, and g(n) (x) = 0 for n 2:: 3 ::::}
g(n) (l)
g, (l) = 2, c2
g"(l)
co = g(l) = 0, C1 = = -- = 1, and Cn = = 0 for n 2:: 3,
2 n.1
and the Taylor series of x2 - 1 about 1 is T(x) = 2(x - 1)+ (x - 1)2 . As can be
readily verified,
T(x) = 2(x - 1)+(x - 1)2 = x2 - 1 for all x.
Then the product is
00 (
(x - 1)ln(x)
2
= [2(x - 1) + (x - 1) ]
2
L - 1nr-1(x -1r
n=l
Making the change of index n - n+l in the first series on the right, we obtain
2(.r: - 1)2 + f - )n (
n ( n + 1)
l)
[( l n - ] (x - 1)
"+2
f
n =l
(-l)n (n - l) +2
2(x - 1)2 + [ ] (x- 1r , Ix - 11 < 1.
n=2
n(n + 1)
272 CHAPTER 7. TAYLOR SERIES
f
(x - 1r yields
2(x - 1)2 + ( )k (k - 1)
[ -l ] (x - 1t+2
k(k + 1)
k=2
Since this is an alternating series for x =/- 0, if f(x) is approximated by its nth-degree
Taylor polynomial Tn (x), the error, in absolute value, will be less than the absolute
2n
= -1 ,
x
value of the first neglected term. Thus, with bn (x )
n.
x 2n+2
IRn(x)I = lf(x) -Tn (x)I < bn+1(x) = ·
(n + l)!
and
2
1 (-l) k (-!-2) 2k 1
2
l 1
4
25
=
L = 1 - (2) + 2 (2) = = 0 . 78125.
1
e-4 � T2 ( )
2 k=O
kl 32
r½ e-x dx.
2
lo
Since f(x) = e-x does not have an elementary function as an antiderivative, we must
2
appeal to infinite series. Employing the Taylor series of e-x in Example 7.34 and
2
r½ e-x2 dx r½ 00
(-1rx2n 00
(-1rx2n+1 ½ 00
(-1r
dx = 1 = 2n 1
lo = lo � n! � (2n+ l)n! 0 � 2 + (2n+ l)n!·
I)-1 tb
00
The sum s of the alternating series n on the right is the exact value of the
n=O
integral. If the series is approximated by its nth partial sum S n , then
1
IRnl = Is - sn l < bn+l = 2n+3
2 (2n+ 3)(n+ l)! •
If, for instance, an approximation of the integral is required with error less than 0.01
in absolute value, then n must be sufficiently large in order that IRnl < 0.01. With
n = l,
1 1
IR1I < b2 = 5 = - � 0.003 < 0.01,
2 ·5·2 320
1
and
1 1 11
e -x2 dx � s1 = - - --
2
= - � 0.4583 '
0 2 2 .3
3 24
with the required accuracy.
/ ¼ --;==
lo vl
l
=
+ x6
dx.
1 00
(-l) k (2k)! 6k
Vl + x6 = � 22k (k!)2 x ' lxl < 1.
274 CHAPTER 7. TAYLOR SERIES
1o
-- 1
¼ Jl + -
x6
dx 1 ¼ � (-l) (2k)! x6kdx
0 �
k
22k (k!)2
=
�
�
(-l)k (2k)!x6k+1 ¼
I
22k (k!)2 (6k + 1) 0
00 (-l)k (2k)!
� 22k (k!) 2(6k + 1)4 6k+l
00 ( -1)k ( 2k)!
� (k!)2(6k + 1 )4 7k+l
00
1 ¼ �
1
o V 1 + x6
dx � s0 = -1 = 0.25
4
with error less than 0.00000 5 in absolute value.
. 2
(2x- +3)sin 2
(x) 2
. (2x +3)(x -l 6
x3 +-··)2
1 11n - -- -- hm
x---->O x)
x2 cos ( x---->O x 2 (1 - ½x2 + • • •)
2 + ... 2
. (2x2 +3)x2 (1 -l 6x
)
hm
x---->O x (1 - ½x + • • •)
2 2
2 +
. (2x 3)(1 - l 6
x2 + ... )2
hm
x---->O ( 1 - ½ x 2 + ... )
7.2. REPRESENTATIONS OF FUNCTIONS BY POWER SERIES 275
. (ex - x - 1) cos(x)
--
1 1m--- --
x--->O sin2 (x)
x2 x3
Since e x = 1 + x+ - + - + · · •
2 6
. (ex - x - 1) cos(x)
(-
2
x x +... ) ( 1 - -
+- 3
1 x2 +... )
1Im----=---- -- lim 2 6 2
x--->O si1i(x) x--->O (x _ ½x3 +... )2
x 2 ( l2 + £126 +...) ( 1 - l2 x 2 +...)
lim
x--->O x2 (1 - ½x 2 + • • • )2
(l + £12 + .. ·. )(1 - l2 x2 + · · ·)
lim 2 6
x--->O (1 - ½x2 + ... ) 2
1
2
. e x sin(x)
1 1m -;::::===----,
x--->O- v'2x2 + x3 cos2 (x)
. X (1 + X + · · · )(1 - l x2 +...)
hm - 6
x--->O- lxl J2 + x(1 _ ½x2 +... )2
· · ) ( 1 - ½x 2 + · · · )
(1 + X + ·
lim
x--->O- J2 + x(1 - ½x2 +... )2
1
J2
since vlx2 = lxl = -x for x < 0.
Theorem 7.5. Suppose that the function f has the Taylor series
oo j(n)( )
T(x) = � a (x -
6 n! at
n=O
276 CHAPTER 7. TAYLOR SERIES
L
n j(k)( a)
Tn (x) = (x - a) k
k!
k=O
be its n th -degree Taylor polynomial. T hen the remainder Rn(x) = f(x) - Tn(x) is
given by
f (n+l)(z )
Rn (x) = (x - a)n+1 (7.9)
(n + 1)!
where z is a number between a and x. Equation (7.9) is known as Taylor's remainder
formula.
Example 7.40. Consider the function J(x) = ex . By Example 7.18, its Taylor series
about 0 is
Tn(x) =
n 1 k
k!
x , L
k=O
then, employing Theorem 7.5 and the fact that j( n+l)(z) = ez for all n � 0, we obtain
ez
Rn (x) = ---!xn+l
(n + 1)
and, hence,
2
e
IRn(x) I = (n lxl n+l ·
+ 1)!
Suppose that we wish to approximate ve = e 112 with error less than 0.001 in absolute
1 1 1
value. Since x = and z is between a= 0 and x = , 0 :S z :S < 1. Then
2 2 2
1) n+
( 21) I
l
I
z
e e
Rn = --- ( < 0.001
( n + l) ! 2 < ( n + l) ! 2n+ 1 -
if (n + 1)! 2 n+l
� lO00e � 2718.28, which is satisfied for n � 4. Taking n = 4, we
obtain
4
L
1 1 1 1 1
1+ +8+ +
-le� k=O k 2! k =
2 48 384
� 1.6484·
Theorem 7.6. Suppose that the function f has the Taylor series
oo (nl
J (a)
T(x) = "°""'
L n!
--(x - at
n=O
L J k!( a) (x - al
n (k)
Tn (x) =
k=O
be its n th -degree Taylor polynomial, and let Rn (x) = J(x) -Tn (x) be the remainder.
Then T(x) = J(x) for Ix - al < R if and only if
Example 7.41. In order to prove that the Taylor series of f(x) ex about 0
converges to ex for all x, it must be shown that
Since
x
n+ l - l I I n+ 1
� e x �
� (n +l)! I X I - e � (n +l)! X
ex
converges (absolutely) by the ratio test, lim lx/ n+l = 0 by Theorem 6.9.
(n + l ) !
n-+oo
Hence, lim /Rn(x)I = 0 by Theorem 6.4 and, by Theorem 6.2, lim Rn(x) = 0.
n-.oo n__.oo
278 CHAPTER 7. TAYLOR SERIES
i.e., the Taylor series of ex about any real number a converges to ex for all x.
Example 7.42. In order t o prove that the Taylor series of f (x) = sin(x) about 0
converges t o sin(x) for all x, it must be shown that
OO
T(x) = I:---
(-ll = sin(x) = f(x).
l x2k+I
(2k
k=O
+ )!
By Theorem 7.6, it suffices t o show that Rn(x) = f(x) - Tn (x) --t Oas n --too. By
Theorem 7.5,
f (n+l)( z ) n+l
x
Rn ( ) = x
(n + 1)!
where z is a number between O and x.
Since j(n+I )(z) = ±sin(z) or ±cos(z), lf (n+ l)(z)I:::; 1 for all real z and n 2: 0. Hence,
l (n+l) (z)I 1
- IRn(x)I = f(n + 1)! lxln+l <
0<
- (n + 1)!
lxln+ l --t 0
(-l)k 2k+I
oo
⇒ lim Rn(x) = 0. Thus, sin(x) ="' (
x for all x.
n---+oo L
k=O
2 k + 1 ) .1
( l)k 2k
L
oo
It follows by Example 7.24 that cos(x) = ; x for all x.
( k)!
k=O
Definition 7.5. Let f be a funct ion and a a real number. The funct ion f is analytic
at a if f has a Taylor series T(x) about a, with radius of convergence R > 0, and the
Taylor series converges t o J(x), i.e., T(x) = f(x), for all x with Ix -al< R. If f does
not have a Taylor series about a, or if the Taylor series does not converge to f(x) for
all x with Ix - al < R, then the point a is called a singularity or singular point of the
function f.
7.2. REPRESENTATIONS OF FUNCTIONS BY POWER SERIES 279
Example 7.43. The function J(x) = ex is analytic at a for every real number a, as
shown by Example 7.41.
Example 7.44. The functions sin(x) and cos(x) are analytic at 0, as shown by
Example 7.42.
__
l = 1 = _1_ 1 =� 1
-a
(x - at.
1 -x 1 - (x - a) - a 1 - a 1 - xl-a �
n=O
( 1 - a)n+l
2. J(x)g(x) is analytic at a.
Exercises 7. 2
In Exercises l 10, express the given function J cIB a power series about 0 and determine
its radius of convergence.
= 1
l. f (X)
1 + 2x
280 CHAPTER 7. TAYLOR SERIES
2. f(x) = - 6-
2-x
1
3.f(x)=
3+x
4. f(x) = �
4-x
1
5. f(X) = +
6 2x
. 1
6. j(x) = - 2 -
l-x
1
7. J(x) = --3
2+x
1 1
8· f(x) = - -
1 x l - 3x
1 1
9. f(x) = - - +
2 +x 3 - 2X
x2 +1
10. f(x) = -
X 2-
- 1
In Exercises 11 28, find the Taylor series of the given function f about the given
point a and determine its radius of convergence.
15. f(x) = e- 3x , a= 0
2
4
25. J(x) = ft+x' a= 0
x2
26. f(x) = ' a= 0
ijf+x
31. Find the 4th -degree Taylor polynomial of f(x) = (x2 + 1) cos(x) about 0.
. x ln(x)
32. Find the 4th -degree Taylor polynomial of j(x) = -- about 1.
2-x
33. Approximate sin ( 1) with error less than 0.001 in absolute value, and confirm
your answer with a calculator.
34. Approximate 11 cos( Jx) dx with error less than 0.001 in absolute value.
35. Approximate 12
I
Jl +x8
1
dx with error less than 0.001 in absolute value.
. (x+2)3 ln(l-x)
38. Evaluate hm -'--------'--�.
x--+O sin(2x)cos(3x)
xJ4x4 - x 5
39. Evaluate lim - 3- - - -) .
-
x--+O- tan (2x) cos2 (3x2
282 CHAPTER 7. TAYLOR SERIES
41. Determine how large n must be taken in order to approximate ln(0.9) by the
Taylor polynomial of ln(l - x) about O at x = O.l with error less than 0.001 in
absolute value, and give the approximate value. Confirm your answer with a
calculator.
n=O n=O
have radii of convergence R 1 > 0 and R 2 > 0, respectively, then the radius
of convergence R of
00
Fourier Series
The topic of Chapter 7 was the repre entation of function by power erie . Variou
s s s s s
problem require the repre entation of function by eries which contain trigonometric
s s s s
functions. The content of the pre ent chapter i the tudy of such serie .
s s s s
Such a function f i said to have periodT (or to be T-periodic). The least (positive)
s
Example 8.1. The function J(x) = sin(x) i periodic with period T = 2mr for any
s
integer n 2:'. 1 ince in(x + 2mr) = in(x) for all x. The fundamental period of in(x)
s s s s
i 21r.
s
Let f be periodic with period T = 2L, L > 0, and suppo e that f is represented
s
ao � n1rx . n1rx
= [a n COS ( L ) +b (8.1)
J(x)
2+L
( )]
n=l
11 sm
L
where a n , n 2:'. 0, and bn , n 2:'. 1, are constants. The fir t term in the erie , which
s s s
that a 0 and a n for n 2:'. 1 can be defined by a single formula in tead of two eparate s s
one .
s
283
284 CHAPTER 8. FOURIER SERIES
Given that Equation (8.1) holds, the coefficients an , n ;::=: 0, and bn, n ;::=: 1, will be
determined formally, i.e., without justification of the procedures employed in their
derivation. Subsequently, the conditions under which and the values of x for which
such a series converges to f ( x) will be given.
. .
In order to determine the coefficients an , n ;::=: 0, let m ;::=: 0 be any integer, multiply
m1rx
Equat10n (8.1) by cos ( L) , and mtegrate from -L to L to obtam
1L f ( x) cos (m1rx
-L £) dx = 1 a ° cos (m1rx
L
L) dx + -L
1L f--, [
-L
n1rx m1rx n1rx
2
m1rx
L an cos (L) cos ( L) dx + bn sin (L) cos ( L dx.
)]
n=l
If m = 0, then
1
-L
L
m1rx
cos ( -- ) d.T
L
=
1L
-L
1 dx = 2L,
and
L
a
Hence, j J(x) dx = o2L = a0 L, from which it follows that
-L 2
ao =
l 1L f(x) dx. (8.2)
L -L
If m ;::=: 1, then
1 L
-L
m1rx
cos ( L) dx =
L
m1r
m1rx
sin ( L)
L
= 0.
-L
8.1. FOURIER SERIES OF PERIODIC FUNCTIONS 285
1
cos(a) cos(b) =
2 [cos(a - b) + cos(a + b)]
n1rx m1rx
with a= Land b = L' we obtain
1 £
-L
n1rx m1rx
cos ( L ) cos (L ) dx
0, n i- m
{ L, n=m }
1L-£ sin
(brx)
L L k1rx
dx = - kn cos (L)
L
= 0,
-L
286 CHAPTER 8. FOURIER SERIES
£
brx £
and, if k = 0, then 1- sin ( L ) dx = 1- O d x = 0. Thus, for any m � 1,
L L
1: m x
f(x ) cos ( ; ) dx = amL, i.e., am = ± 1: m x
f(x ) cos ( ; ) dx. (8.3)
am = ± 1: m x
f(x ) cos ( ; ) dx , m � 0. (8.4)
m x
Similarly (see Exercise 3), multiplication of Equation (8.1) by sin ( ; ) , m � 1,
and integration from - L to L yields
£
bm = L11-L f(x ) sin (mn
--y-x ) dx, m � I. (8.5)
Definition 8.2. Suppose that f is periodic with period T = 2L. The trigonometric
senes
ao � nnx . nnx
+ [anCOS ( L ) +bnSIIl ( )]
2 L
n=l
L
with an, n 2". 0, and bn, n 2". 1, defined by Equations (8.4) and (8.5), respectively, is
called the Fourier series off. The coefficients an, n 2". 0, are called the Fourier cosine
coefficients, and bn, n � 1, the Fourier sine coefficients off. The integral formulas
(8.4) and (8.5) which define the coefficients an and bn are called the Euler-Fourier
formulas.
Since f has period 2£, the above integrals can be evaluated on any interval of
length 2L, and one should select the interval on which an explicit formula for f(x ) is
available.
T
Then f is periodic with period T = 2 and, with L =
2 = 1, its Fourier series takes
the form
Note that the formula f ( x) = x 2 +x is valid only for x in the interval [-1, 1). For
8.1. FOURIER SERIES OF PERIODIC FUNCTIONS 287
y
2
3
X
any x outside the interval [-1, 1), the 2-periodicity off must be employed in order
to determine the value f(x). The graph of f is depicted by Figure 8.1, where three
periods are displayed. The curve from -1 to 1 repeats over the entire real line.
3 2 2
1>x2 +x)dx = (� +�) [
3'
1� (x + x) cos(mrx)dx
1
11
2
11
n1r -1 n1r -1
2 7r -1 n 7r -1
4(-lr
n
n2 1r 2 '
n 2: 1,
1� (x2 + x) sin(n1rx)dx
n1r -1 n1r -1
2(- )n
1 1 11
-l + 2(2x + 1) sin(n1rx) - 2 2 sin(n1rx)dx
n 1r _1 n 1r _ 1
11
2 2
- --
n1r
2(-lr-l 2
11_1
--- + 33 cos(n1rx)
2(-1r-1
n1r n 1r
n 2: 1.
288 CHAPTER 8. FOURIER SERIES
1 00
4(-lt 2(-1r- 1 ]
-3 + L
n=l
[
n2 1r 2
cos(mrx) + --sin(mrx)
n1r
- .
The following two definitions are required in order to state a convergence theorem
for Fourier series.
Definition 8.3. A function f is piecewise continuous on an interval [a, ,BJ if [a, ,BJ
can be partitioned into a finite number of subintervals such that f is continuous on
each open subinterval and approaches a finite limit as x approaches an endpoint of
any of the subintervals. A function is piecewise continuous if it is piecewise continuous
on every finite interval.
a X
lim J(y).
J(x-) = y.-x-
J(x+) = y.-x+
lim J(y).
Example 8.3. The function f in Example 8.2 is piecewise continuous. It has jump
discontinuities at every odd integer x =2n + 1, where n is an integer. At x = l,
1
f(l-)=2, f(l+)=O, and [f(l+)+J(l-)]=1
2
is the average value.
Theorem 8.1. Suppose that J is periodic with period T = 2L and that f and f'
are piecewise continuous. Then, at any point x, the Fourier series of f converges to
tu(x+) + J(x-)],
i.e., the average value off at x. If f is continuous at x, then the Fourier series off
at x converges to f ( x). This theorem is called the Fourier convergence theorem.
Example 8.4. Let J(x) = 1 - x for O � x < l and f(x + 1) = f(x) for all x. The
graph of f is displayed in F igure 8.3.
-2 -I 0 2 3 X
The function J has finite jump discontinuities at the integers, and no other types of
discontinuity. Hence, f is piecewise continuous. Its derivative f' ( x) = -1 everywhere
except at the integers, where it is undefined, but lim J'(x) = -1 is finite for every
X--->n±
290 CHAPTER 8. FOURIER SERIES
integer n. Hence, f' is piecewise continuous, and the Fourier convergence theorem
(Theorem 8.1) applies.
T 1
Since J has period T = 1, L =
2 2, and the Fourier series off takes the form
=
ao
2+�
L...,[an cos(2mrx) + bn sm(2mrx)],
n=l
and, since an explicit formula for f(x) is available on the interval [0, 1), the integrals
in Equations (8.4) and (8.5) must be evaluated from 0 to 1. Thus,
fo\1
1fo
ao 2 - x) dx = (2x - x2 ) I:= 1,
an 2 (1 -x) cos(2mrx) dx
1
-(1 - x) sin(2mrx)
n1r
1
o
1 +-
1 11
n1r o
sin(2mrx) dx
1
1
fo1
-- 2 2 cos(2n1rx)
2n 7r 1o
0, n 2: 1,
bn 2 (1 - x) sin(2n1rx) dx
1 1
--(1 -x) cos(2n1rx) - -
n1r o n1r o
cos(2n1rx) dx 1
1
11
1
n 2: 1.
n1r
)
= - + I:- sin(2n1rx).
00
1 1
f(x)
2 n=l
n1r
1
At x = m, where m is an integer, the series converges to the average value
2, as is
evident from the series since sin(2n1rm) = 0 for every n 2: 1.
1-
The number to which the series converges can be determined for any real number x.
For example, at x = �' the series converges to J (�) = At x = 731, employing
the 1-periodici ty of J, the series converges to
1 1 1
2 [!(731-) + f(731+)] = 2 [!(0-) + f(O+)] = 2,
8.1. FOURIER SERIES OF PERIODIC FUNCTIONS 291
-6 -5 -4 -3 -2 -] 0 2 3 4 5 6 X
The function f is piecewise continuous, with discontinuities at the even integers 2m,
and f' is piecewise continuous, with discontinuities at all of the integers. The average
1
value of f at an even integer is . Thus, the Fourier series of f converges to f(x) at
2
every x except at x= 2m, where m is an integer.
Since f has period T = 2, L = 1 and the Fourier series of f takes the form
with
1 11 1
1 2
n 1r n 1r
1 11
O
2
bn f(x)sin(n1rx)dx= xsin(n1rx)dx+ j2 sin(n1rx)dx
1 11 1
1 2
(-1r 1 . 1 (-1r 1
1
1
--- + --sm(n 1rx) - -+ -- = --, n 2:: 1.
n1r n 1r
2 2
0 n1r n1r n1r
292 CHAPTER 8. FOURIER SERIES
f(x)
3
= -4 + L00 { r(-1nr2 2- 11 cos(mrx) - -
n=l
1r
1
n1r
sin(mrx) .
}
(8.6)
1
At every even integer x = 2m, the series converges to
2.
The number to which the series converges can be determined for any real number x.
For example, at x = l, the series converges to f(l) = 1. At x = 273, employing the
2-periodicity off, the series converges to J(273) = J(l) = 1. At x = 28.3, the series
converges to f(28.3) = f(0.3) = 0.3.
1
An interesting result emerges at x = 0. Since the series converges to at x = 0,
2
setting x = 0 in (8.6) gives
=
L (2k + 1) = s·
7r
i.e.,
k=O
2
1r
2 -4, k=O
2
Thus, Fourier series can be employed to determine the exact sums of certain series.
Definition 8.5. A function f defined on an interval I of the form [-L, L] or (-L, L),
L > 0, is odd if J(-x) = -J(x) for all x in J.
Example 8.6. For any L > 0, the function J(x) = x3 is odd on [-L, L] because
J(-x) = (-x)3 = -x3 = - J(x) for all x in [-L, L].
Definition 8.6. A function f defined on an interval I of the form [-L, L] or (-L, L),
= f(x) for all x in J.
L > 0, is even if f(-x)
Example 8.7. For any L > 0, the function J(x) = x2 is even on (-L, L) because
f(-x) = (-x) 2 = x2 = J(x) for all x in (-L, L).
8.1. FOURIER SERIES OF PERIODIC FUNCTIONS 293
Example 8.8. The function J(x) = ex is neither even nor odd on any interval
I= [-L, L] since J(-x) = e- x -/- ±ex = ±J(x), except at the single point x = 0.
Example 8.9. The function f(x) = x2 is not even on [0, 1] beca use [0, 1] is not of
the form [-L, L] or (-L, L).
1: J(x) dx = 0.
1: 1:
Proof.
L
f(x) dx = J(x) dx + 1 J(x) dx.
1 £
-L
L
f(x) dx = - ( f(y) dy + ( f(x) dx = 0.
lo lo
L
1
-L
£
J(x) dx
L
= 2 { J(x) dx.
lo
1: 1:
Proof:
£
J(x) dx = J(x) dx + 1 J(x) dx.
Let y = -x in the first integral on the right to convert it into
o L L
J J(-y)(-dy) = ( J(-y) dy = ( J(y) dy
1, lo lo
since J(-y) = J(y ). Thus,
1£
-L
f(x) dx = [1
lo
"' L
J(y) dy + ( f(x) dx = 2 ( J(x) dx.
lo lo
L
294 CHAPTER 8. FOURIER SERIES
with
£
bn = 11 f( x ) sin ( � ) dx,
n x
n 2'. 1.
This series is called the Fourier sine series ( or simply the sine series) of J.
Proof. The Fourier series off is
ao � n 1r x . n 1r x
2 + L [an cos ( L ) + bn s ( L )]
m
n=l
with
Ll 1-L f( x ) cos ( L
£ n1r x 1 £ n 1r x
1-L J( x ) sin (
an ) dx, n 2'. 0, bn = L ) dx, n 2'. 1.
=
L
Since cos ( � ), 2'. 0, is an even function and f is an odd function, their product
n x
n
n 2'. 1, is an odd function and J is an odd function, their product is an even function
and, hence,
bn =± 1: f( x ) sin ( ; ) dx
n x
= 11 L f( x ) sin ( ; ) dx,
n x
n 2'. 1,
by Theorem 8.3.
with
8.1. FOURIER SERIES OF PERIODIC FUNCTIONS 295
L ----sm ( -- ) '
n 1r 2
n=I
and converges to f( x ) for all x except x = ±2, ±6, •••,where it converges to 0. The
graph of J is displayed in Figure 8.5.
y
2
-6 -4 -2 0 2 4 6 X
-2
with
21 L n 1r x
an = J ( x ) cos ( L ) dx, n 2'.'. 0.
L O
This series is called the Fourier cosine series ( or simply the cosine series) of f.
Proof. The Fourier series of J is
a0 �[ n 1r x n1rx
,
2 + L an cos L + n sin L
( ) b ( )]
n=l
.
with
1 1L n 1r x 1 1L n 1r x
-L J( x ) cos ( L ) dx, J( x ) sin (
an 2: 0, bn = L L ) dx, n 2: 1.
= n
L -L
n 2: 0, and f are even functions, their product is an even function and, hence,
1 L n 1r x 2 L n 1r x
an = L 1 J ( x ) cos ( L ) dx = 1 J ( x ) cos (
L 0 L ) dx, n 2'.'. 0,
-L
296 CHAPTER 8. FOURIER SERIES
by Theorem 8.3.
2 -2 < - X < -1
Example 8.11. Let J(x) = { 1: -1 ::; x < 1 } on [-2, 2) and f(x + 4) = f(x)
2, 1 :s; X < 2
for all x. The graph off is displayed in Figure 8.6. This function has period T = 4
y
2
-5 -4 -3 -2 -] 0 2 3 4 5 6 7 X
T
and is even. Hence, by Theorem 8.5 with L =
. . 2 = 2, its Fourier series reduces to the
cosme senes
ao � n1rx
2 + �an COS (- -) '
n=l
2
with
212 J(x) cos (n1rx
1 cos n1rx- dx 12
- - ) dx
2
1 0 2
n1rx
(- ) + 2cos ( - -) dx, n � 0,
0 2 1 2
11
from which we obtain
ao 1 dx + f 2 dx = 3,
2
2 n1rx 1 4
1
n1rx 1
2 2 n1r 4 . n1r
an
n1r
sin ( - -)
2 + n1r
sin (- -)
2 = n1r
sin ( )
2 - n1r sm (2)
0 1
n1r
_ _3_ sin ( ) ' n > - 1.
n1r 2
Thus, the Fourier series of f is the cosine series
00
3 2 n1r n1rx
-+ L--sin (-) cos ( --) ,
2 n=l n1r 2 2
8.1. FOURIER SERIES OF PERIODIC FUNCTIONS 297
Exercises 8 .1
1. Show that if f is periodic with period T, then f (x + nT) = f (x) for every
integer n.
2. Let J(x) = x 2 + 1 for -1::::; x < 2 and f(x + 3) = J(x) for all x. Determine the
values f(x) off at x = 5, 7, -4, 783 and -291.
ao � n1rx n1rx
f(x) = + L [an COS (L ) + bn sin ( )]
2 n=l
L
11:
The coefficients an have been determined in the text. In a similar way, show
(formally) that bn = n x
f(x) sin ( � ) dx for every n 2'. 1.
4. Let f(x) = { �: -� � �: � } and f(x+4) = f(x) for all x . Find the Fourier
series off.
O O<x<l . .
5. Let J(x) = {
x: 1 � x < 2
} and f(x + 2) = f(x) for all x. Fmd the Founer
series off.
6. Let f( x) = 2x - 3 for 2::::; x < 5 and f(x + 3) = J(x) for all x. F ind the Fourier
series off.
1
7. Let J(x) =- for O < x :::; 1 and f(x + 1) = f(x) for all x. Is f piecewise
X
continuous?
0 -1 < X < 0 }
8. Let f(x) = { - '.
x 0�x<1
, and f(x + 2) = j(x) for all x.
9. Let f(x) = x2 for O::::; x < 2 and J(x + 2) = f(x) for all x.
10. Let J(x) = x3 for -1 :::; x< 1 and f(x + 2) = J(x) for all x. Find the Fourier
series off.
- -
1 1. Let f ( X) = { �: � � : � � } , and f( x + 4)= f ( x) for all x.
1 -x 2 Q :::; X :::; 1
13. Letf(x)= { 2 }, and f(x+2)=J(x)for allx.
l-(x-2) , l<x< 2
L00 (-1r-1
n=l
n2
14. Consid er the 3-periodic function f which has the graph d epictedby Figure 8. 7.
-4 -3 -2 -I 0 2 3 4 5 6 7 8 X
-1
8.2. FOURIER SERIES OF FUNCTIONS ON FINITE INTERVALS 299
Hence, deduce that for any two real numbers a and /3,
1a
+T J(x) dx = 1/3+T J(x) dx.
a 13
J(x) dx = 1° J(x) dx + l
a +T
J
Of course, can be defined in any manner whatsoever outside the interval [a, b].
The only restriction upon the function ](x) is that it be equal to J(x) for all x in
[a, b]. Thus, there is an infinite number of possible extensions of a given function J
from [a, b] to I. However, only three very particular types of extension are important
in the study of Fourier series.
300 CHAPTER 8. FOURIER SERIES
Definition 8.8. Let J be defined on [a, b] and let T = b- a. Define the function j
on JR by
](x) = J(x) for all x in [a, b] and ](x + T) = ](x) for all x.
The function f is called the T-periodic extension off to R
Example 8.12. Let f(x) = 1 - x on [O, 1]. Then the 1-periodic extension off to J
JR is defin�d by i(x) = f(x) = 1- x for O:::;; x:::;; 1 and ](x + 1) = ](x) for all x. The
graph off is displayed in Figure 8.8.
-2 -I 0 2 3 X
J
Note that, in Example 8.12, is not well defined at integral values of x since, on
the one hand, ](1) = f(l) = 0 but, on the other hand, ](1) = i(o) = J(0) = 1. In
general, if f is defined on a closed interval of the form [a, b] and T = b- a, then the
T-periodic extension off to JR is not well defined at the points nT, n = 0, ±l, ±2, · · ·,
J
unless J(a) = f(b). Such points, where an extension is not well defined, are points
of discontinuity. In the study of Fourier series, the value �f a function at a point x
of discontinuity is irrelevant, because the Fourier series off converges to the average
J
value of at x, regardless of how ](x) is defined, and we shall pay no more heed to
this matter.
J
Definition 8.9. Let f be defined on [a, b], let T = b - a and let be the T-periodic
T
extension of f to JR. Then, with L = , the Fourier series off on [a, b] is the Fourier
_ 2
series off, i.e.,
ao f-.. n1rx . n1rx
+ bn sm ( L )]
2+L n=l
[an COS (
L ) (8.7)
lb f-(x)cos (n1rx 1 1• b .
with
1
- - ) dx = - J (x) cos (n1rx
- ) dx, n 2: 0, (8.8)
l l - 1 l .
L a L L a L
b n1rx b n1rx
f(x) sin ( ) dx = J (x) sin ( ) dx, L n 2: 1, (8.9)
L a L L a
8.2. FOURIER SERIES OF FUNCTIONS ON FINITE INTERVALS 301
employing the fact that ](x) = J(x) for all x in [a, b].
The Fourier series off can be determined directly by Equations (8. 7), (8.8) and
(8.9), without any reference to the extension j. Knowledge of is required only if J
the sum of the series at points x ::; a or x 2:: b needs to be determined.
Example 8.13. The function f in Example 8.12 is the same as the periodic function
fin Example 8.4 on page 2§9, where its Fourier series was derived. Since and}' are J
piecewise continuous and f is continuous for O < x < 1, its Fourier series converges
to ](x) = f(x) for O < x < 1. Thus,
00
1 1
1-x = - + �-sin(2mrx), 0 < x < 1,
2 Lmr
n=l
and the series on the right (including the constant term) is the Fourier series of
J(x) = 1 - x on [O, 1].
Example 8.14. Let f(x) = x on [O, 1]. The graphs off and its 1-periodic extension
j to IR are displayed in Figure 8.9.
y y
0 X -2 -I 0 2 X
Figure 8.9: The graphs of J(x) = x on [O, 1] and its 1-periodic extension J to IR.
The Fourier series off on [O, 1] is the Fourier series of the periodic function f with
1
L = ,
2 1.e.,
a
2
° + L [a cos(2mrx) + b
n n sin(2mrx)] ,
fo 1
n=l
with
ao = 2 x dx = 1,
302 CHAPTER 8. FOURIER SERIES
and,for n � l,
an 2 11 x cos(2mrx)dx = nn
0
- sin(2mrx)
X ll
O
--
1
nn
11 sin(2mrx)dx = 0,
0
Since J and ]' are piecewise continuous and J is continuous for O < x < l,
1 1
00
�xample 8.15. Let f(x) = x + l on [-1,2]. The graph of the 3-periodic extension
f off to � is displayed in F igure 8.10.
y
3
-4 -I 0 2 5 8 X
The Fourier series off on [-1, 2] is the Fourier series of the periodic function J with
L =�,i.e.,
2
a0
2+�
�[ 2nnx
anCOS (--)
2nnx
+ bnsin (- -)]
3 3
8.2. FOURIER SERIES OF FUNCTIONS ON FINITE INTERVALS 303
with
2
3 4m 3 2mrx 1
-sin (-r) +-cos ( -)
mr 3 2n 7r
2 2 3 _1
1._ sin (4n7r) + _3 4 2m
[cos ( n7r) _ cos ( r)]
n 7r 3 2n 7r
2 2 3 3
1._ sin (4n7r) , n � l,
11:
n1T' 3
2n x
12
bn ( x + l)sin ( ; ) dx
1 2n7rx 1
+- 1
2 2n 7rx
--( x + l)cos ( -- ) cos (-- ) dx
n 7r 3 _ 1 n 7r _ 1 3
2
3 4n7r 3 . 2n 7rx 1
--cos ( - ) +- sm ( - )
n 7r 3 2n 7r
2 2 3 _1
4 3 4 2
_1._ cos ( n7r) + _ [sin ( n7r) + sin ( n7r)]
n 7r 3 2n 7r
2 2 3 3
4
_1._ cos ( n7r) , n � l.
n 7r 3
Thus,
x+l
Suppose that J is defined on an interval of the form [O, L], L > 0, and that a
Fourier sine series representation of f on [O, L] is required. Since a sine series is the
304 CHAPTER 8. FOURIER SERIES
Definition 8.11. Let j be defined on [0, L], let ii be the odd extension of J to
[-L, L], and let j be the 2L-periodic extension of fi to R Then J is called the odd,
2L-periodic extension off to R
Example 8.16. Let f(x) = 1 - x on [0, 1]. The graphs of the odd extension ii off
to [-1, 1] and the odd, 2-periodic extension J of J to IR are displayed in Figures 8.11
and 8.12, respectively.
y y
I I
0 X -I 0 X
-I
Figure 8.11: The graphs of J and its odd extension ii to [-1, l].
y
I
-2 -I 0 2 3 4 5 6 X
-I
. -1 - X, -1 S XS O
J 1 ( X) = { }
1 - X, 0S X S1 '
Definition 8.12. Let f be defined on [0, L]. The Fourier sine series off on [0, L]
is the Fourier series of the odd, 2L-pcriodic extension J of J to IR, i.e.,
(8.10)
with
£
bn = 11£ f( x ) sin ( ; ) dx
n x
=
i1 f( x ) sin ( ; ) dx ,
n x
n � l, (8.11)
The sine series of f on [0, L] can be determined directly by Equations (8.10) and
(8.11), without any reference to the extension J.
Knowledge off is required only if
the sum of the series at points x ::; 0 or x � L needs to be determined.
2::)n sin(mrx),
n=l
with
1
bn 21 (1 - x) sin(mrx) dx
2 2 1
--(1 -x) cos(mrx) - -
1 1
1
cos(mrx) dx
nK O nK 0
-, n � l.
nK
Since f is continuous for 0 < x < l,
00 2
l-x = I:-sin(nKx), 0 < x < l,
n=l
nK
and also at x = l since J(l) = 0, which is also the sum of the series at x = l.
Lb n sin(nKx),
n=l
306 CHAPTER 8. FOURIER SERIES
with
1 1
bn 2 [ xsin(mrx)dx = _2_xcos(mrx)l
mr
+ 2_
mr
[1 cos(mrx)dx
lo O lo
2(-1r-1
n � 1.
L-
oo -l)n l
x=
2(
-
n1r
--
sin(mrx), 0 < x < 1,
n=l
and also at x = 0 since f (0) = 0, which is also the sum of the series at x = 0. The
graphs of the odd extension Ji of f to [-1, 1] and the odd, 2-periodic extension of J
J to IR. are displayed in Figures 8.13 and 8.14, respectively.
y
I
0 I X -I 0 I X
-I
Figure 8.13: The graphs of f(x) = x on [O, 1] and its odd extension !1 to [-1, l].
y
I
-3 -2 -I 2 3 X
-I
1 0<x<l} . . .
Example 8.19. Let J(x) = { o: . The sme senes of J on [O, 2] 1s
1�x�2
8.2. FOURIER SERIES OF FUNCTIONS ON FINITE INTERVALS 307
12 11
with
n x n x
bn J(x ) sin ( ; ) d x = sin ( ; ) d x
n x
- : cos ( ; )
1r
i:
n
� [1 - cos (
n
2
7r)] , n � 1.
. 1
At x = 1, the senes converges to the average value off.
2
Suppose that f is defined on an interval of the form [0, L], L > 0, and that a
Fourier cosine series representation of f on [0, L] is req�ired. Since a cosine series is
the Fourier series of an even function, the extension f of f to IR must be an even
function.
Definition 8.14. Let f be defined on [0, L], let Ji be the even extension off to
J
[-£, L], and let be the 2L-periodic extension of Ji to R Then is called the even, J
2L-periodic extension off to R
Definition 8.15. Let f be defined on [0, L]. The Fourier cosine series off on [0, L]
is the Fourier series of the even, 2£-periodic extension off to IR, i.e., J
ao � n 1r x
+ L..tan ( ) (8.12)
2 n=l
COS
L
with
an = f 1L n x
i(x) cos ( ; ) dx = f 1L f(x) cos ( ; ) dx,
n x
n � 0, (8.13)
Example 8.20. Let j(x) = 1 - x on [O, 1]. The graphs of the even extension Ji of
J to [-1, 1] and the even, 2-periodic extension J of f to IR. are displayed in Figures
8.15 and 8.16, respectively.
y y
0 X -1 0 X
-3 -2 -1 0 2 3 4 5 X
l+x -1:S:x:S:0
The even extension Ji of J to [-1, 1] is defined by fi(x) = {
1 _ x'.
}
0 :S: x :S: 1 ·
ao
cos(mrx),
2 +�an
"
n=l
8.2. FOURIER SERIES OF FUNCTIONS ON FINITE INTERVALS 309
with
ao 2 1\ 1 - x) dx = l,
1 1 1
an 21 (1 - x) cos(mrx) dx = 2_(1 - x) sin(mrx) 1 + 2-1 sin(mrx)dx
o n1r o n1r o
2 1
1
- 22 cos(n1rx)
n 7r o
2
[1- (-1)],
n
n 2:: 1.
n 7f
22
Example 8.21. Let J(x) = x on [O, 1]. Th_e graphs of the even extension Ji off to
[-1, 1] and the even, 2-periodic extension J of f to IR are displayed in Figures 8.17
and 8.18, respectively.
y y
I X -I X
Figure 8.17: The graphs off (x) = x on [O, 1] and its even extension Ji to [-1, 1].
-3 -2 -I 0 2 3 X
1
fo
with
ao x dx = 1,
2
1 1 1
an 21 x cos(mrx) dx = _3_x sin(mrx) _3_ 1 sin(mrx) dx
o n1r o 1 - n1r o
2
1
2 cos(n1rx) 1
n 7r
2 o
2
(
27r 2 [ -lt-1],
n � 1.
n
-
x=
2 + L
k=O
(2k + l)21r2 cos[(2k + l)1rx], 0::::; x:::; 1.
Setting x = l and employing the fact that cos[(2k + l)1r] = -1 for all k � 0, we
obtain
which gives
In addition, since
1
00 00
1
00
1 1
00
1
00
1
� n2 =
n-l
L
k=l
(2k)2
+ L (2k +
k=O
1) 2 = 4L
k=J
k2
+ L (2k + 1) '
k=O
2
we obtain
3 00
1
L
7r 2
i.e.,
4 n2 = 8'
n=l
8.2. FOURIER SERIES OF FUNCTIONS ON FINITE INTERVALS 311
2, 0 < x < l } . . .
Exam p 1 e 8 . 22 . Let ;'( x ) = { . Its cosme senes 1s
l, 1 ;; x :::; 2
ao � (n1rx)
2 + Lan cos -2-
n=l
with
3
At x = 1, the series converges to the average value of J. This is evident from the
_ _ 2
senes, smce
Exercises 8. 2
1. Suppose that the function f is defined on the interval [O, 6]. Determine the form
of its Fourier series.
2. Suppose that the function f is defined on the interval [-3, 5]. Determine the
form of its Fourier series.
O< x< 1 . senes
3. Let f(x) = { � F'md t he Founer . of f .
: 1 ;; x :::; 2 } .
7. Suppose that the function f is defined on the interval [O, 6]. Determine the form
of its Fourier sine series.
_
9. Let f (x) =
{ X, 0::; X < 1
2 _ x, 1::; x::; 2
} . F ind the Fourier sine series of f.
11. Suppose that the function f is defined on the interval [O, 6]. Determine the form
of its Fourier cosine series.
12. Let f (x) = { �'. ½ �: � l }· F ind the Fourier cosine series off.
13. Let f(x) = x3 on [O, 1]. Find the Fourier cosine series off.
14. Let f(x) = sin(x) on [O, 3]. F ind the Fourier cosine series off.
(e) Find the Fourier cosine series of f. Determine the points x in [0, 2] where
the series converges to f ( x).
(f) Determine the numbers to which the cosine series off converges at x = 0,
x = 1, x = 2, x = 78 and x = 79.
11 x <
17. Let f be defined on the interval [0, 1r] by J(x) = { � �< < � }.
0 ' 2-X_Jf
(a) Find the Fourier sine series off. Determine the points x in [0, 1r] where
the series converges to f ( x).
(b) Find the Fourier cosine series of f. Determine the points x in [0, 1r] where
the series converges to f ( x).
(c) Find the Fourier series of f. Determine the points x in [0, 1r] where the
series converges to f ( x).
(d) Simplify the series in part (c) and select a suitable value of x in order to
oo (-l)k
deduce the sum of the series
k=O
L
2k + 1
.
{
Chapter 8 Exercises
x-3
1. Let J(x) = 1, '
6-x,
2. Suppose that f and J' are continuous on [0, L], and let F(x), S(x) and C(x)
denote the Fourier series, the sine series and the cosine series of f, respectively.
J
By analyzing the suitable extensions of f to JR in each case, determine the
conditions under which:
L
1 Yn (x)ym (x) dx = 0 if n f m.
314 CHAPTER 8. FOURIER SERIES
n=l
i1
then
L
bn = n
f(x ) sin ( � ) dx,
x
n 2: 1.
ao n1r x
f(x) = +� cos (
2 L..,. a
n=l
n
L)
then
4. Suppose that f and g are continuous and 2L-periodic, and that f' and g' are
piecewise continuous. Let
ao � n 1r x . n 1r x
cos (L ) + bn sm (
2 + L..,.
n=l
[a n )]
L
be the Fourier series of J, and
co � n1r x n 1r x
+ L..,. [Cn cos ( ) + dn sin ( )]
2 n=l
L L
the Fourier series of g. Prove that if the two series are equal for all x, then
a n = Cn for all n 2: 0 and bn = dn for all n 2: 1. (The analogous results hold for
sine series if f and g are odd, and for cosine series if they are even.)
CHAPTER 8 EXERCISES 315
5. (a) Let
. (7fX)
J.( X ) = 2 sin . (47rX)
3 - 3 sin . (57fX)
- - + 4sm 3
3
Determine the fundamental period of J and find its Fourier sine series by
computing its sine coefficients, employing the appropriate Euler-Fourier
formulas and Exercise 3(a). F ind the sine series of J by employing the
result of Exercise 4.
(b) Let
3 x x x
J(x) = 3 - cos ( 1r ) + 2cos (61r ) + 5cos (71r ) + 3cos (41rx).
4 4 4
Determine the fundamental period of J and find its Fourier cosine series.
(c) Let
J(x) =
1
- 2cos
(1rx) + cos (31rx 7 x
- - ) + 3sin ( - 1r - )
9x
- 5sin ( - 1r - ) .
2 2 2 2 2
Determine the fundamental period off and find its Fourier series.
Chapter 9
317
318 CHAPTER 9. SERIES SOLUTIONS OF DIFFERENTIAL EQUATIONS
Y=Lan(X-xor, lx-xol<R,
n=O
with two of the coefficients (usually a 0 and a 1) being arbitrary. Moreover, the radius
of convergence R is at least as great as the distance from x 0 to the singular point x 1
of the equation which is closest to x0. If the equation has no singular points, then
R= oo.
1
y
II
-2yI +--y = 0
x-1
has a singular point at x1 = 1, and all other points are ordinary. The series solution
about x0 = 0 has radius of convergence R 2". 1, the distance from the expansion point
x0 = 0 to the nearest singular point x1 = 1, by the last part of Theorem 9 .1. The
series solution
y = �bn x-
= ( l)
n
about x0 = i has radius of convergence R 2". �, the distance from the expansion point
y" + _l _y' +y =0
x2 + 1
has singular points at x1 = ±i. The series solution
9.1. SOLUTIONS ABOUT ORDINARY POINTS 319
about x0 = 0 has radius of convergence R 2:: 1, the distance from 0 to ±i. The series
solution 00
about x0 = 2 has radius of convergence R 2:: /5, the distance from 2 to ±i. We
cannot conclude that R = oo due to the absence of any real singularities.
y" + xy' + y = 0.
Since p(x) = x and q ( x) = 1 are analytic at every point x0 and, in particular, at
x0 = 0, the general solution can be expressed as
= I: an xn ,
00
y
n=O
y = I:anX n
=} y' n
-l y" = 11
n 2
,
n=O n=O n=O
n
n
n
n
n
n
= 0,
n=O n=O n=O
i.e.'
L n(n - 1)a X -2 + L na X + L a x
00 00 00
n
n
n
11
n
n
= 0. (9.1)
n=O n=O n =O
In the first series, the term n(n - 1) = 0 when n = 0 and when n = 1. Hence,
00 00
n=O n=2
n=2 n+2=2 n =O
320 CHAPTER 9. SERIES SOLUTIONS OF DIFFERENTIAL EQUATIONS
and, in general,
(-l)ka1
a2k+1 = 3. 5 . 7 .. . ' k 2'.'. 1.
(2k + 1)
2 · 4 · 6 · · · (2k)
In order to express a2 k+ l in a more concise form, multiply it by = 1
2. 4. 6 ... (2k)
to obtain
L L L
00 00 00
y = anX
n
= a2kX
2k
+ a2k+ 1X
2k+l
n =O k=O k=O
aoy1 + a1 y 2,
where
Y � (-l)k � (-l)k 2k k! 2k+l
1 = L k x 2k and Y2 -
- L
2 k! k
(2k + 1)! x .
k� �
Since there are no restrictions upon the constants a 0 and a 1, they are both arbitrary.
Setting ao = 1 and a 1 = 0 gives the solution y = y 1, and setting a0 = 0 and a 1 = 1
gives the solution y = Y2• Moreover, since Y1(0) = 1 =/- 0 and Y2(0) = 0, Y1 and Y2 are
linearly independent. Thus, y = aoy1 + a 1 y2 is the general solution, as guaranteed by
Theorem 9.1. Since the equation has no singularities, R = oo.
Since
an = , n 2'.'. 0.
n.I
In particular,
ao = y(0) and a1 = y'(0).
322 CHAPTER 9. SERIES SOLUTIONS OF DIFFERENTIAL EQUATIONS
Since
X -4
p(x) = -- and q(x) =- -
x 2
+1 x 2
+1
are analytic at x 0 = 0, the point 0 is an ordinary point of the equation and, hence,
Theorem 9.1 applies. Thus,
L
00
n =O n =O n =O
L +XL L
00 00 00
(1 + x 2 ) n(n - l)anX -Z
n
nanX -l
n
-4 an X
n
= 0,
n =O n =O n =O
i.e.'
L L L L
00 00 00 00
n( n - l)an X -Z
n
+ n( n - l)an X
n
+ na n X
n
- 4anX
n
= 0.
n =O n =O n =O n =O
n =O n =O
and, making the change of index n ---t n + 2 in the first series, we obtain
00 00
n =O n =O
i.e.'
n n x
n
= 0.
n =O
9.1. SOLUTIONS ABOUT ORDINARY POINTS 323
(2 - n)an
n - 2)an - ---
a +2 - -(---
- - n >_ 0 .
n n+l n+l '
n = 0 ⇒ a2 = 2ao,
n = 2 ⇒ a4 = 0,
n = 4 ⇒ a6 = 0,
a1
n=l ⇒ a =
3 2,
-a3 -
n=3 ⇒ a5 - - a1
- 4 - 2. 4'
-3as 3a1
n=5 ⇒ a7- ---
- 6 - 2-4·6'
-Sa1 -3· Sa1
n=7 ⇒ ag=-- =
8 2·4·6·8'
- 7a9 3 · 5 · 7a1
n=9 ⇒ au = -- =
10 2-4-6-8-10'
2k k!
(-l) -t1 • 3· 5 · 7 · · · (2k - 3) a 1 2· 4 • 6 ·8· 10 ··· (2k - 2)
k
Hence,
Suppose that the initial conditions y(0) = -3 and y'(0) = 6 are given. Since y(0) = a0
and y'(0) = a 1 , the solution of the initial-value problem is
By Theorem 9.1, since the only singularities of the equation are x 1 = ±i, and the
distance from x0 = 0 to x 1 = ±i is 1, the radius of convergence of the general solution,
as well as that of any particular solution, is R 2:: 1.
Since y 1 is a polynomial, i.e., a finite Taylor series, its radius of convergence is R1 = oo.
In order to determine the precise value of the radius of convergence R2 of y2, we employ
the ratio test. Thus, with Y2(x) = x + L ck(x),
k=l
2 (2k)(2k - 1)
lxl lim 2
k --+oo 2 (k + l)k
lxl < 1
2
y" + cos(x)y = 0,
with p(x) = 0 and q(x) = cos(x). Since p and q are analytic at x0 = 0, the general
solution is given by
Since
L= (-lt x k = 1 - 2!x + 4!x - 6!x + · · ·
2 4 6
cos(x) = 2
(2k)!
k=O
is an infinite series and not a polynomial, we shall retain only the first six terms in
y. Thus,
i.e., a partial set of recursion relations for the coefficients an . It follows that
326 CHAPTER 9. SERIES SOLUTIONS OF DIFFERENTIAL EQUATIONS
where
12 1 4
Y1 = 1- x
2 + 12x + · and Y2 = x - 13
x +
1 5
x +···
·· 6 30
are two linearly independent solutions.
Exercises 9 .1
1. Determine all points x0 where the given function is analytic.
3
(a) f(x) = -
x+2
x + 1
2
(b) J(x) = x 2 -4
(c) f(x) = tan(x)
9.1. SOLUTIONS ABOUT ORDINARY POINTS 327
x+l
(d) J(x) = -;;---
e -1
(e) f(x) = Jx + 2, x 2:'. -2
x2 - x + 1 .
2. Compute the Taylor series of f (x) = ---- about xo = 0 by d1v1·d·mg 1 + x
x+l
into 1 - x + x2 .
La x .
00
n
3. Consider the series n
n= 2
L na x + L a x +
00 00
4. Determine an , n 2:'. 0, if n
n
n
n 2
= 0.
n=O n=O
(a) Find the coefficient recursion relation for the general series solution about
Xo = 0.
(b) Solve the recursion relation, i.e, find a n explicitly in terms of n, and thereby
obtain the general solution and two linearly independent solutions.
(c) Write down the first four terms of each one of the two series solutions.
(d) Express one of the series solutions as an elementary function.
(e) Deduce the radius of convergence of each series solution.
(f) Solve the initial-value problem for the given equation if y(0) 0 and
y'(0) = 2.
y" + xy' - 2y = 0.
(2 + x2 )y" + 2xy' - 2y = 0.
(a) Find the 5 th -degree Taylor polynomial T5 (x) of the general solution.
(b) Find T5 (x) for each one of two independent solutions.
where v is a constant.
(a) Find the coefficient recursion relation for the general series solution about
Xo = 0.
(b) Deduce from the recursion relation that if v = m is a nonnegative integer,
then one of the two series solutions is a polynomial Pm (x) of degree m (i.e.,
show that am+2 = am+4 = am+6 = · · · = 0).
(c) Impose the condition Pm (l) = 1 (which specifies the arbitrary constant
within the polynomial solution) and find Pm (x) for 0 :S m :S 3. T he
polynomials Pm (x), with Pm(l) = 1, are called Legendre polynomials.
where J is 2L-periodic and continuous, f' is piecewise continuous, and >.. is a real
constant. Suppose that a 2L-periodic solution y of equation (9.4) is sought. By the
Fourier convergence theorem (Theorem 8.1),
ao � [ (n1rx) (n1rx)]
J (x) = + � an cos + bn sin < X < 00,
2 n=l
L L -00
9.2. PERIODIC SOLUTIONS 329
where an and bn are the Fourier cosine and sine coefficients off, respectively. Given
the form off, a 2£-periodic solution y is sought in the form of a 2L-periodic Fourier
senes, 1.e.,
Y=
co �
+ L [Cn COS (
n 1r x
) + d nsm (
n1r x
)]
.
2 n=l
L L
Once the coefficients Cn and dn have been determined formally, it can be shown
that the resulting series is the Fourier series of a function y, that y' and y" can be
determined by the termwise differentiation of the series, and that y, y' and y" are
continuous. Thus,
which is satisfied if
and
n
2 2
If >.. -/- V for any integer n 2'. 0, then
1r
and dn -
- bn
_ n2 2, n 2'. 1,
>.. 1r
£2
in which case, Ck and dk are arbitrary. The case where no 2£-periodic solution exists
is one of resonance, which occurs if the forcing term f contains a term proportional
to a periodic solution of the homogeneous equation y" + >..y = 0. The solution in that
case is not periodic, but contains a term proportional to x.
Example 9.8. Let f(x) = x3 - 2x2 + 1 on [O, 2] and f(x + 2) = f(x) for all x. Since
f is continuous on [0, 2] and f(0) = 1 = f(2), f is continuous everywhere and f' is
piecewise continuous. Hence,
y" + 3y = f(x)
, n2 1,
an bn
=
Cn = 3 - n 27r 2
, n 2 0, and d n
3 - n27r 2
and it remains to determine the Fourier coefficients of f. Thus,
2
3'
12 2x2 + 1) cos(n1rx) dx
2 + 1) sin(n1rx) 2 - -1 1 2(3x2
an (x3 -
1
1 -
2 o n1r1 1o 2
-(x 3 - 2x 4x) sin(n1rx) dx
n1r
1
-- (3x2 - 4x) cos(n1rx) 1 - 22
2 2
(6x - 4) cos(n1rx) dx
n 1r o n 7r o
2 2
�- �(6x - 4)sin(n1rx)\ + 6 [ sin(n1rx)dx
n 1r n 1r n 3 1r3 Jo
2
O
1
22
4 6 4
,
-44cos(n1rx) n21,
22
n 1r n 1r O n 1r
9.2. PERIODIC SOLUTIONS 331
2
\x - 2x + 1) sin(mrx) dx
3
bn
f o
2 2
--(x 1 3 - 2x 2 + 1) cos(mrx) 1 + - 1 1 (3x 2 - 4x) cos(mrx) dx
1
nn nn 0
2
O
2
(3x2 - 4x) sin(nnx) 1 - 22
1 1
22
(6x - 4) sin(nnx) dx
nn O n n 0
1 2 2
6 1 cos(nnx) dx
33(6x - 4) cos(nnx) 1 - 33
nn O n n 0
12
n "2 1.
Hence,
1
y= - +
L
oo [ 4cos(nnx)
- - --- +- - ---
12sin(nnx)
] , <X<
9 n 2n2(3 - n 2n2 ) n3n3(3 - n 2n2 )
-OO 00.
n=l
Example 9.9. Let f be an odd, 2-periodic function with f(x) = x - x2 on [O, 1].
Since f is continuous on [0, 1] and J(O) = f(l) = 0, f is continuous everywhere and
J' is piecewise continuous. Hence,
00
J(x) = L b sin(nnx),
n -oo < x < oo.
n=l
A 2-periodic solution of the equation
y" + y = J(x)
is therefore sought in the form
00
n=l
Since >. = 1 =/= nn for any integer n "2_ 0, and L = 1,
2 2
bn
2 2'
dn n"2_1.
-nn
=
l
The Fourier sine coefficients of f are
bn = 2 fo\x - x2 ) sin(nnx) dx
2
--(x - x2) cos(nnx) 1 + -2
1
11
(1 - 2x) cos(nnx) dx
11
nn O nn 0
2
4
1
Hence,
4[1-(-lr]
L
00
Example 9.10. Let f be even and 2-periodic, with J(x) = x on [O, 1]. Since f is
continuous on [O, 1] and f is even, it is continuous everywhere and f' is piecewise
continuous. Hence,
00
ao
f(x) = +�
L..,ancos(n1rx), < < 00.
2 n=l
-00 X
y" + y = f(x)
is therefore sought in the form
00
Co �
y= + L....encos(n1rx), < < 00.
2 n=l
-OO X
y = +
-2 -OO < X < 00.
n=l
Exercises 9. 2
1. Let f(x) = x2 - x + 2 on [O, 2] and .f(x + 2) = f(x) for all x. Find a 2-periodic
solution of the equation y" + 3y = J(x).
2. Let J(x) = x2 - 2x on [-1, 3] and J(x + 4) = J(x) for all x. Find a 4-periodic
solution of the equation y" + 4y = f(x).
9.2. PERIODIC SOLUTIONS 333
8. Let f be an even, 2-periodic function, with J(x) = sin(21rx) on [O, 1]. Find a
2-periodic solution of the equation y" = f(x).
Appendix A
A. l Trigonometric Identities
cos 2(0) + sin 2(0) = 1
cos(a + b) = cos(a) cos(b) - sin(a) sin(b)
cos(a - b) = cos(a) cos(b) + sin(a) sin(b)
sin(a + b) = sin(a) cos(b) + cos(a) sin(b)
sin(a - b) = sin(a) cos(b) - cos(a) sin(b)
sin(20) = 2sin(0) cos(0)
cos(20) = cos 2(0) - sin 2(0) = 2cos 2(0) - 1 = 1 - 2sin 2(0)
1
cos 2(0) = [1 + cos(20)]
2
2
sin (0) = �[1- cos(20)]
scc 2(0) = tan 2(0) + 1
csc 2(0) = cot2(0) + 1
335
336 APPENDIX A. FORMULAS AND TECHNIQUES
d�
J J(g(x))g'(x) dx = J(g(x))g'(x) and �
d
J f(u) du= f(u).
J
dx du dx
Since both J(g(x))g'(x) dx and / f(u) du have the same derivative with respect
to x, they are equal (up to the addition of an arbitrary constant).
Trigonometric Integrals
1. J sin°' (x) cosn ( x) dx, n � 1 an odd integer and a any real number.
Factor out cos(x) and convert cosn - 1 (x), with n- 1 even, into sines, employing
cos2 ( x) = 1 - sin2 ( x), to express the integral as
2. J cos°' (x) sinn (x) dx, n � 1 an odd integer and a any real number.
Factor out sin(x) and convert sinn- 1 (x), with n-1 even, into cosines, employing
sin2 ( x) = 1 - cos2 ( x), to express the integral as
7. j tan°' (x) see n (x) dx, n 2". 2 an even integer and a any real number.
Factor out sec2 ( x) and convert secn -2 ( x), n - 2 even, into tangents, employing
sec2 ( x) = tan2 ( x) + 1, to express the integral as
8. j tanm (x) sec°' (x) dx, m 2". 1 an odd integer and a any real number.
Factor out sec(x) tan(x) and convert tanm-l (x), with m - 1 even, into secants,
employing tan2 (x) = sec2 (x) - 1, to express the integral as
9. j tanm ( x) seen ( x) dx, m 2". 0 an even integer and n 2". 1 an odd integer.
Convert tanm(x) into secants employing tan2 (x) = sec2(x) - 1, to obtain an
integral containing a sum of constants times odd powers of sec(x). Then for
any k 2". 3 an odd integer, evaluate
by integration by parts.
338 APPENDIX A. FORMULAS AND TECHNIQUES
Trigonometric Substitution
1. j(a2 - x 2 )� dx, nan odd integer, a> 0 any real number.
Make the substitution x = a tan(t), -� < i < �' and employ the identity
a2 + a2 tan2 (t) = a2 sec 2(t) to obtain
j(a2 + x2)� dx = J an+ l secn+2(t) dt.
x-
b�
2
=
4
y 7f
+ a sin(t), -- -
7f
< -.
< t-
J
2 2
x+
b
2
= ya
/b2
-
4 tan(l),
7f
-- < t < -.
2
7f
2
A.2. INTEGRATION TECHNIQUES 339
Partial Fractions
Partial fractions are required in order to evaluate integrals of rational functions, i.e.,
j ��:� dx, where P and Qare polynomials. First, suppose that deg(P) < deg(Q).
B1 2B Br
---+----+···+- - -
-
ax + b ( ax + b)2 ( ax + b)r '
3. If Q contains the distinct, irreducible, quadratic factor ax2 +bx+ c, then the
partial fraction decomposition of��:� must include the term
Ax+B
ax2 +bx+c'
where A and B are constants, in addition to the terms which correspond to
the other factors of Q. A quadratic ax2 + bx + c is irreducible if its roots are
complex, which occurs if and only if b2 - 4ac < 0.
340 APPENDIX A. FORMULAS AND TECHNIQUES
P(x) P1 (x)
(x)
Q(x) = R + Q(x)'
where Ris a polynomial and deg(Pi) < deg(Q).
1. Write down the augmented matrix (Alf), where I is then x n identity matrix,
and row reduce the augmented matrix in order to transform A into I. The
resulting augmented matrix is then (IIA- 1).
2. Let Mij denote the determinant of the submatrix obtained from A by deleting
the i-th row and j-th column, called the ij-minor of A. Let Aj = (-1)i +j Mij ,
called the ij-cofactor of A. The transpose of the matrix with entries Aj is called
the classical adjoint of A, and denoted by adj(A). Then
adj(A)
A_ 1 =
det(A)'
i.e.'
A_ 1 = 1 ( d -b )
ad- be -c a
Appendix B
Lb La
00 00
Lb
00 00
n
Proof. Without loss of generality, assume O � an � bn for all n 2='. 1. Let S n = I: ak
k=l
n
and t n = I: bk. Since an 2='. 0 and bn 2='. 0, { s n } and { t n } are increasing sequences. In
k=l
addition, 0 � Sn � l n because O � an � bn .
00
2. If�
L-t an diverges, then lim S n
n-+oo
= oo ⇒ n-+(X)
n=l n=l
341
342 APPENDIX B. PROOFS OF SELECTED THEOREMS
Lb
00 00
1. If O < L < oo, then either both Lan and n converge, or they both diverge.
n =l n =l
Lb
00 00
Lb
00 00
Lb
00
a< : < f3 ⇒ abn < an < /3b11 • By the comparison test, if converges,
n
n
n n=l
Lb
00 00 00
Lb Lb
00 00 00 00
2. If L = 0, let E
> 0. Then there exists an integer N such that n � N ⇒
I:: I < E, i.e., -E < :: < E, or -Ebn < an < Ebn. By the comparison test, if
Lb La
00 00
b
3. If L =oo, then nlim � = 0. Thus, there exists an integer N such that n � N
an
I bn I . ->oo bn
⇒ - < E, 1.e., -E < - < E, or -Ean < bn < Ean . By the comparison test, if
an an
Lb
00 00
Proof. Without loss of generality, assume {bn } is decreasing for n � 0. Consider the
sequence { sn} with n = 2k even, i.e.,
2k
S2k I)-l) i bi = b1 - b2 + b3 - b4 + b5 - · · · + b2k-l - b2k
i=O
Since bi - bi+ 1 > 0 for all i � 0, the sequence { s2k} is increasing. In addition,
2k
S2k I)-l) i bi = bi - (b2 - b3) - (b4 - b5) - · · · - (b2k-2 - b2k-1) - b2k
i=O
< b1,
i.e., the sequence { s2k} is bounded above and, hence, it converges. Thus, lim s 2k
k->oo
=s
exists. Next, consider the sequence { sn } with n = 2k + l odd. Then
Thus, for all E > 0, there exists an integer K such that k � K ⇒ ls2k - sl < E: and
ls2k+1 - sl < E:. It follows that lsn - sl < E: for all n � N = 2K + 1, i.e., lim Sn = s.
n->oo
2:) - 1tb
00
Thus, n converges.
n=O
I an+ 1
I
L = n->oo
lim
an
exists. Then:
344 APPENDIX B. PROOFS OF SELECTED THEOREMS
00
00
1. If L < 1, there exists K > 0 such that L < K < 1. Let c = K - L > 0. Then
there exists an integer N such that
It follows that la1I < Klaol, la 2 I < Kla1 I < K2 laol, la3I < Kla2 I < K3 laol, etc.,
00 00
and, in general, lan l < K laol for all n � 1. Since L K laol = laol L K is
n n n
n =O n =O
2. If L > 1, there exists K > 0 such that 1 < K < L. Let E = L- K > 0. Then
there exists an integer N such that
00
L = lim lan l l / n
n---->oo
exists. Then:
00
00
Proof.
1. If L < l, there exists K > 0 such that L < K < 1. Let E = K - L > 0. Then
there exists an integer N such that
⇒ Ian I < K n
⇒ n
n
is a
n=O n=O
00
2. If L > l, there exists K > 0 such that 1 < K < L. Let E = L - K > 0. Then
there exists an integer N such that
00
⇒ la n l > K n
-----+ oo ⇒ n-+oo
lim lan l /: 0 lim an i= 0
⇒ n--400 =} Lan diverges by the
n=O
L = lim (-;) l
/n 1
= , and f ..!_ diverges and L = lim
n=O
(..!..) l
/n
=
1.
n ---->oo n n n-oo n
n=O
346 APPENDIX B. PROOFS OF SELECTED THEOREMS
t (:)x•, lxl
Proof. Since the series converges absolutely for !xi < 1, let
t
k 1
=
(7) +
[
(k+
l)c: 1) +k(:) l x'
(k+l)( : ) +k(:)
k l
a(a :-- 1) •••(a - k+l)(a - k) a(a - 1) ···(a - k+1)
= (k+ 1) +k
(k+1)! k!
_ a(a - 1) •••(a - k+1) a(a - 1) ···(a - k+1) = a
= (a k) k!
+k
k!
0( )
k .
Appendix C
Solutions
347
348 APPENDIX C. SOLUTIONS
J
13. 3y2 y' = 1 ⇒ 3y 2 y' dx = 1 dx ⇒ 3y2 dy = J J J 1 dx ⇒ y
3
= x+c ⇒
y = (x + c) 1
1 3
= �x + c, y(O) = 2 ⇒ c = 8.
2. y
' = 7⇒y 3
y
' = Jx+1 ⇒ ¼Y4 = �(x+1)3 / 2+c 1 ⇒ = y
3 2 1 4
rn(x + 1) / + cJ / _
_ y4 + y = x4 + x3 _ x2 + c.
y
5
5. xy' - ln� )
x
= 0 ::::} yy' = ln�x) ::::} ½Y2 = ½[ln(x)] 2 + C1::::} y = ± ✓[ln(x)] 2 + c,
y(l) = ⇒ c = 9 and y = - ✓[ln(x)] 2 + 9.
-3
= J2 Inlsec(x)l+4_
Y e
y + x-4 y' = 0 ⇒
= ; . The orthogonal
y'
trajectories: y' = �: ⇒4 yy ' = -x ⇒ 2y2 = -½x2 + c1 ⇒ = ±Jc - ¼x2 . y
C.2. CHAPTER 2 SOLUTIONS 349
Exercises 2. 2 - page 18
+ ⇒ ⇒
1. y
' = x X y =1 + '11.X, u = 'Ji.
X
⇒ u + xu' = 1 + u ⇒ u'= X1 u = ln /x/ + c
y
=x(ln /x/ + c) , y(l) = 2 ⇒ c= 2.
2. x '= y2 - x 2 ⇒ '= ;; - �, u = ;; ⇒ u +xu' = u - ⇒ uu'=- ¼ ⇒
yy y
t
½u 2 =- ln/xl +c1 ⇒ u = ±Jc-2 ln/x/ ⇒ = ±xJc-2ln /x/, y(-1) = 2 y
6. y
'=
.
2 x+3y
3 X- 2 y
2
= 3 +32 : ) u = XV.
- X
⇒ u +xu' = 2 + 3u
3 - 2U
⇒ xu'= 32 + 2 u ⇒
- ,._
2
()U
3- 2 �
1 +u
u'= 'J.X ⇒
3tan- 1 (u) - ln(l +u2 ) = 21n/xi + c ⇒ 3tan- 1 (;;) - ln (1 + ;�) =21n/xi+c.
_u_ u' = - 1 ⇒ (1 -1- -1-) u' = - 1 ⇒ 1 ln / u-3/+l ln/ u+21 =-ln /x/+c
2
u - u-6 x 5 u-3
+ 5l u+ 2 x 5 5
⇒ }lnl;;-31 +glnl;; +21 =-ln/xl +c, y(l) = 4 ⇒ c=gln(6).
Exercises 2.3 - page 23
l. y'+y = e-x, I(x) = efldx =ex ⇒ (ex y )'= 1 ⇒ ex y
=x+c ⇒ y
=(x+c)e-x ,
y(O) = -2 ⇒ c = -2.
2. y
' _ 3 =1, J(x) =ef-3dx = e- x3 ⇒ ( e- 3 x y )' = e- x3 ⇒ e-3x = -:}e-3x + C
y y
=?
y = ce x3 - ½-
350 APPENDIX C. SOLUTIONS
y 2xex
2
⇒ ex
2
y = ex
2
+C ⇒
x2
y = l+ ce- .
7. x2y'+xy =- 1- l. -1-
In( x) ::::} y'+ x y = x2 ln( x) ' I(x) = ef ½ dx = e1n( x) = x ⇒ =- 1-
⇒ ⇒
(xy)' x ln (x )
xy = ln I ln(x)I+ c y = �(ln I ln(x)I + c).
= x - ln Ix+ 11 + c ::::}
y
9. f ( X' y) = X - y - 1.
4 4
dy
f(X ' y) = 0 =} Jx + fY ddxy = 0 = - fyfx = - -4y = xy3 .
4x 3 3
=}
dx 3
2. xy + x + 1 + (½x2 + y + 1) :t
= 0, Py = x = Qx ⇒ the equation is exact.
fx = P = xy + x + 1 ⇒ J(x, y) = ½x2 y + ½x2 + x + g(y),
fy = Q ⇒ ½x + g'(y) = ½x + y + 1 ⇒ g'(y) = y + 1 ⇒ g(y) = ½Y 2 + y + c
2 2
k = -1.
C.2. CHAPTER 2 SOLUTIONS 353
u- xy3 ⇒ 2x -3x
5 · y' = 3xx2uy2--2x
2 2
y + y + (3x y - 2x y + x)y' = 0 is exact because
3 2 3 2 3 2 2 2
3 +x y
y
Py = 6xy2 - 6x2 y + 1 = Qx . fx = P = 2xy -3x y + y =} 3 2 2
J(x,y) = x y - x y + xy + c ⇒ x y - x y + xy = k. y( 2) = 1 ⇒ k = -2.
2 3 3 2 2 3 3 2
6. /}x + y + ( 21 + x) �� = 0, P y
=
4)xu
⇒ the equation is exact.
+ 1 = Qx
fx = P = /'}x +y ⇒ f(x,y) = ft;y+xy + g(y), fy = Q ⇒
21 +x
+ g'(y) = 21 +x ⇒ g'(y) = 0 ⇒ g(y) = c ⇒ f(x,y) = ft;y+xy +c
⇒ ft;y + xy = k. y( 1) = 4 ⇒ k = 6.
7. (6xy + eY)y' + xex + 3y2 = 0, Py = 6y = Qx ⇒ the equation is exact.
fx = P = xe + 3y ::::} J(x,y) = xe - e + 3xy + g(y), fy = Q =}
x 2 x x 2
- 0 , Fsy -
- (x2+y2
10 · x2 x2 1 - 2X· + ( x2 Y1P l + 2Y ) ddxy - -2xy - Qx =} the equaf10n
+y + + + + 1) 2 -
+
J(x,y) = ½ ln(x2 + y2 + 1) - x2 + y2 + c ⇒ ½ ln(x2 + y2 + 1) - x2 + y2 = k.
y(O) = 0 ⇒ k = 0.
-(2x+ 2 )(2y-3)
11 · x2 +y22+x2+x-
2
+ l + x2 +y22+y2-x-
3
_ 0' r
<!3J.. -
3y +3 x
Dy -
_
(x +y2 + 2x- 3y +3)2
= Qx =} the
3y +3
-
2
. . p - d
2 x+ 2
equat10n 1s exact. fx - - x2+ 2 +2x-3 +3 + 1
⇒ J(x,y) = ln(x2 + y2 + 2x -2 3y + 3) + x + g(y), fy = Q ⇒
y y
2 y- 3 I _ y- 3 _
x2 +y2 +2x-3y+3 + 9 ( Y ) - x2 +y2 +2x-3y+3 ::::} gI ( Y ) - 0 =} 9 ( Y ) - _ C =}
J(x,y) = ln(x +y + 2x - 3y + 3) + x + c ⇒ ln(x + y + 2x - 3y + 3) + x = k.
2 2 2 2
12. J x2 2 + 1 + ( J 2y 2 + 1) ddxy = 0.
x y x +y
+
354 APPENDIX C. SOLUTIONS
(b) fx = = �P x +y +
1 ⇒ f(x, y) = Jx2 + y2 + x + g(y), fy =
2 2
Q ⇒
+ g'(y) = � x +y2
+ 1 =? g'(y) = 1 =? g(y) = y + C
� 2
14. x + 6y2 + 4xyy' = 0, Py = 12y, Q x = 4y, Py =/= Qx ⇒ the equation is not exact.
Py Q
Q x = 4
8;Y =
� is independent of y ⇒ an integrating factor I(x) exists, and
�(�i = � ⇒ ln II(x)I = 21n lxl ⇒ I(x) = ±x and, with I(x) = x , the equation
2 2
Py Qx =
Q � = 2x is independent of y =} an integrating factor I(x) exists, and
� �i
( = 2x ⇒ ln II(x)I = x =} I(x) = ±e . With I(x) = e , the equation
2 x2 x2
=} f(x, y ) = ¼e
2x2
+ ½ex y2 + g(y ), fy = ex y + g'(y ) = ex =} g(y) = c =}
2 2 2
;(�i = 3; ln II(x)I = ln lxl =} J(1;) = ±x- 1 13. With J(x) = x- 1 13, the
1
=}
equation becomes x213 + x-1 13y2 + 3x213 ' = 0, which is exact. Then
yy
J5 x + J2 x
5 13 21 23
exact. PyQQx = 6;;}�y is not independent of y =} J(x) does not exist. However,
Qx /Y = 8: = � is independent of x =} an integrating factor I( ) exists,
; 4 Y y
y y
y =}
2 3 ¼ 4
g(y ) = ¼Y +c =} f(x, y ) = 2x y + y +c =} 2x y +¼Y = k, or 8x2 +y4 = k1 .
4 2 3 4 3
y(l) = 1 ⇒ k1 = 9.
22. y
+(1+2x+xy)y ' = 0, Py = 1, Q x = 2+ , Py =/ Q x =} the equation is not exact.
y
Qx /Y =
; � = 1 + t is independent of x =} an integrating factor I (y) exists,
356 APPENDIX C. SOLUTIONS
and �(�i = 1 +; ⇒ ln JJ(y)J= y +ln JyJ ⇒ J(y) = ±ye Y . With J(y) =ye Y, the
equation becomes y2 e Y +ye Y (l+2x+xy)y1 = 0, which is exact. Then fx = y2 e Y
⇒ f(x, y) = xy2 e Y + g(y), fy = (xy2 + 2xy)e Y + g1 (y) = ye Y (l + 2x + xy)
⇒ g1 (y) = ye Y ⇒ g(y) = ye Y - e Y + c ⇒ f(x,y) = xy2 e Y + ye Y - e Y + c ⇒
(xy2 + y - l)e Y =k.
2. (a) y =0 ⇒ _!_
y2 y = _!_ ⇒ -y- 1 = -x-l +c::::} y = _
2
1 1 _
x
.
'1/__ -
x2 x2 1-cx
y = 0 ⇒ y = (�) , u =� ⇒ u+ xu = u ⇒ xu =u - u ⇒
2 2 1 2 1 2
(b)
1 1
:t'
;2 -
1 - l_ k __.__ _ 1 __.__ _
y -
x
�- X ----,- U - 1-kx ----,- 1-kx.
=? U = x2 =? U = .!
x +C
::::} y = _x_·.
1 -l
l+cx
y2 ( ) _!_ I = 0 is
y2 ⇒ _!_
Qx-Py
(d) x2
- y = 0,
l ⇒ I'J( yy) = -2
p = -2
yy
⇒ I(y) = _!_ x2 - y2 Y
exact. fx = }2 ⇒ f(x,y) = � + g(y), fy= g (y) = - Y\ ⇒ g(y) =; +c
1 1
k
=} y - x = ⇒ Y = l+kx ·
1 1 x
l+u
u 2
2
-2'c±1._ _ (u+2l+2 _ .! 2 (u+2) 73
l 1 1
u +u+l - (u+l)
2 2 +;1 - 2 (u+l) +;l
2
+ __.!._
J3 ( 73
2 u+ I ) 2 +1 ⇒
2 4 2 4 73
J u u+ = 2 1n [ ( u+2
l 1 1 2 3 1
) +4 ] + v'3
t an -1 1
+ v'3 ) ⇒
�J
+u+l du
2
v1:3U
2 (
.2! ln [(u+.!)
X 2
2
+4 +__1._
v'3 tan
-1 (2.u v'3 ) = -ln !xi+c.
v'3x+__1._
5. 2x - 2e- x - y 2 =
k ⇒ 2+2e- x - 2yy' = 0 ⇒ y' = l+e x . The orthogonal
f
y
trajectories are given by y' = 1 .;/-x ⇒ = 1 �1 x = e��1 ⇒
ln IYI = -ln(ex+1)+C ⇒ Y = ex: 1 •
10. (a) g(y)y'= f(x) => f(x) - g(y)y' = 0 and [f(x)Jv = 0 = [- g(y)] x .
n y)
(b) y+ xln(x)ln(y)y'= 0 => l � y' = x l�(x) => ½[ ln(y)]2 = -lnlln(x)I + c =>
± ✓k-2 lnlln(x)I_
y=e
(c) ln(yy) y' = --=.!._
x ln(x)
=> - 1-
xln( x)
+ ln(yy) y'= 0 is exact. fx = - 1-
x ln( x ) =>
1 Y)
f(x, y)=ln I ln(x)I + g(y), fv = g'(y)= "� => g(y) = ½[ln(y)] + c =>
2
y = u - X = e ke - X.
X
13. (a) y + [(2y2 + l)x - 2y]y' = 0, Qx; y = 2y => �(�i = 2y => I(y) = eY =>
P 2
2
ye Y +[(2y2 +1)x-2y]eY y'=0 is exact. fx=yeY => f(x, y)=xyeY +g(y),
2 2 2
C.2. CHAPTER 2 SOLUTIONS 359
2 2 2
fy = (2y2 + l)xeY + g'(y) = [(2y2 + l)x - 2 y]eY ⇒ g'(y) = -2 yeY ⇒
2
g(y) = -eY + c ⇒ (x y - l)eY = k.
2
⇒ y eY
2
x = eY2 + c ⇒ (xy - l)eY
2
= c.
14. +(3xy+2)y' = 0, Qx; y =; = �(�i ⇒ I(y) = y ⇒ y3+(3xy2+2 y)y' = 0
2 P
(a) y
y x = -y + c ⇒ x y + y = c.
3 2 3 2
' 2
( e2Y u) = 4y3 e2Y ⇒ e2Y u = J y2 • 4ye2Y dy = y2 e2Y - ½e2Y + c (by parts) ⇒
2 2 2 2 2
/4
u = y2 - ½ + c e-2y2 ⇒ x = (y2 - ½ + ce-2y2)1 .
= l-y2y y
' =1 ⇒ =f ✓l - y2
2
17. (a) (y')2 ⇒
±� y
= X +C ⇒ (x + c)2 + y2 =1
⇒ J(x, y, c) = (x + c) 2 + y2 -1 = 0.
(b) y = ±1 are two singular solutions.
(c) f(x, y,c) = (x+c)2 +y2 -l = 0 and fc (x, y,c) = 2(x+c) = 0 ⇒ y2 -1 = 0
⇒ y = ±1.
J J
f[ln(x)] 2 dx = 1 · [ln(x)] 2 dx = x[ln(x)] 2 - 2 ln(x)dx
= x[ln(x)] 2 - 2x ln(x) + J 2dx = x[ln(x)] 2 - 2x ln(x) + 2x ⇒
y = ½x[ln(x)] 2 - x ln(x) + x + c1x + c2 = ½x[ln(x)] 2 - x ln(x) + c3 x + c2.
C.3. CHAPTER 3 SOLUTIONS 361
10. The functions y 1 = x,y2 = ex and y3 = e-x are linearly independent. Suppose
that c 1 x + c2 e + c3 e-x = 0 for all x. Then x = 0 ⇒ c2 + c3 = 0, x = l ⇒
c 1 + c2(e - e-i) = 0,and x = -l ⇒ -ci + c2(e-i - e) = 0. The unique solution
of this system of three equations is ci = c2 = c3 = 0.
362 APPENDIX C. SOLUTIONS
1 1. The functions Y1 =x, y2 =e x and y3 =2x are not linearly independent because
2 · Y1 + 0 · Y2 + (-1) · y3 =0 for all x, with c1=2 -/- 0.
12. If y =
0, then 1 · y = 0 for all x, with c1 = 1 -/- 0. Hence, y is linearly
dependent. If y ¢. 0, then there exists x0 such that y(x0) -/- 0. If cy =0 for all
x, then cy(x0) = 0 ⇒ c=0, i.e.,y is linearly independent. Thus, y is linearly
independent if and only if y ¢. 0.
Exercises 3. 3 - page 7 4
l. y" + 4y' = -5e x . For y" + 4y' = 0, y = e rx ⇒ r2 + 4r = r(r + 4) = 0 ⇒ y1 = 1
and Y2 = e-4x _ YP = Ae x ⇒ y� = Ae x , yi = Ae x , and yi + 4y� = -5e x ⇒
A= -1 ⇒ YP = -ex . The general solution is y =-e x + c 1 + c2 e-4x_
YP, = -2Ae-2x ' yP" = 4Ae-2x ' and yP" -5yP' +6yP = 4e-2x ⇒ A=.!.5 ⇒ yP = l
5
e-2x.
The general solution is y = ½e- 2x + c 1 e 2x + c3 e 3x .
16. y" - y' = 4x3 . For y" - y' = 0, y = erx ⇒r2 - r = r(r - 1) = 0⇒ Y1 = 1 and
y2 = ex . Since 1 is a solution of the homogeneous equation,
YP=x(A+Bx+ Cx2 + Dx3 )=Ax+ Bx2+ Cx3+ Dx4 . Then
Y,p =A+ 2Bx+ 3Cx2 + 4Dx3 ' y"p = 2B + 6Cx+ 12Dx2 ' and yp" - y'p = 4x3 ⇒
(2B - A)+ (6C - 2B)x+ (12D - 3C)x2 - 4Dx3 = 4x3 ⇒A=-24, B = -12,
C = -4 and D = - l⇒ YP = -24x - 12x2 - 4x3 - x4. The general solution is
y = -24x - 12x2 - 4x3 - x4 + c 1 + c2 ex .
17. y" - y = -2x + 4ex + 2 sin(x), y (0) = 0, y'(0) = 9. For y" - y = 0, y = erx
⇒ r2 - 1 = (r - l)(r + 1) = 0 ⇒ y1 = ex and Y2 = e- x . For y" - y = -2x,
Yp 1 =A+Bx⇒A=0 and B = 2 ⇒YP i = 2x. For y " - y = 4ex , Yp2 = Axex
⇒ A = 2 ⇒ Yp2 = 2xex . For y" - y = 2 sin(x), yp3 = A cos(x) + Bsin(x)
⇒ A = 0 and B = -l ⇒ yp3 = - sin(x). Hence, YP = 2x + 2xex - sin(x).
The general solution is y = 2x + 2xex - sin(x) + c1ex + c2 e-x . y(0) = 0 ⇒
c 1 + c2 = 0, and y'(0) = 9 ⇒ 3 + c1 - c2 = 9 ⇒ c1 = 3 and c2 = -3 ⇒
:=�:
y = 2x+ 2xex - sin(x)+ 3ex - 3e- x .
19. y" -4y'+4y = 6xe2x. For y" -4y'+4y = 0, y = erx⇒r2 -4r+4 = (r- 2)2 = 0
e2x xe2x 4x
=} y1 = e and Y2 = xe2x, with W ( x ) = I 2x 2x 2x I = e and
2x .
2e e + 2xe
f(x) = 6xe2x . Then u 1 = J-6x2 dx = -2x3 , u 2 = J 6xdx = 3x2 , and
YP = -2x3 e2x+3x3 e2x = x3 e2x . The general solution is y = x3 e2x+c1e2x+c2 xe2x.
21. y" + 9y = 6 s in( 3x). For y" + 9y = 0, y = erx =} r2 + 9 = 0 =} y1 = cos( 3x) and
. .
y2 = sm( 3x), with W(x) = _ I cos( 3x) sin( 3x) I .
= 3 and J(x) = 6 sm( 3x).
3 s in(3x) 3 cos( 3x)
Then
u1 = - J 2 sin2( 3x) dx = - J l - cos(6x) dx = -x + ¾ sin( 6x),
u2 = J2 sin( 3x) cos( 3x) dx = J sin( 6x) dx = -¼cos(6x), and
YP = [-x + ¼ sin( 6x]) cos( 3x) - ¼ cos( 6x) sin( 3x) = -x cos(3x) + ¼ sin( 3x), or
YP = -x cos( 3x). The general solution isy = -x cos( 3x) +c1 cos(3x) +c2 sin(3x).
I
e- 3x cos( 2x) e- 3x sin( 2x)
I -3e- 3x
cos( 2x) - 2e- 3x .
sm 2x) -3e-
.
3x .
sm ( 2x) + 2e- 3x
cos 2x)
= 2e-6x and
( (
J(x) = l6e-3 x cos( 2x). Then
u1 = -8 J sin( 2x) cos(2x) dx =-4 J sin( 4x) dx = cos( 4x),
u2 = 8 J cos2(2x) dx = 4f l + cos( 4x) dx = 4x + sin( 4x), and
YP = cos( 4x)e- 3 x cos(2x) + [4x + sin( 4x)Je- 3x sin( 2x)
= 4xe- 3x sin(2x) + e-3x cos( 2x), or YP = 4xe-3x sin( 2x).
The general solution is y = 4xe- 3x sin( 2x) + c 1 e- 3x cos( 2x) + c2e-3x sin( 2x).
24. y" - 4y' + l3y = �. cos(3x) For y"- 4y' + l3y = 0 ' y = e =} r - 4r + 13 = 0 =}
rx 2
25. y"- 2y' + y = ex ln( x), x > 0. For y"- 2y' + y = 0, y = erx =}
y
= x-3 ex +c1x-1+c2 x- 3. y(l) = e ⇒ C 1 +c2 = 0 ⇒ y = x-3ex2 +c1(x-1 -x- 3)
2
-½
cos(x), u 2 =
½x cos(x) - x cos(x) dx = ½x cos(x) - x sin(x) - cos(x ), and
2 2
I� _:=:
r2 - 1 = 0 ⇒ r = ±l
I
-½ J
⇒ Y1
x2 sin(x) dx =
=x
= -2x-1 and
YP = -½x x
cos(x) +x- 1 [½x2 cos(x) - sin(x) - cos(x)] = - sin(x) - co� ) The
x .
J
f(x) = 1,�C:). Then U1 = - [ln�)] dx = -½[ln(x)]3 , u 2 = J 11; ) dx = ½[ln(x)] ,
2 1 x 2
1 3 1 3 1
and YP = -½ x- [ln(x)] +½x- [ln(x)] = ½x- [ln(x)] . The general solution for
3
x cos[2ln(x)]
3
x3 sin[2ln(x)]
W )-1 - 3x cos[2ln(x)] - 2x sin[2ln(x)] 3x sin[2ln(x)] + 2x2 cos[2ln(x)] I
( x 2 2 2
= ½ sin[4ln(x)] - 2ln(x),
u2 = 4 J sin[ 2 In (x)]xcos[ 2 In(x)] dx = 2 J sin(u) cos(u) du= J sin(2u) du=-½ cos(2u)
= -½ cos[4ln(x)], and
YP = {½ sin[4ln(x)] - 2ln(x)}x cos[2ln(x)] - ½ cos[4 ln(x)]x sin[2ln(x)]
3 3
2X -2X
J J
J(x) = .4!. · Then ul = .4!. x1 12 dx = l6 x31 2 ' u 2 = _.!.4 x312 dx = -l 10 x
512
' and
YP = /5 x . Since YP is a particular solution of the nonhomogeneous equation for
2
all real x, the general solution for x =/- 0 is y = 1�x2 + c 1 lxl1 / 2 + c 2 lxl-112 .
3. y" -x(y')3 =0 and z(x) = y'(x) ⇒ z' -xz3 = 0 ⇒ z- 3 z' =x ⇒ -½z- 2 = ½x2 +c
⇒ z2 = k �x2 ⇒ z = ✓:�x2 and is real if and only if k = µ2 > 0. Then
x = µsin(t) ⇒ y = ±J .� 1
µ,2-x2 dx = ±f ldt = ±l+c1 = ±sin - µ, +c1. (.=£)
4. y'y" + x =0 and z(x) = y'(x) ⇒ zz' + x = 0 ⇒ ½z2 = -½x2 + c ⇒
z = ±Jk - x2 and is real if and only if k = µ2 > 0. Then x = µsin(t) ⇒
J
y = ±J µ2 - x2 dx = ±µ2 J cos 2(t)dl = ±� J 1 + cos (2t)dl
= ¥ [t+ ½ sin(2t)] +c1 = ¥[t+sin(l) cos(t)] +c1 =
± � [sin - 1 (!) + x7] + c 1.
6. y" + 2y' = 2e-x # and z(x) = y'(x) ⇒ z' +2z = 2e-xy'z, which is a Bernoulli
equation with a=½- Then u = z1l2 ⇒ z = u2 ⇒ z' = 2uu' ⇒
2uu' + 2u2 = 2e- x u ⇒ u' +u = e- x , which is linear, with the integrating factor
I(x) = ex . Then (ex u)' = 1:::} ex u = x+c ⇒ u = (x+c)e-x ⇒ z =(x+c)2e- 2x
⇒ y =J(x +c)2e-2xdx = -½(x+c)2e-2x + f(x +c)e-2xdx
= -½(x +c)2e- 2x - ½(x+c)e- 2x + ½ J e- 2x dx
= -½(x+c)2e- 2x - ½(x+c)e- 2x - ¼e- 2x + k.
9. y" +(2 -6y +12y2) (y')3 = 0 and v(y) = y'(x) ⇒ vv' +(2 - 6y + 12y2 )v3 = 0 . If
v = 0, then y = c. If v -=J 0, then - �� = 2 -6y +12y 2 ⇒ � = 2y-3y2 +4y3 +c1
:::} (2y - 3y2 + 4y3 + c1)y' = 1:::} y2 - y3 +y4 + C1Y = X + C2.
10. y" = (y')2 tan(y) and v(y) = y'(x) ⇒ vv' = v2 tan(y). Ifv = 0, then y = c. If
v -=J 0, then�= tan(y) ⇒ ln lvl = ln I sec(y)l+c1 ⇒ v = ksec(y) ⇒ cos(y)y' = k
372 APPENDIX C. SOLUTIONS
11. yy" =y'(y' -1) ln(y' -1) and v(y) =y'(x) ⇒ yvv' = v(v-l) ln(v-1), with v-/= 0
since ln(-1) is undefined. Then (v-l)f�(v-l) =t ⇒ ln I ln(v -1)1 = ln IYI+ c ⇒
ln(v - 1) =ky ⇒ v = ek + y l:::::} kY'y =l:::::} e kYy' = land k= ±ec ...J. 0
e + l l+ckY r ·
+
Then -¾ ln(l +e- ) =x+k1 :::::} 1+e- y =e (x ki) :::::} -ky =ln[e- k(x ki ) -1]
k y k - k +
+
:::::} y = -¾ ln[e- k(x k1 ) - 1].
12. sin(y)y" + cos(y)(y') 2 = (y')3 and v(y) = y'(x) ⇒ sin(y)vv' + cos(y)v2 = v3.
If v = 0, then y = c. If v -/= 0, then sin(y)v' + cos(y)v = v2, which is a
Bernoulli equation with a = 2. Then u = v- 1 ⇒ v =u- 1 ⇒ v' = -u- 2 u'
⇒ - sin(y)u-2 u1 + cos(y)u-1 = u-2 , or -sin(y)u' + cos(y)u = 1, which is
linear. The standard form is u'-cot(y)u= - csc(y), with the integrating factor
J(y)= e-fcot()d y y =e1n lc sc(
y)I =lcsc(y) , and with I(y) = csc(y), the equation
I
becomes csc(y)u' -csc(y) cot(y)u =- csc2 (y), i.e., [csc(y)u]'= - csc 2 (y). Then
csc(y)u = cot(y)+ k ⇒ u= cos(y)+ ksin(y):::::} v= s )ksin
co (y) *
[cos(y)+ ksin(y)]y'= 1 ⇒ sin(y) - kcos(y)= x + k1 .
(y)
13. y" =2yy' and v(y) = y'(x) ⇒ vv' =2yv. If v =0, then y = c. If v -/= 0,
J
then v' = 2y ⇒ v = y2 + k ⇒ /�k = l⇒ Y2�k dy = x + c1. If k =0, then
_.!.y = x + c1 ⇒ y = X-+1C1 . If k =µ2 > 0, then y =µ tan(t) ⇒
J 2 + 2 dy =
1
y µ
J (u)
lµ dl = lµ = .l tan-1 µ ⇒ y = µtan[µ(x+c1)]. If k = -µ2 < 0,
µ
then J� y -µ
dy =_ 1
2µ J y µ
-1- - _1 dy = 1 (ln I
-
+y µ _
2µ Y- µI -ln IY+µI)= _
1 ln v-µ I =
2µ I +µ
y
2µx
X + C1 :::::} � = k1 e
2 µx
:::::} y(l - k1 e )= µ(k1 e +1) :::::} Y= µ�1__ :;:2t;.
2 µx e
1
14. y" - (y') 2 = 1 and z(x) = y'(x) ⇒ z' - z2 =l⇒ l�1 = 1 ⇒ tan- (z) = x+ c
J
⇒ z =tan(x+ c) ⇒ y = tan(x+ c) dx =ln I sec(x+ c)I + k.
15. v1f+Tl y" = land z(x) = y'(x) ⇒ v'1+z z' =l⇒ �(1 + z)31 2 =x + c ⇒
(1+ z)3 1 2 = �x+ c1 ⇒ z= (�x+ c1) 1 - 1
2 3
18. y" = y'jl - (y' ) 2 and v(y) = y'(x) => vv' = vvT"=v2. If v = 0, then y = c. If
v =/= 0, then ✓iv�v2 = 1 => sin- 1(v) = y+c1 => v = sin(y+c1) => csc(y+c1)y' = 1
=> - ln I csc(y + c,) + cot(y + c1)1 = x +k => csc(y + c1) +cot(y + c1) = k 1 e- . x
=? U = J e ! dx =? Y2 = UY1 = e - x / J ex / dx.
2 x 2
2 2 2 2
1 + .1...
� and Y1 = x - 1 / -x
2
e => u' ( x) = �
�
e - J l+t;, dx = xe 2xe - x -½ ln(x) = x1 / e => 2 x
Jexcos(x) dx
=ex cos(x) +Jex sin(x) dx = ex cos(x) + ex sin(x) -Jex cos(x)
=}Jex cos(x) dx =½ex [cos(x)+sin(x)],
Je-x sin(2x) dx =-e- x sin(2x) +2Je- x cos(2x) dx
= -e-x sin(2x) - 2e-x cos(2x) - 4 Je-x sin(2x)
=} J e- sin(2x) dx =-ge- [sin(2x) + 2cos(2x)],
x x
x sin(2x) dx
Je
= ex sin(2x) - 2Jex cos(2x) dx=ex sin(2x) - 2ex cos(2x) - 4 Jex sin(2x)
=} Je sin(2x) dx = ge [sin(2x) - 2cos(2x)],
x x
=} V = (3 8X - �X + 1x ) e
3
9
2 3 4x
+ C1e-2x +C2 e4x _
-
(b) W(x)=l : �: ::: 1=6e 2x ,u1 = -4f(x2 +l)e6x dx
-2 4
1
=-�(x2 + l)e6x + Jxe6x dx = -�(x2 + l)e6x + ixe6x - Je6x dxi
=-�3 (x2 + l)e6x + �9 xe6x _ _!27 19 ) e6x
_e6x = -�3 x2 + �9 x _ 27
t
u2 =4Jx + 1 dx = 1x + 4x, VP = (- �x + ix - ��) + ( 1x3 +4x)] e4x,
'
2 3 2
C.3. CHAPTER 3 SOLUTIONS 375
9. (a) ax2 y" +bxy' +cy = 0, x> 0, l = ln(x) and y(x) = z(l) ⇒ � = = �1: �1 ;,
�:¾ = �:�(;) + �1(�}). Hence, the Euler equation for y(x) transforms into
2
- .4!. Xd X - x8, U2 -
U1 - J J
-4l X 2dX - - x1 2 ,
2
- 3
J
U2 = -2 xexdx = -2xex +2ex , Yp = x2 + (-2xex +2ex )e-x = x2 -2x+2,
I
1 and Y2 I� ln )
I
(a) For x2y" + xy' = 0, Y 1 = = ln(x). W(x) = t =
¾,
J
J(x) = }2 , U1 = - Ini ) dx = -½[ln(x)]2, u 2 = ¾ dx = ln(x),
x
J
YP = -½[ln(x)] 2 + [ln(x)] 2 = ½[ln(x)] 2 =} y = ½[ln(x)] 2 + c 1 + c2ln(x).
14. 3y'y" = 1.
⇒ y' = C1ex - C2e-x + 2c3e2x , y" = C1ex + C 2e-x + 4c3e2x , y (0) = 6, y'(0) = 0,
378 APPENDIX C. SOLUTIONS
C1 + C2 + C3 =
y " (0) = 0 =} { C1 - C 2 + 2c3 = � } a> c1 = 6, c, = 2, c, = -2, and
C1 + C2 + 4c3 =
y = 6ex
+ 2e- x
- 2e2x .
4. - 5y " + 8y ' - 4y
y "' = 0, y = erx =} P(r) = r3 - 5r2 + 8r - 4 = 0 =}
(r - l)(r2 - 4r + 4) = (r - l)(r - 2)2 = 0 =} y = c1ex + c2e2x + c3 xe2x.
5. - 6y " + 12y' - 8y = 0, y = erx =} P(r) = r3 - 6r2 + 12r - 8 = 0
y '" =}
(r - 2)(r2 - 4r + 4) = (r - 2)3 = 0 =} y = c1e2x + c2 xe2x + C3X2 e2x .
10. y(4) _ 7y "' + 17y" -17y' +6y = 0, y = erx =} P(r) = r4 -7r3 +17r2 -17r+6 =0
=} (r - l)(r - 2) (r - 4r + 3) = (r - 1) (r - 2)(r - 3) = 0
2 2
Since r1 = 1 is a root of both P(r) and P'(r) = 4r3 - 12r2 + 12r - 4, (r - 1)2
is a factor of P(r). Hence, P(r) = (r - 1)2 (r2 - 2r + 1) = (r - 1)4 = 0
x 2 x
=} y= C1e + C2Xe + C3X e + C4 X e .
x 3 x
18. y( -8y '"+26y "-40y '+25y = 0, y = erx ⇒ P(r) = r4 -8r3 +26r2 -40r+25 = 0.
4l
20. x3y '" - 2x2 y" + 3xy ' - 3y= 0. For x > 0, y= xr ⇒
P(r) = r(r - l)(r - 2) - 2r(r - 1) + 3r - 3 = (r - l)[r(r - 2) - 2r + 3] =
(r - 1)2(r - 3) = 0 ⇒ y = c1x + c2x ln lxl + c3 x3, x-/= 0.
21. x3y 111 + xy ' - y = 0. For x > 0, y = xr ⇒ P(r) = r(r - l)(r - 2) + r - 1 = 0 ⇒
(r - l)[r(r - 2) + 1] = (r - 1)3 = 0 ⇒ y = c 1 x + c2x ln lxl + C3X(ln lxl)2, x-/= 0.
22. x3y111 + 8x2y " + 13xy ' - 13y = 0. For x > 0, y = xr ⇒
P(r) = r(r - l)(r - 2) + 8r(r - 1) + 13r - 13 = (r - l)[r(r - 2) + 8r + 13]
= (r - l)(r2 + 6r + 13) = 0 ⇒ r1 = 1 and r2, r2 = - 5 ±F15 = -3 ± 2i ⇒
y = c 1 x + c2 x-3 cos[2 ln(x)] + c3 x-3 sin[2 ln(x)],
y ' = c 1 + (2c3 - 3c2 )x- cos[2 ln(x)] - (2c2 + 3c3 )x- sin[2 ln(x)],
4 4
380 APPENDIX C. SOLUTIONS
ex e-x 0
� 3(x)= e -e-x O =f(x)[-1 - 1]= -2f(x)= -16e2x ,
x
ex e-x f(x)
U1 = -2Je dx = -2ex , U2 = Je3x dx= ½e3x , U3 =Je-x dx=-e-x
x ⇒
Yp = -!e2x ⇒ y =-!e2x + C1ex + C2 e-x + C3 e3x _
2. y"' - 3y" + 2y' =8xe 2x . For y'" - 3y" + 2y' =0, y = erx ⇒
P(r) = r(r - l)(r- 2)= 0 ⇒ Y1 = 1, Y2 =ex and y3 =e2x . With J(x)=8xe2x ,
1 ex e2x
W(x)= 0 ex 2e2x = 2e3x,� 1 (x)= e3x f(x)= 8xe5x ,
0 ex 4e2x
� 2 (x)= -2e2x f(x)=-16xe4x ,� 3(x) = ex f(x)= 8xe3x ,
UJ =4Jxe2x dx = 2xe2x - e2x , U2 = -8Jxex dx=-8xex + 8ex ,
u3 = 4Jx dx = 2x2 ⇒
YP = (2xe2x - e2x ) + (8ex - 8xex )ex + 2x2 e2x = 7e2x - 6xe2X + 2x2 e2x , or
YP = (2x2 - 6x)e2x ⇒ y =(2x2 - 6x)e2x + C1 + c2 ex + c3 e 2x.
3. y'" - 2y" + y' =-2ex cos(x). For y'" - 2y" + y' =0, y =erx ⇒
P(r) =r(r-1)2 = 0 ⇒ Y1 = 1, Y2 = ex and y3 =xex . With J(x)= -2ex cos(x),
1 ex xe x
W(x)= 0 ex ex + xex =e2x ,� 1 (x)=e2x f(x)=-2e3x cos(x),
0 ex 2ex + xex
� 2 (x) =-(1 + x)ex f(x) = 2(1 + x)e2x cos(x),� 3 (x)= ex J(x)=-2e2x cos(x),
u1 =-2Jex cos(x) dx= -2ex cos(x) - 2Jex sin(x) dx
= -2ex cos(x) - 2ex sin(x) + 2Jex cos(x) dx
⇒ -4J ex cos(x) dx = -2ex [cos(x) +sin(x)] ⇒ u1 = -ex [cos(x) + sin(x)],
u2 =2J(1 + x) cos(x) dx = 2(1 + x)sin(x) + 2 cos(x),
u3 =-2Jcos(x) dx= -2sin(x)
⇒ YP= -ex [cos(x) + sin(x)] + [2(1 + x)sin(x) + 2 cos(x)]ex - 2xex sin(x)
= ex [cos(x) + sin(x)] ⇒ y =ex [cos(x) +sin(x)] + c 1 + c2 ex + c3xex .
4. y'" - y" + 2y = l0ex . For y'" - y" + 2y= 0, y = erx ⇒
P(r) = (r + l)(r-2 - 2r + 2) = 0 ⇒ r- 1 = -1 and r = 1 ± i ⇒ Y1 = e-x ,
Y2 = ex cos(x) and Y2 =ex sin(x). With J(x)= l0ex ,
e-x ex cos(x) ex sin(x)
W(x)= -e- e cos(x) - e sin(x) e sin(x) + ex cos(x)
x x x x
5. y"'- y" + y' - y = 4sin(x) + 4cos(x). For y"' - y" + y' - y = 0, y = erx =}
P(r) = (r-l)(r2 + 1) =} y1 = ex , Y2 = cos(x) and y3 = sin(x). With
ex cos(x) sin(x)
J(x) = 4[sin(x) + cos(x)], W(x) = e -sin(x)
x
cos(x) = 2ex ,
e - cos(x) -sin(x)
x
l X ex
Y1 = 1, Y2 = x and y3 = e . With J(x) = 20x , W(x) = 0 1 ex = ex ,
x 3
0 0 ex
�1 (x) = (xe - e )f(x) = 20(x - x )e , � 2 (x) = -e f(x) = -20x e ,
x x 4 3 x x 3 x
11. x3 y111 + 5x2 y" + 2xy' - 2y = �- For x3 y"' + 5x2 y" + 2xy' - 2y = 0, x > 0, y = x
r
x x-1 x-2
J(x) = 2\, W(x) = 1 -x-2 -2x-3 = x[-2x-6] - [4x-5] = -6x- 5,
0 2x- 3 6x- 4
384 APPENDIX C. SOLUTIONS
12. x3 y
111
+2x2 " = 1. For x3
y y
111
+2x2 " = 0, x > 0,
y y = xr =;,- P(r) = r 2 (r-l) = 0 =;,-
1 ln(x) x
Y1 = 1, Y2 = ln(x) and 3 = x. With f(x) = }3
y , W(x) = 0 1. 1 - ;2 ,
xl
0 - x2 0
1
6 1 (x) = f(x)[ln(x)- 1] = ln(:1- , 6 2 (x) = -f(x)[l] = - ;3 ,
1 ln(x) x2
W(x) = 0 1. 2x = �, '6. 1 (x) = f(x)[2xln(x) - x] = 8ln (x) - 4,
xl
0 x2 2
62 (x) (x) =
= - f [ ] -8, 63(x) = f(x)[¼] = ;2,
2x
u1 = J 2x ln(x) - x dx = x2 ln(x) - x2 , u 2 = - J 2x dx = -x2 ,
U3 = J;; dx = ln(x) =} Yv = x ln (x)- x , or YP = x ln(x) =}
2 2 2
y = x2 ln(x) + c1 + c2 ln(x) + c3 x2 .
14. x3 "' + 2x2 y" - 2x ' = x3 cos(x). For x3 "' + 2x2 y" - 2x ' = 0, x > 0, = xr
y y y y y
1 x- 1 x2
f(x) = cos(x), W(x) = 0 -x- 2 2x = -6x- 2 , '6.1(x) = f(x)[3] = 3cos(x),
0 2x- 3 2
i6. 2 (x) = - f(x)[2x] = -2xcos(x), i6. 3 (x) = J(x)[-x- ] = -x- cos(x),
2 2
15. x3y111 + 3x2 y " + 2xy'= 1. For x3 y"' + 3x2 y" + 2xy ' =0, x > 0, y = xr => P(r) =
r(r2 + 1) = 0 => y 1 = 1, Y2 =cos[ln(x)] and y3 =sin[ln(x)]. With f(x) = x\,
1 cos[ln(x)] sin[ln(x)]
W(x) = 0 sin[ln(x)] -¾ ¾
cos[ln(x)] - ...L'
- x
3
0 }2 sin[ln(x)] - }2 cos[ln(x)] - x\ cos[ln(x)] - x\ sin[ln(x)]
{¾
� 1 (x)= f(x) [¾] = ;4, � 2 (x)= -f(x) cos[ln(x)l} = -}4 cos[ln(x)],
� 3 (x) =f(x) {-� sin[ln(x)l} = - }4 sin[ln(x)], u1= ¾ dx= ln(x), J
J J
u2 = - cos[;( )j dx= -sin[ln(x)], U 3 = - sin[l;(x)] dx= cos[ln(x)]
x
16. x3y111 + 3x2y" = x2 sin(x). For x3y111 + 3x2y"= 0, x > 0, y =xr =>
P(r) = r(r2 - 1) =0 => Y1 = 1, Y2 =x and y3 = x-1 . With J(x) =sin?),
1 X X-l
W(x) = 0 1 -x- 2 = 2x-3 , � 1 (x) =f(x)[-2x-1] =-2x- 2 sin(x),
0 0 2x-3
2 1
� 2 (x) =-J(x)[-x- ] = x-3 sin(x), � 3 (x)= f(x)= x- sin(x),
J
u1 = - J xsin(x) dx= xcos(x) -sin(x), u2 = ½ sin(x) dx= -½cos(x),
J
u3 = ½ x2 sin(x) dx =-½x2 cos(x) + xcos(x) dx J
=-½x2 cos(x) + xsin(x) + cos(x) =>
YP =[xcos(x) -sin(x)] - ½x cos(x) + [-½x2 cos(x) + x sin(x) + cos(x)] x-1
=x- 1 cos(x) => y =x- 1 cos(x) + c 1 + c2 x + c3 x-1.
17. y '" - 3y" - y' + 3y = 8e2 x . By Exercise 1, P(r) = (r - l)(r + l)(r - 3)
⇒ (D - l)(D + l)(D - 3)y = 8e2x ⇒ (D - 2)(D - l)(D + l)(D - 3)y =
(D - 2)[8e2x ] = 0 ⇒ y = C 1 e2x + C2 ex + C 3 e-x + C4 e3x ⇒ YP = ae2 x , y� = 2ae2x ,
Y"P = 4ae2x ' yP"' = 8ae2 x ' and yP111 - 3yP" - yP' + 3y = 8e2x => -3a = 8 => a= _§.3
⇒ YP = -ie2x _
18. y
111
- = lOex . By Exercise 4, P(r) = (r + l)(r2 - 2r + 2) =>
y" + 2y
(D+l)(D -2D+2)y = lOex => (D-l)(D+l)(D 2 -2D+2)y = (D-l)[l0ex ] = 0
2
=> y = c1ex + c2 e-x + c3ex cos(x) + C4ex sin(x) => YP = aex , � =yi =yi' = aex ,
y
19. y
1 11
= 20x3 . By Exercise 6, P(r) = r2 (r - 1) => D2 (D - l)y = 20x3 =>
- y"
D D (D - l)y = D 4 [20x3 ] = 0 => D 6 (D - l)y = 0 ⇒
4 2
= [(12a + 12b) + (Sa + 24b)x + 8bx ]e , and y;' - 3y; + 2y� = 8xe2x ⇒
2 2x
[(12a + 12b) + (Sa + 24b)x + 8bx2 ]e2x - 3[(4a + 2b) + (4a + 8b)x + 4bx2 ]e2x+
2[a+(2a+2b)x+2bx2 ]e2x = 8xe2x ⇒ 2a+6b+4bx = 8x ⇒ b = 2 and 2a+6b = 0
⇒ a= -6 ⇒ YP = (2x2 - 6x)e2x .
22. y "' - y " + y ' - y 4sin(x) + 4cos(x). By Exercise 5, P(r) = (r - l)(r2 + 1)
=
⇒ (D - l)(D + l)y = 4sin(x) + 4cos(x) ⇒ (D2 + l)(D - l)(D2 + l)y =
2
23. y111 - 2y" + y' = -2ex cos(x). By Exercise 3, P(r) = r(r - 1)2 ⇒
D(D - l) 2 y= -2ex cos(x) ⇒
(D2 - 2D + 2)D(D - 1)2 y = (D2 - 2D + 2)[-2ex cos(x)] = 0 ⇒
y = c1 + c2 e + C3 Xe + C4e cos(x) + C5e sin(x) ⇒ YP = e [acos(x) + bsin(x)],
x x x x x
24. y( )
4
y" = 2. By Exercise 8, P(r) = r2 (r2 - 1) ⇒ D2 (D2 - l)y = 2 ⇒
-
Y'P = 2ax ' yP" = 2a ' yP"' = yP( ) = 0 ' and yP( ) - yP" = 2 ⇒ -2a = 2 ⇒ a= -l ⇒
4 4
YP = -x .
2
C.4. CHAPTER 4 SOLUTIONS 387
1 e-x e 2x
y2 = e- x and y3 = e2x, and W(x) = 0 -e-x 2e 2x = -6ex . With
0 e-x 4e 2x
J(x) = 12, 6. 1 (x) = J(x)[3e ] = 36e , 6. 2 (x) = - f(x)[2e ] = -24e x,
x x 2x 2
2. x3 y111 + x2 y" = x. For x3 y"' + x 2y" = 0, x > 0, y = xr => P(r) = r(r - 1)2 = 0
1 x x ln(x)
=> Y1 = 1, Y2 = x and y3 = x ln(x), and W(x) = 0 1 ln(x) + 1 1
X
0 0 .!.
With J(x) = :2 , 6.1(.1:) = J(x)[x] = ¾, 6. 2 (x) = - f(x)[ln(x) + l] = - n(;l+ ,
I 1
3. x3 y"'+x2 y" =�-By Exercise 2, W(x) = ¾- f(x) = x� => 6.1(x) = f(x)[x] = x�'
6.2(x) = - J(x)[ln(x) + l] = _4 In(;� +l, 6.3 (x) = J(x)[l] = �,
x
u1 = J ..i..2 dx = - 1x , u2 = -4f In(x3) +l dx = 2x- 2 ln(x)+x-2 +2x- 2 = 2 ln(2x ) +2-
x x 1n x
2-]
x x2 ,
U3 = J ..xi.. dx = _-1_
3 x 2=> yP = _ _'!x + [2 x ) + x x - 2
2
(
2 x
2 [x ln(x)] = _ _lx =>
y = -¾ + c1 + c2 x + c3x ln(x).
388 APPENDIX C. SOLUTIONS
4. Y111 - y " = 20x3 => y " - y ' = 5x4 + C1 => y ' - y = x5 + c1 x + c2 . I(x) = e-x =>
(e-xy )' = (x5 + C 1 X + c2 )e-x => e-xy = J(x5 + C 1 X + c2 )e-x dx
= -(x5 + C1X + c2)e-x +f(5x4 + c1 )e-xdx
= -(x5 + C1 X + c2 )e-x - (5x4 + c1 )e-x +f20x3 e-x dx
= -(x5 + C1 X + c2 )e-x - (5x4 + c1 )e-x - 20x3 e-x +J60x2 e-x dx
= -(x5 + C1 X + c2 )e-x - (5x4 + c1 )e-x - 20x3 e-x - 60x2 e-x +J l20xe-x dx =
-(x5 +c 1 x+c2 )e-x - (5x4 +c 1 )e-x- 20x3 e-x- 60x2 e-x - l20xe-x -12Qe-x +c3
=> y = -(x5 + c1x + c2 ) - (5x4 + c1 ) - 20x3 - 60x2 - 120x - 120 + c3 ex
= -x5 - 5x4 - 20x3 - 60x2 + C5 + c4 x + C3 ex .
5. x4 y ( 4) - 4x3 y"' + 12x2 y" - 24xy' + 24y = x .
4
0 6x 12x2
u1 = -lfx 2
dx = _l.18..x3 ' u2 = l.Jxdx = lx2
' u3 = -lfldx = -lx
i
6 2 4 2 2 '
U4 = ½ J � dx = ln(x) => YP = -;�x + ¼x ln(x), or YP = ¼x4 ln(x) =>
4 4
6. x3y "' - x2 y" + lOxy' = 156x2 sin[3ln(x)]. For x3 y111 - x2 y " + lOxy' = 0, x > 0,
y = x => P(r) = r(r - 4r + 13) = 0 => r 1 = 0 and r = 2 ± 3i => Y 1 = 1,
r 2
1 x2 cos[3ln(x)] x2 sin[3ln(x)]
0 2xcos[3ln(x)] - 3xsin[3ln(x)] 2xsin[3ln(x)] + 3xcos[3ln(x)] = 39x,
0 -7cos[3ln(x)] - 9sin 3ln(x)] 9cos[3ln(x)] - 7sin[3ln(x)]
61 (x) = f (x)[3x 3
] = 468x2
sin[3ln(x)],
6 2 (x) = - J(x){2xsin[3ln(x)] + 3xcos[3ln(x)]}
= -312sin2 [3ln(x)] - 468sin[3ln(x)] cos[3ln(x)]
= -156 + 156cos[6ln(x)] - 234sin[6ln(x)],
6 3 (x) = J(x){2xcos[3ln(x)] - 3xsin[3ln(x)]}
= 312sin[3ln(x)]cos[3ln(x)] - 468sin2 [3ln(x)]
= 156sin[6ln(x)] - 234 + 234cos[6ln(x)],
u1 = 12Jxsin[3ln(x)] dx. x = et => u1 = 12 Je2t sin(3t)dt, and integration by
partsg ivesu1 = i�e2t sin(3l)-i�e2t cos(3t) = i�x2 sin[3ln(x)]-��x2 cos[3ln(x)],
C.4. CHAPTER 4 SOLUTIONS 389
7. Let P(r) = a0 +a1r+a2 r 2 +· · -+an rn , with ai, 0 :s; i :s; n, real. Then P(z) = 0
=> ao + a1z + a2 z 2 + · · · + an zn = 0 => ao + a1z + a2 z 2 + · · · + an zn = 0 =>
a0 + a1z + a2z2 + · · · + an:zn = 0 since ai = ai, 0 :s; i :s; n . Thus, P(z) = 0.
1 X x3
8. No, because W(x) = 0 1 3x2 = 6x = 0 at x = 0 and W(x) =I- 0 for x =/- 0,
0 0 6x
in contradiction of Theorem 4.8.
9. y"' + 3y" + 3y' + y = 2xe- x cos(x). For y"' + 3y" + 3y' + y = 0, y = erx =>
P(r) = (r + 1) 3 = 0 =>Yi= e-x , Y2 = xe-x and y3 = x2 e-x , and
e-x xe-x x2 e-x
W(x) = -e- x
e- - xe-
x x
2xe-x - x2 e-x
e-x -2e-x + xe- x 2e-x - 4xe-x + x2 e-x
1 X x2
= e-3x -1 1 - x 2x - x2
1 x - 2 2 - 4x + x2
= e-3x[(l - x)(2 - 4x + x2 ) - (x - 2)(2x - x2 ) + x(2 - 4x + x2 ) - x 2 (x - 2) +
x(2x - x2 ) - x2(1- x)] = 2e-3x_ With f(x) = 2xe-x cos(x),
� 1 (x) = f(x)[x(2x - x2 ) - x2(1- x)Je-2x = x2 e-2x f(x) = 2x3 e-3x cos(x),
� 2(x) = - f(x)[(2x - x2 ) + x2 Je-2x = -2xe- 2x f(x) = -4x2 e-3x cos(x),
� 3(x) = J(x)[(l - x) + x]e-2x = e- 2x J(x) = 2xe-3x cos(x),
u1 = J x3 cos(x) dx = x3 sin(x) -3 J x2 sin(x) dx
= x3 sin(x) + 3x2 cos(x) -6 J xcos(x) dx
= x3 sin(x) + 3x2 cos(x) - 6xsin(x) -6cos(x),
u2 = -2 J x2 cos(x) dx = -2x2 sin(x) + 4 J x sin(x) dx
= -2x2 sin(x) - 4xcos(x) + 4sin(x),
u3 = J xcos(x) dx = xsin(x) +cos(x) =>
YP = [x3 sin(x) + 3x2 cos(x) - 6x sin(x) -6cos(x)Je-x+
[-2x2 sin(x) - 4xcos(x) + 4sin(x)] xe-x + [xsin(x) +cos(x)]x2 e-x
390 APPENDIX C. SOLUTIONS
10. By Exercise 9, P(r) = (r + 1) 3 . xe-x cos(x) and xe-x sin(x) are solutions of a
fourth-order equation for which the indicial equation has the roots r = -1 ± i
of multiplicity 2 => (r + 1) 2 = -1 => r2 + 2r + 2 = 0 and (r2 + 2r + 2) 2 = 0
is the indicial equation => (D 2 + 2D + 2)2 is the annihilator of xe-x cos(x) of
minimal degree. Hence, (D + l)3y = xe-x cos(x) =>
(D2+2D+2) 2 (D+l) 3 y = (D 2+2D+2)2 [2xe-x cos(x)] = 0 =>y = c 1 e-x cos(x)+
c2 e-x sin(x) + C3Xe-x cos(x) + C4Xe-x sin(x) + cse-x+ c5xe-x+ C7x2 e-x =>
YP =(a+ bx)e-x cos(x) + (c+ dx)e-x sin(x) ,
v; = be-x cos(x) - (a+ bx)e-xcos(x)- (a+ bx)e-xsin(x) + de-x sin(x)
(c+ dx)e-x sin(x)+ (c+ dx)e-x cos(x)
= [(b- a+ c) + (d- b)xJe-xcos(x) + [(d- a - c) - (b+ d)xJe-x sin(x),
v;= (d - b)e-xcos(x)- [(b- a+ c) + (d- b)x]e-xcos(x)-
[(b- a+ c)+ (d - b)x]e-xsin(x) - (b+ d)e-x sin(x)-
[(d- a- c) - (b+ d)xJe-x sin(x)+ [(d - a - c) - (b+ d)xJe-x cos(x)
= [(2d - 2b - 2c) - 2dxJe-x cos(x) + [(2a- 2b- 2d)+ 2bxJe-x sin(x) .
v;' = -2de-x cos(x) - [(2d - 2b- 2c) - 2dx]e-x cos(x)-
[(2d- 2b - 2c) - 2dx]e-x sin(x) + 2be-x sin(x)-
[(2a - 2b - 2d)+ 2bx]e-x sin(x) + [(2a - 2b - 2d)+ 2bxJe-xcos(x)
= [(2a+ 2c- 6d)+ (2b+ 2d)xJe-x cos(x) + [(6b+ 2c- 2a)+ (2d-2b)xJe-x sin(x) ,
and v;'+ 3y;+ 3y; + YP = 2xe-x cos(x) =>
[(2a+ 2c- 6d)+ (2b+ 2d)x]e-xcos(x)+ [(6b+ 2c- 2a)+ (2d-2b)x]e-xsin(x) +
3[(2d - 2b - 2c) - 2dxJe-x cos(x) + 3[(2a - 2b- 2d)+ 2bx]e-xsin(x)+
3[(b - a+ c) + (d - b)x]e-x cos(x) + 3[(d- a - c) - (b+ d)x]e-x sin(x)+
(a+ bx)e-x cos(x) + (c+ dx)e-x sin(x) = 2xe-x cos(x) =>
[-(3b+ c) - dxJe-x cos(x) + [(a- 3d)+ bxJe-xsin(x) = 2xe-x cos(x) => b = 0,
d = -2, a - 3d = 0 =>a = -6, 3b + c = 0 =>c = 0 =>
YP = -6e-x cos(x) - 2xe-x sin(x) =>
y = -6e-x cos(x) - 2xe-x sin(x) + cse-x+ C5Xe-x+ C7X e-x.
2
A; 3 1
2. { ;: : ��; y } ⇒ A= ( -� � ), I � I = (A - l)(A - 2) = O ⇒
A 1 = 1, A2 = 2.
- -
For A1 = 1, ( � � ) ( �)= ( � ) ⇒ b = -2a ⇒ vi = ( !2).
- -
For A2 = 2, ( � � ) ( �) = ( � ) ⇒ b =
-a ⇒ v2 = ( !l ).
x1(l) et ( , x2(l) = e2l ( ! ), x(t)= C1X1(t) + C2X2(l)
!2)
=
1
⇒
x(t) = c1e + c2e , y(i) = -2cie - c2e2L.
l 2l t
6.
{ =X y -
, x = 2, y(O) = 1 ⇒ A = (
y' = 2x + 4y } (O)
X
1
2 4
, x(O) =
1 -1 ) ( 2 ).
1
A 1 = 2, A2 = 3.
I _::-2 A� 41 = (A - 2)(A - 3) = 0 ⇒ A1
392 APPENDIX C. SOLUTIONS
9. { �; : � 2x + 3y ' } ⇒ A = ( -� � � ) ,
z' = -x + y + 2z -1 1 2
u
,\-1 0 0
= (,\ - 1)(,\- 2)(,\ - 3) = 0 ⇒
=�
2 ,\ - 3 0 = = 2, = 3.
0
>-1 1, >-2 ,\3
0 n
1 -1 ,\-2
⇒ a = b and a - b - c = 0 ⇒
0)
ForA1 = 1, ) ) = )
J
v, = ⇒ x1(t) = e' (
C.5. CHAPTER 5 SOLUTIONS 393
-1 0 2 ).+1 0 -2
11. A= ( -2 1 2 ) , 2 ). - 1 -2 = (). - 1) 2 (). + 1) = 0 ⇒ ). 1 = 1,
0 0 1 0 0 .A. -1
394 APPENDIX C. SOLUTIONS
0 -1 l
= >.2 +6>.+ 13 = 0 ⇒ >., >.= -3 ± 2i.
A
13. A = ( ) I I
- .
13 _6 , _ 13 >.+6
-
For >. = -3+ 2 , ( � t/
3
i i 1 2i
) ( � ) = ( � ) ⇒ b = (3 - )a 2i =}
v= ( �
3 2
) i ⇒ z(t) = e-3t [cos(2t)+i sin(2t)]
[( � )+ ( � )] ⇒
2
i
x 1 ( t ) = e _3 t ( cos(2t)
· =e _3
x (t)
3cos(2t)+2sin(2t) ) ' 2
t sin(2t) (
3sin(2l)- 2cos(2t) ) '
x(t) = C1X1(l) + C2X2(t).
14. A = (
2 -2
), I
A -2 2
1 = >. - 2>.+2= 0
2
⇒ >., ->.= 1 ± i..
l O -l >.
i
For>.= 1+ , ( i -
�t
l !i ) ( � )= ( � ) ⇒ a= (l + i)b ⇒
v = ( 1 �i) ⇒ z(t) = et [cos(t) + isin(t)] i
[ ( � ) + ( �) ⇒
]
x1 (t) =e
t ( cos(t)-sin(t)
()
cos t
()
) , x2 t =e
t ( sin(l)+cos(l)
.
sm (·l) ),
C.5. CHAPTER 5 SOLUTIONS 395
( 0 0 1 ) ,\ 0 -1
17. A = 0 1 0 , 0 ,\-1 0
-1 2 0 1 -2 ,\
396 APPENDIX C. SOLUTIONS
0 0 0 1 ,\ 0 0 -1
0 1 -1 0 0 ,\ - 1 1 0
lB. A = (
0 l 1 0 ) ' _ 0 -1 ,\ - 1 0
(
r( n
1 0 0 i d 0
cos(t) sin(t)
(a)
X1(t)= ( � ) ,x2(i)= ( �
).
- sin(t) cos(t)
l+ i -1 0
O O
r ( D u) J
ForA2 = l+i,
(
� � �
l
�
)
: = ( �) ⇒ a=d=0,b=ic
n
1 0 0 l+ i d 0
0 0
sin(l) cos(l)
X3(l) = e ( co (l) ) ' X4(t) = e ( sin(t) ) '
l - l
�
Q
cos(t) sin(t) 0 0
0 0 -e l sin(t) e l cos(t)
X(t) = ( )
0 0 e l cos(t) e t sin(t) ·
- sin(t) cos(t) 0 0
19. { t:;
m1 = 2.
+ 3Y }
=> A= ( � { ), I A� l
>,
-=_\ I = (>- - 1) 2
= 0 => A1 = 1,
z' = 3y - z
x
22. { ;: : ! +-2i - z } ⇒A= ( i -� -� ) ,
O 3 -1
=i j D ( n 0)
>.- 3 1 0
-1 >. - 2 1 = (>.- 1)2 (>.- 2) = 0 ⇒ >.1 = 2, = 1, = 2.
0 -3 >. + 1
D
>-2 m2
n
=> x 1 (t) = e" ( D
FoTA, = 1, (
=! =i O ) 0 )
= e'
= => b = 2a , c = 3 a
U -i =D O ) U )
(�)
(
=>
>-+2 -1 0
1 >- 0
0 0 >-+1
u) u) n
-2 0 1) >- + 2 0 -1
27. A = ( 1 -1 0 , -1 >- + 1 0
-1 0 0 1 0 >-
m1 = 3.
!),
=> a
n
=> x 1 (t) = e-' ( x,(t) = c'(tuo +u,), u0 = v,, (A - A,I)u, = Uo =>
(] � D O) = ( =>
a
= =
C I
=>
u,
= (
D =>
( 1 1 0 1) A - 1 -1 0 -1
-1 1 -1 0 1 A-1 1 0
29· A=
0 0 1 1 ' 0 0 A - 1 -1
0 0 -1 1 0 0 1 .A.-1
402 APPENDIX C. SOLUTIONS
_ O 4 _ _ 4cos(2t) 4
( -1 0 ) , (l)- (-2sin(2t)) ' I ,\1 -,\ , _ ->-2 +4- 0⇒,\,>--±2i,
2. A- f
_ - _ ·
J X(l)- 1 f(t) dl = ( it ) ,
x(l) = ( -2 sin(2t) 2c�s (2t) ) [( c 1 ) +( 0
-cos(2l) - sm(2t) c2 2i )]
= ( -2c 1 sin(2t) + 2c2 cos(2l) + 4tcos(2t) )
-c 1 cos (2t) - c2 sin(2l) - 2l s in(2i)
404 APPENDIX C. SOLUTIONS
_ (t + 3)et
- ( 2(t + l)e 2t
) .
6. A = ( �
-
�), f(t) = ( i ), Xo = ( �), I :
1
; I = A'+ 1 = 0 c>
I I -(
-
_ -2 _
7. A - ( 4
-1
6)
, f(·t) _
- e -4 t ( 12 ) , x0
_
-
o ),
( 1
). + 2 1
_4 ). + 6 - >. + 4)2
( � ), l
1 2 -1
X(s J-' f(s) ds = ( ; ) = ( X (0)- 1 xo = ( ; _ � ) ( � )
t t
= 0 ),
O 2e- l - 2
l. y" - 2y' + y = 0.
c ) A
( = ( _ � � ), I ; ,\ -=_\ I = ( ,\ - 1 )2 = 0 =? ,\ 1 = 1, v1 = (�)
⇒ x1(t) = e t ( � ) , x 2(t) = e l(tuo + u1 ), uo = vi, (A - A1I ) u1 = uo
I -- e
I
t
Y ( t) Y 2()l l
el
1-1
(d) W [ 1Y (t) Y2(]l) = e 2t
and
Y�1 ( ·t) y�(t) - e (t+ l) e l
t
(a) A= ( �
-�
), I
,\
�/ 12 1 = (,\ - 2)(,\ + 2) = 0 ⇒ ,\ 1 = 2,
(�
,\
x(t) = 2y(t) + y'(t) = 2[c1e2t + c2e- 2t] + [ 2c1e2t - 2c2e- 2t] = 4c 1 e2t, as in
part (a).
-7 12
4. x' = Ax, A = (
_4 )
7 .
C.5. CHAPTER 5 SOLUTIONS 407
408 APPENDIX C. SOLUTIONS
lt2 lt3
2 6
t lt2
1 )
t
0 1
=
7 If c1x1(t)+c2x2(t) 0, then t = 0 ⇒ c1a+c2b = 0, and l = 213
.
⇒ c2a-c1b =0
⇒ (er+ c�)b =0 ⇒ C1 = C2 = 0 since b-/- 0.
3. { 1, -21 , 3'
1 _ _! . } = { (- 1:-1}OO
4, .. n=l
1 .!.9' 116'
4. { 1, 4, }
... = { n\} :;=l
1 l 1
5. {1, 3' 9' 27' ... } = { 3�} :;=0
6. {o' 1 - 12' 1 - .3'
00
! 1 - 14' ...} = {1 - 1n} =l
n
oo
2
9. {../2nn++1 l} ={1, /22 v'55' v'Io
10 \/'17
17 ···}
n=O 3 5 7 , 9 '
C.6. CHAPTER 6 SOLUTIONS 409
_ 1 =? bn+l -
11 . bn = an+l + 2nn fOr a11 n > n+ 1
_ 0 and bn-1 - + n- l
- an+2 + 2n+1 f01· n > - an 2'11
for n 2:: 2.
12 · { 3l ' 5'
1 l 1. _ 1 oo _ l oo _ l oo
7' g, · · · } - { 2n+l } n=l - { 2n+3 } n=O - { 2n-l } n=2
14. an = n-\
_ = -n3 ---t -oo =} { an} diverges.
11. an = n
19. an = ;
( ! )n = (-!r, and n-+oo
lim a n does not exist⇒ {an} diverges.
3 -2n-3
25. an = 3n
4n2 +n+l
26. an = 3n -2n-3
2
2n3 +2n-l
3n2 -2n-3
27. an = J2 n4+3n+l
---t 1 =} { an} converges.
3 - 2 - 3
3n2 -2n-3
28. an = J2n5-2n+l ;r72 � �
✓ 2-3'-+;:!s-
---t O =} { an} converges.
n n
3n2 -2n
29. an= J2 n3-n+l
410 APPENDIX C. SOLUTIONS
-+ 1 => { an } converges.
Ji+¾! ✓i="¼
32. an = n- ✓n
2 +n = (n - ✓n
2 + n ) nn++J
v'n2+n
n2 + n
-n
n+Jn2+n
-1
-t
i+Ji+¾
{an } converges.
n3/2+_1_2 _ nl/2
A
Jn3"+l+n 3
33. an = ✓n
3 + 1 - n = ( ✓n3 + 1 - n) M,
n +l+ n
= �
n2
n +l+n
- i+.J,,.+ _1_
n� nl/2
-2 n n . n
34. an -
- (3nn)2 -- ( - 32 ) 1n2 -t 0 by Theorem 6.1 since ( - 32 ) -t O and 1n2 -t 0.
Hence, { an } converges.
-l n
35. an - -- 0 by Theorem 6.2 smce I ( )n 11 -- _
l � 0. Hence, {an }
_ (-lr I
n-
-t
n
converges.
l - -l n .!. - (-l) n - n
36. an = (n ) n n
-t O by Theorem 6.1 since .!.
n
-t O and ( nl) -t O by
Theorem 6.2. Hence, { an } converges.
n)] 2 . = [ln(xX )] 2 . By L'Hopital's rule, lim [ln(xX )]2 = lim [2 ln(x)J¾
37. an = [ln(
n
Let f(x)
X--->00 X--->00 1
2 In(x) [In(nll 2 = 0 by Theorem 6.3.
= lim
X-+00
X
= lim �
X-+00 l
= lim lX
X-+00
= 0=> lim
n-+oo
n
Hence,
{an } converges.
= = = lim 3� = lim 6;
2
39. an n
!. Let f(x) x:. By L'Hopital's rule, lim x:
e e x-+oo e x-+oo e x-+oo e
lim � = 0=> lim n! = 0 by Theorem 6.3. Hence, {an } converges.
x-+oo e n-+oo e
·f l p n
40. p > 0 , q > 0 . an 0 1•f' and on1 y 1 {an/ } - lnn(
-t q/p) -t 0 . Let
· � · �
ln(xIP) - 11m ·
B y L'Hop1ta
A
· l's ru 1 e, 11m
X---+00 X
l/x
X---+00 !l.x P
= X--->00
11m --
P
qxq/p
= 0=>
lim [In(
n
�)]P = 0 by Theorem 6.3. Hence, { an} converges.
n-+oo
=> lim e¥
x-+oo
lim n 1/n = 1 by Theorem 6.3. Hence, {an } converges.
= e0 = 1 => n---+oo
42. an = [ln(n)] 1/ 1 u(n)_ Let f(x) = [ln(x)]1 /ln(x) = elnfxi ln [ln(x)]_ By L'Hopital's
. . I I
. . Tii(xj I l _._
ru 1e, 11m J.n[Inln(x
· )] _
- 11m ---r- x _- 11m r -
1
- 0 _._
_
.....,- 11m e l n [ n(x)l = l .....,-
ln(x)
X-+00 ()
X
X---+00 x x-+oo
n()
X
X---+00
46. an = sn
i �2 ).
vn
0 :S I sinv�n ) I :S v�
2
n
and lim O = lim v�
n
=0
n---+oo
=} lim I si n �
v n
2
) I =0
n---+oo n---+oo
2
by Theorem 6.4 and, hence, lim sin�n ) = 0 by Theorem 6.2. Hence, {an}
n---+oo v
converges.
_
47. an - _ ne e·e·..e ·e·e � . £ . £ ... _e_ . � < £:. . � = .£: for n -
> 4 =}
- 1-2-3-.
n! . (n-l)·n 1-2 3 4 n-1 n - 2 n 2n
3e 3e
0 :S an :S 2n and lim O = lim 2n = 0 ⇒ lim a n = 0 by Theorem 6.4. Hence,
n---+oo n---+oo n---+oo
{ an } converges.
_ (2n)! _ 1 . 1·2·3--·(n-l)·n . (n+l)·(n+2)---2n < l . 1 . 2n _ 1 =} 0 < a < :;:;-1 and
48. a n - 2n n2 n - 2n n·n-n--·n·n n·n·n--·n·n - 2n :;:;- - :;:;- - n-
lim O = lim .n!. =0 ⇒ lim an = 0 by Theorem 6.4. Hence, {a n} converges.
n---+oo n---+oo n---+oo
60. a1 = 1 < 3, and if an < 3, then an+l = 1 + Fn < 1 + v3 < 3 ⇒ an < 3 for all
n 2'. 1, by induction. Hence, {an}�=l is bounded above. a1 = 1 < 1 +JI= a2 ,
and if an < an+l, then Fn < � ⇒ 1 + Fn < l + � ⇒ an+l < an+2
⇒ {an }� =l is increasing for n 2'. 1, by induction. Since {an }� =l is increasing
and bounded- above, it converges by Theorem 6.6. Let L = lim an . Then
n�oo
an+l = 1 + Fn =? L = l+ v'I ⇒ (L - 1) 2 = L ⇒ L 2 - 3L + 1 = 0 =?
L = 3
±-/5_
2
Since an_ >
> l for all n - > 1 and ' hence' L = 3+2Js_
l' L -
l
61. If lim an = L, then an+l = 1- .an
1... ⇒ L =1- -£2 ⇒ L2 -L+ 2 =0⇒ L= ±p
n�oo
is complex, which is impossible since every an is real. Hence, L does not exist,
i. e. , {an} diverges.
62. a1 =2 ⇒ 1 � a1 � 2, and if1 �an � 2, then½ � a� � 1 ⇒ -1 �- a� � -½
=? 1 � 2 - � � !
⇒ 1 � an+1 � 2 ⇒ 1 � an � 2 for all n 2'. 1, by
. < - 1- ⇒ _.1...
> -- 1- ⇒
a
induction. a1 = 2 > �2 = a2 , and an > an+l ⇒ .1..
an an+l an an+l
2 - .1...
an
> 2- - 1
an+!
- ⇒ an+l > an+2 ⇒ an > an+l for all n 2'. 1, by induction.
L ¼, 83 = 1+½+ ¼+ ½, 84 = 1+½+¼+ ½ + /6 •
00
1. 2
1
n, SQ = 1, S1 = 1 +½, 82 = 1 +½+
n=O
L= ¼, 81
00
2. =1, 82 = 1+½, 83 = 1+½+½, 84 = 1+½+½+¼, 85 = 1+½+½+¼+½-
n l
C.6. CHAPTER 6 SOLUTIONS 413
. S
3 . S = 1lffi = 1·lffi 3n-l = 2- .
3
n-+oo n n-+oo 2n+l
7. �
L; _!_
3n L; (.!3 ) n = �
= n� 1--
3
= l6.
n= 2 =2
9. L=l5. 3
00
n
2n
2 -4 n = 5L
00
n=l
C96 r= 9
5l�"._g__
16
= 4;.
L=O 4
00 00
11.
n
n2}8n+3 = nL
=O
( 2n� l - 2 n�3 ), Sn =
(l - ½)+(½- ¼)+· · ·+(2n�l - 2n� 3) =
l - 2 n�3 => L 4n 2 }8n+3
n=O
= E.� S n = 1.
2+ 2+
12. I: 2 ✓nn 3 diverges by then th-term test because lim 2 ✓nn 3 = 2 -=/= 0.
n=l n->oo
I:
00
cos(n)
+cos(n)
. 2c n ) diverges by thenth -term test because hm 2 +sm . 2( n ) -=/= 0.
·
13. sm
•
n=O
2 n - > oo
L=O [1 - (-l)
00
14. n
] diverges by then l /1-term test because lim [1 - (-lt]-=/= 0.
n n->oo
L=l L
00 00
16. n2Jn = ni/ 2
converges because it is a p-series with p = � > 1.
n n=l
I:
00
18. nr�i , r > 0, converges because it is a p-series with p = r + 1 > 1.
n=l
414 APPENDIX C. SOLUTIONS
00
L
00
19. I: nr-l = n/ r, r � 0, diverges because it is a p-series with p = l - r :S 1.
n=l n=l
ft 2x1:_
00
20.
I: 2n1:_ 1
diverges by the integral test because 1
dx = ½ ln(2x-1)/� = oo.
n=l
ft 2xe-x
00
2 2
21. I: 2ne-n converges by the integral test because dx =
n=l
2
- e-x ,� = e-1 < 00.
ft x[ln(x)]P dx =
00
23. I: n(In(n)]P, p> l, converges by the integral test because
n=2
1 �P [ln(x)]
1 P
- l;i = P
� 1 [ln(2)] 1 -P < oo.
= 3 + 136 = f!, ft ft
00
24. (a) s = L
n=l
.;;4 � s2 ;4 dx :S R2 :S ;4 dx ⇒ 2\ :S R2 :S ½-
1, i.e., 1 :S R3 :S 1·
n=l
A :S R3 :S
)n _1 L
00
27. I: diverges by the comparison test because fo-1
> n1\2 and n/12
n=2 n=l
diverges since it is a p-series with p = ½ :S 1.
J_ J_
00
29. I: converges by the comparison test because :S L 2 .;;2 for
n=O
2 3 2 3 2n n
00
n � 2 and I: ;2 converges since it is a p-series with p = 2 > 1.
n=l
C.6. CHAPTER 6 SOLUTIONS 415
and E
n=O
00
31. E
00 2n
e!
n
converges by the comparison test because
2n n
e!
2n+2n
� � = --;n
2 2n
for
I: (�r
n=O
E
00
32. -fo+n diverges by the comparison test because -fo+n > n!n 2
� for n � 1
n=l
E
00
and ¼ diverges since it is a p-series with p = 1 � 1.
n=l
00
00
.jn - -
33. " lm an bn - 1 ' 0 < 1 < 00, and "
- -jn-l 1 -
L.,, n+l · an - n+l rv n -
-
y'n l
vcn - bn -->...
--r 1·--->oo L.,, bn
n=l n n=l
⇒ E an diverges by the limit comparison test.
00
diverges
n=l
·
34. " n3 +2n-l an
OO
n=l n=O
35 " �
OO
- � rv n2 / 3 - 1- - - 1, 0 < 1 < 00, and
b -
.3� 3�
n=l n=l
n l /3
00
36. " 1 . a
� n2/3 Jn(n) n
= 1
n2 /3 Jn(n). Lct bn = 1 1· a
n. Then n.:_,� b: = 1·
. :_, � ln(n ) oo and
n 2
n
n diverges
n=l n=2
ln(n) Let b ln(n) Eb
00 00
l
T hen 1.1m b _ l'1m """""I/2
an - 0 and
37. E ��)- n2 . n n n
n=2 n-+oo n n-+oo n=l
Ea
00
converges⇒ n converges by the limit comparison test.
n=2
Ea
00
39 � [ln(n)] - [ln(n)
an - Let bn - 4/3
1 . Then 1·1m 1·1m [ln(n)] 0 and
3 3
] !!n -
3
n3/2 .
. L., n 'n . -n b -
n=2 v ·,t, n-+oo n n-+oo nI/6
00 00 _
L bn converges ⇒ Lan converges by the limit comparison test.
n=l n=2
. 1· (-l) n
(- ) n
d"1verges by the n th- term test smce n-=-.� _j_ 0
41 . �
� 2+si
l
n(n) 2+sin(n) 1 .
43. f
n=2
�;:-�l�n) converges by the alternating series test since bn = en l� n)
(
> 0, { bn} is
decreasing for n � 2 and lim
n-+oo
bn = 0.
44. f
n=l
(-i� -i
n
diverges since f
n=l
(-�)
n
converges and f ¾ diverges.
n=l
45. f l +(
:;
n
) n
converges since both f ,;2 and f (-�) n
converge (Theorem 6.8).
n=l n=l n=l
(a) L
00
(-l) n -l
_ _ 31 _ 1
36 I R3I <
46. -n- ~
2 - ~S3- 1 - 41 + 91 - , b4 - 16 .
n=l
47. (a) L
OO (-l) n ~ 1 _
l _ 11
I R2 I <b3-_ 21s·
n3+1 ~S2-l-2+9-18'
n=O
00 00
( 1) n+1 00 1) n +1
49. L -
n..fii,
converges absolutely since L I (� I = L
1
n..fii,
converges.
n=l n=l n=l
..fii,
51. I:
n=l
(-�r diverges by the n
n
th
-term test since lim (-n
2
n->oo
r =J. 0.
52. ( l)n ( n)
converges by the alternating series test since bn = [ln�)]2 > 0,
2
I: - �n j
-i t n 2
f
n=2
53 . � (-
� 3
n_
2)n
1 converges abSO1 ute 1y smce
. �
;;:l
I (-2) n
3
n_
1 I-�
-
;;:l 3
2n
n_
1
converges.
54.
00
55. � 2 n +i(n+l)4 diverges by the
3n I n2
ratio test since lim
I I=
an+
i
n->oo an
n=O
3"(n+l) 2 2n +1(n+l)4 _ �
rlffi n +2
n->oo 2 (n+2)4 3n 1 n 2 - 2 > 1.
00
56. converges by the ratio test since lim
3 2 2 l ,
E n
+ � -
n. n----+oo I I=a,,+i
an
n=O
l" (n+l) 3 +2(n+l)2 -l n! _
0 < 1·
n!....� (n+l)! n3 +2n2 -l -
57. I:
(n�l)!
converges by the ratio test since lim
n->oo
I aan+i I =
n
n=O
lim 2(n+l) (n+l)! 0 = <1
n->oo (n+2)! 2n
58.
I: n
n
� ({:)! converges by the ratio test since lim
n-----+oo
I aan
,,
i
+
I=
r r
n=l
= < 1.
[(n+1)!) 2 n 2 (2n)! n2 l
-
n!....� (n+l) (2n+2)! (n!) n !....� (2n+2)(2n+l) - 4
2 2
00
59. � 3_6 _t'-( 3n) converges by the ratio test since n----+oo
lim I a n
:
+1
I=
r
n=l
lim (n+l)! 3-6-9---(3n)
n!
= n+l - l
< 1·
n->oo 3-6-9···(3n)(3n+3) n!....� 3n+3 - 3
> 1.
l" (2n+3)! n!(n+l)! _ l" (2n+3)(2n+2) _
n!....� (n+l)!(n+2)! (2n+l)! - n!....� (n+2)(n+l) - 4
61. I:
�
%�::;/ converges by the ratio test since lim I -
a n +i
¾
I=
l" (n+l)!(n+4)! (2n+3)! _ l" (n+l)(n+4) _ 1
n!....� (2n+5)! n!(n+3)! - n!....� (2n+5)(2n+4) - 4 < l·
418 APPENDIX C. SOLUTIONS
(-n )n
L
00
62. [l n (n)J2n diverges by the root test since lim /an / l f n lim [I n (nn l2 = oo > 1.
= n-+oo
n=2 n-+oo )
;p..
( n n2n
63. u 2n-l) 2
(n2+l)n converges by the root test since lim /an / 1/ n =. lim 2(nn2+l ) = 21 < 1.
n =O n---+oo n---+oo
Ea Ea
00 00
Thus, n converges if and only if n converges for every integer m 2: 1.
n=l n =m
00 00 00
4. '°' = 2 = an converges by the limit comparison test with
6 1+2+;+· +n u -(
'°'
n n+l) u
'°'
n=l n=l n=l
bn = n2 ·
1
S. L
n =l
H4+9':-.-+n2 L
n=l
(n+1)(2n+l)
n=
with bn = ;2•
Ea
00
6. Let be a finite series, i.e., an = 0 for n 2: m, where m 2: 1 is an integer.
n
n=l
m
L L
n
Then Sn = /akl = /akl = Sm for all n 2: m =} lim Sn = lim Sm = Sm=?
k=l k=l n---+oo n---+oo
E E an converges absolutely.
00 00
/an / converges and, hence,
n =l n=l
2. L, Jn+l l J3
y'2 2 y'5
n=O
� (x+2) _
n
(x+2) 2 (x+2) 3 (x+2) 4 (x+2) 5
4. L.., - ( X + 2) + + + 16 + 25 .
n2 4 9
n= l
oo
5. L x2" x2 x4 x6 xs
Jn+l = l + y'2 + J3 + 2 + v15·
n =O
� (x-3)
3n
_ 3 (x- 3) 6 (x-3) 9 (x-3) 12 (x-3) 15
6- L, nfo = (X 3) + v'2 + 3✓3 +
2 8 +
5 v'5 .
n=l
00 00 00
7. L=O 2 n
( x - l)71 + L=O n l (
� x - l)71 = L [2 n
+ n�l ] (x - l )71.
n n n= O
00 00 00
8. a La n (x - a)'1 + (3 Lb n (x - a)'1 = L= (aa n + f3b )(x
n - a)'1.
n=O n =O n O
00 00
9. 3 + 2x - 5x +
2
Lb nx
n
= L= C n X
n
=? Co = 3 + bo, C1 = 2 + b1, C 2 = -5 + b 2,
=O
n n O
00 00
10. 2+(x-3)-(x-3) +
4
L= b (x-3)
n (x-3)1 1
n
>i
= LC ⇒ Co=2+bo, C1 = l+b1,
O n n=O
00
11. LC n
n 2 3 4
X =Co+C1 X+C 2X +C3X +C4 X + C 5 X 5 + · ··= (Co+ C 2X + C 4 X 4 + · · ·)+
2
n =O
00 00
(c1x+ c 3x + C 5 X + ···) =
3 5
I: c 2k x
2k
+ I: C k+1x k+l_
2
2
k =O k=O
12
.
� 2"xn R - 1·lffi
L, n+l ,
n=O
-
n--,oo Cn+1
1· I� I -
� n+2 - 1 1 1 1
- lffi n+l 2n+l - 2. j X j < 2 =? -2 < X < 2. At
n__,oo
00 00
x _ 12,
--
=
(-l) n
L .
n+l converges, and at x
_ 1
2,
1 ·
n+l diverges I _ [
1 1
)
2, 2 . - I: ⇒ - -
n O n=O
420 APPENDIX C. SOLUTIONS
13. E
n=O
nf+1, R = n-+oo
lim /_fn._/ = lim (n+
Cn +1
;l 2 +1 = 1. Ix/< 1 ⇒ -1 < x < l. At
n-+oo n +l
oo ± n
x = ±l, E ( l) converges⇒ I= [-1, 1].
n2 +i
n=O
� vn(x-6) n , R - I'lill
14 · L.J - 1lill
I _fn._I I - · vn (n+ 1 ) 3 + 1 - 1. / - 6/ < 1
x ⇒
n3 +l n-+oo Cn+ n-+oo 3 + 1 v n+ 1
n
e7, -
n=O
oo
-1 < X -6 < 1 ⇒ 5 < X < 7. At X - 5, E yn(-l)n
n3 +l converges, and at x = 7,
n=O
00
E n�l converges ⇒ I = [5, 7].
n=O
15. f (-l2n(+x-l l )
n
)
n
' R = lim l_fn._l
n-+oo en+ !
= lim 2n+3
n-+oo 2n+l
= 1. Ix - 11 <1 ⇒ -1 < X - l < 1
n=O
00
⇒ 0 < x < 2. E 2n�
00 (
At x = 0, l diverges, and at x = 2, E )n
2�� 1 converges ⇒
n=O n=O
1=(0,2].
16. E (x1,�
n=O
)
n
, R = Iim I _fn._ I = lim
n-+oo Cn+J n-+oo
2
;! 1 = 2. / X + lI <2 ⇒ -2 < X +l<2 ⇒
00 00
-3 < x < l. At x = -3, E (-1r diverges, and at x = l, E 1 diverges ⇒
n=O n=O
I= (-3, 1).
17 · �
2n (2x-4)n �
= LJ 4n (x-2) n R = lim I _fn._ I = lim ___±'.'._ n+2 = .!. . /x - 21 < .!.
✓
LJ Jn+l C77 '
n-+oo Cn +J n-+oo Jn+l 4n +J 4 4
n=O n=O yn-r-,
⇒ _.!,
4
< x - 2 < .!.4 ⇒ ?..
4
< x < g4. At x = ?..4' �
D
(-
l)n
Jn+l
converges ' and at x = g4'
n=O
19. �
n=O
(x-3) 2" lim an ! = lim (x-3)
LJ 2n ' n-+oo an n-+cx:> 2 n +I
(x
I I
3)
+
2
2
I
_-2n_2n = lx-31 < 1 if and onl y if
2n +2
-I
/x - 31 < v'2 ⇒ R = v'2. /x - 3/ < v'2 ⇒ -v'2 < x - 3 < v'2 ⇒
00
3- v'2 < x < 3 + v/2. At x = 3 ± v'2, E 1 diverges⇒ 1 = (3 - v'2, 3 + v/2).
n=O
20. E vn-+l
�' n-+oo
n=O
lim I a a i I = lim
n-+oo
n+
n I
J(
x3
"+32
n+l) +l
✓:�: 1 = /x/ 3 < 1 if and only if /xi < 1
1
C. 7. CHAPTER 7 SOLUTIONS 421
00
x = l, E ;
✓n +1
diverges ⇒ I= [-1, 1).
n =O
21. I: 2n
( 3x - 2 ) ,
an
lim I +i I
-->oo an
= lim I
(3x-�)2::2
n-->oo (3x 2)
1 = l3x - 21
2 < 1 if and only if
½ ⇒ R = ½. Ix - � I < ½ ⇒ - ½ < ½⇒
n =O
n
n =O
22.
23.
'\""'
u
2 2n (x-3)n R
nl ' -
_ l'lill I I - 1·
_fn_
c - lill
22n (n+l)! _
I 2n+2 - lill
1· n+l _ ---'-- J _ -00 CX) •
4 - CX) ----r -( , )
n=O · n-+oo n+l n-+oo n. 2 n-+oo
24. u
� (2
(n l)2
n=O .
n)!
X
n
, - 1·1m
R-
n
I 1-
....fn_
-->oo Cn +I
-
1·lill
n
(2n)! [(n+l)!j2
-->oo ( 1. )2 (2n+2)I.
n
·
- 1lill
(n+1)2
-->oo (2n+2 )(2n+l)
n
- 1
- -4 .
=
{2n)!
25. � (2n)! ) ' I I i I
n -- >oo an -->oo (2n+2)!
n
[(n-1)!) 2 (x-1)2n n
1. •f • I I< ⇒ =
n2 lx-ll 2 _ lx-11
<
2
[t
x
n n
⇒ lxl < ½ = R.
00 00
1 . f(x ) = 1)2x = E (-2xr = E (-2r x , I - 2xl
n
<1
n=O =O
n
(�r = I:
00 00
2. J(x) = 2�x = l �;f
2
= 3 I: /n x ,
n
l�I < 1 ⇒ lxl < 2 = R.
n =O n =O
00 00
3 · j'(x) - 1 -
- 3+x
- 1 1 - 1 '\""' ( - x)
3 1+;£ - 3 3 u
n
-
'\""' (-l)n
- U
3n+1
x
X > I -3 I
n
<1 ==? X I I < 3 = R·
3 n=O n=O
4 22 APPENDIX C. SOLUTIONS
4. f(x) = 4�x =
(X)
=� 22l+1X
n+1
, l¼I < 1 lxl < 4 = R.
4
n n
- 6 1 - 6
1 +ie. - 1 '\' (-l) n n
. X) - ⇒ I X I < 3= R ·
(X) (X)
(- x ) ,_x
3 3
2+x 2 1+L 3
2 LJ 2 LJ 2n 1 X ' 2
n =O 2 n=O
L1,._ L-
1� =½I: (-�r +½I: (2;r for lxl < �-
(X) (X)
10. f(x) = 2
2
2 2n
n n =O n=O n =O n=l
-1-
n=l n =l n=l
n n
n
I:=O ;h(-3x t = I:=O c :r
- x2
n
2n
, R = oo.
e - 3x = e - 3e - 3 ( x -l ) e-3
n=O
R= oo.
( 1) 2k +1
=� (-1) 22k+1 2k+1 R = oo.
u (2-k+l)! (2x)
17. f( x) - sin(2x) =�
k k
u (2k+ l)! x '
k=O k=O
C. 7. CHAPTER 7 SOLUTIONS 423
(-l) k ( x. 2k _ (-l}k3 2k
x2k , R·. -
_ oo.
18. J(x) _ _
- cos(3x) - oo
I: (2k)!
k=O
3 ) - L
oo
k=O
( k}!
2
19. J(x) = sin(x) = sin[1r + (x -1r)] = sin(1r) cos(x -1r) + cos(1r) sin(x -1r)
· � (- 1 ) k +1 2k _
-sm(X - 7r) _
- L.., (2k l}! (X - 7r ) + l , R - 00.
+
k=O
20. J(x) = cos(x) = cos[1r + (x -1r)] = cos(1r) cos(x -1r) -sin(1r) sin(x - 1r) =
00 ( ) k +l
- cos(x -1r) = L..,
"\"' ....=]:__(x
(2k}! -1r)2k ' R
· = oo.
k=O
00
22. x�l
= 1+(!-2) = L=O(-lt(x -2r, Ix - 21 < 1, ⇒
00 ( l}
n
ln(x -1) = J -1
x- dx = "\"'
- (x - 2)n l + C X= 2 ⇒ C= 0 ⇒ n
+
L.., n+l 1 ' n=O
ln(x - 1) = f
n=l
(-l�n -i (x
- 2) n, R = 1.
_1 � -x-2 n = � (-l)n
23. l
x
1 _ 1 1
(x-2} - 2 l+x 22
2+ 2 L..,
( 2 ) (
L.., 2n +i X -
2) n ' I -x-2-
-21 < 1, ⇒
n=O n=O
00
J
ln(x)= .!.x dx = L.., (-l} n
l
"\"' 2n+l (n+l} (x -2) + C ' x = 2 ⇒ C = ln(2) ⇒
n+
n=O
ln(x) = f=
n=O
2J;}l: 1 ) (x -2r+ 1 + ln(2), jx -21 < 2 = R.
00 00
24. 1+(L2)2 = L=O [-(x - 2) t = L=O(-lt(x - 2)
2 2n
, jx - 2j < 1, ⇒
00
n n
tan-1 (x - 2) _
- J l+(x-1 ) 2 2
_
dx - L=O (-l}
2 l (x -2)
n+
n
2 _2 ⇒C_
n+l + C, x - -0 ⇒
n
26 . f(x) = x 2
= x2(l+x)-l/3 ' a=_.!.3 ' (ak )= (-1) ,1.4.7
k ... (3k-2} k > l ⇒ x = 2
00
( 2k +l)! x 3k+l
I: 2k(k!)2 , l x l < 1= R.
k=O
2
00 00
32. 1.x = l+( x1-.1 )= � n n ( l)n - l)n+l C
� -
LJ (-l) (x - l) => ln(x) = J .!x dx= LJ n +l (x + '
n=O n=O
x = l => C= 0 => ln(x) = L -=¼-(x - 1r, x = l + (x - 1) => x ln(x) =
OO ( )n I
n=l
[1 + (x - l)][(x - 1) -½(x - 1) 2 + ½(x - 1) 3 - ¼(x - 1) 4 + . . •]=
(x - 1) +½(x - 1) 2 - ¾(x - 1) 3+ ;2 (x - 1) 4 +·· ·,
00
n x ( x)
_1_ =
2-x
1 .
1-( x-l)
= � 2 3
In x =
u (x - l) = 1+ (x - 1) + (x -1) + (x - 1) + . . . => 2-
n =O
[(x-l)+½(x -1) 2-¾(x-1) 3+ 1\(x-1) 4 + • • l[l+(x -l)+(x -1) 2+(x -1) 3+· · ·]
=> T4 (x) = (x - 1) + �(x - 1) + !(x - 1) 3 + g(x - 1) .
2 4
k
L (2k+2)!
00
(-l) (2k)!_ � _
- L..., (-1) bk i· s alternat·mg, I Rk I < bk+l - (sk+9) 210k+11[(k+l)!]2,
k
(Sk+l)210k+l(k !) 2
k=O k=O
k = 0 ⇒ IRol < b1 =
g.�10 = 92\6 � 0.000108 < 0.001 ⇒
J
1
2
0 ✓i�xs dx � so = ½ = 0.5, with the required accuracy.
lim ( 9
3 = 9.
x-+O ( J-6x
1 2 +.. )
1
4·
40. I 1P < _e
(x)I - •- l n+l ' x = l ⇒ 0 < z < l ⇒ 0 < e z < e l /3 < e ⇒
(n+l)! lx - -3 - -
IRn (½) I
Ln 3
< 3 n+l(n+l)! ::; 0.0001 if 3n+1 (n + 1)! � lOOOOe � 27,182.8, and n = 4
⇒ 3n+l (n + 1)! = 35 5! = 29,160 > 27,182.8 ⇒ ffe � 1 + ½ + }g + 6-17 + 24\ 1 �
1.395576. The value by calculator is 1.395612, with an absolute difference of
0.000036 < 0.0001.
L
-;/xn and x = 1� ⇒ ln(0.9) = L n�b n · f(n+l)(z) =
(X) (X)
'°"'
00
44. eix = L.J .ln!.(ix)n = L.J (_ '°"'
00
l (ix)2 k +
_
2 k)!
'°"'
00
_1 - i 2 k+1 =
L.J ( 2k+l)! ( x)
n=O k=O k=O
� (-l) k 2 k � i(-l) k 2 k+l _
L.J ( 2 k)! X + L.J ( 2k+l)!x - cos(X) + ism · · (X ) .
k=O k=O
4 5. (a) If ab� 0, then ab= labl =lallbl. If ab< 0, then ab= -labl < labl= lalJbl.
Hence, ab :s; lalJbl.
(b) (a+b)2= a 2 +2ab+b 2 :s; a 2 +21allbJ +b2= lal2 +2lallbl +Jbl2 =(Jal +lbl)2
==? J(a + b) :s; J(lal + lbl) ==? la + bl :s; lal + lbl.
2 2
E la x E Jb x
00 00
(c) Since n
n
l converges for lxJ < R 1 and n
n
l converges for
n=O n =O
L=O l(a
00
l(an +bn)xn l= lan xn +bn xn l :s; lan xn l+lbn xn l by part (b), n +bn )x l
n
n
converges for Ix! < min{R1, Rd by the comparison test. Hence,
R � min{R1, R2 }-
2. f(x) =x2 + 1 for -1 :s; x< 2 and f(x + 3) = f(x) for all x. Since f has period
3, f(5) = f(-1) = 2, J(7) = f(l) =2, J(-4) =J(-1) = 2, J(783) =f(0) =1
and J(-291) = J(0)= 1.
00
3. Multiplyf(x) = T+I°:: [an cos( nzx ) + bn sin( nlx )] by sin( mzx ),wherem� 1
n =l
is any integer, integrate from - L to L and reverse the order of summation and
integration to obtain J:
L f(x) sin( z ) dx= T L sin( z ) dx
m x m x
J:
+ f1 [an J:L cos( n x
l ) sin( z ) dx + bn
m x
J:L sin( l ) sin( mzx ) dx].
n x
The first integral on the right is L sin( mzx ) dx=J: cos( mzx ) l�L = 0. -::7r
Employing the trigonometric identity cos(a) sin(b) = ½ [sin(a + b) - sin(a - b)]
with a= n1rLx and b = mL1rx ' we obtain
J_�L sin ( n
l )
x
sin ( mz x
) dx = {
½ f!:L cos [ (n-7) 1rx] - cos [ (n+7) 1rx] } dx = 0.
If n = m 2'. 1, then, employing the trigonometric identity sin 2 (a) = ½ [1-cos(2a)]
with a = mz , we obtain f!:L sin 2 ( z ) dx = ½ f!:L [1 - cos (2�7rX )] dx
x m x
2 2 m1r L '
l [x - 2-__ sin ( 2 m 1rx)] I L = L. Thus b m = l.L J-LL f(x) sin (mL1r ) dx m > 1.
-L
x
' -
4. f(x) = { �: -� �:: � } and J(x + 4) = f(x) for all x. T = 4, L = 2,
an t
= ½ 2 f(x) COS ( ; ) dx = ½ }� COS ( ; ) dx = nln sin ( ; ) I� = 0, n
2n x n x n x
2'. 1,
dx = _....!... (-l) l.
cos (nn2 ) 1 0 = [l-n
n
a = l r 1dx = 1 b n = l r sin ( The
2 2 nn ) 2
' n7r 7r
x x
0 2 Jo 2 Jo
f
2
n=l
5.
J(x) = {0 0<x<l
x'. 1 � x < 2
} and f(x + 2) = J(x) for all x. T = 2, L = 1,
an =
f02 f(x) cos(mrx)dx = t xcos(mrx)dx = : sin(mrx)I� -
2 _ 1 -l n _ 3,
- n21r2 cos ( n1rx)1 1 - -n(21r 2) , n 2'. 1, ao -J1 x dx -
. (n1rx)dx _
1 J 2 sin _ x2 1 2 -
1r
1 2
nn 1 2 1 2
bn = Ji2 x sin(mrx)dx = -: cos(n1rx)I� + �
n 1 cos(n1rx) dx = -,;1r + n� cos(n1r)
2
1r
f
= (-�;- 2
, n 2'. 1. The Fourier series of J is
¾+ fi [ 1
�t;) cos(n1rx) + (-�;- sin(n1rx)] .
n 2
n=l
:
11
7. f(x) = � for O < x ::; 1 and J(x + 1) = J(x) for all x. f is not piecewise
continuous because lim J(x) = oo. The discontinuity at O is not a finite jump.
x->0+
0, -1 < X <0 }
8. f(x) = { and f(x + 2) = f(x) for all x.
-x, 0�x<1
(a) T = 2, L = 1, a n
=
f01 -x cos(n1rx) dx = - :
1
sin(n1rx)I�+ n � 0 sin(n1rx)dx f
-½,
1r
f 1
bn = 0 -x sin(mrx)dx = nx1r cos(mrx)I� - n� 0 cos(mrx) dx = ( ��f 1 n
. The
Fourier series off is -¼+ fi [
1 ���;) n n
cos(mrx) + (�� sin(mrx)].
-2 -I 0 2 3 4 5
-I
2
n1r 0f
2 2
f
x sin(mrx)dx = n 2�2 x cos(mrx)I� - n 221r2 0 cos(mrx)dx = n2�2 ,
n?: 1,ao = f0 x2dx = ; =
2 3
1� i,
bn = f0 x2 sin(mrx)dx =
2
2 2
--f-,x f sin(n1rx)dx = _--1..
n 1r Jc0 ntr
+ n}1r3 cos(n1rx)l 0 = _ --1.. > 1. The Fourier
n1r , n -
I:
00
series off is;+ [n 2 �2 cos(n1rx)- n� sin(n1rx)].
n=l
(b) The graph off is displayed in F igure C.2.
(c) At x = 3,the series converges to f(3) =f(l) =1.
At x = 8,as at x = 0, the series converges to ½ f
[ (0+) + f(0-)] = 2.
At x = -10, as at x = 0,the series converges to ½ J[ (0+) + f(0-)] = 2.
10. f(x) = x3 for -1 :S .r, < 1 and J(x + 2) = J(x) for all x. T = 2, L = 1, and f
is odd. Hence,its Fourier series is a sine series,with bn = 2 f0 x3 sin(n1rx) dx =
1
- ;1rx3 cos(n1rx) I�+ n� f0 x2 cos(n1rx) dx = - 2 (��) + n 261r2 x2 sin(n1rx)
1 n
I� -
f x sin(n1rx)dx = - 2(- f cos(n1rx)dx = - (-l)"
1 n 1 1 2
n 21r2 Jo l) +_Q_
n 3 7r3 x cos(n1rx) 0 - _Q_1
n 3 1r3 Jo n1r
_Q_ n1r
C.8. CHAPTER 8 SOLUTIONS 429
+ 12nC3-V7'.
n
� [ 1 2n(;n1
The Fourier series off is the sine series 0 .
t- 2 l) n ]
(-
nn
sin(mrx).
n=l
y
4
-4 -2 0 2 4 6 X
-1 -2 < X < 0
11. f(x) = { } and J(x + 4) = J(x) for all x.
1: 0�x<2
y
I
-4 -3 -2 -I 0 2 3 4 5 6 X
--------, - I
(b) T = 4, L = 2 and f is odd. Hence, its Fourier series is a sine series, with
n
r 2 sin (n1rx) dx = _.1_ cos (n1rx) 1 = .1..[1--
bn = Jo ( l) ] ' n -
> l.2
f
2 mr 2 O mr
12. J(x) = x2 for -1 � x < l and J(x + 2) = J(x) for all x. T = 2, L = 1 and J is
even. Hence, its Fourier series is a cosine series, with an= 2 x 2 cos(mrx) dx = Jd
2 2
n4 1r x sin(mrx) I� -
1
;, ] x sin(mrx) dx = n2� 2 x cos(mrx) n2�2
1 cos(mrx)
dx = I� - f0
l
n 0
�;�(, n 2: 1, ao = 2 0 x dx =
1 2
f
The Fourier series of J is the cosine series
l
3 +I: n2
oo 4(-l)n
1r
2
(
cosmrx).
n=l
430 APPENDIX C. SOLUTIONS
1-x2 0SXS 1
13 . f(x) = { _ _ 2 < < } and f(x+ 2) = f(x) for all x.
1 (x 2) , 1 x 2
-4 -3 -2 -1 0 2 3 4 5 6 X
1
n� fo X sin( mrx) dx = - n2�2x cos(mrx)I�+ n2�2 fo
cos(mrx) dx = - 4�;�r,
1
n=l
x since f is continuous everywhere and J' is piecewise continuous.
L L = 72 -
OO 4( )n 1 OO ( )n 1 2
(c) x = 0 ⇒ 1 = f(O) = � + ⇒
n=l n=l
�;1r2- -�2 -
14. (a) The area under y = J(x) for -1 S x S 2 is the same as the area under
y = f(x) for 5 S x S 8.
(b) The area under y = J( x) for -1 S x S O is the same as the area under
y = J(x) for 2 s s
x 3, and the interval O S x S 2 is common to both
t
integrals: J� 1 f(x) dx = 1 J(x) dx+ 0 f(x) dx =
2
J
f
3
J
2 f(x) dx + 0 J(x) dx = f0 J(x) dx.
2 3
15. For any real number a, employ the T-periodicity of f and make the change
of variable y = x + T to obtain J: J(x) dx = J; f(x) dx + J0°+T J(x) dx =
+r
J:+ J(y-T) dy+ J0° T J(x) dx = J:+ J(y) dy+ J;' T f(x) dx = J:+r J(x) dx+
+ +
T T
J0°+T J(x) dx = ft J(x) dx. It follows that J0o T J(x) dx = fo J(x) dx =
+ r
{ - cos( x), - x O
16. f(x) = o7f <s < } and f(x + 21r) = J(x) for all x. T = 21r,
COS( X), _ X < 1f
L = 1r and f is odd since J(-x) = -f(x). Hence, the Fourier series off is a sine
series, with bn = ¾ J;
cos(x) sin(nx) dx = ¼ f0 sin[(l + n)x] - sin[(l-n)x] dx 1r
C.8. CHAPTER 8 SOLUTIONS 431
n= l
an= f0 cos(mrx)dx + J/ 2cos(mrx)dx= 0, n � 1,
1
.
4. The Founer senes of f(x)=
. {2 ' 0<x<1r
- - } is
0
1r<x_< 27r
00 '
a2o + I: [ ancos(nx) + bnsin(nx)], ao = ¾ f0 J(x)dx= ¾ J01r 2 dx= 2,
2 1r
ft
n=l
1r
an = ¼ J(x) cos(nx)dx = ¾ J0 2cos(nx) dx = n� sin(nx)I: = 0, n � 1,
2 1r
J J
bn = ; 0 J(x) sin(nx)dx= ¾ 0 2 sin(nx) dx = - n': cos(nx) I: =
1r
2
[
n7r
l (-1ri, n � 1. The Fourier series is 1 +
- 2 1- l)n
[ �� ] sin(nx). f:
n= l
00
5. The Fourier series of f(x)= x on [2,4] is a2o + I: [ancos(n1rx) + bnsin(n1rx)],
n= l
ao = f2 xdx= ; I�= 6, f2 xcos(n1rx)dx=
4 x 4
an=
�xsin(n1rx)I� - ;1r f2 sin(n1rx)dx = n2�2 cos(n1rx)j� = 0, n � 1,
4
n
f4
bn = 2 xsin(n1rx) dx= -n\xcos(n1rx) I� + n1 2 cos(n1rx) dx= 1r
f4
n1r + �
4
- ..1... n 1r sin(n1rx) 1 2 = ..1...
- , n-
n1r
> 1. The Fourier series is 3 - L...J
� ..1...
n1r
sin(n1rx).
n=l
x2 sin( n1rx) 6 2 6( n
-;.,� -i + n3:3 x cos( n1rx)
n}1r2
3
n li1 cos (n1rx ) x =
.
n > 1. The Founer senes 1s
6 2 6(-l) n l 1 2(-l) n . .
00
d +-
33 n1r n-3 -,
J; {
1r 3 1r -
2 4( l) n
10 + cos( n1rx) + [ 2 6(-;.,J -l + 1 2�;1rl)3 ] sin( n1rx) .
n n 1
n;1r2
}
. 0 '.S X < 1 .
• senes
8 . The sme of f· ( x ) = { } s � bn sm
X
, .
( -2- ) ,
n1rx
O, 1 :S x '.S 2
1
n�
bn = r l X sin ( n1rx ) dx = - _1_ X cos ( n1rx ) I 1 + _1_ r cos ( n1rx ) dx
l
Jo 2 mr 2
O
n1r Jo 2
= - _1_ ) + -
n21r-2 sin ( 2 ) 0 = _1_
4 - n1r cos ( n1r2 ) + -4 >
1
1 ( n1r )
cos ( n1r n21r-2 sin 2 ' n- 1 .
00
n1rx
n1r 2
The sine series is I: [ n2�2 sin ( n21r ) - n21r cos ( �1r )] sin ( n;x ).
n=l
2 _ x, 1 ;; x '.S 2 1
bn =
2
f ) dx = f xsin ( n;x ) dx + Ji2(2 - x) sin ( n;x ) dx
1
=
I: I: -
0 f(x) sin (
n x
;
0
2
- n1r X COS ( n x
; )
1
f
+ n� 0 COS ( n;x ) dx- :1r (2 - X) COS ( n;x )
2
n1r
Ji2 cos ( ; ) dx
n x
=- 2 cos ( nr)
n1r
+ n2�2 sin ( n x
; ) 1: + ;
1r
cos ( n21r ) -
2
4 · n1rx
Sln ( -2-)
4 · n1r = 4 · n1r _ 8 · n 1r
2 1r2 Sln ( 2 ) + n2 1r2 Sln ( 2) - n2 1r2 Sln ( 2) , n 2: 1.
1
n2 1r2 l n
00
The sine series is I: n281r2 sin ( n;) sin ( n;x ).
n=l
(a)
00 = Jro2 x2 sin ( ) dx = _ _1_7rx2 cos ( 1r )
2
+
u bn sin ( 1r2 ) , bn
n x n1rx n x
.._..... 2 2 1O
1: -
n=l
n
;1r f0 xcos (
2 n x
; ) dx = -:1r cos(n1r) + }1r2 xsin n x
( ; )
8 2
n2 1r2 f0 sin ( ; ) dx = -:1r (-1r + n½:3 cos ( ; ) =
n x n x
1:
n + 16 cos(n1r)- __!_§_ = _§_(-l)n-l + _J&_ [(-l)n-1] , n?. 1.
- _§_(-l)
n1r n3 ,r3
00 {
n3 ,r3 n1r n3 ,r3
The sine series is L :1r (-1r-1 + n��3 [(-lr- 1]} sin ( n;x ).
n=l
C.8. CHAPTER 8 SOLUTIONS 433
y
4
-6 -4 -2 0 2 4 6 8 10 X
-4
(c) The series converges to f(x) on [O, 2). At x = 2, the series converges to
0 =/= f(2).
(d) At x � 3, the series converges to ](3) = f(-1) = -f(l) = -f(l) = -1
since f is 4-periodic and odd.
At x = 8, the series converges to ](8) = ](O) = f(O) = 0 since f is 4-
periodic.
At x = -10, by 4-periodicity, the series converges to
½ [l(-10+) + i(-10-)] = ½ [!(2+) + ! (2-)] = ½(-4 + 4) = o.
L an cos ( n�x ).
00
11. The cosine series of J on [O, 6] has the form�+
n=l
ao = 2 J�½ 1 dx + 2 JI 2dx = 3, a
2
n = 2 Ji cos(mrx)dx + 2 JI 2 cos(mrx)d
2
x =
L an cos(mrx),
00
3
13. The cosine series of J(x) = x on [O, 1] is�+
n=l
J;
ao = 2 J0 x 3 dx = ½, an = 2 x3 cos(mrx)dx =
1
I� -
1
:1r ]0 x2 sin(mrx) dx = n261r2 x2 cos(mrx) I� -
�;�r -
2 3
sin(mrx)
I�
n x
J;
1r
6(-lr 12 cos(n1rx) 11 _
_ 7""4" 6(-l) n 12 [1- (-1)n], n -
+ nn >
_ 2_2 - nn
nn - - 2--
nn 7""4" l.
fi { �;-�r +
O 2
14. The cosine series of J(x) = sin(x) on [0,3] is T +La n cos (n;x ),
n=l
3
3
_ .! cos[(l+ n3")x] cos[(1- nt)x]
1 {cos(3+n1r) -l cos(3-n1r)-l }-
1
3
{ l+- n,r + 1--n,r }-
- - -��-3+ n 1r
+-���3- n 1r
3 3
0 0
_ {(-l)n cos(3)-l
+ (-l) 3-cos(1r3)-l} = [l _ (-l)n cos(3)] (- 1- + __)
n
1 =
3+ n 1r n 3+ 1r 3- 1r n n
y
4
-6 -4 -2 0 2 4 6 8 JO X
(b) The Fourier series of f converges to (x) for all x because J J is continuous
everywhere and ]' is piecewise continuous.
- 00
(c) Since f is even, the Fourier series off is the cosine series T+La n cos ( n ;x ),
n=l
2
a0 = r
Jo
2
x dx
2 = x 1
3 2
3 O
= §3' an = r x cos
Jo
2 2
(
n 1rx
2
) dx = ..2. x2 sin ( n21rx ) 1 -
n 1r
O
16(-l)n '
2
__i_ r x sin
n 1r Jo
z
(n ) dx
1rx
2
= __ s
n27r2 x cos (
n 1rx
2
) _ r2 cos
1 0 - _s
n27r2 Jo (
n 1rx
2
)dx = n27r2
n 2 1. The cosine series is f + ;� I: (
n=l
-,,T cos ( . n
; )
x
C.8. CHAPTER 8 SOLUTIONS 435
y
I
-6 -5 -4 -3 -2 -I 0 2 3 4 5 6 X
-1
00
(b) The sine series off is � b n sin ( ; ), bn
n x
= f02 J(x) sin ( n x
; ) dx =
n=l
1
f0 X sin ( ; ) dx + Ji2 sin ( ; ) dx = - �! cos ( n; )
n x n x
4-
x
-
I: + ;1r
2 cos(mr) + 2 cos (n1r)
1
f0 cos ( n; ) dx - x
+-
2 1
2 cos n1rx
( 2 )
1 = _..1_ cos n1r
( 2 ) n 1r
sin ( 2 )
n1rx
1
2
1
( -1 r, n � 1.
2 2
n 1r n1r
0
n 1r n 1r
= n2�2 sin ( n;r) - ,;1r The sine series is
fi [ �
n2 2
sin ( nt) - 2
(��) ]
n
sin ( n;x ). The series converges to f (x) on [O, 2).
2 sin
n 1r
(n1r
2 )
+-
n 1r
4-
cos (
2 2
n1rx
2 )
1
1
- 2 sin
n1r
n1r
( 2 )
= -24-
n 1r2
[cos 1r
( 2 )
n - 1] >
n>
-
1.
0
436 APPENDIX C. SOLUTIONS
L ) - 1] cos ( n;
00
The cosine series is ¾ + �
n2 2
[cos ( n21r x
), and converges to
n=l
f(x) for all x in [0, 2].
-6 -5 -4 -3 -2 -1 0 2 3 4 5 6 X
Figure C.8: The graph of the even, 4-periodic extension J off to IR.
1 x
17.f(x)={ ' �:S; <� ·
0' 2::Sx:S;1r }
Lb !
00
(a) The sine series of J is n sin(nx), bn = J01r: J(x) sin(nx) dx=
n=l
L :1r:
00
The sine series is [1 - cos ( nr)] sin(nx), and converges to f(x) on
t
n=l
(0, 1r] except at
La
00
(b) The cosine series off is af + n cos(nx), a o = ¾ J01r:f(x) dx=
n=l
¾ fo� 1 dx= l, an = ¾ J01r: f(x) cos(nx) dx= ¾ fo� cos(nx) dx = :1r: sin(nx) 1:
; 1r), n 2". 1. L �)
00
= 1r sin ( n2 The cosine series is ½ + � sin ( 1r cos(nx), and
n
n=l
converges to f(x) on [O, 1r] except at �.
L [a
00
(c) The Fourier series off is�+ n cos(2nx) + bn sin(2nx)],
n=l
ao = ½ J0 J(x) dx =!Ji 1 dx = l, an ½ J0 f(x) cos(2nx) dx=
1r
= 1r
2k+l
k
_
-
4.
1r
-3 -2 -I 0 2 3 4 5 6 X
(b) Since f is even and 3-periodic, the Fourier series of f on [3, 6] is the same ·
1� +
n=l
with ao = i f0 g(x) dx = i ]0 xdx + i Ji2 dx + i ]2 (3 - x) dx = ½x2
3 1 3
i f0 g(x) cos ( ; ) dx =
3
ix[�+ (2x - ½x ) I�=!, a
2 =
n x
J:
n
2 n x
)
i fol X cos ( ; dx + i f1 COS ( ; ) dx + i (3 - X) cos ( ; ) dx =
n x n x
..2.:r;
n 1r
sin (
n 1rx
3 ) 1
1
O
- ..2.
1m
J/ sin
O
n
( 1r
3 )
x
dx+ ..2.
mr
sin ( 3 ) 1
n1rx
2
1
+..2.1r (3-x) sin
n
( 3 ) 1
n1rx
3
2
+
..2.1r sin
n
n1r
( 3 ) - ..2. sin (
n 1r
2n1r - -6-
3 ) n 1r
2 2
cos (
n1rx
3
) 1
3
=- 6-
n 1r 2 2 cos (
n
3 )
1r -- 6- -
n2 1r2
2
438 APPENDIX C. SOLUTIONS
6
cos(mr) + n267r2 cos (2�71" ) = n267r2 [cos
n2 7r2 e;n
- 1 - cos(mr) + cos (2�71" )]
c�n
= n2 1r2 {[1 + (-lt] [cos (�1r ) -1] }, n 2:: 1, employing
6
cos + cos (2�71" ) = cos ( n37r) + cos ( - 2�71" ) = cos (7�71" ) + cos ( �71" - n1r) =
cos ( n31r) + cos ( n31r ) cos(n1r). Since a2k+l = 0 for k 2:: 0, the cosine series,
l
00
with n = 2k, k 2:: 1, is�+ ;2 L 2 [cos (2;1r ) - 1] cos ( 2k;x ). Note that,
k=l
since f has period 3 (as well as period 6), if we had taken the cosine series
L Cn cos (2� t the exact same result would have
~ 00
off as � + 7rX
), with L =
n=l
been obtained.
(c) The series converges to ](x) for all x since j is continuous everywhere and
]' is piecewise continuous.
2. (a) F(x) = f(x) at x = 0 and at x = L if J(0) = f(L).
(b) S(x) = f(x) at x = 0 if J(0) = 0; S(x) = f(x) at x = L if f(L) = 0.
(c) C(x) = f(x) at x = 0 and at x = L regardless of the values f(0) and f(L).
n=l
bm fo sin2 ( m;x ) dx = ½bm =} bm = fo f(x) sin ( mzx ) dx.
L L
f
00
(d) If J(x) =
+Lan cos ( nlx ), then, for any integer m 2:: 0,
ao
2
n =l
oo
L
Lan fo cos ( nlx ) cos ( m;x ) dx = ½am =}
n =l
L
i
am = fo f(x) cos ( mzx ) dx.
4. Sincef and g are continuous andf' and g' are piecewise continuous, the Fourier
series off and g converge to J(x) and g(x), respectively, for all x, by Theorem
8.1. Since the two series are equal, f(x) = g(x) for all x. It follows, that
t t
an = J.!:L J(x)cos ( nlx ) dx = J_!:L g(x)cos ( nlx ) dx = Cn , n 2:: 0, and
L ( n1rx ) dx = .!. JL g(x) sin ( n1rx ) dx = d n > 1
L J-L f(x) sin
bn = .!. L L -L · L n, - .
I: bn sin ( n;x ),
00
5. (a) The fundamental period off is 6. The sine series off is
n=l
with bn = � f0 3
[2 sin ( 1r3x ) - 3 sin ( 4 x
; ) + 4 sin x
(5; )] sin ( ; ) dx, n 2:: 1.
n x
C.9. CHAPTER 9 SOLUTIONS 439
E 3(-ltx
00
1 - 2x + 3x 2 - 3x3 + 3x4 - · · · = 1 - 2x + n
.
n=2
Ea
00
3. (a) nx
n
= a2 x2 + a3x3 + a4x4 + asx5 + · · ·.
n=2
La L=2 a La
00 00 00
(b) nx
n
= m+2 X
m+2
m+2 X
m+2
=
n=2 m+2 m=O
a2 + a3 + a4x4
x 2
x 3
+ asx5 + · · ·.
00 00
(C) La
1n=O
m+ 2 x
m +2
= La
n=O
n+2 x
n
+2 = a2x2 + a3 x3 + a4 X4 + a5x5 + · · · .
I: an xn = I:
00 00
= I: an+2 xn+2 = a2 x2 +a3 x3 +a4 x4 +a5x5 +· · ·.
00
(d) a n+2 xn+2
n=2 n+ 2=2 n=O
440 APPENDIX C. SOLUTIONS
L na x Lax+ =0
00
L na x
00
Lax
00 00
4. n
n
+ n
n 2
=} 0 + a1x + n
n
+ n
n+ 2
= 0 =}
n=0 n=0 n=2 n=0
ao is arbitrary.
5. y" + xy' + 2y = 0.
L n(n - l)a x - L na x + L 2a x = 0
00 00 00
=} n
n 2
+ n
n
n
n
=}
n=0 n=0 n=0
6. (1 + x2)y" - 4xy' + 6y = 0.
(1 + x 2 ) L n(n - l)anxn - 2 - 4x L na x -l + 6 E a x
00 00 00
n
n
n
n
=0 =}
n=0 n=0 n=0
C.9. CHAPTER 9 SOLUTIONS 441
L
00
[(n + 2)(n + l)an+2 + n(n - l)an - 4nan + 6an] xn = 0 =}
n=O
n ]x
n
= 0 =}
n =O
independent solutions.
(c) y(0) = -3 ⇒ ao = -3 and y'(0) = 1 ⇒ a 1 = 1. Hence,
y = -3(1 - 3x2) + (x - ½x3) = -3 + x + 9x2 - ½x3 .
nx
n 2
- + nx
n
= 0 =} (n + 2)(n + l)an+ 2 + (n - 2)an =0
n =2 n =O
⇒ an+2 = - ( n� ��a.;2 ), n 2:: 0. n = 0 ⇒ a2 = ¥.'# = ao, n = 2 ⇒ a4 = 0, n = 4
⇒ a6 = 0, etc. ence, a2 k = 0 for k 2:: 2. n = 1 ⇒ a3 = ;.� = �t, n = 3 ⇒
�
_ 5 ___,_ 3a _ _ 7 ⇒ a _ -5a7 _ -3-5a1 _ g
-�
a5 _ 4- 5 - 5! , n -
_ .=Qcl
----,,,- a7 _
- -6-7s - 3a1
7! , n - 9 - 8-9 - 9! , n -
___,_ _- 7ag _3-5-7a1 · genera1 , a2k+l _
----,,,- au - 10_11 - (1 l)! , etc., and , m -
(-l)k+l.1. 3.5.7...(2 k-3) a1 _ (-l)k+L.1-3 -5-7---(2k- 3) a 1 2-4-6---(2k-2) _ (-l)k+1(2k-2)! a 1
(2k+l)! - (2k+l)! 2-4-6···(2k-2) - (2k+l)!2 k -1(k-l)!'
k 2:: 1. The general solution is y = a0 y 1 + a 1 y2, where y1 = 1 + x2 and
(-l)k+1(2k-2)!
_
Y2 - x +
oo
L
(2k+l)!2k-1(k-l)!x
2k+l . ·
are two lmearly mdependent solutions. ·
k=l
La L=O na
00 00
8. (2 + x2 )y" + 2xy' - 2y = 0. y = n
n x , y' = nx
n
-l,
n=O n
L n(n - l)a
00
y" = nx - , (2 + x2 )y" + 2xy' - 2y
n 2
= 0::::}
n=O
nx
n 2
- + nX
n
n=O n=O n=O n =O
L 2n(n - l)an x L (n
00 00
n 2
- + 2
+ n - 2)an x n
= 0 =}
n =O n=O
2(n + 2)(n + l)an+2 + (n + 2)(n - l)an = 0 ::::} an+2 = -;(:)i)n, n 2:: 0.
n = 1 ⇒ a3 = 0 ⇒ a5 = 0, etc., and a2k+l = 0 for k 2:: 1.
- 0 ___,_
----,,,- a2 - - 4 ⇒ a6 -
n - - 2 ___,_ - -=!!c2. - -2.5
Qll - .=Q11 3a1
- 2. , n - ----,,,- a4 - 2_3 - 22. 3 , n -
442 APPENDIX C. SOLUTIONS
9. y" + exy = 0.
(a) Y = ao + a1x + a2 x 2 + a3 x3 + a4 X4 + a5 x5 + · · ·, y' = a1 + 2a2 x + 3a3 x 2 +
4a4 x3 + 5a5x4 + · · ·, y" = 2a2 + 6a3 x + 12a4x 2 + 2Oa5x 3 + • • •,
ex = l + x + l2 x 2 + l6 x3 +. _!._
24
x4 + -
12 0 x +
1 5 ...
e y = ao + (ao + a1)x + (½ao + a1 + a2 ) x + ( ¾ao + ½a 1 + a2 + a3 ) x 3 + • • • ,
x 2
⇒ Y2 = x - -x 1
6
3
- -x
1
12
4
- -x1
60
5 + ...
n
n 2
- n
n
- n
n
+ n
n
n =0 n =0 n n=0
I: n(n - l)anx - + L [v(v + 1) - n(n + 1)] anx = 0
00 00
n 2 n
=}
n=0 n=0
n =0
---'- _ n(n+l)-v(v+l) an , n _
----r an+2 - > O.
(n+l)(n+2 )
(b) If v = m � 0 is an integer, then the recursion relation becomes
an+2 _
n(n+l)-v(v+l) _ n(n+l)-m(m+l)
- (n+l)(n+2) an - (n+l)(n+2 ) an , n > - 0'
and n = m ⇒ am+2 = 0, n = m + 2 ⇒ am+4 = 0, n = m + 4 ⇒ am+6 = 0,
etc., which shows that one of the series solutions truncates at amxm . If m
is even, then y 1 = ao + a2x2 + · · · + amxm is a polynomial, and if m is odd,
then Y2 = a1x + a3 x3 + · · · + amxm is a polynomial.
(c) If m = 0, then P0(x) = a0, and P0 (1) = 1 :::::} a0 = l. Hence, P0(x) = l.
If m = 1, then Pi(x) = a1x, and P1(1) = 1 ⇒ a1 = l. Hence, P1(x) = x.
If m = 2, then P2 (x) = a0 + a 2x 2, with a 2 given by the recursion relation
with n = 0 : a2 = -;_�;}ao = -3ao :::::} A(x) = ao - 3aox2 = ao (1 - 3x 2).
Then A (1) = 1 ⇒ -2a0 = 1 :::::} a0 = -½ :::::}
P2 (x) = -½
+ !x2 = ½ (3x2 - 1).
If m = 3, then P3(x) = a1x + a3 x3 , with a3 given by the recursion relation
�t
with n = l: a3 = 1· 22 4 a1 - -ia1 :::::} P3 (x) = a1 (x - ix3 ). Then
A(l) = 1 :::::} a1 = -! :::::}
A(x) = ½ (5x3 - 3x).
C.9. CHAPTER 9 SOLUTIONS 443
n7f 0 n n ' 0 n
n 2'. 1, bn = f0\x 2 - x + 2) sin(mrx) dx = - n� (x 2 - x + 2) cos (mrx) I� +
n� J0 (2x-1) cos(mrx) dx = - n1f + n2� 2 (2x-1) sin(mrx)I�-)7f2 J0 sin(mrx) dx
2 2 2
=
, 1 2
1 -l
�3' an = .!.2 f-1 (x 2 - 2x) cos(n'lf2 x)dx = ...L(x - 2x) sin( " )
-1 -
3 3 1
n,r
2 n x
2
4 n - 4
...L f (2x - 2) sin( "x) dx - ,r2 - l) cos( "2 ) -1 - n-
n2-(x 2 ,r2 f-1 cos (�) dx =
3 3
n,r -1
n x 3
= 1
2 2
_ (n ") >
n2 2 cos 2 ' n - 1 , b n = .!.2 f-1(x - 2x) sin
_!_§ (n'lf2 x)dx =
3 2
3
n,r
2 3
n x
1
y = n x n x
COS (
n=l
a 64cos(!!f) bn -6si 4 n(!!f)
Cn = _4 n2n rr2 1 n- 2,r 2),d n = 4_ n2rr2 = n2 ,r2 (16- n2 2 ) ·
= n2 ,r2(6 ,r
4 4
n=l
1
bn = 2 JO (x - x 2) s in(mrx) dx = -; (x - x 2) cos(mrx)I� +
;" JO1 (1 - 2x) cos (mrx) dx = 1r2 (1" - 2x) sin(mrx) I� + n2�2 J; sin(mrx) dx
i
1 4(1-(-l)nj , n _
- n3,r4 3 COS( n1rx) 1 O - 3 . ( n1rX),
00
- 3
n ,r 3 > 1 . y /I
- y = .
J ( X ) L..,
=} y = ,;;:-" dn Sln
n=l
4. f(x) = { �' �
2 x, � � �; }, odd, 4-per i odic. f(x) = 1 bn s in ( ; ),
n x
f,
bn = n2�2 sin ( nr) by Sect ion 8.2, Exercise 9. y" + 3y = f(x) ⇒
� . n,rx b 2 in(¥)
s
Y = L.., d n sin ( -2- ), d n = - ,� rr2 = n2,r2(1 2 - n2 ,r2 ) ·
3
n=l 4 3
444 APPENDIX C. SOLUTIONS
00
5. J(x) = 1 - x on [0, 1], even, 2-periodic. f(x) = � + Lan cos(mrx), a0 = 1
X, 0 � X < 1
6. f( x) = { l } , even, 4_pen.od"1c. J( x) _
- QcO. +�
�
an cos (n1r2 x ) ,
, 1�x�2 2
00
2
f n;-!2,
00
8. f(x) = sin(2nx) on [0, 1], even, 2-periodic. J(x) = � + Lan cos(nnx),
n=l
ao = f1
2 0 sin(2nx) = 0. If n =/= 2, an = f1
2 0 sin(2nx) cos(nnx) dx =
1
Jfo { sm
l
• [( 2 _ n ) nx] }dx -
• [( 2 + n ) nx] + sm
__ { cos[(2 +n)1rx]
( 2 +n)1r + cos[( 2-n)1rx]
( 2 -n)1r } 1
0
+ = If n = 2 Jro sin(2nx) cos(2nx) dx
n
[ 1 -(-l) ] 4 -(-l) n
n
[ 1 -(-l) ] 1
(2 +n) 1r ( 2 -n)7r
[l
1r(4-n2 )
]. = 2' a2
l
· _ a2 _ _
r2
_ -4 (1-(-l) ] n _j_
n
1s arb"t
1 rary, C2 - _4 1r2 - 0 , Cn - 2
an
2 - n 3( 4-n2) ,
-n 1r 2 1r
Index
445
446 INDEX
Taylor
polynomial, 269
remainder formula, 276
series, 259
Telescoping series, 212
Transpose, 340
Triangle inequality, 282
Trigonometric
identities, 335
identity, 285, 426, 427
integrals, 336
series, 283, 286
substitution, 338
Two-parameter family of solutions, 43
Variation of constants, 68
Variation of parameters, 68, 104
for systems, 172