Second-Order Linear Equations - Lecture Notes | MA 241, Study notes of Calculus

Material Type: Notes; Class: Calculus II; Subject: Mathematics; University: North Carolina State University; Term: Unknown 1989;

Typology: Study notes

Pre 2010

Uploaded on 03/11/2009

koofers-user-06m
koofers-user-06m 🇺🇸

9 documents

1 / 3

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Second-Order Linear Equations
Example 1 (section 7.8, pg. 1172, problem 10). Solve the initial-value problem using
the method of undetermined coefficients:
y00 +y0
2y=x+ sin 2x, y(0) = 1, y0(0) = 0
Solution:
1) First, we solve the corresponding homogeneous equation y00+y0
2y= 0. The characteristic
equation is r2+r2=(r1)(r+ 2) = 0 with roots r= 1,2. So the general solution of
the homogeneous equation is
yc(x) = C1ex+C2e2x
2) 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+Ccos 2x+Dsin 2x
Then
y0
p(x) = A2Csin 2x+ 2Dcos 2x, y00
p=4Ccos 2x4Dsin 2x
So, substituting into the given differential equation, we have
4Ccos 2x4Dsin 2x+A2Csin 2x+2Dcos 2x2 (Ax +B+Ccos 2x+Dsin 2x) = x+sin 2x
or
2Ax + (A2B)+(4C+ 2D2C) cos 2x+ (4D2C2D) sin 2x=x+ sin 2x
or
2Ax + (A2B)+(6C+ 2D) cos 2x+ (6D2C) sin 2x=x+ sin 2x
This is true if
2A= 1 A2B= 0 6C+ 2D= 0 6D2C= 1
The solution of the system is
A=
1
2B=
1
4C=
1
20 D=
3
20
A particular solution is therefore
yp(x) =
1
2x
1
4
1
20 cos 2x
3
20 sin 2x
3) By the superposition principle, the general solution is
y(x) = yc(x) + yp(x) = C1ex+C2e2x
1
2x
1
4
1
20 cos 2x
3
20 sin 2x
1
pf3

Partial preview of the text

Download Second-Order Linear Equations - Lecture Notes | MA 241 and more Study notes Calculus in PDF only on Docsity!

Second-Order Linear Equations

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:

  1. 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

  2. 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 = −

B = −

C = −

D = −

A particular solution is therefore

yp(x) = −

x −

cos 2x −

sin 2x

  1. By the superposition principle, the general solution is

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 =

C 1 − 2 C 2 =

is C 1 =

C 2 =

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

  1. First, we solve the corresponding homogeneous equation y′′^ + 4y′^ + 4y = 0. The charac- teristic equation is r^2 + 4r + 4 = (r + 2)^2 = 0 with roots r 1 , 2 = −2. So the general solution of the homogeneous equation is

yc(x) = C 1 e−^2 x^ + C 2 xe−^2 x

  1. Second, we look for a particular solution of the given differential equation. Using variation of parameters, we seek a solution of the form

yp(x) = u 1 (x)e−^2 x^ + u 2 (x)xe−^2 x