Advanced Eng. Mathematics

Similar documents
2. Second-order Linear Ordinary Differential Equations

NATIONAL OPEN UNIVERSITY OF NIGERIA SCHOOL OF SCIENCE AND TECHNOLOGY COURSE CODE: MTH421 COURSE TITLE: ORDINARY DIFFERENTIAL EQUATIONS

Ordinary Differential Equations (ODEs)

Consider an ideal pendulum as shown below. l θ is the angular acceleration θ is the angular velocity

6 Second Order Linear Differential Equations

APPLIED MATHEMATICS. Part 1: Ordinary Differential Equations. Wu-ting Tsai

Second-Order Linear ODEs

Monday, 6 th October 2008

Chapter 2 Second-Order Linear ODEs

MATHEMATICS FOR ENGINEERS & SCIENTISTS 23

MAT187H1F Lec0101 Burbulla

Chapter 3 Higher Order Linear ODEs

dx n a 1(x) dy

Lecture Notes on. Differential Equations. Emre Sermutlu

17.2 Nonhomogeneous Linear Equations. 27 September 2007

A( x) B( x) C( x) y( x) 0, A( x) 0

Second Order Linear Equations

DIFFERENTIAL EQUATIONS

Chapter 3. Reading assignment: In this chapter we will cover Sections dx 1 + a 0(x)y(x) = g(x). (1)

JUST THE MATHS UNIT NUMBER ORDINARY DIFFERENTIAL EQUATIONS 1 (First order equations (A)) A.J.Hobson

DIFFERENTIAL EQUATIONS

ENGI 9420 Lecture Notes 1 - ODEs Page 1.01

First and Second Order ODEs

Math 2142 Homework 5 Part 1 Solutions

Second-Order Homogeneous Linear Equations with Constant Coefficients

Basic Theory of Linear Differential Equations

Ma 221. The material below was covered during the lecture given last Wed. (1/29/14). Homogeneous Linear Equations with Constant Coefficients

ENGI Second Order Linear ODEs Page Second Order Linear Ordinary Differential Equations

DIFFERENTIAL EQUATIONS

Higher Order Linear ODEs

MATH 312 Section 4.3: Homogeneous Linear Equations with Constant Coefficients

Lecture 6: Linear ODE s with Constant Coefficients I

Table of contents. d 2 y dx 2, As the equation is linear, these quantities can only be involved in the following manner:

MB4018 Differential equations

Essential Ordinary Differential Equations

McGill University Math 325A: Differential Equations LECTURE 12: SOLUTIONS FOR EQUATIONS WITH CONSTANTS COEFFICIENTS (II)

Fourier transforms. c n e inπx. f (x) = Write same thing in an equivalent form, using n = 1, f (x) = l π

DIFFERENTIAL EQUATIONS

Chapter 3 Second Order Linear Equations

Step 1. Step 2. Step 4. The corrected trial solution y with evaluated coefficients d 1, d 2,..., d k becomes the particular solution y p.

Second-Order Linear ODEs

SECOND-ORDER LINEAR DIFFERENTIAL EQUATIONS

REFERENCE: CROFT & DAVISON CHAPTER 20 BLOCKS 1-3

0.1 Problems to solve

CHAPTER 5. Higher Order Linear ODE'S

Higher-order ordinary differential equations

Lecture Notes for Math 251: ODE and PDE. Lecture 30: 10.1 Two-Point Boundary Value Problems

An Overly Simplified and Brief Review of Differential Equation Solution Methods. 1. Some Common Exact Solution Methods for Differential Equations

Math 3313: Differential Equations Second-order ordinary differential equations

Lesson 3: Linear differential equations of the first order Solve each of the following differential equations by two methods.

2.3 Linear Equations 69

3 Algebraic Methods. we can differentiate both sides implicitly to obtain a differential equation involving x and y:

Section 3.4. Second Order Nonhomogeneous. The corresponding homogeneous equation. is called the reduced equation of (N).

Chapter 4: Higher-Order Differential Equations Part 1

The Theory of Second Order Linear Differential Equations 1 Michael C. Sullivan Math Department Southern Illinois University

Lecture 1: Review of methods to solve Ordinary Differential Equations

4 Differential Equations

ENGI 9420 Lecture Notes 4 - Stability Analysis Page Stability Analysis for Non-linear Ordinary Differential Equations

2.12: Derivatives of Exp/Log (cont d) and 2.15: Antiderivatives and Initial Value Problems

A: Brief Review of Ordinary Differential Equations

Math 211. Substitute Lecture. November 20, 2000

A Brief Review of Elementary Ordinary Differential Equations

CHAPTER 2. Techniques for Solving. Second Order Linear. Homogeneous ODE s

B Ordinary Differential Equations Review

MA22S3 Summary Sheet: Ordinary Differential Equations

The Corrected Trial Solution in the Method of Undetermined Coefficients

MA Ordinary Differential Equations

Introductory Differential Equations

Homework Solutions: , plus Substitutions

3.4.1 Distinct Real Roots

Math 4B Notes. Written by Victoria Kala SH 6432u Office Hours: T 12:45 1:45pm Last updated 7/24/2016

Homogeneous Linear ODEs of Second Order Notes for Math 331

MATH 2250 Final Exam Solutions

Higher Order Linear ODEs

Section 3.4. Second Order Nonhomogeneous. The corresponding homogeneous equation. is called the reduced equation of (N).

UNDETERMINED COEFFICIENTS SUPERPOSITION APPROACH *

Math 322. Spring 2015 Review Problems for Midterm 2

Polytechnic Institute of NYU MA 2132 Final Practice Answers Fall 2012

a x a y = a x+y a x a = y ax y (a x ) r = a rx and log a (xy) = log a (x) + log a (y) log a ( x y ) = log a(x) log a (y) log a (x r ) = r log a (x).

Advanced Mathematics Support Programme Edexcel Year 2 Core Pure Suggested Scheme of Work ( )

Section 3.4. Second Order Nonhomogeneous. The corresponding homogeneous equation

If y = f (u) is a differentiable function of u and u = g(x) is a differentiable function of x then dy dx = dy. du du. If y = f (u) then y = f (u) u

MATH 1231 MATHEMATICS 1B Calculus Section 2: - ODEs.

22.2. Applications of Eigenvalues and Eigenvectors. Introduction. Prerequisites. Learning Outcomes

Linear algebra and differential equations (Math 54): Lecture 20

Power series solutions for 2nd order linear ODE s (not necessarily with constant coefficients) a n z n. n=0

Review for Ma 221 Final Exam

JUST THE MATHS SLIDES NUMBER ORDINARY DIFFERENTIAL EQUATIONS 4 (Second order equations (A)) A.J.Hobson

Math 240 Calculus III

then the substitution z = ax + by + c reduces this equation to the separable one.

Ch 10.1: Two Point Boundary Value Problems

Nonhomogeneous Linear Differential Equations with Constant Coefficients - (3.4) Method of Undetermined Coefficients

MA Ordinary Differential Equations

Title: Solving Ordinary Differential Equations (ODE s)

Systems of Linear ODEs

1+t 2 (l) y = 2xy 3 (m) x = 2tx + 1 (n) x = 2tx + t (o) y = 1 + y (p) y = ty (q) y =

كلية العلوم قسم الرياضيات المعادالت التفاضلية العادية

ENGI 9420 Lecture Notes 8 - PDEs Page 8.01

IV Higher Order Linear ODEs

Ordinary differential equations Notes for FYS3140

Transcription:

Koya University Faculty of Engineering Petroleum Engineering Department Advanced Eng. Mathematics Lecture 6 Prepared by: Haval Hawez E-mail: haval.hawez@koyauniversity.org 1

Second Order Linear Ordinary Differential Equations 14.12.2015 2

Second-Order Linear ODEs: ODEs might be separated into two large classes: Linear ODEs and non-linear ODEs. d 2 y dy + x + 2y = sinx dx2 dx (Linear Second Order DE) d 2 y dy dx2 y + x + 2y = sinx dx (nonlinear Second Order DE) Second Order Linear ODES 3 3

Second-Order Linear ODEs: None-linear ODEs of second and higher order are generally difficult to solve. Linear Second Order ODEs are much simpler because various properties of their solutions can be characterized in a general way. Second Order Linear ODES 4 4

Second-Order Linear ODEs: Linear ODEs of the second order are the most important ones because of their applications in mechanical and electrical engineering. And their theory is typical of that of all linear ODEs, but the formulas are simpler than for higher order equations. Second Order Linear ODES 5 5

Homogenous Linear ODEs of Second Order A second-order ODE is called linear if can be written y + p x y + q x y = r(x) (1) If r x = 0 (that is, r x = 0 for all x considered; read r(x) is identically zero ), then (1) reduces to y + p x y + q x y = 0 (2) And is called homogeneous. If r(x) 0, then (1) is called nonhomogeneous. Second Order Linear ODES 6 6

Homogenous Linear ODEs od Second Order For instance, a nonhomogeneous linear ODE is y + 25y = e x cos x And a homogeneous linear ODE is xy + y + xy = 0, in standard form y + 1 x y + y = 0 Second Order Linear ODES 7 7

Example 1 Homogenous Linear ODEs: Solve y + y = 0 when y = cosx For all x. We verify this by differentiation and substitution. We obtain cos x = cos x; hence y + y = cos x + cos x y + y = cos x + cos x = 0. Second Order Linear ODES 8 8

Example 1 Homogenous Linear ODEs: Solve y +y = 0 Similarly for y = sin x (verify!). We can go an important step further. We multiply cos x by any constant, for instance, 4.7. and sin x by, say, -2. And take the sum of the results, claiming that it is a solution. Indeed, differentiation and substitution gives Second Order Linear ODES 9 9

Example 1 Homogenous Linear ODEs: Solve y + y = 0 Similarly for y = sin x (verify!). y + y = 4.7 cos x 2 sin x + 4.7 cos x 2 sin x y + y = 4.7 cos x + 2 sin x + 4.7 cos x 2 sin x = 0. In this example we have obtained from y 1 = cos x and y 2 (= sin x) Second Order Linear ODES 10 10

Example 1 Homogenous Linear ODEs: Solve y + y = 0 Similarly for y = sin x (verify!). y = c 1 y 1 + c 2 y 2 a function of the form (3) (c 1, c 2 arbitrary constants). This is called a linear combination of y 1 and y 2. In terms of this concept we can now formulate the result suggested by our example, often called the superposition principle or linearity principle. Second Order Linear ODES 11 11

Theorem 1 Fundamental Theorem for the Homogeneous Linear ODE (2) Proof Let y 1 and y 2 be solutions of (2) on I. then by substituting y = c 1 y 1 + c 2 y 2 and its derivatives into (2), and using the familiar rule c 1 y 1 + c 2 y 2 = c 1 y 1 + c 2 y 2, etc., we get y + py + qy = c 1 y 1 + c 2 y 2 + p c 1 y 1 + c 2 y 2 + q(c 1 y 1 + c 2 y 2 ) = c 1 y 1 + c 2 y 2 + p c 1 y 1 + c 2 y 2 + q(c 1 y 1 + c 2 y 2 ) = c 1 y 1 + py 1 + qy 1 + c 2 y 2 + py 2 + qy 2 = 0, Since in the last time, ( ) = 0 because y 1 and y 2 are solutions, by assumption. This shows that y is a solution of (2) on I. Second Order Linear ODES 12 12

Homogenous Linear ODEs with CC: We shall now consider second-order homogeneous linear ODEs whose coefficients a and b are constant, y + ay + by = 0. (1) These equations have important applications, especially in connection with mechanical and vertical vibrations. y + ky = 0 Homogenous Linear ODEs with CC 13 13

Homogenous Linear ODEs with CC: Is an exponential function y = ce kx. This gives us the idea to try as a solution of (1) the function y = e λx (2) Substituting (2) and its derivatives y = λe λx and y = λ 2 e ℵx Into our equation (1), we obtain λ 2 + aλ + b e λx = 0. Hence if λ is a solution of the important characteristic equation (or auxiliary equation) λ 2 + aλ + b = 0 (3) Homogenous Linear ODEs with CC 14 14

Homogenous Linear ODEs with CC: Then the exponential function (2) is a solution of the ODE (1). Now from elementary algebra we recall that the roots of this quadratic equation (3) are λ1 = 1 2 a + a2 4b, λ2 = 1 2 a a2 4b (4) (3) and (4) will be basic because our derivation shows that the functions y 1 = e λ1x and y 2 = e λ2x (5) Homogenous Linear ODEs with CC 15 15

Homogenous Linear ODEs with CC: Are solutions of (1). Verify this by substituting (5) into (1). From algebra we further know that the quadratic equation (3) may have three kinds of roots, depending on the sign of the discriminanta 2 4b, namely, (Case I) Two real roots if a 2 4b > 0, (Case II) A real double root if a 2 4b = 0, (Case III) Complex conjugate roots if a 2 4b < 0. Homogenous Linear ODEs with CC 16 16

Case I. Two Distinct Real Roots λ1 and λ2 In this case, a basis of solutions of (1) on any interval is y 1 = e λ1x and y 2 = e λ2x Because y 1 and y 2 are defined (and real) for all x and their quotient is not constant. The corresponding general solution is y = c 1 e λ1x + c 2 e λ2x. (6) Homogenous Linear ODEs with CC 17 17

Example 1: General Solution Solve y y = 0. The characteristic equation is λ 2 1 = 0. its roots are λ 1 = 1 and λ 2 = 1. Hence a basis of solutions is e x and e x and gives the same general solution as before. y = c 1 e λ1x + c 2 e λ2x. Homogenous Linear ODEs with CC 18 18

Example 2: Initial Value Problem Solve the initial value problem y + y 2y = 0, y 0 = 4, y 0 = 5. Solution. Step1. General solution. The characteristic equation is λ 2 + λ 2 = 0. Its roots are λ 1 = 1 1 + 9 = 1 and λ 2 2 = 1 2 So that we obtain the general solution y = c 1 e x + c 2 e 2x. 1 9 = 2 Homogenous Linear ODEs with CC 19 19

Example 2: Initial Value Problem Solve the initial value problem y + y 2y = 0, y 0 = 4, y 0 = 5. Step 2. Particular solution. Since y x = c 1 e x 2 c 2 e 2x, we obtain from the general solution and the initial conditions y 0 = c 1 + c 2 = 4. y 0 = c 1 2c 2 = 5. Hence c 1 = 1 and c 2 = 3. This gives the answer y = e x + 3e 2x. Homogenous Linear ODEs with CC 20 20

Case II. Real Double Root λ = a 2 If the discriminant a 2 4b is zero, we see directly from equation below (4) λ1 = 1 2 a + a2 4b λ2 = 1 2 a a2 4b that we get only one root, λ = λ 1 = λ 2 = a 2, hence only one solution, y 1 = e a 2 x. Case II & Case III 21

Case II. Real Double Root λ = a 2 To obtain a second independent solution y 2 (needed for a basis), we use the method of reduction of order discussed in the last section, setting y 2 = uy 1. Substituting this and its derivatives y 2 = u y 1 + uy 1 and y 2 into (1), we first have u y 1 + 2u y 1 + uy 1 + a u y 1 + uy 1 + buy 1 = 0. Case II & Case III 22

Case II. Real Double Root λ = a 2 Collecting terms in u, u, and u, as in the last section, we obtain u y 1 + u 2y 1 + ay 1 + u y 1 + ay 1 + by 1 = 0. The expression in the last parentheses is zero, since y 1 is a solution of (1). The expression in the first parentheses is zero, too, since 2y 1 = ae ax 2 = ay 1. y = (c 1 + c 2 x)e λx Case II & Case III 23

Example 3: General Solution The characteristic equation of the ODE y + 6y + 9y = 0 Solution: λ 2 + 6λ + 9 = 0. a = 6, b = 9 a 2 4b = 6 2 4 9 = 36 36 = 0 It is Case II λ = λ 1 = λ 2 = a 2 = 6 2 = 3 Case II & Case III 24

Example 3: General Solution The characteristic equation of the ODE y + 6y + 9y = 0 Solution: It has the double root λ = 3. Hence a basis is e 3x and xe 3x. The corresponding general solution is y = (c 1 + c 2 x)e 3x. Case II & Case III 25

Example 4: Initial Value Problem Case II Solve the initial value problem y + y + 0.25y = 0, y 0 = 3, y 0 = 3.5. Solution. The characteristic equation is λ 2 + λ + 0.25 a = 1, b = 0. 25 a 2 4b = 1 2 4 0.25 = 1 1 = 0 It is Case II λ = λ 1 = λ 2 = a 2 = 1 2 = 0. 5 Case II & Case III 26

Example 4: Initial Value Problem Case II Solve the initial value problem y + y + 0.25y = 0, y 0 = 3, y 0 = 3.5. Solution: This gives the general solution y = (c 1 + c 2 x)e λx y = (c 1 + c 2 x)e 0.5x Case II & Case III 27

Example 4: Initial Value Problem Case II Solve the initial value problem y + y + 0.25y = 0, y 0 = 3, y 0 = 3.5. Solution: We need its derivative y = c 2 e 0.5x 0. 5 c 1 + c 2 x e 0.5x. From this and the initial conditions we obtain y 0 = c 1 = 3, y 0 = c 2 0.5c 1 = 3.5 hence c 2 = 2. The particular solution of the initial value problem is y = 3 2x e 0.5x Case II & Case III 28

Case III. Complex Roots 1 a + iω and 1 a iω 2 2 This case occurs if the discriminant a 2 4b characteristic equation (3) is negative. of the In this case, the roots of (3) and thus the solutions of the ODE (1) come at first out complex. However, we show that from them we can obtain a basis of real solutions y 1 = e ax/2 cos ωx, (8) y 2 = e ax/2 sin ωx, ω > 0 Case II & Case III 29

Case III. Complex Roots 1 a + iω and 1 a iω 2 2 Where ω 2 = b 1 4 a2 It can be verified by substitution that these are solutions in the present case. We shall derive them systematically after the two examples by using the complex exponential function. They form a basis on any interval since their quotient cot ωx is not constant. Case II & Case III 30

Case III. Complex Roots 1 a + iω and 1 a iω 2 2 Hence a real general solution in Case III is y = e ax/2 (A cos ωx + B sin ωx) (A, B arbitrary constant) (9) Case II & Case III 31

Example 5: Complex Roots Solve the initial value problem y + 0.4y + 9.04y = 0, y 0 = 0, y 0 = 3. Solution. Step 1. General solution. The characteristic equation is λ 2 + 0. 4λ + 9. 04 = 0. a = 0. 4, b = 9. 04 a 2 4b = 0.4 2 4 9.04 = 36 Case II & Case III 32

Example 5: Complex Roots Solve the initial value problem y + 0.4y + 9.04y = 0, y 0 = 0, y 0 = 3. Solution. Step 1. General solution. ω 2 = b 1 4 a2 ω 2 = 9.04 1 4 0.42 = 9.04 0.04 = 9 Hence ω = 3, and a general solution is y = e 0.2x (A cos 3x + B sin 3x) Case II & Case III 33

Example 5: Complex Roots Solve the initial value problem y + 0.4y + 9.04y = 0, y 0 = 0, y 0 = 3. Step 2. Particular solution. The first initial condition gives y 0 = A = 0. The remaining expression is y = Be 0.2x sin 3x. Case II & Case III 34

Example 5: Complex Roots Solve the initial value problem y + 0.4y + 9.04y = 0, y 0 = 0, y 0 = 3. Step 2. Particular solution. We need the derivative (chain rule!) y = B 0.2 e 0.2x sin 3x + 3e 0.2x cos 3x. From this and the second initial condition we obtain y 0 = 3B = 3. Hence B=1. Our solution is y = e 0.2x sin 3x. Case II & Case III 35