M2 Unit 1-First Order Ordinary Differential Equations
M2 Unit 1-First Order Ordinary Differential Equations
Unit - 1
First Order Ordinary Differential Equations
❖ Topics to be covered
*Differential equation
An equation which contains a derivative is called differential equation.
Differential equation involves dependent variable,an independent variable and
differential coefficients of various orders.
𝜕𝑧 𝜕𝑧
4. 𝑥 +𝑦 = 𝑛𝑧 𝜕2 𝑢 𝜕2 𝑢
𝜕𝑥 𝜕𝑦 5. + 2 =0
𝜕𝑥 2 𝜕𝑦
Differential Equations
𝑑2 𝑦 𝑑𝑦 2
2. + +1=0 Order = 2 , Degree = 1
𝑑𝑥 2 𝑑𝑥
2
𝑑𝑦 3 𝑑2 𝑦
3. + 3𝑦 = Order = 2 , Degree = 2
𝑑𝑥 𝑑𝑥 2
𝑑𝑦 𝑑2 𝑦
4. 1 + =
𝑑𝑥 𝑑𝑥 2
2 3 2 2
𝑑𝑦 𝑑 𝑦
1+ = 25
𝑑𝑥 𝑑𝑥 2 Note:The degree of a differential
equation can be found only when it is
Now the above equation is free from fraction. free from radicals and fractions.
Order = 2 , Degree = 2
6. 3𝑥 − 2𝑦 + 5 𝑑𝑥 + 𝑥 − 3𝑦 + 2 𝑑𝑦 = 0
𝑥 − 3𝑦 + 2 𝑑𝑦 = − 3𝑥 − 2𝑦 + 5 𝑑𝑥
𝑑𝑦 − 3𝑥 − 2𝑦 + 5
=
𝑑𝑥 𝑥 − 3𝑦 + 2
Order = 1 , Degree = 1
𝜕2 𝑧 𝜕𝑧 2 𝜕𝑧
7. + =
𝜕𝑥 2 𝜕𝑥 𝜕𝑦
Order = 2 , Degree = 1
❖ Solution of a Differential Equation
Solution (also known as primitive) of a differential equation is any relation
between the dependent and independent variables. Solution is always free from
derivatives and it satisfies the given differential equation.
Solution
𝑑𝑦
2𝑦 =5
𝑑𝑥
𝑑𝑦
2𝑦 −5=0
𝑑𝑥
This is the required differential equation having order =1 and degree=1
𝑑 2𝑦 𝑑𝑦
2
𝑥 2
+𝑥 +𝑦 =0
𝑑𝑥 𝑑𝑥
Sol. Given, 𝑦 = 𝑐 2 +
𝑐
𝑥 (1)
Differentiating (1) with respect to 𝑥, we get
𝑑𝑦 𝑐 𝑐
=0− 2 =− 2
𝑑𝑥 𝑥 𝑥
𝑑𝑦
𝑐= −𝑥 2
𝑑𝑥
Substitute the value 𝑐 in equation (1)
2 2 𝑑𝑦
𝑑𝑦 𝑥
𝑦=𝑥 4 − 𝑑𝑥
𝑑𝑥 𝑥
2
𝑑𝑦 𝑑𝑦
𝑥4 −𝑥 −𝑦 =0
𝑑𝑥 𝑑𝑥
This is the required differential equation of order = 1 and degree = 2
Solve:
Ex.1 Form the differential equation whose general solution is 𝑥𝑦 = 𝐴𝑒 𝑥 + 𝐵𝑒 −𝑥
−𝑥 2
Ex.3 Obtain the differential equation having general solution 𝑦 = 𝐴𝑒
❖Differential Equations in Variable Separable Form (V.S.form)
𝑑𝑦 𝑓 𝑥
▪ The differential equation which can be written in the form = is said
𝑑𝑥 𝑔 𝑦
to be present in the variable separable form.
▪ Variables 𝑥 and 𝑦 are separated so that 𝑥 appears only on one side of the
equation and 𝑦 appears only on the other side.
▪ The solution is obtained by integrating both the sides of equation
𝑥𝑑 𝑥 𝑓 = 𝑦𝑑 𝑦 𝑔 + 𝐶 , where 𝐶 is constant of integration
𝑑𝑦
Ex. 1 Solve: +𝑥 =0
𝑑𝑥
Sol. 𝑑𝑦
Given +𝑥 =0
𝑑𝑥
𝑑𝑦
= −𝑥
𝑑𝑥
𝑑𝑦 = −𝑥𝑑𝑥
This is v.s. form. Integrating both the sides,we get
න 𝑑𝑦 = න −𝑥𝑑𝑥 + 𝐶′
−𝑥 2
𝑦= + 𝐶′
2
2𝑦 = −𝑥 2 + 2𝐶′
2𝑦 = −𝑥 2 + 𝐶 2𝐶 ′ = 𝐶 , constant
𝑥 2 + 2𝑦 = 𝐶
1 1
𝑑𝑥 + 𝑑𝑦 = 0
𝑥 𝑦
This is v.s. form. Integrating both the sides,we get
1 1
න 𝑑𝑥 + න 𝑑𝑦 = log 𝐶 Note: An arbitrary constant may be
𝑥 𝑦 written in such a form as to make the
log 𝑥 + log 𝑦 = log 𝐶 answer simple.
log 𝑥𝑦 = log 𝐶
𝑥𝑦 = 𝐶 This is the General Solution.
𝑑𝑦
Ex. 3 Solve: + tan 𝑥 = 0
𝑑𝑥
Sol.
𝑑𝑦
Given, + tan 𝑥 = 0
𝑑𝑥
𝑑𝑦
= − tan 𝑥
𝑑𝑥
𝑑𝑦 = − tan 𝑥 𝑑𝑥
This is v.s. form. Integrating both the sides,we get
න 𝑑𝑦 = න −tan 𝑥 𝑑𝑥 + 𝐶
𝑦 = log cos 𝑥 + 𝐶
𝑦 − log cos 𝑥 = 𝐶
𝑑𝑦 𝑒 2𝑥
= 2𝑥
𝑑𝑥
𝑦 4+𝑒
This is v.s. form. Integrating both the sides,we get
1 1 2𝑒 2𝑥
න 𝑑𝑦 = න 2𝑥
𝑑𝑥 + log 𝐶
𝑦 2 4+𝑒
𝑓′ 𝑥
Use formula : 𝑥𝑓 𝑑𝑥 = log 𝑓 𝑥
1
log 𝑦 = log 4 + 𝑒 2𝑥 + log 𝐶
2
2log 𝑦 = log 4 + 𝑒 2𝑥 + 2log 𝐶
log 𝑦 2 = log 4 + 𝑒 2𝑥 + log 𝐶 2
log 𝑦 2 = log 4 + 𝑒 2𝑥 𝐶 2
𝑦 2 = 4 + 𝑒 2𝑥 𝐶1 𝐶 2 = 𝐶1 , 𝑐𝑜𝑛𝑠𝑡𝑎𝑛𝑡
𝑑𝑦
Solve : = 𝑒 𝑥−𝑦 + 3𝑥 2 𝑒 −𝑦
𝑑𝑥
𝑑𝑦 1+𝑦 2 1
Solve : +
1+𝑥 2
=0 Use formula: 𝑑𝑥 = tan−1 𝑥 + 𝐶
𝑑𝑥 1+𝑥 2
❖ Homogeneous Differential Equation
▪ The differential equation in the form 𝑀 𝑥, 𝑦 𝑑𝑥 + 𝑁 𝑥, 𝑦 𝑑𝑦 = 0 is said to
be homogeneous if 𝑀 𝑥, 𝑦 and 𝑁 𝑥, 𝑦 are homogeneous functions in 𝑥 and
𝑦 of the same degree.
𝑑𝑦 𝑓 𝑥,𝑦
▪ It can also be represented as = where f 𝑥, 𝑦 and g 𝑥, 𝑦 are
𝑑𝑥 𝑔 𝑥,𝑦
homogeneous functions in 𝑥 and 𝑦 of the same degree.
𝑑𝑦 𝑑𝑢
▪ To solve these equations , we can substitute 𝑦 = 𝑢𝑥 and = 𝑢 +𝑥
𝑑𝑥 𝑑𝑥
so that these equations will reduced to variable separable form and can
be solved further.
Examples:
𝑑𝑦 𝑥 3 −3𝑥𝑦 2 𝑑𝑦 𝑦2
1) = 2) 𝑥4 + 𝑦4 𝑑𝑥 − 2𝑥 3 𝑦 𝑑𝑦 = 0 3)𝑥 + = 𝑦 4)𝑥𝑑𝑦 − 𝑦𝑑𝑥 = 𝑥 2 + 𝑦 2 𝑑𝑥
𝑑𝑥 𝑦 3 −3𝑥 2 𝑦 𝑑𝑥 𝑥
𝑦 = 𝑐𝑜𝑛𝑠𝑡𝑎𝑛𝑡
OR sometimes we may use
𝑥 = 𝑐𝑜𝑛𝑠𝑡𝑎𝑛𝑡
Ex. 1. Solve: 𝑥𝑦 2 + 3𝑥 2 𝑦 𝑑𝑥 + 𝑥 3 + 𝑥 2 𝑦 𝑑𝑦 = 0
Sol.
Here, M = 𝑥𝑦 2 + 3𝑥 2 𝑦 and N = 𝑥 3 + 𝑥 2 𝑦
𝜕𝑀 𝜕𝑁
= 2𝑥𝑦 + 3𝑥 2 = 3𝑥 2 + 2𝑥𝑦
𝜕𝑦 𝜕𝑥
𝜕𝑀 𝜕𝑁
Since = , given equation is exact.
𝜕𝑦 𝜕𝑥
Hence,general solution is
𝑦 = 𝑐𝑜𝑛𝑠𝑡𝑎𝑛𝑡
න 𝑥𝑦 2 + 3𝑥 2 𝑦 𝑑𝑥 + න 0𝑑𝑦 = 𝐶
𝑦 = 𝑐𝑜𝑛𝑠𝑡𝑎𝑛𝑡
න 𝑥𝑦 2 𝑑𝑥 + න 3𝑥 2 𝑦 𝑑𝑥 + න 0 𝑑𝑦 = 𝐶
𝑦 2 න 𝑥 𝑑𝑥 + 𝑦 න 3𝑥 2 𝑑𝑥 + 0 = 𝐶
𝑥 2 𝑥 3
𝑦 2 + 3𝑦 =𝐶
2 3
𝑥2𝑦2
+ 𝑥3𝑦 = 𝐶
2
Hence,general solution is
𝑦 = 𝑐𝑜𝑛𝑠𝑡𝑎𝑛𝑡
න 3 + 2𝑦 cos 𝑥 𝑑𝑥 + න −4𝑦 3 𝑑𝑦 = 𝐶
𝑦 = 𝑐𝑜𝑛𝑠𝑡𝑎𝑛𝑡
න 3 𝑑𝑥 + 2𝑦 න cos 𝑥 𝑑𝑥 − 4 න 𝑦 3 𝑑𝑦 = 𝐶
3𝑥 + 2𝑦𝑠𝑖𝑛𝑥 − 𝑦 4 = 𝐶
𝑦 = 𝑐𝑜𝑛𝑠𝑡𝑎𝑛𝑡
න 2𝑥 + 𝑒 𝑥 log 𝑦 𝑑𝑥 + න 0𝑑𝑦 = 𝐶
𝑦 = 𝑐𝑜𝑛𝑠𝑡𝑎𝑛𝑡
න 2𝑥𝑑𝑥 + log 𝑦 න 𝑒 𝑥 𝑑𝑥 + න 0𝑑𝑦 = 𝐶
𝑥2
2 + 𝑒 𝑥 log 𝑦 = 𝐶
2
𝑦 = 𝑐𝑜𝑛𝑠𝑡𝑎𝑛𝑡
න 𝑥 2 − 4𝑥𝑦 − 2𝑦 2 𝑑𝑥 + න 𝑦 2 𝑑𝑦 = 𝐶
𝑦 = 𝑐𝑜𝑛𝑠𝑡𝑎𝑛𝑡
න 𝑥 2 𝑑𝑥 − 4𝑦 න 𝑥𝑑𝑥 − 2𝑦 2 න 𝑑𝑥 + න 𝑦 2 𝑑𝑦 = 𝐶
𝑥3 𝑥2 𝑦 3
− 4𝑦 − 2𝑦 2 x + =𝐶
3 2 3
Rule 2 : Let the equation 𝑀𝑑𝑥 + 𝑁𝑑𝑦 = 0 be Non-Exact but has the form
1
𝑦𝑓1 𝑥𝑦 𝑑𝑥 + 𝑥𝑓2 𝑥𝑦 𝑑𝑦 = 0 , and if and if 𝑥𝑀 − 𝑦𝑁 ≠ 0 then I.F.=
𝑥𝑀−𝑦𝑁
𝜕𝑀 𝜕𝑁
−
= 𝑓 𝑥 then I.F.=𝑒 𝑓 𝑥 𝑑𝑥
𝜕𝑦 𝜕𝑥
Rule 3 : Let the equation 𝑀𝑑𝑥 + 𝑁𝑑𝑦 = 0 be Non-Exact and if
𝑁
Here, 𝑓 𝑥 indicates some function of 𝑥 only
𝜕𝑁 𝜕𝑀
−
= 𝑔 𝑦 then I.F.=𝑒 𝑔 𝑦 𝑑𝑦
𝜕𝑥 𝜕𝑦
Rule 4 : Let the equation 𝑀𝑑𝑥 + 𝑁𝑑𝑦 = 0 be Non-Exact and if
𝑀
Here,𝑔 𝑦 indicates some function of 𝑦 only
❖Examples on Differential Equations Reducible to Exact form by using
Integrating Factor
1 2
1
log 𝑥 + 3𝑦 − 2𝑦 2
=𝐶 This is general solution.
𝑥 2𝑥
Also , 𝑥𝑀 + 𝑦𝑁 = 𝑦 2 𝑥 − 2𝑥 2 𝑦 + 2𝑥 2 𝑦 + 3𝑦 2 𝑥 = 4𝑦 2 𝑥 ≠ 0
1 1
Hence ,by Rule 1 I.F.= =
𝑥𝑀+𝑦𝑁 4𝑦 2 𝑥
Ex. 3 Solve: 1 + 𝑥𝑦 𝑦𝑑𝑥 + 1 − 𝑥𝑦 𝑥𝑑𝑦 = 0 (1)
Sol.
𝜕𝑀 𝜕𝑁
Here, 𝑀 = 𝑦 + 𝑥𝑦 2 , 𝑁=𝑥 − 𝑥2y , = 1 + 2𝑥𝑦 , = 1 − 2𝑥𝑦
𝜕𝑦 𝜕𝑥
𝜕𝑀 𝜕𝑁
≠ hence, equation is non-exact.
𝜕𝑦 𝜕𝑥
Also, 𝑥𝑀 − 𝑦𝑁 = 𝑥𝑦 + 𝑥 2 𝑦 2 − 𝑥𝑦 + 𝑥 2 𝑦 2 = 2𝑥 2 𝑦 2 ≠ 0
1 1
Hence,by Rule 2 , I.F.= =
𝑥𝑀−𝑦𝑁 2𝑥 2 𝑦 2
1
Now,multiply equation (1) by
2𝑥 2 𝑦 2
1 1 1 1
2
+ 𝑑𝑥 + 2
− 𝑑𝑦 = 0 (2)
2𝑥 𝑦 2𝑥 2𝑦 𝑥 2𝑦
1 1 1
− + log 𝑥 − log 𝑦 = 𝐶 This is general solution.
2𝑦𝑥 2 2
1
Ex. 4 Find solution of 𝑥 2 𝑦 2 + 2 𝑦𝑑𝑥 + 2 − 2𝑥 2 𝑦 2 𝑥𝑑𝑦 = 0 with integrating factor
3𝑥 3 𝑦 3
Sol. 1
Multiply given equation by
3𝑥 3 𝑦 3
1 2 2 2
+ 3 2 𝑑𝑥 + 2 3
− 𝑑𝑦 = 0
3𝑥 3𝑥 𝑦 3𝑥 𝑦 3𝑦
This is now exact. (No need to check condition of exactness)
Solution is 𝑥𝑑𝑀 + 𝐶 = 𝑦𝑑 𝑥 𝑔𝑛𝑖𝑛𝑖𝑎𝑡𝑛𝑜𝑐 𝑡𝑜𝑛 𝑁 𝑓𝑜 𝑠𝑚𝑟𝑒𝑇
𝑦 = 𝑐𝑜𝑛𝑠𝑡𝑎𝑛𝑡
1 2 1 2 1
න 𝑑𝑥 + 2 න 3 𝑑𝑥 − න 𝑑𝑦 = 𝐶
3𝑥 3𝑦 𝑥 3 𝑦
1
log 𝑥 − 2 2 − 2 log 𝑦 = 3𝐶 = 𝐶1 This is general solution.
𝑦 𝑥
𝜕𝑀 𝜕𝑁
−
𝜕𝑦 𝜕𝑥 2𝑦− −2𝑦 4𝑦 2
Also, = = = − =𝑓 𝑥
𝑁 −2𝑥𝑦 −2𝑥𝑦 𝑥
2
𝑥𝑑 𝑥 𝑓 −𝑥𝑑𝑥 −2 1
Hence,by Rule 3 , I.F.=𝑒 =𝑒 = 𝑒 −2 log 𝑥 = 𝑒 log 𝑥 = 𝑥 −2 =
𝑥2
1
Now,multiply given equation by
𝑥2
𝑦2 1 2𝑦
1 + 2 + 2 𝑑𝑥 − 𝑑𝑦 = 0 This is an Exact equation.
𝑥 𝑥 𝑥
𝑦2 1
𝑥− − =𝐶 This is general solution.
𝑥 𝑥
𝑦3 𝑥2 𝑥+𝑥𝑦 2
Ex.6 Find integrating factor of differential equation 𝑦 + + 𝑑𝑥 + 𝑑𝑦 = 0
3 2 4
Sol.
𝜕𝑀 𝜕𝑁 1+𝑦 2
Here, =1+ 𝑦2 , =
𝜕𝑦 𝜕𝑥 4
1 + 𝑦 2
𝜕𝑀 𝜕𝑁 1 + 𝑦2 − 3
− 4 1 + 𝑦2 3
𝜕𝑦 𝜕𝑥 4
= =𝑥 = =𝑓 𝑥
𝑁 𝑥 + 𝑥𝑦 2 1 + 𝑦2 𝑥
4 4
3 3
𝑥𝑑 𝑥 𝑓 𝑥𝑑𝑥
Hence,by Rule 3 , I.F.=𝑒 =𝑒 = 𝑒 3 log 𝑥 = 𝑒 log 𝑥 = 𝑥 3
I.F.= 𝑥 3
Ex. 7 Find integrating factor of equation 𝑦 log 𝑦𝑑𝑥 + 𝑥 − log 𝑦 𝑑𝑦 = 0
Sol.
Here, 𝑀 = 𝑦 log 𝑦 𝑎𝑛𝑑 𝑁 = 𝑥 − log 𝑦
𝜕𝑀 1 𝜕𝑁
Here, = 𝑦. + log 𝑦 = 1 + log 𝑦 , =1
𝜕𝑦 𝑦 𝜕𝑥
𝜕𝑁 𝜕𝑀
−
𝜕𝑥 𝜕𝑦 1−1−log 𝑦 − log 𝑦 1
Also, = = = − =𝑔 𝑦
𝑀 𝑦 log 𝑦 𝑦 log 𝑦 𝑦
−1
𝑦𝑑 𝑦 𝑔 𝑥𝑑 𝑦 −1 1
Hence,by Rule 4 , I.F.=𝑒 =𝑒 = 𝑒 −1 log 𝑦 = 𝑒 log 𝑦 = 𝑦 −1 =
𝑦
1
I.F.=
𝑦
𝑒𝑥 𝑒𝑥
2𝑥 + 𝑑𝑥 − 2 𝑑𝑦 =0 This is an Exact equation.
𝑦 𝑦
3. 𝑦 4 + 2𝑦 𝑑𝑥 + 𝑥𝑦 3 + 2𝑦 4 − 4𝑥 𝑑𝑦 = 0 𝐻𝑖𝑛𝑡: 𝑅𝑢𝑙𝑒 4
𝑑𝑦 𝑑𝑦 2
3) + 𝑦 2 sin 𝑥 = cos 𝑥 is not linear equation. 4) − 3𝑥 4 𝑦 + 1 = 0 is not linear equation.
𝑑𝑥 𝑑𝑥
𝑑𝑥 𝑑𝑦 1+𝑥 2 −𝑥 2
5) + 1+𝑦 𝑥 = 3𝑦 3 is linear equation. 6)
𝑑𝑥
−
𝑥
𝑦= 𝑒 is linear equation.
𝑑𝑦
𝑑𝑦 𝑑𝑥
▪ For the equation +𝑃 𝑥 𝑦 =𝑄 𝑥 ▪ For the equation +𝑃 𝑦 𝑥 =𝑄 𝑦
𝑑𝑥 𝑑𝑦
Integrating Factor(I.F.)= 𝐼 = 𝑒 𝑃 𝑥 𝑑𝑥
Integrating Factor(I.F.)= 𝐼 = 𝑒 𝑃 𝑦 𝑑𝑦
𝑥+𝑥 2 𝑥+𝑥 2 −𝑥 2
𝑒 .𝑦 = න𝑒 .𝑒 𝑑𝑥 + 𝐶
2 2 2
𝑒 𝑥+𝑥 . 𝑦 = න 𝑒 𝑥 . 𝑒 𝑥 . 𝑒 −𝑥 𝑑𝑥 + 𝐶
𝑥+𝑥 2 𝑥 𝑥 2 −𝑥 2
𝑒 .𝑦 = න𝑒 .𝑒 .𝑒 𝑑𝑥 + 𝐶 = 𝑒 𝑥 + 𝐶
𝑥+𝑥 2
𝑒 . 𝑦 = 𝑒𝑥 + 𝐶 This is the general solution.
𝑑𝑦 𝑦
Ex. 2 Find the integrating factor of the differential equation + = 𝑥2
𝑑𝑥 1+𝑥 2
Sol. 𝑑𝑦
Given equation is linear differential equation of the form +𝑃 𝑥 𝑦 =𝑄 𝑥
𝑑𝑥
1
where 𝑃 𝑥 = 𝑎𝑛𝑑 𝑄 𝑥 = 𝑥 2
1+𝑥 2
1
𝑥𝑑 𝑥 𝑃 𝑑𝑥 −1
Integrating Factor(I.F.)= 𝐼 = 𝑒 =𝑒 1+𝑥2 = 𝑒 tan 𝑥
tan −1 𝑥
𝐼= 𝑒
𝑑𝑦
Ex. 3 Find the integrating factor of the differential equation + 𝑦 cot 𝑥 = sin 2𝑥
𝑑𝑥
Sol. 𝑑𝑦
Given equation is linear differential equation of the form +𝑃 𝑥 𝑦 =𝑄 𝑥
𝑑𝑥
where 𝑃 𝑥 = cot 𝑥 𝑎𝑛𝑑 𝑄 𝑥 = sin 2𝑥
Integrating Factor(I.F.)= 𝐼 = 𝑒 𝑃 𝑥 𝑑𝑥
= 𝑒 cot 𝑥𝑑𝑥 = 𝑒 log sin 𝑥 = sin 𝑥
𝐼 = sin 𝑥
𝑑𝑦 3 𝑒𝑥
Ex.4 Find the general solution of + 𝑦 = with integrating factor 𝑥 3 .
𝑑𝑥 𝑥 𝑥2
Sol. 3 𝑒𝑥
Given equation is linear differential equation with 𝑃 = , 𝑄 = 𝑎𝑛𝑑 𝐼 = 𝑥 3
𝑥 𝑥2
Solution is 𝐼. 𝑦 = 𝐼 . 𝑄 𝑥 𝑑𝑥 + 𝐶
𝑒 𝑥
𝑥 3 𝑦 = න 𝑥 3 2 𝑑𝑥 + 𝐶 = න 𝑥𝑒 𝑥 𝑑𝑥 + 𝐶 = 𝑥𝑒 𝑥 −𝑒 𝑥 + 𝐶 = 𝑥 − 1 𝑒 𝑥 + 𝐶
𝑥
𝑑𝑦 1 1
Ex.5 Find the general solution of + tan 𝑥 + 𝑦 = sec 𝑥 with integrating factor 𝑥 sec 𝑥
𝑑𝑥 𝑥 𝑥
Sol. 1 1
Given equation is linear diff. equation with 𝑃 = tan 𝑥 + , 𝑄 = sec 𝑥 𝑎𝑛𝑑 𝐼 = 𝑥 sec 𝑥
𝑥 𝑥
Solution is 𝐼. 𝑦 = 𝐼 . 𝑄 𝑥 𝑑𝑥 + 𝐶
1
𝑥 sec 𝑥 . 𝑦 = න 𝐼. 𝑄 𝑥 𝑑𝑥 + 𝐶 = න 𝑥 sec 𝑥 . sec 𝑥 𝑑𝑥 + 𝐶 = න 𝑠𝑒𝑐 2 𝑥𝑑𝑥 + 𝐶 = tan 𝑥 + 𝐶
𝑥
𝑥 sec 𝑥 . 𝑦 = tan 𝑥 + 𝐶 This is the general solution.
❖ Equations reducible to the Linear Form ( Bernoulli’s Differential Equation)
𝑑𝑦
A differential equation of the form + 𝑃 𝑥 𝑦 = 𝑄 𝑥 . 𝑦 𝑛 is called Bernoulli’s
𝑑𝑥
Differential Equaton.
❖ Steps to find solution of Bernoulli’s equation:
1. Divide given equation by 𝑦 𝑛
𝑑𝑦
2. So it becomes 𝑦 −𝑛 + 𝑃 𝑥 𝑦1−𝑛 = 𝑄 𝑥 (1)
𝑑𝑥
1−𝑛 −𝑛 𝑑𝑦 𝑑𝑢
3. Substitute 𝑦 = u Hence, 1 − 𝑛 𝑦 =
𝑑𝑥 𝑑𝑥
𝑑𝑢
4. (1) becomes, + 1 − 𝑛 𝑃 𝑥 𝑢 = 1 − 𝑛 𝑄 𝑥 which is linear equation.
𝑑𝑥
1−𝑛 𝑃 𝑥 𝑑𝑥
5. Integrating factor=𝐼. 𝐹. = 𝐼 = 𝑒
6.General solution is 𝐼. 𝑢 = 𝐼 . 1 − 𝑛 𝑄 𝑥 𝑑𝑥 + 𝐶
7. Back substitute u = 𝑦1−𝑛
𝑑𝑥
❖ An equation + 𝑃 𝑦 𝑥 = 𝑄 𝑦 . 𝑥 𝑛 is also called Bernoulli’s Differential Equaton. It can be
𝑑𝑦
solved in the similar way by substituting 𝑥 1−𝑛 = u
▪ Integrating factor=𝐼. 𝐹. = 𝐼 = 𝑒 1−𝑛 𝑃 𝑦 𝑑𝑦
▪ General solution is 𝐼. 𝑢 = 𝐼 . 1 − 𝑛 𝑄 𝑦 𝑑𝑦 + 𝐶
▪ Back substitute u = 𝑥 1−𝑛
𝑑𝑦
❖ An equation of the form 𝑓 ′ 𝑦 + 𝑃 𝑥 𝑓 𝑦 = 𝑄 𝑥 is reducible to the linear form.
𝑑𝑥
𝑑𝑦 𝑑𝑢
▪ Substitute 𝑓 𝑦 = 𝑢 𝑎𝑛𝑑 𝑓′ 𝑦 =
𝑑𝑥 𝑑𝑥
𝑑𝑢
▪ Hence,equation converts into + 𝑃 𝑥 . 𝑢 = 𝑄 𝑥 which is linear in 𝑢 and can be
𝑑𝑥
solved further.
𝑑𝑥
❖ An equation of the form 𝑓′ 𝑥 + 𝑃 𝑦 𝑓 𝑥 = 𝑄 𝑦 is reducible to the linear form.
𝑑𝑦
𝑑𝑥 𝑑𝑢
▪ Substitute 𝑓 𝑥 = 𝑢 𝑎𝑛𝑑 𝑓 ′ 𝑥 =
𝑑𝑦 𝑑𝑦
𝑑𝑢
▪ Hence,equation converts into + 𝑃 𝑦 .𝑢 = 𝑄 𝑦 which is linear in 𝑢 and can be
𝑑𝑦
solved further
𝑑𝑦 3 −𝑥 2
Ex.1 Reduce the Bernoulli’s equation − 𝑥𝑦 = −𝑦 𝑒 to the linear form.
𝑑𝑥
Sol.
𝑑𝑦 2
Given equation is of the form +𝑃 𝑥 𝑦=𝑄 𝑥 . 𝑦𝑛 where 𝑃 𝑥 = −𝑥 , 𝑄 𝑥 = −𝑥
−𝑒 , 𝑛 =3
𝑑𝑥
𝑑𝑦 𝑑𝑢 𝑑𝑦 𝑑𝑢
Substitute 𝑦1−𝑛 = 𝑦1−3 = 𝑦 −2 = 𝑢 𝑎𝑛𝑑 1 − 𝑛 𝑦 −𝑛 = 𝑖. 𝑒. −2𝑦 −3 =
𝑑𝑥 𝑑𝑥 𝑑𝑥 𝑑𝑥
𝑑𝑢
Hence, given equation becomes + 1−𝑛 𝑃 𝑥 𝑢 = 1−𝑛 𝑄 𝑥
𝑑𝑥
𝑑𝑢 −𝑥 2
+ 2𝑥𝑢 = 2𝑒 which is linear.
𝑑𝑥
𝑑𝑦 3 −𝑥 2
Ex.2 Find the integrating factor of − 𝑥𝑦 = −𝑦 𝑒
𝑑𝑥
Sol. Given equation 𝑑𝑦 − 𝑥𝑦 = −𝑦 3 𝑒 −𝑥 2 is Bernoulli’s equation where 𝑃 𝑥 = −𝑥 , 𝑛 = 3
𝑑𝑥
1−𝑛 𝑃 𝑥 𝑑𝑥 2𝑥𝑑𝑥 𝑥 2
𝐼. 𝐹. = 𝐼 = 𝑒 =𝑒 = 𝑒
𝑥 2
𝐼= 𝑒
𝑑𝑦 2 2
Ex. 3 Find the general solution of − 𝑥𝑦 = −𝑦 3 𝑒 −𝑥 with integrating factor 𝑒 𝑥 .
𝑑𝑥
Sol.
𝑑𝑦 3 −𝑥 2 −𝑥 2 𝑥 2
Given equation − 𝑥𝑦 = −𝑦 𝑒 is Bernoulli’s equation where Q 𝑥 = −𝑒 , 𝑛 = 3, 𝐼 = 𝑒
𝑑𝑥
𝑥2 𝑥2 −𝑥 2
𝑒 . u = න 𝑒 . 2𝑒 𝑑𝑥 + 𝐶 = න 2𝑑𝑥 + 𝐶 = 2𝑥 + 𝐶
Back substitute u = 𝑦 −2
𝑥 2
𝑒 . 𝑦 −2 = 2𝑥 + 𝐶 This is the general solution.
𝑑𝑦
Ex.4 Reduce the equation tan 𝑦 + tan 𝑥 = 𝑐𝑜𝑠 2 𝑥 cos 𝑦 to the linear form..
𝑑𝑥
Sol.
𝑑𝑦
Multiplying given equation by sec 𝑦, we get sec 𝑦 tan 𝑦 + sec 𝑦 tan 𝑥 = 𝑐𝑜𝑠 2 𝑥 (1)
𝑑𝑥
𝑑𝑦 𝑑𝑢
Now substitute sec 𝑦 = u so that sec 𝑦 tan 𝑦 =
𝑑𝑥 𝑑𝑥
𝑑𝑢
Equation (1) becomes, + 𝑢 tan 𝑥 = 𝑐𝑜𝑠 2 𝑥 which is linear with P = tan 𝑥 and Q= 𝑐𝑜𝑠 2 𝑥
𝑑𝑥
−1
𝑑𝑥 2 𝑑𝑥 1 𝑒 −𝑡𝑎𝑛 𝑦
Ex. Find the general solution of 1) − 𝑥 = 𝑦 2 𝑒 −𝑦 2) + 𝑥 =
𝑑𝑦 𝑦 𝑑𝑦 1+𝑦 2 1+𝑦 2
𝑑𝑦 2 1 𝑑𝑦
3) + 𝑦 = 4) − 𝑦 tan 𝑥 = 𝑦 4 sec 𝑥
𝑑𝑥 𝑥 𝑥3 𝑑𝑥