Docsity

Substitution Methods and Exact Equations - Lecture Notes | MATH 2250, Study notes of Linear Algebra

Toggle sidebar
bg1
MATH 2250 Linear Algebra and Differential Equations Chapter 1
1.6 Substitution Methods and Exact Equations
Many applications involve differential equations that cannot be solved using the
separation of variables nor integrating factor methods. In this section, we will see how
substitution methods can be used to transform a differential equation into one that we
already know how to solve.
Suppose you have
)( cbyaxF
dx
dy
where F is a function of a linear expression in x and y.
Note: We need to substitute for both sides of the equation, including
dx
dy
.
Letting
cbyaxv
and solving for y, we have
b
c
x
b
a
v
b
y1
. Taking the
derivative of y with respect to x gives
b
a
dx
dv
bdx
dy 1
By substitution, we have
)( cbyaxF
dx
dy
becomes
b
a
dx
dv
b
1
)(vF
or
avbF
dx
dv )(
which separates as
.
Example: Solve
1 yx
dx
dy
Let
1 yxv
. So,
1 xvy
1dx
dv
dx
dy
Substitution into the differential equation yields
v
dx
dv 1
Separation of variables gives
dx
v
dv
1
Integration of the left side requires the substitution
1 vu
for which
dv
v
du 2
1
.
Solving for dv, we get
dvduu )1(2
since
vu 1
. Hence, substitution in terms of
u gives
pf3
pf4
pf5

Partial preview of the text

Download Substitution Methods and Exact Equations - Lecture Notes | MATH 2250 and more Study notes Linear Algebra in PDF only on Docsity!

1.6 Substitution Methods and Exact Equations

Many applications involve differential equations that cannot be solved using the

separation of variables nor integrating factor methods. In this section, we will see how

substitution methods can be used to transform a differential equation into one that we

already know how to solve.

Suppose you have

F ( ax by c )

dx

dy

where F is a function of a linear expression in x and y.

Note: We need to substitute for both sides of the equation, including

dx

dy

Letting

vaxbyc

and solving for y, we have

b

c

x

b

a

v

b

y   

. Taking the

derivative of y with respect to x gives

b

a

dx

dv

dx b

dy

By substitution, we have

F ( ax by c )

dx

dy

becomes

b

a

dx

dv

b

F ( v )

or

bF v a

dx

dv

which separates as

dx

bF v a

dv

Example: Solve

xy  1

dx

dy

Let

vxy  1

. So,

yvx  1

dx

dv

dx

dy

Substitution into the differential equation yields

v

dx

dv

Separation of variables gives

dx

v

dv

Integration of the left side requires the substitution u  v  1 for which

dv

v

du

Solving for dv , we get

2 ( u  1 ) dudv

since

u  1  v

. Hence, substitution in terms of

u gives

du dx

u

( u 1 )

Division on the left sides allows us to integrate obtaining

 x y x y  x C

x y x y x C

v v x C

u u x C

du x C

u

        

        

    

  

  

2 1 1 ln( 1 1 )

2 1 1 ln( 1 1 )

2 ( 1 ln 1

2 ( ln )

1

2 1

A common nonlinear case is a first-order differential equation of the form

x

y

F

dx

dy

The differential equation typically does not start in this form but requires algebraic

manipulation.

Note: Again, we need to substitute for both sides of the equation, including

dx

dy

The Substitution: Letting

x

y

v

gives

y  vx

and

dx

dv

v x

dx

dy

. Substitution yields

F ( v )

dx

dv

vx

which is separable:

Fv v

dx

dv

x  ( )

Example: Solve

( xy ) y ' xy

Multiplying both sides by

x

yields

x

y

y

x

y

Letting

x

y

v

, we have

v

dx

dv

v v x   

v

v

v

dx

dv

x

So

2

v

v v

dx

dv

x

Note factoring out sign

Separating variables yields

Exactness (This is a commonly used technique)

We have seen that a general solution to a first-order differential equation is often an

implicit equation

F ( x , y ( x )) C.

This means that the original differential equation could have the form

0

'

"exact" form

test for this

We needto

 

y

dx

dy

y

F

x

F

   

Such cases are written as

dx

dy

M x y N x y

We must test expressions

M ( x , y )

and

N ( x , y )

for “exactness”. The idea is that a

solution function

F ( x , y )

satisfies

M

x

F

and

N

y

F

We require that

x

N

y

M

. That is, we need

xy

F

and

yx

F

to be continuous on an

open region of the xy -plane.

Example: Solve

3 2 2

xyy dxyxxy dy

That is, solve

Take M  N =

(1) Test for exactness:

(2) Integrate

x

F

M

with respect to x :

(3) Differentiate F ( x , y ) with respect to y (this must be “ N ”):

So we require

g ' ( y ) 4 y

. Thus the solution is

Reduction of Order (Another commonly used technique)

A second-order differential equation has the form

F ( x , y , y ', y '') 0

(2 cases) If either the independent variable x or dependent variable y are “missing”, then

the equation “easily” reduces to a first-order differential equation by substitution.

Case 1 : If y is missing, then

F ( x , y ', y '') 0

Let

dx

dy

py ' 

, and

dx

dp

y ' '

. This gives

F ( x , p , p ') 0

which we can solve using our first-order methods. Then solve

y ( x ) pdx

Case 2 : (BE CAREFUL) If x is missing, then

F ( y , y ', y '') 0

so we need to view the

equation in terms of y.

Let

dx

dy

py ' 

, and

y

dy

dp

p

dx

dy

dy

dp

dx

dp

y

Writein terms of

giving

, ,  0

dy

dp

F y p p

Examples: Use reduction of order to solve each of the following:

xy ' ' 2 y ' 6 x

Since y is missing, this is the straight forward case where we let

py '

and

p '  y ''

Substitution gives

xp '  2 p  6 x

which is a linear first-order equation. We may solve using an integrating factor.

(2) Use reduction of order to solve

2

yy ' '( y ' )

Here we see that x is missing so we must view the equation in terms of y as the

independent variable initially. Therefore, we let p = y ’. Now, we have