Presentation is loading. Please wait.

Presentation is loading. Please wait.

Differential Equations

Similar presentations


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

1 Differential Equations
Lecture 6 Solution of Second Order Differential Equations Homogeneous Differential Equations fall semester Instructor: A. S. Brwa / MSc. In Structural Engineering College of Engineering / Ishik University

2 2nd Order Linear Homogenous ODE
Ishik University 2nd Order Linear Homogenous ODE 𝑨 π‘Ÿ 2 +π‘©π‘Ÿ+π‘ͺ=0 Notice that it is an algebraic equation that is obtained from the differential equation by replacing 𝑦′′ by π‘Ÿ 2 , 𝑦 β€² by π‘Ÿ, and 𝑦 by 1. Sometimes the roots π‘Ÿ 1 and π‘Ÿ 2 of this auxiliary equation can be found by factoring. In other cases they are found by using the quadratic formula: 𝒓= βˆ’π’ƒΒ± 𝒃 𝟐 βˆ’πŸ’π’‚π’„ πŸπ’‚ Faculty of Engineering – Differential Equations – Lecture 5 – Second Order Homogeneous DE

3 2nd Order Linear Homogenous ODE
Ishik University 2nd Order Linear Homogenous ODE 𝑨 π‘Ÿ 2 +π‘©π‘Ÿ+π‘ͺ=0 𝒓= βˆ’π’ƒΒ± 𝒃 𝟐 βˆ’πŸ’π’‚π’„ πŸπ’‚ We distinguish three cases according to the sign of the discriminant 𝒃 𝟐 βˆ’πŸ’π’‚π’„ Case 1: 𝒃 𝟐 βˆ’πŸ’π’‚π’„>𝟎 There are two distinct real roots π‘Ÿ 1 and π‘Ÿ 2 Case 2: 𝒃 𝟐 βˆ’πŸ’π’‚π’„=𝟎 There is one repeated real root r Case 3: 𝒃 𝟐 βˆ’πŸ’π’‚π’„<𝟎 There are two complex conjugate roots π‘Ÿ=π›½Β±πœ‡π‘– Faculty of Engineering – Differential Equations – Lecture 6 – Solution of Second Order Homogeneous ODE

4 2nd Order Linear Homogenous ODE
Ishik University 2nd Order Linear Homogenous ODE Case 2: 𝒃 𝟐 βˆ’πŸ’π’‚π’„=𝟎 The roots of the auxiliary equation are real and equal. Let’s denote by the common value of π‘Ÿ 1 and π‘Ÿ 2 So, 2aπ‘Ÿ+𝑏=0 𝒓 𝟏 equal 𝒓 𝟐 𝒓= βˆ’π’ƒΒ± 𝒃 𝟐 βˆ’πŸ’π’‚π’„ πŸπ’‚ 𝒓= βˆ’π’ƒ πŸπ’‚ becomes Faculty of Engineering – Differential Equations – Lecture 6 – Solution of Second Order Homogeneous ODE

5 2nd Order Linear Homogenous ODE
Ishik University 2nd Order Linear Homogenous ODE In lecture 5 we have proofed that 𝑦 1 = 𝑒 π‘Ÿ 1 π‘₯ is a solution of this 2nd order ODE 𝑨 π’š β€²β€² +𝑩 π’š β€² +π‘ͺπ’š=𝟎 We now verify that 𝑦 2 =π‘₯ 𝑒 π‘Ÿ 2 π‘₯ is also a solution: π’š β€² = 𝒆 𝒓 𝟐 𝒙 + π‘Ÿ 2 𝒙𝒆 𝒓 𝟐 𝒙 π’š β€²β€² =𝟐 𝒆 𝒓 𝟐 𝒙 + 𝒓 𝟐 𝒙 𝒆 𝒓 𝟐 𝒙 Faculty of Engineering – Differential Equations – Lecture 6 – Solution of Second Order Homogeneous ODE

6 2nd Order Linear Homogenous ODE
Ishik University 2nd Order Linear Homogenous ODE Write down the previous equation in terms of 𝑦 2 and substitute the values of π’š 𝟐 β€² and π’š 𝟐 β€²β€² we get 𝑨 π’š 𝟐 β€²β€² +𝑩 π’š 𝟐 β€² +π‘ͺ π’š 𝟐 =𝟎 𝑨 𝟐 𝒆 𝒓 𝟐 𝒙 + 𝒓 𝟐 𝒙 𝒆 𝒓 𝟐 𝒙 +𝑩 𝒆 𝒓 𝟐 𝒙 + π‘Ÿ 2 𝒙𝒆 𝒓 𝟐 𝒙 +π‘ͺ 𝒙 𝒆 𝒓 𝟐 𝒙 =𝟎 π‘¨πŸ 𝒆 𝒓 𝟐 𝒙 +𝑨 𝒓 𝟐 𝒙 𝒆 𝒓 𝟐 𝒙 +𝑩 𝒆 𝒓 𝟐 𝒙 +𝑩 π‘Ÿ 2 𝒙𝒆 𝒓 𝟐 𝒙 +π‘ͺ 𝒙 𝒆 𝒓 𝟐 𝒙 =𝟎 πŸπ’“π‘¨+𝑩 𝒆 𝒓 𝟐 𝒙 + 𝑨 π‘Ÿ 2 +π‘©π‘Ÿ+π‘ͺ 𝒙 𝒆 𝒓 𝟐 𝒙 =𝟎 (𝟎) 𝒆 𝒓𝒙 +(𝟎) 𝒙𝒆 𝒓𝒙 =𝟎 Faculty of Engineering – Differential Equations – Lecture 6 – Solution of Second Order Homogeneous ODE

7 2nd Order Linear Homogenous ODE
Ishik University 2nd Order Linear Homogenous ODE If the auxiliary equation 𝑨 π‘Ÿ 2 +π‘©π‘Ÿ+π‘ͺ has only one real root r, then the general solution of 𝑨 π’š 𝟐 β€²β€² +𝑩 π’š 𝟐 β€² +π‘ͺ π’š 𝟐 =𝟎 is π’š= 𝒄 𝟏 𝒆 𝒓 𝟏 𝒙 + 𝒄 𝟐 𝒙𝒆 𝒓 𝟐 𝒙 Since 𝒓 𝟏 = 𝒓 𝟐 π’š= 𝒄 𝟏 𝒆 𝒓𝒙 + 𝒄 𝟐 𝒙𝒆 𝒓𝒙 Faculty of Engineering – Differential Equations – Lecture 6 – Solution of Second Order Homogeneous ODE

8 2nd Order Linear Homogenous ODE
Ishik University 2nd Order Linear Homogenous ODE Example 1: 4 π’š β€²β€² +𝟏𝟐 π’š β€² +πŸ—π’š=𝟎 SOLUTION: The auxiliary equation πŸ’ π‘Ÿ 2 +12π‘Ÿ+πŸ—=𝟎 can be factored as 2π‘Ÿ+3 2π‘Ÿ+3 =0 so the only root is π‘Ÿ=βˆ’ 3 2 π’š= 𝒄 𝟏 𝒆 βˆ’ 3 2 𝒙 + 𝒄 𝟐 𝒙𝒆 βˆ’ 3 2 𝒙 Faculty of Engineering – Differential Equations – Lecture 6 – Solution of Second Order Homogeneous ODE

9 2nd Order Linear Homogenous ODE
Ishik University 2nd Order Linear Homogenous ODE Example 2: π’š β€²β€² βˆ’πŸ’ π’š β€² +πŸ’π’š=𝟎 SOLUTION: The auxiliary equation π‘Ÿ 2 βˆ’πŸ’π‘Ÿ+πŸ’=𝟎 can be factored as π‘Ÿβˆ’2 π‘Ÿβˆ’2 =0 so the only root is π‘Ÿ=2 π’š= 𝒄 𝟏 𝒆 2𝒙 + 𝒄 𝟐 𝒙𝒆 2𝒙 Faculty of Engineering – Differential Equations – Lecture 6 – Solution of Second Order Homogeneous ODE

10 2nd Order Linear Homogenous ODE
Ishik University 2nd Order Linear Homogenous ODE For example 2 If initial condition is given π’š 𝟎 =πŸ’ and π’š β€² (𝟎)=πŸ“ π’š β€²β€² βˆ’πŸ’ π’š β€² +πŸ’π’š=𝟎 SOLUTION: π’š= 𝒄 𝟏 𝒆 2𝒙 + 𝒄 𝟐 𝒙𝒆 2𝒙 πŸ’= 𝒄 𝟏 𝒆 2(𝟎) + 𝒄 𝟐 (𝟎)𝒆 2(𝟎) πŸ’= 𝒄 𝟏 𝟏 𝒄 𝟏 =πŸ’ π’š β€² =𝟐 𝒄 𝟏 𝒆 2𝒙 + 𝒄 𝟐 πŸπ’™π’† 2𝒙 + 𝒆 πŸπ’™ πŸ“=𝟐 𝒄 𝟏 𝒆 2(𝟎) + 𝒄 𝟐 ( 𝟐(𝟎)𝒆 2(𝟎) + 𝒆 𝟐(𝟎) ) πŸ“=𝟐 𝒄 𝟏 𝟏+ 𝒄 𝟐 (𝟎+𝟏) πŸ“=𝟐(πŸ’)𝟏+ 𝒄 𝟐 (𝟎+𝟏) 𝒄 𝟐 =πŸ“βˆ’πŸ–=βˆ’πŸ‘ Faculty of Engineering – Differential Equations – Lecture 6 – Solution of Second Order Homogeneous ODE

11 2nd Order Linear Homogenous ODE
Ishik University 2nd Order Linear Homogenous ODE Case 3: 𝒃 𝟐 βˆ’πŸ’π’‚π’„<𝟎 the characteristic polynomial has two complex roots, which are conjugates, 𝒓 𝟏 =𝜷+ππ’Š and 𝒓 𝟐 =πœ·βˆ’ππ’Š (Ξ», Β΅ are real numbers, Β΅ > 0). As before they give two linearly independent solutions 𝑦 1 = 𝑒 π‘Ÿ 1 π‘₯ and 𝑦 2 = 𝑒 π‘Ÿ 2 π‘₯ Consequently the linear combination will be a general solution. π’š= 𝒄 𝟏 𝒆 𝒓 𝟏 𝒙 + 𝒄 𝟐 𝒆 𝒓 𝟐 𝒙 π‘Ÿ=π›½Β±πœ‡π‘– Faculty of Engineering – Differential Equations – Lecture 6 – Solution of Second Order Homogeneous ODE

12 2nd Order Linear Homogenous ODE
Ishik University 2nd Order Linear Homogenous ODE At this juncture you might have this question: β€œbut aren’t π‘Ÿ 1 and π‘Ÿ 2 complex numbers; what would become of the exponential function with a complex number exponent?” The answer to that question is given by the Euler’s formula. Euler’s formula, for any real number ΞΈ, 𝒆 𝜽 π’Š = 𝒄𝒐𝒔 𝜽+π’Š π’”π’Šπ’ 𝜽 Faculty of Engineering – Differential Equations – Lecture 6 – Solution of Second Order Homogeneous ODE

13 2nd Order Linear Homogenous ODE
Ishik University 2nd Order Linear Homogenous ODE Hence, when r is a complex number Ξ» + Β΅i, the exponential function 𝒆 𝒓𝒙 becomes 𝒆 𝒓𝒙 = 𝒆 (Ξ» + Β΅i)𝒙 = 𝒆 λ𝒙 𝒆 Β΅i𝒙 = 𝒆 λ𝒙 cos ¡𝒙 +i sin ¡𝒙 Similarly, when r = Ξ» βˆ’ Β΅i , 𝒆 𝒓𝒙 becomes 𝒆 𝒓𝒙 = 𝒆 (Ξ» βˆ’ Β΅i)𝒙 = 𝒆 λ𝒙 𝒆 βˆ’Β΅i𝒙 = 𝒆 λ𝒙 cos(βˆ’ ¡𝒙) +i sin (βˆ’Β΅π’™) = 𝒆 λ𝒙 cos ¡𝒙 βˆ’i sin ¡𝒙 Faculty of Engineering – Differential Equations – Lecture 6 – Solution of Second Order Homogeneous ODE

14 2nd Order Linear Homogenous ODE
Ishik University 2nd Order Linear Homogenous ODE Hence, the general solution found above is then π’š= 𝒄 𝟏 𝒆 λ𝒙 cos ¡𝒙 +i sin ¡𝒙 + 𝒄 𝟐 𝒆 λ𝒙 cos ¡𝒙 βˆ’i sin ¡𝒙 However, this general solution is a complex-valued function (meaning that, given a real number t, the value of the function y(t) could be complex). It represents the general form of all particular solutions with either real or complex number coefficients. What we seek here, instead, is a real-valued expression that gives only the set of all particular solutions with real number coefficients only. Faculty of Engineering – Differential Equations – Lecture 6 – Solution of Second Order Homogeneous ODE

15 2nd Order Linear Homogenous ODE
Ishik University 2nd Order Linear Homogenous ODE Now, we keep only those whose coefficients are real numbers. 𝒖(𝒙)= 𝒆 λ𝒙 cos ¡𝒙 𝒗(𝒙)= 𝒆 λ𝒙 sin ¡𝒙 It is easy to verify that both u and v satisfy the differential equation (one way to see this is to observe that u can be obtain from the complex-valued general solution by setting 𝒄 𝟏 = 𝒄 𝟐 =𝟏/𝟐 𝒖(𝒙)= 𝟏 𝟐 𝒆 λ𝒙 cos ¡𝒙 +i sin ¡𝒙 + 𝟏 𝟐 𝒆 λ𝒙 cos ¡𝒙 βˆ’i sin ¡𝒙 𝒖(𝒙)= 𝟏 𝟐 𝒆 λ𝒙 cos ¡𝒙 + 𝟏 𝟐 𝒆 λ𝒙 i sin ¡𝒙 + 𝟏 𝟐 𝒆 λ𝒙 cos ¡𝒙 βˆ’ 𝟏 𝟐 𝒆 λ𝒙 i sin ¡𝒙 Faculty of Engineering – Differential Equations – Lecture 6 – Solution of Second Order Homogeneous ODE

16 2nd Order Linear Homogenous ODE
Ishik University 2nd Order Linear Homogenous ODE Now, we keep only those whose coefficients are real numbers. 𝒖(𝒙)= 𝒆 λ𝒙 cos ¡𝒙 𝒗(𝒙)= 𝒆 λ𝒙 sin ¡𝒙 It is easy to verify that both u and v satisfy the differential equation (one way to see this is to observe that v can be obtain from the complex-valued general solution by setting 𝒄 𝟏 = 𝟏 πŸπ’Š π‘Žπ‘›π‘‘ 𝒄 𝟐 =βˆ’ 𝟏 πŸπ’Š 𝒗(𝒙)= 𝟏 πŸπ’Š 𝒆 λ𝒙 cos ¡𝒙 +i sin ¡𝒙 + βˆ’ 𝟏 πŸπ’Š 𝒆 λ𝒙 cos ¡𝒙 βˆ’i sin ¡𝒙 𝒗(𝒙)= 𝟏 πŸπ’Š 𝒆 λ𝒙 cos ¡𝒙 + 𝟏 πŸπ’Š 𝒆 λ𝒙 i sin ¡𝒙 + βˆ’ 𝟏 πŸπ’Š 𝒆 λ𝒙 cos ¡𝒙 βˆ’ βˆ’ 𝟏 πŸπ’Š 𝒆 λ𝒙 i sin ¡𝒙 Faculty of Engineering – Differential Equations – Lecture 6 – Solution of Second Order Homogeneous ODE

17 2nd Order Linear Homogenous ODE
Ishik University 2nd Order Linear Homogenous ODE Therefore, the functions u and v are linearly independent solutions of the equation. They form a pair of real-valued fundamental solutions and the linear combination is a desired real-valued general solution: π’š= 𝒄 𝟏 𝒆 λ𝒙 cos ¡𝒙 + 𝒄 𝟐 𝒆 λ𝒙 sin ¡𝒙 Faculty of Engineering – Differential Equations – Lecture 6 – Solution of Second Order Homogeneous ODE

18 2nd Order Linear Homogenous ODE
Ishik University 2nd Order Linear Homogenous ODE Example 3: π’š β€²β€² βˆ’πŸ” π’š β€² +πŸπŸ‘π’š=𝟎 SOLUTION: The auxiliary equation 𝒓 𝟐 βˆ’πŸ”π’“+πŸπŸ‘=𝟎 cant be factored. So use quadratic formula 𝒓= βˆ’(βˆ’πŸ”)Β± βˆ’πŸπŸ” 𝟐 and 𝒓= Β± βˆ’πŸπŸ” πŸ’ =Β±πŸπ’Š 𝒓= πŸ” 𝟐 =πŸ‘ 𝒓=πŸ‘Β±πŸπ’Š Faculty of Engineering – Differential Equations – Lecture 6 – Solution of Second Order Homogeneous ODE

19 2nd Order Linear Homogenous ODE
Ishik University 2nd Order Linear Homogenous ODE Example 3: π’š β€²β€² βˆ’πŸ” π’š β€² +πŸπŸ‘π’š=𝟎 SOLUTION: The auxiliary equation 𝒓 𝟐 βˆ’πŸ”π’“+πŸπŸ‘=𝟎 cant be factored. So use quadratic formula 𝒓= βˆ’(βˆ’πŸ”)Β± βˆ’πŸπŸ” 𝟐 π’š= 𝒆 3𝒙 𝒄 𝟏 cos 2𝒙 + 𝒄 𝟐 sin 2𝒙 𝒓=πŸ‘Β±πŸπ’Š Faculty of Engineering – Differential Equations – Lecture 6 – Solution of Second Order Homogeneous ODE


Download ppt "Differential Equations"

Similar presentations


Ads by Google