Beruflich Dokumente
Kultur Dokumente
Pichkitti Bannangkoon
1 Introduction 3
1
CONTENTS 2
Introduction
A differential equation is any equation which contains derivatives, either ordinary derivatives
or partial derivatives.
dv d2 u
a= or a= ,
dt dt2
where v is the velocity of the object and u is the position function of the object at time t. So
Newton’s Second Law can now be written as
dv d2 u
F (t, v) = m or F (t, u) = m .
dt dt2
Order:
The order of a differential equation is the “largest” derivative present in the differential equation.
ODE vs PDE:
• A differential equation is called an ordinary differential equation, abbreviated by ODE,
di y
if it has ordinary derivatives in it. (when you see y (i) or i for natural number i)
dt
• Similarly, an equation is called a partial differential equation, abbreviated by PDE, if it
∂2U
has partial derivatives in it. (when you see or Utx for examples)
∂x∂t
Linear vs Nonlinear:
• A linear ordinary differential equation is any differential equation that can be written
in the form
an (t)y (n) (t) + an−1 (t)y (n−1) (t) + . . . + a1 (t)y 0 (t) + a0 (t)y(t) = g(t),
where all ai (t), g(t) are functions of t and y (i) is i-th derivative of y.
3
CHAPTER 1. INTRODUCTION 4
• If an ordinary differential equation can’t be written in the above form then it is called
non-linear or nonlinear.
To consider whether the equation linear or nonlinear, we determine only on y and its deriva-
tives since all ai (t) and g(t) can be any linear or nonlinear funcions. Also, according to the
definitions, if the followings appear in the differential equation, it is nonlinear:
• Products of y and its derivative (for examples: yy 0 , y 0 y (5) ).;
• Either functionpy or its derivative raises to any power other than first power (for exam-
ples: y 2 , (y 0 )4 , y (3) ).;
y
• Nonlinear function of y and its derivative (for examples: sin y, , ey ).
y+2
y 00 − 3y 0 + 5 = 0 2 ODE linear
Example 3 (Spring 2008, Spring 2011, Summer 2010 Midterm Exam I).
For each of the differential equations below, state its order and whether it is linear or nonlinear.
2y 000 + ty 00 − y 0 + et y = 0 3 linear
y = y 2 − y 00 2 nonlinear
y 0 + t2 = y 1 linear
(1 + y 3 )y 00 + ty 0 + y = et 2 nonlinear
Solution:
A solution to a differential equation is any function which satisfies the differential equation.
• Therefore, to check whether the certain function is a solution or not, we simply substi-
tute that function into y.
• If that function satisfies the equation, it is a solution. If not, it is not a solution.
• Differential equation does not necessary have the unique solution.
(y 0 )2 − 5ty = 5t2 + 1 ?
1
(a) y(t) = t2 (b) y(t) = e5t (c) y(t) = −t (d) y(t) = − 5t
(a) −2y 0 +3y = 0 (b) y 00 +y 0 −6y = 0 (c) −y 00 +y 0 +6y = 0 (d) 2y 00 +10y 0 −12y = 0
• Direction field is a tool to study the behavior of the solutions of the 1st order differential
equation
y 0 = f (t, y)
without solving it. To draw the direction field, do the following steps:
1. Draw ty-lane.
2. For each point (t0 , y0 ), evaluate the value of f (t0 , y0 ) = y 0 |t=t0 ,y=y0 .
3. Draw a short line at (t0 , y0 ) representing the slope of line tangent to the solution passing
(t0 , y0 ).
4. Repeat steps 2. and 3. with other points on the plane.
• Curves passing through the arrows are called integral curves.
• Direction field and integral curves is used to find information about the long term behavior
of the solution ( lim y(t)) without knowing solution of the differential equation.
t→∞
Next let’s consider the automous equation, in which its direction filed is easier to be drawn since
f is free from independent variable t.
Example 7. Find the equilibrium solution(s), draw the direction field and determine the
behavior of y as t → ∞.
1. y 0 = 3 − 2y
2. y 0 = 1 + 2y
Solution
1. For y 0 = 3 − 2y, the equilibrium solution is y such that y 0 = 3 − 2y = 0 ⇒ y = 23 .
CHAPTER 1. INTRODUCTION 8
3
All solutions appear to converge to the equilibrium solution y(t) = 2 as t → ∞. In other
3
words, lim y(t) = .
t→∞ 2
2. For y 0 = 1 + 2y, set y 0 = 0 ⇒ 1 + 2y = 0 ⇒ y = − 12 . So y = − 21 is the
equilibrium solution.
In this case, all solutions diverge away from the equilibrium solution y(t) = − 21 as
t → ∞. So lim y(t) does not exist.
t→∞
CHAPTER 1. INTRODUCTION 9
Exercises 1
1. Classify the following equations as linear or non-linear, and state their order
d2 y dy
(a) t + t2 + t3 y = cos t
dt2 dt
d3 y dy
(b) t 3 + t2 + t3 y = cos y
dt dt
dy 2y − 3
(c) =
dx 2x + 2
2. Which of the following is TRUE?
t
(a) y 0 = is a first order linear differential equation
y
(b) sin t y 00 + (1 − t2 )y 0 + cos t y = 0 is a second order linear differential equation
(c) y 00 + (y 0 )3 + y = 0 is a nonlinear differential equation of order 3
(d) y 00 + y 0 + y = t is a second order homogeneous differential equation
∂y
(e) + ty = 0 is an ordinary differential equation
∂t
3. Which of the following is a linear second order differential equation?
(a) y 0 + ty = 1
(b) y 00 = t2 y + et
(c) (y 0 )2 = (y + 2)(y − 3)
(d) y 00 + 3y 0 + 2y = sin y
4. Show that the functions y1 (t) = t2 , y2 (t) = t−2 are solutions of the differential equation
t2 y 00 + ty 0 − 4y = 0
5. Classify the following differential equations as linear or non-linear and state their order.
d2 y dy
(a) ln(t) 2
+ 3et − y sin t = 0
dt dt
(b) 2y 0 − y 2 = et
(c) y 000 + (t2 − 1)y + cos t = 0
(d) y 00 − sin(t + y)y 0 + (t2 + 1)y = 0
1
6. Are the functions y1 (t) = t3 and y2 (t) = solutions to the differential equation
t
t2 y 00 − ty 0 − 3y = 0?
7. Consider the equation (t − 1)y 00 − ty 0 + y = 0. Verify that the functions y1 (t) = t and
y2 (t) = et are its solutions.
8. Give an example of the following:
i) A first order, nonlinear, autonomous, ordinary differential equation.
ii) A second order, linear, homogeneous, ordinary differential equation.
CHAPTER 1. INTRODUCTION 10
(a) y 0 = y 2
(b) y 0 = t
(c) y 0 = y 2 + t
(d) y 0 = y 2 − t
10. Determine the differential equation whose direction field is give below.
(a) y 0 = y − x
(b) y 0 = x + y
(c) y 0 = y(y − 2)
(d) y 0 = x(x − 2)
CHAPTER 1. INTRODUCTION 11
11. Which of the following is a second order, linear, homogeneous differential equation?
(a) y 00 + y 2 = 0
(b) y 00 + y 0 + 2y = t ln y
(c) ty 00 + y = 0
(d) (y 0 )2 − t2 y = 1
12. For each of the differential equations below, state its order and whether it is linear or
nonlinear.
(a) y 0 + t2 y = et
(b) 2y 00 + 3y 0 − y = te−t
(c) ty 0 = y(y + 1)(y − 1)
(d) y 000 − 2y 0 + ty − y 2 = 0
13. Identify each of the following equations as linear or non-linear and also determine their order.
dy
(a) y =t
dt
d2 y dy
(b) ( 2 )3 + ( )3 + y 3 = t3
dt dt
dy d2 y
(c) sin t + t5 y = (1 − t2 ) 2
dt dt
3
d y
(d) (1 + y) sin2 t + ( 3 + y) cos2 t = 1
dt
14. All of the equations below have y(t) = 5e6t as a particular solution, EXCEPT
(a) y 00 − 12y 0 + 36y = 0
(b) y 00 − 5y 0 − 6y = 0
(c) y 00 + 4y 0 − 12y = 0
(d) y 00 − 36y = 0
Answers
1. a) second order and linear, b) third order and non-linear, c) first order and linear
2. b)
3. b)
4. -
5. a) second order and linear, b) first order and non-linear, c) third order and linear, d) second
order and non-linear
6. yes
7. -
8. There are infinitely many correct answers for each part. A few examples are given.
a) e.g., y 0 = y 2 or y 0 = ey , b) e.g., y 00 = 0 or y 00 + y 0 + y = 0 9. c)
10. a)
11. c)
12. a) first order and linear, b) second order and linear, c) first order and non-linear, d) third
order and non-linear
13. a) first order and non-linear, b) second order and non-linear, c) second order and linear, d)
third order and linear
14. c)
Chapter 2
• Integrating factors
• Exact equation
In other words, it is the equation that we can separate one variable to one side of the equation
and another to the opposite side of the equation. If we fail to do that, we can’t use this method
to solve the differential equation. Note here that we always place dy and dt as the last term for
each side of the equation. Solving separable equation is very easy, you just integrate both sides,
Z Z
N (y)dy = M (t)dt.
• The initial value problem, abbreviated IVP, is a differential equation along with initial
condition(s). The initial condition is used to determine the value of constant c in the general
solution. The solution with determined value of c by using initial condition(s) is called the
particular solution.
12
CHAPTER 2. FIRST ORDER DIFFERENTIAL EQUATIONS 13
3y 0 = 4y 4 t3 .
Solution
dy
Replace y 0 to dt and then split y’s and dy to the left and t’s and dt to the right of the equation,
dy 3
3y 0 = 4y 4 t3 ⇒ 3 = 4y 4 t3 ⇒ dy = 4t3 dt.
dt y4
Integrating both sides,
Z Z
3 1
dy = 4t3 dt ⇒ − = t4 + c.
y4 y3
y2 x2
Z Z
y dy = −x dx ⇒ = − + c.
2 2
Impose the initial condition y(0) = −2, which means, if x=0 then y = −2,
(−2)2 02
=− +c ⇒ c = 2.
2 2
Therefore the particular solution (in implicit form) to the above equation is
y2 x2
= − + 2.
2 2
CHAPTER 2. FIRST ORDER DIFFERENTIAL EQUATIONS 14
y2 x2 p
=− +2 ⇒ y 2 = −x2 + 4 ⇒ y=± −x2 + 4.
2 2
√
Unfortunately, one of the solution, namely y = −x2 + 4 fails to agree with the initial con-
dition y(0) = −2, so p
y = − −x2 + 4
is the particular solution to the above IVP in the explicit form.
We often use the Method of Separable Equation to solve first order differential equation which
contains fraction expressions. Also don’t forget to check the solutions to the IVP with the
initial condition to get the final particular solution in the explicit form.
y2
Z Z
y dy = (cos t + 1) dt ⇒ = sin t + t + c.
2
Now apply the given initial condition y(0) = −3, to determine the value of c,
(−3)2 9
= − sin(0) + 0 + c ⇒ c= .
2 2
Therefore the particular solution is
y2 9
= sin t + t + .
2 2
Then rewrite it in the explicit form,
√
y 2 = 2 sin t + 2t + 9 ⇒ y = ± 2 sin t + 2t + 9.
Since the negative sign is chosen to satisfy the initial condition y(0) = −3, the explicit solution
of the above IVP is √
y = − 2 sin t + 2t + 9.
CHAPTER 2. FIRST ORDER DIFFERENTIAL EQUATIONS 15
We called µ(t) an integrating factor. Now we change the form of the equation by multiplying
Equation (2.1) both sides by µ(t):
dy
µ(t) + µ(t)p(t)y = µ(t)g(t). (2.3)
dt
Then change the second term of the left hand side of Equation (2.3) by using Equation (2.2),
dy
µ(t) + µ0 (t)y = µ(t)g(t).
dt
Now the left hand side is simply (µ(t)y(t))0 , by product rule of differentiation, and so we get
d(µ(t)y(t))
(µ(t)y(t))0 = µ(t)g(t) ⇒ = µ(t)g(t) ⇒ d(µ(t)y(t)) = µ(t)g(t) dt.
dt
Integrating both sides of the equation,
Z Z
d(µ(t)y(t)) = µ(t)g(t) dt
Z
µ(t)y(t) = µ(t)g(t) dt + c
R
µ(t)g(t) dt + c
y(t) = ,
µ(t)
which is the general solution of Equation (2.1). Now let’s find out what the formula of the magical
function µ(t) is. From Equation (2.2),
µ0 (t)
µ(t)p(t) = µ0 (t) ⇒ = p(t).
µ(t)
d(ln µ(t))
(ln µ(t))0 = p(t) ⇒ = p(t) ⇒ d(ln µ(t)) = p(t) dt.
dt
Integrating both sides,
Z Z Z R
p(t) dt
d(ln µ(t)) = p(t) dt ⇒ ln µ(t) = p(t) dt ⇒ µ(t) = e .
dy
+ p(t)y = g(t).
dt
(omit constant from this integration to make our life easier and still give the same
result)
3. Multiply both sides to the equation in step 1 (not the original equation) by µ(t).
4. Change the left hand side of the equation to (µ(t)y(t))0 by product rule of differentiation.
5. Integrate both sides of the equation.
6. Find y(t) as the general solution.
ty 0 − 2y = t3 cos t, y(π) = 2.
Multiply both sides of Equation (2.4) (not the original one) by µ(t),
Rewrite the left hand side of the equation to (t−2 y)0 and then simplify,
d −2
(t−2 y)0 = cos t ⇒ (t y) = cos t ⇒ d(t−2 y) = cos t dt
dt
Integrating both sides,
Z Z
−2
d(t y) = cos t dt ⇒ t−2 y = sin t + c ⇒ y = t2 sin t + ct2 .
d t 3 t t 3 t
(e 2 y) = te 2 ⇒ d(e 2 y) = te 2 dt.
dt 2 2
Integrating both sides and using integration-by-parts for the right hand side of the equa-
tion,
Z Z
t 3 t t 3 t t t t
d(e y) =
2 te 2 dt ⇒ e 2 y = (2te 2 − 4e 2 ) + c = 3te 2 − 6e 2 + c.
2 2
t
Divide both sides by e 2 to get the general solution,
t
y = 3t − 6 + ce− 2 .
CHAPTER 2. FIRST ORDER DIFFERENTIAL EQUATIONS 18
which gives us the original differential equation in the question (this is just a coincidence).
Rewrite the left hand side of the equation to (sin(t)y)0 and then simplify,
d
(sin(t)y)0 = 3t sin(t) ⇒ (sin(t)y) = 3t sin t ⇒ d(sin(t)y) = 3t sin t dt.
dt
Integrating both sides (using integration-by-parts for the left hand side term),
Z Z
d(sin(t)y) = 3t sin t dt ⇒ sin(t)y = −3t cos t + 3 sin t + c.
You might ask yourself already that why we need these complicated conditions. Here’s why.
Combine Equations (2.7) and (2.8) together,
dy
ψx + ψy = 0.
dx
d
Using the chain rule, the left hand side is simply dx ψ(x, y(x)). Therefore,
d
ψ(x, y(x)) = 0.
dx
After we integrate both sides, we get
ψ(x, y(x)) = c,
as an implicit solution to our differential equation. Since second partials of ψ are continuous, by
Schwarz’s theorem, we get the symmetry of second derivatives which means
ψxy = ψyx .
ψxy = (ψx )y = My
ψyx = (ψy )x = Nx .
M y = Nx (2.9)
Likewise if Equation(2.9) is not true there is no way for the differential equation to be exact.
Therefore we will use this equation as a test for exactness of the equation. In other words, an
equation of the form
dy
M (x, y) + N (x, y) = 0 is an exact equation if and only if My = Nx .
dx
In conclusion, we have
CHAPTER 2. FIRST ORDER DIFFERENTIAL EQUATIONS 20
dy
2x + ey + (xey − cos y) = 0.
dx
M = 2x + ey , N = xey − cos y.
∂ ∂ ∂ y
My = (2x + ey ) = 2x + e = 0 + ey = ey ,
∂y ∂y ∂y
∂ ∂ ∂
Nx = (xey − cos y) = ey x − cos y = ey (1) − 0 = ey .
∂x ∂x ∂x
Since My = Nx , the equation is exact.
b) Find the general solution to the ODE.
Solution Recall that
Z Z Z Z
ψx = M ⇒ ψ = M dx = (2x + ey ) dx = 2x dx + ey dx = x2 + xey + c1 (y),
Z Z Z Z
ψy = N ⇒ ψ = N dy = (xey − cos y) dy = x ey dy − cos y dy = xey − sin y + c2 (x).
π
c) Find the solution to the ODE in part a) which satisfies y(1) = 2.
π
Solution Apply the initial condition, y(1) = 2,
π π π
12 + (1)e 2 − sin =c ⇒ c = e2.
2
π
Hence the particular solution is x2 + xey − sin y = e 2 .
Compute My and Nx .
∂ ∂ ∂
My = (6x2 − 2xy + ex+y ) = 0 − 2x y + ex ey = −2x + ex+y ,
∂y ∂y ∂y
∂ x+y ∂ ∂
Nx = (e − x2 ) = ey ex − x2 = ex+y − 2x.
∂x ∂x ∂x
So the equation is exact because My = Nx .
b) Solve this IVP. You may leave your answer in implicit form.
Solution Since
Z Z
ψx = M ⇒ ψ= M dx = (6x2 − 2xy + ex+y ) dx = 2x3 − x2 y + ex+y + c1 (y),
Z Z
ψy = N ⇒ ψ = N dy = (ex+y − x2 ) dy = ex+y − x2 y + c2 (x).
2x3 − x2 y + ex+y = c.
2x3 − x2 y + ex+y = 4.
CHAPTER 2. FIRST ORDER DIFFERENTIAL EQUATIONS 22
Exercises 2.1
1. Solve the following equations and the initial value problem. You may leave your answers in
implicit form.
x2
(a) y 0 =
2y
(b) x − y + (y − x)y 0 = 0
π
(c) sin(t)y 0 + cos(t)y = 3t sin(t), y( ) = 0
2
2. Solve explicitly for y(t) in the following initial value problem
et − yy 0 = 0, y(0) = 1.
(1 + t2 )y 0 − 2ty = 4e−πt ?
1
(a) µ(t) =
1 + t2
2
(b) µ(t) = et
(c) µ(t) = (1 + t2 )2
(d) µ(t) = e−2 arctan t
(a) 2 + cos x = C
(b) 12x2 − y sin x = C
(c) x4 + 2xy + y sin x = C
(d) x4 + 2xy + y sin x + y 2 = C
12. Find the explicit solution of the initial value problem
2
4tet
y0 = , y(0) = −4.
y
13. True or false: The function µ(t) = t2 e−3t is a suitable integrating factor that can be used
to solve the equation below. Justify your answer by finding the correct µ(t).
2 − 3x2 + 8x3
y0 = , y(1) = −2.
2 + 2y
Give your solution in the explicit form.
CHAPTER 2. FIRST ORDER DIFFERENTIAL EQUATIONS 24
17. Which of the following is an integrating factor for the differential equation
Answers
3 2 2
x x y
1. a) y 2 = + C, b) − xy + = C, c) y = −3t cot t + 3 − 3 csc t
√3 2 2
2. y(t) = 2et − 1
3. −2x − exy + y 2 = C
4. d)
5. y(t) = t−2 et − t−3 et + Ct−3
6. x2 y − x3 + y 2 = C
7. b)
8. a) no, b) yes, c) yes, d) no
1 1
9. a) My = 12x5 y 3 = Nx , b) x6 y 4 − x2 + 2e3y = C, c) x6 y 4 − x2 + 2e3y = −7
2 2
10. a)
11. d) √
12. y = − 4et2 + 12
13. True
1
14. y = − ln(−4t2 + 2 sin t + e−2 )
2
1
15. a) λ = 3, b) x6 y 3 + − 12y = C
√ x
16. y = −1 − 2x − x3 + 2x4 − 2
17. b)
18. d)
1p
19. 2 − −2xe−2x − e−2x + 5
2
20. sin(x + y) + x2 + 2y 2 = c
CHAPTER 2. FIRST ORDER DIFFERENTIAL EQUATIONS 25
Theorem 1 (The Existence and Uniqueness Theorem). If the functions p and g are contin-
uous on an open interval I : α < t < β containing the point t = t0 , then there exists a unique
function y = φ(t) that satisfies the differential equation
y 0 + p(t)y = g(t)
for each t in I, and that also satisfies the initial condition y(t0 ) = y0 . In other words, neither
existence nor uniqueness of a solution is guaranteed at a discontinuity of either the coefficient
functions p(t) or g(t).
is the largest possible interval on which the solution is valid and contains t0 .
ty 0 + 2y = 3t, y(2) = 5,
is guaranteed to exist?
Solution Firstly, rewrite the given equation in the canonical form,
2
y 0 + y = 3, y(2) = 5,
t
2
with p(t) = and g(t) = 3. So p has one discontinuity at t = 0 and g is continuous
t
everywhere. By the Existence and Uniqueness Theorem , the solution of this initial value
problem guaranteed to exist uniquely on any interval containing t0 = 2 but not containing
discontinuity t = 0.
sin 5t t+1 1
y0 + y= , y(π) = ,
(t + 4)(t − 4) (t − 1)(t + 4)(t − 4) 2
sin 5t t+1
with p(t) = and g(t) = .
(t + 4)(t − 4) (t − 1)(t + 4)(t − 4)
So p has discontinuities at t = −4, 4 and g has discontinuities at t = −4, 1, 4.
By the Existence and Uniqueness Theorem , the largest interval in which a unique solution is
guaranteed to exist is (1, 4).
Before we move on, let’s remind ourselves of the useful trig facts here:
Example 18 (Fall 2000 Midterm Exam I). Consider the initial value problem
π
sin(t)y 0 + cos(t)y = 3t sin(t), y( ) = 0.
2
On what interval is the solution guaranteed to exist? Justify your answers!
Solution First, rewrite the equation in the standard form,
cos(t)
y0 + y = 3t,
sin(t)
cos(t)
with p(t) = and g(t) = 3t.
sin(t)
So p has discontinuities at t = nπ, where n is an integer and g is continuous everywhere.
CHAPTER 2. FIRST ORDER DIFFERENTIAL EQUATIONS 27
By the Existence and Uniqueness Theorem , the interval of validity is (0, π).
It’s worth noting that many functions we deal with so far have a domain of all real numbers. But
the natural logarithm ln t has different domain. This function is defined only when t > 0, in other
words, its domain is the set of positive real numbers or (0, ∞). Roughly speaking, number that
you are allowed to put after ln is only the positive ones. Base on this fundamental fact, we also can
talk about the domain of other types of function involving the natural logarithm. For example,
ln(t − a) is defined only when t − a > 0 or t > a. We list others below:
Example 19 (Spring 2010 Midterm Exam I). Consider the initial value problem
Without solving the equation, what is the largest interval in which a unique solution is guar-
anteed to exist?
Solution The standard form of the given equation is,
ln(t) cos(3t)
y0 − y= ,
(t + 1)(t − π) (t + 1)(t − π)
ln(t) cos(3t)
with p(t) = − and g(t) = .
(t + 1)(t − π) (t + 1)(t − π)
So p has discontinuities at t = −1,
π (since t = −4 is not in the domain of ln) and g has
discontinuities at t = −1, π. Since the natural logarithm appears in p, we draw the the line
starting from 0 to infinity (not the whole real numbers).
Example 20 (Summer 2010 Midterm Exam I). Consider the initial value problem
Without solving the equation, what is the largest interval in which a unique solution is
guaranteed to exist?
Solution Again write the equation in standard form,
ln(t − 1) sin(3t)
y0 − y= ,
(t + 4)(t + 4) (t + 4)(t + 4)
ln(t − 1) sin(3t)
with p(t) = and g(t) = .
(t + 4)(t + 4) (t + 4)(t + 4)
Note that the domain of ln(t − 1) is t > 1. So p has discontinuities at t =
−4,
4 (since t = −4
is not in the domain of ln(t − 1)) and g has discontinuities at t = −4, 4.
By the Existence and Uniqueness Theorem , the largest interval in which a unique solution is
guaranteed to exist is (1, 4).
The Existence and Uniqueness Theorem requires a linear differential equation. There is a also
similar theorem for non-linear first order differential equations.
Theorem 2. Let the functions f and ∂f ∂y be continuous in some rectangle α < t < β, γ <
y < δ containing the point (t0 , y0 ). Then, in some interval t0 − h < t < t0 + h contained in
α < t < β, there is a unique solution y = φ(t) of the initial value problem
y 0 = f (t, y) y(t0 ) = y0 .
Solution First, notice that the given nonlinear differential equation does not meet the re-
quirement of the theorem above. We have
1 ∂f 1
f (t, y) = y 3 ⇒ = 2 .
∂y 3y 3
Even though f is continuous everywhere but its derivative with respect to y is not continuous
at y = 0 and so will not be continuous at any interval containing y = 0.
Now let’s solve this problem by using the method of separable equation,
Z Z
dy 1 1 3 2
= y3 ⇒ y − 3 dy = dt ⇒ y 3 = t + c.
dt 2
CHAPTER 2. FIRST ORDER DIFFERENTIAL EQUATIONS 29
The previous example shows that the IVP does not always give the unique solution.
Example 22. Which of the following initial value problems has more than one solution?
(a) y 0 = 2y, y(0) = 0
1
(b) y 0 = y 3 , y(0) = 0
(c) y 00 + ty 0 + 2y = 0, y(0) = 0, y 0 (0) = 0
(d) (1 + t2 )y 0 + ty = 0, y(0) = 0
Solution Every equation has a unique solution by the Existence and Uniqueness Theorem
except the one in (b). It is nonlinear.
CHAPTER 2. FIRST ORDER DIFFERENTIAL EQUATIONS 30
Exercises 2.2
1. Consider the initial value problem
1
(t2 + t)y 0 + y = e2t , y(2) = 3π.
(t − 4)
According to the Existence and Uniqueness Theorem, what is the largest interval in which
a unique solution is guaranteed to exist?
(a) (4, ∞)
(b) (−∞, 4)
(c) (0, 4)
(d) (1, 4)
2. Consider the initial value problem
According to the Existence and Uniqueness Theorem, what is the largest interval in which
a unique solution is guaranteed to exist?
(a) (2, ∞)
(b) (−2, 2)
(c) (2, 5)
(d) (−∞, 5)
3. The initial value problem
According to the Existence and Uniqueness Theorem, what is the largest interval in which
a unique solution is guaranteed to exist?
(a) (−3, 3)
(b) (3, ∞)
(c) (1, 3)
(d) (−3, 1)
Answers
1. c)
2. c)
3. c)
4. d)
CHAPTER 2. FIRST ORDER DIFFERENTIAL EQUATIONS 31
Figure 2.1: Left: Graph of f (y) and phase line, Right: Phase line in vertical orientation.
As you notice from the right figure, the number −1 and 3 appear on the axis reflecting the fact
that y = −1 and y = 3 are equilibrium solutions of the given autonomous equation. In general,
there are three types of stability of each equilibrium solutions based on the picture of phase line.
Let y = a be an equilibrium solution.
CHAPTER 2. FIRST ORDER DIFFERENTIAL EQUATIONS 32
c) Let y(t) be the solution whose initial condition is y(0) = 4. What is the behavior of y(t)
as t → ∞.
CHAPTER 2. FIRST ORDER DIFFERENTIAL EQUATIONS 33
lim y(t) = ∞,
t→∞
lim y(t) = 0,
t→∞
Exercises 2.3
1. For the following equation,
dy
= (y + 1)(y − 2)(1 − y).
dt
Determine and classify the critical points (equilibrium solutions).
2. Consider the autonomous differential equation
y 0 − 2y = 2, y(0) = 2.
(a) −∞
(b) −1
(c) 2
(d) ∞
5. Consider the following autonomous differential equation
y 0 = cos(y).
5π
The function y(t) = is
2
(a) a semi-stable equilibrium solution.
(b) an unstable equilibrium solution.
CHAPTER 2. FIRST ORDER DIFFERENTIAL EQUATIONS 35
(a) 0
(b) 2
(c) 10
(d) ∞
9. Consider the autonomous differential equation
y 0 = (y − 1)2 (y 2 − 4).
(a) Find all of its equilibrium solutions.
(b) Classify the stability of each equilibrium solution. Justify your answer.
(c) If y(1325) = 1.5, then what is lim y(t)?
t→∞
(d) If y(−1325) = 2, then what is lim y(t)?
t→∞
Answers
1. The equilibrium solutions are: y = −1(stable), y = 1(unstable), and y = 2(stable).
2. a) y = −3, 1, 2, b) semistable, stable, unstable, c) lim y(t) = 1, d) y(2500) = 2
t→∞
3. a) y = −2, 0, 4, b) semistable, unstable, stable, c) lim y(t) = −2, d) y(1000) = 0
t→∞
4. d)
5. c)
6. a) y = −4, 0, 4, b) unstable, semistable, stable, c) y(0) = −4, d) lim y(t) = 0
t→∞
7. a) y = −3, 0, 3, b) unstable, semistable, stable, c) 3, d) −3, e) −3 < λ ≤ 0
8. c)
9. a) y = −2, 1, 2, b) stable, semistable, unstable, c) lim y(t) = 1, d) lim y(t) = 2
t→∞ t→∞
CHAPTER 2. FIRST ORDER DIFFERENTIAL EQUATIONS 36
• A holding tank initially contains amount of substance dissolved in certain amount of liquid.
• The same substance is also dissolved in a liquid which will be entering the tank.
• Assume that the content of the mixing tank is stirred very quickly such that the solution
within is always of uniform concentration.
• The mixed content is then leaving the tank.
• We want to develop a differential equation that can predict the amount of the substance
dissolved in the tank at any time.
Let Q(t) be the amount of the substance dissolved in the liquid in the tank at any time t. Then
we have,
Rate of change of Q(t) = Rate at which Q(t) enters the tank − Rate at which Q(t) exits the tank
Q(t)
Q0 (t) = ri ci − ro , Q(0) = Q0
V0 + (ri − ro )t
• Q(0) = 0.5 oz/gal ×200 gal = 100 oz. Here we use the fact that
amount of substance
concentration of substance =
volume of the liquid
∴ amount of substance = concentration of substance × volume of the liquid
• ci = 2 + sin t oz/gal.
• ri = 5 gal/min.
• ro = 5 gal/min.
Substitute everything back into modeling for mixing problem. Then we have the initial value
problem describing the situation above as
Q(t)
Q0 (t) = 5(2 + sin t) − 5 , Q(0) = 100
200 + (5 − 5)t
which is
Q(t)
Q0 (t) = 5(2 + sin t) − , Q(0) = 100.
40
denote the amount of Chlorine in the pool at any time t > 0 and before the pool eventually
overflows. Write down an initial value problem that Q(t) must satisfy.
Solution From the problem, we get
• ro = 3 gal/min.
200
• t is at most min. (After that, the pool will overflow the swimming pool).
3
Therefore we have the initial value problem describing the situation above as follow
Q(t) 200
Q0 (t) = 6(5) − 3 , Q(0) = 0 where 0 < t ≤
200 + (6 − 3)t 3
which is
Q(t) 200
Q0 (t) = 30 − 3 , Q(0) = 0, where 0 < t ≤ .
200 + 3t 3
• ci = 5 g/gal.
• ri = 2 gal/min.
• ro = 3 gal/min.
Q(t)
Q0 (t) = 2(5) − 3 , Q(0) = 160 where 0 < t < 80
80 + (2 − 3)t
which is
Q(t)
Q0 (t) = 10 − 3 , Q(0) = 160, where 0 < t < 80.
80 − t
3 gal/min with concentration of salt in it, at time t given by e−t lb/gal. A well mixed solution
leaves the tank at the same rate of 3 gal/min.
i) Find a formula for the amount of salt in the tank at any time t.
Solution Let Q(t) be the amount of salt dissolved in the water in the tank at time t
(lb). From the information, we have
• V0 = 100 gal.
• Q(0) = 100 lb.
• ci = e−t lb/gal.
• ri = 3 gal/min.
• ro = 3 gal/min.
Thus, we have the IVP for Q,
Q(t)
Q0 (t) = 3(e−t ) − 3 , Q(0) = 100
100 + (3 − 3)t
which is
Q(t)
Q0 (t) = 3e−t − 3 , Q(0) = 100.
100
Now we’re about to solve this IVP by using the method of integrating factor. So let’s
write the equation in the standard form,
Q(t)
Q0 (t) + 3 = 3e−t . (2.10)
100
And the integrating factor is
3 3t
R R
p(t) dt dt
µ(t) = e =e 100 = e 100 .
Multiply both sides of Equation 2.10 by µ and change the left hand side of the equation
to one term,
3t 3t Q(t) 3t
e 100 Q0 (t) + 3e 100 = 3e−t e 100
100
3t 97t
(e 100 Q(t))0 = 3e− 100
d 3t 97t
(e 100 Q(t)) = 3e− 100
dt
3t 97t
d(e 100 Q(t)) = 3e− 100 dt
3t 300 − 97t
e 100 Q(t) = − e 100 + c
97
3t 300 − 97t
Q(t) = (e− 100 )(− e 100 + c)
97
300 −t 3t
∴ Q(t) = − e + ce− 100 .
97
CHAPTER 2. FIRST ORDER DIFFERENTIAL EQUATIONS 40
Q(t) 1
lim = lim Q(t)
t→∞ 100 100 t→∞
1 300 −t 10, 000 − 3t
= lim − e + e 100
100 t→∞ 97 97
= 0.
CHAPTER 2. FIRST ORDER DIFFERENTIAL EQUATIONS 41
Exercises 2.4
1. A tank is filled with 200 liters of a solution containing 100 grams of salt. A solution containing
a concentration of 2 g/liter salt enters the tank at the rate 4 liters/minute and the well-stirred
mixture leaves the tank at the same rate. Set up the initial value problem for the amount of
salt in the tank at time t, find the particular solution and find the limiting amount of salt
in the tank as t → ∞.
2. A tank originally contains 100 liters of pure water. Salt water with a concentration of 2
kg/L is pumped into the tank at 3 L/min, and the well-mixed solution is drained at the
same rate.
(a) Set up an initial value problem describing the situation. Be sure to explain all of your
variables.
(b) Solve the initial value problem to find the amount of salt in the tank at any time t.
(c) What is the limiting concentration of salt in the tank?
3. A 800-gallon tank initial contains 500 gallons of water and 30 pounds of salt dissolved in
it. Water enters the tank at the rate of 3 gal/min with concentration 4 lb/gal of salt in it.
The well mixed solution leaves the tank at the rate of 1 gal/min. Which of the initial value
problems below models the change of the amount of salt Q(t) inside the tank during the
time interval 0 ≤ t ≤ 150?
Q(t)
(a) Q0 (t) = 3 − , Q(0) = 30
800
Q(t)
(b) Q0 (t) = 12 − , Q(0) = 800
500 − 2t
Q(t)
(c) Q0 (t) = 12 − , Q(0) = 30
500 + 2t
Q(t)
(d) Q0 (t) = 12 − , Q(0) = 500
500 + t
4. A jar contains a sugar solution. Initially it had 2 liters of water and 15 grams of dissolved
sugar. Water containing 5 grams of sugar per liter enters the jar at a rate of 2 liters/min.
The well stirred mixture flows out at the same rate. How many grams of dissolved sugar is
present in the jar after ln 5 minutes?
5. A 400-liter tank is initially filled with 100 liters of dye solution with a dye concentration 5
g/l. Pure water flows into the tank at a rate 3 liters per minute. The well-stirred solution
is drained at a rate of 2 liters per minute. Find the concentration of dye in the tank at the
time that the tank is completely filled.
6. A 200 m3 room initially contains fresh air. At t = 0, a faulty heating system causes gas
containing 20% carbon monoxide to be pumped into the room at a rate of 3 m3 per minute.
The well-mixed air is vented out at the same rate.
(a) Write a differential equation, and give the initial condition, that describe this event.
(b) Solve the initial value problem.
(c) A carbon monoxide detector in the room is triggered when the carbon monoxide reaches
1%. Find the time when the detector will sound the alarm.
CHAPTER 2. FIRST ORDER DIFFERENTIAL EQUATIONS 42
7. A swimming pool is initially filled with 500 m3 of water with a chlorine concentration of 10
g/m3 . Water containing 50 g/m3 of chlorine flows into the pool at a rate of 5 m3 per minute.
The well-mixed water in the pool is drained away at the same rate.
(a) Find the amount of chlorine in the pool at anytime t > 0.
(b) What is the concentration of chlorine in the pool as t → ∞
8. A tank initially contains 120 liters of pure water. A salt solution with a concentration of
γ grams/liter of salt enters the tank at a rate of 2 liters/min and the well-stirred mixture
leaves the tank at the same rate. Find (in terms of γ) an expression for the amount of salt
in the tank at any time t and the limiting amount of salt in the tank as t approaches infinity.
9. A swimming pool is initially filled with 400 m3 of fresh water. At t = 0 water containing
50 g/m3 of chlorine starts to flow into the swimming pool at a rate of 2 m3 per minute.
Well-mixed water is drained from the pool at the same rate.
(a) Set up an initial value problem modeling this process.
(b) Solve the initial value problem.
(c) Find the time when the chlorine concentration within the pool reaches 25 g/m3 .
(d) (As t → ∞) what is the limiting amount of chlorine that will be in the swimming pool?
10. A culinary experiment that went horribly awry has filled a 60 m3 kitchen with air that
contains 2 g/m3 of smoke and soot. At t = 0, the ventilation system is switched on so that 3
m3 /min of fresh air is pumped in. The well-mixed smokey air is drawn off at the same rate.
(a) Let Q(t) denote the amount of smoke and soot in the air at any time t > 0. Write down
an initial value problem that Q(t) must satisfy.
(b) Solve the initial value problem to find Q(t).
(c) How much time would it take for the concentration of smoke and soot in the air to go
1
down to 10 of its original level?
Answers
−t
0 Q
1. The initial value problem is Q = 8 − , Q(0) = 100. The solution is Q(t) = 400 − 300e 50 .
50
And lim Q(t) = 400.
t→∞
−3t
0 3Q
2. i) Q = 6 − , Q(0) = 0, ii) Q(t) = 200 − 200e 100 , iii) The limiting concentration is
100
Q(t) 200
lim = = 2.
t→∞ 100 100
3. c)
4. 11
5
5. The tank is filled at t = 300 then the concentration at that moment is
64
3 3t 200 20
6. a) Q0 = 0.6 − Q, Q(0) = 0, b) Q(t) = 40 − 40e− 200 , c) t = (ln )
200 1
3 19
7. a) Q = 25, 000 − 20, 000e− 100 t , b) 50
1
8. a) Q = 120γ − 120γe− 60 t , b) 120γ
1 t
9. a) Q0 = 100 − Q, Q(0) = 0, b) Q(t) = 20, 000 − 20, 000e− 200 , c) t = 200 ln 2, d) 20, 000
200
Q t
10. a) Q0 = − , Q(0) = 120, b) Q(t) = 120e− 20 , c) 20 ln 10
20
Chapter 3
In this chapter we will study about linear second order differential equations. The most general
form is
p(t)y 00 + q(t)y 0 + r(t)y = g(t),
where the coefficients p, q, r and g are functions of t.
Homogeneous vs Nonhomogeneous:
• A second order linear equation is said to be homogeneous if g(t) = 0 for all t.
ay 00 + by 0 + cy = g(t),
y 00 − y = 0.
Solution It is easy to see that et is a solution and so is c1 et . Another solution is e−t and so
is c2 e−t . We can check further that any function in the form
y = c1 et + c2 e−t
is a solution of the above differential equation. In fact, it is a general solution which we will
show later.
43
CHAPTER 3. SECOND ORDER DIFFERENTIAL EQUATIONS 44
y 00 + p(t)y 0 + q(t)y = 0.
Then
y = c1 y1 + c2 y2 is the general solution of
(or the solutions y1 and y2 are said to form a fundamental set of solution of )
y 00 + p(t)y 0 + q(t)y = 0
if and only if the Wronskian of y1 and y2 , written as W (y1 , y2 ), is not a zero function where
y y
1 2
W (y1 , y2 ) := = y1 y20 − y10 y2 .
y 0 y 0
1 2
CHAPTER 3. SECOND ORDER DIFFERENTIAL EQUATIONS 45
ar2 + br + c = 0,
which will gives us two roots. We’ll take a closer look on all 3 possible cases depend on the type
of roots as follow:
1. Two distinct real roots (it happens when b2 − 4ac > 0).
2. Two complex conjugate roots (it happens when b2 − 4ac < 0).
3. Repeated real roots (it happens when b2 − 4ac = 0).
It is nonzero since r1 6= r2 and so is exponential function. By the theorem above, y1 and y2 form
the fundamental set of solutions of ay 00 + by 0 + cy = 0. It means that the general solution is
y = c1 y1 + c2 y2 ⇒ y = c1 er1 t + c2 er2 t .
If r1 , r2 are distinct real roots of characteristic equation, then the general solution is
y = c1 er1 t + c2 er2 t .
y 00 − 4y = 0, y(0) = 4, y 0 (0) = 4.
r2 − 4 = 0 ⇒ (r − 2)(r + 2) = 0 ⇒ r = 2, −2.
So the general solution is y = c1 e2t + c2 e−2t . Then y 0 = 2c1 e2t − 2c2 e−2t .
Impose the initial conditions,
y(0) = 4 ⇒ 4 = c1 + c2
0
y (0) = 4 ⇒ 4 = 2c1 − 2c2 .
r2 − 5r + 4 = 0 ⇒ (r − 4)(r − 1) = 0 ⇒ r = 1, 4.
y(0) = 2 ⇒ 2 = c1 + c2
0
y (0) = −1 ⇒ −1 = c1 + 4c2 .
y = 3et − e4t .
Moreover,
lim y(t) = lim (3et − e4t ) = lim et (3 − e3t ) = −∞.
t→∞ t→∞ t→∞
y 00 + 3y 0 − 4y = 0, y(0) = α, y 0 (0) = 1,
converge to 0 as t → ∞.
Solution The characteristic equation of y 00 + 3y 0 − 4y = 0 is
r2 + 3r − 4 = 0 ⇒ (r + 4)(r − 1) = 0 ⇒ r = −4, 1.
y(0) = α ⇒ α = c1 + c2
y 0 (0) = 1 ⇒ 1 = −4c1 + c2 .
α−1 4α + 1
Then we get c1 = and c2 = . So the particular solution is
5 5
α − 1 −4t 4α + 1 t
y= e + e.
5 5
4α + 1 t
Note that since lim e−4t = 0, lim y(t) = e.
t→∞ t→∞ 5
t
Since lim e = ∞, the only way to get lim y(t) = 0 is to have the zero coefficient. Hence
t→∞ t→∞
4α + 1 1
=0 ⇒ α=− .
5 4
CHAPTER 3. SECOND ORDER DIFFERENTIAL EQUATIONS 47
But we would like to express the solution as the real valued functions (without i). To do this,
we’ll need Euler’s formula,
After we rename the constant, we get the new form of the general solution,
y(t) = c1 eλt cos µt + c2 eλt sin µt or y(t) = eλt (c1 cos µt + c2 sin µt)
In conclusion,
If r1,2 = λ ± µi are complex roots of the characteristic equation, then the general solution is
Note that
y 0 (t) = e−2t (−3c1 sin 3t + 3c2 cos 3t) − 2e−2t (c1 cos 3t + c2 sin 3t).
y(0) = 3 ⇒ 3 = c1
0
y (0) = −9 ⇒ −9 = 3c2 − 2c1 .
Then
y 0 (t) = et (−2c1 sin 2t + 2c2 cos 2t) + et (c1 cos 2t + c2 sin 2t).
Plug in the initial conditions,
y(0) = 2 ⇒ 2 = c1
y 0 (0) = −4 ⇒ −4 = 2c2 + c1 .
So y1 and y2 don’t form the fundamental set of solutions. We will use y1 (t) = ert as the first
solution, but we’re going to need a new second solution. To get the second solution, we need a new
tool namely the method of reduction of order which we will study about it shortly. After using
this method, we will receive y2 (t) = tert as the second solution. Let’s check their Wronkskian,
ert te rt
= ert (rtert + ert ) − rte2rt = e2rt 6= 0.
W (y1 , y2 ) =
rert rtert + ert
Consequently, y1 and new y2 form the fundamental set of solutions which means the general
solution is
y = c1 ert + c2 tert .
In conclusion,
If r1 = r2 = r are repeated real roots of the characteristic equation, the general solution is
r2 − 8r + 16 = 0 ⇒ (r − 4)2 = 0 ⇒ r = 4, 4.
Note that
y 0 (t) = 4c1 e4t + c2 (4te4t + e4t ).
y(0) = 3 ⇒ 3 = c1
y 0 (0) = 10 ⇒ 10 = 4c1 + c2 .
Solution lim y(t) = lim (3e4t − 2te4t ) = lim e4t (3 − 2t) = −∞.
t→∞ t→∞ t→∞
ay 00 + by 0 + cy = 0.
(c) 2y 00 + 2y 0 − 4y = 0
(d) y 00 − 3y 0 − 2y = 0
Solution According to the general solution, we have r1 = 1 and r2 = −2. Both of them are
the roots of the characteristic equation. So
(r − 1)(r + 2) = 0 ⇒ r2 + r − 2 = 0 ⇒ y 00 + y 0 − 2y = 0.
Multiply both sides of the equation by 2, we have (c) as the correct answer.
Solution
• Method 1: Usual way. By using the general solution from part a) ,we have
After a long and messy calculation, we have c1 = 1461e730 and c2 = −4e730 . Hence
the particular solution for the given IVP is
Now apply new initial conditions to the general solution we have in part a),
y(0) = 1 ⇒ 1 = c1
0
y (0) = −6 ⇒ −6 = −2c1 + c2 .
The final step is to change the variable from T back to t using T = t − 365,
y 00 + 6y 0 + 13y = 0.
y(0) = 1, y 0 (0) = 3.
CHAPTER 3. SECOND ORDER DIFFERENTIAL EQUATIONS 53
y 0 (t) = e−3t (−2c1 sin 2t + 2c2 cos 2t) − 3e−3t (c1 cos 2t + c2 sin 2t).
y(0) = 1 ⇒ 1 = c1
0
y (0) = 3 ⇒ 3 = 2c2 − 3c1 .
y(999) = 1, y 0 (999) = 3.
Solution Use the idea of translation by introduce new variable T = t − 999. Then the
initial conditions change to
Exercises 3.2
1. Consider the second order linear equation
y 00 − 8y 0 + 16y = 0.
2. Construct a second order homogeneous linear equation with constant coefficients, such that
1
y1 = e−t and y2 = −πe3t are two of its solutions.
π
3. Consider the second order linear equation
y 00 + 6y 0 + 10y = 0.
1
(a) α =
2
(b) α = −1
(c) α = −4
(d) α = 8
6. Consider all nonzero solutions of the linear equation
y 00 − 2y 0 + 5y = 0.
As t → ∞, they will
(a) oscillate between ∞ and −∞, and not approach any limit.
(b) all approach 0.
(c) some approach ∞, all the rest approach −∞.
(d) some approach 0, some approach ∞, some approach −∞.
CHAPTER 3. SECOND ORDER DIFFERENTIAL EQUATIONS 55
(a) −1
(b) 10
2
(c)
5
4
(d) −
5
9. Which of the following second order linear equations below has y = 6e−3t −3et as a solution?
(a) y 00 + 3y 0 = 0
(b) y 00 + 2y 0 − 3y = e−3t sin t
(c) 2y 00 − 4y 0 − 6y = 0
(d) −y 00 − 2y 0 + 3y = 0
10. Find the general solution of
16y 00 + 8y 0 + y = 0.
t t
(a) y = c1 e 4 + c2 e 4
t t
(b) y = c1 e− 4 + c2 te− 4
(c) y = c1 e−4t + c2 e4t
t
(d) y = c1 e− 4 + c2 e−4t
11. Consider the initial value problem
y 00 + 3y 0 + 2y = 0, y(0) = 0, y 0 (0) = α
13. Find the general solution for each of the following equations.
(a) y 00 − y 0 − 2y = 0
(b) y 00 + 4y 0 + 4y = 0
CHAPTER 3. SECOND ORDER DIFFERENTIAL EQUATIONS 56
(c) y 00 + 4y 0 + 5y = 0
14. Find the particular solution to
Answers
1. a) y = c1 e4t + c2 te4t , b) y=2e4(t−735) − 9(t − 735)e4(t−735) , c) −∞
2. y 00 − 2y 0 − 3y = 0
3. a) y = c1 e−3t cos t + c2 e−3t sin t, b) y = 6e−3(t−5031) cos(t − 5031) + 17e−3(t−5031) sin(t − 5031),
c) 0
4. b)
5. a)
6. a)
7. b)
8. c)
9. d)
10. b)
11. a) y = 5e3t − e4t , ii) −∞
12. a) y = αe−t − αe−2t , b) All real numbers, c) α = 0 only
13. a) y = c1 e2t + c2 e−t , b) y = c1 e−2t + c2 te−2t , c) y = c1 e−2t cos t + c2 e−2t sin t
14. y = 3et − e4t , −∞
15. a) y = c1 e−6t + c2 te−6t , b) y = c1 e8t + c2 e−t , c) y = c1 e2t cos 3t + c2 e2t sin 3t, d) i, e) iii
CHAPTER 3. SECOND ORDER DIFFERENTIAL EQUATIONS 57
3. Reduce the order of differential equation from 2nd order to 1st order by introducing
new variable u = v 0 .
4. Solve for u.
5. Solve for v by using u = v 0 .
y(t) = c1 y1 + c2 y2 .
The last step is true (as long as v is not a constant function) since their Wronskian is nonzero,
y vy1
1
= y1 (vy10 + y1 v 0 ) − vy1 y10 = y12 v 0 6= 0.
W (y1 , y2 ) =
y 0 vy 0 + y v 0
1 1 1
t2 y 00 + ty 0 − 4y = 0, t>0
CHAPTER 3. SECOND ORDER DIFFERENTIAL EQUATIONS 58
has a solution y1 (t) = t2 . Use the reduction of order to find the second solution y2 of this
differential equation.
Solution Suppose that y2 (t) = v(t)y1 (t) = vt2 is the second solution. Then the first and
second derivative of y2 are
Since y2 is a solution to t2 y 00 + ty 0 − 4y = 0,
Reducing the order of differential equation by letting u = v 0 , the differential equation becomes
0 = t4 u0 + 5t3 u.
But u = v 0 , so we have
v 0 = ct−5 .
Again we use the method of separable equation to solve it,
Z Z
dv c
= ct−5 ⇒ dv = ct−5 dt ⇒ v = − t−4 + k.
dt 4
Consequently,
c c
y2 (t) = v(t)y1 (t) = (− t−4 + k)t2 = − t−2 + kt2 .
4 4
Choose c = −4 and k = 0, we have
y2 (t) = t−2 .
(The general solution is y(t) = c1 y1 + c2 y2 = c1 t2 + c2 t−2 )
t2 y 00 − 5ty 0 + 9y = 0, t > 0.
derivative of y2 are
= t4 v 0 + t5 v 00 .
Divide out both sides of the equation by t5 (it is allowed since t > 0),
0 = t−1 v 0 + v 00 .
Reducing the order of differential equation by letting u = v 0 , the differential equation becomes
0 = t−1 u + u0 .
But u = v 0 ,
c
v0 = .
t
Again we use the method of separable equation to solve it,
Z Z
dv c c
= ⇒ dv = dt ⇒ v = c ln t + k.
dt t t
Hence
y2 (t) = v(t)y1 (t) = (c ln t + k)t3 = ct3 ln t + kt3 .
Choose c = −1 and k = 0, we have y2 (t) = t3 ln t. Therefore the general solution is
y(t) = c1 y1 + c2 y2 = c1 t3 + c2 t3 ln t.
= 2t5 v 0 + t6 v 00 .
Divide out both sides of the equation by t6 (it is allowed since t > 0),
0 = 2t−1 v 0 + v 00 .
0 = 2t−1 u + u0 .
But u = v 0 ,
v 0 = ct−2 .
Using the method of separable equation to solve it,
Z Z
dv −2
= ct ⇒ dv = ct−2 dt ⇒ v = −ct−1 + k.
dt
Therefore
y2 (t) = v(t)y1 (t) = (−ct−1 + k)t4 = −ct3 + kt4 .
Choose c = −1 and k = 0, we have y2 (t) = t3 . Therefore the general solution is
y(t) = c1 y1 + c2 y2 = c1 t4 + c2 t3 .
CHAPTER 3. SECOND ORDER DIFFERENTIAL EQUATIONS 61
Exercises 3.3
1. Given that y1 (t) = t2 is a known solution of the second order linear equation
t2 y 00 − 4ty 0 + 6y = 0, t > 0.
t2 y 00 − 3ty 0 + 4y = 0, t > 0.
4. Given that y1 (t) = t is a known solution of the second order linear differential equation
t2 y 00 − 4ty 0 + 4y = 0, t > 0.
t2 y 00 + 3ty 0 + y = 0, t > 0.
(a) Use the method of reduction of order to find another solution y2 which is not a scalar
multiple of y1 .
(b) Find the general solution of the equation.
(c) Find a solution satisfying the following initial conditions: y(e) = 1e , y 0 (e) = 1
e2 .
Answers
1. y = c1 t2 + c2 t3
2. y = c1 t−2 + c2 t4
3. a)-, b) y = c1 t2 + c2 t2 ln t
4. y = c1 t + c2 t4
5. y = c1 t3 + c2 t−4
6. a) t−1 ln t, b) y(t) = c1 t−1 + c2 t−1 ln t, c) y(t) = −t−1 + 2t−1 ln t
7. y = c1 t4 ln t + c2 t4
CHAPTER 3. SECOND ORDER DIFFERENTIAL EQUATIONS 62
Theorem 5 (The Existence and Uniqueness Theorem (for second order linear equation)).
Consider the initial value problem
where p, q and g are continuous on an open interval I that contains the point t0 . Then there
is exactly one solution y = φ(t) of this problem, and the solution exists throughout the interval
I.
1 et t3
y 00 + y0 + y= .
(t − 3) sin(t) sin(t) sin(t)
Then the discontinuities of p are t = nπ for all integer n and t = 3 while the discontinuities
of q and r are t = nπ for all integer n
Since t0 = 1 lies in (0, 3), the interval of validity is (0, 3). So (a) is the correct answer.
CHAPTER 3. SECOND ORDER DIFFERENTIAL EQUATIONS 63
sint t et
y 00 + y0 +
y= .
sin t cos t
sin t sin t
(2n − 1)
So the discontinuities of p are t = π for all integer n while the discontinuities of q
2
and r are t = nπ for all integer n.
π π π
Since t0 = lies in (0, ), the interval of validity is (0, ). Then (c) is the final answer.
4 2 2
t+2 ln(t)
y 00 + y0 + y=0
(t − π)(t + 5) t+5
Since t0 = 1 lies in (0, π), the largest such interval is (0, π) and so (d) is the correct answer.
CHAPTER 3. SECOND ORDER DIFFERENTIAL EQUATIONS 64
Then p is continuous everywhere but is not defined at t = 10, q is continuous while r has
discontinuities at t = 0, 1.
Since t0 = 8 lies between (1, 10), the interval of validity is (1, 10).
CHAPTER 3. SECOND ORDER DIFFERENTIAL EQUATIONS 65
Exercises 3.4
1. Consider the initial value problem
t−1 0 t
(t2 − 16)y 00 + y + y = 0, y(3) = 10, y 0 (3) = −2.
t+π 2−t
What is the largest interval in which a unique solution is guaranteed to exist?
(a) (2, ∞)
(b) (−π, 2)
(c) (−4, 4)
(d) (2, 4)
2. The Existence and Uniqueness Theorem guarantees that the solution to
ty e2t
(t + 2)y 00 − sin ty 0 + = , y(−1) = 0
t−4 t
(a) is valid on (−∞, ∞).
(b) is valid on (−π, 0).
(c) is valid on (−2, 0).
(d) does not exist.
3. Consider the initial value problem
t+2 0
(t + 5)y 00 + y + ln(t)y = 0, y(1) = −10, y 0 (1) = 2.
t−π
What is the largest interval in which a unique solution is guaranteed to exist?
(a) (−∞, −5)
(b) (−5, π)
(c) (−2, ∞)
(d) (0, π)
4. The largest interval on which the differential equation
(t2 − 1)y 00 + sin(t)y 0 + cos(t)y = 0, y(5) = 0, y 0 (5) = 1.
is certain to have a unique twice differentiable solution is
(a) (−∞, 5)
(b) (−1, 1)
(c) (5, ∞)
(d) (1, ∞)
(e) (−∞, −1)
Answers
1. d)
2. c)
3. d)
4. d)
CHAPTER 3. SECOND ORDER DIFFERENTIAL EQUATIONS 66
t2 y100 + ty10 − 4y1 = t2 (t2 )00 + t(t2 )0 − 4(t2 ) = 2t2 + 2t2 − 4t2 = 0
t2 y200 + ty20 − 4y2 = t2 (t−2 )00 + t(t−2 )0 − 4(t−2 ) = t2 (6t−4 ) + t(−2t−3 ) − 4t−2 = 0
b) 3 cos t, −2 sin t
c) −e2t , e2t+5
d) 0, 3 sin 2t
So b) is the correct answer since it it the only one which gives us a nonzero function Wron-
skian.
Besides the definition, there is another way to compute Wronkskian without knowing solutions y1
and y2 by using Abel’s theorem.
ty 00 − 2y 0 − y = 0.
− 2t dt
R R
W (y1 , y2 )(t) = ce− p(t) dt
= ce− = ce2 ln t = ct2 .
ty 00 − 2y 0 + y = 0.
Suppose y1 (t) and y2 (t) are two fundamental sets of solutions of the equation satisfying
− 2t dt
R R
W (y1 , y2 )(t) = ce− p(t) dt
= ce− = ce2 ln t = ct2 . (3.1)
∴ W (y1 , y2 )(1) = y1 (1)y20 (1) − y10 (1)y2 (1) = 2(2) − 0(2) = 4. (3.3)
Comparing Equations (3.2) and (3.3), c = 4. Hence
Exercises 3.5
1. Let y1 (t) and y2 (t) be any two solutions of the second order linear equation
(a) ce−4t
(b) ce4t
(c) c(t + 2)4
c
(d)
(t + 2)4
2. Suppose y1 (t) = et and y2 (t) = cos t are both solutions of the second order linear equation
y 00 + p(t)y 0 + q(t)y = 0.
All of functions below must also be solutions of the same equation, EXCEPT
(a) y = 100π cos t
(b) y = 2et cos t
(c) y = 7et+1 − 3 cos t
(d) y = 0
3. Suppose y1 (t) = 4et and y2 (t) = −2t are two solutions of a certain second order homogeneous
linear equation
y 00 + p(t)y 0 + q(t)y = 0.
(a) Find the Wronskian W (y1 , y2 )(t).
(b) True or false: y1 and y2 form a set of fundamental solutions of this equation. Why
or why not?
(c) Write down a general solution of the differential equation.
(d) Find the particular solution satisfying the initial conditions y(0) = 8 and y 0 (0) = −1.
(e) True or false: y3 = 0 is also a solution of this equation. Why or why not?
(f) True or false: y4 = −8tet is also a solution of this equation. Why or why not?
4. Suppose y1 (t) = 15t3 and y2 (t) = −4t3 ln(t) are two solutions of a certain second order
homogeneous linear equation
y 00 + p(t)y 0 + q(t)y = 0.
5. Let y1 (t) and y2 (t) be any two solutions of the second order linear equation
y 00 + 2 tan(t)y 0 + t3 y = 0.
t2 y 00 − 4ty 0 + 6y = 0.
4et
ty 00 − 4y 0 + y=0
t
and two fundamental solutions y1 (t), y2 (t) such that
compute their Wronskian W (y1 (t), y2 (t)) as a function of time, using Abel’s Theorem. Use
the initial condition to determine the constant of the Wronskian.
10. Let y1 and y2 be two solutions to the linear equation
2t2 y 00 − ty 0 − y = 0.
11. Let y1 (t) and y2 (t) be any two solutions of the second order linear equation
(a) c(t2 + 4)
√
(b) c t2 + 4
c
(c) 2
(t + 4)
(d) c(t2 + 4)2
12. Given that y1 (t) = 1 and y2 (t) = arctan(t) are both solutions of the second order homoge-
neous linear equation
(t2 + 1)y 00 + 2ty 0 = 0.
Determine whether each of the following statements is true or false. State a brief reason
that justifies each answer.
(a) Wronskian W (y1 , y2 )(t) = 0.
(b) y1 and y2 from a set of fundamental solutions of this equation.
(c) y3 (t) = 7 + 5 arctan(t) is also a solution of the equation.
(d) There are additional solutions that cannot expressed as a linear combination of y1 and
y2 .
(e) Each solution is unique to its corresponding initial conditions only on the interval
−1 < t < 1.
13. y1 (t) = tet and y2 (t) = t2 are both solutions of the second order linear differential equation
y 00 + p(t)y 0 + q(t)y = 0.
Answers
1. d)
2. b)
3. a) −8et + 8tet , b) True since W (y1 , y2 ) 6= 0, c) y(t) = c1 et + c2 t, d) y(t) = 8et − 9t, e) True, f)
False
4. a) −60t5 , b) True since W (y1 , y2 ) 6= 0, c) y(t) = c1 t3 + c2 t3 ln(t), d) False, e) True
5. a)
6. c)
7. b)
8. First substitute y1 and y2 into the equation to verify that they both satisfy it. Then calculate
their Wronskian, W (y1 , y2 )(t) = t4 6= 0 when t > 0.
9. 3t4
10. a)
11. c)
12. a) F, b) T, c) T, d) F, e) F
13. a) t2 et − t3 et , b) F, c) T, d) F
CHAPTER 3. SECOND ORDER DIFFERENTIAL EQUATIONS 72
In this course we focus on a simpler case where the coefficients are constant:
ay 00 + by 0 + cy = g(t),
where a 6= 0, g(t) 6= 0 and a, b, c are constants. The complementary solution yc (t) (the general
solution to ay 00 +by 0 +cy = 0) can be easily found from the roots of characteristic equation that we
studied before. So the only task remaining is to find the particular solution Y (t). The method
of undetermined coefficients will give us the answer.
Let
g(t) = g1 (t) + · · · + gn (t).
This method gives us the form of
with undetermined coefficients where the form of Yi (t) depends on the form of gi (t) by the table
below.
gi (t) Yi (t)
3. Pn (t)eαt sin βt, Pn (t)eαt cos βt, ts (A0 tn + A1 tn−1 + · · · + An )eαt cos βt
Here s is the smallest nonnegative integer (s = 0, 1, or 2) that will ensure that no term in Yi (t) is
a solution of the corresponding homogeneous equation.
CHAPTER 3. SECOND ORDER DIFFERENTIAL EQUATIONS 73
gi (t) Yi (t)
3 A
2t At + B
gi (t) Yi (t)
t2 − 5t At2 + Bt + C
3e−t Ae−t
−5t − 3 At + B
y 00 + 4y 0 + 4y = 0.
y 00 − 4y 0 + 8y = g(t).
For each of parts b) through d) write down the correct choice of the form of particular solution
that you would use to solve the given equation using the Method of Undetermined Coefficients.
b) y 00 − 4y 0 + 8y = 2e2t − 5t2 + sin 2t.
Solution From g(t) = 2e2t − 5t2 + sin 2t, then
c) y 00 − 4y 0 + 8y = −e2t sin 2t + 1.
Solution From g(t) = −e2t sin 2t + 1, we have
y 00 + 5y 0 + 4y = g(t).
For each of parts b) through d) write down the correct choice of the form of particular solution
that you would use to solve the given equation using the Method of Undetermined Coefficients.
b) y 00 + 5y 0 + 4y = 6e−4t + 2et .
Solution From g(t) = 6e−4t + 2et , then
d) y 00 + 5y 0 + 4y = t2 e−4t sin t.
Solution Since g(t) = t2 e−4t sin t,
After we learned how to find an appropriate form of the particular solution Y (t) by using the
method of undetermined coefficients, we are ready to solve nonhomogeneous equation
ay 00 + by 0 + cy = g(t).
CHAPTER 3. SECOND ORDER DIFFERENTIAL EQUATIONS 76
y 00 − 4y 0 + 5y = e2t − 10t.
e2t − 10t = Y 00 − 4Y 0 + 5Y
= (4Ae2t ) − 4(2Ae2t + B) + 5(Ae2t + Bt + C)
= (4Ae2t − 8Ae2t + 5Ae2t ) + 5Bt + (−4B + 5C)
= (4A − 8A + 5A)e2t + 5Bt + (5C − 4B)
= Ae2t + 5Bt + (5C − 4B)
A = 1, 5B = −10, 5C − 4B = 0.
8 8
So A = 1, B = −2 and C = − . So Y (t) = e2t − 2t − . Thus the general solution is
5 5
8
y(t) = yc (t) + Y (t) = c1 e2t cos t + c2 e2t sin t + e2t − 2t − .
5
y 00 − y 0 − 2y = g(t).
r2 − r − 2 = 0 ⇒ (r − 2)(r + 1) = 0 ⇒ r = 2, −1.
Then Y 0 (t) = −2A sin 2t + 2B cos 2t and Y 00 (t) = −4A cos 2t − 4B sin 2t. Since Y is the
particular solution to y 00 − y 0 − 2y = 3 sin 2t, we have
3 sin 2t = Y 00 − Y 0 − 2Y
= (−4A cos 2t − 4B sin 2t) − (−2A sin 2t + 2B cos 2t) − 2(A cos 2t + B sin 2t)
= (−4A − 2B − 2A) cos 2t + (−4B + 2A − 2B) sin 2t
= (−6A − 2B) cos 2t + (2A − 6B) sin 2t.
−6A − 2B = 0, and 2A − 6B = 3.
3 9
Then A = and B = − . So
20 20
3 9
Y (t) = cos 2t − sin 2t.
20 20
c) Write down the correct choice of the form of particular solution that you would use to
solve the equation below using the method of undetermined coefficients.
y 00 + 3y 0 − 4y = 0.
r2 + 3r − 4 = 0 ⇒ (r + 4)(r − 1) = 0 ⇒ r = −4, 1.
Then Y 0 (t) = −2A sin 2t + 2B cos 2t and Y 00 (t) = −4A cos 2t − 4B sin 2t. Since Y is the
particular solution to y 00 + 3y 0 − 4y = 50 sin 2t, we have
50 sin 2t = Y 00 + 3Y 0 − 4Y
= (−4A cos 2t − 4B sin 2t) + 3(−2A sin 2t + 2B cos 2t) − 4(A cos 2t + B sin 2t)
= (−4A + 6B − 4A) cos 2t + (−4B − 6A − 4B) sin 2t
= (−8A + 6B) cos 2t + (−6A − 8B) sin 2t.
They give A = −3 and B = −4. So Y (t) = −3 cos 2t−4 sin 2t. Thus the general solution
to y 00 + 3y 0 − 4y = 0 is
y 00 − 2y 0 + 5y = 5t2 + 6t − 12.
Y (t) = At2 + Bt + C.
Then Y 0 (t) = 2At + B and Y 00 = 2A. Since Y satisfies the given equation,
5t2 + 6t − 12 = Y 00 − 2Y 0 + 5Y
= (2A) − 2(2At + B) + 5(At2 + Bt + C)
= 5At2 + (−4A + 5B)t + (2A − 2B + 5C)
5A = 5, −4A + 5B = 6, 2A − 2B + 5C = −12.
Exercises 3.6
1. Consider the nonhomogeneous second order linear equation of the form
y 00 − 8y 0 + 16y = g(t).
y 00 − 8y 0 − 9y = 18t + 20.
y 00 + 4y 0 = 2et + t.
y 00 − 6y 0 + 9y = t2 + e3t − 4 cos t?
11. When using the method of undetermined coefficients to solve the following equation, what
is the form of the particular solution? Do not solve for the constants.
12. Consider the nonhomogeneous second order linear equation of the form
y 00 − 4y 0 + 8y = g(t).
For each of parts b) through d), write down the correct choice of the form of particular
solution that you would use to solve the given equation using the Method of Undetermined
Coefficients? DO NOT ATTEMPT TO SOLVE THE COEFFICIENTS.
(a) y 00 − 4y 0 + 8y = 2e2t − 5t2 + sin 2t
(b) y 00 − 4y + 8y 0 = −e2t sin 2t + 1
(c) y 00 − 4y + 8y 0 = t2 e−t cos 5t
13. Consider the second order nonhomogeneous linear equation
y 00 − 2y 0 − 3y = 3te2t .
y 00 + 3y 0 + 2y = 20 sin(2t) + 4t.
Answers
1. a) yc (t) = c1 e4t + c2 te4t , b) y = c1 e4t + c2 te4t + 25 e2t , c) Y = A cos 4t + B sin 4t + (Ct4 + Dt3 +
Et2 )e4t
2. a) yc = c1 e9t + c2 e−t , b) y = c1 e9t + c2 e−t − 2t − 94 , c) Y = (At2 + Bt)e−t + Ce9t cos(4t) +
De9t sin(4t)
3. a) yc = c1 e5t + c2 te5t , b) y = c1 e5t + c2 te5t + 23 e2t , c) Y = (At3 + Bt2 )e5t + Ce−5t cos(t) +
De−5t sin(t)
4. a) yc = c1 + c2 e−4t , b) y = c1 + c2 e−4t + 25 et + 18 t2 − 16 1
t,
−4t −4t −4t
c) Y = (At + B)e cos 6t + (Ct + D)e sin 6t + Ete
5. Y = At2 + Bt + C + Dt2 e3t + E cos t + F sin t
6. d)
7. b)
8. a) (At2 + Bt + c)e7t t2 , b) (At + B)et t
9. c)
10. y(t) = e7t − 3e−2t + t2 + 2
11. Y (t) = (At2 + Bt + C)e3t + Dte−t + (Et + F )e2t cos 2t + (Gt + H)e2t sin 2t
12. a) yc = c1 e2t cos 2t + c2 e2t sin 2t, b) Ae2t + Bt2 + Ct + D + E cos 2t + F sin 2t
c) Ate2t cos 2t + Bte2t sin 2t + C, d) (At2 + Bt + C)e−t cos 5t + (Dt2 + Et + F )e−t sin 5t
13. a) yc = c1 e−t + c2 e3t , b) Y (t) = c1 e−t + c2 e3t − (t + 32 )e2t , c) Y (t) = 23 e−t + e3t − (t + 23 )e2t
14. a) yc = c1 e−2t + c2 e−t , b) Y (t) = c1 e−2t + c2 e−t − sin(2t) − 3 cos(2t) + 2t − 3, c) Y (t) =
−4e−2t + 10e−t − sin(2t) − 3 cos(2t) + 2t − 3
CHAPTER 3. SECOND ORDER DIFFERENTIAL EQUATIONS 82
Let u(t), measured positive downward, denote the displacement of the mass from its equilibrium
position at time t. The differential equation governing the movement of the mass is
Fd
γ= .
u0
• u0 = velocity.
• k = spring constant (k > 0) which can be found from
mg w
k= = .
L L
In conclusion, we have
as the IVP for mechanical vibrations in which its coefficients can be found from
w Fd mg w
m= , γ= , k= = ,
g u0 L L
where
• m = mass (m > 0) (kg).
• w = weight of the object (lb).
Example 62.
A mass weighing 4 lb stretches a spring 2 in. Suppose that the mass is displaced in additional
6 in the positive direction and then released. The mass is in a medium that exerts a vicious
resistance of 6 lb when the mass has a velocity of 3 ft/s. Under the assumption, formulate
the IVP that governs the motion of the mass.
Solution We will measure t in second and displacement u in feet. The initial conditions are
6 1
u(0) = = , u0 (0) = 0.
12 2
We also have
w 4 lb 1
m= = 2 = 8
g 32 ft/s
Fd 6 lb
γ= 0 = =2
u 3 ft/s
w 4 lb
k= = 2 = 24.
L 12 ft
CHAPTER 3. SECOND ORDER DIFFERENTIAL EQUATIONS 84
Nothing is said about the external force, F (t) = 0. So the IVP describes the u(t) is
1 00 1
u + 2u0 + 24u = 0, u(0) = , u0 (0) = 0.
8 2
Now we ’re taking a closer look to the solution of the modeling of mechanical vibrations
To get a clear picture of what’s going on, we rewrite the solution of u(t) to the form
c1 = R cos δ, c2 = R sin δ.
Using the new form of the solution, it is easier to graph as it is shown below.
We summarize all the details here:
CHAPTER 3. SECOND ORDER DIFFERENTIAL EQUATIONS 85
mu00 + ku = 0
where
c2
q
tan δ = , R= c21 + c22 ,
c1
• w0 = the natural frequency of the system.
r
2π m
• T = the (natural) period of the motion, T = = 2π .
w0 k
• δ = the phase of displacement.
mg 2(10)
k= = 1 = 200.
L 10
CHAPTER 3. SECOND ORDER DIFFERENTIAL EQUATIONS 86
r2 + 100 = 0 ⇒ r = ±10i.
So we have u(t) = c1 cos 10t+c2 sin 10t. Hence u0 (t) = −10c1 sin 10t+10c2 cos 10t. Then
apply initial conditions,
1 1
u(0) = ⇒ c1 =
5 5
u0 (0) = 2 ⇒ 10c2 = 2.
1
Therefore c1 = c2 = 5 and then
1 1
u(t) = cos 10t + sin 10t.
5 5
mu00 + γu0 + ku = 0.
t
Figure 3.3: Critically damped motions: u00 + u0 + 0.25u = 0; u = (A + Bt)e− 2
Like the first case, the mass could cross its equilibrium position at most one time.
3. γ 2 − 4mk < 0 (the most interesting case). A system is called underdamped. This case we
have p
−γ 4mk − γ 2
r1,2 = ± i.
2m 2m
So the solution is
u(t) = c1 eλt cos µt + c2 eλt sin µt
√
γ 4mk−γ 2
where λ = − 2m < 0 and µ = 2m > 0. Since λ < 0, we have lim u(t) = 0. Also we
t→∞
can use the same tactic that we used in undamped free vibration case to rewrite the solution
to
u(t) = Reλt cos(µt − δ),
p c2
where R = c21 + c22 and tan δ = . Here
c1
• µ is called the quasi frequency of the system.
2π
• Td is called the quasi period which can be found from Td = µ .
In this case the mass crosses its equilibrium position infinitely many times. The displacement
function u(t) is oscillating (not periodic) but the amplitude is decaying exponentially.
Note here that in all 3 cases, the displacement function u(t) tends to zero as t → ∞ reflecting the
fact that we we include the effect of damping to the system.
Then apply the initial conditions to receive c1 = 2 and c2 = 1. (check!) So the particular
solution is
y(t) = 2e−2t cos 4t + e−2t sin 4t.
c) True or False: Every nonzero solution of this mass-spring system will cross the equilib-
rium position more than once.
Solution True since this system is underdamped (γ 2 −4mk = 42 −4(1)(20) = −64 < 0).
(Indeed, it crosses the equilibrium position infinitely many times.)
And so
(γ − 12)(γ + 12) > 0 ⇒ γ > 12 or γ < −12.
But for the mass-spring system, γ ≥ 0. Hence γ > 12 is the final answer.
c) For which values of γ, there is a solution that crosses equilibrium position exactly 5
times.
Solution None, it could not happen since a solution either crosses equilibrium position
at most once (for overdamped or critically damped system) or infinitely many times (for
underdamped system).
mu00 + ku = F (t).
We are interested in the case where F (t) is a periodic function. Let us assume that F (t) = F0 cos wt
(or F (t) = F0 sin wt). So now we have
1. Beat (when w 6= w0 )
In this case, the form of the particular solution corresponding to the forcing function is
Figure 3.5: Beat; sol of u00 + u = 0.5 cos 0.8t, u(0) = 0, u0 (0) = 0; u = 2.77778(sin 0.1t)(sin 0.9t).
This type of motion, possessing a periodic variation of amplitude, exhibits what is called a
beat.
2. Resonance (when w = w0 )
In this case, since w = w0 , the form of the particular solution is
F0
u(t) = c1 cos w0 t + c2 sin w0 t + t sin w0 t.
2mw0
The first two terms can be combine to R cos(w0 t − δ) representing the steady oscillation.
While the last term will become unbounded as t → ∞ regardless of the values of c1 and c2 .
So
F0
u(t) = R cos(w0 t − δ) + t sin w0 t.
2mw0
This phenomenon is called resonance.
CHAPTER 3. SECOND ORDER DIFFERENTIAL EQUATIONS 91
Figure 3.6: Resonance; solution of u00 + u = 0.5 cos t, u(0) = 0, u0 (0) = 0; u = 0.25t sin t.
2u00 + 2u = 5 cos t,
Exercises 3.7
1. A mass weighing 0.25 kg stretches a spring 1.25 m. The mass-spring system has a damping
constant of 12 kg/s. At t = 0 the mass is displaced an additional 50 cm downward from its
equilibrium position and set in motion with an upward velocity of 2 m/s. (You may use
g = 10 m/s2 as the gravitational constant. )
(a) Write an initial value problem that describes the motion of the mass.
(b) Determine the system’s quasi frequency and quasi period.
2. A mass-spring system is described by the equation
(a) Suppose the mass originally stretched the spring 2 m to reach its equilibrium position.
What is the spring constant k? (Assume g = 10 m/s2 to be the gravitational constant)
(b) Suppose k = 45. For what value(s) of γ would this system be critically damped?
(c) Suppose γ = 0 and k = 400. What is the natural frequency of this system?
A second mass-spring system is described by the initial value problem
Answer the following questions. Be sure to justify your answer. Full credit will not be given
without supporting work.
(a) For what value(s) of k would the system be overdamped?
(b) When k = 12, determine whether the system is overdamped, underdamped or critically
damped.
(c) The system would oscillate when: k = 9 or k = 15. (Circle the correct value and justify
your answer.)
(d) Find the quasi-period of the system whose k-value you found in part iii).
(e) True or false: When k = 3 the mass will never cross the system’s equilibrium position
more than once.
5. A mass of 2 kg stretches a spring 0.4 m. The system has no damping. At t = 0, the mass
is pulled down 1 m from its equilibrium position and set in motion with with an initial
downward velocity of 4 m/s. You may use g = 10 m/s2 as the gravitational constant.
6. When an object with mass 5 kg is attached to a spring, the object stretches the spring by 2
m. A damper with damping coefficient of 4 N/m is attached to the system. Assume there
is no external force acting on the system and that acceleration due to gravity 10 m/s2 . If
the object is released 1 m above its equilibrium position and is given an initial downward
velocity of 3 m/s, which initial value problem describes the displacement of the mass from
its equilibrium position? Take the downward direction to be positive for all displacements
and forces.
(a) 5y 00 + 4y 0 + 25y = 0, y(0) = 1, y 0 (0) = −3
(b) 5y 00 + 4y 0 + 25y = 0, y(0) = −1, y 0 (0) = 3
(c) 5y 00 + 4y 0 + 10y = 0, y(0) = 1, y 0 (0) = −3
(d) 5y 00 + 4y 0 + 10y = 0, y(0) = −1, y 0 (0) = 3
7. A spring-mass system is modeled by the initial value problem
Answer the following questions. Be sure to justify your answer. Full credit will not be given
without supporting work.
(a) Suppose the spring was stretched 4 meters by the mass to its equilibrium position. Find
the value of k. You may use g = 0 as the gravitational constant.
(b) Suppose k = 20. For what value(s) of γ would this system be critically damped?
(c) Suppose γ = 9 and k = 6. Will any nonzero solution of the equation cross the equilib-
rium position exactly once?
(d) Suppose γ = 10 and k = 10. Find the quasi frequency of the system.
(e) Suppose a force of F (t) = 100 cos(αt) is applied to the system and given k = 150. What
are the values of γ and α if the system exhibits resonance?
CHAPTER 3. SECOND ORDER DIFFERENTIAL EQUATIONS 94
(a) Suppose γ = 8. Find the real-valued particular solution of this initial value problem.
(b) What is the quasi-period of this mass-spring system described in a)?
(c) True or false: Some, but not at all, nonzero solutions of this mass-spring system, with
γ = 8 (regardless of initial conditions), will cross the equilibrium position more than
once.
(d) Find all the value(s) of γ that would make the system to be overdamped.
12. Suppose a mass-spring system described by the equation
Answers
√
1. a) 41 u00 + 12 u0 + 2u = 0, u(0) = 12 , u0 (0) = −2, b) µ = 7, T = √
2π
7
√ −9π
2. a) k = 25, b) γ = 30, c) ω0 = 4 5, d) u = −2e 2 , e) µ = 1
3. 2
4. a) 0 < k < 12, b) critically damped, c) k = 15, d) T = 2π, v) True
5. a) k = 50, b) 2u00 + 50u = 0, u(0) = 1, u0 (0) = 4
6. b) √
7. a) 13, b) 2, c) γ ≥ 8
8. b)
√ √
9. a) 15, b) 4 30, c) No, d) 635 , e) 5
10. a) π2 , b) u(t) = 6e−4t + 20te−4t , c) critically damped, d) T
√
11. a) u(t) = 2e−t sin 2t, b) π, c) F, d) γ > 8 5
12. d)
Chapter 4
Theorem 7 (Existence and Uniqueness Theorem for nth order linear equation).
If the functions p1 , p2 , . . . , pn , and g are continuous on the open interval I, then there exists
exactly one solution y = φ(t) of the differential equation
t2 9
y (6) + y 000 + y = 0.
(t − 2)(t + 2) (t − 2)(t + 2)
95
CHAPTER 4. HIGHER ORDER LINEAR EQUATION 96
c1 y1 + c2 y2 + . . . + cn yn .
Just as for second order linear equation, we have the following theorem involving the Wronskian.
and if W (y1 , y2 , . . . , yn )(t) 6= 0 for at least one point in I, then every solution of the above
homogeneous equation can be expressed as a linear combination of the solutions y1 , y2 , . . . , yn .
for all t in I.
• The functions f1 , f2 , . . . , fn are said to be linearly independent on I if they are not linearly
dependent there.
• In special case n = 2,
Theorem 10. If f and g are differentiable functions on an open interval I such that
W (f, g)(t0 ) 6= 0 for some point t0 in I, then f and g are linearly independent on I. Equiva-
lently, if f and g are linearly dependent on I, then W (f, g)(t) = 0 for all t in I.
Theorem 11. If f and g are differentiable functions on an open interval I such that f (t) 6= 0
and W (f, g)(t) = 0 for all t in I, then f and g are linearly dependent which means f (t) = cg(t)
for a constant c.
In a nutshell, we have
2. If their Wronskian is not a zero function then they are linearly independent.
3. Otherwise, find a constant c such that f = cg, then they are linearly dependent. (since
a vanishing Wronskian does not necessarily imply linear dependence)
Example 68. Determine whether each pair of functions is linearly independent or linearly
dependent.
a) e2t − 1, 2 − 2e2t
Solution They are linearly dependent since we can write
c) 2e5t , e5t − 5
Solution Consider their Wronskian,
2e5t e5t − 5
W (2e5t , e5t − 5) = = 10e10t − (10e10t − 50e5t ) = 50e5t 6= 0.
10e5t 5t
5e
f ) sin 3t, 0
Solution They are linearly dependent since
0 = (0)(sin 3t).
g) e−t , e4t
Solution Consider their Wronskian,
e−t e4t
−t 4t = 4e3t + e4t = 5e3t 6= 0.
W (e , e ) =
−e−t 4e4t
Exercises 4.1
1. Which pair of functions below is linearly independent?
(a) et , −et
(b) sin 3t, 0
2t 2t+1
(c) e , e
−t
(d) e , 2 + e−t
2. Indicate whether the two functions are linearly independent on the interval (−∞, ∞):
(a) e2t , e2t + 2
(b) sin(2t), sin(2t + 2π)
(c) t + 1, 2t + 2
3. All of the following pairs of functions are linearly independent on (−∞, ∞) EXCEPT
a) e−t , e4t
b) et , et − 5
c) e3t , e3t+3
d) cos(2t), sin(2t + 4π)
4. Which of the following pairs of the functions is not linearly independent on (−∞, ∞)?
1 1
(a) e 3 t , e− 3 t
(b) e−t , 2e−(t−4)
(c) 3 cos(πt), 2 sin(πt)
5t
(d) 5, e
5. Let y1 (t) and y2 (t) be two solutions of a second order homogeneous, linear differential equa-
tion. Suppose the Wronskian W (y1 , y2 ) = e−t . Which of the following is FALSE?
(a) y1 (t) and y2 (t) are linearly independent functions.
(b) 2y1 (t) − 3y2 (t) is also a solution of the differential equation.
(c) y1 (t) and y2 (t) do not constitute a fundamental set of solutions.
(d) All solutions of the differential equation can be expressed as c1 y1 + c2 y2 , where c1 and
c2 are constants.
(e) W (2y1 (t), 3y2 (t)) = 6e−t .
Answers
1. d)
2. a) yes, b) no, c) no
3. c)
4. b)
5. c)
6. d)
7. yes
8. -
a0 y (n) + a1 y (n−1) + . . . + an y = 0
are solutions.
Example 72. Let (r2 + 6r + 13)3 = 0 be the characteristic equation of certain differential
equation. What is the general solution to that equation?
Solution From
√
2 −6 ± 36 − 52
r + 6r + 13 = 0 ⇒ r = = −3 ± 2i.
2
So for (r2 + 6r + 13)3 = 0, we have r = −3 ± 2i, −3 ± 2i, −3 ± 2i as all roots. Therefore the
general solution is
y = c1 e−3t cos 2t+c2 e−3t sin 2t+t(c3 e−3t cos 2t+c4 e−3t sin 2t)+t2 (c5 e−3t cos 2t+c6 e−3t sin 2t).
CHAPTER 4. HIGHER ORDER LINEAR EQUATION 102
Exercises 4.2
1. Find the general solution of the linear equation
2. Find the general solution of the equation below by examining its characteristic equation.
y 000 + 4y 0 = 0
y (4) − 2y (3) + y 00 = 0.
2y (4) + 50y 00 = 0.
y (4) − 8y 00 + 16y = 0.
y 000 + 4y 00 = 0.
y 000 + y 00 + y 0 + y = 0.
y 0000 + 6y 00 + 9y = 0.
Answers
1. y = c1 + c2 t + c3 t2 + c4 cos 4t + c5 sin 4t
2. y = c1 + c2 cos 2t + c3 sin 2t
3. a)
4. b)
5. y = c1 + c2 t + c3 t2 + c4 e−t cos 2t + c5 e−t sin 2t
6. c)
7. b)
8. c)
9. d)
Chapter 5
Laplace Transform
Laplace transform can be used to solve IVPs that we can’t use any previous methods we’ve learned
so far.
∞ A
e(a−s)t t=A
Z Z
L{eat } = e−st eat dt = lim e(a−s)t dt = lim
0 A→∞ 0 A→∞ a − s t=0
(a−s)A
e 1 1
= lim − = , if s > a.
A→∞ a−s a−s s−a
1
So L{eat } = , if s > a.
s−a
104
CHAPTER 5. LAPLACE TRANSFORM 105
e−st sin at a
Z Z
e−st sin at dt = − + e−st cos at dt
s s
e−st cos at a
Z Z
e−st cos at dt = − − e−st sin at dt
s s
Substitute the second equation into the first one,
• Notice that we had to put a restriction on s in order to actually compute the Laplace
transform. All Laplace transform will have restrictions on s. From now on we omit this but
we really shouldn’t forget that it’s there for our convenience.
1 s
15. f (ct) c F ( c ), c>0
Rt
16. 0
f (t − τ )g(τ ) dt F (s)G(s)
n = 1, tf (t) −F 0 (s)
n = 2, t2 f (t) F 00 (s)
Let’s see how we apply properties of Laplace transform and formulas in Laplace transform table.
Solution True for the first one by properties of Laplace transform and false for the last two
since the Laplace transform of the product does not necessarily equal the product of Laplace
transforms.
Solution
Solution
Solution
L{−9 sin 4t + 2 cos 10t − e3t cos 6t} = −9L{sin 4t} + 2L{cos 10t} − L{e3t cos 6t}
4 s s−3
= −9( 2 )+2 2 −
s + 42 s + 102 (s − 3)2 + 62
36 2s s−3
=− 2 + 2 − 2 .
s + 16 s + 100 s − 6s + 45
Solution
Solution
Solution
2
L{t2 sin 2t} = (L{sin 2t})00 = ( )00
s2 + 4
−4s 0 12s2 − 16
=( 2 ) = .
(s + 4)2 (s2 + 4)3
CHAPTER 5. LAPLACE TRANSFORM 109
Exercises 5.1
1. Which of the following is the Laplace transform of t sin(2t)?
−2
(a)
(s2
+ 4)2
4s
(b) 2
(s + 4)2
s
(c) 2
(s + 4)
3
(d) 2 2
s (s + 4)2
2. For each part below, determine whether the statement is true or false. You must justify your
answers.
(a) L{f (t)g(t)} = L{f (t)}L{g(t)}
(b) L{cos(2t) sin(2t)} =
6 L{cos(2t)}L{sin(2t)}
s2 2t (s − 2)2
(c) Suppose L{f (t)} = , then L{e f (t)} = .
s4 + 1 (s − 2)4 + 1
3. Evaluate the following definite integral
Z ∞
e−st t2 dt
2
2
a)
s3
2e−2s
b)
s3
2 4 4
c) 3 + 2 +
s s s
−2s 2 4 4
d) e ( 3 + 2 + )
s s s
4. Evaluate the following definite integral
Z ∞
e(1−s)t cos 3t dt.
0
s−1
a)
s2 − 2s + 10
s−1
b) e−s 2
s − 2s + 10
s+1
c) e−s 2
s + 2s + 10
s+1
d) 2
s + 2s + 10
6s
5. Given that L{f (t)} = . Use properties of the Laplace transform to determine L{tf (t)}.
s3 + 64
CHAPTER 5. LAPLACE TRANSFORM 110
6. Suppose
s2
L{f (t)} = .
s3 + 27
What is L{7e5t f (t)}?
7(s − 5)2
(a)
(s − 5)3 + 27
7s2
(b)
(s − 5)(s3 + 27)
7s2
(c)
s(s − 5)(s3 + 27)
7(s + 5)2
(d)
(s + 5)3 + 27
7. (a) What is the definition of the Laplace transform L{e3t }?
(b) Use the answer to Part (a) to calculate L{e3t }. (Be sure to explain why this exists only
when s > 3).
3 2
a) +
s4 s2 + 4
6 2
b) 4 + 2
s s +4
6 1
c) 4 + 2
s s + 22
3 1
d) 2 + 2
s s + 22
14. For each part below, determine whether the statement is true or false. State a brief reason
that justifies each answer.
(a) L{e−2t+3 (sin(t) + cos(t))} = e3 L{e−2t sin(t)} + e3 L{e−2t cos(t)}.
(b) Suppose L{f (t)} = e−s s then L{et f (t)} = e−s+1 s − e−s+1 .
1 2s
(c) Suppose L{f (t)} = 2
, then L{tf (t)} = .
1+s (1 + s2 )2
Answers
1. b)
2. a) F, b) T, c) T
3. d)
4. a)
12s3 − 384
5.
(s3 + 64)2
6. a)
R∞ 1
7. a) 0 e−st e3t dt, b)
s−3
s+3 1
8. a) 2 , b)
s + 6s + 34 (s − 5)2
9. d)
10. a)
11. b)
s−4 2(s + π)2
12. a) 2 , b)
s − 8s + 25 (s + π)4 + 100
13. b)
14. a) T, b) T, c) T
CHAPTER 5. LAPLACE TRANSFORM 112
2 11
2. F (s) = − 5
3s − 5 s
Solution
2 11 1 1
L−1 { − 5 } = 2L−1 { 5 } + 11L−1 { 4+1 }
3s − 5 s 3(s − 3 ) s
2 −1 1 11 −1 4!
= L { } + L { 4+1 }
3 s − 53 4! s
2 5 t 11 4
= e3 + t .
3 24
6s 4
3. F (s) = −
s2 + 9 s2 + 25
Solution
6s 4 s 1
L−1 { − } = 6L−1 { 2 } − 4L−1 { 2 }
s2 + 9 s2 + 25 s + 32 s + 52
s 4 5
= 6L−1 { 2 2
} − L−1 { 2 }
s +3 5 s + 52
4
= 6 cos 3t − sin 5t.
5
CHAPTER 5. LAPLACE TRANSFORM 113
−4 3
4. F (s) = +
3s2 + 12 s2 − 49
Solution
−4 3 1 1
L−1 { + } = −4L−1 { 2 } + 3L−1 { 2 }
3s2 + 12 s2 − 49 3(s + 22 ) s − 72
−4 −1 2 3 7
= L { 2 2
} + L−1 { 2 }
3(2) s +2 7 s − 72
2 3
= − sin 2t + sinh 7t.
3 7
2s − 5
5. F (s) =
s2 + 7
Solution
2s − 5 2s 5
L−1 { } = L−1 { 2 − }
s2 + 7 s + 7 s2 + 7
s 1
= 2L−1 { √ 2 } − 5L {
−1
√ 2}
s2 + 7 s2 + 7
√
−1 s 5 −1 7
= 2L { √ 2} − √ L { √ 2}
2
s + 7 7 2
s + 7
√ 5 √
= 2 cos 7t − √ sin 7t.
7
2s − 1 2(s + 2 − 2) − 1 2(s + 2) − 5
L−1 { } = L−1 { } = L−1 { }
s2 + 4s + 5 2
(s + 2) + 1 2 (s + 2)2 + 12
s+2 1
= 2L−1 { } − 5L−1 { }
(s + 2)2 + 12 (s + 2)2 + 12
= 2e−2t cos t − 5e−2t sin t.
1 − 3s
2. F (s) =
s2 + 8s + 21
√ 2
Solution We have s2 + 8s + 21 = (s2 + 8s + 42 ) − 42 + 21 = (s + 4)2 + 5 .
1 − 3s 1 − 3(s + 4 − 4) −1 1 − 3(s + 4) + 12
L−1 { } = L−1 { √ 2 }=L { √ 2 }
s2 + 8s + 21 (s + 4)2 + 5 (s + 4)2 + 5
13 3(s + 4)
= L−1 { √ 2 − √ 2}
(s + 4)2 + 5 (s + 4)2 + 5
√
13 5 s+4
= √ L−1 { −1
√ 2 } − 3L { √ 2}
5 (s + 4)2 + 5 (s + 4)2 + 5
13 √ √
= √ e−4t sin 5t − 3e−4t cos 5t.
5
CHAPTER 5. LAPLACE TRANSFORM 114
2s − 3
3. F (s) =
s2 + 6s + 13
Solution We have s2 + 6s + 13 = (s2 + 6s + 32 ) − 32 + 13 = (s + 3)2 + 22 .
2s − 3 2(s + 3 − 3) − 3 2(s + 3) − 9
L−1 { } = L−1 { } = L−1 { }
s2 + 6s + 13 (s + 3)2 + 22 (s + 3)2 + 22
s+3 9 2
= 2L−1 { } − L−1 { }
(s + 3)2 + 22 2 (s + 3)2 + 22
9
= 2e−3t cos 2t − e−3t sin 2t.
2
Now it’s time to remind ourselves how to use the partial fraction decomposition.
2s2 − 1
1. F (s) =
s3 − 3s2 − 10s
Solution First we would like to use partial fraction decomposition to rewrite F as
follows
2s2 − 1 A B C
3 2
= + + .
s − 3s − 10s s s−5 s+2
Then we have,
2s2 − 1 A B C
= + +
s3− 3s2 − 10s s s−5 s+2
A(s − 5)(s + 2) Bs(s + 2) Cs(s − 5)
= + +
s(s − 5)(s + 2) s(s − 5)(s + 2) s(s − 5)(s + 2)
2s2 − 1 A(s − 5)(s + 2) + Bs(s + 2) + Cs(s − 5)
∴ 3 = .
s − 3s2 − 10s s(s − 5)(s + 2)
And so
2s2 − 1 = A(s − 5)(s + 2) + Bs(s + 2) + Cs(s − 5) (5.1)
Hence
A + B + C = 2, −3A + 2B − 5C = 0, −10A = −1
1 7 1
which also give us A = , B = and C = . So
10 5 2
L−1 {F (s)} = L−1 {2s2 − 1}
1 7 1
= L−1 { 10 + 5 + 2 }
s s−5 s+2
1 7 1
= L−1 { 10 } + L−1 { 5 } + L−1 { 2 }
s s−5 s+2
1 7 5t 1 −2t 1 7 5t 1 −2t
= (1) + e + e = + e + e .
10 4 2 10 4 2
s2 + 1
2. F (s) =
s(s + 1)2
Solution Get a new form for F by using partial fraction decomposition,
s2 + 1 A B C
= + +
s(s + 1)2 s s + 1 (s + 1)2
A(s + 1)2 Bs(s + 1) Cs
= + +
s(s + 1)2 s(s + 1)2 s(s + 1)2
A(s + 1)2 + Bs(s + 1) + Cs
=
s(s + 1)2
And so
s2 + 1 = A(s + 1)2 + Bs(s + 1) + Cs (5.2)
Method 2: Now let’s find the coefficients A, B and C, by comparison of the coefficients
of (5.2),
Hence
A + B = 1, 2A + B + C = 0, A=1
which give us A = 1, B = 0 and C = −2.
Therefore, we have
s2 + 1
L−1 {F (s)} = L−1 { }
s(s + 1)2
1 0 −2
= L−1 { + + }
s s + 1 (s + 1)2
1 1
= L−1 { } − 2L−1 { }
s (s + 1)2
= 1 − 2te−t .
5s2 − 20s + 34
3. F (s) =
(s − 6)(s2 + 11)
Solution Using partial fraction decomposition to rewrite F as follows
5s2 − 20s + 34 A Bs + C
= + 2
(s − 6)(s2 + 11) s−6 s + 11
2
A(s + 11) + (Bs + C)(s − 6)
=
(s − 6)(s2 + 11)
(As + 11A) + (Bs2 − 6Bs + Cs − 6C)
2
=
(s − 6)(s2 + 11)
2
(A + B)s + (−6B + C)s + (11A − 6C)
= .
(s − 6)(s2 + 11)
Then we have
Therefore, we have
5s2 − 20s + 34
L−1 {F (s)} = L−1 { }
(s − 6)(s2 + 11)
2 3s − 2
= L−1 { + }
s − 6 s2 + 11
2 3s 2
= L−1 { + − }
s − 6 s2 + 11 s2 + 11
√
1 s 2 −1 11
= 2L−1 { } + 3L−1 { √ 2 } − √ L { √ 2}
s−6 2
s + 11 11 2
s + 11
√ 2 √
= 2e6t + 3 cos 11t − √ sin 11t.
11
Then we have
4s4 +s3 −4s2 −14s−5 = (A+D)s4 +(4A+B +E)s3 +(5A+4B +C)s2 +(5B +4C)s+5C.
(5.4)
Therefore by the comparison of the coefficients of (5.4),
Exercises 5.2
1. Find the inverse Laplace transform of:
−2s + 1
s2 − 2s + 5
(a) −2et cos(2t)
(b) −2et cos(2t) + 3et sin(2t)
(c) −2et cos(2t) + et sin(2t)
(d) −2et cos(2t) − 21 et sin(2t)
s2 − 6s + 10
F (s) = .
(s − 1)(s − 2)(s − 3)
7s2 − 8s + 12
F (s) = .
(s − 2)(s2 + 4)
CHAPTER 5. LAPLACE TRANSFORM 119
Answers
1. d)
2. b)
3. a)
4. a) e2t cos 3t + 2e2t sin 3t, b) 3 + e−2t − 2e3t , c) 2e3t + 8te3t
5. F
5 t 1
6. e − 2e2t + e3t
2 2
7. 3e2t + 4 cos 2t
8. b)
9. a) 3e−2t cos 4t − 21 e−2t sin 4t, b) −1 + 2e−t − 2te−t , c) 2 + cos 2t − sin 2t,
d) δ(t) + 4e2t cos 4t + 29 e2t sin 4t, e) 10
1
+ 75 e5t + 12 e−2t , f) −e−5t + 2 cos 6t + 1
6 sin 6t
CHAPTER 5. LAPLACE TRANSFORM 120
Notice two functions evaluations, y(0) and y 0 (0), that appear in these formula are often what we’ve
been using for initial conditions in our initial value problem. So this mean if we want to apply
these formulas, we need initial conditions at t = 0 only.
• When we solve the initial value problem in the past, we need to first find a general solution,
differentiate it, plug in the initial conditions and then solve for the constants to get the
particular solution.
• But by using Laplace transform, the initial conditions are applied during the first step and
at the end we get the particular solution instead of a general solution.
y 00 + y 0 − 6y = 1, y(0) = 0, y 0 (0) = 2.
Solution First, we take the Laplace transform to both sides of the equation,
1
s2 L{y} − sy(0) − y 0 (0) + (sL{y} − y(0)) − 6L{y} =
s
2
1
s L{y} − s(0) − 2 + (sL{y} − 0) − 6L{y} =
s
2 1
s L{y} + sL{y} − 6L{y} − 2 =
s
2 1
(s + s − 6)L{y} = + 2
s
2s + 1
(s + 3)(s − 2)L{y} =
s
2s + 1
L{y} =
s(s + 3)(s − 2)
CHAPTER 5. LAPLACE TRANSFORM 121
− 54 s + 17
4 A B C
2
= + 2
+
(s − 1) (s + 3) s − 1 (s − 1) s+3
A(s − 1)(s + 3) B(s + 3) C(s − 1)2
= + +
(s − 1)2 (s + 3) (s − 1)2 (s + 3) (s − 1)2 (s + 3)
A(s + 2s − 3) + B(s + 3) + C(s2 − 2s + 1)
2
=
(s − 1)2 (s + 3)
(A + C)s2 + (2A + B − 2C)s + (−3A + 3B + C)
=
(s − 1)2 (s + 3)
− 12 3 1
y = L−1 { } + L−1 { 4
} + L −1
{ 2
}
s−1 (s − 1)2 s+3
1 1 3 1 1 1
= − L−1 { } + L−1 { } + L−1 { }
2 s−1 4 (s − 1)2 2 s+3
1 3 1
∴ y = − et + tet + e−3t .
2 4 2
Exercises 5.3
1. Find L{(eπt sin 3t)000 }. Hint:
(eπt sin 3t)0 = πeπt sin 3t + 3eπt cos 3t
(eπt sin 3t)00 = (π 2 + 9)eπt sin 3t + 6πeπt cos 3t
2. Suppose that the Laplace transform of y is Y . If y(0) = 2 and y 0 (0) = 3, then find the
Laplace transform of y 00 .
3. Suppose y(t) is the solution of the second order linear initial value problem
y 00 + 4y = t, y(0) = 1, y 0 (0) = 0.
What is the Laplace transform of y(t)?
1
(a) Y (s) =
s2 (s2
+ 4)
1 − s2
(b) Y (s) = 2 2
s (s + 4)
s2 + 1
(c) Y (s) = 2 2
s (s + 4)
s3 + 1
(d) Y (s) = 2 2
s (s + 4)
4. Suppose y(t) is the solution of the first order linear initial value problem
y 0 + 2y = t3 e−4t , y(0) = −3.
What is the Laplace transform of y(t)?
6 3
(a) Y (s) = −
(s + 2)(s + 4)4 s+4
6 3
(b) Y (s) = +
(s + 2)(s + 4)4 s+4
3 3
(c) Y (s) = +
(s + 2)(s − 4)4 s+2
3 3
(d) Y (s) = −
(s + 2)(s − 4)4 s+2
Answers
3s3
1. − 3s − 6π
(s − π)2 + 9
2. s2 Y − 2s + 3
3. d)
4. a)
CHAPTER 5. LAPLACE TRANSFORM 123
Example 88. Write the following function in terms of unit step function.
3,
t<2
f (t) = −1, 2≤t<7.
2, t ≥ 7.
Solution
Then f (t) = 3 + (−1 − 3)u2 (t) + (2 − (−1))u7 (t) = 3 − 4u2 (t) + 3u7 (t).
Example 89. Rewrite the following piecewise continuous function f (t) in terms of unit step
functions.
2
t ,
t<1
f (t) = 1 − t, 1≤t<3.
2t
2e , t ≥ 3.
Solution Then f (t) = t2 + (1 − t − t2 )u1 (t) + (2e2t − (1 − t))u3 (t).
Example 90. Sketch the graph of f (t) = u1 (t) + 2u3 (t) − 6u4 (t)
Solution It is easier to graph if we can rewrite the function as a piecewise continuous one.
In order to do that, we consider its value on each subintervals.
And so we have
0,
t<1
1, 1≤t<3
f (t) = .
3,
3≤t<4
−3, t ≥ 4.
CHAPTER 5. LAPLACE TRANSFORM 125
Now let’s consider the Laplace transform formulas involving unit step functions. By the definition,
Z ∞ Z c Z ∞
L{uc (t)} = e−st uc (t) dt = e−st (0) dt + e−st (1) dt
0 0 c
Z ∞ Z A
−st −st
= e dt = lim e dt
c A→∞ c
e−st t=A
−sA
e−sc
e
= lim − = lim − − (− )
A→∞ s t=c A→∞ s s
e−cs
= , if s > 0.
s
And also by changing the variable technique, let ξ = t − c(or t = ξ + c), we have
Z ∞ Z t=∞
L{uc (t)f (t − c)} = e−st uc (t)f (t − c) dt = e−st f (t − c) dt
0 t=c
Z ξ=∞ Z ∞
= e−s(ξ+c) f (ξ) dξ = e−cs e−sξ f (ξ) dξ
ξ=0 0
= e−cs L{f (t)} = e−cs F (s).
So
L−1 {e−cs F (s)} = uc (t)f (t − c) = uc (t)f (t)t7→t−c = uc (t)L−1 {F (s)}t7→t−c .
In conclusion, we have
2! 1 n o
= 2 · 3 + + e−3s L (e4(t+3) − 2(t + 3)2 − (t + 3)
s s
4 1
= 3 + + e−3s L e4t · e12 − 2(t2 + 6t + 9) − t − 3
s s
4 1
= 3 + + e−3s L e4t · e12 − 2t2 − 12t − 18 − t − 3
s s
4 1
= 3 + + e−3s L e4t · e12 − 2t2 − 13t − 21
s s
4 1
= 3 + + e−3s e12 L{e4t } − 2L{t2 } − 13L{t} − 21L{1}
s s
4 1 −3s 12 1 2 1 1
= 3 + +e e · − 2 · 3 − 13 · 2 − 21 ·
s s s−4 s s s
12
4 1 e 4 13 21
∴ L{f (t)} = 3 + + e−3s − − 2 − .
s s s − 4 s3 s s
CHAPTER 5. LAPLACE TRANSFORM 127
Hence
A + C = 0, A + B = 0, B = 1,
which give us A = −1, B = 1 and C = 1.
Therefore
1 −1 1 1
3 2
= + 2+ .
s +s s s s+1
Using L−1 e−3s F (s) = u3 (t)L−1 {F (s)}t7→t−3 ,
e−3s
1
L−1 = u3 (t)L−1
s + s2
3 s3 + s2 t7→t−3
−1 −1 1 1
= u3 (t)L + 2+
s s s + 1 t7→t−3
−t
= u3 (t) −1 + t + e t7→t−3
= u3 (t) −1 + (t − 3) + e−(t−3)
e−3s
∴ L−1 { 3 } = u3 (t) t − 4 + e −t+3)
.
s + s2
Example 95.
2s − 8
Find the inverse Laplace transform of e−4s 2 .
s + 2s + 26
Solution We apply L−1 e−4s F (s) = u4 (t)L−1 {F (s)}t7→t−4 to get
−1 −4s 2s − 8 −1 2s − 8
L e = u4 (t)L
s2 + 2s + 26 s2 + 2s + 26 t7→t−4
−1 2(s + 1 − 1) − 8
= u4 (t)L
(s + 1)2 + 52 t7→t−4
2(s + 1) − 10
= u4 (t)L−1
(s + 1)2 + 52 t7→t−4
−1 s+1 10 −1 5
= u4 (t) 2L − L
(s + 1)2 + 52 5 (s + 1)2 + 52 t7→t−4
= u4 (t) 2e−t cos 5t − 2e−t sin 5t t7→t−4
2s − 8
∴ L−1 {e−4s } = u4 (t) 2e−(t−4) cos 5(t − 4) − 2e−(t−4) sin 5(t − 4) .
s2 + 2s + 26
CHAPTER 5. LAPLACE TRANSFORM 128
−s + 3 −s + 3
L−1 e−9s = u9 (t)L−1
s2 + 6s + 25 s2 + 6s + 25 t7→t−9
−1 −(s + 3 − 3) + 3
= u9 (t)L
(s + 3)2 + 42 t7→t−9
−(s + 3) + 6
= u9 (t)L−1
(s + 3)2 + 42 t7→t−9
s+3 6 −1 4
= u9 (t) −L−1 + L
(s + 3)2 + 42 4 (s + 3)2 + 42 t7→t−9
3
= u9 (t) −e−3t cos 4t + e−3t sin 4t
2 t7→t−9
−1 −4s −s + 3 −3(t−9) 3 −3(t−9)
∴ L {e } = u9 (t) −e cos 4(t − 9) + e sin 4(t − 9)
s2 + 6s + 25 2
Next we’ll use Laplace transform to solve initial value problems containing unit step functions.
This is the benefit of Laplace transform since we can not solve these kind of initial value problems
with the method of undetermined coefficients.
Solution We use the same strategy as before by firstly taking Laplace transform to both sides
of the equation.
e−2s e−6s
−1 −1
y=L −L
s(s − 4)(s + 1) s(s − 4)(s + 1)
−1 1 −1 1
= u2 (t)L − u6 (t)L
s(s − 4)(s + 1) t7→t−2 s(s − 4)(s + 1) t7→t−6
1 1 1 1 1 1
−4 −4
= u2 (t)L−1 + 20 + 5 − u6 (t)L−1 + 20 + 5
s s − 4 s + 1 t7→t−2 s s − 4 s + 1 t7→t−6
1 1 4t 1 −t 1 1 4t 1 −t
= u2 (t) − + e + e − u6 (t) − + e + e
4 20 5 t7→t−2 4 20 5 t7→t−6
1 1 4(t−2) 1 −(t−2) 1 1 4(t−6) 1 −(t−6)
∴ y = u2 (t) − + e + e − u6 (t) − + e + e .
4 20 5 4 20 5
Example 98.
Solve the IVP
(
00 0 0 1, 0 < t < 10
y + 3y + 2y = f (t), y(0) = 0, y (0) = 0, f (t) =
0, t ≥ 10.
Solution We can rewrite f as f (t) = 1 − u10 (t). Then take the Laplace transform to both
sides of the equation,
1 e−10s
s2 L{y} − sy(0) − y 0 (0) + 3 (sL{y} − y(0)) + 2L{y} = −
s s
2
1 e−10s
s L{y} − s(0) − 0 + 3 (sL{y} − 0) + 2L{y} = −
s s
1 e−10s
(s2 + 3s + 2)L{y} = −
s s
1 e−10s
(s + 2)(s + 1)L{y} = −
s s
1 e−10s
L{y} = − .
s(s + 1)(s + 2) s(s + 1)(s + 2)
e−10s
1
y = L−1 − L−1
s(s + 1)(s + 2) s(s + 1)(s + 2)
1 1
= L−1 − u10 (t)L−1
s(s + 1)(s + 2) s(s + 1)(s + 2) t7→t−10
1 1 1 1
−1 2 −1 2 −1 2 −1 2
=L + + − u10 (t)L + +
s s+1 s+2 s s + 1 s + 2 t7→t−10
1 1 1 1
= − e−t + e−2t − u10 (t) − e−t + e−2t
2 2 2 2 t7→t−10
1 −t 1 −2t 1 −(t−10) 1 −2(t−10)
= −e + e − u10 (t) −e + e .
2 2 2 2
CHAPTER 5. LAPLACE TRANSFORM 130
Exercises 5.4
1. Rewrite the following function f (t) in terms of step functions, and find its Laplace transform.
(
3t2 , 0 ≤ t < 2π
f (t) = 2
3t + sin t, t ≥ 2π.
4. Find the Laplace transform of u π2 (t) cos(2t). The following identity may be useful:
Answers
6 1
1. f (t) = 3t2 + u2π (t) sin t, F (s) = + e−2πs 2
s3 s +1
2 2 5 1
2. a) -, b) f (t) = t2 + (6 − t − t2 )u2 (t) + (t − 6)u6 (t), 3 + e−2s (− 3 − 2 ) + e−6s ( 2 )
s s s s
1 1 1 1 1
3. − e−4t + e2t + ( e3(t−3) − e2(t−3) + e−4(t−3) )e9 u3 (t)
6 6 7 6 42
4. a)
5. c)
1 1 2 5 5 e3
6. f (t) = (t + 1) + u3 (t)(t2 − t − 1 + et ), F (s) = 2 + + e−3s ( 3 + 2 + + )
s s s s s s−1
7. b)
8. d)
9. a) F, b) T
1 1 1 19
10. a) u5 (t)(− − (t − 5) + e2(t−5) ),b) u3 (t)(4e−5(t−3) cos 4(t − 3) − e−5(t−3) sin 4(t − 3)), c)
4 2 4 4
u101 (t)(5et−101 cos(3t − 303) + 3et−101 sin(3t − 303))
11. d)
e−7 7e−7
2 3 5
12. 3 + 2 + e−7s + +
s s (s + 1)2 s+1 s
12. d)
4s
13. e−πs 2
4s + 1
14. a)
CHAPTER 5. LAPLACE TRANSFORM 133
Example 100.
Solve the IVP
y 00 + y = δ(t − 2π) cos t, y(0) = 0, y 0 (0) = 1..
Solution Apply the Laplace transform to both sides of the equation.
Exercises 5.5
1. Solve the initial value problem,
8. (a) Use the Laplace transform to solve the following initial value problem
14. Use the Laplace transform to solve the initial value problem
Find L{f (t)} = Y (s), the Laplace transform of its solution. You do not need to simplify
your answer. Do not solve for its inverse transform, y(t)!
16. Use the Laplace transform to solve the initial value problem
(a) 0
π 1
(b) e− 2 s
s2
+1
−π s s
(c) e 2 2
s +1
−π s π
(d) e 2
2
18. Use the Laplace transform to solve the following initial value problem.
(b) Evaluate y( π3 )
Answers
1 2t 1 −2t 1 1
1. y(t) = e − e + u2π (t)[ e2(t−2π) − e−2(t−2π) ]
4 4 4 4
1 −4t 4 −t 2 −(t−3) 2 −4(t−3)
2. y(t) = − e + e + u3 (t)( e − e )
3 3 3 3
2t 2t 2(t−4)
3. y(t) = e − 2te + u4 (t)2(t − 4)e
−1 2t 1 1 1 1
4. y(t) = e + e−3t + e5t + u1 (t)( e5(t−1) − e−3(t−1) )
15 40 24 4 4
5. e−s
t sin 3t 1 cos 3(t − 2) sin 3(t − 1) sin 3t π sin 3
6. a) − − u2 (t)( − ) + u1 (t) + , b) +
9 27 9 9 3 3 27 3
7. F
1 1 1
8. a) y(t) = 2e−t − 2e−2t + 2u1 (t)(e−2(t−1) − e−(t−1) ) + u6 (t)( − e−(t−6) + e−2(t−6) ), b)
2 2 2
9. (3π 2 − 1)e−πs
10. y(t) = u3 (t)e−(t−3) sin(t − 3)
1 3
11. y(t) = e−t cos 2t + e−t sin 2t + u2π (t)e−t+2π sin 2t
2 2
1
12. y(t) = −4e−3t + u(t − 1)e−3(t−1) + 1 − e−3(t−2) u(t − 2)
3
2 −3(t−2) 7 1
13. y(t) = u(t − 2) e + − (t − 2)
9 9 3
1 −2t 1
14. y(t) = − e sin 2t + uπ (t)e−2(t−π) sin(2t − 2π)
2 2
1 e−πs s−2
15. Y (s) = + 3 +
(s +2)(s − 2s + s + 4) s − 2s2 + s+ 4 s3 − 2s2 + s + 4
3 2
2 2 2
16. y(t) = u5 (t) − + e−3t+15 + (t − 5)e−3t+15
9 9 3
17. a)
7 −t 3 −3t 1 −t+6 1 1 −3t+18
18. y(t) = e − e + u6 (t) e − − e
2 2 2 3 6
19. a)
20. a) T, b) T
t sin 3t 1 cos 3(t − 2) sin 3(t − 1) sin 3t π sin(π − 3)
21. a) y(t) = − − u2 (t) − + u1 (t) + , b) +
9 27 9 9 3 3 27 3
Chapter 6
6.1 Introduction
A system of n-linear first order differential equations in n unknowns has the following general
form:
Actually a system of n-linear first order differential equations is equivalent to, mathematically the
same thing, an nth order differential equation.The followings are how we can transform them back
and forth.
We start with the method to transform an nth order differential equation to a system of n-first
order linear equations. Given
138
CHAPTER 6. SYSTEMS OF FIRST ORDER LINEAR EQUATIONS 139
How to transform nth order equation to a system of n first order linear equations:
1. Introduce n new variables x1 , x2 , . . . , xn defined by
x1 = y, x2 = y 0 , ..., xn = y (n−1) .
an−1 a1 a0 g(t)
x0n = − xn − . . . − x2 − x1 + .
an an an an
4. Equations from step 2 and 3 form a system of n first order linear equations.
Solution Introduce 4 new variables since the given equation is the 4th order one,
x1 = y, x2 = y 0 , x3 = y 00 , x4 = y 000 .
t2 000 3 t2 3
y (4) = − y + y 0 − 3ty + sin t ⇒ x04 = − x4 + x2 − 3tx1 + sin t.
2 2 2 2
Then 0
x1 = x2
x0
= x3
2
0
x 3 = x4
t2
0 3
x4 = −3tx1 + x2 − 2 x4 + 2 sin t
form the system of 1st order linear equations.
Solution The equation above is the third order one so we need to introduce 3 new variables,
x1 = y, x2 = y 0 , x3 = y 00 .
The reverse is also true. Given a system of n 1st order linear equations, it can be rewritten into
a single nth order linear equation. We take a look here for the special case when n = 2.
Let
How to transform a system of two 1st order linear equations to a 2nd order
equation:
x01 ax1
x2 = − .
b b
x01 = x2
x02 = 3x1 − 2x2 .
Solution From the first equation, we have x2 = x01 . Substitute it back into the second one,
Example 104. Transform the given system into a single equation of second order
5 3
x01 = x1 + x2 , x1 (0) = −2
4 4
3 5
x02 = x1 + x2 , x2 (0) = 1.
4 4
Solution From the first equation, we have
5 3 4 5 4 0 5
x01 = x1 + x2 ⇒ x2 = 0
x1 − x1 ⇒ x2 = x − x1 .
4 4 3 4 3 1 3
Therefore we have
4x001 − 10x01 + 4x1 = 0
as an equivalent single equation of second order. Now you can see that the equation we just
derived is in terms of x1 . So an initial condition x1 (0) = −2 works but we need to change the
second one x2 (0) = 1 to variable x1 . To do this, we use the first equation from the problem,
5 3 5 3 5 3 7
x01 = x1 + x2 ⇒ x01 (0) = x1 (0) + x2 (0) ⇒ x01 (0) = (−2) + (1) = − .
4 4 4 4 4 4 4
In the end, we have the following IVP
7
2x001 − 5x01 + 2x1 = 0, x1 (0) = 2, x01 (0) = − .
4
CHAPTER 6. SYSTEMS OF FIRST ORDER LINEAR EQUATIONS 142
Example 105.
1
1 −1 4
, 2 0 3 4 5 ,
2
1×5
2 3 5
2×3
−3
3×1
1. Square matrix is any matrix which has the same number of rows as columns.
a11 a12 ··· a1n
a
21 a22 ··· a2n
A=
.
.. .. .. ..
. . .
am1 am2 ··· ann
n×n
The diagonal that start in the upper left and end in the lower right is called the main
diagonal. The sum of the entires in the main diagonal is called trace and write it as tr. So
here
Xn
tr A = aii = a11 + a12 + . . . + ann .
i=1
2. Zero matrix, denoted 0m×n or 0, is a matrix which all entries are zeros. It satisfies two
properties:
A+0=A=0+A
A0 = 0 = 0A.
3. Identity matrix is a square matrix, denoted by In or I, whose main diagonals are all 1’s
CHAPTER 6. SYSTEMS OF FIRST ORDER LINEAR EQUATIONS 143
2. Matrix multiplication of A and B: It is defined only when A has the same number of
columns as B has rows. Otherwise, we can’t compute AB.
Am×p Bp×n = ABm×n
where its ijth entry (AB)ij can be found by the dot product of row vector i of matrix A
and the transpose of column vector j of matrix B. Here are some examples:
a b e f ae + bg af + bh
=
c d g h ce + dg cf + dh
2×2 2×2 2×2
a b e ae + bf
=
c d f ce + df
2×2 2×1 2×1
a b
But
e f is not defined.
1×2
c d
2×2
CHAPTER 6. SYSTEMS OF FIRST ORDER LINEAR EQUATIONS 144
Unlike multiplication of real numbers , matrix multiplication does not commute. In other
words, it is NOT true that AB equals to BA.
3. Determinant, denoted by det, is a function that takes a square matrix into a number in a
certain way. In particular for 2 × 2 matrix, we define determinant as follows
a b a b
det = := ad − bc
c d c d
AB = BA = In .
• It is the fact that a square matrix is invertible if and only if its determinant is nonzero.
2 −1 2 −1
Example 106. Let A =
and B =
. Then
3 1 −6 3
5. Eigenvalues and eigenvectors: Given a square matrix A, suppose there are constant r
and a nonzero column vector x such that
Ax = rx,
Ax = rx ⇒ Ax − rx = 0 ⇒ (A − rI)x = 0.
r2 − tr(A)r + det A = 0.
Note that for each value of an eigenvalue, its corresponding eigenvector is not unique since nonzero
scalar multiplication of an eigenvector is also an eigenvector.
CHAPTER 6. SYSTEMS OF FIRST ORDER LINEAR EQUATIONS 147
2. Rewrite the following third order linear equation into an equivalent system of first order
linear equations.
y 000 + 3y 00 − 2y 0 + 4y = sin 2t
3. Determine whether the statement is true or false. The system of first order linear equations
0
x 1 = x 2
x02 = x3
0 3
x3 = 38 x1 − t3 x2 + 13 sin(8t)
4. Which system of first order linear equations below is equivalent to the second order linear
equation
y 00 − 4y 0 + 7y = 10t3 ?
(
x01 = x2
(a)
x02 = −7x1 + 4x2 + 10t3
(
x01 = x2
(b)
x02 = 7x1 − 4x2 + 10t3
(
x01 = x2
(c)
x02 = −4x1 + 7x2 + 10t3
(
x01 = x2
(d)
x02 = 4x1 − 7x2 + 10t3
CHAPTER 6. SYSTEMS OF FIRST ORDER LINEAR EQUATIONS 148
(a) y 00 + 2y 0 − y = sin t
(b) y 00 + sin ty 0 + y = 2
(c) y 00 − y 0 + 2y = sin t
(d) y 00 + y 0 − 2y = sin t
6. Which system of first order linear equations below is equivalent to the second order linear
equation
y 00 − 5y 0 + 6y = t2 − t?
(
x01 = x2
(a)
x02 = −5x1 + 6x2 + t2 − t
(
x01 = x2
(b)
x02 = 5x1 − 6x2 − t2 + t
(
x01 = x2
(c)
x02 = −6x1 + 5x2 + t2 − t
(
x01 = x2
(d)
x02 = 6x1 − 5x2 − t2 + t
7. Rewrite the following equation into an equivalent system of first order linear equations.
2y 00 + 6y 0 − 4y = e−t cos 9t
or just simply
x0 = Ax + g.
In this class, we consider only for homogeneous system
x0 = Ax.
• Equilibrium solutions or critical points are solutions x for which x0 = 0 (or Ax = 0).
Since we’re going to assume that det A 6= 0, by the theorem above, we will have only one
equilibrium solution, namely x = 0. So in this chapter, the only critical point is the origin.
• A sketch of a particular solution in the phase plane x1 x2 plane is called the trajectory of
the solution.
• A plot that shows a representative sample of trajectories for a given system is called a phase
portrait.
• There are three types of stability of the system based on the behavior of trajectories:
1. It is asymptotically stable if all trajectories converge to zero.
2. It is unstable if all or all but a few trajectories move away from origin.
3. It is (neutrally) stable if all trajectories stay in a fixed orbit around the origin.
• Solutions to the homogeneous system x0 = Ax: For n = 1 and write A = [r], we know that
the solution to x0 = rx is x = kert . So let’s use this as a guideline for general n. If x = kert
is a solution of a system, then x0 = rkert and so
x0 = Ax ⇒ rkert = Akert ⇒ Ak = rk,
where r is an eigenvalue of A and k is an eigenvector of A corresponding to r.
• For this class, we consider when A is 2 × 2 matrix. Just like the solution of a second order
homogeneous linear equation, there are three possibilities of solutions depending on a type
of eigenvalues of A.
1. Two distinct real eigenvalues.
2. Complex conjugate eigenvalues.
3. Repeated eigenvalues.
CHAPTER 6. SYSTEMS OF FIRST ORDER LINEAR EQUATIONS 150
x = c 1 k 1 e r1 t + c 2 k 2 e r2 t .
1 2
Solution Firstly, we find the eigenvalues of the coefficient matrix A =
. Its
3 2
characteristic equation is
1 2
b) Sketch the phase portrait of x0 =
x. Then find its type and stability.
3 2
Stability: Since some solutions move away from the origin (0, 0) as t increases, it is
unstable.
Case 1.2: r1 , r2 have same signs. (they are either both positive or both negative)
−5 1
b) Sketch the phase portrait of x0 =
x. Then find its type and stability.
4 −2
x = c1 k1 e(λ+µi)t + c2 k2 e(λ−µi)t .
But what we want is to rewrite it in the form of real valued solution. In order to do this, we again
use the help from Euler’s formula. Let k1 = a + ib be the eigenvector corresponding to r1 = λ + µi.
Then it follows that k2 = a − ib is the eigenvector corresponding to r2 = λ − µi. Then we can
derive new form of general solution as follows:
x = c1 k1 e(λ+µi)t + c2 k2 e(λ−µi)t
= c1 (a + ib)eλt eµit + c2 (a − ib)eλt e−µit
= c1 (a + ib)eλt (cos µt + i sin µt) + c2 (a − ib)eλt (cos µt − i sin µt)
= c1 eλt (a cos µt − b sin µt + i(a sin µt + b cos µt))
+ c2 eλ (a cos µt − b sin µt − i(a sin µt + b cos µt))
= (c1 + c2 )eλt (a cos µt − b sin µt) + (c1 − c2 )ieλ (a sin µt + b cos µt)
After renaming the constant, the new form of the general solution is
At the point (0, 1), the trajectory points in upward direction. So the trajectories
travel in counter clockwise direction.
At the point (0, 1), the trajectory points in upward direction. So the trajectories
travel in counter clockwise direction.
3 0
Example 112. a) Solve the following system x0 =
x.
0 3
Solution Consider the characteristic equation,
which gives us nothing. So we can choose arbitrary two linearly independent eigenvec-
tors, for example,
1 0
k1 =
,
k2 =
.
0 1
3 0
b) Sketch the phase portrait of x0 =
x. Then find its type and stability.
0 3
CHAPTER 6. SYSTEMS OF FIRST ORDER LINEAR EQUATIONS 160
So our first guess is incorrect. Let’s choose something new but not far from the first guess. How’s
about ktert + ηert . Checking whether it work or not, substitute it back into x0 = Ax,
Hence η is
n1 n1 Choose n =0 0
=
=======1=⇒ η=
.
n2 1 − 2n1 1
(e) Case 3.1: Proper Node (f) Case 3.2: Improper Node
2.1) r1,2 = µi Center Stable x(t) = c1 (a cos µt − b sin µt) + c2 (a sin µt + b cos µt)
2.2) r1,2 = λ ± µi Spiral Point x(t) = c1 eλt (a cos µt − b sin µt) + c2 eλt (a sin µt + b cos µt),
Exercises 6.3
1. Match the sketches of phase portraits for 2 × 2 homogeneous linear systems x0 = Ax with
the names of their critical points at the origin
(a) saddle
(b) node
(c) proper node
(d) center
(e) spiral
CHAPTER 6. SYSTEMS OF FIRST ORDER LINEAR EQUATIONS 166
2. Match the following formulas for general solutions of 2 × 2 homogeneous linear systems
x0 = Ax with the sketches of the phase portraits given in Problem 1:
1 1
(a) c1 e2t + c2 e−t
−1 1
cos t sin t
(b) c1 et
+ c2 et
2 sin t 2 cos t
1 0
(c) c1 e−t −t
+ c2 e
0 1
1 0
−t
(d) c1 et
+ c2 e
0 1
cos t sin t
(e) c1
+ c2
2 sin t 2 cos t
0
of a 2 × 2 homogeneous linear systems
3. Match the three adjectives for the critical point
0
x0 = Ax with the five general solutions given in the table below by placing one of the letters
A, U, or S in each of the five blanks. Use A for asymptotically stable, U for unstable and S
for stable.
1 1
−t
(a) c1 e2t
+ c2 e
−1 1
cos t sin t
(b) c1 et
+ c2 et
2 sin t 2 cos t
1 0
(c) c1 e−t −t
+ c2 e
0 1
1 0
(d) c1 et + c2 e−t
0 1
cos t sin t
(e) c1
+ c2
2 sin t 2 cos t
CHAPTER 6. SYSTEMS OF FIRST ORDER LINEAR EQUATIONS 167
has an improper node at (0, 0). Find the value (or range of values) of d.
5. Find the general solution of the system
5 0
x0 =
x.
0 5
Solve the initial value problem and classify the type and stability of the critical point at
(0, 0).
7. Consider the 2 × 2 linear homogeneous system with constant coefficients x0 = Ax.
(a) If the eigenvalues of A are ±i, classify the type and stability of the critical point (0, 0).
2
(b) If in addition an eigenvector corresponding to the eigenvalue i is
, then write down
i
the real-valued general solution x(t).
8. Consider the system
3 −4
x0 =
x.
1 −2
10. Consider a certain linear system x0 = Ax, where A is a matrix of real numbers with complex
conjugate eigenvalues. Suppose some of its solutions do not reach a limit either as t → +∞,
or as t → −∞. Then the critical point (0, 0) must be a(n)
(a) unstable spiral point.
(b) unstable saddle point.
(c) asymptotically stable improper node.
(d) (neutrally) stable center.
2 − α 2 0
11. Suppose the linear system x0 =
x has an unstable proper node at (0, 0).
0 −2α − 1
Determine all possible vlaue(s) of α.
12. For each part below, consider a certain system of two first order linear linear differential
equations in two unknowns, x0 = Ax, where A is a 2 × 2 matrix of real numbers. Based
solely on the information given in each part, determine the type and stability of the system’s
critical point at (0, 0).
13. Consider a certain linear system x0 = Ax, where A is a matrix of real numbers with distinct
nonzero real eigenvalues. Suppose all of its solutions have a finite limit as t → +∞. Then
the critical point (0, 0) must be a(n)
15. For each part below, consider a certain system of two first order linear linear differential
equations in two unknowns, x0 = Ax, where A is a 2 × 2 matrix of real numbers. Based
solely on the information given in each part, determine the type and stability of the system’s
critical point at (0, 0).
5 −2
(a) The coefficient matrix is
x.
0 5
(b) Eigenvalues of A are −e and −e2 .
(c) One of the eigenvalues of A is r = 1 − 49i.
2 cos t 2 sin t
(d) The general solution is x(t) = c1
+ c2
.
cos t − 2 sin t sin t + 2 cos t
√ −1 √ 2
(e) The general solution is x(t) = c1 e− 7t + c2 e− 7t .
2 1
16. Consider a certain system of two first order linear differential equations in two unknowns,
x0 = Ax, where A is a matrix of real numbers. Suppose one of the eigenvalues of the
4
coefficient matrix A is r = −5 + 7i, which has a corresponding eigenvector
. Write
5 + 6i
down the system’s real valued general solution.
17. (a) Find the general solution of the system of linear equations
2 12
x0 =
x.
−3 −11
5
(b) Find the solution satisfying x(0) =
.
0
18. For each part below, consider a certain system of two first order linear differential equations
in two unknowns, x0 = Ax, where A is a 2 × 2 matrix of real numbers. Based solely on
the information given in each part, determine the type and stability of the system’s critical
point at (0, 0).
3 2
(a) The coefficient matrix is
.
−2 −1
(b) One of the eigenvalues of A is r = −2 + 11i.
(c) The characteristic equation of A can be rewritten as r2 + 4 = 0.
−4 2
(d) The general solution is x(t) = c1 e2t
+ c2 e2t .
1 −3
CHAPTER 6. SYSTEMS OF FIRST ORDER LINEAR EQUATIONS 170
19. For what value(s) of β will the linear system below have a (neutrally) stable center at (0, 0)?
2β 5
x0 =
x
−5 β2
(a) 0
(b) 2
(c) −2, 2
(d) 0, −2
20. Consider a certain system of two first order linear differential equations in two unknowns,
x0 = Ax, where A is a matrix of real numbers. Suppose one of the eigenvalues of the
−2 − 5i
coefficient matrix A is r = 3 + i, which has a corresponding eigenvector x0 =
.
4
What is the system’s real-valued general solution?
−2 cos t − 5 sin t 5 cos t − 2 sin t
(a) x(t) = c1 e3t
+ c2 e3t
4 cos t 4 sin t
−2 cos t + 5 sin t −5 cos t − 2 sin t
(b) x(t) = c1 e3t
+ c2 e3t
4 cos t 4 sin t
−2 cos t + 5 sin t −5 cos t − 2 sin t
(c) x(t) = c1 e3t
+ c2 e3t
4 sin t −4 cos t
−2 cos t − 5 sin t 5 cos t − 2 sin t
(d) x(t) = c1 e3t
+ c2 e3t
4 sin t −4 cos t
4 −1
21. True or false. Consider the linear system x0 =
x. The critical point (0, 0) is an
−5 0
asymptotically stable node.
0 4
22. True or false. Consider the linear system x0 =
x. The critical point (0, 0) is an
−4 0
unstable saddle point.
23. For what range of values of β will the linear system below have a saddle point at (0, 0)?
−β 1
x0 =
x
−1 β
CHAPTER 6. SYSTEMS OF FIRST ORDER LINEAR EQUATIONS 171
0 −2
corresponding eigenvectors both and . Write down the system’s general
4 5
solution.
(e) Classify the type and stability of the critical point (0, 0) for the system described in
(d).
Answers
1. a) 5, b) 1, c) 4, d) 2, e) 3
2. a) none, b) 3, c) 4, d) 5, e) 2
3. a) U, b) U, c) A, d) U, e) S
4. 0, 4
1 5t 0
5. c1 e + c2 e5t
0 1
cos 2t sin 2t
6. et
+ 5et
, sprial point, unstable
cos 2t + sin 2t sin 2t − cos 2t
CHAPTER 6. SYSTEMS OF FIRST ORDER LINEAR EQUATIONS 172
2 cos t 2 sin t
7. a) center, (neutrally) stable, b) x(t) = c1
+ c2
− sin t cos t
1 −t 4
8. a) x(t) = c1 e + c2 e2t , b) β = 6
1 1
3 −t 1 −4t
9. a) x(t) =
e + e , b) 0
3 −2
10. d)
11. α = −1 only
12. a) node, asymptotically stable, b) spiral point, unstable, c) center, (neutrally) stable, d) node,
unstable, e) proper node, asymptotically stable, f) improper node, unstable
13. d)
4t − 2 t
14. a) x(t) =
e , b) improper node, unstable
−4t + 6
15. a) improper node, unstable, b) node, asymptotically stable, c) spiral point, unstable, d) center,
stable, e) proper node,
asymptotically
stable
4 cos 7t 4 sin 7t
16. x(t) = c1 e−5t
+ c2 e−5t
5 cos 7t − 6 sin 7t 6 cos 7t + 5 sin 7t
−2t −7t
−3 −2t −4 −7t 9e − 4e
17. a) x(t) = c1
e
+ c2
e , b) x(t) =
1 3 −3e−2t + 3e−7t
18. a) improper node, unstable, b) spiral point, asymptotically stable, c) center, (neutrally) stable,
d) proper node, unstable
19. d)
20. b)
21. False
22. False
23. b)
−1 t −t + 1 t −tet − et
24. a) x(t) = c1
e + c2
e , b) x(t) =
, c) improper node, unstable
1 t tet + 2et
3 cos t 3 sin t
25. a) x(t) = c1 e2t
+ c2 e2t
, b) spiral, unstable, c) center,
cos t + 6 sin t −6 cos t + sin t
0 −8t −2 −8t
(neutrally) stable, d) x(t) = c1
e
+ c2
e , e) proper node, asymptotically stable
4 5
Chapter 7
• Unlike a linear system which has only one critical point, namely (0, 0), a nonlinear system
could have none, one, two, three or any number of critical points.
x0 = (2x + y)(2x − y)
y 0 = (x − 2)(y + 2)
x0 = 0 ⇒ (2x + y)(2x − y) = 0 ⇒ 2x + y = 0 or 2x − y = 0.
0
y =0 ⇒ (x − 2)(y + 2) = 0 ⇒ x − 2 = 0 or y + 2 = 0.
173
CHAPTER 7. NONLINEAR DIFFERENTIAL EQUATIONS AND STABILITY 174
(
2x − y = 0
⇒ x = 2, y = 2x = 2(2) = 4 ⇒ (2, 4) is a critical point.
x−2=0
(
2x − y = 0 y −2
⇒ y = −2, x= = = −1 ⇒ (−1, −2) is a critical point.
y+2=0 2 2
From all 4 cases, (2, −4), (1, −2), (2, 4) and (−1, −2) are all critical points of the given non-
linear system.
x0 = x2 − xy
y 0 = xy + 2y 2 − 6y.
x0 = x(x − y)
y 0 = y(x + 2y − 6).
x0 = 0 ⇒ x(x − y) = 0 ⇒ x = 0 or x − y = 0.
0
y =0 ⇒ y(x + 2y − 6) = 0 ⇒ y = 0 or x + 2y − 6 = 0.
From all 4 cases, (0, 0), (0, 3) and (2, 2) are all critical points of the above system.
CHAPTER 7. NONLINEAR DIFFERENTIAL EQUATIONS AND STABILITY 175
Exercises 7.1
1. Which of the points below is not a critical point of the nonlinear system of equation
x0 = x2 − y 2
y 0 = xy + x + y + 1?
a) (1, 1)
b) (1, −1)
c) (−1, 1)
d) (−1, −1)
2. True or false. The point (0, 1) is a critical point of the nonlinear system
x0 = −x + 2xy
y 0 = y − x2 − y 2 .
x0 = y − y 2
y 0 = x − x3 ?
a) (1, 0)
b) (−1, 1)
c) (0, 1)
d) (1, −1)
4. Find the critical points of the following nonlinear system.
x0 = (x + 1)(y − 2)
y 0 = y(x + y).
x0 = x2 − xy
y 0 = 4xy + y 2 − 2y.
Answers
1. a)
2. True
3. d)
4. (−1, 1), (−1, 0) and (−2, 2)
5. (−2, 1), (2, 1), (−2, −4) and (0, 0)
2 2
6. (0, 2), (0, 0) and ( , )
5 5
CHAPTER 7. NONLINEAR DIFFERENTIAL EQUATIONS AND STABILITY 176
x0 = x + y
y 0 = x2 + y 2 − 8.
x0 = 0 ⇒ x+y =0
0
y =0 ⇒ x2 + y 2 − 8 = 0.
From the first equation, we have x = −y. Apply this condition into the second equation,
x2 + y 2 − 8 = 0 ⇒ (−y)2 + y 2 − 8 = 0 ⇒ 2y 2 − 8 = 0
⇒ (y − 2)(y + 2) = 0 ⇒ y = 2, −2.
CHAPTER 7. NONLINEAR DIFFERENTIAL EQUATIONS AND STABILITY 177
In conclusion, (−2, 2) and (2, −2) are all critical points of the above system.
At the critical point (−2, 2), the linearized matrix of the system is
1 1 1 1
A1 = J|(−2,2) =
=
.
2(−2) 2(2) −4 4
At the critical point (−2, 2), the linearized matrix of the system is
1 1 1 1
A2 = J|(2,−2) =
=
.
2(2) 2(−2) 4 −4
x0 = x(1 − x + y)
y 0 = y(x + y).
x0 = x(1 − x + y) = 1(1 − 1 + 0) = 0
y 0 = y(x + y) = 0(1 + 0) = 0.
Now we evaluate the Jacobean matrix at the critical point (1, 0) to get the matrix for
the linearized system,
1 − 2(1) + 0 1 −1 1
A = J|(1,0) =
=
.
0 1 + 2(0) 0 1
(This means that near the point (1, 0), the nonlinear system acts like the linear system
−1 1
x0 =
x.)
0 1
CHAPTER 7. NONLINEAR DIFFERENTIAL EQUATIONS AND STABILITY 179
c) Classify the type and stability of the critical point (1, 0) by examining the linearized
system obtained in part b)
Solution Find the eigenvalues from the characteristic equation of A,
Since we get two distinct real eigenvalues with opposite signs (case 1.1), (1, 0) is an
unstable saddle point.
In this example, we can check further that there are two more critical points (three in total):
• (1, 0) is an unstable saddle point.
• (0, 0). At this critical point, the coefficient matrix has zero determinant.
• ( 12 , − 12 ) is an asymptotically stable spiral point. (case 2.2, we have complex eigenvalues
with negative real part)
x0 = 1 − y
y 0 = x2 − y 2
around its critical point (1, 1) and classify its type and stability.
Solution Here F (x, y) = 1 − y and G(x, y) = x2 − y 2 . So the Jacobean matrix is,
Fx Fy 0 −1
J =
=
.
Gx Gy 2x −2y
CHAPTER 7. NONLINEAR DIFFERENTIAL EQUATIONS AND STABILITY 180
x0 = x2 − 4y 2
y 0 = xy − 2x.
Solution We have F (x, y) = x2 − 4y 2 and G(x, y) = xy − 2x. Then the Jacobean matrix is,
Fx Fy 2x −8y
J =
=
.
Gx Gy y−2 x
CHAPTER 7. NONLINEAR DIFFERENTIAL EQUATIONS AND STABILITY 181
Since we have a pair of positive real distinct eigenvalues (case 1.2), (4, 2) is an unstable node.
In this example, we can check further that there are two more critical points (three in total):
• (4, 2) is an unstable node.
• (0, 0). At this critical point, the coefficient matrix has vanishing determinant.
• (−4, 2) is an asymptotically stable node. (case 1.2: negative real distinct eigenvalues)
Exercises 7.2
1. (a) Find the critical points of the following nonlinear system
(
x0 = x(x + y)
y 0 = y(2 − x + y)
(b) Linearize the following nonlinear system about its critical point (0, 2) and classify its
type and stability. (
x0 = xy − 6x
?
y 0 = xy − 2x + y − 2
2. Given that the point (0, 1) is a critical point of the nonlinear system of equations
x0 = x2 y − xy 2
y 0 = xy − x − 3y + 3
CHAPTER 7. NONLINEAR DIFFERENTIAL EQUATIONS AND STABILITY 182
x0 = x − y
y 0 = 4y − x2 y.
(a) One of the critical points of the system is (2, 2). Verify that (2, 2) is indeed a critical
point. That is, show that (2, 2) satisfies the condition(s) of being a critical point.
(b) Besides (2, 2), there are 2 other critical points. Find those other 2 critical points of the
system.
(c) Linearize the system about the point (2, 2). Classify the type and stability of the critical
point at (2, 2) by examining the linearized system. Be sure to clearly state the linearized
system’s matrix and its eigenvalues.
4. Consider the nonlinear system:
x0 = x2 − xy
y 0 = xy − 3x + 2.
(a) One of the critical points of the system is (1, 1). There is another critical point. Find
it.
(b) Linearize the system about the point (1, 1). Classify the type and stability of the critical
point at (1, 1) by examining the linearized system. Be sure to clearly state the linearized
system’s matrix and its eigenvalues.
5. Consider the nonlinear system:
x0 =(x + 1)(y − 2) = xy − 2x + y − 2
y 0 =(x + y)(2x − y) = 2x2 + xy − y 2
(a) The system has 4 critical points. One of the critical points of the system is (−1, 1).
Find the other 3 critical points of the system.
(b) Linearize the system about the critical point (−1, 1). Identify the coefficient matrix of
the linearized system.
(c) What are eigenvalues of the coefficient matrix? Classify the type and stability of the
critical point at (−1, 1) by examining the linearized system found in (b).
6. Consider the autonomous nonlinear system:
x0 =4(x − 1) − y
y 0 =y(2x2 − 4 − y)
(a) The system has 3 critical points. One of the critical points is (1, 0). Verify that (1, 0)
is indeed a critical point. Then find the other 2 critical points.
(b) Linearize the system about the point (1, 0). Classify the type and stability of this
critical point by examining the linearized system. Be sure to clearly state the linearized
system’s matrix and its eigenvalues.
CHAPTER 7. NONLINEAR DIFFERENTIAL EQUATIONS AND STABILITY 183
x0 = xy + 2y
y 0 = xy − 4x.
Linearize this system about (−2, 4) to determine the critical point as a(n)
x0 = 3y − xy
y 0 = xy + 2x.
Linearize this system about (3, −2) to determine the critical point as a(n)
(a) unstable saddle point.
(b) asymptotically stable spiral point.
(c) unstable node.
(d) asymptotically stable improper node.
9. Given that (1, 1) is a critical point of the system
x0 = x2 − y 2
y 0 = 2 − 2xy
Answers
1. a) (0, 0), (0, −2), (1, −1), b) saddle point, unstable
2. c)
3. a) Substitute (2, 2) into the equations directly to see that x0 = y 0 = 0, b) (0, 0) and (−2, −2),
c) saddle point, unstable
4. a) (2, 2), b) saddle point, unstable
−1 0
5. a) (−1, −2), (−2, 2) and (1, 2), b)
, c) −1, −3, asymptotically stable node
−3 −3
6. a) (2, 4), (0, −4), b) saddle point, unstable
7. a)
8. c)
9. d)
Chapter 8
Recall that a partial differential equation is any differential equation that contains two or more
independent variables. Therefore the derivatives appearing in the equation are partial derivative.
In this class, we’ll examine the second order partial differential equation with two independent
variables such as
The goal of this chapter is to solve the above two partial differential equations by using the method
of separation of variables.
Notice that initial conditions of IVP evaluate at the same point. (in this case at t0 )
If the conditions are specified at two different points, such conditions are called boundary con-
ditions. A differential equation with boundary conditions form a (two-point) boundary value
problem, or simply, BVP. A typical example is the differential equation
where α 6= β. If the function g in Equation (8.1) is zero and if the boundary values y0 and y1 in
Equation (8.2)-(8.4) are also zero, then BVP is called homogeneous. Otherwise, the problem is
nonhomogeneous.
184
CHAPTER 8. PARTIAL DIFFERENTIAL EQUATION 185
Example 120. The followings are all BVPs since the boundary conditions evaluate at dif-
ferent points. (at 0 and π)
y 00 + 2y = 0, y(0) = 1, y(π) = 0
00
y + y = 2, y(0) = 0, y 0 (π) = 0
y 00 − 2y = 0, y 0 (0) = 0, y 0 (π) = 0
Although IVP and BVP may superficially appear to be quite similar, their situations differ in
some very important way. Under mild conditions on the coefficients of the differential equation,
IVP are certain to have a unique solution by the Existence and Uniqueness Theorem below. (for
second order ODEs)
Theorem 13 (Existence and Uniqueness Theorem). Consider the initial value problem
where p, q and g are continuos on an open interval I that contains the point t0 . Then there is
exactly one solution y = φ(t) of this problem, and the solution exists throughout the interval
I.
On the other hand, BVP under similar conditions may have a unique solution, no solution or even
infinitely many solutions. Let’s take a look in the next example.
y = c1 cos t + c2 sin t.
Invoke condition y(0) = 0, we have c1 = 0, and y(π) = 0 also gives us c1 = 0. Hence solution
is y(t) = c2 sin t where c2 remains arbitrary. So this BVP has infinitely many solutions.
Example 122 (Fall 2013 Final Exam). Which initial or boundary value problem below is
guaranteed to have a unique solution according to the Existence and Uniqueness Theorems?
√
a) t2 y 00 + ty 0 + e2t y = 2, y(2) = 3, y 0 (2) = 1e .
b) y 00 + sin(t)y 0 + 10ty = ln t, y(−5) = 1, y 0 (−5) = 4.
c) y 0 + tan(t)y = sec t, y( 3π
2 ) = 9.
Example 123. Find the eigenvalues and eigenfunctions of the given BVP
y 00 + λy = 0, y(0) = 0, y(L) = 0
In Equation (8.6), if c2 = 0 together with c1 = 0 from Equation (8.7), then the general solution
is a trivial solution y = 0 by Equation (8.5). Since we’re seeking nontrivial solutions (by the
definition of eigenfunctions), so we must require that c2 6= 0. So by Equation (8.7), we get
nπ
sin(µL) = 0 ⇒ µL = nπ ⇒ µn = , for n = 1, 2, . . .
L
The last step we use the fact that L > 0. So in this first case, the eigenvalues are
nπ 2
λn = (µn )2 = ( ) ,
L
and the corresponding eigenfunctions are
nπ
yn (x) = c2 sin µn x = c2 sin x,
L
where n = 1, 2, . . . by Equation (8.5).
CHAPTER 8. PARTIAL DIFFERENTIAL EQUATION 187
Case 2: λ = 0. Then the equation is y 00 = 0 and so y(x) = c1 x + c2 . Now let’s use the
boundary conditions:
y(0) = 0 ⇒ 0 = c1 (0) + c2 = c2 ⇒ c2 = 0.
y(L) = 0 ⇒ 0 = c1 L + c2 = c1 L ⇒ c1 = 0 since L 6= 0.
So there is only the trivial solution y0 = 0 in this case. Hence λ0 = 0 is not an eigenvalue
and there is no eigenfunction.
Case 3: λ < 0. Similar to case 1, let λ = −µ2 , where µ > 0. So the equation becomes
y 00 − µ2 y = 0.
y(0) = 0 ⇒ 0 = c1 + c2 ⇒ c2 = −c1 .
−Lx
y(L) = 0 ⇒ 0 = c1 e Lx
+ c2 e = c1 eLx − c1 e−Lx = c1 (eLx − e−Lx )
⇒ c1 = 0 and hence c2 = 0.
Here we use the fact that eLx − e−Lx 6= 0 for all x since if it is, we get
which is a contradiction.
For all 3 cases, the eigenvalues are
nπ 2
λn = ( ) ,
L
and the corresponding eigenfunctions are
nπ
yn (x) = sin x,
L
where n = 1, 2, . . .
y 00 + λy = 0, y 0 (0) = 0, y(3) = 0.
y 00 + µ2 y = 0.
y 0 (0) = 0 ⇒ 0 = c2 µ ⇒ c2 = 0 since µ 6= 0.
y(3) = 0 ⇒ 0 = c1 cos(3µ) ⇒ c1 = 0 or cos(3µ) = 0.
Again if both c1 and c2 are zero, then the general solution is a trivial solution y = 0. Since
we’re seeking nontrivial solutions, we need that c1 6= 0. So we get
(2n − 1)π 2
λn = (µn )2 = ( ) ,
6
and the corresponding eigenfunctions are
(2n − 1)π
yn (x) = c1 cos µn x = c1 cos x,
6
where n = 1, 2, . . . by Equation (8.9).
CHAPTER 8. PARTIAL DIFFERENTIAL EQUATION 189
Exercises 8.1
1. Which of the following has a unique solution on the whole interval (0, π)?
(a) y 00 + y = 0, y(0) = 0, y(π) = 0.
00 0
(b) y + 4y = 0, y (0) = 0, y 0 (π) = 0.
(c) (t + 1)y 00 + ty = 0, y(1) = 1, y 0 (1) = 0.
(d) (t − 1)y 0 + 2y = 0, y(0) = 0, y 0 (0) = 1.
2. Of the four initial or boundary value problems below, only one is guaranteed to have a unique
solution according to the Existence and Uniqueness Theorems. Which one is it?
(a) ty 00 − t2 y 0 + et y = tan(t), y(1) = 0, y 0 (1) = π.
00 0 0
(b) ty + 2y − 3y = 0, y(0) = 2, y (0) = 0.
00
(c) y + 9y = 0, y(0) = 0, y(3π) = 0.
0
(d) y + sec(t)y = sin(2t), y( π2 ) = 0.
3. Consider the two initial/ boundary value problems below. Which is certain to have a unique
solution for every value of α?
(a) I only.
(b) II only.
(c) Both I and II.
(d) Neither.
4. Consider the second order equation
y 00 + λy = 0,
Where λ is a real number. Which statement below about the equation is false?
(a) For any value of λ, its general solution is in the form of y = C1 y1 + C2 y2 , where y1 and
y2 are two fundamental solutions of the equation.
(b) If λ = 0, then its general solution is y(t) = C1 + C2 t.
(c) For any value of λ, there is a unique solution satisfying boundary conditions y(0) = 0
and y 0 (2π) = 0.
(d) For any value of λ, there is a unique solution satisfying initial conditions y(π) = 0 and
y 0 (π) = 32.
5. Consider the following two differential equations:
where a, b are real numbers. Which of the following statements are true?
(a) Both I and II always have a unique solution on some interval.
(b) Only I always has a solution on some interval.
(c) Only II always has a solution on some interval.
CHAPTER 8. PARTIAL DIFFERENTIAL EQUATION 190
X 00 + λX = 0, X(0) = 0, X 0 (3) = 0
(a) Find all positive eigenvalues and corresponding eigenfunctions of the boundary value
problem.
(b) Is λ = 0 an eigenvalue of this problem? If yes, find its corresponding eigenfunction. If
no, briefly explain why it is not an eigenvalue.
7. Find all eigenvalues and corresponding eigenfunctions of the boundary value problem
X 00 + λX = 0, X 0 (0) = 0, X 0 (π) = 0.
Make sure to consider, and show your work for, all three possibilities: λ < 0, λ = 0, and
λ > 0.
X 00 + λπ 2 X = 0, X(0) = 0, X 0 (1) = 0.
1
Is λ = an eigenvalue? If not, justify your answer. If so, find a corresponding eigenfunction.
4
9. (a) For what positive values of λ does the boundary value problem
X 00 + λX = 0, X 0 (0) = 0, X(π) = 0
10. Find the eigenvalues and eigenfunctions of the boundary value problem
π
X 00 + λX = 0, X(0) = 0, X( ) = 0.
2
Show your work in all three cases: λ < 0, λ = 0, and λ > 0.
Answers
1. c)
2. a)
3. a)
4. c)
5. b)
2 2
6. a) The positive eigenvalues are λn = (2n−1)36
π
, n = 1, 2, 3, . . . ;
The corresponding eigenfunctions are Xn (x) = sin( 2n−1 6 πx) b) No.
7. Eigenvalues are λ = 0 and λ = n2 , n = 1, 2, 3, . . .;
Eigenfunctions are X0 (x) = 1, and Xn (x) = cos(nx), n = 1, 2, 3, . . .
π
8. Yes, it is. Eigenfunction is sin x.
2
2
9. Eigenvalues are λn = (2n−1)
4 and the eigenfunctions are Xn (x) = cos( (2n−1)x
2 ), for all n ∈ N.
2
10. Eigenvalues are λn = 4n , n = 1, 2, 3, . . . and the corresponding eigenfunctions are Xn (x) =
sin(2nx), n = 1, 2, 3, . . .
CHAPTER 8. PARTIAL DIFFERENTIAL EQUATION 191
Example 125.
Recall that
f (x−
0 ) = lim f (x), f (x+
0 ) = lim f (x)
x→x0 − x→x0 +
is the left-hand (right-hand) limit of f at x0 . Let’s consider the following example to recall
ourselves about it.
−x − 2
if x < 0
Example 126. Let f (x) = −1 if x = 0
2
x +1 if x > 0.
Then we have
f (0) = −1, f (0− ) = −2 and f (0+ ) = 1.
Set up, but do not integrate, the integral(s) to find the Fourier coefficients of this function.
Solution: With L = 2, for m = 0, 1, 2, . . ., we have
1 2
Z
mπx
am = f (x) cos dx
2 −2 2
Z −1 Z 1 Z 2
1 mπx mπx mπx
= (−2 − x) cos dx + x cos dx + (2 − x) cos dx ,
2 −2 2 −1 2 1 2
and, for m = 1, 2, . . . ,
1 2
Z
mπx
bm = f (x) sin dx
2 −2 2
Z −1 Z 1 Z 2
1 mπx mπx mπx
= (−2 − x) sin dx + x sin dx + (2 − x) sin dx .
2 −2 2 −1 2 1 2
CHAPTER 8. PARTIAL DIFFERENTIAL EQUATION 193
1 2 1 1 3 1
Z Z Z
mπx mπx mπx
am = f (x) cos dx = 3 cos dx = cos dx
2 −2 2 2 0 2 2 0 2
x=1 x=1
3 2 mπx 3 mπx 3 mπ
= sin = sin = sin .
2 mπ 2
x=0 mπ 2
x=0 mπ 2
Also,
2
1 1 3 1
Z Z Z
1 mπx mπx mπx
bm = f (x) sin
dx = 3 sin dx = sin dx
2 −2 2 2 0 2 2 0 2
x=1 x=1
3 2 mπx 3 mπx
= − cos =− cos
2 mπ 2
x=0 mπ 2
x=0
3 mπ 3 mπ
=− cos −1 = 1 − cos .
mπ 2 mπ 2
So the Fourier series is
∞
3 X 3 mπ mπx 3 mπ mπx
+ sin cos + 1 − cos sin .
4 m=1 mπ 2 2 mπ 2 2
Solution Since f is a periodic function of period 4, so is its Fourier series. So the the
value that the Fourier series converge at x = 9 is the same one at x = 1. Since at x = 1,
f is discontinuous. By the Fourier convergence theorem, its Fourier series converge to
d) Sketch the graph of the function of which the series converges for three periods.
CHAPTER 8. PARTIAL DIFFERENTIAL EQUATION 195
1 π
Z Z 0 Z π
mπx 1
am = f (x) cos dx = 2 cos mx dx + −2 cos mx dx
π −π π π −π 0
1 2 0 −2 π
= sin mx−π + ( sin mx)0 = 0,
π m m
and also,
1 π
Z Z 0 Z π
mπx 1
bm = f (x) sin dx = 2 sin mx dx + −2 sin mx dx
π −π π π −π 0
1 2 0 2 π
= − cos mx−π + cos mx0
π m m
1 2 2 2 2 1 4 4
= − − (− cos(−mπ)) + cos mπ − = − + cos(mπ)
π m m m m π m m
0 if m is even
1 4 4
= − + (−1)m = 8
π m m − if m is odd.
mπ
CHAPTER 8. PARTIAL DIFFERENTIAL EQUATION 196
d) Sketch the graph of the function of which the series converges for three periods.
Just because a Fourier series could have infinitely many terms does not mean that it will always
have that many terms. If a periodic function f can be expressed by finitely many terms normally
found in a Fourier series, then f must be the Fourier series of itself.
Example 131.
Solution Here L = 2. Note that the angle of trig functions in the Fourier series is
mπx mπx
= .
L 2
πx
For function f , the angle is . If it is already has the form of a Fourier series, then
3
πx mπx 2
= ⇒ m= ,
3 2 3
which is not an integer. So f is not in the form of Fourier series yet. On the other hand, for
g, we have
mπx
3πx = ⇒ m = 6.
2
So g is already in the form of Fourier series.
• Unlike integer which is either even or odd, most functions are neither even nor odd. For
instance,
f (x) = ex .
• Also there is only one function which is both even and odd, namely zero function. This is
the case since, if f is both even and odd, then
f (x) = f (−x) = −f (x) ⇒ 2f (x) = 0 ⇒ f (x) = 0.
The first equality holds since f is an even and the second one is true since f is an odd
function.
Properties of Even and Odd Functions
• Elementary properties of even and odd functions are displayed in the following table:
• By using this property, we are able to evaluate the integration faster, for examples,
Z 2
x3 dx = 0
−2
Z 8 Z 8
6
x dx = 2 x6 dx.
−8 0
Since cosine is the only trig function that appears in the Fourier series, we call it the Fourier
cosine series.
• Now let f be an odd periodic function with period 2L. Then, by using the above table, we
have
mπx
f (x) cos is odd and
L
mπx
f (x) sin is even.
L
Hence
Z L
1 mπx
am = f (x) cos = 0,
L −L L
Z L Z L
1 mπx 2 mπx
bm = f (x) sin = f (x) sin dx,
L −L L L 0 L
CHAPTER 8. PARTIAL DIFFERENTIAL EQUATION 199
The Fourier Cosine Series: If f is an even periodic function with period 2L, then
∞
a0 X mπx
+ am cos ,
2 m=1
L
2 L L
Z Z
2 mπx
a0 = f (x) dx, am = f (x) cos dx, m = 1, 2, . . .
L 0 L 0 L
The Fourier Sine Series: If f is an odd periodic function with period 2L, then
∞
X mπx
bm sin ,
m=1
L
for all x. By the property of an even function, we have bm = 0 for all m. Also
x=π
2 π 2 x3 π3
Z
2 2 2 2 4
a0 = (π − x ) dx = (π x − ) = (π 3 − ) = π2 ,
π 0 π 3 x=0 π 3 3
2 π 2
Z
am = (π − x2 ) cos mx dx
π 0
x=π
2 sin mx cos mx sin mx
= (π 2 − x2 ) − 2x + 2
π m m2 m3
x=0
2 cos mπ 4 4 4
= (−2π 2
) = − 2 cos mπ = − 2 (−1) = (−1)m+1 2 .
m
π m m m m
CHAPTER 8. PARTIAL DIFFERENTIAL EQUATION 200
Example 134 (Spring 2007 Final Exam). Consider the following periodic functions
for all x. Therefore both a and e can be expressed as a Fourier sine series.
b) List all functions that can be expressed as a Fourier cosine series.
for all x. Then both b and c can be expressed as Fourier cosine series.
Note here that d is neither even nor odd function, since
and Z L Z L
2 2 mπx
a0 = f (x) dx, am = f (x) cos dx, m = 1, 2, . . .
L 0 L 0 L
Example 135 (Fall 2001 Final Exam). Consider the following function, define for 0 ≤ x ≤ 3:
(
−1 , 0 ≤ x ≤ 2
f (x) = .
2 ,2 < x ≤ 3
a) Sketch the even, period 6 extension of f (x) on the interval [−9, 9].
b) Sketch the odd, period 6 extension of f (x) on the interval [−9, 9].
c) Set up, but do not evaluate, the integral(s) that will give the Fourier sine coefficients of
the odd extension.
Solution We know that for Fourier sine series, a0 and all am are zero. For m =
1, 2, . . .,
2 3
Z
mπx
bm = f (x) sin dx
3 0 3
Z 2 Z 3
2 mπx mπx
= (1 − x) sin dx + (−1) sin dx .
3 0 3 2 3
d) To what value does the sine series above converge to at x = −3, x = 0 and x = 2?
Solution f is discontinuous at x = −3 and x = 0 and continuous at x = 2. So by
Fourier Convergence Theorem, we have
Example 137 (Spring 2003 Final Exam). Consider the following function, defined on the
interval (0, 2). (
x ,0 < x < 1
f (x) = .
2 ,1 ≤ x < 2
c) Which of the above two has a cosine series, and which has a sine series?
Solution Part a) has a cosine series because it is an even function while Part b) gives
a sine series since it is an odd one.
d) What does the Fourier series representing part b) (the odd extension) converge to at
x = −2, x = 12 , and x = 3?
Solution Since f is a periodic function with period 4, so is its Fourier series. So the
value that Fourier series converges at x = 3 is the same one the Fourier series converges
to at x = −1. f is discontinuous at x = −2 and x = −1 and continuous at x = 21 . So
by Fourier Convergence Theorem, we have
f (−2+ ) + f (−2− ) −2 + 2
F (−2) = = =0
2 2
1 1 1
F( ) = f( ) =
2 2 2
f (−1+ ) + f (−1− ) −1 + (−2) 3
F (3) = F (−1) = = =− .
2 2 2
CHAPTER 8. PARTIAL DIFFERENTIAL EQUATION 205
Exercises 8.2
1. True or false:
(a) The constant term of the Fourier series representing f (x) = x2 , −2 < x < 2, f (x + 4) =
a0 4
f (x), is = .
2 3
(b) The Fourier series (of period 2π) representing f (x) = 3 − 7 sin2 (x) is a Fourier sine
series.
(c) The Fourier series of
is a cosine series.
(d) Every Fourier sine series converges to 0 at x = 0.
(e) Every Fourier sine series has 0 as its constant term.
(f) The constant term of the Fourier series representing
is zero.
2. Consider the Fourier series (of period 2π) representing
5. Find the Fourier cosine coefficient corresponding to n = 2, a2 , of the Fourier series of period
T = 2π representing the function f (x) = 6 cos 2x.
(a) a2 = 0
(b) a2 = 6
3
(c) a2 =
π
1
(d) a2 = −
π
6. Consider the 2π-periodic function
(a) b6 = 0.
4
(b) b6 = .
5π
3
(c) b6 = .
2π
3
(d) b6 = − .
4π
8. Let (
2, 0 < x < 1
f (x) =
1, 1 ≤ x ≤ 2
Answers
1. a) T, b) F, c) T, d) T, e) T, f) T
2. a)
3. b)
4. c)
5. b)
6. c)
7. a)
∞
3 X 2 mπ mπx
8. c) F (x) = + sin cos ,
2 m=1 mπ 2 2
3
d) At x = −2, it converges to 1. At x = 0, it converges to 2. At x = 1, it converges to 2
9. b) ii), c) At x = −π, it converges to 0. At x = 23 π, it converges to −3, e) 2.
10. b) T, c) −1 and 0, e) 1, f) 2
CHAPTER 8. PARTIAL DIFFERENTIAL EQUATION 208
α2 Uxx = Ut ,
where α2 is a constant known as the thermal diffusivity. This equation is called heat conduc-
tion equation or heat equation. The constant α2 depends only on material from which bar is
made. Typical values of α2 are given in the table below.
Silver 1.71
Copper 1.14
Aluminum 0.86
Granite 0.011
Brick 0.0038
Water 0.00144
Table 8.1: Values of the Thermal Diffusivity for Some Common Materials
CHAPTER 8. PARTIAL DIFFERENTIAL EQUATION 209
Assume that the ends of the bar are held at zero temperature at all time, so
We call this type of problems which contain both initial condition(s) and boundary conditions an
initial-boundary value problem or IBVP. Alternatively, we can consider this problem in the
xt-plane as shown below. The solution u(x, t) is sought in the semi-infinite strip 0 < x < L, t > 0,
subject to the requirement that u(x, t) must assume a prescribed value at each point on the
boundary of this strip.
Figure 8.2: Boundary value problem for the heat conduction equation.
The method we’ll use to solve this heat equation is called the separation of variables. Assume
that U (x, t) can be written as a product of two functions, one depending only on x and the other
depending only on t. So we write
U (x, t) = X(x)T (t).
CHAPTER 8. PARTIAL DIFFERENTIAL EQUATION 210
x3 Utt − t3 Uxx = 0,
Solution Let U (x, t) = X(x)T (t). Then Utt = XT 00 and Uxx = X 00 T . Then we have
x3 Utt − t3 Uxx = 0 ⇒ x3 XT 00 − t3 X 00 T = 0
⇒ x3 XT 00 = t3 X 00 T
T 00 X 00
⇒ 3
= 3
t T x X
So the statement is true since the given PDE is separable.
b) It is possible to separate the PDE,
Solution Let U (x, t) = X(x)T (t). Then Uxx = X 00 T, Utx = X 0 T 0 and Utt = XT 00 . So
we have
Uxx − 2Utx + Utt = 0 ⇒ X 00 T − 2X 0 T 0 + XT 00 = 0.
Since there is no common term in each pair of the expression, we can’t separate this
PDE. So the argument is false.
Example 139 (Spring 2009 Final Exam). True or false. It is possible to separate the PDE,
X 00
= −λ ⇒ X 00 + 2λX 0 − 5x3 λx = 0
2X 0 − 5x3 X
T0
= −λ ⇒ T 0 + λT = 0,
T
as two equations of one independent variable.
Now let’s comeback to our Heat problem. Write U (x, t) = X(x)T (t) by the separation of variables
method. From this we have Uxx = X 00 T, Ut = XT 0 . Substituting these into the heat equation,
X 00 T0
α2 Uxx = Ut ⇒ αX 00 T = XT 0 ⇒ = 2 = −λ.
X α T
We put negative sign here because it makes our life easier later. Next step is to consider them
separately,
X 00
= −λ ⇒ X 00 + λX = 0.
X
0
T
= −λ ⇒ T 0 + α2 λT = 0.
α2 T
Now let’s take a look at the boundary conditions. By using U (x, t) = X(x)T (t), we have
If T (t) = 0, both conditions would be satisfied but U (x, t) = X(x)T (t) = 0 would be a trivial
function which is totally uninteresting solution. Hence we have to let the new boundary conditions
to be
X(0) = 0, X(L) = 0.
For now, after using heat equation and boundary conditions, we transform the problem to
Recall that we solved BVP (8.10) before in Example 123, the eigenvalues are
nπ 2
λn = ( ) ,
L
CHAPTER 8. PARTIAL DIFFERENTIAL EQUATION 212
α 2 n2 π 2 t nπx
Un (x, t) = Xn (x)Tn (t) = exp(− ) sin .
L2 L
Then functions {Un } are sometimes called fundamental solutions of the heat conduction prob-
lem. Then the linear combination of Un for the general solution of the heat equation,
∞ ∞
X X α 2 n2 π 2 t nπx
U (x, t) = cn Un (x, t) = cn exp(− 2
) sin , (8.12)
n=1 n=1
L L
So we need to choose cn so that the series of sine functions converges to f (x). Notice that the
series on the right hand side is just the Fourier sine series for f , so its coefficients are given by
2 ∞
Z
nπx
cn = bn = f (x) sin dx.
L 0 L
8Uxx = Ut , 0 ≤ x ≤ 5, t>0
U (0, t) = 0, U (5, t) = 0,
U (x, 0) = x.
2 5
Z
nπx
cn = x sin dx.
5 0 5
x=5
2 5 nπx 25 nπx
= − x cos + 2 2 sin
5 nπ 5 n π 5
x=0
2 25 10
= (− cos nπ) = − cos nπ
5 nπ nπ
10 10
= − (−1)n = (−1)n+1 .
nπ nπ
So the particular solution is
∞
X 10 8n2 π 2 t nπx
U (x, t) = (−1)n+1 exp(− ) sin .
n=1
nπ 25 5
4Uxx = Ut , 0 ≤ x ≤ 6, t>0
U (0, t) = 0, U (6, t) = 0,
πx 3πx
U (x, 0) = 2 sin + 4 sin πx − 10 sin .
3 2
a) Find the particular solution of the above initial-boundary value problem.
Solution Here α2 = 4 and L = 6. So the general solution is
∞
X 4n2 π 2 t nπx
U (x, t) = cn exp(− ) sin
n=1
62 6
∞
X n2 π 2 t nπx
= cn exp(− ) sin
n=1
9 6
So when t = 0 we have
∞
X nπx
U (x, 0) = cn sin . (8.13)
n=1
6
CHAPTER 8. PARTIAL DIFFERENTIAL EQUATION 214
Exercises 8.3.1
1. (a) Use separation of variables to rewrite the partial differential equation below into a pair
of ordinary differential equations.
utt + 5u = 4uxx .
(b) Suppose the above partial differential equation has boundary condition ux (0, t) =
0, u(20, t) = 0. Use separations of variables to determine the corresponding bound-
ary conditions that the ordinary differential equations found in (a) must satisfy.
(c) (Yes or no) Could the partial differential equation, uxx − 2uxt = 5utt , be separated into
two ordinary differential equations?
2. Consider the following partial differential equation
u(0, y) = 0, u(L, y) = 0
3. True or false:
(a) It is possible to separate the partial differential equation, 4uxx = utt + t2 ut , into two
ordinary differential equations.
(b) Using the formula u(x, t) = X(x)T (t), the boundary conditions u(0, t) = 0 and ux (9, t) =
0 can be rewritten as X(0) = 0 and X 0 (9) = 0.
(c) Using the formula u(x, t) = X(x)T (t), the boundary conditions ux (0, t) = 0 and
ux (5, t) = 0 can be rewritten as T 0 (0) = 0 and T 0 (5) = 0.
(d) Using the formula u(x, t) = X(x)T (t), the boundary conditions ux (0, t) = 0 and
u(1, t) = 1 can be rewritten as X 0 (0) = 0 and X(1) = 1.
4. Consider the two linear partial differential equations.
Use the substitution u(x, t) = X(x)T (t) and attempt to separate each equation into two
ordinary differential equations. Which statement below is true?
Use the substitution u(x, t) = X(x)T (t) and attempt to separate each equation into two
ordinary differential equations. Which statement below is true?
(a) Neither equation is separable.
(b) Only (I) is separable.
(c) Only (II) is separable.
(d) Both equations are separable.
6. Using the substitution u(x, t) = X(x)T (t), where u(x, t) is not the trivial solution, consider
the two statements below.
(I) The equation uxx = utt + 4u can be separated into two ordinary differential equations.
(II) The boundary conditions ux (0, t) = 0 and u(4, t) = 0 can be rewritten into X 0 (0) = 0
and X(4) = 0.
Which statement below is true?
(a) Neither is true.
(b) Only (I) is true.
(c) Only (II) is true.
(d) Both are true.
7. Using the substitution u(x, t) = X(x)T (t), where u(x, t) is not the trivial solution. Consider
the two statements below.
(I) The equation uxt = utt + 4ut can be separated into two ordinary differential equations.
(II) The boundary conditions ux (0, t) = 0 and u(6, t) = 0 can be rewritten into X 0 (0) = 0
and X(6) = 0.
What can you say regarding the truthfulness of these statements?
Answers
1. a) 4X 00 + λX = 0, and T 00 + (λ + 5)T = 0, b) X 0 (0) = 0, X(20) = 0, c) No
2. a) X 00 + λX = 0, and Y 00 + 2Y 0 + λy 2 Y = 0, b) X(0) = X(L) = 0
3. a) T, b) T, c) F, d) F
4) d)
5. c)
6. d)
7. c)
CHAPTER 8. PARTIAL DIFFERENTIAL EQUATION 217
This problem is only slightly more difficult to solve since we can reduce it to a problem of Type I
by introducing the concept of steady-state solution, V (x).
After a long period of time (t → ∞), we anticipate that a steady temperature distribution V (x)
will be reached, which is independent of time t. Thus, by definition, we have
Vxx = V 00 , Vt = 0.
Hence
V 00 = 0, V (0) = T1 , V (L) = T2 .
V 00 = 0 ⇒ V (x) = c1 x + c2
V (0) = T1 ⇒ c2 = T1
T2 − T1
V (L) = T2 ⇒ T2 = c1 L + T1 ⇒ c1 = .
L
Hence we finally derive the formula for steady state function V ,
T2 − T1
V (x) = x + T1 .
L
Now let’s return to the original problem, express U (x, t) as
where W (x, t) is called transient part. Substitute this into Equations (8.15)-(8.17), we have
We use these facts, V 00 = 0, Vt = 0, for the first equation. Now we can see that all equations of W
is exactly the Type I heat problem. So we have the general solution for W ,
∞
X α 2 n2 π 2 t nπx
W (x, t) = cn exp(− 2
) sin ,
n=1
L L
where Z L
2 nπx
cn = (f (x) − V (x)) sin dx.
L 0 L
Finally, we then get the general solution of U , as follow
3Uxx = Ut , 0 ≤ x ≤ 5, t>0
U (0, t) = 30, U (5, t) = 50,
U (x, 0) = 5x + 30.
Example 144 (Fall 2010, Final Exam). Suppose the temperature distribution function U (x, t)
of a rod that has both ends constantly kept at different temperatures is given by initial-boundary
value problem
4Uxx = Ut , 0 ≤ x ≤ 1, t>0
U (0, t) = 60, U (1, t) = 40,
U (x, 0) = 60 − 20x − 30 sin 2πx + 50 sin 7πx.
b) Based on the given boundary conditions, state the general form of the solution. Then
find the particular solution of the initial-boudary value problem.
CHAPTER 8. PARTIAL DIFFERENTIAL EQUATION 220
And cn = 0 where n 6= 2, 7. Substitute all cn back into the general solution to get a
particular solution,
∞
X
U (x, t) = −20x + 60 + cn exp(−4n2 π 2 t) sin nπx
n=1
= −20x + 60 + c2 exp(−4(2)2 π 2 t) sin 2πx + c7 exp(−4(7)2 π 2 t) sin 7πx
= −20x + 60 − 30 exp(−16π 2 t) sin 2πx + 50 exp(−196π 2 t) sin 7πx.
By using the method of separation of variables to solve. Two ordinary differential equations we
get are the same as before which are
X 00 + λX = 0, T 0 + α2 λT = 0.
The only different conditions we have this time come from new boundary conditions,
Again we discard the case when T (t) = 0 since it’s gonna gives us an interesting trivial solution
U (x, t) = X(x)T (t) = 0. Hence we have to let the new boundary conditions to be
X 0 (0) = 0, X 0 (L) = 0.
The first equation (8.20) is the Eigenvalue problem. The result is summarized below:
Case 1: λ > 0, the eigenvalues are
nπ
λn = ( )2 ,
L
and the corresponding eigenfunctions are
nπx
Xn (x) = cos , n = 1, 2, . . . .
L
Suppose the temperature distribution function U (x, t) of a rod that both ends perfectly insulated
is given by the initial-boundary value problem
c0 = 20,
nx
x= ⇒ n=2 ⇒ c2 = −10,
2
nx
4x = ⇒ n=8 ⇒ c8 = 30.
2
And cn = 0 where n 6= 0, 2, 8. Substitute all cn back into the general solution to get a
particular solution,
3(2)2 t 2x 3(8)2 t 8x
U (x, t) = c0 + c2 exp(− ) cos + c8 exp(− ) cos
4 2 4 2
= 20 − 10 exp(−3t) cos x + 30 exp(−48t) cos 4x.
lim U (x, t) = lim (20 − 10 exp(−3t) cos x + 30 exp(−48t) cos 4x) = 20,
n→∞ n→∞
Exercises 8.3
1. Solve the heat conduction problem described by:
5. Suppose the temperature distribution function u(x, t) of a rod that has both ends perfectly
insulated is given by the initial-boundary value problem
(a) Find the particular solution of the above initial-boundary value problem.
(b) What is lim u(3, t)?
t→∞
CHAPTER 8. PARTIAL DIFFERENTIAL EQUATION 225
Let U (x, t) be the vertical displacement experienced by the string at the point x at time t. If
damping effects, such as air resistance, are neglected and if the amplitude of the motion is not too
large, then U (x, t) satisfies
a2 Uxx = Utt ,
where a, horizontal propagation speed of the wave motion, is a positive constant. The equation
is known as wave equation. Since the ends are assumed to remain fixed and therefore the
boundary conditions are
U (0, t) = 0, U (L, t) = 0, t > 0.
In addition, the equation also come with two initial conditions,
U (x, 0) = f (x) (initial displacement)
Ut (x, 0) = g(x) (initial velocity).
Alternatively, it can be considered as a boundary value problem in the semi-infinite strip 0 < x <
L, t > 0 of the xt-plane. One condition is imposed at each point on the semi-infinite sides, and
two are imposed at each point on the finite base.
Wave Equation
2
(Wave equation) a Uxx = Utt , 0 ≤ x ≤ L, t>0
(Initial conditions) U (x, 0) = f (x), Ut (x, 0) = g(x) 0 < x < L,
(Boundary conditions) U (0, t) = 0, U (L, t) = 0, t > 0.
CHAPTER 8. PARTIAL DIFFERENTIAL EQUATION 227
X(0) = 0, X(L) = 0.
Recall once again that the result of BVP (8.24) is that the eigenvalues are
nπ 2
λn = ( ) ,
L
and the corresponding eigenfunctions are
nπx
Xn (x) = sin ,
L
where n = 1, 2, . . .
nπ
Now let’s substitute λn = ( )2 into Equation (8.25),
L
α 2 n2 π 2
T 00 + α2 λT = 0 ⇒ T 00 + T =0
L2
anπt anπt
⇒ Tn (t) = An cos + Bn sin , n = 1, 2, . . .
L L
anπ
Notice that the above equation is the second order homogeneous equation with r = ± i, as
L
the roots of its characteristic equation.
So, for each n = 1, 2, . . .,
anπt anπt nπx
Un (x, t) = Xn (x)Tn (t) = An cos + Bn sin sin .
L L L
Then the linear combination of Un form the general solution of the heat equation,
∞
X anπt anπt nπx
U (x, t) = An cos + Bn sin sin , (8.26)
n=1
L L L
CHAPTER 8. PARTIAL DIFFERENTIAL EQUATION 228
Hence f needs to be a Fourier sine series and so we expand it into its odd periodic extension to
receive,
2 ∞
Z
nπx
An = bn = f (x) sin dx.
L 0 L
Note here that
∞
X anπ anπt anπ anπt nπx
Ut (x, t) = −An sin + Bn cos sin . (8.27)
n=1
L L L L L
So g needs to be also a Fourier sine series. By expanding it into odd periodic extension,
∞ ∞
X nπx X anπ nπx
bn sin = g(x) = Bn sin .
n=1
L n=1
L L
Wave Equation
2
(Wave equation) a Uxx = Utt , 0 ≤ x ≤ L, t > 0,
(Initial conditions) U (x, 0) = f (x), Ut (x, 0) = g(x) 0 < x < L,
(Boundary conditions) U (0, t) = 0, U (L, t) = 0, t > 0.
∞
X anπt anπt nπx
The solution is U (x, t) = An cos + Bn sin sin ,
n=1
L L L
2 ∞
Z
nπx
where An = f (x) sin dx,
L 0 L
Z L
2 nπx
and Bn = g(x) sin dx.
anπ 0 L
( The steady state which is lim U (x, t) doesn’t exist. )
t→∞
CHAPTER 8. PARTIAL DIFFERENTIAL EQUATION 229
We take a look here in two particular cases which make our solution in much simpler form.
Special case 1: If f (x) 6= 0, g(x) = 0, then all Bn = 0. Hence
Solution We have a2 = 4(a = 2), L = 5, f (x) 6= 0 and g(x) = 0. This is a wave equation
special case 1. So the general solution is
∞ ∞
X anπt nπx X 2nπt nπx
U (x, t) = An cos sin = An cos sin .
n=1
L L n=1
5 5
Exercises 8.4
1. Which of the following functions below is a solution of the wave equation
utt = 4uxx ?
2
(a) e−4π t sin(πx)
(b) sin(x − 2t)
(c) x2 + t2
(d) 1 + 4 cos(t) + x2
2. Consider the initial-boundary value problems for the wave equation
3. Suppose the displacement u(x, t) of a piece of flexing string is given by the initial-boundary
value problem
(e) True or False: The coefficients of the solution in part (d) above can be found using the
integral Z 2
2 nπx
Cn = (4 − x2 ) sin dx.
3nπ 0 2
(f) True or False: As t → ∞, the solution u(x, t) in (e) will reach a limit.
4. Suppose the displacement u(x, t) of a piece of flexing string that has both ends firmly fixed
in places is given by the initial-boundary value problem
(a) State the general form of its solution. Then find the particular solution of the initial-
boundary value problem.
(b) True or False: As lim u(1, t) = 0.5. Explain your answer.
t→∞
5. Suppose the displacement u(x, t) of a piece of flexing string that has both ends firmly fixed
in places is given by the initial-boundary value problem
(a) State the general form of its solution. Then find the particular solution of the initial-
boundary value problem.
(b) True or False: As t → ∞, the solution u(x, t) will go to 0 for all x.
(c) True or False: If f (x) = 0, then u(x, t) = 0 is the unique solution.
Answers
1. b)
2. a)
3. a) Two ends of the string are clamped in fixed positions at the horizontal level so they are held
motionless at all time. b) a = 3, c) 15
4 , d) i, e) T,Pf) F
∞
4. a) The general form of the solution is u(x, t) = n=1 Bn sin nπt nπx
2 sin 6 . The particular solution
P∞ 4 (2n−1)πt (2n−1)πx
is u(x, t) = n=1 (2n−1)2 π2 sin 2 sin 6 P, b) F
∞
5. a) The general form of the solution is u(x, t) = n=1 Cn cos nπt sin nπx
4 . The particular solution
√ √
is u(x, t) = 5 cos(4πt) sin(πx) − 2 7 cos(10πt) sin( 25 πx), b) F, c) T