§ 4.4 Undetermined Coefficients – Superposition Approach

advertisement
Math 2C
§ 4.4 Undetermined Coefficients – Superposition Approach
Introduction: Our goal in this section is to solve nonhomogeneous linear differential equations of the
form an y (n ) + an −1 y (n −1) + ... + a1 y′ + a0 y = g (x )
(1)
where ai , i = 1, 2, ,…, n are constants.
Strategy:
• Solve the corresponding homogeneous equation an y (n ) + an −1 y (n −1) + ... + a1 y′ + a0 y = 0 using
techniques from section 4.3. This will give us the complementary function yc .
•
Find a particular solution, y p , of (1).
•
Then our general solution of (1) is:
Method of Undetermined Coefficients:
This method is limited to linear DEs such as (1) where
• the coefficients ai , i = 0, 1, …, n are constants and
•
g ( x ) is a constant k, a polynomial function, an exponential eα x , a sine or cosine function
sin β x or cos β x , or finite sums and products of these functions.
Consecutive derivatives of y = sin β x and y = cos β x yield: _________________________
Consecutive derivatives of y = eα x yield: _________________________
Consecutive derivatives of polynomials yield: _________________________
Derivatives of sum and/or product combinations of the above functions (constants, polynomials,
exponentials eα x , sines, and cosines) are again sums and products of constants, polynomials,
exponentials eα x , sines, and cosines.
So when g ( x ) is of this type, we can make a very educated guess as to the form of y p , do some
calculus and algebra, and find y p . In this section g ( x ) will be of the form:
Zill/Wright – 8e
1
In general, g ( x ) will be of the form:
•
•
•
•
P ( x ) = an x n + an−1x n−1 + ...+ a1x + a0
(n is a nonnegative integer)
P ( x ) eα x cos ( β x ) or P ( x ) eα x sin ( β x )
( α and β are real numbers)
P ( x ) eα x
Any linear combination of the above functions
Example: Solve.
Zill/Wright – 8e
y ′′ + y ′ − 6 y = 12x 2 + 3x − 1
2
Example: Solve.
Zill/Wright – 8e
y′′ − 4 y′ − 12 y = cos ( 2x )
3
We can use the superposition principle from 4.1 to solve (1) when g ( x ) is more than one form.
Example: Solve.
Zill/Wright – 8e
y ′′ − 8 y ′ + 20 y = 5x + 2 + 3xe2 x
Note: m2 − 8m + 20 = 0 → m = 4 ± 2i
4
Sometimes we may need to modify our choice for y p .
Example: Solve.
Zill/Wright – 8e
y ′′ − 2 y ′ − 3y = 5e3x
5
Case 1: No function in the assumed y p is a solution of the associated homogeneous differential
equation. In other words, no function in the assumed y p is duplicated by a function in yc .
Example: For each g ( x ) , determine the form of the “trial particular solution” y p . (We are assuming
there are no “duplicates.”)
a) 2 (or any constant): y p = ______________________________
b) 3x + 7 : y p = ______________________________
c) 5x 3 − 7x + 1 : y p = ______________________________
d) cos (8x ) : y p = ______________________________
e) e9 x : y p = ______________________________
f)
(3x − 8) e
5x
: y p = ______________________________
g) 2x 3e−4 x : y p = ______________________________
h) e2 x sin (5x ) : y p = ______________________________
i)
j)
3x 2 sin (5x ) : y p = ______________________________
7xe3x cos (8x ) : y p = ______________________________
Example: Determine the form of a particular solution of
a) y′′ + 2 y′ + y = sin x + 3cos ( 2x )
(
)
b) y ′′ + 9 y = x 2 − 3 sin x
c) y′′ + 3 y′ − 10 y = 7xe3x − 2x 2 + cos ( 3x )
Zill/Wright – 8e
6
Case 2: A function in the assumed particular solution is also a solution of the associated homogeneous
differential equation.
Example: Find a particular solution of y ′′ − 8 y ′ + 16 y = e4 x .
Case 2 generalized:
1. Suppose g ( x ) is made up of m terms of the kind in the first example on page 6.
2. Assume y p = y p + y p + ...+ y p is the form for the particular solution, where the y p ,
1
2
m
i
i = 1, 2, …, m are the trial particular solutions for the respective m terms.
3. Under the circumstances for case 2 (a function in the assumed particular solution is also a
solution of the associated homogeneous differential equation), we have a general rule:
If any y p contains terms that duplicate terms in yc , then that y p must be multiplied by x n ,
i
i
where n is the smallest positive integer that eliminates the duplication.
Zill/Wright – 8e
7
Example: Solve.
Zill/Wright – 8e
y ′′ + 2 y ′ − 24 y = 16 − ( x + 2 ) e4 x
8
Example: Determine the form of a particular solution of
a) y ′′′ + y ′′ = e x sin x + 2x
4
b) y ( ) − y′′ = 4x + 2xe− x
Zill/Wright – 8e
9
Download