Professional Documents
Culture Documents
L. Traktman
October 20, 2018
How to identify a first order linear ODE? The highest derivative will
be y’ (hence first order), and the highest power of y will be 1 (hence linear).
So, ultimately, it will reduce to the form:
Example 1
ty 0 + 2y = t2 − t + 1; y(1) = 1
2
y 0 + 2t y = t − 1 + 1
t
2 2
R R
p(t)dt dt
Our integrating fator u = e =e t = eln(t ) = t2
t2 y 0 + 2ty = t3 − t2 + t
The purpose of the integrating factor is to transform the left hand side into
the two terms that would result from the product rule. Let’s see if that is
indeed the case here.
1
Thus we can rewrite the problem and integrate:
t4 t3 t2
t2 y = 4
− 3
+ 2
+C
t2
y= 4
− 3t + 12 + C
t2
Now just throw the initial value in there and we should be good.
1 1
2
= 4
− 13 + 12 + C
1
1
C= 12
t2
y= 4
− 3t + 21 + 1
12t2
Example 2
Here’s another, for practice.
√
cos(x)y 0 + sin(x)y = 2cos3 (x)sin(x) − 1; y( π4 ) = 3 2 0 ≤ x ≤ π
2
2
12+2 = 2C
C=7
Solution:
Hint:
1
c=π− 4
Aln(B) = ln(B A )
A
ln(A) − ln(B) = ln( B )
3
eln(A) = A
y = eC x → Cx