Docsity

Section 3.4 - 3.6 lecture notes, Lecture notes of Engineering Mathematics

Partial preview of the text

Download Section 3.4 - 3.6 lecture notes and more Lecture notes Engineering Mathematics in PDF only on Docsity!

Section 3.4. Second Order Non- homogeneous Equations (Text, Sec- tion 3.4)

y′′^ + p(x)y′^ + q(x)y = f (x) (N)

The corresponding homogeneous equa- tion

y′′^ + p(x)y′^ + q(x)y = 0 (H)

is called the reduced equation of (N). You will see that these two equations are closely connected.

Basic Results

THEOREM 1: If z = z 1 (x) and z = z 2 (x) are solutions of equation (N), then

y(x) = z 1 (x) − z 2 (x)

is a solution of equation (H).

Proof:

Conclusion: The general solution of (N) consists of the general solution of the reduced equation (H) plus a partic- ular solution z of (N):

y = C︸ 1 y 1 (x) +︷︷ C 2 y 2 (x)︸ + z︸ (︷︷x )︸.

gen soln (H) + part soln (N)

To find the general solution of

(N):

y′′^ + p(x)y′^ + q(x)y = f (x)

you need to find:

  1. a fundamental set of solutions y 1 , y 2 of the reduced equation (H), and
  2. a particular solution z of (N).

then

z(x) = zf (x) + zg(x)

is a particular solution of

y′′^ + p(x)y′^ + q(x)y = f (x) + g(x).

Proof:

I. Variation of Parameters

Recall from 3.2: Let y = y 1 (x) and y = y 2 (x) be independent solutions of the reduced equation (H) and let

W (x) =

∣∣∣ ∣∣∣^ y y^11 ′^ yy^22 ′

∣∣∣ ∣∣∣ = y 1 y 2 ′ − y 2 y 1 ′ 6 = 0

be their Wronskian.

Then

y = C 1 y 1 (x) + C 2 y 2 (x)

is the general solution of (H).

Substitute z, z′, z′′^ into the differen- tial equation y′′^ + py′^ + qy = f.

( uy′′ 1 +^ y 1 ′ u′^ +^ vy 2 ′′ +^ y 2 ′ v′

) +p ( uy′ 1 +^ vy 2 ′

)

  • q (uy 1 + vy 2 ) = f

Rearrange the terms:

u ( y′′ 1 + py 1 ′ + qy 1 ) + v ( y 2 ′′ + py 2 ′ + qy 2 )

  • y 1 ′ u′^ + y 2 ′ v′^ = f

which reduces to y 1 ′ u′^ + y 2 ′ v′^ = f.

We now have two equations in the two unknowns u′^ and v′:

y 1 u′^ + y 2 v′^ = 0 y 1 ′ u′^ + y 2 ′ v′^ = f

Solve for u′: ( y 1 y 2 ′ − y 2 y 1 ′ ) u′ (^) = −y 2 f

or

W u′^ = −y 2 f

so

u′^ = − Wy^2 f and u =^ ∫^ − Wy^2 f dx;

Therefore,

z(x) =

y 1 (x)^ ∫^ −y^2 W(x ()xf)^ ( x) dx + y 2 (x)^ ∫^ y^1 ( Wx )(fx^ ()x )dx

is a particular solution of the nonho- mogeneous equation (N).

Note: We used two independent so- lutions y 1 , y 2 of the reduced equation to ”construct” a solution of the non- homogeneous equation.

Conclusion: We can solve any second order linear nonhomogeneous equation

y′′^ + p(x)y′^ + q(x)y = f (x)

provided we can find two linearly inde- pendent solutions y 1 , y 2 of its reduced equation

y′′^ + p(x)y′^ + q(x)y = 0.

y 1 = x^2 , y 2 = x^4

W [y 1 , y 2 ] =

  1. Find the general solution of

y′′^ − 4 y′^ + 4y = e x^2 x (x 6 = 0)

  1. Find the general solution of

y′′^ + 4y = 2 tan 2x

II. Undetermined Coefficients aka ”Guessing” (Text, Section 3.5)

NOTE: THIS METHOD CAN BE USED ONLY WHEN:

  1. The de has constant coefficients
  2. f is an “exponential” function

That is: y′′^ + ay′^ + by = f (x) where a, b are constants, and f is an ”expo- nential” function.