

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Material Type: Notes; Class: Calculus II; Subject: Mathematics; University: North Carolina State University; Term: Unknown 1989;
Typology: Study notes
1 / 3
This page cannot be seen from the preview
Don't miss anything!


Example 1 (section 7.8, pg. 1172, problem 10). Solve the initial-value problem using the method of undetermined coefficients:
y′′^ + y′^ − 2 y = x + sin 2x, y(0) = 1, y′(0) = 0
Solution:
First, we solve the corresponding homogeneous equation y′′+y′− 2 y = 0. The characteristic equation is r^2 + r − 2 = (r − 1)(r + 2) = 0 with roots r = 1, −2. So the general solution of the homogeneous equation is yc(x) = C 1 ex^ + C 2 e−^2 x
Second, we look for a particular solution of the given differential equation. Since G(x) = x + sin 2x, we seek a particular solution of the form
yp(x) = Ax + B + C cos 2x + D sin 2x
Then y′ p(x) = A − 2 C sin 2x + 2D cos 2x, y′′ p = − 4 C cos 2x − 4 D sin 2x
So, substituting into the given differential equation, we have
− 4 C cos 2x− 4 D sin 2x+A− 2 C sin 2x+2D cos 2x−2 (Ax + B + C cos 2x + D sin 2x) = x+sin 2x
or
− 2 Ax + (A − 2 B) + (− 4 C + 2D − 2 C) cos 2x + (− 4 D − 2 C − 2 D) sin 2x = x + sin 2x
or − 2 Ax + (A − 2 B) + (− 6 C + 2D) cos 2x + (− 6 D − 2 C) sin 2x = x + sin 2x
This is true if
− 2 A = 1 A − 2 B = 0 − 6 C + 2D = 0 − 6 D − 2 C = 1
The solution of the system is
A = −
A particular solution is therefore
yp(x) = −
x −
cos 2x −
sin 2x
y(x) = yc(x) + yp(x) = C 1 ex^ + C 2 e−^2 x^ −
x −
cos 2x −
sin 2x
The final step is to find C 1 and C 2 such that the general solution y(x) satisfies the initial conditions y(0) = 1, y′(0) = 0. Imposing the initial condition y(0) = 1, we get
y(0) = C 1 + C 2 −
or C 1 + C 2 =
To impose the other initial condition we first differentiate the solution:
y′(x) = C 1 ex^ − 2 C 2 e−^2 x^ −
sin 2x −
cos 2x
So y′(0) = C 1 − 2 C 2 −
or C 1 − 2 C 2 =
The solution of the system
C 1 + C 2 =
is C 1 =
Therefore y(x) =
ex^ +
e−^2 x^ −
x −
cos 2x −
sin 2x
Example 2 (section 7.8, pg. 1172, problem 26). Solve the initial-value problem using the method of variation of parameters:
y′′^ + 4y′^ + 4y = e−^2 x x^3
yc(x) = C 1 e−^2 x^ + C 2 xe−^2 x
yp(x) = u 1 (x)e−^2 x^ + u 2 (x)xe−^2 x