Uploaded by Tonikay Miller

Differential Equations Cont’d

advertisement
4/5/2021
Differential Equations
Cont’d
Second Order Differential Equation
A second order differential equation can be formed when a
function is differentiated twice
Therefore they can be solved by integrating twice.
The general solution will contain two arbitrary constants.
1
4/5/2021
Find the general solution of the differential equation
π’…πŸ π’š
π’…π’™πŸ
= π’™πŸ‘ − πŸ”π’™ + 𝟏𝟐
𝑑2 𝑦
= π‘₯ 3 − 6π‘₯ + 12
𝑑π‘₯ 2
ΰΆ±
𝑑2𝑦
𝑑π‘₯ = ΰΆ± π‘₯ 3 − 6π‘₯ + 12 𝑑π‘₯
𝑑π‘₯ 2
𝑑𝑦 π‘₯ 4
=
− 3π‘₯ 2 + 12π‘₯ + 𝐴
𝑑π‘₯
4
ΰΆ±
𝑑𝑦
π‘₯4
𝑑π‘₯ = ΰΆ± − 3π‘₯ 2 + 12π‘₯ + 𝐴 𝑑π‘₯
𝑑π‘₯
4
ΰΆ±
𝑑𝑦
π‘₯4
𝑑π‘₯ = ΰΆ± − 3π‘₯ 2 + 12π‘₯ + 𝐴 𝑑π‘₯
𝑑π‘₯
4
𝑦=
π‘₯5
− π‘₯ 3 + 6π‘₯ 2 + 𝐴π‘₯ + 𝐡
20
2
4/5/2021
A particle moves in a straight line through a fixed point O. Its acceleration is given
by
𝑑2 𝑦
𝑑π‘₯ 2
= 3𝑑 − 4 where t is the time in seconds after passing O, and x is the
𝑑π‘₯
displacement from O. The particle reaches a point A when 𝑑 = 2 π‘Žπ‘›π‘‘ 𝑑𝑑 = 3
𝑑π‘₯
a. Find 𝑑𝑑 π‘€β„Žπ‘’π‘› 𝑑 = 1
b. Find x as a function of t.
𝑑2 π‘₯
= 3𝑑 − 4
𝑑𝑑 2
ΰΆ±
𝑑2π‘₯
𝑑𝑑 = ΰΆ± 3𝑑 − 4 𝑑𝑑
𝑑𝑑 2
𝑑π‘₯ 3𝑑 2
=
− 4π‘₯ + 𝐴
𝑑𝑑
2
𝑑π‘₯ 3𝑑 2
=
− 4π‘₯ + 5
𝑑𝑑
2
a
π‘Šβ„Žπ‘’π‘› 𝑑 = 1
𝑑π‘₯ 3(1)2
=
− 4(1) + 5
𝑑𝑑
2
π‘Šβ„Žπ‘’π‘› 𝑑 = 2 π‘Žπ‘›π‘‘
𝑑π‘₯
=3
𝑑𝑑
3 = −2 + 𝐴
𝐴=5
𝑑π‘₯ 3𝑑 2
=
− 4π‘₯ + 5
𝑑𝑑
2
𝑑π‘₯ 3𝑑 2
=
− 4π‘₯ + 5
𝑑𝑑
2
b.
ΰΆ±
𝑑π‘₯
3𝑑 2
𝑑𝑑 = ΰΆ±
− 4π‘₯ + 5𝑑𝑑
𝑑𝑑
2
π‘₯=
𝑑3
− 2π‘₯ 2 + 5π‘₯ + 𝐡
2
𝑑π‘₯ 5
= π‘šπ‘  −1
𝑑𝑑 2
3
4/5/2021
Suppose we have the first order differential equation
𝑑𝑦
+ 𝑃𝑦 = 𝑄
𝑑π‘₯
Example: Solve
𝑑𝑦
𝑑π‘₯
+
3𝑦
π‘₯
𝑒π‘₯
= π‘₯3
This cannot be solved by ‘regular’ differential equations
Recall
𝑦 = 𝑒𝑣
ΰΆ± 𝑣𝑑𝑒 + 𝑒𝑑𝑣 𝑑π‘₯ = 𝑒𝑣
𝑑𝑦
𝑒𝑣 = 𝑣𝑑𝑒 + 𝑒𝑑𝑣
𝑑π‘₯
4
4/5/2021
Integrating Factor
𝑑𝑦
+ 𝑃𝑦 = 𝑄
𝑑π‘₯
We multiply both sides of the differential equation by the integrating
factor I which is defined as
𝐼 = 𝑒 ‫π‘₯𝑑𝑃 ׬‬
Multiplying our original differential equation by I we get that:
𝑑𝑦
+ 𝑃𝑦 = 𝑄
𝑑π‘₯
→𝐼
𝑑𝑦
+ 𝐼𝑃𝑦 = 𝐼𝑄
𝑑π‘₯
→ ࢱ𝐼
𝑑𝑦
+ 𝐼𝑃𝑦 𝑑π‘₯ = ΰΆ± 𝐼𝑄 𝑑π‘₯
𝑑π‘₯
Product Rule
→ 𝐼𝑦 = ΰΆ± 𝐼𝑄 𝑑π‘₯
5
4/5/2021
Find the general solution of the differential equation
𝑑𝑦
+ 2𝑦 = 𝑒 −π‘₯
𝑑π‘₯
𝑒 2π‘₯
𝐼 = 𝑒 ‫π‘₯𝑑𝑃 ׬‬
𝐼 = 𝑒 ‫ ׬‬2𝑑π‘₯
ΰΆ± 𝑒 2π‘₯
𝑑𝑦
+ 2𝑒 2π‘₯ 𝑦 = 𝑒 2π‘₯ βˆ™ 𝑒 −π‘₯
𝑑π‘₯
𝑑𝑦
+ 2𝑒 2π‘₯ 𝑦 𝑑π‘₯ = ΰΆ± 𝑒 π‘₯ 𝑑π‘₯
𝑑π‘₯
𝑦𝑒 2π‘₯ = 𝑒 π‘₯ + 𝑐
𝐼 = 𝑒 2π‘₯
𝑦 = 𝑒 π‘₯ βˆ™ 𝑒 −2π‘₯ + 𝑒 −2π‘₯ 𝑐
𝑦 = 𝑒 −π‘₯ + 𝑒 −2π‘₯ 𝑐
Find the general solution of the differential equation
𝑑𝑦 3
𝑒π‘₯
+ 𝑦= 3
𝑑π‘₯ π‘₯
π‘₯
𝑑𝑦 3
𝑒π‘₯
+ 𝑦= 3
𝑑π‘₯ π‘₯
π‘₯
π‘₯3
𝑑𝑦
+ 3π‘₯ 2 𝑦 = 𝑒 π‘₯
𝑑π‘₯
3
𝐼 = 𝑒 ‫π‘₯𝑑π‘₯׬‬
𝐼 = 𝑒 3𝑙𝑛π‘₯
𝐼 = 𝑒 𝑙𝑛π‘₯
𝐼 = π‘₯3
ΰΆ± π‘₯3
𝑑𝑦
+ 3π‘₯ 2 𝑦 𝑑π‘₯ = ΰΆ± 𝑒 π‘₯
𝑑π‘₯
π‘₯3𝑦 = 𝑒 π‘₯ + 𝑐
3
𝑦=
𝑒π‘₯ + 𝑐
π‘₯3
6
4/5/2021
Find the general solution of the differential equation
𝑑𝑦
2
− 4𝑦 = 1
𝑑π‘₯
𝑑𝑦
1
− 2𝑦 =
𝑑π‘₯
2
𝐼 = 𝑒 ‫ ׬‬−2𝑑π‘₯
𝑒 −2π‘₯
𝑑𝑦
1
− 2𝑒 −2π‘₯ 𝑦 = 𝑒 −2π‘₯
𝑑π‘₯
2
ΰΆ± 𝑒 −2π‘₯
𝐼 = 𝑒 −2π‘₯
𝑑𝑦
1
− 2𝑒 −2π‘₯ 𝑦 𝑑π‘₯ = ΰΆ± 𝑒 −2π‘₯ 𝑑π‘₯
𝑑π‘₯
2
𝑒 −2π‘₯ 𝑦 = −
𝑦=
𝑒 −2π‘₯
+𝑐
4
1
+ 𝑒 2π‘₯ 𝑐
4
“
Homogeneous Linear
Differential Equations
7
4/5/2021
𝑑2 𝑦
𝑑𝑦
To solve differential equations π‘Žπ‘¦ ′′ + 𝑏𝑦 ′ + 𝑐𝑦 = 0 (π‘Ž 𝑑π‘₯2 + 𝑏 𝑑π‘₯ + 𝑐𝑦 = 0)
Find the roots 𝛼 π‘Žπ‘›π‘‘ 𝛽 of the auxiliary equation π‘Žπ‘’2 + 𝑏𝑒 + 𝑐 = 0
If 𝛼 π‘Žπ‘›π‘‘ 𝛽 are real and distinct 𝑏 2 > 4π‘Žπ‘ , the general solution is 𝑦 = 𝐴𝑒 𝛼π‘₯ + 𝐡𝑒 𝛽π‘₯
If 𝛼 π‘Žπ‘›π‘‘ 𝛽 are real but equal 𝑏 2 = 4π‘Žπ‘ , the general solution is 𝑦 = 𝑒 𝛼π‘₯ (𝐴 + 𝐡π‘₯)
If 𝛼 π‘Žπ‘›π‘‘ 𝛽 are complex 𝑏 2 < 4π‘Žπ‘ , the general solution is 𝑦 = 𝑒 𝑝π‘₯ (𝐴 cos π‘žπ‘₯ + 𝐡 sin π‘žπ‘₯)
Find the general solution of the differential equation
𝑦 ′′ − 4′ + 4𝑦 = 0
𝑒2 − 4𝑒 + 4 = 0
𝑒−2
2
=0
If 𝛼 π‘Žπ‘›π‘‘ 𝛽 are real but equal 𝑏 2 = 4π‘Žπ‘ , the general solution is 𝑦 = 𝑒 𝛼π‘₯ (𝐴 + 𝐡π‘₯)
𝑦 = 𝑒 2π‘₯ (𝐴 + 𝐡π‘₯)
8
4/5/2021
Find the general solution of the differential equation
𝑦 ′′ + 3′ − 10𝑦 = 0
𝑒2 + 3𝑒 − 10 = 0
𝑒+5 𝑒−2 =0
𝛼 = −5 π‘Žπ‘›π‘‘ 𝛽 = 2
If 𝛼 π‘Žπ‘›π‘‘ 𝛽 are real and distinct 𝑏 2 > 4π‘Žπ‘ , the general solution is 𝑦 = 𝐴𝑒 𝛼π‘₯ + 𝐡𝑒 𝛽π‘₯
𝑦 = 𝐴𝑒 −5π‘₯ + 𝐡𝑒 2π‘₯
“
Nonhomogeneous Linear
Differential Equations
9
4/5/2021
π‘Žπ‘¦ ′′ + 𝑏𝑦 ′ + 𝑐𝑦 ≠ 0 is a nonhomogeneous second order differential
equation
If the right hand side of the equation is not 0, then the particular solution can be found
as follows:
First, find the form of the solution of the corresponding homogeneous equation keeping
the constants A and B as such: this is called the complementary solution 𝑦𝑐 (π‘₯)
Second, find a particular integral of the ODE y𝑝 (π‘₯)
Then the solutions of the ODE are of the form: 𝑦(π‘₯) = 𝑦𝑐 (π‘₯) + 𝑦𝑝 (π‘₯)
Undetermined Coefficients
This method consists in making an educated guess as to what the particular
integral should look like. The following table can be used:
F(x)
π’Œ
π’Œπ’™
π’Œπ’™πŸ
π’Œπ’”π’Šπ’π’™ 𝒐𝒓 π’Œπ’„π’π’”π’™
Particular Integral
π‘ͺ
π‘ͺ𝒙 + 𝑫
π‘ͺπ’™πŸ + 𝑫𝒙 + 𝑬
π‘ͺ𝒄𝒐𝒔𝒙 + π‘«π’”π’Šπ’π’™
10
4/5/2021
Find the general solution of the differential equation
𝑦 ′′ − 2𝑦 ′ + 5𝑦 = 10π‘₯ + 1
𝑒2 − 2𝑒 + 5𝑦 = 0
𝑒=
2 ± 4 − 20
2
𝑒 = 1 ± 2𝑖
If 𝛼 π‘Žπ‘›π‘‘ 𝛽 are complex 𝑏 2 < 4π‘Žπ‘ , the general solution is 𝑦 = 𝑒 𝑝π‘₯ (𝐴 cos π‘žπ‘₯ + 𝐡 sin π‘žπ‘₯)
𝑦 = 𝑒 π‘₯ (π΄π‘π‘œπ‘  2π‘₯ + 𝐡 sin 2π‘₯)
Finding the particular Integral
𝑦 ′′ − 2𝑦 ′ + 5𝑦 = 10π‘₯ + 1
𝑦 = 𝐢π‘₯ + 𝐷
𝑦′ = 𝐢
𝑦′′ = 0
∴ 0 − 2𝐢 + 5(𝐢π‘₯ + 𝐷) = 10π‘₯ + 1
∴ 5𝐢π‘₯ + 5𝐷 − 2𝐢 = 10π‘₯ + 1
5𝐢π‘₯ = 10π‘₯
𝐢=2
5𝐷 − 2𝐢 = 1
𝐷=1
𝑃𝐼 = 2π‘₯ + 1
11
4/5/2021
𝑦(π‘₯) = 𝑦𝑐 (π‘₯) + 𝑦𝑝 (π‘₯)
𝑦(π‘₯) = 𝑒 π‘₯ (π΄π‘π‘œπ‘  2π‘₯ + 𝐡 sin 2π‘₯) + 2π‘₯ + 1
Find the general solution of the differential equation
𝑦 ′′ − 2𝑦 ′ = 5 sin π‘₯
𝑒2 − 2𝑒 = 0
𝑒 𝑒−2 =0
𝛼 = 0 π‘Žπ‘›π‘‘ 𝛽 = 2
If 𝛼 π‘Žπ‘›π‘‘ 𝛽 are real and distinct 𝑏 2 > 4π‘Žπ‘ , the general solution is 𝑦 = 𝐴𝑒 𝛼π‘₯ + 𝐡𝑒 𝛽π‘₯
𝑦 = 𝐴 + 𝐡𝑒 2π‘₯
12
4/5/2021
Finding the particular Integral
𝑦 ′′ − 2𝑦 ′ = 5 sin π‘₯
𝑦 = πΆπ‘π‘œπ‘  π‘₯ + 𝐷𝑠𝑖𝑛 π‘₯
𝑦 ′ = −𝐢𝑠𝑖𝑛π‘₯ + π·π‘π‘œπ‘  π‘₯
𝑦 ′′ = −πΆπ‘π‘œπ‘  π‘₯ − 𝐷𝑠𝑖𝑛π‘₯
∴ −πΆπ‘π‘œπ‘ π‘₯ − 𝐷𝑠𝑖𝑛π‘₯ − 2 −𝐢𝑠𝑖𝑛π‘₯ + π·π‘π‘œπ‘ π‘₯ = 5 sin π‘₯
∴ π‘π‘œπ‘ π‘₯ −𝐢 − 2𝐷 + 𝑠𝑖𝑛π‘₯ 2𝐢 = 𝐷 = 5𝑠𝑖𝑛π‘₯
−𝐢 − 2𝐷 = 0
𝐢 = −2𝐷
2𝐢 − 𝐷 = 5
𝐷 = −1
𝑃𝐼 = 2 cos π‘₯ − sin π‘₯
𝐢=2
𝑦(π‘₯) = 𝑦𝑐 (π‘₯) + 𝑦𝑝 (π‘₯)
𝑦 π‘₯ = 𝐴 + 𝐡𝑒 2π‘₯ + 2 cos π‘₯ − sin π‘₯
13
Download