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

Similar documents
GUIDELINES FOR THE METHOD OF UNDETERMINED COEFFICIENTS

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

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

Chapter 4: Higher Order Linear Equations

Higher Order Linear Equations Lecture 7

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

Math 2142 Homework 5 Part 1 Solutions

Nonhomogeneous Equations and Variation of Parameters

Selected Solutions: 3.5 (Undetermined Coefficients)

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

Exam II Review: Selected Solutions and Answers

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

The Method of Undetermined Coefficients.

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

Forced Mechanical Vibrations

Math53: Ordinary Differential Equations Autumn 2004

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

Ordinary differential equations

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

Worksheet # 2: Higher Order Linear ODEs (SOLUTIONS)

Second Order Differential Equations Lecture 6

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

Math 54. Selected Solutions for Week 10

MATH 308 Differential Equations

LINEAR EQUATIONS OF HIGHER ORDER. EXAMPLES. General framework

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

Chapter 3: Second Order Equations

MA 266 Review Topics - Exam # 2 (updated)

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

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

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

Work sheet / Things to know. Chapter 3

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

Second-Order Linear ODEs

Name: Solutions Final Exam

Section 9.8 Higher Order Linear Equations

Euler-Cauchy Using Undetermined Coefficients

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

Solutions to Homework 3

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

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

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

APPM 2360: Midterm 3 July 12, 2013.

1 Differential Equations

CLTI Differential Equations (3A) Young Won Lim 6/4/15

9 - Matrix Methods for Linear Systems

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.

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

APPM 2360: Midterm exam 3 April 19, 2017

Ordinary Differential Equations

17.2 Nonhomogeneous Linear Equations. 27 September 2007

MA Ordinary Differential Equations

Linear Algebra and ODEs review

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

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

Honors Differential Equations

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

Section 6.4 DEs with Discontinuous Forcing Functions

Solution of Constant Coefficients ODE

1 Solution to Homework 4

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

Math 266 Midterm Exam 2

Find the Fourier series of the odd-periodic extension of the function f (x) = 1 for x ( 1, 0). Solution: The Fourier series is.

Higher Order Linear Equations

3.5 Undetermined Coefficients

Higher-order differential equations

Linear Second Order ODEs

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

Math K (24564) - Lectures 02

Math 308 Final Exam Practice Problems

Math K (24564) - Homework Solutions 02

Alan H. SteinUniversity of Connecticut. Linear Differential Equations With Constant Coefficients

Thursday, August 4, 2011

3 rd class Mech. Eng. Dept. hamdiahmed.weebly.com Fourier Series

Ma 221. The material below was covered during the lecture given last Wed. (1/29/14). Homogeneous Linear Equations with Constant Coefficients

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

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

4.2 Homogeneous Linear Equations

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

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

Applied Differential Equation. November 30, 2012

Linear Differential Equations. Problems

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

Chapter 7. Homogeneous equations with constant coefficients

Review of Lecture 9 Existence and Uniqueness

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.

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

Math 23: Differential Equations (Winter 2017) Midterm Exam Solutions

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

Math 211. Substitute Lecture. November 20, 2000

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

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

Honors Differential Equations

Study guide - Math 220

Section 9.3 Phase Plane Portraits (for Planar Systems)

Math 256: Applied Differential Equations: Final Review

Math Ordinary Differential Equations

4. Higher Order Linear DEs

Fourier transforms. c n e inπx. f (x) = Write same thing in an equivalent form, using n = 1, f (x) = l π

dx n a 1(x) dy

Transcription:

Differential Equations Practice: 2nd Order Linear: Nonhomogeneous Equations: Undetermined Coefficients Page 1 Questions Example (3.5.3) Find a general solution of the differential equation y 2y 3y = 3te t. Example (3.5.7) Find a general solution of the differential equation 2y + 3y + y = t 2 + 3 sin t. Example (3.5.17) Find a general solution of the initial value problem y + y = 3 sin 2t, y(0) = 2, y (0) 1. Solutions Example (3.5.3) Find a general solution of the differential equation y 2y 3y = 3te t. y 2y 3y = 0 y 2y 3y = 0 (r 2 2r 3)e rt = 0 r 2 2r 3 = 0 characteristic equation (r 3)(r + 1) = 0 The roots of the characteristic equation are r 1 = 3 and r 2 = 1. A fundamental set of solutions to the associated homogeneous equation is y 1 (t) = e 3t and y 2 (t) = e t. y c (t) = c i y i (t) = c 1 e 3t + c 2 e t. equation, since the form of g(t) = 3te t is one of our special forms (polynomial and exponential). Initially, assume a solution of the original differential equation is Y (t) = (At + B)e t, since g(t) is the product of an exponential and a polynomial. However, when we compare this Y (t) with y c (t) we see that part of Y (t) is contained in y c (t). This part will satisfy the homogeneous equation, and therefore not satisfy the nonhomogeneous equation! We know before we even start that this is not a solution of the nonhomogeneous differential equation! If we tried to substitute it in and determine the constants A and B, we would find that we are unable to determine A and B. You might want to try this to see what problems you run into. Instead, consider Y (t) = t(at + B)e t = (At 2 + Bt)e t. 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) = (At 2 + Bt)e t Y (t) = (2At + B)e t (At 2 + Bt)e t Y (t) = (2A)e t 2(2At + B)e t + (At 2 + Bt)e t

Differential Equations Practice: 2nd Order Linear: Nonhomogeneous Equations: Undetermined Coefficients Page 2 y 2y 3y = 3te t (2A)e t 2(2At + B)e t + (At 2 + Bt)e t 2(2At + B)e t + 2(At 2 + Bt)e t 3(At 2 + Bt)e t = 3te t (2A) 2(2At + B) + (At 2 + Bt) 2(2At + B) + 2(At 2 + Bt) 3(At 2 + Bt) = 3t (2A 2B 2B) + ( A + B A + 2B 3B)t + (A + 2A 3A)t 2 = 3t (2A B) + ( 8A)t = 3t (2A B) + ( 8A + 3)t = 0 For this to be true for all values of t, the coefficients of the powers of t must be identically zero, which means 2A B = 0 and 8A + 3 = 0. Solving these two equations in the two unknowns A and B yields A = 3/8 and B = 3/16. A particular solution is therefore y p (t) = Y (t) = (3t 2 /8 + 3t/16)e t. y(t) = y c (t) + y p (t) = c 1 e 3t + c 2 e t + ( 3 8 t2 + 3 ) 16 t e t Example (3.5.7) Find a general solution of the differential equation 2y + 3y + y = t 2 + 3 sin t. 2y + 3y + y = 0 2y + 3y + y = 0 (2r 2 + 3r + 1)e rt = 0 2r 2 + 3r + 1 = 0 characteristic equation (2r + 1)(r + 1) = 0 The roots of the characteristic equation are r 1 = 1/2 and r 2 = 1. A fundamental set of solutions to the associated homogeneous equation is y 1 (t) = e t/2 and y 2 (t) = e t. y c (t) = c i y i (t) = c 1 e t/2 + c 2 e t. equation, since the form of g(t) = t 2 + 3 sin t is one of our special forms (polynomial and sine). We split the nonhomogeneous differential equation into two differential equations, and solve each in turn (since the differential equation is linear, we can add the two solutions we find to get the particular solution to the original nonhomogeneous differential equation). 2y + 3y + y = t 2 and 2y + 3y + y = 3 sin t Initially, assume a solution of the first differential equation is Y 1 (t) = At 2 + Bt + C, since g(t) = t 2 is a polynomial.

Differential Equations Practice: 2nd Order Linear: Nonhomogeneous Equations: Undetermined Coefficients Page 3 it in and determine the value of the constants A, B and C. Y 1 (t) = At 2 + Bt + C Y 1(t) = 2At + B Y 1 (t) = 2A 2y + 3y + y = t 2 2(2A) + 3(2At + B) + (At 2 + Bt + C) = t 2 t 2 (A 1) + t 1 (6A + B) + t 0 (A + 3B + C) = 0 For this to be true for all values of t, the coefficients of the powers of t must be identically zero, which means A 1 = 0, = 0 and A + 3B + C = 0. Solving these three equations in the three unknowns A, B and C yields A = 1, B = 6 and C = 1. A particular solution is therefore Y 1 (t) = t 2 6t + 1. Initially, assume a solution of the second differential equation is Y 2 (t) = A sin t + B cos t, since g(t) = 3 sin t is a sine. it in and determine the value of the constants A and B. Y 2 (t) = A sin t + B cos t Y 2(t) = A cos t B sin t Y 2 (t) = A sin t B cos t 2y + 3y + y = 3 sin t 2( A sin t B cos t) + 3(A cos t B sin t) + (A sin t + B cos t) = 3 sin t ( A 3B 3) sin t + (3A B) cos t = 0 For this to be true for all values of t, the coefficients of the powers of t must be identically zero, which means A 3B 3 = 0and 3A B = 0. 3 3 0 1 A = 1 3 = 3 10, B = 1 3 3 0 = 9 10 10. 3 1 A particular solution is therefore Y 2 (t) = 3 10 sin t 9 10 cos t. y(t) = y c (t) + Y 1 (t) + Y 2 (t), = c 1 e t/2 + c 2 e t + t 2 6t + 1 3 10 sin t 9 cos t. 10 Example (3.5.17) Find a general solution of the initial value problem y + y = 3 sin 2t, y(0) = 2, y (0) 1. y + y = 0

Differential Equations Practice: 2nd Order Linear: Nonhomogeneous Equations: Undetermined Coefficients Page y + y = 0 (r 2 + )e rt = 0 r 2 + = 0 characteristic equation r = ±2i The roots of the characteristic equation are r 1 = +2i and r 2 = 2i, complex conjugates with λ = 0 and µ = 2. A fundamental set of solutions to the associated homogeneous equation is y 1 (t) = e λt cos µt = cos 2t and y 2 (t) = e λt sin µt = sin 2t. y c (t) = c i y i (t) = c 1 cos 2t + c 2 sin 2t. equation, since the form of g(t) = 3 sin 2t is one of our special forms. Initially, assume a solution of the second differential equation is Y (t) = A sin 2t + B cos 2t, since g(t) = 3 sin 2t is a sine. This will not work since there is overlap with y c (t). Instead, choose Y (t) = At sin 2t + Bt cos 2t. it in and determine the value of the constants A and B. Y (t) = At sin 2t + Bt cos 2t Y (t) = A sin 2t + 2At sin 2t + B cos 2t 2B sin 2t Y (t) = A cos 2t At sin 2t B sin 2t Bt cos 2t y + y = 3 sin 2t (A cos 2t At sin 2t B sin 2t Bt cos 2t) + (At sin 2t + Bt cos 2t) = 3 sin 2t (A) cos 2t + ( B 3) sin 2t = 0 For this to be true for all values of t, the coefficients of the sine and cosine must be identically zero, which means A = 0and B 3 = 0. Therefore, A = 0, B = 3/. A particular solution is therefore Y (t) = 3 t cos 2t. y(t) = y c (t) + y p (t), = c 1 cos 2t + c 2 sin 2t 3 t cos 2t. Use the initial conditions to determine the constants c 1 and c 2 : y(t) = c 1 cos 2t + c 2 sin 2t 3 t cos 2t y (t) = 2c 1 sin 2t + 2c 2 cos 2t 3 cos 2t + 3 t sin 2t 2 y(0) = 2 = c 1 y (0) = 1 = 2c 2 3

Differential Equations Practice: 2nd Order Linear: Nonhomogeneous Equations: Undetermined Coefficients Page 5 Therefore, c 1 = 2 and c 2 = 1/8. The solution to the initial value problem is y(t) = 2 cos 2t 1 8 sin 2t 3 t cos 2t.