Lecture 6: Linear ODE s with Constant Coefficients I

Similar documents
Advanced Eng. Mathematics

Math 240 Calculus III

UNDETERMINED COEFFICIENTS SUPERPOSITION APPROACH *

MATH 312 Section 4.5: Undetermined Coefficients

MATH 353 LECTURE NOTES: WEEK 1 FIRST ORDER ODES

PRELIMINARY THEORY LINEAR EQUATIONS

Ordinary Differential Equations (ODEs)

CHAPTER 5. Higher Order Linear ODE'S

Definition of differential equations and their classification. Methods of solution of first-order differential equations

Ordinary Differential Equations

The Method of Undetermined Coefficients.

17.2 Nonhomogeneous Linear Equations. 27 September 2007

2. Second-order Linear Ordinary Differential Equations

4.3 - Linear Combinations and Independence of Vectors

Methods of Mathematics

Fundamentals of Linear Algebra. Marcel B. Finan Arkansas Tech University c All Rights Reserved

Homework #6 Solutions

Lecture 16. Theory of Second Order Linear Homogeneous ODEs

Series Solutions of Differential Equations

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

Introduction to Linear Algebra

Lecture Notes in Mathematics. Arkansas Tech University Department of Mathematics

Math 123, Week 9: Separable, First-Order Linear, and Substitution Methods. Section 1: Separable DEs

Math Exam 2, October 14, 2008

Chapter 4: Higher-Order Differential Equations Part 1

D(f/g)(P ) = D(f)(P )g(p ) f(p )D(g)(P ). g 2 (P )

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

FINITE DIFFERENCES. Lecture 1: (a) Operators (b) Forward Differences and their calculations. (c) Backward Differences and their calculations.

Lecture 2: Vector Spaces, Metric Spaces

Higher Order Linear ODEs

Linear Algebra. Preliminary Lecture Notes

Quaternion Dynamics, Part 1 Functions, Derivatives, and Integrals. Gary D. Simpson. rev 00 Dec 27, 2014.

10. Linear Systems of ODEs, Matrix multiplication, superposition principle (parts of sections )

1.3 Linear Dependence & span K

Chapter 7. Homogeneous equations with constant coefficients

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

Eigenspaces and Diagonalizable Transformations

Series Solutions Near a Regular Singular Point

8.1 Solutions of homogeneous linear differential equations

SYDE 112, LECTURE 7: Integration by Parts

DIFFERENTIAL EQUATIONS

dx n a 1(x) dy

Essential Ordinary Differential Equations

One important way that you can classify differential equations is as linear or nonlinear.

Today. The geometry of homogeneous and nonhomogeneous matrix equations. Solving nonhomogeneous equations. Method of undetermined coefficients

Higher Order Linear ODEs

Linear Algebra, Summer 2011, pt. 2

Math 40510, Algebraic Geometry

. =. a i1 x 1 + a i2 x 2 + a in x n = b i. a 11 a 12 a 1n a 21 a 22 a 1n. i1 a i2 a in

0.1 Problems to solve

LECTURE 14: REGULAR SINGULAR POINTS, EULER EQUATIONS

Higher-order ordinary differential equations

Span and Linear Independence

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

Solutions Definition 2: a solution

Ordinary differential equations Notes for FYS3140

6 Second Order Linear Differential Equations

Eigenvalues and Eigenvectors

First and Second Order ODEs

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

MATH 312 Section 4.3: Homogeneous Linear Equations with Constant Coefficients

2.2 Separable Equations

Properties of Linear Transformations from R n to R m

Introduction to First Order Equations Sections

Linear Algebra. Preliminary Lecture Notes

Nonhomogeneous Equations and Variation of Parameters

The Corrected Trial Solution in the Method of Undetermined Coefficients

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

Basic Linear Algebra in MATLAB

MB4018 Differential equations

Recitation 8: Graphs and Adjacency Matrices

Determine whether the following system has a trivial solution or non-trivial solution:

Last Update: April 7, 201 0

Homework Solutions: , plus Substitutions

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

Physics 6303 Lecture 8 September 25, 2017

Worksheet # 2: Higher Order Linear ODEs (SOLUTIONS)

Physics 6303 Lecture 9 September 17, ct' 2. ct' ct'

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

DIFFERENTIAL EQUATIONS

Linear Second Order ODEs

c n (x a) n c 0 c 1 (x a) c 2 (x a) 2...

Lecture 19: Solving linear ODEs + separable techniques for nonlinear ODE s

Math 322. Spring 2015 Review Problems for Midterm 2

LINEAR ALGEBRA W W L CHEN

Lecture 1: Review of methods to solve Ordinary Differential Equations

1 Series Solutions Near Regular Singular Points

UCLA Math 135, Winter 2015 Ordinary Differential Equations

Solutions to Homework 5, Introduction to Differential Equations, 3450: , Dr. Montero, Spring y 4y = 48t 3.

Math Applied Differential Equations

LINEAR SYSTEMS AND MATRICES

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

MTH 306 Spring Term 2007

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

Math 1060 Linear Algebra Homework Exercises 1 1. Find the complete solutions (if any!) to each of the following systems of simultaneous equations:

Lecture 8: Ordinary Differential Equations

Key Point. The nth order linear homogeneous equation with constant coefficients

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

First Order Differential Equations

Lecture 7: Differential Equations

Transcription:

Lecture 6: Linear ODE s with Constant Coefficients I Dr. Michael Dougherty February 12, 2010 1 LHODEs, and Linear Operators Revisited In this and the next few lectures we will be interested in linear, homogeneous ordinary differential equations, or LHODE s, with constant coefficients: a n y (n) + a n 1 y (n 1) + + a 1 y + a 0 y = 0. (1) (Recall y (k) is the kth derivative of y.) In this context, the underlined words above mean the following. 1. linear: The LHS can be written as L[y], where L is a linear differential operator. 2. homogeneous: The RHS is equal to zero (assuming LHS = L[y]). 3. constant coefficients: The coefficients a 0, a 1,, a n are all constants. We defined linear differential operators in Lecture 3. Here we briefly recall that discussion, in the context of constant coefficients (meaning the a i s do not vary with x, y, etc.). We can define the LHS of (1) by L[y] = a n y (n) + a n 1 y (n 1) + + a 1 y + a 0 y = ( a n D n + a n 1 D n 1 + + a 1 D + a 0 ) y. Recall that D = d dx, so Dk = ( ) d k dx = d k is the operator which takes the kth derivative with respect to x. dx k That L is linear means that L[αy 1 + βy 2 ] = αl[y 1 ] + βl[y 2 ] (2) for any functions y 1, y 2 and constants (a.k.a. scalars) α, β R. Recall that this was a summary of two facts about linear operators, namely that they preserve addition and scalar multiplication: L[y 1 + y 2 ] = L[y 1 ] + L[y 2 ], (3) L[αy] = αl[y]. (4) This linearity will be important in this lecture, and crucial in later lectures when we also consider nonhomogeneous equations. It was proven for more general operators in Lecture 3 (with coefficients which are not necessarily constant). 1

2 Solution of (D + k)y = 0 Here we will derive the solution of equations of the form (D + k)y = 0. Actually this is separable: (D + k)y = 0 ( ) d dx + k y = 0 dy dx + ky = 0 dy dx = ky (note y = 0 is a trivial solution) dy = k dx y dy y = ( k) dx ln y = kx + C 1 y = e kx e C1 y = Ce kx, C R (since C = 0 works too). Note that we get a one-parameter solution of curves for the first-order ODE dy dx + ky = 0. This is really quite general, for even if k = 0 we are solving dy/dx = 0, which has solutions y = C, or y = Ce 0x. Thus we showed that, for any constant k, we have (D + k)y = 0 y = Ce kx. (5) Example 1 To see the pattern, consider the following ODE s and their solutions: 1. (D 1)y = 0 y = Ce x ; 2. (D + 1)y = 0 y = Ce x ; 3. (D 2)y = 0 y = Ce 2x ; 4. (D + 2)y = 0 y = Ce 2x ; ( 5. D + 2 ) 3 = 0 y = Ce ( 2+ 3)x ; 6. Dy = 0 y = Ce 0x = C. It is important to be able to read these backwards as well as forwards, for later we will want to find the differential operators (hopefully of form (D + k)) which will annihilate functions. For instance, given a function y = Ce 5x, it is useful to know that (D 5)Ce 5x = 0. 3 Algebra of Operators (D + k), (D + l) One very nice fact about differential operators with constant coefficients is that they commute, meaning [(D + k)(d + l)] y = [(D + l)(d + k)] y. (6) 2

The proof is as follows: LHS = [(D + k)(d + l)] y = (D + k)(dy + ly) = (D + k)(y + ly) = D(y + ly) + k(y + ly) = Dy + Dly + ky + kly = y + ly + ky + kly = y + (l + k)y + (kl)y. RHS = [(D + l)(d + k)] y = (D + l)(dy + ky) = (D + l)(y + ky) = D(y + ky) + l(y + ky) = Dy + Dky + ly + lky = y + ky + ly + lky = y + (k + l)y + (lk)y. So we see LHS = RHS. Note that in both cases we also get [(D + k)(d + l)] y = [ D 2 + (k + l)d + (lk) ] y. (7) Thus we can manipulate these operators much the same as polynomials, so long as they are placed to the left of the function y. 1 The same principles used to prove (6) can be used to show that any two linear operators with constant coefficients will commute: 2 [( an D n + a n 1 D n 1 + + a 1 D + a 0 ) ( bm D m + b m 1 D m 1 + + b 1 D + b 0 )] y = [( b m D m + b m 1 D m 1 + + b 1 D + b 0 ) ( an D n + a n 1 D n 1 + + a 1 D + a 0 )] y. 4 Principle of Superposition In this section we point out a part of the general theory of linear homogeneous ODE s, all of which be written in the form L[y] = 0 where L is a linear differential operator. 1. If a linear differential operator annihilates a function y 1, then it also annihilates ay 1 for any constant a R; if L[y 1 ] = 0 and a R, then L[ay 1 ] = 0 as well. To see this, just note that L[ay 1 ] = al[y 1 ] = 0 if L annihilates y 1, i.e., if L[y 1 ] = 0. 2. If a linear differential operator annihilates functions y 1 and y 2, then it also annihilates y 1 + y 2. To see this, note that if L[y 1 ] = 0 and L[y 2 ] = 0, then L[y 1 + y 2 ] = L[y 1 ] + L[y 2 ] = 0 + 0 = 0. This can be summarized usefully as follows: If L annihilates y 1 and y 2, then L also annihilates any linear combination ay 1 + by 2 : L[y 1 ], L[y 2 ] = 0, a, b R L[ay 1 + by 2 ] = al[y 1 ] + bl[y 2 ] = a 0 + b 0 = 0. This is called the principle of superposition. It only requires a linear operator (not necessarily with constant coefficients, see Farlow p. 112) and generalizes to functions y 1,, y n. In the language of equations, it states: 1 The reader should consider why it is important that k and l are constants here, because Dky = kdy and Dly = ldy; otherwise we would require product rules to compute many of the terms in the operators (D + k)(d + l) and (D + l)(d + k). 2 Again, this is not true if we have linear operators with nonconstant coefficients. For example, (D + x)(d + sin x)y = (D + x)(y + sin x y) = D(y + y sin x) + x(y + y sin x) = y + y cos x + y sin x + xy + xy sin x, while (D + sin x)(d + x)y = (D + sin x)(y + xy) = D(y + xy) + sin x (y + xy) = y + y + xy + y sin x + xy sin x. We see that the first arrangement yields a y cos x where the second just has y. 3

If y 1, y 2,, y n are solutions of a linear homogeneous ODE (think L[y 1 ] = 0, L[y 2 ] = 0, etc.), then so is any function written y = c 1 y 1 + c 2 y 2 + + c n y n. (8) Thus linear combinations of solutions are also solutions. Note that the solution y = 0 always satisfies L[y] = 0, and is usually referred to as the trivial solution to the linear homogeneous ODE L[y] = 0. 3 It should be clear that, if L is linear, then applying L to both sides of (8) gives L[y] = L [c 1 y 1 + c 2 y 2 + + c n y n ] = c 1 L[y 1 ] + c 2 L[y 2 ] + + c n L[y n ] = c 1 0 + c 2 0 + + c n 0 = 0. 5 Annihilating Sums of Functions Perhaps this is best introduced by an example. Example 2 Find a nontrivial 4 linear differential operator which annihilates the function y = e 2x + e 5x. Solution: Here we recognize that (D 2) will annihilate the e 2x term, while (D + 5) would annihilate the e 5x term. Now the claim is that L = (D 2)(D + 5) will annihilate the sum of these. Here we use the commutative properties of these operators (D + k). One way to see this is to digest the following three facts simultaneously: 1. (D 2)(D + 5)e 2x = (D + 5)(D 2)e 2x = (D + 5)(0) = 0. Here we used the commutativity. 2. (D 2)(D + 5)e 5x = (D 2)(0) = 0. 3. [(D 2)(D + 5)](e 2x + e 5x ) = [(D 2)(D + 5)]e 2x + [(D 2)(D + 5)]e 5x = 0 + 0 = 0. Here we used the linearity and the earlier two steps. If we are not convinced, we can check this more directly: (D 2)(D + 5)(e 2x + e 5x ) = (D 2 + 3D 10)(e 2x + e 5x ) = D 2 (e 2x + e 5x ) + 3D(e 2x + e 5x ) 10(e 2x + e 5x ) (by definition) = (4e 2x + 25e 5x ) + 3(2e 2x 5e 5x ) 10(e 2x + e 5x ) = e 2x (4 + 6 10) + e 5x (25 15 10) = e 2x (0) + e 5x (0) = 0, q.e.d. If even the above argument does not entirely convince, one could apply (D +5) to the function e 2x +e 5x, and then apply (D 2) to the result. Here we did not reach that far back, since we showed earlier that we could multiply out the operators first and then apply them to the functions. 3 To see that the function y = 0 always satisfies linear homogeneous ODE s, note that L[0] = L[0 0] = 0 L[0] = 0. This is an old linear algebra trick. In fact most results dealing with linear differential operators in the general sense (not restricted to constant coefficients) have their analogs in general linear algebra, since they are linear operators in the linear algebraic sense as well. 4 The trivial linear differential operator is L[y] = 0y, which eats any function and spits out zero. It is a differential operator in the sense that it can be written as an operator with constant coefficients but with all the coefficients being zero. 4

Example 3 Find a nontrivial linear differential equation which is satisfied by the function y = 3e 7x 5e 2x + 27. Solution: First we find an annihilator L[ ] of the function, and then L[y] = 0 will be the ODE we seek. To construct L, we need (D 7) for the first term, (D + 2) for the second, and D for the third (constant) term. Since these commute, we can write our operator as The ODE which the function satisfies will be i.e., This means the given function is a solution of L = D(D 7)(D + 2). D(D 7)(D + 2)(3e 7x 5e 2x + 27) = 0, (D 3 5D 2 14D)(3e 7x 5e 2x + 27) = 0. y 5y 14y = 0. (9) In fact, since the constant multipliers 3, 5, 27 do not change the facts that the functions e 7x, e 2x and 1 (the function y = 1) are all annihilated by L, we actually have that any y = ae 7x + be 2x + c (10) satisfies the ODE. With observations we will make later, we will be able to see that, in fact, (10) is the general solution to the ODE (9). The solution to (9) is thus a three-parameter family of curves. 5

Homework 6-A 1. Find a nontrivial differential operator (as in the examples) which annihilates the given function: (a) 6e 7x 9e 2x + 5e x (Leave your operator factored, as in Example 2.) (b) 10 e x (Multiply/expand your operator.) (c) e 3x 7e (6 17)x (Multiply/expand your operator.) (d) 5 (e) 5 + x (Think about the one above it, and some simple calculus, but use the simplest possible operator to annihilate this function.) (f) 5 + x + x 2 (Same directions (e).) 2. Show that (D 2 + k 2 ) annihilates sin kx and cos kx. 3. Find an annihilator for 5 e 6x + 2e 25x + 2 cos 3x. (Leave your operator factored.) 4. Consider the ODE y 4y 12y = 0. (a) Write the LHS using a polynomial of D, times y, as in one side of (7). (b) Factor the operator on the LHS. (c) Find two solutions, i.e., two distinct functions annihilated by the operator on the LHS. (d) Speculate about the form of the general solution of this ODE. See the bottom of the previous page. 6