Lecture01 ODE01
Lecture01 ODE01
Partial differential equation(PDE) involves two or more independent variables, and one or more de-
pendent variables.In other words it contains partial derivatives. For example,
Example 1.1
dy
= cos(x), (1)
dx
d2 y
+ 8y = e−2x , (2)
dx2
2
dy d3 y dy
− 4 = 2, (3)
dx dx3 dx
are ordinary differential equations.
∂u ∂u
+ =0 (4)
∂x ∂y
∂u ∂2u
= 2 (5)
∂t ∂ x
are partial differential equations.
PDE’s have important engineering applications, and are more complicated than ODE’s.
Definition 1.3 (Linear and Nonlinear ) • A linear differential equation is a differential equa-
tion that is defined by a linear polynomial in the unknown function (dependant variable) and its
derivatives, that is an equation of the form
Where, P0 (x), ..., Pn (x), and Q(x) are either zero, constant or depends only on x, not on y. They are
differentiable functions that do not need to be linear. y 0 , ...y (n) are the successive derivatives of the
unknown function y of the independent variable x.
• Nonlinear differential equations are any equations that cannot be written in the above form. In
particular, these include all equations that include y, y 0 , y 00 , etc., raised to any power such as y 2 , y 03 ,
nonlinear functions of y or any derivative to any order (such as sin(y) or ety ) or any product or
function of these.
1
Example 1.1 Determine whether linear or nonlinear
2
dy
a. dx + y = cos x
d5 y
b. dx5 + (cos2 x)y = tan3 x
c. y 00 + y 3 = cos(x)
Definition 1.4 The order of a differential equation is determine by the highest order derivative which
occurs in it after the equation has been rationalized, i.e., made free from radicals and fractions so far as
derivatives are concerned. (polynomial form) The degree of a differential equation is determined by the
exponent of the highest derivative in it.
∂2u
b. ∂x2 + u2 = sin x
c. y 000 − 3xy 3 = cos(x)
Here in this module we mainly discuss first and second order differential equations and their solutions.
Definition 1.5 (Standard Form) A differential equation is said to be in standard form if we can solve
dy
for dx , i.e,
dy
= f (x, y)
dx
We will often write a given equation in standard form so that we can identify the form of the function
f (x, y).
Definition 1.6 (Solution, ODE) A function y(x) = φ(x) is called a solution of y 0 = f (x, y), if it satis-
fies,
φ0 (x) = f (x, φ(x)).
To verify that a function y = f (x) is a solution of the ODE, we substitute the function into both sides of
the differential equation.
x3
y= +1
3
is also a solution of y 0 = x2 . We say the solution is not unique.
x3
y= + C.
3
where C is any arbitrary constant.
3
The solution y = x3 + C with the arbitrary constant is called the general solution of the differential equation.
A constant like C that is allowed to take on multiple values in an equation sometimes called a parameter.
3
Sometimes we will say y = x3 + C represents the one-parameter family of solutions, integral curves or
solution curves of the differential equation, with parameter C.
2
Definition 1.7 (Initial Value Problem (IVP)) An initial value problem is given by
dy
= f (x, y) (7)
dx
y(x0 ) = y0 (8)
where (x0 , y0 ) be a point in the domain of f (x, y). Equation (30) is called an initial condition for the initial
value problem.
Definition 1.8 (Solution, IVP) The function y(x) is called a solution of the initial value problem
dy
= f (x, y) (9)
dx
y(x0 ) = y0 (10)
if y(x) satisfies both the ODE and the Initial Condition (IC).
Theorem 1.1 (Picard’s Existence and Uniqueness Theorem) Consider the Initial Value Problem
dy
= f (x, y) (13)
dx
y(x0 ) = y0 . (14)
3
2 Solving First Order Ordinary differential Equations
2.1 Separable Equations
An ODE is said to be separable if the parts that depends on x and y can be separated into different sides of
the equation. This makes it possible to integrate both side separately.
b. dy
dx = cot(x)
c. xdy + ydx = 0
d. (1 + x2 )ydy = (1 + y 2 )dx
Example 2.2 Solve
dy ex
= , x 6= 0
dx x
Answer: Z t
e
y(x) = dt + C
t
Definition 2.1 For real non-zero values of x, the exponential integral Ei(x) is defined as
Z ∞ −t
e
Ei(x) = − dt
−x t
Example 2.1 Find and illustrate the one-parameter family of solutions for the ODE
dy x
=−
dx y
Method of solving
• Determine whether the equation homogeneous or not
4
Example 2.2 Solve
x2 +y 2
a. dy
dx = x2 ; y(1) =1
b. (x2 + y 2 )dy = 2xydx
c. (x3 + 2xy 2 )dy = y 3 dx
b. dy
dx = x+2y+3
2x+3y+6
4 Linear Equations
Definition 4.1 (Linear Equation) A first order differential equation of the standard form,
dy
+ P (x)y = Q(x), (18)
dx
is said to be a linear equation in the dependant variable y.
If Q(x) = 0 then equation (18) called homogeneous linear differential equation, and if Q(x) 6= 0 equation
(18) called nonhomogeneous linear differential equation
Method of solving
1. Put a linear equation in to the standard form (18)
R
P (x)dx
2. Identify P (x) and then find the integrating factor: e .
3. Multiply both sides of the standard form of the equation by integrating factor. The left hand side of
the resulting equation is automatically the derivative of the integrating factor and y, i.e.
R
P (x)dx
d ye R
P (x)dx
=e Q(x).
dx
b. (x2 − 4) dx
dy
+ xy = 0
c. dy
dx + y = x, y(0) = 4
5
5 Bernoulli Equation
The differential equation
dy
+ P (x)y = f (x)y n , (19)
dx
where n is any real number, is called Bernoulli’s equation.
When n = 0 and n = 1, this equation [19] is linear. For n 6= 0, 1, we use the substitution v = y 1−n to reduces
any equation of the form [19] to a linear equation.
1. y 0 + xy = xy 2
2. dy
dx + ln(x)y = x2 y 3
3. dy
dx − x3 y = x4 y 1/3
4. y 00 + xy = y −2