Professional Documents
Culture Documents
LSection 2 1annotated
LSection 2 1annotated
Outline
Introduction
Introduction Method of Integrating Factor
Definition
A differential equation of the form of
dy
a1 (x) + a0 (x)y = g (x) (1)
dx
is said to be first-order linear differential equation.
Definition
A first-order linear differential equation in standard form is an
equation in the form of
dy
+ p(x)y = f (x) (2)
dx
Remark
Every first-order differential equation can be put into the standard
form.
Introduction Method of Integrating Factor
Observe that d
dt [(2 + x 2 )y ] = (2 + x 2 ) dy
dx + 2xy
d
Thus, we can write dt [(2 + x 2 )y ] = 4x
General solution:
Integrating Factor
Consider
dy
+ p(x)y = f (x)
R
dx
µ(x) = e p(x)dx is called the integrating factor of the differential
equation.
Introduction Method of Integrating Factor
Example
Find the integrating factor of
dy
+ y sin x = cos x
dx
Introduction Method of Integrating Factor
Example
Find the integrating factor of
dy
− y = x2
dx
Introduction Method of Integrating Factor
Example
Find the integrating factor of
xy 0 + x(x + 2)y = e x
Introduction Method of Integrating Factor
So R Z R
y = e− p(x)dx
e p(x)dx
f (x)dx
Introduction Method of Integrating Factor
R Z R
− p(x)dx p(x)dx
y =e e f (x)dx
R
2. Identify p(x); compute the integrating factor µ(x) = e p(x)dx ;
dy
µ(x) + µ(x)p(x)y = µ(x)f (x);
| dx {z }
d
dx
µ(x)y
Z
4. Integrate both sides, we have µ(x)y = µ(x)f (x)dx;
R R
5. Write the general solution y = e − p(x)dx p(x)dx f (x)dx.
R
e
Introduction Method of Integrating Factor
Example
Solve x dy
dx + 2y = 3.
Introduction Method of Integrating Factor
Example
Solve x dy
dx + 2y = 3.
Solution.
Step 1. Put the ODE in the standard form.
Introduction Method of Integrating Factor
Example
Solve x dy
dx + 2y = 3.
Solution.
Step 1. Put the ODE in the standard form.
dy
Divide the DE by x, we have dx + x2 y = 3
x
Introduction Method of Integrating Factor
Example
Solve x dy
dx + 2y = 3.
Solution.
Step 1. Put the ODE in the standard form.
dy
Divide the DE by x, we have dx + x2 y = 3
x
Example
Solve x dy
dx + 2y = 3.
Solution.
Step 1. Put the ODE in the standard form.
dy
Divide the DE by x, we have dx + x2 y = 3
x
Example
Solve x dy
dx + 2y = 3.
Solution.
Step 1. Put the ODE in the standard form.
dy
Divide the DE by x, we have dx + x2 y = 3
x
d 2
Step 4. Left-hand side is equal to dx (x y ).
d 2
(x y ) = 3x
dx
Step 5. Integrate about x, we have
3
x 2y = x 2 + C
2
So
3 C
y= +
2 x2
Example
dy
Find the solution to dx − 2xy = x with y (0) = −3.
Introduction Method of Integrating Factor
Example
Find the general solution of the given differential equation.
x 2 y 0 + xy = 1
Introduction Method of Integrating Factor
Example
Solve the initial value problem
Behavior of solutions
dy
integral curves of dx + 1/2y = 1/2e x/4