Slide 1
Slide 1
Department of Mathematics
Indian Institute of Technology Patna
India 801106
January 8, 2025
Instructors:
Dr. Pratibhamoy Das (ODE- 20 Lectures)
Dr. Sushmitha P. (Probability- 12 Lectures)
Dr. Yogesh Mani Tripathi (Statistics- 10 Lectures)
Books-
G. F. Simmons- ODE
S. L. Ross - ODE
dy d2 y dy dy dx
+ 5y = ex , − + 6y = 0, + = 2x + y
dx dx2 dx dt dt
The differential equations that have TWO or MORE independent variables are
called Partial differential equations (PDE).
∂2u ∂2u ∂u ∂v ∂v ∂2θ ∂θ ∂ϕ ∂2ϕ
2
= −2 , + = v, λ1 + λ2 + λ3 2 = 0
∂x ∂t2 ∂t ∂s ∂t ∂x 2 ∂y ∂x ∂y
The order of a differential equation is the order of the highest derivative present
in the differential equation.
In the equation above, the differential equations in cyan are of first order, while
the others are of second order.
The degree of a differential equation is the highest degree of the highest order
derivatives when the equation is rationalized; that is when the equation is made
free from fractional powers of the derivatives.
All of the above equations have degree one.
d2 y dy 2
The order and the degree of the ODE + y}1/3 = 0 are 2 and 3,
dx2
+ 5{ dx
respectively.
IVP: Initial Value Problem : Solution will be given at a point. We have to find
the solution by solving the given ODE in a neighborhood of that point. E.g:
y ′ = 2y, x ∈ (0, 1], y(0) = 0. Solution is defined on [0, 1].
BVP: Boundary Value Problem : Solution (or information) will be given at more
than one point. We have to find the solution by solving the given ODE between
these points. For example, y ′′ = 3y, x ∈ (0, 1), y(0) = 0, y(1) = 5. The solution
is defined in [0, 1].
Figure: 1. A spring in its natural position (a), at equilibrium with a mass m attached (b),
and in oscillatory motion (c).
2 Restoring force.
C(I, R): the VS of all real cont. functions on I . Example: f (x) = |x| in [−1, 1].
Definition: C n (I, R) of all real functions on I having continuous derivatives up to
order n.
Definition: C 1 (I, R): Set of all real functions on I having continuous derivatives
up to order 1. Example: f (x) = x|x| in [−1, 1].
Definition: C 2 (I, R): Set of all real functions on I having continuous derivatives
up to order 2. Example: f (x) = x2 |x| in [−1, 1].
Definition: C ∞ (I, R): Set of all real functions on I which are infinite times
differentiable. Example: f (x) = exp(−1/x2 ), when x ̸= 0, and f (0) = 0. But its
power series will not converge to the function.
Q: Give an example of a continuous function that is nowhere differentiable.
Show it by deduction.
Q: Give an example of a function that is two times differentiable at the point
x = 0 only, but nowhere else. Show it by deduction.
d2 y dn y
Notations: y ′ = dy
dx
, y ′′ = dx2
, y (n) = dxn
1st order ODEs may also be written using differentials. E.g., dy = (ex − 5y)dx
Now onward, we will consider only ODE and with one dependent variable.
An nth order ODE can be written as:
F (x, y, y ′ , y ′′ , . · · · , y (n) ) = 0
F (x, y, y ′ , y ′′ , . · · · , y (n) ) = 0
i.e.,
f (1, u) − u
u′ = ,
x
an equation with variables separated.
x+y
Example of homogeneous form of f (x, y): y ′ = .
x−y
Solve this equation for the solutions of y ′ = f (x, y). Do not forget to check
whether some solutions may have been added or omitted.
Dr. Pratibhamoy Das (IITP) MA 1201- MATHEMATICS-II January 8, 2025 17 / 36
Exact First Order ODE
∂M ∂2F ∂2F ∂N
= = = .
∂y ∂y∂x ∂x∂y ∂x
But then
∂F
=N demands h′ (y) = 2y.
∂y
Substituting h(y) = y 2 , we get the general solution
3x2 2x3
2 − 2 dx + 3 dy = 0
y y
3
has general solution 2x − xy2 = c, c ∈ R.
The solution y ≡ 0 of the original equation is lost. How did it happen? We have
taken the factor y 3 out!
Each of 1/xy, 1/y 2 and 1/(x2 + y 2 ) is an integrating factor for the equation
ydx − xdy = 0. Find the solutions of the resulting exact equations and compare
them with those of the given equation.
i.e.,
Z Z Z
y = exp − P (x)dx exp P (x)dx Q(x)dx + c , c ∈ R.
= −x2 + cx
Thus, the general solution of the Bernoulli’s equation is
1
y= , c ∈ R.
cx − x2
Dr. Pratibhamoy Das (IITP) MA 1201- MATHEMATICS-II January 8, 2025 26 / 36
Ricati’s Equation
y = xy ′ + f (y ′ ), (10)
y = px + f (p) (11)
y = cx + f (c), c ∈ R.
L = {ℓ : y = mx | m ∈ R} ∪ {ℓ0 : x = 0}.
we aim to show with some more assumptions on f that the IVP has a unique
solution.
The IVP :
y ′ = f (x, y), y(x0 ) = x0 , (13)
where f is continuous on
Integrate to get, Z x
ϕ(x) = y0 + f (t, ϕ(t))dt.
x0
on the interval I.
Equations such as (14) are called Integral Equations (IE).
Dr. Pratibhamoy Das (IITP) MA 1201- MATHEMATICS-II January 8, 2025 31 / 36
Integral Equation and IVP
Since we will then have ϕ′ (x) = f (x, ϕ(x))∀x ∈ I. Why? Use Fundamental
Theorem of Calculus. Moreover, ϕ(x0 ) = y0 .
Rx
Consider the integral equation (IE) y = y0 + x0
f (t, ϕ(t))dt,
where f is continuous on R.
We will see that with some extra conditions on f , lim ϕk exists and is a
k→∞
solution of the IE on some I. The functions ϕk will be called successive
approximations for the solution ϕ.
y1 = 1 + x,
x2
y2 = 1 + x + ,...
2
x2 xn
In general, yk = 1 + x + + ··· + . [Use Induction.]
2 n!
Note that yk → ex pointwise on R, and y = ex is a solution of the IVP.
Verify that ex is a solution of the IE.
I = {x : |x − x0 |≤ α},