

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


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:
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 +
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 .