Second-Order Linear ODEs

Similar documents
Second Order Linear Equations

Linear Homogeneous ODEs of the Second Order with Constant Coefficients. Reduction of Order

MATH 308 Differential Equations

Chapter 4: Higher Order Linear Equations

4. Higher Order Linear DEs

6. Linear Differential Equations of the Second Order

Work sheet / Things to know. Chapter 3

Linear Independence and the Wronskian

Higher Order Linear Equations Lecture 7

Homogeneous Equations with Constant Coefficients

Exam Basics. midterm. 1 There will be 9 questions. 2 The first 3 are on pre-midterm material. 3 The next 1 is a mix of old and new material.

Section 4.7: Variable-Coefficient Equations

Exam II Review: Selected Solutions and Answers

Worksheet # 2: Higher Order Linear ODEs (SOLUTIONS)

Chapter 3: Second Order Equations

Second Order Differential Equations Lecture 6

LINEAR EQUATIONS OF HIGHER ORDER. EXAMPLES. General framework

Non-homogeneous equations (Sect. 3.6).

Nonhomogeneous Equations and Variation of Parameters

MATH 308 Differential Equations

Our goal is to solve a general constant coecient linear second order. this way but that will not always happen). Once we have y 1, it will always

Contents. 6 Systems of First-Order Linear Dierential Equations. 6.1 General Theory of (First-Order) Linear Systems

Nonconstant Coefficients

Differential Equations Practice: 2nd Order Linear: Nonhomogeneous Equations: Undetermined Coefficients Page 1

Second Order and Higher Order Equations Introduction

1. Why don t we have to worry about absolute values in the general form for first order differential equations with constant coefficients?

Calculus IV - HW 3. Due 7/ Give the general solution to the following differential equations: y = c 1 e 5t + c 2 e 5t. y = c 1 e 2t + c 2 e 4t.

Work sheet / Things to know. Chapter 3

A: Brief Review of Ordinary Differential Equations

µ = e R p(t)dt where C is an arbitrary constant. In the presence of an initial value condition

Math 20D: Form B Final Exam Dec.11 (3:00pm-5:50pm), Show all of your work. No credit will be given for unsupported answers.

Math53: Ordinary Differential Equations Autumn 2004

Differential Equations Practice: 2nd Order Linear: Nonhomogeneous Equations: Variation of Parameters Page 1

Second order linear equations

Second Order Linear Equations

Homework 9 - Solutions. Math 2177, Lecturer: Alena Erchenko

HIGHER-ORDER LINEAR ORDINARY DIFFERENTIAL EQUATIONS. David Levermore Department of Mathematics University of Maryland.

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

Math 215/255: Elementary Differential Equations I Harish N Dixit, Department of Mathematics, UBC

Lecture Notes for Math 251: ODE and PDE. Lecture 13: 3.4 Repeated Roots and Reduction Of Order

A BRIEF INTRODUCTION INTO SOLVING DIFFERENTIAL EQUATIONS

A First Course in Elementary Differential Equations: Problems and Solutions. Marcel B. Finan Arkansas Tech University c All Rights Reserved

MA 266 Review Topics - Exam # 2 (updated)

Series Solutions Near an Ordinary Point

Math K (24564) - Lectures 02

Chapter 2: First Order DE 2.4 Linear vs. Nonlinear DEs

Math 333 Exam 1. Name: On my honor, I have neither given nor received any unauthorized aid on this examination. Signature: Math 333: Diff Eq 1 Exam 1

Understand the existence and uniqueness theorems and what they tell you about solutions to initial value problems.

Section 3.1 Second Order Linear Homogeneous DEs with Constant Coefficients

144 Chapter 3. Second Order Linear Equations

MAT 22B - Lecture Notes

Section 9.8 Higher Order Linear Equations

MIDTERM REVIEW AND SAMPLE EXAM. Contents

EXAM 2 MARCH 17, 2004

Solutions to Homework 3

Method of Frobenius. General Considerations. L. Nielsen, Ph.D. Dierential Equations, Fall Department of Mathematics, Creighton University

Partial proof: y = ϕ 1 (t) is a solution to y + p(t)y = 0 implies. Thus y = cϕ 1 (t) is a solution to y + p(t)y = 0 since

3.3. SYSTEMS OF ODES 1. y 0 " 2y" y 0 + 2y = x1. x2 x3. x = y(t) = c 1 e t + c 2 e t + c 3 e 2t. _x = A x + f; x(0) = x 0.

ORDINARY DIFFERENTIAL EQUATIONS

= 2e t e 2t + ( e 2t )e 3t = 2e t e t = e t. Math 20D Final Review

Lecture 17: Nonhomogeneous equations. 1 Undetermined coefficients method to find a particular

1 Continuation of solutions

dt 2 roots r = 1 and r =,1, thus the solution is a linear combination of e t and e,t. conditions. We havey(0) = c 1 + c 2 =5=4 and dy (0) = c 1 + c

Lecture 10 - Second order linear differential equations

APPM 2360 Section Exam 3 Wednesday November 19, 7:00pm 8:30pm, 2014

First and Second Order Differential Equations Lecture 4

Lecture 1: Review of methods to solve Ordinary Differential Equations

LECTURE 14: REGULAR SINGULAR POINTS, EULER EQUATIONS

Math 23 Practice Quiz 2018 Spring

Linear Second Order ODEs

dx n a 1(x) dy

24. x 2 y xy y sec(ln x); 1 e x y 1 cos(ln x), y 2 sin(ln x) 25. y y tan x 26. y 4y sec 2x 28.

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

Math 256: Applied Differential Equations: Final Review

Find the Fourier series of the odd-periodic extension of the function f (x) = 1 for x ( 1, 0). Solution: The Fourier series is.

MAT292 - Calculus III - Fall Solution for Term Test 2 - November 6, 2014 DO NOT WRITE ON THE QR CODE AT THE TOP OF THE PAGES.

Lecture 9. Scott Pauls 1 4/16/07. Dartmouth College. Math 23, Spring Scott Pauls. Last class. Today s material. Group work.

Ex. 1. Find the general solution for each of the following differential equations:

Second Order Linear ODEs, Part II

Lecture 31. Basic Theory of First Order Linear Systems

Ordinary Differential Equations

HW2 Solutions. MATH 20D Fall 2013 Prof: Sun Hui TA: Zezhou Zhang (David) October 14, Checklist: Section 2.6: 1, 3, 6, 8, 10, 15, [20, 22]

MIDTERM 1 PRACTICE PROBLEM SOLUTIONS

2nd-Order Linear Equations

Lecture Notes in Mathematics. Arkansas Tech University Department of Mathematics

Lecture 16. Theory of Second Order Linear Homogeneous ODEs

Linear Variable coefficient equations (Sect. 2.1) Review: Linear constant coefficient equations

Lecture Notes for Math 251: ODE and PDE. Lecture 12: 3.3 Complex Roots of the Characteristic Equation

APPM 2360: Midterm 3 July 12, 2013.

Solutions to Math 53 Math 53 Practice Final

20D - Homework Assignment 5

Lecture 2. Classification of Differential Equations and Method of Integrating Factors

III Second Order Linear ODEs

Ordinary Differential Equation Theory

3.5 Undetermined Coefficients

The Method of Undetermined Coefficients.

Study guide - Math 220

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

ES.1803 Topic 7 Notes Jeremy Orloff. 7 Solving linear DEs; Method of undetermined coefficients

Section 2.4 Linear Equations

Transcription:

Second-Order Linear ODEs A second order ODE is called linear if it can be written as y + p(t)y + q(t)y = r(t). (0.1) It is called homogeneous if r(t) = 0, and nonhomogeneous otherwise. We shall assume the following important theorem about linear ODEs without proof. Theorem 1 (Existence and Uniqueness Theorem). Let p(t), q(t) and r(t) be continuous functions on some open interval I. Let t 0 I. Then for any numbers y 0 and y 0, equation (0.1) with initial conditions y(t 0 ) = y 0, y (t 0 ) = y 0 has a unique solution on the interval I. Proof. Beyond the scope of this course. Remark 1. The above theorem can be extended to higher order linear ODEs as well. Write the corresponding IVP and the existence-uniqueness theorem yourself. 1 Homogeneous Second-Order Linear ODEs Consider a general homogeneous second-order linear ODE of the form y + p(t)y + q(t)y = 0. (1.1) Theorem 2. The set of all solutions of a homogeneous second-order linear ODE is a vector space. Proof. It is easy to verify that if y 1 and y 2 are any two solutions of (1.1) then c 1 y 1 + c 2 y 2 is also a solution for any constants c 1 and c 2. Remark 2. Note that the above theorem is not valid for nonlinear ODEs or nonhomogeneous linear ODEs. 1

2 Question: What is the dimension of the solution space of homogeneous second-order linear ODE? Recall the denition of linear dependence and independence. First we claim that if p(t) and q(t) are continuous on an open interval I then there are at least two solutions of (1.1) which are linearly independent on I. To prove the claim let us take some t 0 I, and let y 1 (t) and y 2 (t) be the unique solutions of (1.1) satisfying the initial conditions y 1 (t 0 ) = 1, y 1(t 0 ) = 0 and y 2 (t 0 ) = 0, y 2(t 0 ) = 1, respectively. (Note that such y 1 (t) and y 2 (t) exist by Theorem 1.) It is easy to see in this case that y 1 (t) and y 2 (t) are linearly independent on I. Hence the dimension of the solution space is at least two. We would show that the dimension is, in fact, equal to two. Let y(t) be any solution of (1.1). Consider Y (t) = y(t 0 ) y 1 (t) + y (t 0 ) y 2 (t), where y 1 (t) and y 2 (t) are as dened above. Since Y (t) is a linear combination of solutions y 1 (t) and y 2 (t), Y (t) is also a solution. Furthermore, Y (t 0 ) = y(t 0 ) and Y (t 0 ) = y (t 0 ). By the uniqueness, Y (t) = y(t) for all t I, and hence y(t) is a linear combination of y 1 (t) and y 2 (t). This proves that the dimension is equal to two. Thus we have obtained the following theorem. Theorem 3. If p(t) and q(t) are continuous on an open interval I, then the solution space of y + p(t)y + q(t)y = 0 is two-dimensional. Exercise: Generalize the previous theorem to n-th order homogeneous linear ODEs with continuous coecients. Remark 3. Note that the theorem is not true in general without the continuity assumptions. Summary: In order to nd all solutions of a homogeneous second-order linear ODE of the form (1.1) with continuous coecients it is enough to nd any pair of linearly independent solutions. Question: How to check whether two functions are linearly independent or not? Suppose that f 1 (t), f 2 (t),..., f n (t) are functions dened on an open interval I. Assume that f 1 (t), f 2 (t),..., f n (t) are linearly dependent. Then there exist constants c 1, c 2,..., c n not all zeros, such that c 1 f 1 (t) + c 2 f 2 (t) + + c n f n (t) = 0 for all t I. If we assume that f 1, f 2,..., f n are (n 1) times dierentiable on I, then we have c 1 f 1 (t) + c 2 f 2 (t) + + c n f n (t) = 0 c 1 f 1(t) + c 2 f 2(t) + + c n f n(t) = 0. c 1 f (n 1) 1 (t) + c 2 f (n 1) 2 (t) + + c n f n (n 1) (t) = 0

3 for all t I. Since the above homogeneous system has a nonzero solution (c 1, c 2,..., c n ), the determinant of the coecient matrix must be zero for every t I. This motivates the following denition of the Wronskian function. Denition 1 (Wronskian). For n real-valued functions f 1, f 2,..., f n, which are (n 1) times dierentiable on an open interval I, the Wronskian W (f 1, f 2,..., f n ) as a function on I is dened by W (f 1, f 2,..., f n )(t) = Now we have the following theorem. f 1 (t) f 2 (t) f n (t) f 1(t) f 2(t) f n(t)...... f (n 1) 1 (t) f (n 1) 2 (t) f n (n 1) (t), t I. (1.2) Theorem 4. If (n 1) times dierentiable functions f 1, f 2,..., f n on an open interval I are linearly dependent on I, then W (f 1, f 2,..., f n )(t) = 0 for all t I. As a consecuence, W (f 1, f 2,..., f n )(t 0 ) 0 for some t 0 I implies that f 1, f 2,..., f n are linearly independent on I. Remark 4. (a) The converse of the above theorem is not true. For example, let f 1 (t) = t t and f 2 (t) = t 2 on t I = ( 1, 1). Note that W (f 1, f 2 )(t) = 0 for all t I even though f 1 and f 2 are linearly independent on I. (b) It is possible that the Wronskian is zero at some points and nonzero at other points on an interval I. For instance, take f 1 (x) = x and f 2 (x) = x 2. We are interested in nding linearly independent solutions of second (or higher) order homogeneous linear ODEs. If we can somehow nd two solutions y 1 and y 2 such that W (y 1, y 2 )(t) 0 for some t I, then y 1 and y 2 are linearly independent and hence form a basis for the solution space (for second-order). The following theorem is important for two reasons. Firstly, it tells that the Wronskian of two solutions is either identically zero on I or is never zero on I. Secondly, it gives the Wronskian (up to a constant multiple) without knowing the solutions. Theorem 5 (Abel's Theorem). If y 1 (t) and y 2 (t) are two solutions of y + p(t)y + q(t)y = 0 with p(t) and q(t) continuous on an open interval I, then the Wronskian of y 1 and y 2 is given by for some constant c. ( t ) W (y 1, y 2 )(t) = c exp p(t)dt, t 0

4 Proof. Let us write W (t) for W (y 1, y 2 )(t) = y 1 (t)y 2(t) y 2 (t)y 1(t).Then W (t) = y 1 (t)y 2(t) y 2 (t)y 1(t) = y 1 (t)[ p(t)y 2(t) q(t)y 2 (t)] y 2 (t)[ p(t)y 1(t) q(t)y 1 (t)] = p(t)w (t). ( Thus, W (t) = c exp ) t t 0 p(t)dt for some constant c. Theorem 6. Let y 1 (t) and y 2 (t) be two solutions of y + p(t)y + q(t)y = 0 with p(t) and q(t) continuous on an open interval I, and let t 0 I. Then W (y 1, y 2 )(t 0 ) = 0 implies that y 1 (t) and y 2 (t) are linearly dependent on I. Proof. W (y 1, y 2 )(t 0 ) = 0 implies that there exist constant c 1 and c 2 not both zero, such that c 1 y 1 (t 0 ) + c 2 y 2 (t 0 ) = 0 c 1 y 1(t 0 ) + c 2 y 2(t 0 ) = 0. We claim that c 1 y 1 (t) + c 2 y 2 (t) = 0 for all t I, which would imply y 1 (t) and y 2 (t) are linearly dependent on I. Consider the function Y (t) = c 1 y 1 (t) + c 2 y 2 (t), t I. Then Y (t) is a solution to the homogeneous ODE and satises the initial conditions Y (t 0 ) = 0, Y (t 0 ) = 0. By uniqueness, Y (t) 0 on I. Hence we are done. 1.1 Method of Reduction of Order Suppose we somehow know one nonzero solution y 1 (t) of y + p(t)y + q(t)y = 0. Let us suppose that y 2 (t) = u(t)y 1 (t) is another solution for an unknown function u(t). Then y 2(t) = u (t)y 1 (t) + u(t)y 1(t) and y 2(t) = u (t)y 1 (t) + 2u (t)y 1(t) + u(t)y 1(t). Substituting in the equation and using y 1(t)+p(t)y 1(t)+q(t)y 1 (t) = 0, we get u (t)y 1 (t)+u (t)[2y 1(t)+ p(t)y 1 (t)] = 0. This is a rst-order ODE in u (t) and can be solved, if y 1 (t) is never zero on I, to get u (t) = ( 1 (y 1 (t)) exp 2 which can be integrated to get u(t) and hence y 2 (t). ) p(t) dt, 1.2 Homogeneous Linear ODEs with Constant Coecients Consider an ODE of the form ay + by + cy = 0 with a 0. Let us dene L(y) = ay + by + cy. In order to nd the general solution of L(y) = 0 we need to somehow nd

5 two linearly independent solutions. It is not dicult to guess that a solution might be of the form e mt. For y = e mt, L(y) = (am 2 +bm+c)e mt. Therefore, y = e mt is a solution for some m if and only if am 2 + bm + c = 0. We call am 2 + bm + c = 0 the characteristic equation corresponding to the ODE. Now there are three cases. Case 1: The characteristic equation has two real and distinct roots, say m 1 and m 2. Then y 1 = e m 1t and y 2 = e m 2t are two linearly independent solutions. Thus, the general solution is given by y(t) = c 1 e m 1t + c 2 e m 2t. Case 2: The characteristic equation has equal roots, m 1 = m 2 = b/2a. In this case y 1 (t) = e mt, where m = b/2a. To nd another solution y 2 (t) let us use the method of reduction of order. Assume y 2 (t) = u(t)e mt. Then y 2(t) = e mt [u (t) + mu(t)] and y 2(t) = e mt [u (t) + 2mu (t) + m 2 u(t)]. Substituting and dividing by e mt, we get au (t) + u (t)[2am + b] + u(t)[am 2 + bm + c] = 0. Using m is a repeated root, we have am 2 + bm + c = 0 and 2am + b = 0. Therefore, u (t) = 0 which is equivalent to u(t) = c 1 t + c 2. So (c 1 t + c 2 )e mt is a solution for any c 1, c 2. In particular, y 2 (t) = te mt is a solution. Thus, the general solution is given by y(t) = (c 1 + c 2 t)e mt. Case 3: The characteristic equation has complex conjugate roots, say m 1 = λ+iµ and m 2 = λ iµ, where µ 0. In this case e m 1t and e m 2t are complex-valued solutions. To get real solutions, we take y 1 (t) = 1 2 (em 1t + e m 2t ) = e λt cos(µt) and y 2 (t) = 1 2i (em 1t e m 2t ) = e λt sin(µt). Since µ 0, y 1 (t) and y 2 (t) are linearly independent. Thus, the general solution is given by y(t) = e λt [c 1 cos(µt) + c 2 sin(µt)]. 1.3 Euler-Cauchy Equations Consider an ODE of the form at 2 y + bty + cy = 0, t > 0 with a 0. By looking at the form it is natural to guess a solution of the form y = t m. We see that y = t m, t > 0 is a solution if and only if am(m 1) + bm + c = 0. This is a quadratic equation and so there are three cases.

6 Case 1: The characteristic equation has two real and distinct roots, say m 1 and m 2. Then y 1 = t m 1 and y 2 = t m 2 are two linearly independent solutions. Thus, the general solution is given by y(t) = c 1 t m 1 + c 2 t m 2, t > 0. Case 2: The characteristic equation has equal roots, m 1 = m 2 = m. In this case y 1 (t) = t m is a solution. To nd another solution y 2 (t) let us use the method of reduction of order. Assume y 2 (t) = u(t)t m. Verify that in this case we can take u(t) = ln t, so y 2 (t) = t m ln t is another solution. Thus, the general solution is given by y(t) = (c 1 + c 2 ln t)t m, t > 0. Case 3: The characteristic equation has complex conjugate roots, say m 1 = λ+iµ and m 2 = λ iµ, where µ 0. In this case t m 1 = t λ e iµ ln t = t λ [cos(µ ln t) + i sin(µ ln t)] and t m 2 = t λ [cos(µ ln t) i sin(µ ln t)] are complex-valued solutions. As in the constant coecients case, the real and imaginary parts give two linearly independent real-valued solutions. Thus, the general solution is given by y(t) = t λ [c 1 cos(µ ln t) + c 2 sin(µ ln t)], t > 0. Remark 5. The Euler-Cauchy equation also has a general solution dened for t < 0, which is obtained by simply replacing t by t in the above formulas. Exercise 1. Solve the IVP: 4t 2 y + 4ty y = 0, y( 1) = 0, y ( 1) = 1. 2 Nonhomogeneous Linear ODEs Now we shall study nonhomogeneous linear ODEs of the form y + p(t)y + q(t)y = r(t), t I, (2.1) where p(t), q(t) and r(t) are continuous real-valued functions on I. Theorem 7. The dierence of any two solutions of the nonhomogeneous linear ODE (2.1) is a solution of the corresponding homogeneous linear ODE. Proof. Let y(t) = y 1 (t) y 2 (t) where y 1 and y 2 are solutions of (2.1). Then y + p(t)y + q(t)y = [y 1 + p(t)y 1 + q(t)y 1 ] [y 2 + p(t)y 2 + q(t)y 2 ] = r(t) r(t) = 0.

7 Now suppose we know a particular solution y p of the nonhomogeneous equation. The existence (under the continuity assumption) of such a solution is guaranteed by the variation of parameters method which will be discussed later. For any solution y of the nonhomogeneous equation, the previous theorem says that y y p is a solution of the corresponding homogeneous equation. Therefore, y y p = c 1 y 1 + c 2 y 2 for some constants c 1 and c 2 if y 1 and y 2 are a pair of linearly independent solutions of the homogeneous equation. This gives the following theorem. Theorem 8. The general solution of nonhomogeneous linear ODE is given by y(t) = c 1 y 1 (t) + c 2 y 2 (t) + y p (t), where y 1 are y 2 are a pair of linearly independent solutions of the homogeneous part, and y p is a particular solution of the actual nonhomogeneous equation. Summary: In order to nd all solutions of a second-order nonhomogeneous linear ODE we need to nd two linearly independent solutions of the corresponding homogeneous equation, and also nd just one solution of the nonhomogeneous equation. We have already learnt how to nd two linearly independent solutions of homogeneous linear ODEs in some cases (constant coecients and Euler-Cauchy equations, for instance). We will learn two methods to nd a particular solution of nonhomogeneous equation. One is the variation of parameters method which is applicable in general, provided we know two linearly independent solutions of the corresponding homogeneous equation. The diculty in this method is that one has to evaluate some indenite integrals which might be cumbersome. The second method is the method of undetermined coecients which is easier, whenever applicable. But, one must remember that the method of undetermined coecients can be applied only when the homogeneous part is a constant coecient equation and r(t) is restricted to some special functions (polynomials, exponentials, sine or cosine, or a sum or product of these). These methods will be discussed in the lecture classes. Do enough examples to get used to these methods.