Docsity

Solving Basic Ordinary Differential Equations (ODEs) in Math 211, Fall 2006, Study notes of Differential Equations

Toggle sidebar
bg1
Handout One of Math 211, Fall 2006
How to solve some basic ODEs that we have learned?
Step One: Always convert the ODEs to normal forms, i.e. y0=f(t, y).
Step Two: Then decide which type of equation it is. So far we have learned
three types:
1. y0=f(t)——— the easiest one
2. y0=g(t)h(y)——- separable equation
3. y0=a(t)y+f(t)—— linear equation
3(a)If f(t) = 0, it is homogeneous linear equation.
3(b)Otherwise, it is inhomogeneous linear equation.)
Step Three: Solve them accordingly.
Type 1:
Solution is y=Rf(t)dt,(do not forget the arbitrary constant). If you are asked
to solve IVP(initial value problem), then basically you need to determine that
constant.
Type 2:
Put all the y’s in the left side and all the t’s in the right side.
Say, if h(y)6= 0, then
dy
h(y)=g(t)dt
Integrate it, R1
h(y)dy =Rg(t)dt
Then solve the above equation, which gives you the general solution, with arbi-
trary constant.
WARNING: When you divide both side by h(y), you need h(y)6= 0.
Type 3(a)
For the homogeneous equation y0=a(t)y, it is separable. And the solution is
given by
y(t) = AeRa(t)dt,A is an arbitray constant
Type 3(b)
For the inhomogeneous equation y0=a(t)y+f(t), find the integration factor
first,
u(t) = e−Ra(t)dt (notice, there is a negative sign)
(do not have to care about the arbitrary constant from the indefinite integral,
choose any one)
Then the solution is given by:
y(t) = 1
u(t)Zu(t)f(t)dt +C
u(t),for arbitrary constant C.
Another method for solving inhomogeneous equations
1
pf2

Partial preview of the text

Download Solving Basic Ordinary Differential Equations (ODEs) in Math 211, Fall 2006 and more Study notes Differential Equations in PDF only on Docsity!

Handout One of Math 211, Fall 2006

How to solve some basic ODEs that we have learned? Step One: Always convert the ODEs to normal forms, i.e. y′^ = f (t, y). Step Two: Then decide which type of equation it is. So far we have learned three types:

  1. y′^ = f (t)——— the easiest one
  2. y′^ = g(t)h(y)——- separable equation
  3. y′^ = a(t)y + f (t)—— linear equation 3(a)If f (t) = 0, it is homogeneous linear equation. 3(b)Otherwise, it is inhomogeneous linear equation.) Step Three: Solve them accordingly.

Type 1: Solution is y =

f (t)dt,(do not forget the arbitrary constant). If you are asked to solve IVP(initial value problem), then basically you need to determine that constant.

Type 2: Put all the y’s in the left side and all the t’s in the right side. Say, if h(y) 6 = 0, then dy h(y)

= g(t)dt

Integrate it,

h(y) dy =

g(t)dt

Then solve the above equation, which gives you the general solution, with arbi- trary constant. WARNING: When you divide both side by h(y), you need h(y) 6 = 0.

Type 3(a) For the homogeneous equation y′^ = a(t)y, it is separable. And the solution is given by y(t) = Ae

∫ a(t)dt, A is an arbitray constant

Type 3(b) For the inhomogeneous equation y′^ = a(t)y + f (t), find the integration factor first, u(t) = e−^

∫ (^) a(t)dt (notice, there is a negative sign)

(do not have to care about the arbitrary constant from the indefinite integral, choose any one) Then the solution is given by:

y(t) =

u(t)

u(t)f (t)dt +

C

u(t)

, for arbitrary constant C.

Another method for solving inhomogeneous equations

Given equations y′^ = a(t)y + f (t), solve the corresponding homogeneous equa- tion y′ h = a(t)yh

to get yh = e

∫ a(t)dt(Note: this is NOT the integration factor we just discussed).

Then let

v(t) =

f (t) yh(t)

dt =

f (t)e−^

∫ a(t)dtdt + C

Finally, the solution we want is

y = v(t)yh(t) = yh(t)

f (t)e−^

∫ (^) a(t)dt dt + Cyh(t), where yh = e

∫ (^) a(t)dt .