9. Particular Solutions of Non-homogeneous second order equations Undetermined Coefficients



Similar documents
So far, we have looked at homogeneous equations

General Theory of Differential Equations Sections 2.8, , 4.1

Math 22B, Homework #8 1. y 5y + 6y = 2e t

Second Order Linear Nonhomogeneous Differential Equations; Method of Undetermined Coefficients. y + p(t) y + q(t) y = g(t), g(t) 0.

Partial Fractions: Undetermined Coefficients

Higher Order Equations

System of First Order Differential Equations

HW6 Solutions. MATH 20D Fall 2013 Prof: Sun Hui TA: Zezhou Zhang (David) November 14, Checklist: Section 7.8: 1c, 2, 7, 10, [16]

4.1. COMPLEX NUMBERS

COMPLEX NUMBERS AND DIFFERENTIAL EQUATIONS

The integrating factor method (Sect. 2.1).

Student name: Earlham College. Fall 2011 December 15, 2011

ORDINARY DIFFERENTIAL EQUATIONS

Lecture Notes for Math250: Ordinary Differential Equations

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

5 Numerical Differentiation

The Method of Partial Fractions Math 121 Calculus II Spring 2015

Methods of Solution of Selected Differential Equations Carol A. Edwards Chandler-Gilbert Community College

Zeros of Polynomial Functions

Factoring Polynomials and Solving Quadratic Equations

Nonhomogeneous Linear Equations

A Brief Review of Elementary Ordinary Differential Equations

The Method of Least Squares. Lectures INF2320 p. 1/80

Complex Eigenvalues. 1 Complex Eigenvalues

Integrals of Rational Functions

r (t) = 2r(t) + sin t θ (t) = r(t) θ(t) + 1 = 1 1 θ(t) Write the given system in matrix form x = Ax + f ( ) sin(t) x y z = dy cos(t)

Section The given line has equations. x = 3 + t(13 3) = t, y = 2 + t(3 + 2) = 2 + 5t, z = 7 + t( 8 7) = 7 15t.

Linear Algebra I. Ronald van Luijk, 2012

3.2 Sources, Sinks, Saddles, and Spirals

Algebra Practice Problems for Precalculus and Calculus

Discrete Mathematics: Homework 7 solution. Due:

a 11 x 1 + a 12 x a 1n x n = b 1 a 21 x 1 + a 22 x a 2n x n = b 2.

19.6. Finding a Particular Integral. Introduction. Prerequisites. Learning Outcomes. Learning Style

How To Solve A Linear Dierential Equation

Math Assignment 6

CITY UNIVERSITY LONDON. BEng Degree in Computer Systems Engineering Part II BSc Degree in Computer Systems Engineering Part III PART 2 EXAMINATION

Quotient Rings and Field Extensions

Lecture Notes to Accompany. Scientific Computing An Introductory Survey. by Michael T. Heath. Chapter 10

MATH 31B: MIDTERM 1 REVIEW. 1. Inverses. yx 3y = 1. x = 1 + 3y y 4( 1) + 32 = 1

Zero: If P is a polynomial and if c is a number such that P (c) = 0 then c is a zero of P.

Polynomial Degree and Finite Differences

These axioms must hold for all vectors ū, v, and w in V and all scalars c and d.

QUADRATIC EQUATIONS EXPECTED BACKGROUND KNOWLEDGE

Solving DEs by Separation of Variables.

Part IB Paper 6: Information Engineering LINEAR SYSTEMS AND CONTROL Dr Glenn Vinnicombe HANDOUT 3. Stability and pole locations.

3.3. Solving Polynomial Equations. Introduction. Prerequisites. Learning Outcomes

Second-Order Linear Differential Equations

This unit will lay the groundwork for later units where the students will extend this knowledge to quadratic and exponential functions.

Lecture 5 Rational functions and partial fraction expansion

South Carolina College- and Career-Ready (SCCCR) Algebra 1

COMPLEX NUMBERS AND SERIES. Contents

160 CHAPTER 4. VECTOR SPACES

ENCOURAGING THE INTEGRATION OF COMPLEX NUMBERS IN UNDERGRADUATE ORDINARY DIFFERENTIAL EQUATIONS

0.4 FACTORING POLYNOMIALS

a 1 x + a 0 =0. (3) ax 2 + bx + c =0. (4)

Lecture Notes on Polynomials

LS.6 Solution Matrices

Find all of the real numbers x that satisfy the algebraic equation:

3.1 State Space Models

Partial Fractions. (x 1)(x 2 + 1)

ECG590I Asset Pricing. Lecture 2: Present Value 1

ALGEBRA 2 CRA 2 REVIEW - Chapters 1-6 Answer Section

Linear algebra and the geometry of quadratic equations. Similarity transformations and orthogonal matrices

Concepts in Investments Risks and Returns (Relevant to PBE Paper II Management Accounting and Finance)

Zeros of Polynomial Functions

Solutions to Linear First Order ODE s

Solutions to old Exam 1 problems

4.5 Linear Dependence and Linear Independence

Matrix Algebra. Some Basic Matrix Laws. Before reading the text or the following notes glance at the following list of basic matrix algebra laws.

Lecture 5 Least-squares

FACTORING POLYNOMIALS IN THE RING OF FORMAL POWER SERIES OVER Z

1 = (a 0 + b 0 α) (a m 1 + b m 1 α) 2. for certain elements a 0,..., a m 1, b 0,..., b m 1 of F. Multiplying out, we obtain

PYTHAGOREAN TRIPLES KEITH CONRAD

ASEN Structures. MDOF Dynamic Systems. ASEN 3112 Lecture 1 Slide 1

Piecewise Cubic Splines

1 Lecture: Integration of rational functions by decomposition

Basic numerical skills: EQUATIONS AND HOW TO SOLVE THEM. x + 5 = = (2-2) = = 5. x = 7-5. x + 0 = 20.

Unique Factorization

MAT 242 Differential Equations Mathematics

Second Order Linear Differential Equations

Solving Linear Systems, Continued and The Inverse of a Matrix

DEFINITION A complex number is a matrix of the form. x y. , y x

3.6. Partial Fractions. Introduction. Prerequisites. Learning Outcomes

Algebraic Concepts Algebraic Concepts Writing

Paper II ( CALCULUS ) Shahada. College, Navapur. College, Shahada. Nandurbar

Linear and quadratic Taylor polynomials for functions of several variables.

4.3 Lagrange Approximation

minimal polyonomial Example

Mathematics (Project Maths Phase 3)

Algebra. Exponents. Absolute Value. Simplify each of the following as much as possible. 2x y x + y y. xxx 3. x x x xx x. 1. Evaluate 5 and 123

College of the Holy Cross, Spring 2009 Math 373, Partial Differential Equations Midterm 1 Practice Questions

Differential Equations and Linear Algebra Lecture Notes. Simon J.A. Malham. Department of Mathematics, Heriot-Watt University

ALGEBRA 2: 4.1 Graph Quadratic Functions in Standard Form

Partial Fractions. Combining fractions over a common denominator is a familiar operation from algebra:

COMPLEX NUMBERS. a bi c di a c b d i. a bi c di a c b d i For instance, 1 i 4 7i i 5 6i

College Algebra - MAT 161 Page: 1 Copyright 2009 Killoran

JUST THE MATHS UNIT NUMBER 1.8. ALGEBRA 8 (Polynomials) A.J.Hobson

Review of Intermediate Algebra Content

Transcription:

September 29, 201 9-1 9. Particular Solutions of Non-homogeneous second order equations Undetermined Coefficients We have seen that in order to find the general solution to the second order differential equation y + p(t)y + q(t)y g(t) (1) where p, q, g are continuous functions in an interval I, it suffices to find two linearly independent solutions to the associated homogeneous equation y + p(t)y + q(t)y 0 (2) and one particular solution to (1). Here we will describe some methods for finding particular solutions. Method 1: Undetermined coefficients This method is useful when the the differential equation has constant coefficients and the function g(t) has a special form: some linear combination of functions of the form t n, e αt, e αt cos(βt), e αt sin(βt). () In each of the above cases, one can assume a particular form for the solution y(t) involving a polynomial U(t) with unknown coefficients. Plugging in y(t) to the equation (1) then gives a system of linear equations for the coefficients of U(t) which can be solved. It is important to know the correct form to be assumed for the solution y(t). We consider the four cases separately. Let P (t) denote a polynomial of degree n in the following. That is, n P (t) a i t i i0 where a n 0. P (t) will be known from g(t). In each of the following cases, U(t) will be an unknown polynomial

September 29, 201 9-2 n U(t) A i t i i0 of the same degree as P (t), possibly with complex coefficients, and the coefficients A i are to be determined. Case 1: g(t) P (t) Write the characteristic polynomial as z(r) ar 2 + br + c. If z(0) 0, (i.e., c 0) then one assumes n y(t) U(t) A i t i i0 where U(t) is a polynomial of the same degree as P (t). If z(0) 0 and z (0) 0 (i.e, 0 is a root of multiplicity 1 of z(r)), then one assumes y(t) tu(t). If z(0) 0 z (0), but z (0) 0, (i.e., 0 is a root of multiplicty 2 of z(r)), then one assumes y(t) t 2 U(t). Case 2: g(t) e αt P (t) If z(α) 0, then one assumes y(t) U(t)e αt. If z(α) 0, but z (α) 0, then one assumes y(t) tu(t)e αt. If z(α) 0, z (α) 0, but z (α) 0, then one assumes y(t) t 2 U(t)e αt. Case : g(t) P (t)e αt cos(βt) Here we reduce to Case 2 using complex methods. We can write g(t) as the real part of the complex function g c (t) P (t)exp((α + iβ)t)

September 29, 201 9- Example 1. We find a complex solution y c (t) t s U c (t)exp((α + iβ)t) where s is the multiplicity of α + iβ as a root of z(r). We then take the real part of y c (t) to get our particular solution. Case 4: g(t) P (t)e αt sin(βt) This is just like Case except that we replace the words real part by imaginary part. Remark. As an alternative to using complex methods in Cases and 4, one may assume a solution y(t) of the form y(t) t s [U(t)e αt cos(βt) + V (t)e αt sin(βt)] where s is the multiplicity of α + iβ as a root of z(r) and U(t) and V (t) are two real polynomials of the same degree as P (t). Note that in this case one has to use both the unknown polynomials U(t), V (t) even in Case or Case 4. As we will see, the complex method is more efficient because we replace the 2n real linear equations for the unknowns to n complex linear equations. Let us consider some examples. y + 2y y 2t 2. Let us try to find a solution of the form Plugging in, we get y At 2 + Bt + C. 2A + 2(2At + B) (At 2 + Bt + C) 2t 2. The coefficients of t 2, t, 1 have to be equal on both sides, so we get A 2, 4A B 0, 2A + 2B C 0. Solving these equations for A, B, C we get A 2, B 8 9, C 4 9 16 27.

September 29, 201 9-4 Example 2. y + 2y y 4e t. Here we try y Ae t. We get 9Ae t + 6Ae t Ae t 4e t. 12A 4, A 1/. It is worthwhile to notice something about this example. Consider the general situation in which we have in which y + py + qy Ae bt (4) b is not a root of z(r) r 2 + pr + q. (5) Let us assume a solution y p (t) of the form y p (t) Ce bt. Plugging into the equation (4), we get or (Ce bt ) + p(ce bt ) + qce bt Ae bt (Cb 2 e bt ) + p(cbe bt ) + qce bt Ae bt Ce bt (b 2 + pb + q) Ae bt Ce bt z(b) Ae bt

September 29, 201 9-5 or C A z(b) Thus, under the assumption (5), we have a simple formula for the particular solution: y p (t) A z(b) ebt Example. y + 2y y 2t 2 + 4e t. (6) Here we use the superposition principle. If we have the equation L(y) g 1 (t) + g 2 (t) (7) and y 1, y 2 are solutions to L(y) g 1, L(y) g 2, respectively, then y 1 + y 2 is a solution to (7). So, we get the particular solution to (6). y(t) 1 et 2 t2 8 9 t 4 9 16 27 Example 4. y + 2y y 4e t. (8) We again try y Ae t. We get 9Ae t 6Ae t Ae t 4e t. This has no solution. The problem is that is a root of the characteristic polynomial r 2 + 2r.

September 29, 201 9-6 In this case, we try y At(e t ). We get y Ae t Ate t y Ae t A(e t te t ) + 2Ae t 6Ate t Ate t 4e t. 4A 4, A 1. Hence, we get the solution y te t. What is going on with the method? Here it helps to go to the abstract situation. Consider y + py + qy Be αt We try to find a solution of the form y Ae αt. We get A(α 2 + pα + q)e αt Be αt. If α is not a root of z(r) r 2 + pr + q, then we get A as A B z(α). If α is a root of multiplicity one, and we try y Ate αt, we find Ate αt [α 2 + pα + q] + Ae αt (2α + p) Be αt. This is the same as

September 29, 201 9-7 So, we get Ate αt z(α) + Ae αt z (α) Be αt. A B z (α). Similarly, if α is a root of multiplicity 2 to z(r), we get where A B 2 B. z (α) y At 2 e αt In general, we try a function of the form y At s e αt where s is the multiplicity of α as a root of z(r). Example 5. As we saw above, similar methods apply to right hand sides of the form e αt sin(βt), e αt cos(βt) making use of complex arithmetic methods and taking real and imaginary parts. For instance, consider y + 2y y cos(2t) (9) We recognize that this equation is the real part of the differential equation y + 2y y e 2it. (10) The characteristic polynomial is z(r) r 2 + 2r. Since 2i is not a solution of z(r) 0, we get a complex solution of the form y(t) Ae 2it. Its real part will turn out to be solution to (9). Let us be more specific.

September 29, 201 9-8 Using the method in the first part of Example 4 (which also works for complex differential equations), and the fact that 2i is not a root of z(r), we can find a particular complex solution to (10) as y c (t) z(2i) e2it Since we equation (9) was the real part of equation (10), we take the real part of the solution to (10) to get a particular solution to (9). Let us carry this out. We have y c (t) z(2i) e2it 4i 7 e2it 7 + 4i e2it ( 7 4i) e 2it 7 2 + 4 2 21 12i e 2it 65 ( 21 65 12 65 i)e2it ( 21 65 12 65 21 65 cos(2t) + 12 65 i)(cos(2t) + isin(2t)) 21 sin(2t) + i( 12cos(2t) 65 65 sin(2t)) Let us use Re(w) and Im(w) to denote the real and imaginary parts of the complex number w. Then, we see that the real part of y c (t) is Re(y c (t)) 21 12 cos(2t) + 65 65 sin(2t) This is our particular solution to equation (9).

September 29, 201 9-9 If we had started with y + 2y y sin(2t), (11) then the same method applies. We simply take the imaginary part of y c (t) to get our particular solution to (11) as Im(y c (t)) 12 21 cos(2t) 65 65 sin(2t) As we saw in this example, it is usually necessary to divide by complex numbers and then take real or imaginary parts. For instance, we may have the number a + bi c + di, and we have to take the real or imaginary part. As in example 4 in Section 8, it is useful to transform the division into a multiplation using the formula for the inverse This gives 1 c + di c di c 2 + d. 2 a + bi c + di (a + bi) c di c 2 + d 2 ac + bd + (bc ad)i, c 2 + d 2 and we can read the real and imaginary parts off easily as we did in the above example. Another method to solve equations (9) or (11), which does not use complex methods is to assume a solution of the form Acos(t)+Bsin(t), plug in and solve for A and B. As we mentioned above, the advantage of complex arithmetic is that it allows us to keep track of coefficients two at a time, and thus only do half the number of the calculations.

September 29, 201 9-10 Example 6. Let us consider another example. Solve the IVP Solution: y + 5y + 2y sin(4t), y(0) 1, y (0) 2 (12) Step 1. Find the general solution to the associated homogeneous equation. The characteristic equation is z(r) r 2 + 5r + 2 which has the roots r 1 5 + 17, r 2 5 17 2 2 The general solution to this homogeneous equation is y(t) c 1 exp(r 1 t) + c 2 exp(r 2 t) (We do not need this here, but let us observe that the first fundamental solution of the homogeneous equation is y 1 (t) exp(r 1 t), and the second fundamental solution is y 2 (t) exp(r 2 t)). Step 2. Find a particular solution. We observe that the given ODE is the imaginary part of the complex ODE y + 5y + 2y e 4it Since, 4i is not a root of z(r), we get a particular complex solution of the form y c (t) z(4i) e4it (cos(4t) + isin(4t)) (4i) 2 + 20i + 2 (cos(4t) + isin(4t)) 16 + 20i + 2

September 29, 201 9-11 (cos(4t) + isin(4t)) 14 + 20i ( 14 20i) (cos(4t) + isin(4t)) 14 2 + 20 2 To get a particular solution of (12), we take the imaginary part of y c to get y p The general solution to (12) is ( 14sin(4t) 20cos(4t)) 14 2 + 202 For the IVP, we need This leads to or We re-write this system as with y(t) c 1 exp(r 1 t) + c 2 exp(r 2 t) + y p (t) (1) y(0) 1, y (0) 2 c 1 + c 2 + y p (0) 1 r 1 c 1 + r 2 c 2 + y p(0) 2 c 1 + c 2 + ( 20) 14 2 +20 2 1 r 1 c 1 + r 2 c 2 + ( 14) 4) 14 2 +20 2 2 c 1 + c 2 A r 1 c 1 + r 2 c 2 B A 1 ( 20) ( 14) 4), B 2 14 2 + 202 14 2 + 20 2

September 29, 201 9-12 We solve this system as usual or c 1 A c 2, r 1 (A c 2 ) + r 2 c 2 B c 2 B r 1A r 2 r 1, c 1 A B r 1A r 2 r 1. Then, we get the solution y(t) by plugging everything into equation (1). While this is computationally complicated, the procedure is straightforward.