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

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

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

Nonhomogeneous Linear Equations: Variation of Parameters Professor David Levermore 17 October 2004 We now return to the discussion of the general case

4. Higher Order Linear DEs

Second Order Differential Equations Lecture 6

Nonhomogeneous Equations and Variation of Parameters

GUIDELINES FOR THE METHOD OF UNDETERMINED COEFFICIENTS

Solutions to Homework 3

MATH 23 Exam 2 Review Solutions

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

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

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.

Euler-Cauchy Using Undetermined Coefficients

Jim Lambers MAT 285 Spring Semester Practice Exam 2 Solution. y(t) = 5 2 e t 1 2 e 3t.

The Method of Undetermined Coefficients.

Higher Order Linear Equations Lecture 7

Chapter 4: Higher Order Linear Equations

Chapter 3: Second Order Equations

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.

Homogeneous Equations with Constant Coefficients

Second-Order Linear ODEs

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

MATH 251 Examination I February 23, 2017 FORM A. Name: Student Number: Section:

17.2 Nonhomogeneous Linear Equations. 27 September 2007

1 Differential Equations

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

APPM 2360: Midterm exam 3 April 19, 2017

MATH 308 Differential Equations

20D - Homework Assignment 4

1 Solution to Homework 4

First and Second Order Differential Equations Lecture 4

Ordinary differential equations

Math 266 Midterm Exam 2

MA 266 Review Topics - Exam # 2 (updated)

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

Second Order Linear Equations

MATH 308 Differential Equations

Non-homogeneous equations (Sect. 3.6).

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

Math 216 Second Midterm 16 November, 2017

Section 4.7: Variable-Coefficient Equations

Chapter 2. Linear Differential Equation of Second (or Higher) Order

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

Diff. Eq. App.( ) Midterm 1 Solutions

Electrical Circuits (2)

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

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

Math K (24564) - Homework Solutions 02

Math 308 Week 8 Solutions

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

Name: Solutions Final Exam

Math 2142 Homework 5 Part 1 Solutions

Selected Solutions: 3.5 (Undetermined Coefficients)

Second Order Linear Equations

Math53: Ordinary Differential Equations Autumn 2004

MAE 82 Engineering Mathematics

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

Math 201 Lecture 08 Undetermined Coefficients

Section 2.4 Linear Equations

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

Homework Solutions:

APPM 2360: Midterm 3 July 12, 2013.

4.2 Homogeneous Linear Equations

3.5 Undetermined Coefficients

Work sheet / Things to know. Chapter 3

144 Chapter 3. Second Order Linear Equations

Second order linear equations

Forced Mechanical Vibrations

UNDETERMINED COEFFICIENTS SUPERPOSITION APPROACH *

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]

Math K (24564) - Lectures 02

Logarithmic and Exponential Equations and Change-of-Base

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

Higher Order Linear Equations

dx n a 1(x) dy

M343 Homework 6. Enrique Areyan May 31, 2013

First Order Linear Ordinary Differential Equations

MATH 251 Examination I October 5, 2017 FORM A. Name: Student Number: Section:

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.

New Technique For Solving System of First Order Linear Differential Equations

Homework #3 Solutions

Ma 227 Review for Systems of DEs

Lecture 8: Ordinary Differential Equations

HIGHER-ORDER LINEAR ORDINARY DIFFERENTIAL EQUATIONS IV: Variable Coefficient Nonhomogeneous Case

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

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

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

4.317 d 4 y. 4 dx d 2 y dy. 20. dt d 2 x. 21. y 3y 3y y y 6y 12y 8y y (4) y y y (4) 2y y 0. d 4 y 26.

MATH 251 Week 6 Not collected, however you are encouraged to approach all problems to prepare for exam

Math 216 Second Midterm 19 March, 2018

MATH 24 EXAM 3 SOLUTIONS

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

Section 6.4 DEs with Discontinuous Forcing Functions

Lecture 14: Forced/free motion; variation of parameters

Elementary Differential Equations, Section 2 Prof. Loftin: Practice Test Problems for Test Find the radius of convergence of the power series

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

Later in this chapter, we are going to use vector functions to describe the motion of planets and other objects through space.

Form A. 1. Which of the following is a second-order, linear, homogenous differential equation? 2

PROBLEMS In each of Problems 1 through 12:

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

Transcription:

Differential Equations Practice: 2nd Order Linear: Nonhomogeneous Equations: Variation of Parameters Page Questions Example (3.6.) Find a particular solution of the differential equation y 5y + 6y = 2e t. Check your answer using Example (3.6.4) Find a particular solution of the differential equation 4y 4y + y = 6e t/2. Check your answer using Example (3.6.3) Verify that y (t) = t 2 and y 2 (t) = t are solutions of the corresponding homogeneous differential equation for t 2 y 2y = 3t 2 for t > 0. Then find a particular solution of the nonhomogeneous differential equation. Solutions Example (3.6.) Find a particular solution of the differential equation y 5y + 6y = 2e t. Check your answer using This is a nonhomogeneous constant coefficient equation. We first solve the associated homogeneous differential equation: y 5y + 6y = 0 Since this is a constant coefficient differential equation, we assume the solution looks like y = e rt. Then: y = e rt, y = re rt, y = r 2 e rt. y 5y + 6y = 0 (r 2 5r + 6)e rt = 0 r 2 5r + 6 = 0 characteristic equation (r 3)(r 2) = 0 The roots of the characteristic equation are r = 3 and r 2 = 2. A fundamental set of solutions to the associated homogeneous equation is y (t) = e 3t and y 2 (t) = e 2t. The complementary solution is therefore y c (t) = c i y i (t) = c e 3t + c 2 e 2t. To find a particular solution, we assume a solution looks similar to the complementary solution, only with functions which we need to determine instead of constants (hence the name, variation of parameters): Y (t) = µ i (t)y i (t) = µ (t)e 3t + µ 2 (t)e 2t. Now differentiate: Y (t) = µ (t)e 3t + 3µ (t)e 3t + µ 2(t)e 2t + 2µ 2 (t)e 2t = 3µ (t)e 3t + 2µ 2 (t)e 2t. where we have introduced the condition: µ (t)e 3t + µ 2(t)e 2t = 0. () Differentiate again: Y (t) = 3µ (t)e 3t + 2µ 2(t)e 2t + 9µ (t)e 3t + 4µ 2 (t)e 2t.

Differential Equations Practice: 2nd Order Linear: Nonhomogeneous Equations: Variation of Parameters Page 2 y 5y + 6y = 2e t 3µ (t)e 3t + 2µ 2(t)e 2t + 9µ (t)e 3t + 4µ 2 (t)e 2t 5(3µ (t)e 3t + 2µ 2 (t)e 2t ) + 6(µ (t)e 3t + µ 2 (t)e 2t ) = 2e t 3µ (t)e 3t + 2µ 2(t)e 2t = 2e t (2) All the terms without derivatives of the µ i (t) should drop out at this stage; if they don t check your work! We have the two equations (Eq. (??) and (??)) in two unknowns: µ (t)e 3t + µ 2(t)e 2t = 0 3µ (t)e 3t + 2µ 2(t)e 2t = 2e t Solve using Cramer s rule: 0 e 2t µ 2e t 2e 2t (t) = e 3t e 2t 3e 3t 2e 2t = 2e3t e 5t = +2e 2t, so we can solve this differential equation for µ (t): µ (t) = 2e 2t dµ (t) = 2 e 2t dt µ (t) = e 2t + k = e 2t set the constant to zero since we are interested in any particular solution Similarly, for µ 2 (t) we find: e 3t 0 µ 3e 3t 2e t 2(t) = e 3t e 2t 3e 3t 2e 2t = 2e4t e 5t = 2e t, so we can solve this differential equation for µ 2(t): µ 2(t) = 2e t dµ 2 (t) = 2 e t dt µ 2 (t) = 2e t + k 2 = 2e t set the constant to zero since we are interested in any particular solution A particular solution is therefore: y p (t) = µ (t)e 3t + µ 2 (t)e 2t = e 2t e 3t + 2e t e 2t = e t. We can use the method of undetermined coefficients to check, since the form of g(t) = 2e t is one of our special forms. Initially, assume a solution of the original differential equation is Y (t) = Ae t, since g(t) is an exponential. There is no overlap with y c (t), so this will be a solution of the nonhomogeneous equation. All we need to do is substitute it in and determine the value of the constants A and B. Y (t) = Ae t Y (t) = Ae t Y (t) = Ae t

Differential Equations Practice: 2nd Order Linear: Nonhomogeneous Equations: Variation of Parameters Page 3 Substitute into the differential equation y 5y + 6y = 2e t Ae t 5Ae t + 6Ae t = 2e t 2A = 2 A = A particular solution is therefore y p (t) = Y (t) = Ae t = e t, which verifies what we found using variation of parameters. Example (3.6.4) Find a particular solution of the differential equation 4y 4y + y = 6e t/2. Check your answer using This is a nonhomogeneous constant coefficient equation. We first solve the associated homogeneous differential equation: 4y 4y + y = 0. Since this is a constant coefficient differential equation, we assume the solution looks like y = e rt. Then: y = e rt, y = re rt, y = r 2 e rt. 4y 4y + y = 0 (4r 2 4r + )e rt = 0 4r 2 4r + = 0 characteristic equation (2r )(2r ) = 0 The root of the characteristic equation is r = /2 of multiplicity two. A fundamental set of solutions to the associated homogeneous equation is y (t) = e t/2 and y 2 (t) = te t/2. The complementary solution is therefore y c (t) = c i y i (t) = c e t/2 + c 2 te t/2. To find a particular solution, we assume a solution looks similar to the complementary solution, only with functions which we need to determine instead of constants: Y (t) = µ i (t)y i (t) = µ (t)e t/2 + µ 2 (t)te t/2. Now differentiate: Y (t) = µ (t)e t/2 + µ 2(t)te t/2 + 2 µ (t)e t/2 + µ 2 (t) where we have introduced the condition: ( ) 2 tet/2 + e t/2 = ( ) 2 µ (t)e t/2 + µ 2 (t) 2 tet/2 + e t/2 µ (t)e t/2 + µ 2(t)te t/2 = 0. (3) Differentiate again: Y (t) = 2 µ (t)e t/2 + µ 2(t) ( ) 2 tet/2 + e t/2 + ( ) 4 µ (t)e t/2 + µ 2 (t) 4 tet/2 + e t/2.

Differential Equations Practice: 2nd Order Linear: Nonhomogeneous Equations: Variation of Parameters Page 4 [ 4 2 µ (t)e t/2 + µ 2(t) 4 ( ) 2 tet/2 + e t/2 [ 2 µ (t)e t/2 + µ 2 (t) + ( 4 µ (t)e t/2 + µ 2 (t) )] ( 2 tet/2 + e t/2 4y 4y + y )] = 6e t/2 4 tet/2 + e t/2 [ + µ (t)e t/2 + µ 2 (t)te t/2] = 6e t/2 2e t/2 µ + 4(e t/2 + t 2 et/2 )µ 2 = 6e t/2 (4) All the terms without derivatives of the µ i (t) should drop out at this stage; and they did! This is a good indication that our calculations are correct so far. We have the two equations (Eq. (??) and (??)) in two unknowns: µ (t) + tµ 2(t) = 0 2µ (t) + (4 + 2t)µ 2(t) = 6 Solve using Cramer s rule: 0 t µ 6 4 + 2t (t) = t 2 4 + 2t = 6t 4 = 4t, so we can solve this differential equation for µ (t): µ (t) = 4t dµ (t) = 4 t dt µ (t) = 2t 2 + k = 2t 2 set the constant to zero since we are interested in any particular solution Similarly, for µ 2 (t) we find: 0 µ 2 6 2(t) = t = 6 4 = 4, 2 4 + 2t so we can solve this differential equation for µ 2(t): µ 2(t) = 4 dµ 2 (t) = 4 dt µ 2 (t) = 4t + k 2 = 4t set the constant to zero since we are interested in any particular solution A particular solution is therefore: y p (t) = µ (t)e t/2 + µ 2 (t)te t/2 = 2t 2 e t/2 + 4tte t/2 = 2t 2 e t/2. We can use the method of undetermined coefficients to check, since the form of g(t) = 6e t2 /2 is one of our special forms. I leave this to you. Example (3.6.3) Verify that y (t) = t 2 and y 2 (t) = t are solutions of the corresponding homogeneous differential equation for t 2 y 2y = 3t 2 for t > 0. Then find a particular solution of the nonhomogeneous differential equation. This is a nonhomogeneous variable coefficient equation. We will learn how to solve variable coefficient differential equations using series solutions in Chapter 5. All we need to do is verify that the given functions are solutions.

Differential Equations Practice: 2nd Order Linear: Nonhomogeneous Equations: Variation of Parameters Page 5 Substitute y into the differential equation: y = t 2 y = 2t y = 2 t 2 y 2y = t 2 (2) 2(t 2 ) = 0 (5) Therefore, y solves the associated homogeneous differential equation. Substitute y 2 into the differential equation: y 2 = t y 2 = t 2 y 2 = 2t 3 t 2 y 2y = t 2 (2t 3 ) 2(t ) = 0 (6) Therefore, y 2 solves the associated homogeneous differential equation. The complementary solution is therefore y c (t) = c i y i (t) = c t 2 + c 2 t. To find a particular solution, we assume a solution looks similar to the complementary solution, only with functions which we need to determine instead of constants: Y (t) = µ i (t)y i (t) = µ (t)t 2 + µ 2 (t)t. Now differentiate: Y (t) = µ (t)t 2 + µ 2(t)t + 2µ (t)t µ 2 (t)t 2 = 2µ (t)t µ 2 (t)t 2 where we have introduced the condition: µ (t)t 2 + µ 2(t)t = 0. (7) Differentiate again: Y (t) = 2µ (t)t µ 2(t)t 2 + 2µ (t) + 2µ 2 (t)t 3 t 2 y 2y = 3t 2 t 2 [ 2µ (t)t µ 2(t)t 2 + 2µ (t) + 2µ 2 (t)t 3] 2 [ µ (t)t 2 + µ 2 (t)t ] = 3t 2 2t 3 µ µ 2 = 3t 2 (8) We have the two equations (Eq. (??) and (??)) in two unknowns: 2t 3 µ µ 2 = 3t 2 µ (t)t 2 + µ 2(t)t = 0

Differential Equations Practice: 2nd Order Linear: Nonhomogeneous Equations: Variation of Parameters Page 6 Solve using Cramer s rule: 3t2 µ 0 t (t) = 2t3 t 2 t = 3t t 2t 2 + t 2 = t 3 t 3, so we can solve this differential equation for µ (t): µ (t) = t 3 t 3 dµ (t) = (t 3 ) t 3 dt µ (t) = ln t + t 2 6 + k = ln t + t 2 6 Where we set the constant k to zero since we are interested in any particular solution and there is no absolute value in logarithm since x > 0. Similarly, for µ 2 (t) we find: 2t3 3t 2 µ t 2 0 2(t) = 2t3 t 2 t = 3t4 + t 2 2t 2 + t 2 = t 2 + 3, so we can solve this differential equation for µ 2(t): µ 2(t) = t 2 + ( 3 dµ 2 (t) = t 2 + ) dt 3 µ 2 (t) = t3 3 + t 3 + k 2 = t3 3 + t 3 A particular solution is therefore: ) ( y p (t) = µ (t)t 2 + µ 2 (t)t = (ln t + t 2 t 2 + t3 6 3 + t ) t = t 2 ln t + 3 2 t2 3. Note that t 2 /3 = cy (t) is actually a solution of the homogeneous equation. A simpler particular solution is therefore y p (t) = t 2 ln t + 2. We could use the method of undetermined coefficients to check, since the form of g(t) = 3t 2 is one of our special forms.