Lecture 1,2
Lecture 1,2
Lecture 1,2
𝑦 − 𝑦′′′ 𝑥2 0 9
𝑦 − 𝑦′′′ 𝑥2 9
𝑦 ′ − 𝑦′′′ 2𝑥 0 6
⇒ ′′ =0 ⇒ 𝑦 ′ − 𝑦′′′ 2𝑥 6 =0
𝑦 − 𝑦′′′ 2 0 12
𝑦 ′′ − 𝑦′′′ 2 12
𝑦′′′ 0 1 −8
⇒ 𝑦 − 𝑦 ′′′ 24𝑥 − 12 − 𝑥 2 12𝑦 ′ − 12𝑦 ′′′ − 6𝑦 ′′ + 6𝑦 ′′′ + 9(2𝑦 ′ − 2𝑦 ′′′ −
2𝑥𝑦 ′′ + 2𝑥𝑦 ′′′ ) = 0
𝜕2 𝐹(𝑥,𝑦) 𝜕𝑁(𝑥,𝑦)
= for all (𝑥, 𝑦) ∈ 𝐷. But, using the continuity of the first partial derivatives of
𝜕𝑥𝜕𝑦 𝜕𝑥
𝜕𝑀(𝑥,𝑦) 𝜕𝑁(𝑥,𝑦)
If (1) and (2) are to be satisfied, then using the hypothesis = , we must have
𝜕𝑦 𝜕𝑥
𝜕2 𝜕2 𝐹(𝑥,𝑦) 𝜕2 𝐹(𝑥,𝑦) 𝜕2
𝜕𝑥𝜕𝑦
𝑀 𝑥, 𝑦 𝜕𝑥 =
𝜕𝑥𝜕𝑦
=
𝜕𝑦𝜕𝑥
=
𝜕𝑦𝜕𝑥
𝑀 𝑥, 𝑦 𝜕𝑥
𝜕 𝜕 𝜕𝑁 𝑥,𝑦 𝜕2
Thus, we obtain 𝑁 𝑥, 𝑦 − 𝑀 𝑥, 𝑦 𝜕𝑥 = − 𝑀 𝑥, 𝑦 𝜕𝑥
𝜕𝑥 𝜕𝑦 𝜕𝑥 𝜕𝑦𝜕𝑥
𝜕 𝜕 𝜕𝑁 𝑥,𝑦 𝜕𝑀(𝑥,𝑦)
and hence 𝑁 𝑥, 𝑦 − 𝑀 𝑥, 𝑦 𝜕𝑥 = −
𝜕𝑥 𝜕𝑦 𝜕𝑥 𝜕𝑦
Solution of First Order ODE
𝜕𝑀(𝑥,𝑦) 𝜕𝑁(𝑥,𝑦)
But by hypothesis = for all (𝑥, 𝑦) ∈ 𝐷. Thus
𝜕𝑦 𝜕𝑥
𝜕 𝜕
𝑁 𝑥, 𝑦 − 𝑀 𝑥, 𝑦 𝜕𝑥 = 0 for all (𝑥, 𝑦) ∈ 𝐷, and so (6) is independent of 𝑥. Thus,
𝜕𝑥 𝜕𝑦
we may write
𝜕𝑀 𝑥,𝑦
𝜑 𝑦 = 𝑥 𝑁 , 𝑦 − 𝜕𝑥 𝑑𝑦
𝜕𝑦
Substituting this into equation (3), we have
𝜕𝑀 𝑥,𝑦
𝐹 𝑥, 𝑦 = 𝑥(𝑀 , 𝑦) 𝜕𝑥 + 𝑥 𝑁 , 𝑦 − 𝜕𝑥 𝑑𝑦 (7)
𝜕𝑦
This 𝐹 𝑥, 𝑦 thus satisfies both (1) and (2) for all (𝑥, 𝑦) ∈ 𝐷, and so 𝑀𝑑𝑥 + 𝑁𝑑𝑦 = 0 is exact
in 𝐷.
Solution of First Order ODE
Ex-1: Solve the equation 3𝑥 2 + 4𝑥𝑦 𝑑𝑥 + 2𝑥 2 + 2𝑦 𝑑𝑦 = 0
Solution: First we have to determine whether the equation is exact or not. Here
𝑀 𝑥, 𝑦 = 3𝑥 2 + 4𝑥𝑦 and 𝑁 𝑥, 𝑦 = 2𝑥 2 + 2𝑦
𝜕𝑀(𝑥,𝑦) 𝜕𝑁(𝑥,𝑦) 𝜕𝑀(𝑥,𝑦) 𝜕𝑁(𝑥,𝑦)
= 4𝑥 and = 4𝑥 ∴ =
𝜕𝑦 𝜕𝑥 𝜕𝑦 𝜕𝑥
Hence the above equation is exact. Thus, we must find a function 𝐹 𝑥, 𝑦 such that
𝜕𝐹(𝑥,𝑦) 𝜕𝐹(𝑥,𝑦)
= 3𝑥 2 + 4𝑥𝑦 (1) and = 2𝑥 2 + 2𝑦 (2)
𝜕𝑥 𝜕𝑦
Integrating (1) with respect to 𝑥, we get
𝐹 𝑥, 𝑦 = 𝑥 3 + 2𝑥 2 𝑦 + 𝜑(𝑦) (3)
Now differentiating (3) with respect to 𝑦, we get
𝜕𝐹(𝑥,𝑦) 𝑑𝜑(𝑦)
= 2𝑥 2 + (4)
𝜕𝑦 𝑑𝑦
𝑑𝜑(𝑦) 𝑑𝜑(𝑦)
Comparing (2) and (4), we get 2𝑥 2 + 2𝑦 = 2𝑥 2 + ⇒ = 2𝑦 (5)
𝑑𝑦 𝑑𝑦
Solution of First Order ODE
Integrating (5) we get 𝜑 𝑦 = 𝑦 2 + 𝑐0 , where 𝑐0 is an arbitrary constant, and so
𝐹 𝑥, 𝑦 = 𝑥 3 + 2𝑥 2 𝑦 + 𝑦 2 + 𝑐0
Hence the general solution is 𝐹 𝑥, 𝑦 = 𝑐1 , or 𝑥 3 + 2𝑥 2 𝑦 + 𝑦 2 + 𝑐0 = 𝑐1
Combining the constants 𝑐0 and 𝑐1 we may write the solution as 𝑥 3 + 2𝑥 2 𝑦 + 𝑦 2 = 𝑐
where 𝑐 = 𝑐1 − 𝑐0 is an arbitrary constant.
Method of Grouping:
We can write the differential equation in the form
3𝑥 2 𝑑𝑥 + (4𝑥𝑦𝑑𝑥 + 2𝑥 2 𝑑𝑦) + 2𝑦𝑑𝑦 = 0
⇒ 𝑑(𝑥 3 ) + 𝑑(2𝑥 2 𝑦) + 𝑑(𝑦 2 ) = 0
⇒ 𝑑(𝑥 3 + 2𝑥 2 𝑦 + 𝑦 2 ) = 0
Integrating we get 𝑥 3 + 2𝑥 2 𝑦 + 𝑦 2 = 𝑐
Solution of First Order ODE
Ex-2: Solve the initial-value problem
2𝑥𝑐𝑜𝑠𝑦 + 3𝑥 2 𝑦 𝑑𝑥 + 𝑥 3 − 𝑥 2 𝑠𝑖𝑛𝑦 − 𝑦 𝑑𝑦 = 0, 𝑦 0 = 2
Solution: Here 𝑀 𝑥, 𝑦 = 2𝑥𝑐𝑜𝑠𝑦 + 3𝑥 2 𝑦 and 𝑁 𝑥, 𝑦 = 𝑥 3 − 𝑥 2 𝑠𝑖𝑛𝑦 − 𝑦
𝜕𝑀(𝑥,𝑦) 𝜕𝑁(𝑥,𝑦) 𝜕𝑀(𝑥,𝑦) 𝜕𝑁(𝑥,𝑦)
= −2𝑥𝑠𝑖𝑛𝑦 + 3𝑥 2 and = 3𝑥 2 − 2𝑥𝑠𝑖𝑛𝑦 ∴ =
𝜕𝑦 𝜕𝑥 𝜕𝑦 𝜕𝑥
Hence the above equation is exact. Thus, we must find a function 𝐹 𝑥, 𝑦 such that
𝜕𝐹(𝑥,𝑦) 𝜕𝐹(𝑥,𝑦)
= 2𝑥𝑐𝑜𝑠𝑦 + 3𝑥 2 𝑦 (1) and = 𝑥 3 − 𝑥 2 𝑠𝑖𝑛𝑦 − 𝑦 (2)
𝜕𝑥 𝜕𝑦
Integrating (1) with respect to 𝑥, we get
𝐹 𝑥, 𝑦 = 𝑥 2 𝑐𝑜𝑠𝑦 + 𝑥 3 𝑦 + 𝜑(𝑦) (3)
Now differentiating (3) with respect to 𝑦, we get
𝜕𝐹(𝑥,𝑦) 𝑑𝜑(𝑦)
= −𝑥 2 𝑠𝑖𝑛𝑦 + 𝑥 3 + (4)
𝜕𝑦 𝑑𝑦
𝑑𝜑(𝑦)
Comparing (2) and (4), we get𝑥 3 − 𝑥 2 𝑠𝑖𝑛𝑦 −𝑦 = −𝑥 2 𝑠𝑖𝑛𝑦 + 𝑥3 +
𝑑𝑦
Solution of First Order ODE
𝑑𝜑(𝑦)
⇒ = −𝑦 (5)
𝑑𝑦
𝑦2
Integrating (5) we get 𝜑 𝑦 = − + 𝑐0 , where 𝑐0 is an arbitrary constant, and so
2
2 3 𝑦2
𝐹 𝑥, 𝑦 = 𝑥 𝑐𝑜𝑠𝑦 + 𝑥 𝑦 − + 𝑐0
2
2 3 𝑦2
Hence the general solution is 𝑥 𝑐𝑜𝑠𝑦 + 𝑥 𝑦 − =𝑐
2
And in terms of the operator 𝐷 the differential equation (1) can be written as
𝐷𝑛 + 𝑃1 𝐷𝑛−1 + 𝑃2 𝐷𝑛−2 + ⋯ + 𝑃𝑛 𝑦 = 𝑋
Linear Differential Equations with Constant Coefficients
Theorem: If 𝑦 = 𝑦1 , 𝑦 = 𝑦2 , … 𝑦 = 𝑦𝑛 are linearly independent solutions of
𝐷𝑛 + 𝑎1 𝐷𝑛−1 + 𝑎2 𝐷𝑛−2 + ⋯ + 𝑎𝑛 𝑦 = 0 (1)
then 𝑦 = 𝐶1 𝑦1 + 𝐶2 𝑦2 + ⋯ + 𝐶𝑛 𝑦𝑛 is the general or complete solution of the differential
equation, where 𝐶1 , 𝐶2 , … , 𝐶𝑛 are 𝑛 arbitrary constants.
⇒ 𝐶1 ∙ 0 + 𝐶2 ∙ 0 + 𝐶3 ∙ 0 + ⋯ + 𝐶𝑛 ∙ 0 = 0 ⇒0=0
Since (1) is satisfied by 𝑦 = 𝐶1 𝑦1 + 𝐶2 𝑦2 + ⋯ + 𝐶𝑛 𝑦𝑛 , it is a solution of (1). Also, since
it contains 𝑛 arbitrary constants, it is the general or complete solution of the equation.
Linear Differential Equations with Constant Coefficients
Auxiliary Equation: Consider the differential equation
(𝐷𝑛 + 𝑎1 𝐷𝑛−1 + 𝑎2 𝐷𝑛−2 + ⋯ + 𝑎𝑛 )𝑦 = 0 (1)
where 𝑎1 , 𝑎2 ,…, 𝑎𝑛 are all constant.
Let 𝑦 = 𝑒 𝑚𝑥 be a solution of this equation. Then putting in equation (1), we get
(𝑚𝑛 + 𝑎1 𝑚𝑛−1 + 𝑎2 𝑚𝑛−2 + ⋯ + 𝑎𝑛 )𝑒 𝑚𝑥 = 0
Hence 𝑒 𝑚𝑥 will be a solution of (1) if 𝑚 is a root of the algebraic equation
𝑚𝑛 + 𝑎1 𝑚𝑛−1 + 𝑎2 𝑚𝑛−2 + ⋯ + 𝑎𝑛 = 0 (2)
This equation in 𝑚 is called the auxiliary equation.
Linear Differential Equations with Constant Coefficients
Solution of the differential equation (𝐷𝑛 + 𝑎1 𝐷𝑛−1 + 𝑎2 𝐷𝑛−2 + ⋯ + 𝑎𝑛 )𝑦 = 0:
Case I. When all the roots of auxiliary equation are real and different.
If 𝑚1 , 𝑚2 ,…, 𝑚𝑛 be the 𝑛 different roots of (2), then 𝑦 = 𝑒 𝑚1 𝑥 , 𝑦 = 𝑒 𝑚2𝑥 ,…, 𝑦 =
𝑒 𝑚𝑛 𝑥 are all independent solutions of (1). Therefore, the general solution of (1) is
𝑦 = 𝐶1 𝑒 𝑚1𝑥 + 𝐶2 𝑒 𝑚2𝑥 + ⋯ + 𝐶𝑛 𝑒 𝑚𝑛 𝑥
𝑑3 𝑦 𝑑𝑦
Ex-1: Solve − 13 − 12𝑦 = 0
𝑑𝑥 3 𝑑𝑥
3𝑥 1 2 1 3𝑥 1 2 1 3𝑥 6𝐷+𝐷2 −1 2
=𝑒 𝑥 = 𝑒 2 𝑥 = 𝑒 (1 + ) 𝑥
𝐷 2 +6𝐷+5 5 6𝐷+𝐷
1+ 5 5 5
2
1 3𝑥 6𝐷+𝐷 2 6𝐷+𝐷 2
= 𝑒 (1 − + + ⋯ )𝑥 2
5 5 5
1 3𝑥 6𝐷 𝐷2 36𝐷 2 2 1 6𝐷 31𝐷 2 2
= 𝑒 (1 − − + )𝑥 = 𝑒 3𝑥 (1 − + )𝑥
5 5 5 25 5 5 25
1 3𝑥 2 6 31 1 3𝑥 2 12 62
= 𝑒 (𝑥 − 2𝑥 + 2) = 𝑒 (𝑥 − 𝑥 + )
5 5 25 5 5 25
1 12 62
Hence general solution is 𝑦 = 𝑐1 𝑒 2𝑥 + 𝑐2 𝑒 −2𝑥 + 𝑒 3𝑥 (𝑥 2 − 𝑥 + )
5 5 25