A PART Ordinary Differential Equations (ODEs) Part A p1.

Slides:



Advertisements
Similar presentations
Ch 3.2: Solutions of Linear Homogeneous Equations; Wronskian
Advertisements

5.1 Real Vector Spaces.
Ch 3.6: Variation of Parameters
Chapter 2: Second-Order Differential Equations
Section 2.1 Introduction: Second-Order Linear Equations.
Differential Equations MTH 242 Lecture # 11 Dr. Manshoor Ahmed.
Second-Order Differential
Ch 5.2: Series Solutions Near an Ordinary Point, Part I
Ch 3.5: Nonhomogeneous Equations; Method of Undetermined Coefficients
Sheng-Fang Huang. Introduction If r (x) = 0 (that is, r (x) = 0 for all x considered; read “r (x) is identically zero”), then (1) reduces to (2) y"
SECOND-ORDER DIFFERENTIAL EQUATIONS
Nonhomogeneous Linear Differential Equations
Math 3120 Differential Equations with Boundary Value Problems
Chapter 8 With Question/Answer Animations 1. Chapter Summary Applications of Recurrence Relations Solving Linear Recurrence Relations Homogeneous Recurrence.
Copyright © 2014, 2010 Pearson Education, Inc. Chapter 2 Polynomials and Rational Functions Copyright © 2014, 2010 Pearson Education, Inc.
Sheng-Fang Huang. 4.0 Basics of Matrices and Vectors Most of our linear systems will consist of two ODEs in two unknown functions y 1 (t), y 2 (t),
Copyright © Cengage Learning. All rights reserved. 17 Second-Order Differential Equations.
Differential Equations MTH 242 Lecture # 13 Dr. Manshoor Ahmed.
Section 4.4 Undetermined Coefficients— Superposition Approach.
Boyce/DiPrima 9 th ed, Ch 3.2: Fundamental Solutions of Linear Homogeneous Equations Elementary Differential Equations and Boundary Value Problems, 9 th.
Section 5.1 First-Order Systems & Applications
Second-Order Differential
Math 3120 Differential Equations with Boundary Value Problems
Differential Equations MTH 242 Lecture # 09 Dr. Manshoor Ahmed.
Differential Equations
Advanced Engineering Mathematics, 10/e by Edwin Kreyszig Copyright 2011 by John Wiley & Sons. All rights reserved. PART A Ordinary Differential Equations.
An IVP would look like Second Order Linear DE’s. Thm. Existence of a Unique Solution Let a 0, a 1, a 2, and g(x) be continuous on an interval containing.
Chapter 9 Differential Equations 9.1 Modeling with Differential Equations *9.2 Direction Fields and Euler’s Method 9.3 Separable Equations *9.4 Exponential.
7.3 Linear Systems of Equations. Gauss Elimination
1.1 Basic Concepts. Modeling
Systems of Linear Differential Equations
Week 9 4. Method of variation of parameters
3.2 Homogeneous Linear ODEs with Constant Coefficients
First-Order Differential Equations
Linear homogeneous ODEn with constant coefficients
Engineering Analysis I
SECOND-ORDER DIFFERENTIAL EQUATIONS
7.7 Determinants. Cramer’s Rule
Basic Definitions and Terminology
1.5 Linear ODEs. Bernoulli Equation. Population Dynamics
Week 8 Second-order ODEs Second-order linear homogeneous ODEs
Advanced Engineering Mathematics 6th Edition, Concise Edition
Chapter 4: Linear Differential Equations
Linear Differential Equations
Ch 4.1: Higher Order Linear ODEs: General Theory
Class Notes 7: High Order Linear Differential Equation Homogeneous
2.7 Nonhomogeneous ODEs Section 2.7 p1.
FIRST ORDER DIFFERENTIAL EQUATIONS
of Matrices and Vectors
Systems of First Order Linear Equations
Ch 4.4: Variation of Parameters
Engineering Analysis I
Ch 5.2: Series Solutions Near an Ordinary Point, Part I
2.5 Euler—Cauchy Equations
Ch 4.2: Homogeneous Equations with Constant Coefficients
General Solution – Homogeneous and Non-Homogeneous Equations
Boyce/DiPrima 9th ed, Ch 3.6: Variation of Parameters Elementary Differential Equations and Boundary Value Problems, 9th edition, by William E. Boyce.
5.1 Power Series Method Section 5.1 p1.
Ch 3.7: Variation of Parameters
MAE 82 – Engineering Mathematics
Ch 3.2: Fundamental Solutions of Linear Homogeneous Equations
Ch 5.4: Euler Equations; Regular Singular Points
Ch 4.1: Higher Order Linear ODEs: General Theory
7.5 Solutions of Linear Systems:
2.10 Solution by Variation of Parameters Section 2.10 p1.
Variation of Parameters
Chapter 4 Higher Order Differential Equations
Week 8 Second-order ODEs Second-order linear homogeneous ODEs
Ch 7.4: Basic Theory of Systems of First Order Linear Equations
Presentation transcript:

A PART Ordinary Differential Equations (ODEs) Part A p1

3 CHAPTER Higher Order Linear ODEs Chapter 3 p2

3.1 Homogeneous Linear ODEs Section 3.1 p3

A second-order ODE is called linear if it can be written 3.1 Homogeneous Linear ODEs A second-order ODE is called linear if it can be written (1) y” + p(x)y’ + q(x)y = r(x) and nonlinear if it cannot be written in this form. Section 3.1 p4

(1) y(n) + pn−1(x)y(n−1) + … + p1(x)y’ + p0(x)y = r(x). 3.1 Homogeneous Linear ODEs Recall from Section 1.1: An ODE is of nth order if the nth derivative of y(n) = dny/dxn the unknown function y(x) is the highest occurring derivative. Thus the ODE is of the form F(x, y, y’, … , y(n)) = 0 where lower order derivatives and y itself may or may not occur. Such an ODE is called linear if it can be written (1) y(n) + pn−1(x)y(n−1) + … + p1(x)y’ + p0(x)y = r(x). The coefficients p0, … , pn−1, and the function r on the right are any given functions of x, and y is unknown. y(n) has a coefficient 1. We call this the standard form. An nth-order ODE that cannot be written in the form (1) is called nonlinear. Section 3.1 p5

(2) y(n) + pn−1(x)y(n−1) + … + p1(x)y’ + p0(x)y = 0. 3.1 Homogeneous Linear ODEs Recall from Section 1.1: If r(x) is identically zero, r(x) ≡ 0 (zero for all x considered, usually on some open interval I), then (1) becomes (2) y(n) + pn−1(x)y(n−1) + … + p1(x)y’ + p0(x)y = 0. and is called homogeneous. If r(x) is not identically zero, then the ODE is called nonhomogeneous. A solution of an nth-order (linear or nonlinear) ODE on some open interval I is a function y = h(x) that is defined and n times differentiable on I and is such that the ODE becomes an identity if we replace the unknown function y and its derivatives by h and its corresponding derivatives. Section 3.1 p6

Homogeneous Linear ODEs: Superposition Principle. General Solution The basic superposition or linearity principle of Sec. 2.1 extends to nth order homogeneous linear ODEs as follows. Section 3.1 p7

Theorem 1 Fundamental Theorem for the Homogeneous Linear ODE (2) 3.1 Homogeneous Linear ODEs Theorem 1 Fundamental Theorem for the Homogeneous Linear ODE (2) For a homogeneous linear ODE (2), sums and constant multiples of solutions on some open interval I are again solutions on I. (This does not hold for a nonhomogeneous or nonlinear ODE!) Section 3.1 p8

Definition General Solution, Basis, Particular Solution 3.1 Homogeneous Linear ODEs Definition General Solution, Basis, Particular Solution A general solution of (2) on an open interval I is a solution of (2) on I of the form (3) y(x) = c1y1(x) + … + cnyn(x) (c1, … , cn arbitrary) where y1, … , yn is a basis (or fundamental system) of solutions of (2) on I; that is, these solutions are linearly independent on I, as defined below. A particular solution of (2) on I is obtained if we assign specific values to the n constants c1, … , cn in (3). Section 3.1 p9

Definition Linear Independence and Dependence 3.1 Homogeneous Linear ODEs Definition Linear Independence and Dependence Consider n functions y1(x), … , yn(x) defined on some interval I. These functions are called linearly independent on I if the equation (4) k1y1(x) + … + knyn(x) = 0 on I implies that all k1, … , kn are zero. These functions are called linearly dependent on I if this equation also holds on I for some k1, … , kn not all zero. Section 3.1 p10

3.1 Homogeneous Linear ODEs If and only if y1, … , yn are linearly dependent on I, we can express (at least) one of these functions on I as a “linear combination” of the other n − 1 functions, that is, as a sum of those functions, each multiplied by a constant (zero or not). This motivates the term “linearly dependent.” For instance, if (4) holds with k1 ≠ 0, we can divide by k1 and express y1 as the linear combination Note that when n = 2, these concepts reduce to those defined in Sec. 2.1. Section 3.1 p11

Initial Value Problem. Existence and Uniqueness 3.1 Homogeneous Linear ODEs Initial Value Problem. Existence and Uniqueness An initial value problem for the ODE (2) consists of (2) and n initial conditions (5) y(x0) = K0, y’(x0) = K1, …, y(n−1)(x0) = Kn−1 with given x0 in the open interval I considered, and given K0, …, Kn−1. Section 3.1 p12

Theorem 2 Existence and Uniqueness Theorem for Initial Value Problems 3.1 Homogeneous Linear ODEs Theorem 2 Existence and Uniqueness Theorem for Initial Value Problems If the coefficients p0(x), … , pn−1(x) of (2) are continuous on some open interval I and x0 is in I, then the initial value problem (2), (5) has a unique solution on I. Section 3.1 p13

EXAMPLE 4 Initial Value Problem 3.1 Homogeneous Linear ODEs EXAMPLE 4 Initial Value Problem for a Third-Order Euler–Cauchy Equation Solve the following initial value problem on any open interval I on the positive x-axis containing x = 1. x3y”’ − 3x2y” + 6xy’ − 6y = 0, y(1) = 2, y’(1) = 1, y”(1) 4. Solution. (See next slide.) Section 3.1 p14

m(m − 1)(m − 2)xm − 3m(m − 1)xm + 6mxm − 6xm = 0. 3.1 Homogeneous Linear ODEs EXAMPLE 4 (continued) Solution. Step 1. General solution. As in Sec. 2.5 we try y = xm. By differentiation and substitution, m(m − 1)(m − 2)xm − 3m(m − 1)xm + 6mxm − 6xm = 0. Dropping xm and ordering gives m3 − 6m2 + 11m − 6 = 0. If we can guess the root m = 1, we can divide by m − 1 and find the other roots 2 and 3, thus obtaining the solutions x, x2, x3, which are linearly independent on I (see Example 2). [In general, one shall need a root-finding method, such as Newton’s (Sec. 19.2), also available in a CAS (Computer Algebra System).] Hence a general solution is y = c1x + c2 x2 + c3 x3 valid on any interval I, even when it includes x = 0 where the coefficients of the ODE divided by x3 (to have the standard form) are not continuous. Section 3.1 p15

Step 2. Particular solution. 3.1 Homogeneous Linear ODEs EXAMPLE 4 (continued) Solution. (continued) Step 2. Particular solution. The derivatives are y’ = c1 + 2c2x + 3c3x2 and y” = 2c2 + 6c3x. From this, and y and the initial conditions, we get by setting x = 1 (a) y(1) = c1 + c2 + c3 = 2 (b) y’(1) = c1 + 2c2 + 3c3 = 1 (c) y”(1) = 2c2 + 6c3 = −4 This is solved by Cramer’s rule (Sec. 7.6), or by elimination, which is simple, as follows: (b) − (a) gives (d) c2 + 2c3 = −1. Then (c) − 2(d) gives c3 = −1. Then (c) gives c2 = 1. Finally c1 = 2 from (a). Answer: y = 2x + x2 − x3. Section 3.1 p16

Linear Independence of Solutions. Wronskian 3.1 Homogeneous Linear ODEs Linear Independence of Solutions. Wronskian Linear independence of solutions is crucial for obtaining general solutions. Although it can often be seen by inspection, it would be good to have a criterion for it. Now Theorem 2 in Sec. 2.6 extends from order n = 2 to any n. This extended criterion uses the Wronskian W of n solutions y1, … , yn defined as the nth-order determinant (6) Note that W depends on x since y1, … , yn do. The criterion states that these solutions form a basis if and only if W is not zero; more precisely: Section 3.1 p17

Theorem 3 Linear Dependence and Independence of Solutions 3.1 Homogeneous Linear ODEs Theorem 3 Linear Dependence and Independence of Solutions Let the ODE (2) have continuous coefficients p0(x), … , pn−1(x) on an open interval I. Then n solutions y1, … , yn of (2) on I are linearly dependent on I if and only if their Wronskian is zero for some x = x0 on I. Furthermore, if W is zero for x = x0, then W is identically zero on I. Hence if there is an x1 on I at which W is not zero, then y1, … , yn are linearly independent on I, so that they form a basis of solutions of (2) on I. Section 3.1 p18

Theorem 4 A General Solution of (2) Includes All Solutions 3.1 Homogeneous Linear ODEs A General Solution of (2) Includes All Solutions Theorem 4 Existence of a General Solution If the coefficients p0(x), … , pn−1(x) of (2) are continuous on some open interval I, then (2) has a general solution on I. Section 3.1 p19

Theorem 5 General Solution Includes All Solutions 3.1 Homogeneous Linear ODEs Theorem 5 General Solution Includes All Solutions If the ODE (2) has continuous coefficients p0(x), … , pn−1(x) on some open interval I, then every solution y = Y(x) of (2) on I is of the form (9) Y(x) = C1y1(x) + … + Cnyn(x) where y1, … , yn is a basis of solutions of (2) on I and C1, … , Cn are suitable constants. Section 3.1 p20

3.2 Homogeneous Linear ODEs with Constant Coefficients Section 3.2 p21

y(n) + an−1 y(n−1) + … + a1y’ + a0y = 0 3.2 Homogeneous Linear ODEs with Constant Coefficients We proceed along the lines of Sec. 2.2, and generalize the results from n = 2 to arbitrary n. We want to solve an nth-order homogeneous linear ODE with constant coefficients, written as y(n) + an−1 y(n−1) + … + a1y’ + a0y = 0 where y(n) = dny/dxn, etc. As in Sec. 2.2, we substitute y = eλx to obtain the characteristic equation (2) λ(n) + an−1λ(n−1) + … + a1λ + a0y = 0 of (1). Section 3.2 p22

3.2 Homogeneous Linear ODEs with Constant Coefficients If λ is a root of (2), then y = eλx is a solution of (1). To find these roots, you may need a numeric method, such as Newton’s in Sec. 19.2, also available on the usual CASs. For general n there are more cases than for n = 2. We can have distinct real roots, simple complex roots, multiple roots, and multiple complex roots, respectively. Section 3.2 p23

3.2 Homogeneous Linear ODEs with Constant Coefficients Distinct Real Roots If all the n roots λ1, … , λn of (2) are real and different, then the n solutions (3) constitute a basis for all x. The corresponding general solution of (1) is (4) Indeed, the solutions in (3) are linearly independent. Section 3.2 p24

Theorem 1 Basis Solutions 3.2 Homogeneous Linear ODEs with Constant Coefficients Theorem 1 Basis Solutions of (1) (with any real or complex λj’s) form a basis of solutions of (1) on any open interval if and only if all n roots of (2) are different. Section 3.2 p25

Theorem 2 Linear Independence 3.2 Homogeneous Linear ODEs with Constant Coefficients Theorem 2 Linear Independence Any number of solutions of (1) of the form eλx are linearly independent on an open interval I if and only if the corresponding λ are all different. Section 3.2 p26

3.2 Homogeneous Linear ODEs with Constant Coefficients Simple Complex Roots If complex roots occur, they must occur in conjugate pairs since the coefficients of (1) are real. Thus, if λ = γ + iω is a simple root of (2), so is the conjugate and two corresponding linearly independent solutions are (as in Sec. 2.2, except for notation) y1 = eγxcos ωx, y2 = eγxsin ωx. Section 3.2 p27

EXAMPLE 2 Simple Complex Roots. Initial Value Problem 3.2 Homogeneous Linear ODEs with Constant Coefficients EXAMPLE 2 Simple Complex Roots. Initial Value Problem Solve the initial value problem y”’ − y” + 100y’ − 100y = 0, y(0) = 4, y’(0) = 11, y”(0) = −299. Solution. (See next slide.) Section 3.2 p28

3.2 Homogeneous Linear ODEs with Constant Coefficients EXAMPLE 2 (continued) Solution. The characteristic equation is λ3 − λ2 + 100λ − 100 = 0. It has the root 1, as can perhaps be seen by inspection. Then division by λ − 1 shows that the other roots are ±10i. Hence a general solution and its derivatives (obtained by differentiation) are y = c1ex + A cos 10x + B sin 10x, y’ = c1ex − 10A sin 10x + 10B cos 10x, y” = c1ex − 100A cos 10x − 100B sin 10x. Section 3.2 p29

From this and the initial conditions we obtain, by setting x = 0, 3.2 Homogeneous Linear ODEs with Constant Coefficients EXAMPLE 2 (continued) Solution. (continued 1) From this and the initial conditions we obtain, by setting x = 0, (a) c1 + A = 4, (b) c1 + 10B = 11, (c) c1 − 100A = −299. We solve this system for the unknowns A, B, c1. Equation (a) minus Equation (c) gives 101A = 303, A = 3. Then c1 = 1 from (a) and B = 1 from (b). The solution is (Fig. 73) y = ex + 3 cos 10x + sin 10x. Section 3.2 p30

3.2 Homogeneous Linear ODEs with Constant Coefficients EXAMPLE 2 (continued) Solution. (continued 2) This gives the solution curve, which oscillates about ex (dashed in Fig. 73). Section 3.2 p31

3.2 Homogeneous Linear ODEs with Constant Coefficients Multiple Real Roots If a real double root occurs, say, λ1 = λ2, then y1 = y2 in (3), and we take y1 and xy1 as corresponding linearly independent solutions. This is as in Sec. 2.2. More generally, if λ is a real root of order m, then m corresponding linearly independent solutions are (7) eλx, xeλx, x2eλx, … , xm−1eλx. We derive these solutions after the next example and indicate how to prove their linear independence. Section 3.2 p32

Multiple Complex Roots 3.2 Homogeneous Linear ODEs with Constant Coefficients Multiple Complex Roots In this case, real solutions are obtained as for complex simple roots above. Consequently, if λ = γ + iω is a complex double root, so is the conjugate Corresponding linearly independent solutions are (11) eγxcos ωx, eγxsin ωx, xeγxcos ωx, xeγxsin ωx The first two of these result from eλx and as before, and the second two from xeλx and in the same fashion. Obviously, the corresponding general solution is (12) y = eγx [(A1 + A2x) cos ωx + (B1 + B2x) sin ωx]. For complex triple roots (which hardly ever occur in applications), one would obtain two more solutions x2eγx cos ωx, x2eγx sin ωx, and so on. Section 3.2 p33

3.3 Nonhomogeneous Linear ODEs Section 3.3 p34

(1) y(n) + pn−1(x)y(n−1) + … + p1(x)y’ + p0(x)y = r(x) 3.3 Nonhomogeneous Linear ODEs We now turn from homogeneous to nonhomogeneous linear ODEs of nth order. We write them in standard form (1) y(n) + pn−1(x)y(n−1) + … + p1(x)y’ + p0(x)y = r(x) with y(n) = dny/dxn as the first term, and r(x) ≠ 0. As for second-order ODEs, a general solution of (1) on an open interval I of the x-axis is of the form (2) y(x) = yh(x) + yp(x). Here yh(x) = c1y1(x) + … + cnyn(x) is a general solution of the corresponding homogeneous ODE (3) y(n) + pn−1(x)y(n−1) + … + p1(x)y’ + p0(x)y = 0 on I. Also, yp is any solution of (1) on I containing no arbitrary constants. If (1) has continuous coefficients and a continuous r(x) on I, then a general solution of (1) exists and includes all solutions. Thus (1) has no singular solutions. Section 3.3 p35

(4) y(x0) = K0, y’(x0) = K1, … , y(n−1)(x0) = Kn−1 3.3 Nonhomogeneous Linear ODEs An initial value problem for (1) consists of (1) and n initial conditions (4) y(x0) = K0, y’(x0) = K1, … , y(n−1)(x0) = Kn−1 with x0 on I. Under those continuity assumptions, it has a unique solution. The ideas of proof are the same as those for n = 2 in Sec. 2.7. Section 3.3 p36

Method of Undetermined Coefficients 3.3 Nonhomogeneous Linear ODEs Method of Undetermined Coefficients Equation (2) shows that for solving (1) we have to determine a particular solution of (1). For a constant-coefficient equation (5) y(n) + an−1y(n−1) + … + a1y’ + a0y = r(x) (a0, … , an−1 constant) and special r(x) as in Sec. 2.7, such a yp(x) can be determined by the method of undetermined coefficients, as in Sec. 2.7, using the following rules. (A) Basic Rule as in Sec. 2.7. (B) Modification Rule. If a term in your choice for yp(x) is a solution of the homogeneous equation (3), then multiply this term by xk, where k is the smallest positive integer such that this term times xk is not a solution of (3). (C) Sum Rule as in Sec. 2.7. Section 3.3 p37

Method of Variation of Parameters 3.3 Nonhomogeneous Linear ODEs Method of Variation of Parameters The method of variation of parameters (see Sec. 2.10) also extends to arbitrary order n. It gives a particular solution yp for the nonhomogeneous equation (1) (in standard form with y(n) as the first term!) by the formula (7) on an open interval I on which the coefficients of (1) and r(x) are continuous. Section 3.3 p38

Method of Variation of Parameters 3.3 Nonhomogeneous Linear ODEs Method of Variation of Parameters In (7) the functions y1, … , yn form a basis of the homogeneous ODE (3), with Wronskian W, and Wj (j = 1, … , n) is obtained from W by replacing the jth column of W by the column [0 0 … 0 1]T. Thus, when n = 2, this becomes identical with (2) in Sec. 2.10, Section 3.3 p39

SUMMARY OF CHAPTER 3 Higher Order Linear ODEs Section 3.Summary p40

Compare with the similar Summary of Chap. 2 (the case n = 2 ). SUMMARY OF CHAPTER 3 Higher Order Linear ODEs Compare with the similar Summary of Chap. 2 (the case n = 2 ). Chapter 3 extends Chap. 2 from order n = 2 to arbitrary order n. An nth-order linear ODE is an ODE that can be written (1) y(n) + pn−1(x)y(n−1) + … + p1(x)y’ + p0(x)y = r(x) with y(n) = dny/dxn as the first term; we again call this the standard form. Equation (1) is called homogeneous if r(x) ≡ 0 on a given open interval I considered, nonhomogeneous if r(x) ≠ 0 on I. Section 3.Summary p41

For the homogeneous ODE SUMMARY OF CHAPTER 3 Higher Order Linear ODEs (continued 1) For the homogeneous ODE (2) y(n) + pn−1(x)y(n−1) + … + p1(x)y’ + p0(x)y = 0 the superposition principle (Sec. 3.1) holds, just as in the case n = 2. A basis or fundamental system of solutions of (2) on I consists of n linearly independent solutions y1, … , yn of (2) on I. A general solution of (2) on I is a linear combination of these, (3) y = c1y1 + … + cnyn (c1, … , cn arbitrary constants). Section 3.Summary p42

A general solution of the nonhomogeneous ODE (1) on I is of the form SUMMARY OF CHAPTER 3 Higher Order Linear ODEs (continued 2) A general solution of the nonhomogeneous ODE (1) on I is of the form (4) y = yh + yp (Sec. 3.3). Here, yp is a particular solution of (1) and is obtained by two methods (undetermined coefficients or variation of parameters) explained in Sec. 3.3. Section 3.Summary p43

(5) y(x0) = K0, y’(x0) = K1, … , y(n−1)(x0) = Kn−1 SUMMARY OF CHAPTER 3 Higher Order Linear ODEs (continued 3) An initial value problem for (1) or (2) consists of one of these ODEs and n initial conditions (Secs. 3.1, 3.3) (5) y(x0) = K0, y’(x0) = K1, … , y(n−1)(x0) = Kn−1 with given x0 on I and given K0, … , Kn−1. If p0, … , pn−1 , r are continuous on I, then general solutions of (1) and (2) on I exist, and initial value problems (1), (5) or (2), (5) have a unique solution. Section 3.Summary p44