Professional Documents
Culture Documents
Chapter 17 Second-Order Differential Equations
Chapter 17 Second-Order Differential Equations
Chapter 17 Second-Order Differential Equations
Second-Order
Differential Equations
1
17.0 Exact First-Order
Equations
2
Objectives
Solve an exact differential equation.
3
Exact Differential Equations
4
Exact Differential Equations
This section introduces you to a method for solving the
first-order differential equation
5
Exact Differential Equations
You know that if f has continuous second partials, then
6
Example 1(a) – Testing for Exactness
Determine whether each differential equation is exact.
a. (xy2 + x) dx + yx2 dy = 0
and
and
N 2
y x sin y
x x
Notice that the equation cos y dx + (y2 + x sin y)dy = 0 is
not exact, even though it differs from the first equation only
by a single sign.
8
Exact Differential Equations
Note that the test for exactness of M(x, y)dx + N(x, y)dy = 0
is the same as the test for determining whether
F(x, y) = M(x, y)i + N(x, y)j is the gradient of a potential
function.
9
Integrating Factors
10
Integrating Factors
If the differential equation M(x, y)dx + N(x, y)dy = 0 is not
exact, it may be possible to make it exact by multiplying by
an appropriate factor u(x, y), which is called an integrating
factor for the differential equation.
11
Example 4(a) – Multiplying by an Integrating Factor
12
Example 4(b) – Multiplying by an Integrating Factor
cont’d
If the equation
Exact equation
13
Integrating Factors
Finding an integrating factor can be difficult. However, there
are two classes of differential equations whose integrating
factors can be found routinely—namely, those that possess
integrating factors that are functions of either x alone or y
alone. The following theorem, outlines a procedure for finding
these two special categories of integrating factors.
14
Example 5 – Finding an Integrating Factor
Solution:
The given equation is not exact because My(x, y) = 2y and
Nx(x, y) = 0.
However, because
16
Example 5 – Solution cont’d
17
17.1 Second-Order Linear
Equations
18
Objectives
Solve a second-order linear differential equation.
19
Second-Order Linear Differential
Equations
20
Second-Order Linear Differential Equations
21
Second-Order Linear Differential Equations
22
Example 1(a) – Linearly Independent and Dependent Functions
The functions
C1 sin x + C2x = 0
23
Example 1(b) – Linearly Independent and Dependent Functions
cont’d
C1x + C2(3x) = 0
24
Second-Order Linear Differential Equations
25
Second-Order Linear Differential Equations
26
Second-Order Linear Differential Equations
y + ay + by = 0
m2emx + amemx + bemx = 0
emx(m2 + am + b) = 0.
y + ay + by = 0
27
Second-Order Linear Differential Equations
28
Example 2 – Characteristic Equation with Distinct Real Zeros
Solution:
In this case, the characteristic equation is
m2 – 4 = 0 Characteristic equation
so, m = 2.
30
Second-Order Linear Differential Equations
31
Second-Order Linear Differential Equations
and
33
Example 3
Consider the initial value problem
y y 12 y 0, y (0) 0, y(0) 1
Assuming exponential soln leads to characteristic equation:
Factoring e rt two
y (t ) yields r 2solutions, r 4r2=r 3 3 0
r 12 r01 =-4 and
The general solution has the form
Using the
y (tinitial
) c1econditions:
4 t
c2 e 3 t
c1 c2 0 1 1
Thus c1 , c2
4c1 3c2 1 7 7
1 4 t 1 3t
y (t ) e e 34
7 7
Example 3
Consider the initial value problem
2 y 3 y 0, y 0 1, y0 3
Then
y (t ) e rt 2r 2 3r 0 r 2r 3 0
Factoring yields two solutions, r1 = 0 and r2 = -3/2
The general solution has the form
y (t ) c1e 0 t c2 e 3t / 2 c1 c2 e 3t / 2
Using the initial conditions:
c1 c2 1
3c2 c1 3, c2 2
3
2
Thus y (t ) 3 2e 3t / 2
35
Example 4: Initial Value Problem (1 of 2)
Consider the initial value problem
y 5 y 6 y 0, y 0 2, y0 3
Then
y (t ) e rt r 2 5r 6 0 r 2r 3 0
Factoring yields two solutions, r1 = -2 and r2 = -3
The general solution has the form
y (t ) c1e 2 t c2 e 3t
Using initial conditions:
c1 c2 2
c1 9, c2 7
2c1 3c2 3
Thus y (t ) 9e 2 t 7e 3t
36
Example 4: Find Maximum Value (2 of 2)
37
Example 5
y 6 y 9 y 0
Characteristic eq. :
2
6 9 ( 3) 0
The repeated root:
2
3
The general solution:
y ( x ) (c1 c2 x )e 3x
38 38
Example 6 – Characteristic Equation with Complex Zeros
Solution:
The characteristic equation
m2 + 6m + 12 = 0
has two complex zeroes, as follows.
39
Example 6 – Solution cont’d
40
Example 6 – Solution cont’d
Figure 17.5 41
Higher-Order Linear Differential
Equations
42
Higher-Order Linear Differential Equations
Solution:
The characteristic equation is
m3 – m = 0
m(m – 1)(m + 1) = 0
m = 0, 1, –1.
44
17.3 Second-Order
Nonhomogeneous Linear Equations
45
Objectives
Recognize the general solution of a second-order
nonhomogeneous linear differential equation.
46
Nonhomogeneous Equations
47
Nonhomogeneous Equations
Damped oscillations of a spring are represented by the
homogeneous second-order linear equation
48
Nonhomogeneous Equations
If such a system is also subject to an external periodic force
such as a sin bt, caused by vibrations at the opposite end of
the spring, the motion is called forced, and it is characterized
by the nonhomogeneous equation
49
Nonhomogeneous Equations
In this section, you will study two methods for finding the
general solution of a nonhomogeneous linear differential
equation.
y = yh
y = yp
50
Nonhomogeneous Equations
By combining these two results, you can conclude that the
general solution of the nonhomogeneous equation is
y = yh + yp.
51
Method of Undetermined
Coefficients
52
Method of Undetermined Coefficients
You already know how to find the solution yh of a linear
homogeneous differential equation.
The remainder of this section looks at ways to find the
particular solution yp.
If F(x) in
y′′ + ay′ + by = F(x)
consists of sums or products of xn, emx, cos βx, or sin βx,
you can find a particular solution yp by the method of
undetermined coefficients.
The object of this method is to guess that the solution yp is a
generalized form of F(x).
53
Method of Undetermined Coefficients
Here are some examples.
54
Example 1 – Method of Undetermined Coefficients
Solution:
To find yh, solve the characteristic equation.
m2 − 2m − 3 = 0
(m + 1) (m − 3) = 0
m = −1 or m = 3
yp = A cos x + B sin x
Therefore,
57
Method of Undetermined Coefficients
In Example 1, the form of the homogeneous solution
yh = C1e−x + C2e3x
59
Variation of Parameters
60
Variation of Parameters
The method of undetermined coefficients works well if F(x)
is made up of polynomials or functions whose successive
derivatives have a cyclical pattern.
For functions such as 1/x and tan x, which do not have such
characteristics, it is better to use a more general method
called variation of parameters.
61
Variation of Parameters
62
Example 5 – Variation of Parameters
Solve the differential equation
Solution:
The characteristic equation m2 – 2m + 1 = (m – 1)2 = 0 has
one repeated solution, m = 1.
So, the homogeneous solution is
64
Example 5 – Solution cont’d
65
More examples
66
Example 1: Exponential g(t)
72
Example 5: Sum g(t)
y 3 y 4 y 3e 2t
y 3 y 4 y 2 sin t
y 3 y 4 y 8e t cos 2t
77 77