GUIDELINES FOR THE METHOD OF UNDETERMINED COEFFICIENTS

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

Example. Mathematics 255: Lecture 17. Example. Example (cont d) Consider the equation. d 2 y dt 2 + dy

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

Nonhomogeneous Equations and Variation of Parameters

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

Math53: Ordinary Differential Equations Autumn 2004

Second Order Linear Equations

Second Order Differential Equations Lecture 6

1 Some general theory for 2nd order linear nonhomogeneous

Selected Solutions: 3.5 (Undetermined Coefficients)

1 Solution to Homework 4

Chapter 3 : Linear Differential Eqn. Chapter 3 : Linear Differential Eqn.

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

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

SECOND ORDER ODE S. 1. A second order differential equation is an equation of the form. F (x, y, y, y ) = 0.

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

Ordinary Differential Equations

Worksheet # 2: Higher Order Linear ODEs (SOLUTIONS)

Math 54. Selected Solutions for Week 10

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

Section 6.4 DEs with Discontinuous Forcing Functions

Solutions to Homework 3

SOLVING DIFFERENTIAL EQUATIONS. Amir Asif. Department of Computer Science and Engineering York University, Toronto, ON M3J1P3

UNDETERMINED COEFFICIENTS SUPERPOSITION APPROACH *

Work sheet / Things to know. Chapter 3

Forced Mechanical Vibrations

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

Higher-order differential equations

Chapter 4: Higher Order Linear Equations

Linear Algebra and ODEs review

1 Differential Equations

Math 266 Midterm Exam 2

MATH 308 Differential Equations

Name: Solutions Final Exam

Math 216 Second Midterm 28 March, 2013

Ordinary differential equations

Chapter 3: Second Order Equations

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

Math 20D Final Exam 8 December has eigenvalues 3, 3, 0 and find the eigenvectors associated with 3. ( 2) det

Math 2Z03 - Tutorial # 6. Oct. 26th, 27th, 28th, 2015

Section 4.7: Variable-Coefficient Equations

LINEAR EQUATIONS OF HIGHER ORDER. EXAMPLES. General framework

Math 2142 Homework 5 Part 1 Solutions

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

MA 266 Review Topics - Exam # 2 (updated)

MATH 23 Exam 2 Review Solutions

Euler-Cauchy Using Undetermined Coefficients

Math 201 Lecture 09: Undetermined Coefficient Cont.

Non-homogeneous equations (Sect. 3.6).

3.5 Undetermined Coefficients

6. Linear Differential Equations of the Second Order

Linear Second Order ODEs

We shall finally briefly discuss the generalization of the solution methods to a system of n first order differential equations.

Math Ordinary Differential Equations

MA Ordinary Differential Equations

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

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

Systems. x 1 = ax 1 + bx 2, x 2 = cx 1 + dx 2,

Finish up undetermined coefficients (on the midterm, on WW3) Physics applications - mass springs (not on midterm, on WW4)

Name: Solutions Exam 2

Notes on the Periodically Forced Harmonic Oscillator

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.

Exam II Review: Selected Solutions and Answers

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.

dx n a 1(x) dy

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.

ELG 3150 Introduction to Control Systems. TA: Fouad Khalil, P.Eng., Ph.D. Student

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

Answer Key b c d e. 14. b c d e. 15. a b c e. 16. a b c e. 17. a b c d. 18. a b c e. 19. a b d e. 20. a b c e. 21. a c d e. 22.

Higher Order Linear Equations

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

A: Brief Review of Ordinary Differential Equations

SECOND-ORDER DIFFERENTIAL EQUATIONS

Section 9.8 Higher Order Linear Equations

IV Higher Order Linear ODEs

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

THE DIVISION THEOREM IN Z AND R[T ]

we get y 2 5y = x + e x + C: From the initial condition y(0) = 1, we get 1 5 = 0+1+C; so that C = 5. Completing the square to solve y 2 5y = x + e x 5

M343 Homework 6. Enrique Areyan May 31, 2013

MATHEMATICS FOR ENGINEERS & SCIENTISTS 23

The Corrected Trial Solution in the Method of Undetermined Coefficients

Math K (24564) - Homework Solutions 02

INHOMOGENEOUS LINEAR SYSTEMS OF DIFFERENTIAL EQUATIONS

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

Second order linear equations

Second In-Class Exam Solutions Math 246, Professor David Levermore Thursday, 31 March 2011

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

Higher Order Linear Equations Lecture 7

Review. To solve ay + by + cy = 0 we consider the characteristic equation. aλ 2 + bλ + c = 0.

MATH 24 EXAM 3 SOLUTIONS

FINAL EXAM SOLUTIONS, MATH 123

DIFFERENTIAL EQUATIONS REVIEW. Here are notes to special make-up discussion 35 on November 21, in case you couldn t make it.

THE DIVISION THEOREM IN Z AND F [T ]

The bifurcation diagram for r = 0.8.

Laplace Transforms Chapter 3

144 Chapter 3. Second Order Linear Equations

Problem Score Possible Points Total 150

Old Math 330 Exams. David M. McClendon. Department of Mathematics Ferris State University

HIGHER-ORDER LINEAR ORDINARY DIFFERENTIAL EQUATIONS II: Nonhomogeneous Equations. David Levermore Department of Mathematics University of Maryland

The Method of Undetermined Coefficients.

Transcription:

GUIDELINES FOR THE METHOD OF UNDETERMINED COEFFICIENTS Given a constant coefficient linear differential equation a + by + cy = g(t), where g is an exponential, a simple sinusoidal function, a polynomial, a product of these functions: 1. Find a pair of linearly independent solutions of the homogeneous problem: {y 1, y 2 }. 2. If g is NOT a solution of the homogeneous equation, take a trial solution of the same type as g as suggested in the table below: Fcing Function ae rt a sin (ωt) a cos (ωt) at n n a positive integer at n e rt n a positive integer t n [a sin (ωt) + b cos (ωt)] n a positive integer e rt [a sin (ωt) + b cos (ωt)] Trial Solution Ae rt A sin (ωt) + B cos (ωt) P (t) P a general polynomial of degree n P (t)e rt P a general polynomial of degree n P (t)[a sin (ωt) + B cos (ωt)] P a general polynomial of degree n e rt [A sin (ωt) + B cos (ωt)] 3. If g is a solution of the homogeneous problem, take a trial solution of the same type as g multiplied by the lowest power of t f which NO TERM of the trial solution is a solution of the homogeneous equation. 4. Substitute the trial solution into the differential equation and solve f the undetermined coefficients so that it is a particular solution y p. 5. Set y(t) = y p (t) + [c 1 y 1 (t) + c 2 y 2 (t)] where the constants c 1 and c 2 can be determined if initial conditions are given. 6. If g is a sum of the type of fcing function described above, split the problem into simpler parts. Find a particular solution f each of these, then add particular solutions to obtain y p f the complete equation. 1

Examples: In most of the following examples, we discuss the differential equation + y 6y = g(t), f various choices of the fcing function g. Note that the associated homogeneous equation has characteristic polynomial λ 2 + λ 6 which two distinct real roots, λ 1 = 3, and λ 2 = 2. Hence the two linearly independent solutions f the homogeneous equation are y 1 = e 3t and y 2 = e 2t. (a) If g(t) = 5e 4t, then we take a trial solution y p (t) := Ae 4t, with y p = 4Ae 4t and y p = 16Ae 4t. Then, we substitute these values into the differential equation. One convenient way to ganize our wk is to write things down as follows: p(t) = 16Ae 4t +y p(t) = 4e 4t 6y p (t) = 6Ae 4t y p + y p 6y = 14Ae 4t 14Ae 4t = 5e 4t Hence, 14A = 5 A = 5/14 and the particular solution f this problem is y p (t) = 5 14 e4t, with general solution y(t) = 5 14 e4t + [ c 1 e 3t + c 2 e 2t]. Suppose that we are given initial conditions y(0) = 1/2 and y (0) = 2π/2. Then, since y (t) = 5 14 e4t + [ 3c 1 e 3t + 2c 2 e 2t], we can compute the constants c 1, c 2 so that the solution satisfies the initial conditions. Indeed, y(0) = 5 14 + c 1 + c 2 = 1 2 y (0) = 20 14 3c 1 + 2c 2 = 2 2π 2

c 1 + c 2 = 1 7 3c 1 + 2c 2 = 7 2π 20 14 From the first, c 1 = (1/7) c 2 so that, substituting into the second yields so that 3 ( 1 7 c 2 c 2 = ) + 2c 2 = 7 2π 20 14 5c 2 = 7 2π 20 14 + 3 7 2π 2, and c 1 = 1 2π 2. 10 7 10 Thus we have the solution to the initial value problem: y(t) = 5 ( ) ( 12 2π 14 e4t + 35 e 3t + 1 ) 2π 10 5 + e 2t. 10 (b) Let g(t) = 4e 2t, and take a trial solution y p (t) = Ae 2t. Then y p(t) = 2Ae 2t and p(t) = 4Ae 2t. Then, p(t) = 4Ae 2t +y p(t) = 2e 2t 6y p (t) = 6Ae 2t y p + y p 6y = 0Ae 4t 0 = 5e 2t From this result, we conclued that we have chosen the wrong trial function. The difficulty here is that Ae 2t is a solution of the homogeneous problem, so it cannot be used as a trial function because any constant multiple will also be a solution of the homogeneous problem. The crect choice is y p (t) = A t e 2t, with y p = A[2 t e 2t + e 2t ] and y p = A[4 t e 2t + 4e 2t ]. Then 3

p(t) = 4Ate 2ta+4Ae2t +y p(t) = 2Ate 2t + Ae 2t 6y p (t) = 6Ate 2t y p + y p 6y = 5Ae 2t 5Ae 2t = 4e 4t, so that 5A = 4 A = 4/5. It follows that a general solution is y(t) = 4 5 te2t + [ c 1 e 3t + c 2 e 2t]. (c) Suppose that g(t) = 5t. We take a trial solution in the fm of a general polynomial of degree one, y p (t) = At + B with y p = A and y p = 0. Hence p(t) = 0 +y p(t) = A 6y p (t) = 6At 6B y p + y p 6y = 6At + (A 6B) 6At + (A 6B) = 5t, It follows that A 6B = 0 and 6A = 5, and therefe we find that A = (5/6), B = (5/36), which results in the particular solution y p (t) = 5 6 t 5 36. CAUTIONARY NOTE: Suppose we had chosen the trial function simply as y p (t) = At with no constant term B which has the same derivatives as our first selection. Then substitution yields p(t) + y p(t) 6y p (t) = A 6At = 5t. This last equation, A 6At = 5t has no constant solution A and the method fails. 4

In der to illustrate the next point, we will look at a different differential equation: + y + 1 4 y = te t 2. (d) It is easy to check that the characteristic polynomial λ 2 + λ + (1/4) has a double root λ = (1/2). While we may be tempted to take a trial solution of the fm y p (t) = (A + Bt)e t 2, we see that such a choice is doomed as it is simply a combination of the solutions to the homogeneous problem. We then try the fm y p (t) = t(a + Bt)e t 2 = (Bt 2 + At)e t 2. Then a tedious calculation leads to: y p = 1 2 (At + Bt2 )e t 2 + (A + 2Bt)e t 2 = [ 1 2 Bt2 + (2B 1 ] 2 A)t) + A e t 2 and p = 1 4 (At + Bt2 )e t 2 + (A + 2Bt)e t 2 + 2Be t 2 [ 1 = 4 Bt2 + ( 2B + 1 ] 4 A)t) + (2B A) e t 2 Using these results, we have: y p(t) = [ 1 4 Bt2 + ( 2B + 1A)t) + (2B 4 A)] e t 2 [ +y p(t) = 1 2 Bt2 + (2B 1A)t) + 2 A] e t 2 1 y 4 p(t) = ( 1 4 Bt2 + 1 4 At) e t 2 y p + y p 6y = 0t 2 + 0t + 2Be t 2 2Be t 2 = te t 2, Again, the resulting equation 2B = t has no constant solution. In this case our err is that, while we have avoided a solution of the homogeneous equation by multiplying the polynomial by t, we still have that ONE of the terms in the new trial solution is a solution of the homogeneous equation, namely the term A t e t 2. We must multiply by a high enough power of t so that NO PART of the resulting trial solution is a solution of the homogeneous problem. In this case, we need a trial solution of the fm y p (t) = t 2 (A + Bt)e t 2. (e) Now we return to the equation + y 6y = g(t) and consider the case when g(t) = 5t + 4e 2t. Here we split the problem into two parts, which we first solve separately and then add to get the partucular solution of the given non-homogeneous equation. So we consider separately 5

(e1) + y 6y = 5t (e2) + y 6y = 4e 2t. Since this example is meant only to illustrate the point, we have chosen two problems which we have already solved above in parts (c) and (b) respectively. Thus a particular solution to (e1) is y p (t) = (5/6)t + (5/36) while a solution of (e2) is y p (t) = (4/5) t e 2t. Hence a particular solution of the full problem cresponding to the fcing function g(t) = 5t + 4e 2t is y p (t) = 5 6 t 5 36 + 4 5 te2t. 6