Presentation is loading. Please wait.

Presentation is loading. Please wait.

Differential Equations

Similar presentations


Presentation on theme: "Differential Equations"β€” Presentation transcript:

1 Differential Equations
Substitution for First and Second ORDER

2 First Order vs Second Order
A first order differential equation contains a 𝑑𝑦 𝑑π‘₯ term. This is what we’ve seen so far. A second order differential equation contains a 𝑑 2 𝑦 𝑑 π‘₯ 2 term.

3 Substitution So far, we’ve seen β€œSeparation of Variables”, and β€œIntegrating Factors”. The next technique we will use is called β€œSubstitution”. When we have something that has a common combination of π‘₯ and 𝑦, we make the substitution 𝑧 = 𝑓 π‘₯, 𝑦 . Often, this is a ratio or difference of π‘₯ and 𝑦.

4 Example We can’t see anything consistent between π‘₯ and 𝑦 yet, so we divide by π‘₯ 2 to find something. 𝑑𝑦 𝑑π‘₯ β‹…π‘₯𝑦+4 π‘₯ 2 + 𝑦 2 =0 𝑑𝑦 𝑑π‘₯ β‹… π‘₯𝑦 π‘₯ π‘₯ 2 π‘₯ 𝑦 2 π‘₯ 2 =0 𝑑𝑦 𝑑π‘₯ β‹… 𝑦 π‘₯ 𝑦 π‘₯ 2 =0 𝑧= 𝑦 π‘₯ 𝑑𝑦 𝑑π‘₯ =𝑧+π‘₯ 𝑑𝑧 𝑑π‘₯ 𝑦=π‘₯𝑧 𝑧+π‘₯ 𝑑𝑧 𝑑π‘₯ ⋅𝑧+4+ 𝑧 2 =0 π‘₯𝑧 𝑑𝑧 𝑑π‘₯ +4+2 𝑧 2 =0

5 I didn’t give you initial conditions, so we are, in fact, done! Yay!
Example I didn’t give you initial conditions, so we are, in fact, done! Yay! π‘₯𝑧 𝑑𝑧 𝑑π‘₯ +4+2 𝑧 2 =0 2 𝑧 2 +4= π‘˜ π‘₯ 4 π‘₯ 𝑑𝑧 𝑑π‘₯ = βˆ’4 βˆ’2 𝑧 2 𝑧 2 𝑦 π‘₯ = π‘˜ π‘₯ 4 βˆ’π‘§ 2 𝑧 𝑑𝑧 = 1 π‘₯ .𝑑π‘₯ 2 𝑦 2 π‘₯ 2 = π‘˜ π‘₯ 4 βˆ’4 𝑦 2 = π‘˜ π‘₯ 2 βˆ’2 π‘₯ 2 βˆ’ 1 4 ln 2 𝑧 = ln π‘₯ +𝐢

6 Substitution for Second Order
The second order differential equations we will consider are of a very special type: they contain only π‘₯ terms, or they contain only 𝑦 terms. We use a very specific substitution, 𝑧= 𝑑𝑦 𝑑π‘₯ , and the following identity: 𝑑 2 𝑦 𝑑 π‘₯ 2 = 𝑑 𝑑π‘₯ 𝑑𝑦 𝑑π‘₯ = 𝑑𝑧 𝑑π‘₯

7 Example 1 π‘₯ 𝑑 2 𝑦 𝑑 π‘₯ 2 +4 𝑑𝑦 𝑑π‘₯ = π‘₯ 2 𝑧= 𝑑𝑦 𝑑π‘₯ 𝑑𝑧 𝑑π‘₯ = 𝑑 2 𝑦 𝑑 π‘₯ 2
This equation cannot be separated, so we have to use an integrating factor. π‘₯ 𝑑 2 𝑦 𝑑 π‘₯ 𝑑𝑦 𝑑π‘₯ = π‘₯ 2 𝑧= 𝑑𝑦 𝑑π‘₯ 𝑑𝑧 𝑑π‘₯ = 𝑑 2 𝑦 𝑑 π‘₯ 2 π‘₯ 𝑑𝑧 𝑑π‘₯ +4𝑧= π‘₯ 2 𝑑𝑧 𝑑π‘₯ + 4𝑧 π‘₯ =π‘₯ 𝑝(π‘₯)= 4 π‘₯ π‘ž(π‘₯)=π‘₯ πœ‡= 𝑒 𝑝 π‘₯ .𝑑π‘₯ πœ‡= 𝑒 4 ln π‘₯ = π‘₯ 4 𝑧= 1 πœ‡ πœ‡π‘ž π‘₯ .𝑑π‘₯ = 1 π‘₯ π‘₯ 5 .𝑑π‘₯ = π‘₯ 𝐢 π‘₯ 4

8 Example 1 𝑧= π‘₯ 2 6 + 𝐢 π‘₯ 4 𝑧= 𝑑𝑦 𝑑π‘₯ 𝑑𝑦 𝑑π‘₯ = π‘₯ 2 6 + 𝐢 π‘₯ 4
Notice we have two constants of integration, which is normal for 2nd order DEs. Normally, we would be given two conditions to use to find them. 𝑧= π‘₯ 𝐢 π‘₯ 4 𝑧= 𝑑𝑦 𝑑π‘₯ 𝑑𝑦 𝑑π‘₯ = π‘₯ 𝐢 π‘₯ 4 𝑦= π‘₯ 𝐢 π‘₯ 4 .𝑑π‘₯ = π‘₯ βˆ’ 𝐢 3 π‘₯ 3 +𝐷

9 Example 2 𝑦 2 𝑑 2 𝑦 𝑑 π‘₯ 2 βˆ’ 𝑑𝑦 𝑑π‘₯ 3 =0 𝑧= 𝑑𝑦 𝑑π‘₯ 𝑑𝑧 𝑑π‘₯ = 𝑑 2 𝑦 𝑑 π‘₯ 2
𝑦 2 𝑑 2 𝑦 𝑑 π‘₯ 2 βˆ’ 𝑑𝑦 𝑑π‘₯ 3 =0 𝑧= 𝑑𝑦 𝑑π‘₯ 𝑑𝑧 𝑑π‘₯ = 𝑑 2 𝑦 𝑑 π‘₯ 2 𝑑𝑧 𝑑π‘₯ = 𝑑𝑧 𝑑𝑦 β‹… 𝑑𝑦 𝑑π‘₯ 𝑦 2 𝑧 𝑑𝑧 𝑑𝑦 βˆ’ 𝑧 3 =0 𝑑 2 𝑦 𝑑 π‘₯ 2 = 𝑑𝑧 𝑑𝑦 ⋅𝑧 𝑦 2 𝑑𝑧 𝑑𝑦 = 𝑧 2 1 𝑧 2 .𝑑𝑧 = 𝑦 2 .𝑑𝑦 βˆ’ 1 𝑧 =βˆ’ 1 𝑦 +𝐢 1 𝑧 = 1 𝑦 +𝐢

10 Example 2 1 𝑧 = 1 𝑦 +𝐢 𝑧= 𝑑𝑦 𝑑π‘₯ 𝑑π‘₯ 𝑑𝑦 = 1 𝑦 +𝐢 π‘₯= 1 𝑦 +𝐢 .𝑑𝑦
This is as nice as this equation is going to get – we can’t write 𝑦=𝑓(π‘₯) 1 𝑧 = 1 𝑦 +𝐢 𝑧= 𝑑𝑦 𝑑π‘₯ 𝑑π‘₯ 𝑑𝑦 = 1 𝑦 +𝐢 π‘₯= 1 𝑦 +𝐢 .𝑑𝑦 = ln 𝑦 +𝐢𝑦+𝐷

11 Do Now Any Questions? Delta Workbook Nothing this time. Workbook
Pages ,

12 This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License. Aaron Stockdill 2016


Download ppt "Differential Equations"

Similar presentations


Ads by Google