MTH 102 A
MTH 102 A
MTH-114M
T. Muthukumar & Akash Anand Ordinary Differential Equations June 16, 2023 1 / 126
1 Course Plan
2 References
3 15–19 May 2023
Lecture One
Lecture Two
Lecture Three
4 29 May – 02 June 2023
Lecture Four
Lecture Five
Lecture Six
5 5–9 June 2023
Lecture Seven
Lecture Eight
Lecture Nine
6 12–16 June 2023
Lecture Ten
Lecture Eleven
Lecture Twelve
T. Muthukumar & Akash Anand Ordinary Differential Equations June 16, 2023 2 / 126
Course Plan
T. Muthukumar & Akash Anand Ordinary Differential Equations June 16, 2023 3 / 126
Course Plan Contd...
T. Muthukumar & Akash Anand Ordinary Differential Equations June 16, 2023 4 / 126
Reference text for the Course
T. Muthukumar & Akash Anand Ordinary Differential Equations June 16, 2023 5 / 126
How Equations Arise?
T. Muthukumar & Akash Anand Ordinary Differential Equations June 16, 2023 6 / 126
Algebraic Equations to Differential Equations
T. Muthukumar & Akash Anand Ordinary Differential Equations June 16, 2023 7 / 126
Simplest Differential Equation
T. Muthukumar & Akash Anand Ordinary Differential Equations June 16, 2023 8 / 126
Ordinary Differential Equation
Definition
Let I be an open interval of R. A k-th order ordinary differential equation
of an unknown function y : I → R is of the form
F y (k) , y (k−1) , . . . y 0 (x), y (x), x = 0, (3.1)
T. Muthukumar & Akash Anand Ordinary Differential Equations June 16, 2023 9 / 126
Example
Example
The DE y 0 + y + x = 0 comes from the F (u, v , w ) = u + v + w .
The DE y 00 + xy (y 0 )2 = 0 comes from the F (t, u, v , w ) = t + wvu 2 .
The DE y (4) + 5y 00 + 3y = sin x comes from the
F (r , s, t, u, v , w ) = r + 5t + 3v − sin w .
∂u ∂u
∂x+ ∂y = 0 is a partial diferential equation of a two variable
unknown function u(x, y ).
∂2u ∂ u 2 ∂ u 2
+ ∂y
∂x 2 2 + ∂z 2 = 0 is a partial diferential equation of a three
T. Muthukumar & Akash Anand Ordinary Differential Equations June 16, 2023 10 / 126
Explicit Solution of ODE
Definition
We say u : I → R is an explicit solution to the ODE (3.1) on I , if u (j) (x)
exists for all j explicitly present in (3.1), for all x ∈ I , and u satisfies the
equation (3.1) in I .
Example
The function y : R → R defined as y (x) := 2 sin x + 3 cos x is an explicit
solution of the ODE y 00 + y = 0 in R.
T. Muthukumar & Akash Anand Ordinary Differential Equations June 16, 2023 11 / 126
Implicit Solution of ODE
Definition
We say a relation v (x, y ) = 0 is an implicit solution to the ODE (3.1) on
I , if it defines at least one real function u : I → R of x variable which is a
explicit solution of (3.1) on I .
Example
The relation v (x, y ) := x 2 + y 2 − 25 = 0 is an implicit solution of the
ODE yy 0 + x = 0 in√(−5, 5). The given relation √ v defines two real valued
functions u1 (x) := 25 − x 2 and u2 (x) := − 25 − x 2 in (−5, 5) and
both are explicit solutions of the given ODE.
T. Muthukumar & Akash Anand Ordinary Differential Equations June 16, 2023 12 / 126
Formal Solutions
T. Muthukumar & Akash Anand Ordinary Differential Equations June 16, 2023 13 / 126
Do solutions always exist?
Example
The ODE |y 0 | + |y | + 1 = 0 admits no real (or complex) valued function y
as a solution because sum of positive quantities cannot be a negative
number.
T. Muthukumar & Akash Anand Ordinary Differential Equations June 16, 2023 14 / 126
Family of Solutions
Example
Observe that on differentiation of the one parameter family of solutions
yc (x) := x 2 + c, indexed by c ∈ R, we obtain the first order ODE y 0 = 2x.
T. Muthukumar & Akash Anand Ordinary Differential Equations June 16, 2023 15 / 126
Solutions Outside Family of Solutions
In the earlier example, the ODE had a unique family of solutions! But this
may not be the case always.
Example
Consider the first order ODE (y 0 )2 − 4y = 0.
The one parameter family yc (x) := (x + c)2 are solution to the ODE.
In addition, y ≡ 0 is also a solution, not included in the above family
of solutions.
T. Muthukumar & Akash Anand Ordinary Differential Equations June 16, 2023 16 / 126
Initial/Boundary Conditions
(x0 , y0 )
T. Muthukumar & Akash Anand Ordinary Differential Equations June 16, 2023 17 / 126
Initial Value Problem
Definition
An initial value problem (IVP) corresponding to a k-th order ODE is given
as
F (y (k) , . . . , y , x) = 0 on I
T. Muthukumar & Akash Anand Ordinary Differential Equations June 16, 2023 18 / 126
Examples for IVP
Example
The first order IVP
y 0 = 2x
in R
y (1) = 4.
Example
The second order IVP
00
y +y =0 in R
y (1) = 3
y 0 (1) = −4.
T. Muthukumar & Akash Anand Ordinary Differential Equations June 16, 2023 19 / 126
II order Boundary Value Problem (BVP)
T. Muthukumar & Akash Anand Ordinary Differential Equations June 16, 2023 20 / 126
Examples for BVP
Example
The second order BVP
00
y + y = 0 in R
y (0) = 1
y ( π2 ) = 5.
Example
The second order BVP
00
y + y = 0 in R
y (0) = 1 (3.2)
y (π) = 5.
T. Muthukumar & Akash Anand Ordinary Differential Equations June 16, 2023 21 / 126
First Order ODE
Let us begin solving some ODEs and let’s start with first order ODEs!
A general first order ODE is of the form F (y 0 , y , x) = 0. However, we
shall restrict our attention to I order ODE of the form y 0 = f (x, y ).
(Implicit Function Theorem!)
Observe that any first order ODE of the form y 0 = f (x, y ) can be
equivalently written in the differential form as
T. Muthukumar & Akash Anand Ordinary Differential Equations June 16, 2023 22 / 126
Total Differential
Definition
Let F : Ω ⊂ R2 → R be a two-variable function that admit continuous
first order partial derivatives in Ω. The total differential, denoted as dF , is
defined as
∂F ∂F
dF = dx + dy .
∂x ∂y
Example
4
Consider the ODE y 0 = x(x−4)y
3 (y 2 −3) . Observe that y ≡ 0 is one possible
(x − 4)y 4 dx − x 3 (y 2 − 3)dy = 0.
(x −2 − 4x −3 )dx − (y −2 − 3y −4 )dy = 0.
−x −1 + 2x −2 + y −1 − y −3 = c.
T. Muthukumar & Akash Anand Ordinary Differential Equations June 16, 2023 24 / 126
Example (no loss of solution)
Example
Consider the ODE y 0 = (x 2−x sin y
+1) cos y
. Observe that the roots of sin y = 0,
i.e. y = kπ for k ∈ Z are constant solutions to the ODE. Rewriting it in
the differential form, we obtain
x sin y dx + (x 2 + 1) cos y dy = 0.
T. Muthukumar & Akash Anand Ordinary Differential Equations June 16, 2023 25 / 126
Separable type ODE
Definition
The first order ODE is said to be of separable type if f (x, y ) is of the form
− M(x)
N(y ) . Equivalently, M and N are independent of the y and x variable,
respectively, in the differential form M(x)dx + N(y )dy = 0.
Example
Consider the ODE (x −2 − 4x −3 )dx − (y −2 − 3y −4 )dy = 0. Then, on
integration, we obtain the one parameter family of solutions
1 2 1 1
− + 2 + − 3 = c.
x x y y
T. Muthukumar & Akash Anand Ordinary Differential Equations June 16, 2023 26 / 126
Homogeneous ODE
Definition
A function v : R2 → R is said to be homogeneous of degree n if
v (tx, ty ) = t n v (x, y ) for all non-zero t ∈ R.
Definition
A first order ODE of the form (3.3) is homogeneous if both M and N are
homogeneous of same degree. Equivalently, y 0 = f (x, y ) is homogeneous if
f (tx, ty ) = f (x, y ).
p
For instance, (y + x 2 + y 2 )dx − xdy = 0 is homogeneous.
The reason for considering homogeneous ODEs is that it can be
transformed to ODE with separated variables.
T. Muthukumar & Akash Anand Ordinary Differential Equations June 16, 2023 27 / 126
Homogeneous to Separable Form
Theorem
If y 0 = f (x, y ) is homogeneous then the change of variable y = zx
transforms the ODE into a separable type ODE in x and z variables.
Proof.
By homogeneity, since f (tx, ty ) = f (x, y ) for any t, we choose in
particular t = 1/x and obtain f (1, y /x) = f (x, y ). Thus, the given ODE
becomes y 0 (x) = f (1, y /x). Using the change of variable y (x) = xz(x) in
the ODE, we get z + xz 0 = f (1, z) or equivalently, z 0 = f (1,z)−z
x is in the
separable form.
T. Muthukumar & Akash Anand Ordinary Differential Equations June 16, 2023 28 / 126
Solution to Homogeneous ODE
T. Muthukumar & Akash Anand Ordinary Differential Equations June 16, 2023 29 / 126
Example
Example
Consider the ODE (x 2 − 3y 2 )dx + 2xydy = 0 or, equivalently,
2 −x 2
y 0 = 3y2xy .
This ODE is homogeneous because M and N are homogeneous of
degree 2, i.e. M(tx, ty ) = t 2 (x 2 − 3y 2 ) = t 2 M(x, y ) and
N(tx, ty ) = t 2 2xy = t 2 N(x, y ).
3z 2 −1
Using y = zx substitution, we get z + xz 0 = 2z or, equivalently
2
xz 0 = z 2z−1 .
Thus, the separable type ODE we obtain is
2z dx
dz − = 0.
z2 −1 x
T. Muthukumar & Akash Anand Ordinary Differential Equations June 16, 2023 30 / 126
Example
Example
On integration, the family of solutions is
ln |z 2 − 1| − ln |x| = ln |c|
Example
Consider the IVP
p
(y + x 2 + y 2 )dx − xdy = 0
y (1) = 0.
√
y+ x 2 +y 2
The ODE can be rewritten as = x y0 . We have already
checked that this ODE is homogeneous!
T. Muthukumar & Akash Anand Ordinary Differential Equations June 16, 2023 31 / 126
Homogeneous IVP
Example
√
Using y = zx substitution,
√ we get z + xz 0 = z + 1 + z 2 or,
0
equivalently xz = 1 + z .2
On integration,
√ the family of solutions is √
ln |z + z 2 +p1| − ln |x| = ln |c| or, equivalently, |z + z 2 + 1| = |cx|.
Finally, |y + y 2 + x 2 | − |c|x 2 = 0 is the family of solutions.
Using the initial conditions, we get |c| = 1.
p
The solution is |y + y 2 + x 2 | − x 2 = 0.
T. Muthukumar & Akash Anand Ordinary Differential Equations June 16, 2023 32 / 126
One degree Polynomial Coefficients
Theorem
Consider the ODE (a11 x + a12 y + b1 )dx + (a21 x + a22 y + b2 )dy = 0 for
given constants aij and bi with i, j = 1, 2. Let A = (aij ) be the 2 × 2
matrix.
If A is invertible and (h, k) = A−1 (b1 , b2 ) then the transformation
w = x + h and z = y + k reduces the ODE to a homogeneous ODE
in w and z variable of the form
T. Muthukumar & Akash Anand Ordinary Differential Equations June 16, 2023 33 / 126
Example
Example
Consider the ODE (x − 2y + 1)dx + (4x − 3y − 6)dy = 0.
Determinant of the matrix A is 5 6= 0. Then its inverse is
−1 1 −3 2
A = .
5 −4 1
T. Muthukumar & Akash Anand Ordinary Differential Equations June 16, 2023 34 / 126
Example
Example
or, equivalently,
4 − 3ζ dw
dζ = .
3ζ 2 − 2ζ − 1 w
On integration, we obtain
3 3ζ − 3 1
ln − ln |3ζ 2 − 2ζ − 1| = ln |w | + ln |c0 |
4 3ζ + 1 2
3ζ−3 3
or, equivalently, ln 3ζ+1 − ln |3ζ 2 − 2ζ − 1|2 = ln |wc0 |4 or
ζ−1 4 ζ−1 4
ln (3ζ+1)5 = ln |wc0 | or w 4 (3ζ+1)5 = c0 .
z−w
Replacing ζ = z/w , we get (3z+w )5
= c04 .
y −x+1
Going back to x and y variables, we get (3y +x−9)5 = c04 .
T. Muthukumar & Akash Anand Ordinary Differential Equations June 16, 2023 35 / 126
Example
Example
Consider the ODE (x + 2y + 3)dx + (2x + 4y − 1)dy = 0.
Determinant of the matrix A is 0.
The matrix is not invertible.
Using the transformation z = x + 2y in the ODE we obtain
(z + 3)dx + (2z − 1) dz−dx
2 = 0 or 7dx + (2z − 1)dz = 0. This is
separable!
Integrating, we get 7x + z 2 − z = c.
Going back to x and y variables, we get
7x + (x + 2y )2 − (x + 2y ) = c or x 2 + 4xy + 4y 2 + 6x − 2y = c.
T. Muthukumar & Akash Anand Ordinary Differential Equations June 16, 2023 36 / 126
Exact differential Equation
Definition
An ODE of the form (3.3) is said to be an exact differential equation if
there exists a two variable function F such that ∂x F (x, y ) = M(x, y ) and
∂y F (x, y ) = N(x, y ).
T. Muthukumar & Akash Anand Ordinary Differential Equations June 16, 2023 37 / 126
Examples
Example
The ODE y 2 dx + 2xydy = 0 is an exact differential equation because
F (x, y ) = xy 2 satisfies the requirement.
Example
The ODE ydx + 2xdy = 0 is not exact!
T. Muthukumar & Akash Anand Ordinary Differential Equations June 16, 2023 38 / 126
Necessary and Sufficient Condition for Exactness
Theorem
Let M and N admit continuous first order partial derivatives in a
rectangular domain Ω ⊂ R2 . The ODE (3.3) is exact in Ω iff
∂y M(x, y ) = ∂x N(x, y ) for all (x, y ) ∈ Ω.
Proof.
The necessary part is obvious! The sufficiency part involves finding
suitable F . The arguments are shown by examples. Abstract proof follows
the same line as you see in examples.
T. Muthukumar & Akash Anand Ordinary Differential Equations June 16, 2023 39 / 126
Examples
Example
The ODE y 2 dx + 2xydy = 0 is exact in every domain Ω ⊂ R2 because
M(x, y ) = y 2 and N(x, y ) = 2xy with ∂y M(x, y ) = 2y = ∂x N(x, y ).
Example
The ODE ydx + 2xdy = 0 is not exact because M(x, y ) = y and
N(x, y ) = 2x with ∂y M(x, y ) = 1 6= 2 = ∂x N(x, y ).
Example
The ODE (2x sin y + y 3 e x )dx + (x 2 cos y + 3y 2 e x )dy = 0 is exact because
T. Muthukumar & Akash Anand Ordinary Differential Equations June 16, 2023 40 / 126
How to Solve Exact ODE?
Theorem
If the ODE (3.3) is exact in Ω then there is a one parameter family of
solutions to (3.3) given by F (x, y ) = c where c is arbitrary constant and
F is such that ∂x F = M and ∂y F = N in Ω.
Proof.
By the definition of exact ODE there is a F satisfying ∂x F = M and
∂y F = N. Thus, the ODE becomes dF (x, y ) = 0. Hence, F (x, y ) = c for
arbitrary c are solutions.
T. Muthukumar & Akash Anand Ordinary Differential Equations June 16, 2023 41 / 126
How to find the Solution F ?
T. Muthukumar & Akash Anand Ordinary Differential Equations June 16, 2023 42 / 126
Standard Method to find F
Example
From the second identity, we must have
2x 2 + 2y = 2x 2 + g 0 (y ).
x 3 + 2x 2 y + y 2 + c0 = c
T. Muthukumar & Akash Anand Ordinary Differential Equations June 16, 2023 43 / 126
Method of grouping to find F
Example
Consider the same ODE (3x 2 + 4xy )dx + (2x 2 + 2y )dy = 0. We have
already checked it is exact! We rewrite the ODE as follows:
3x 2 dx + (4xydx + 2x 2 dy ) + 2ydy = 0
d(x 3 ) + d(2x 2 y ) + d(y 2 ) = d(c)
d(x 3 + 2x 2 y + y 2 ) = d(c).
T. Muthukumar & Akash Anand Ordinary Differential Equations June 16, 2023 44 / 126
Exact IVP
Example
Consider the IVP
(2x cos y + 3x 2 y )dx + (x 3 − x 2 sin y − y )dy = 0
y (0) = 2.
T. Muthukumar & Akash Anand Ordinary Differential Equations June 16, 2023 45 / 126
Example
From the second identity, we must have
x 3 − x 2 sin y − y = −x 2 sin y + x 3 + g 0 (y ).
2
Therefore, g 0 (y ) = −y and g (y ) = − y2 + c0 . Thus,
2
F (x, y ) = x 2 cos y + x 3 y − y2 + c0 . Since F (x, y ) = c is the one
paramater family of solutions, we get
y2
x 2 cos y + x 3 y − + c0 = c
2
2
or, equivalently, x 2 cos y + x 3 y − y2 = c is the one parameter family of
solutions. Now, using the initial value we get c = −2 and
2
x 2 cos y + x 3 y − y2 + 2 = 0 is a solution.
T. Muthukumar & Akash Anand Ordinary Differential Equations June 16, 2023 46 / 126
Same Example via Grouping Method
Example
Consider the same IVP
(2x cos y + 3x 2 y )dx + (x 3 − x 2 sin y − y )dy = 0
y (0) = 2.
T. Muthukumar & Akash Anand Ordinary Differential Equations June 16, 2023 47 / 126
Integrating Factor
Some non-exact ODEs can be transformed into an exact ODE using
integrating factor!
Definition
Let (3.3) be not exact in Ω. If there exists a function µ : Ω → R such that
Theorem
Consider the ODE M(x, y )dx + N(x, y )dy = 0 and let
∂M ∂N
d(x, y ) := (x, y ) − (x, y ).
∂y ∂x
R
d(x,y ) d(x,y )
(i) If N(x,y ) depends only on x then exp N(x,y ) dx is an I.F. of (3.3).
R
(ii) If −d(x,y )
M(x,y ) depends only on y then exp
−d(x,y )
M(x,y ) dy is an I.F. of
(3.3).
T. Muthukumar & Akash Anand Ordinary Differential Equations June 16, 2023 49 / 126
Example
Example
Consider the ODE (2x 2 + y )dx + (x 2 y − x)dy = 0. This ODE is not
separable, not homogeneous, not exact. Then d(x, y ) := 2(1 − xy ). Now,
d 2(1 − xy ) −2
= 2 =
N x y −x x
is dependent only on x. Thus, the I.F. is
Z
1 1
exp −2 dx = exp(−2 ln |x|) = 2 .
x x
T. Muthukumar & Akash Anand Ordinary Differential Equations June 16, 2023 50 / 126
Derivative as a Linear Map
dk
The ordinary differential operator of order k is denoted as dx k
.
A k-th order ordinary differential operator can be viewed as a map
dk k ¯ ¯ ¯ k ¯
from dx k : C (I ) → C (I ) where I = [a, b] and C (I ) is the set of all
k-times differentiable function in I with the k-the derivative being
continuous and extended continuously to I¯.
(Exercise) Verify that C (I¯) is a vector space over R.
(Exercise!) Verify that C k (I¯) ⊂ C (I¯) for k ∈ N. Also, find examples
of differentiable functions whose derivative is not continuous!
T. Muthukumar & Akash Anand Ordinary Differential Equations June 16, 2023 51 / 126
Classification of ODE in terms of Linearity
The level of difficulty in solving a ODE may depend on its order k and
linearity of F .
Definition
A k-th order ODE is linear if F in (3.1) has the form
F := Ly − f (x)
where Ly (x) := ki=0 ai (x)y (i) (x) for given functions f and ai ’s such that
P
ak is not identically zero. Otherwise the ODE is nonlinear. If, in addition
to being linear, one has f ≡ 0 then the ODE is linear homogeneous.
T. Muthukumar & Akash Anand Ordinary Differential Equations June 16, 2023 52 / 126
Examples
Example
2
(i) y 00 + 5y 0 + 6y = 0. Here L := dx
d d
2 + 5 dx + 6. and is linear,
homogeneous because f ≡ 0 and second order with constant
coefficients.
(ii) x (4) + 5x (2) + 3x = sin t is linear and fourth order with constant
coefficients.
(iii) y (4) + x 2 y (3) + x 3 y 0 = xe x is linear and fourth order with variable
coefficients.
(iv) y 00 + xy (y 0 )2 = 0 is nonlinear and second order.
(v) y 00 + 5y 0 + 6y 2 = 0 is nonlinear and second order.
(vi) y 00 + 5(y 0 )3 + 6y = 0 is nonlinear and second order.
(vii) y 00 + 5yy 0 + 6y = 0 is nonlinear and second order.
T. Muthukumar & Akash Anand Ordinary Differential Equations June 16, 2023 53 / 126
Linear First Order ODE
Definition
A first order ODE is linear in the y -variable (unknown) if it is of the form
P(x)y 0 + Q(x)y (x) = R(x).
T. Muthukumar & Akash Anand Ordinary Differential Equations June 16, 2023 54 / 126
Family of Solution to Linear FODE
Theorem
The linear ODER y 0 + Q(x)y (x) = R(x) has the integrating factor
µ(x, y ) := e Q(x) dx and its one parameter family of solutions is
R
Z R
− Q(x) dx Q(x) dx
y (x) = e e R(x) dx + c .
Proof.
The differential form of the given linear ODE is
[Q(x)y − R(x)] dx + dy = 0. This is exact iff Q ≡ 0. If Q is non-zero then
d(x, y ) = Q(x) and the ratio Nd = Q depends only R on x. By the theorem
on I.F. for non-exact ODE its I.F. is µ(x) := exp( Q) which depends only
on x. With this choice of µ the linear ODE becomes (µy )0 = R(x)µ.
Thus, the family of solutions as given in the statement is obtained.
T. Muthukumar & Akash Anand Ordinary Differential Equations June 16, 2023 55 / 126
Example
Example
Consider y 0 + 2x+1
y = e −2x .
x
Its integrating factor is
Z
2x + 1
µ(x) := exp dx = exp(2x + ln |x|)
x
= e 2x e ln |x| = xe 2x .
T. Muthukumar & Akash Anand Ordinary Differential Equations June 16, 2023 56 / 126
IVP Example
Example
Consider the IVP
(
y0 + 4x
x 2 +1
y = x
x 2 +1
y (2) = 1.
R
4x
The I.F. is µ(x) = exp x 2 +1
dx = exp[ln(x 2 + 1)2 ] = (x 2 + 1)2 .
Using the integrating factor in the ODE we get [(x 2 + 1)2 y ]0 = x 3 + x.
x4 x2
Thus, its family of solutions is (x 2 + 1)2 y = 4 + 2 + c.
Using the initial condition, we get c = 19. Thus, the solution is
4 2
(x 2 + 1)2 y = x4 + x2 + 19.
T. Muthukumar & Akash Anand Ordinary Differential Equations June 16, 2023 57 / 126
Interchange of x and y variable in differential form
Example
y 2
Consider the ODE y 0 = 1−3xy . This example does not fall in any of
the category we have seen so far: it is not separable, not
homogeneous, not exact and not linear.
However, treating the y as independent variable and x as dependent
variable, the ODE x 0 = 1−3xy
y2
is linear in x. (The 0 now denotes the
derivative with respect to y variable).
The justification of this interchange is made via the differential form
of the ODE. R
3
The I.F. for the linear ODE is µ(y ) = exp y dy = y 3.
Multiplying the I.F in the linear ODE we get (y 3 x)0 = y .
y2
Thus, the family of solutions is y 3 x − 2 = c.
T. Muthukumar & Akash Anand Ordinary Differential Equations June 16, 2023 58 / 126
Bernoulli Equations
Definition
An equation of the form y 0 + Q(x)y = R(x)y α , for a given fixed real
number α, is called a Bernoulli differential equation.
T. Muthukumar & Akash Anand Ordinary Differential Equations June 16, 2023 59 / 126
Transforming to Linear
Theorem
Let α 6= 0, 1. The transformation z = y 1−α reduces the Bernoulli equation
to a linear equation in z.
Proof.
We first divide y α to the Bernoulli equation to obtain
y −α y 0 + Q(x)y 1−α = R(x).
Set z = y 1−α then z 0 = (1 − α)y −α y 0 .
Using this transformation in the ODE above, we get the linear ODE
z 0 + (1 − α)Q(x)z = (1 − α)R(x).
T. Muthukumar & Akash Anand Ordinary Differential Equations June 16, 2023 60 / 126
Example
Example
Consider the Bernoulli equation y 0 + y = xy 3 .
We divide by y 3 to obtain y −3 y 0 + y −2 = x.
Set z = y −2 . Then z 0 = −2y −3 y 0 and the transformed linear ODE
obtained is z 0 − 2z = −2x.
Its I.F. is µ(x) = e −2x .
Using the I.F. in the linear ODE we get (e −2x z)0 = −2xe −2x .
Integrating both sides, e −2x z = 12 e −2x (2x + 1) + c. Thus,
e −2x y −2 = 21 e −2x (2x + 1) + c.
T. Muthukumar & Akash Anand Ordinary Differential Equations June 16, 2023 61 / 126
Bernoulli Equation as a Special case
Example
Consider cos yy 0 + x −1 sin y = 1 where g (y ) = sin y .
Use z = sin y . Then we obtain the linear ODE in z, z 0 + x −1 z = 1.
Its I.F. is µ(x) = |x|.
x2
For x > 0, x sin y − 2 = c.
T. Muthukumar & Akash Anand Ordinary Differential Equations June 16, 2023 62 / 126
Existence for First Order of the form y 0 = f (x, y )
Since all ODE does not admit solution in Exact form let us answer the
question of existence of solution.
Theorem (Picard)
Let Ω be an open, connected subset (domain) of R2 and (x0 , y0 ) ∈ Ω. If
f : Ω → R is continuous then the first order IVP
y 0 = f (x, y )
(4.1)
y (x0 ) = y0
T. Muthukumar & Akash Anand Ordinary Differential Equations June 16, 2023 63 / 126
Non-uniqueness of Solution
In general the IVP (4.1) may admit more than one solution!
Example
Consider the IVP y 0 = y 1/3 in R with the initial conditions y (0) = 0. Note
that y ≡ 0 is one solution. Also, being separable type ODE, we obtain
2(x−c) 3/2
3 x ≥c
yc (x) :=
0 x ≤c
is also a solution for all c ≥ 0! Thus, this problem admits infinitely many
solutions.
T. Muthukumar & Akash Anand Ordinary Differential Equations June 16, 2023 64 / 126
Picard’s Uniqueness Theorem
Theorem (Uniqueness)
Let Ω be a domain of R2 and (x0 , y0 ) ∈ Ω. If both f : Ω → R and
∂f
∂y : Ω → R are continuous then there exists a h > 0 such that the first
order IVP (4.1) admits a unique solution in the interval [x0 − h, x0 + h].
T. Muthukumar & Akash Anand Ordinary Differential Equations June 16, 2023 65 / 126
Examples for Picard’s Theorem
Since we shall not be proving the theorem, let us verify the theorem with
some examples.
Example
Consider the IVP y 0 = x 2 + y 2 with y (1) = 3.
∂f
Note that f (x, y ) = x 2 + y 2 and ∂y = 2y .
Both are continuous in every domain of R2 .
By Picards’ theorem, for every domain Ω that contains (1, 3) there is
a h > 0 such that the IVP has a unique solution in [1 − h, 1 + h].
T. Muthukumar & Akash Anand Ordinary Differential Equations June 16, 2023 66 / 126
Examples for Picard’s Theorem
Example
Consider the ODE y 0 = yx −1/2 . Note that f (x, y ) = yx −1/2 and
∂f −1/2 . They are continuous in the open right half plane, i.e
∂y = x
{(x, y ) | x > 0}.
If the initial condition imposed is y (1) = 2 then for every domain Ω
that contains (1, 2) and does not contain the y -axis there is a h > 0
such that the IVP has a unique solution in [1 − h, 1 + h].
If the initial condition imposed is y (0) = 2 then both f and ∂y f are
not continuous (undefined) at (0, 2). Thus, a comment on the
existence and uniqueness of solution is inconclusive!
T. Muthukumar & Akash Anand Ordinary Differential Equations June 16, 2023 67 / 126
Motivation for Picard’s Successive Approximation
Consider the IVP (4.1), i.e.
y 0 = f (x, y ) in I
y (x0 ) = y0
y 0 = f (x, y )
y (x0 ) = y0
u10 = f (x, u0 )
u1 (x0 ) = y0
T. Muthukumar & Akash Anand Ordinary Differential Equations June 16, 2023 69 / 126
Picard’s Successive Approximation
T. Muthukumar & Akash Anand Ordinary Differential Equations June 16, 2023 70 / 126
Example
Example
Consider the IVP
y0 = x2 + y2
y (0) = 1
x3
On integration, we obtain, u1 (x) = 1 + x + 3 .
Similarly,
2x 3 x 4 2x 5 x 7
u2 (x) = 1 + x + x 2 + + + +
3 6 15 63
T. Muthukumar & Akash Anand Ordinary Differential Equations June 16, 2023 71 / 126
Example
Example
Consider the IVP √
y0 = 2 x
y (0) = 1
T. Muthukumar & Akash Anand Ordinary Differential Equations June 16, 2023 72 / 126
Integral Curves
T. Muthukumar & Akash Anand Ordinary Differential Equations June 16, 2023 73 / 126
Graphical Method: An approximate Method
T. Muthukumar & Akash Anand Ordinary Differential Equations June 16, 2023 74 / 126
Method of Isoclines
Definition
An isocline of the ODE y 0 = f (x, y ) is a curve along which the slope
f (x, y ) has a constant value c.
For different values of c, the curves f (x, y ) = c are the family of isoclines
of the ODE.
For each fixed c, draw the line elements with slope c (or angle θ such
that tan θ = c) at each (x, y ) in the curve f (x, y ) = c.
Repeat the procedure for different values of c.
Smooth curves drawn tangent to the line elements provides the
approximate ‘graph’ of the solution curve.
T. Muthukumar & Akash Anand Ordinary Differential Equations June 16, 2023 75 / 126
Example
Consider the ODE y 0 = x. The isoclines of the ODE are the vertical lines
{x = c}.
-1
-2
-3
-3 -2 -1 0 1 2 3
T. Muthukumar & Akash Anand Ordinary Differential Equations June 16, 2023 76 / 126
3
-1
-2
-3
-3 -2 -1 0 1 2 3
T. Muthukumar & Akash Anand Ordinary Differential Equations June 16, 2023 77 / 126
Euler’s Method
The second term is the area under the function f (x, φ(x)) in the
interval (xk , xk+1 ).
T. Muthukumar & Akash Anand Ordinary Differential Equations June 16, 2023 78 / 126
Left End-point Approximation
If the variation of f (x, y ) is small in (xk , xk+1 ) then we can replace f (x, y )
for all x ∈ (xk , xk+1 ) by f (xk , y (xk )), its value at left end point xk , which
approximates φ(xk+1 ), i.e.
φ(xk+1 ) ≈ yk+1 := yk + hf (xk , yk ).
T. Muthukumar & Akash Anand Ordinary Differential Equations June 16, 2023 79 / 126
Geometric Interpretation and Approximation Error
Let φ represents the graph of the solution of the IVP passing through
A := (x0 , y0 ).
Then y = y0 + f (x0 , y0 )(x − x0 ) is the equation of the tangent at A
with slope f (x0 , φ(x0 )).
The point B := (x1 , y1 ) approximates the solution at B̃ := (x1 , φ(x1 )).
The error is the length of the segment B B̃ = |y1 − φ(x1 )|.
T. Muthukumar & Akash Anand Ordinary Differential Equations June 16, 2023 80 / 126
Example
Example
Consider the linear IVP y 0 = 2x + y with y (0) = 1.
The exact solution is φ(x) := 3e x − 2(x + 1).
Here f (x, y ) = 2x + y and y0 = 1.
Let us choose h = 14 then the points of evaluation are x0 = 0,
x1 = 1/4, x2 = 1/2, x3 = 3/4 and x4 = 1.
Thus, y1 = y0 + hf (x0 , y0 ) = 1 + 1/4 = 5/4.
Similarly, y2 = 5/4 + 1/4(7/4) = 27/16.
|yk −φ(xk )|
xk φ(xk ) yk |yk − φ(xk )| |φ(xk )|
1/4 1.3521 1.25 0.1021 0.0755
1/2 1.9462 1.6875 0.2587 0.1329
3/4 2.8510 2.3594 0.4916 0.1724
1.0 4.1548 3.3242 0.8306 0.1999
T. Muthukumar & Akash Anand Ordinary Differential Equations June 16, 2023 81 / 126
Piecewise Linear Approximation
Figure: Smaller h
If h is not very small then the errors may be large. If h is very small then
the errors are small but the number of computations increase making the
method tedious and time-consuming.
T. Muthukumar & Akash Anand Ordinary Differential Equations June 16, 2023 83 / 126
Improved Euler’s Method
In the Improved Euler we approximate the integral with area of a
Trapezoidal region.
Set ỹk+1 := yk + hf (xk , yk ) and
yk+1 := yk + h2 [f (xk , yk ) + f (xk+1 , ỹk+1 )].
T. Muthukumar & Akash Anand Ordinary Differential Equations June 16, 2023 84 / 126
Example
Example
Consider the IVP y 0 = 2x + y with y (0) = 1.
Let us chooseh = 14 then the points of evaluation are x0 = 0,
x1 = 1/4, x2 = 1/2, x3 = 3/4 and x4 = 1.
Thus, ỹ1 = y0 + hf (x0 , y0 ) = 1 + 1/4 = 5/4
and y1 = 1 + 81 [1 + 7/4] = 43/32.
Similarly, ỹ2 = 43/32 + 1/4(59/32)
and y2 = 1.9248.
T. Muthukumar & Akash Anand Ordinary Differential Equations June 16, 2023 85 / 126
Rate of Convergence
T. Muthukumar & Akash Anand Ordinary Differential Equations June 16, 2023 86 / 126
Application: Oblique and Orthogonal Trajectories
Definition
Let F (x, y , c) = 0 be a one parameter family of curves in R2 . The oblique
trajectory of the given family is any curve that intersects the curves in the
given family at a constant angle θ. If θ = 90◦ i.e. the intersection is at
right angles, then the curve is said to be an orthogonal trajectory of the
given family.
Example
Consider the family of circles x 2 + y 2 = c 2 with origin as centre and radius
c. Then every straight line through the origin y = mx is an orthogonal
trajectory of the given family of circles. Conversly, each circle is an
orthogonal trajectory of the family of straight lines passing through its
centre.
T. Muthukumar & Akash Anand Ordinary Differential Equations June 16, 2023 87 / 126
Finding Oblique and Orthogonal Trajectories
Given a family of curves F (x, y , c) = 0, differentiate w.r.t x and
eliminate the constant c to obtain a first order ODE y 0 = f (x, y ).
y 0 = f (x, y ) gives the slope f (x, y ) of the integral curves at (x, y ).
Thus, the angle of inclination of the tangent line is arctan[f (x, y )].
The tangent line of the oblique trajectory intersecting the given
family of curves at a constant angle θ will have the inclination
arctan[f (x, y )] + θ at (x, y ).
The slope of the tangent line of the oblique trajectory at (x, y ) is
given as
f (x, y ) + tan θ
tan [arctan[f (x, y )] + θ] = .
1 − f (x, y ) tan θ
f (x,y )+tan θ
Solve the ODE y 0 = 1−f (x,y ) tan θ to obtain the one parameter family
of oblique curves, say G (x, y , c) = 0.
Solve the ODE y 0 = − f (x,y
1
) to obtain the one parameter family of
orthogonal curves, say G (x, y , c) = 0.
T. Muthukumar & Akash Anand Ordinary Differential Equations June 16, 2023 88 / 126
Example
Example
Consider the family of circles x 2 + y 2 = c 2 centred at origin.
−x
Differentiating the family we get x + yy 0 = 0 or y 0 = y .
Then, the ODE for the orthogonal family is given by y 0 = yx which is
separable.
Solving, we get y = mx a one parameter family of orthogonal curves.
Caution: The orthogonal (vertical) line {x = 0} is not obtained in the
above family of curves and should be observed by inspection.
T. Muthukumar & Akash Anand Ordinary Differential Equations June 16, 2023 89 / 126
Example
Example
Consider the family of parabolae y = cx 2 .
Differentiating the family we get y 0 = 2cx. Eliminating the parameter
c between the ODE and the family of curves, we get y 0 = 2y x .
Then, the ODE for the orthogonal family is given by y 0 = − 2y
x
which
is separable.
Solving, we get 2y 2 + x 2 = b 2 a one parameter family of ellipses
centred at origin with x-axis as the major axis.
T. Muthukumar & Akash Anand Ordinary Differential Equations June 16, 2023 90 / 126
Example: Oblique Trajectory
Example
Consider the family of straight lines y = mx. Let us find the oblique
trajectory intersecting the given family at constant angle of 45◦ .
Differentiating the family we get y 0 = m. Eliminating the parameter
m between the ODE and the family of curves, we get y 0 = yx .
Now,
y
f (x, y ) + tan 45◦ x +1 x +y
◦
= y = .
1 − f (x, y ) tan 45 1− x x −y
Then, the ODE for the oblique family with angle 45◦ is given by
x+y
y 0 = x−y which is homogeneous.
Setting, y = zx, we get z + xz 0 = 1+z
1−z .
T. Muthukumar & Akash Anand Ordinary Differential Equations June 16, 2023 91 / 126
Example: Oblique Trajectory
Example
Thus, solving the separable ODE (z−1) z 2 +1
dz = − dx
x , we get
1 2
2 ln(z + 1) − arctan z = − ln |x| − ln |c| or
ln c 2 (x 2 + y 2 ) − 2 arctan(y /x) = 0 is a one parameter family of
oblique trajectories.
T. Muthukumar & Akash Anand Ordinary Differential Equations June 16, 2023 92 / 126
Topics to be covered in Higher order
T. Muthukumar & Akash Anand Ordinary Differential Equations June 16, 2023 93 / 126
k-th order to System of first order ODE
Thus, the existence and uniqueness queries for above k-th order ODE
is equivalent to similar queries posed for first order system of ODE.
Picard’s theorems on existence and uniqueness can be extended to
first order system of ODEs — a topic beyond the purview of this
course.
T. Muthukumar & Akash Anand Ordinary Differential Equations June 16, 2023 94 / 126
Existence and Uniqueness for k-th order Linear ODE
Theorem
Consider the linear k-th order IVP
Pk (i)
i=0 ai (x)y (x) = f (x) I ⊂ R
y (j) (x0 ) = yj for 0 ≤ j ≤ k − 1
Definition
The null space of L, denoted as N(L), is defined as the class of all
functions y ∈ C k (I¯) such that Ly = 0 where C k (I¯) is the set of all k-times
differentiable functions on I such that the k-th derivative can be
continuously extended to the end-points of I .
Example
All constant functions in C (I¯) is in the null space of the first order linear
d
L := dx .
Example
All linear functions of the form ax + b in C (I¯) is in the null space of the
d2
second order linear L := dx 2.
T. Muthukumar & Akash Anand Ordinary Differential Equations June 16, 2023 96 / 126
Null Space is a subspace
Theorem
The null space, N(L), is a subspace of C (I¯).
Proof.
Obviously, the constant function zero is in N(L). Further, if u1 , . . . , um are
in N(L),i.e. Lui = 0 for 1 ≤ i ≤ m.Then
T. Muthukumar & Akash Anand Ordinary Differential Equations June 16, 2023 97 / 126
Example
Example
Consider the second order differential operator Ly := y 00 + y . Observe that
sin x and cos x are in the null space of L. Also, any linear combination
α sin x + β cos x is also in the null space of L, for any choice of α, β ∈ R.
Example
Consider the third order differential operator Ly := y (3) − 2y 00 − y 0 + 2y .
Observe that e x , e −x and e 2x are in the null space of L. Also, any linear
combination α1 e x + α2 e −x + α3 e 2x is in the null space of L, for any
choice of αi ∈ R, for all i = 1, 2, 3.
T. Muthukumar & Akash Anand Ordinary Differential Equations June 16, 2023 98 / 126
Linear Dependence and Independence of Solutions
Definition
A collection of functions u1 , . . . , um are said to be linearly independent on
I¯ if
α1 u1 + . . . + αm um = 0
implies αi = 0 for all i. Otherwise, the collection is said to be linearly
dependent.
Example
The two functions x and 2x are linearly dependent on [0, 1] because
α1 x + 2α2 x = 0 for the choice α1 = 2 and α2 = −1.
T. Muthukumar & Akash Anand Ordinary Differential Equations June 16, 2023 99 / 126
Example
Example
The three functions sin x, 3 sin x and − sin x are linearly dependent on
[−1, 2] because α1 sin x + 3α2 sin x − α3 sin x = 0 for the choice
α1 = α2 = 1 and α3 = 4.
Example
The two functions x and x 2 are linearly independent on [0, 1]. For some
α1 and α2 , consider α1 x + α2 x 2 = 0. Differentiate w.r.t x to obtain
α1 + 2α2 x = 0 for all x ∈ [0, 1]. Then α1 x + 2α2 x 2 = 0 for all x ∈ [0, 1].
Now solving for α1 and α2 in the two equations α1 x + α2 x 2 = 0 and
α1 x + 2α2 x 2 = 0, we get α2 = 0 = α1 .
T. Muthukumar & Akash Anand Ordinary Differential Equations June 16, 2023 100 / 126
Dimension of the Null Space N(L)
Theorem
Let Ly (x) := ki=0 ai (x)y (i) (x) be the k-th order linear differential map
P
L : C (I¯) → C (I¯). Then its null space N(L) is a k-dimensional subspace of
C (I¯), i.e. there exists k linearly independent solutions to Ly = 0 and every
other solution can be expressed as a linear combination of the k solutions
with appropriate choice of constants.
Definition
The general solution of the k-th order linear, homogeneous ODE Ly = 0 is
the linear combination of k linearly independent solutions of Ly = 0.
T. Muthukumar & Akash Anand Ordinary Differential Equations June 16, 2023 101 / 126
Example
Example
For the second order differential operator Ly := y 00 + y , sin x and cos x are
two linearly independent solutions and its general soluton is given as the
linear combination y (x) := α sin x + β cos x.
Example
For the third order differential operator Ly := y (3) − 2y 00 − y 0 + 2y , e x ,
e −x and e 2x are three linearly independent solutions of Ly = 0. Thus, its
general solution is the linear combination y (x) := α1 e x + α2 e −x + α3 e 2x .
T. Muthukumar & Akash Anand Ordinary Differential Equations June 16, 2023 102 / 126
Wronskian
Definition
For any collection of k functions u1 , . . . , uk in C (k−1) (I¯), the Wronskian of
the collection, denoted as W (u1 , . . . , uk ), is defined as the determinant of
the k × k matrix
u1 (x) . . . u k (x)
u10 (x) 0
... uk (x)
W (u1 , . . . , uk )(x) := .. ..
..
.
(k−1). .
(k−1)
u (x) . . . uk (x).
1
T. Muthukumar & Akash Anand Ordinary Differential Equations June 16, 2023 103 / 126
Sufficiency Condition for Linear Independence
Theorem
If u1 and u2 are linearly dependent in I then W (u1 , u2 )(x) = 0 for all
x ∈ I . Equivalently, if W (u1 , u2 ) 6= 0 for some x ∈ I then u1 and u2 are
linearly independent.
Proof.
Suppose u1 and u2 are linearly dependent in I then there exists a non-zero
pair (α, β) such that αu1 (x) + βu2 (x) = 0. On differentiation, we have
the matrix equation
u1 (x) u2 (x) α 0
= .
u10 (x) u20 (x) β 0
T. Muthukumar & Akash Anand Ordinary Differential Equations June 16, 2023 104 / 126
Converse Not True
Example
Consider u1 = x|x| and u2 = x 2
with derivative u10 = 2|x| and u20 = 2x.
Its Wronskian is zero everywhere.
But u1 and u2 are linearly independent
because αx|x| + βx 2 = 0 implies that
for x < 0, we get β − α = 0
and for x > 0, we get α + β = 0
implying that both α = β = 0.
T. Muthukumar & Akash Anand Ordinary Differential Equations June 16, 2023 105 / 126
Converse is True for Linearly Independent Solutions
Theorem
The k solutions u1 , . . . , uk of the k-order linear, homogeneous ODE Ly = 0
in I is linearly dependent in I iff W (u1 , . . . , uk )(x) = 0 for some x ∈ I .
Note that for linearly independent solutions of the linear ODE the
Wronskian is non-zero everywhere.
T. Muthukumar & Akash Anand Ordinary Differential Equations June 16, 2023 106 / 126
Vanishing Property of Wronskian
Theorem
If u1 , . . . , uk are solutions of the k-order linear, homogeneous ODE Ly = 0
in I then the Wronskian W (u1 , . . . , uk ) is either identically zero on I or is
never zero on I .
Proof.
If the Wronskian vanishes at some point x0 ∈ I , then the proof of
Theorem 94 implied that u1 and u2 are linearly dependent. But
Theorem 92 implied that for linear dependent functions the Wronskian
vanishes everywhere!
T. Muthukumar & Akash Anand Ordinary Differential Equations June 16, 2023 107 / 126
Example
Example
The Wronskian of u1 (x) := x and u2 (x) := sin x is x cos x − sin x. This
Wronskian is non-zero, for instance at x = π, thus the functions are
linearly independent by Theorem 92. However, the Wronskian is zero at
x = 0.It is no contradiction to above theorem because x and sin x cannot
span solutions of a second order ODE (see assignment problem)!
Example
For the second order differential operator Ly := y 00 + y , sin x and cos x are
two linearly independent solutions because its Wronskian
sin x cos x
W (sin x, cos x)(x) := = − sin2 x − cos2 x = −1 6= 0
cos x − sin x
for all x ∈ R.
T. Muthukumar & Akash Anand Ordinary Differential Equations June 16, 2023 108 / 126
Example
Example
For the third order differential operator Ly := y (3) − 2y 00 − y 0 + 2y , e x ,
e −x and e 2x are three linearly independent solutions because its Wronskian
−x
x
e 2x
e
x e −x
1 1 1
x −x 2x
2e 2x = e 2x 1 −1 2
W (e , e , e )(x) := e −e
e x e −x 4e 2x 1 1 4
= −6e 2x 6= 0
for all x ∈ R.
T. Muthukumar & Akash Anand Ordinary Differential Equations June 16, 2023 109 / 126
Reduction of Order
T. Muthukumar & Akash Anand Ordinary Differential Equations June 16, 2023 110 / 126
Proof
Since u2 is required to be a solution to the given ODE, we consider
T. Muthukumar & Akash Anand Ordinary Differential Equations June 16, 2023 111 / 126
Example
Example
Consider the ODE (x 2 + 1)y 00 − 2xy 0 + 2y = 0. Note that u1 (x) = x is a
solution to the ODE. Now
Z Z 2
−2x
Z
1 x +1 1
v (x) = exp − dx dx = dx = x − .
x2 x2 + 1 x2 x
T. Muthukumar & Akash Anand Ordinary Differential Equations June 16, 2023 112 / 126
Homogeneous Constant Coefficients
Theorem
A linear, homogeneous
Pk k-th order ODE with constant coefficients is given
(i)
by Ly := i=0 ai y = 0 and its characteristic equation (CE) is the k-th
degree polynomial of m, ki=0 ai mi = 0.
P
If (CE) admits k distinct real roots {mi }k1 then y (x) := ki=1 αi e mi x
P
is a general solution of the ODE Ly = 0.
If (CE) admits
P` ` repeated realP
roots m and the rest are distinct then
y (x) := ( i=1 αi x )e + ki=`+1 αi e mi x .
i−1 mx
T. Muthukumar & Akash Anand Ordinary Differential Equations June 16, 2023 113 / 126
Proof of Distinct Real Roots
Proof.
Observe that the derivative of exponential is constant multiple of
dk mx ] = mk e mx .
itself, i.e. dx k [e
T. Muthukumar & Akash Anand Ordinary Differential Equations June 16, 2023 114 / 126
Example
Example
Consider y 00 − 3y 0 + 2y = 0.
The CE is m2 − 3m + 2 = 0 whose roots are m1 = 1 and m2 = 2.
The roots are real and distinct.
The corresponding solutions are e x and e 2x .
They are linearly independent because
x
e 2x
x 2x
e
= e 3x 6= 0.
W (e , e ) = x
e 2e 2x
T. Muthukumar & Akash Anand Ordinary Differential Equations June 16, 2023 115 / 126
Example
Consider y (3) − 4y 00 + y 0 + 6y = 0.
The CE is m3 − 4m2 + m + 6 = 0 whose roots are m1 = −1, m2 = 2
and m3 = 3.
The roots are real and distinct.
The corresponding solutions are e −x , e 2x and e 3x .
They are linearly independent (exercise!).
Thus, the general solution is y (x) := α1 e −x + α2 e 2x + α3 e 3x .
T. Muthukumar & Akash Anand Ordinary Differential Equations June 16, 2023 116 / 126
Proof of Repeated Real Roots
Proof.
If m is a repeated root, say twice, then e mx is one solution.
Now, using the existing solution u1 := e mx , we seek a linearly
independent solution e mx v (x) for a suitable choice of v .
It can be shown that v (x) = x and xe mx is a linearly independent
solution.
For three repeated roots we have e mx , xe mx and x 2 e mx are the
linearly independent solutions.
T. Muthukumar & Akash Anand Ordinary Differential Equations June 16, 2023 117 / 126
Example
Example
Consider the ODE y 00 − 6y 0 + 9y = 0.
The CE is m2 − 6m + 9 = 0 with two repeated roots m1 = m2 = 3.
The corresponding solution is e 3x .
A linear independent solution is xe 3x and the general solution is
y (x) := (α1 + α2 x)e 3x .
T. Muthukumar & Akash Anand Ordinary Differential Equations June 16, 2023 118 / 126
Example
Example
Consider y (3) − 4y 00 − 3y 0 + 18y = 0.
The CE is m3 − 4m2 − 3m + 18 = 0 whose roots are m1 = m2 = 3
and m3 = −2.
The two of the roots are repeated.
The corresponding solutions are e 3x and e −2x .
Thus, the general solution is y (x) := (α1 + α2 x)e 3x + α3 e −2x .
T. Muthukumar & Akash Anand Ordinary Differential Equations June 16, 2023 119 / 126
Example
Example
Consider y (4) − 5y (3) + 6y 00 + 4y 0 − 8y = 0.
The CE is m4 − 5m3 + 6m2 + 4m − 8 = 0 whose roots are
m1 = m2 = m3 = 2 and m4 = −1.
Some roots are repeated!
Thus, the general solution is y (x) := (α1 + α2 x + α3 x 2 )e 2x + α4 e −x .
T. Muthukumar & Akash Anand Ordinary Differential Equations June 16, 2023 120 / 126
Proof of Conjugate Complex Roots
Proof.
If a ± ıb are the conjugate pair of complex roots then
e (a+ıb)x = e ax (cos bx + ı sin bx) and e (a−ıb)x = e ax (cos bx − ı sin bx)
are complex solutions of the ODE.
We seek real linearly independent solutions.
We sum the above two complex solutions and divide by 2 to obtain
e ax cos bx.
Similarly, on subtraction and dividing by 2ı, we get e ax sin bx.
Both are real linearly independent solutions and the general solution is
e ax [α1 sin bx + α2 cos bx].
T. Muthukumar & Akash Anand Ordinary Differential Equations June 16, 2023 121 / 126
Example
Example
Consider the ODE y 00 + y = 0.
The CE is m2 + 1 = 0 with pair of conjugate complex roots m1 = ı
and m2 = −ı.
The general solution is y (x) := α1 sin x + α2 cos x.
Example
Consider y 00 − 6y 0 + 25y = 0.
The CE is m2 − 6m + 25 = 0 whose roots are m1 = 3 + ı4 and
m2 = 3 − ı4.
Thus, the general solution is y (x) := e 3x (α1 sin 4x + α2 cos 4x).
T. Muthukumar & Akash Anand Ordinary Differential Equations June 16, 2023 122 / 126
Example
Example
Consider y (4) − 4y (3) + 14y 00 − 20y 0 + 25y = 0.
The CE is m4 − 4m3 + 14m2 − 20m + 25 = 0 whose roots are
m1 = m2 = 1 + ı2 and m3 = m4 = 1 − ı2.
The complex pair of roots are repeated.
Thus, the general solution is
T. Muthukumar & Akash Anand Ordinary Differential Equations June 16, 2023 123 / 126
Example IVP: Linear Homogeneous
Example
Consider the IVP
00
y − 6y 0 + 25y = 0
y (0) = −3
y 0 (0) = −1.
T. Muthukumar & Akash Anand Ordinary Differential Equations June 16, 2023 124 / 126
Linear, Non-Homogeneous ODE
Theorem
A linear,
Pknon-homogeneous k-th order ODE is given as
(k)
Ly := i=0 ai (x)y = f (x). If yp is a given particular integral (not
involving arbitrary constants) of the non-homogeneous ODE then yc + yp
is the general solution of the non-homogeneous ODE where yc (called the
complementary function) is the general solution of the corresponding
homogeneous ODE (f ≡ 0).
Proof.
Any element of N(L) is denoted as yc . Then the general solution of
Ly = f is yc + yp , translation of the null space N(L) by yp .
T. Muthukumar & Akash Anand Ordinary Differential Equations June 16, 2023 125 / 126
Example
Example
Consider the non-homogeneous ODE y 00 + y = x. Its complementary
function is the solution corresponding to the homogeneous ODE
y 00 + y = 0, i.e. yc = α1 sin x + α2 cos x. A particular integral to
y 00 + y = x is yp (x) = x. Then y (x) = α1 sin x + α2 cos x + x is the
general solution for the non-homogeneous ODE.
T. Muthukumar & Akash Anand Ordinary Differential Equations June 16, 2023 126 / 126