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

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

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

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

HIGHER-ORDER LINEAR ORDINARY DIFFERENTIAL EQUATIONS II: Nonhomogeneous Case and Vibrations

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

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

20D - Homework Assignment 4

Section 2.4 Linear Equations

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

1 Solution to Homework 4

MATH 308 Differential 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.

c 1 = y 0, c 2 = 1 2 y 1. Therefore the solution to the general initial-value problem is y(t) = y 0 cos(2t)+y sin(2t).

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

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

Solutions to Homework 3

Fall 2001, AM33 Solution to hw7

Lecture 10 - Second order linear differential equations

First-Order Ordinary Differntial Equations: Classification and Linear Equations. David Levermore Department of Mathematics University of Maryland

MATH 308 Differential Equations

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

Second Order Differential Equations Lecture 6

Non-homogeneous equations (Sect. 3.6).

Chapter 4: Higher Order Linear Equations

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

Second Order Linear Equations

Work sheet / Things to know. Chapter 3

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

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

Math 266 Midterm Exam 2

A: Brief Review of Ordinary Differential Equations

UCLA Math 135, Winter 2015 Ordinary Differential Equations

Linear Second Order ODEs

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

4. Higher Order Linear DEs

Algebraic Properties of Solutions of Linear Systems

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

17.2 Nonhomogeneous Linear Equations. 27 September 2007

Math 23 Practice Quiz 2018 Spring

The Laplace Transform and the IVP (Sect. 6.2).

PROBLEMS In each of Problems 1 through 12:

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.

Second-Order Linear ODEs

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

Nonhomogeneous Equations and Variation of Parameters

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

Homework Solutions: , plus Substitutions

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

Problem Score Possible Points Total 150

144 Chapter 3. Second Order Linear Equations

First and Second Order Differential Equations Lecture 4

ORDINARY DIFFERENTIAL EQUATION: Introduction and First-Order Equations. David Levermore Department of Mathematics University of Maryland

ORDINARY DIFFERENTIAL EQUATIONS: Introduction and First-Order Equations. David Levermore Department of Mathematics University of Maryland

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]

MA 266 Review Topics - Exam # 2 (updated)

M343 Homework 6. Enrique Areyan May 31, 2013

Notes on the Periodically Forced Harmonic Oscillator

Exam II Review: Selected Solutions and Answers

FIRST-ORDER ORDINARY DIFFERENTIAL EQUATIONS I: Introduction and Analytic Methods David Levermore Department of Mathematics University of Maryland

Chapter 3: Second Order Equations

MA26600 FINAL EXAM INSTRUCTIONS Fall 2015

Fall 2016 Math 2B Suggested Homework Problems Solutions

Linear Independence and the Wronskian

= AΦ, Φ(0) = I, = k! tk A k = I + ta t2 A t3 A t4 A 4 +, (3) e ta 1

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

APPM 2360: Midterm exam 3 April 19, 2017

The Laplace Transform

PRELIMINARY THEORY LINEAR EQUATIONS

ORDINARY DIFFERENTIAL EQUATIONS

Section 4.7: Variable-Coefficient Equations

Higher Order Linear Equations Lecture 7

Higher-order differential equations

MATH 24 EXAM 3 SOLUTIONS

Work sheet / Things to know. Chapter 3

A BRIEF INTRODUCTION INTO SOLVING DIFFERENTIAL EQUATIONS

Math 256: Applied Differential Equations: Final Review

MATH 251 Examination I October 8, 2015 FORM A. Name: Student Number: Section:

First-Order ODEs. Chapter Separable Equations. We consider in this chapter differential equations of the form dy (1.1)

Sign the pledge. On my honor, I have neither given nor received unauthorized aid on this Exam : 11. a b c d e. 1. a b c d e. 2.

ORDINARY DIFFERENTIAL EQUATIONS

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

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.

Higher Order Linear Equations

dx n a 1(x) dy

+ py 1v + py 1 v + qy 1 v = 0

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

I have read and understood the instructions regarding academic dishonesty:

Series Solutions Near an Ordinary Point

ODE Homework Solutions of Linear Homogeneous Equations; the Wronskian

Lecture 14: Forced/free motion; variation of parameters

Math K (24564) - Homework Solutions 02

Homogeneous Equations with Constant Coefficients

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

Math 308 Week 8 Solutions

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

Math 215/255 Final Exam (Dec 2005)

Lecture 16. Theory of Second Order Linear Homogeneous ODEs

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

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.

Transcription:

Nonhomogeneous Linear Equations: Variation of Parameters Professor David Levermore 17 October 2004 We now return to the discussion of the general case L(t)y = a 0 (t)y + a 1 (t)y + a 2 (t)y = b(t). (1.1) Important Fact: If you know the general solution of the associated homogeneous problem L(t)y = 0 then you can always reduce the construction of the general solution of (1.1) to the problem of finding two primitives (antiderivatives). The method for doing this is called variation of parameters. Because at this point you only know how to find general solutions of homogeneous problems with constant coefficients, problems you will be given will generally fall into one of two categories. Either (1) the problem will have variable coefficients and you will be given a fundamental set of solutions for the associated homogeneous problem, or (2) the problem will have constant coefficients and you will be expected to find a fundamental set of solutions for the associated homogeneous problem. We shall first illustrate the method of variation of parameters on second order equations in the normal form L(t)y = y + p(t)y + q(t)y = g(t). (1.2) You can put the general equation (1.1) into normal form by simply dividing by a 0 (t). Suppose you know that Y 1 (t) and Y 2 (t) are linearly independent solutions of the homogeneous problem L(t)y = 0 associated with (1.2). The general solution of the homogeneous problem is then given by y = Y H (t) = c 1 Y 1 (t) + c 2 Y 2 (t). (1.3) The idea of the method of variation of parameters is to seek solutions of (1.2) in the form y = u 1 (t)y 1 (t) + u 2 (t)y 2 (t). (1.4) In other words you simply replace the arbitrary constants c 1 and c 2 in (1.3) with unknown functions u 1 (t) and u 2 (t). These functions are the varying parameters referred to in the title of the method. These two functions will be governed by a system of two equations, one of which is derived by requiring that (1.2) is satisfied, and the other of which is chosen to simplify the resulting system. Let us see how this is done. Differentiating (1.4) yields y = u 1 (t)y 1 (t) + u 2(t)Y 2 (t) + u 1 (t)y 1(t) + u 2 (t)y 2(t). (1.5) We now choose to impose the condition u 1 (t)y 1(t) + u 2 (t)y 2(t) = 0, (1.6) 1

2 whereby (1.5) simplifies to Differentiating (1.7) then yields y = u 1 (t)y 1 (t) + u 2(t)Y 2 (t). (1.7) y = u 1 (t)y 1 (t) + u 2(t)Y 2 (t) + u 1 (t)y 1 (t) + u 2 (t)y 2 (t). (1.8) Now substituting (1.4), (1.7), and (1.8) into (1.2) and using the fact that Y 1 (t) and Y 2 (t) are solutions of L(t)y = 0 we find that g(t) = L(t)y = y + p(t)y + q(t)y = u 1 (t)y 1 (t) + u 2 (t)y 2 (t) + u 1(t)Y 1(t) + u 2(t)Y 2(t) + p(t)u 1 (t)y 1 (t) + p(t)u 2(t)Y 2 (t) + q(t)u 1 (t)y 1 (t) + q(t)u 2 (t)y 2 (t) = u 1 (t) [ Y 1 (t) + p(t)y 1 (t) + q(t)y 1(t) ] + u 2 (t) [ Y 2 (t) + p(t)y 2(t) + q(t)y 2 (t) ] + u 1 (t)y 1 (t) + u 2 (t)y 2 (t) = u 1 (t) [ L(t)Y 1 (t) ] + u 2 (t) [ L(t)Y 2 (t) ] + u 1 (t)y 1 (t) + u 2 (t)y 2 (t) = u 1 (t)y 1 (t) + u 2 (t)y 2 (t). (1.9) Here we have used the fact that L(t)Y 1 (t) = 0 and L(t)Y 2 (t) = 0 to see that many terms in the expression for L(t)y cancel. The resulting system that governs u 1 (t) and u 2 (t) is thereby given by (1.6) and (1.9): u 1 (t)y 1(t) + u 2 (t)y 2(t) = 0, u 1(t)Y 1(t) + u 2(t)Y 2(t) = g(t). (1.10) This is a linear system of two algebraic equations for u 1 (t) and u 2 (t). Because ( Y1 (t)y 2 (t) Y 2(t)Y 1 (t)) = W(Y 1, Y 2 )(t) 0, one can always solve this system to find u 1(t) = Y 2(t)g(t) W(Y 1, Y 2 )(t), u 2(t) = Y 1(t)g(t) W(Y 1, Y 2 )(t). Letting U 1 (t) and U 2 (t) be any primitives of the respective right-hand sides above, one sees that u 1 (t) = c 1 + U 1 (t), u 2 (t) = c 2 + U 2 (t),

3 whereby (1.4) yields the general solution y = c 1 Y 1 (t) + U 1 (t)y 1 (t) + c 2 Y 2 (t) + U 2 (t)y 2 (t). Notice that this decomposes as y = Y H (t) + Y P (t) where Y H (t) = c 1 Y 1 (t) + c 2 Y 2 (t), Y P (t) = U 1 (t)y 1 (t) + U 2 (t)y 2 (t). The best way to apply this method in practice is not to memorize one of the various formulas for the final solution given in the book, but rather to construct the linear system (1.10), which can then be rather easily solved for u 1 (t) and u 2 (t). Given Y 1(t) and Y 2 (t), a fundamental set of solutions to the associated homogeneous problem, you proceed as follows. 1) Write the equation in the normal form 2) Write the form of the solution you seek: y + p(t)y + q(t)y = g(t). y = u 1 (t)y 1 (t) + u 2 (t)y 2 (t). 3) Write the algebraic linear system for u 1 (t) and u 2 (t): u 1 (t)y 1(t) + u 2 (t)y 2(t) = 0, u 1 (t)y 1 (t) + u 2 (t)y 2 (t) = g(t). The form of the left-hand sides of this system mimics the form of the solution we seek. The first equation simply replaces u 1 (t) and u 2 (t) with u 1 (t) and u 2 (t), while the second also replaces Y 1 (t) and Y 2 (t) with Y 1(t) and Y 2(t). 4) Solve the algebraic system for u 1 (t) and u 2 (t). This is always very easy to do, especially if you start with the first equation. 5) Integrate to find u 1 (t) and u 2 (t). If you cannot find a primitive analytically then express that primitive in terms of a definite integral. Remember to include the constants of integration, c 1 and c 2. 6) Substitute the result into the form of the solution you wrote down in step 2. If the problem is an initial-value problem you must determine c 1 and c 2 from the initial conditions. Example: Find the general solution of y + y = sec(t).

4 Before presenting the solution, notice that while this equation has constant coefficients, the driving is not of the form that would allow you to use the method of undetermined coefficients. You should be able to recognize this right away and thereby see that the only method you can use to solve this problem is variation of parameters. The equation is in normal form. Because this problem has constant coefficients, it is easily found that Y H (t) = c 1 cos(t) + c 2 sin(t). Hence, we will seek a solution of the form y = u 1 (t) cos(t) + u 2 (t) sin(t), where u 1(t) cos(t) + u 2(t) sin(t) = 0, u 1 (t) sin(t) + u 2 (t) cos(t) = sec(t). Solving this system by any means you choose yields u sin(t) 1 (t) = cos(t), u 2 (t) = 1. These can be integrated analytically to obtain Therefore the general solution is u 1 (t) = c 1 + ln( cos(t) ), u 2 (t) = c 2 + t. y = c 1 cos(t) + c 2 sin(t) + ln( cos(t) ) cos(t) + t sin(t). Example: Find the general solution of y 2y + y = et Before presenting the solution, notice that while this equation has constant coefficients, the driving is not of the form that would allow you to use the method of undetermined coefficients. You thereby see that the only method you can use to solve this problem is variation of parameters. The equation is in normal form. Because this problem has constant coefficients, it is easily found that Y H (t) = c 1 e t + c 2 te t. Hence, we will seek a solution of the form y = u 1 (t)e t + u 2 (t)te t,

5 where u 1 (t)et + u 2 (t)tet = 0, u 1 (t)et + u 2 (t)(1 + t)et = et Upon factoring out the e t from each equation, one find that u 1 (t) + u 2 (t)t = 0, u 1(t) + u 2(t)(1 + t) = 1 Solving this system by any means you choose yields u 1 (t) = t 1 + t, 2 u 2 (t) = 1 1 + t. 2 These can be integrated analytically to obtain Therefore the general solution is u 1 (t) = c 1 1 2 ln(1 + t2 ), u 2 (t) = c 2 + tan 1 (t). y = c 1 e t + c 2 te t 1 2 ln(1 + t2 )e t + tan 1 (t)te t.