ODEs 2023 2
ODEs 2023 2
ODEs 2023 2
dy
+ P y = Q,
dx
where P and Q are functions of x (or constants). If Q = 0 for all
x in the interval in which we consider the equation, then the above
equation is said to be homogeneous otherwise, it is said to be non-
homogeneous or inhomogeneous linear ODE. The integrating factor
(I. F) of a non-homogeneous linear ODE is
!
P(x) dx
I. F = e .
dv
+ (1 − n)P v = (1 − n)Q,
dx
the corresponding linear differential equation in v.
Example:- Solve the following differential equation
dy
+ y = xy 3 .
dx
Exercise:-
Exercise #1.5, Page # 34 (Ref-book no. 2).
Dr. Shafiq Ur Rehman, UET, Lahore ORDINARY DIFFERENTIAL EQUATIONS_2023
Some basic concepts of differential equations
Ordinary differential equations First order ordinary differential equations
Laplace transforms Higher order ordinary differential equations
Applications of ordinary differential equations
x 2 − y 2 = c.
Exercise:-
Exercise #1.6, Page # 38 (Ref-book no. 2).
D 2 y + P1 Dy + P2 y = Q,
(D 2 + P1 D + P2 )y = Q,
F (D)y = Q.
d 2y dy
+ x 2 2xy = sin x
dx 2 dx
can be written as
(D 2 + x 2 D − 2x )y = sin x .
Principle of superposition
Theorem:-
Prove that if y1 (x ) and y2 (x ) are two linearly independent solutions of
the second order homogeneous linear differential equation F (D)y = 0,
then
y = Ay1 (x ) + By2 (x ),
where A and B are arbitrary constants, is the general solution of F (D)y =
0.
(m + 3)(m + 1) = 0
m + 3 = 0, m + 1 = 0
m = −1, −3.
Since the roots are real and distinct, so the general solution of the
given differential equation is
y = c1 e−1x + c2 e−3x .
d 3y d 2y dy
3
−4 2 + + 6y = 0.
dx dx dx
Exercise:-
Exercise #2.2, Page # 59-60 (Ref-book no. 2).
Dr. Shafiq Ur Rehman, UET, Lahore ORDINARY DIFFERENTIAL EQUATIONS_2023