Selected Solutions: 3.5 (Undetermined Coefficients)

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

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

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

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

Solutions to the Homework Replaces Section 3.7, 3.8

The Method of Undetermined Coefficients.

Solutions to the Homework Replaces Section 3.7, 3.8

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

GUIDELINES FOR THE METHOD OF UNDETERMINED COEFFICIENTS

Chapter 3: Second Order Equations

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

Math K (24564) - Homework Solutions 02

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

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

APPM 2360: Midterm 3 July 12, 2013.

Linear Algebra and ODEs review

Higher-order differential equations

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

93 Analytical solution of 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.

Forced Mechanical Vibrations

Solutions to Math 53 Math 53 Practice Final

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

Math 0290 Midterm Exam

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

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

Notes on the Periodically Forced Harmonic Oscillator

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

Second Order Linear ODEs, Part II

MAE 105 Introduction to Mathematical Physics HOMEWORK 1. Due on Thursday October 1st 2015

Work sheet / Things to know. Chapter 3

Euler-Cauchy Using Undetermined Coefficients

Answers and Hints to Review Questions for Test (a) Find the general solution to the linear system of differential equations Y = 2 ± 3i.

MATH 24 EXAM 3 SOLUTIONS

Solutions to Homework 3

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

Section 2.4 Linear Equations

Second Order Differential Equations Lecture 6

Laplace Transforms Chapter 3

Systems of differential equations Handout

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

Ordinary Differential Equations

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

Section 6.4 DEs with Discontinuous Forcing Functions

Math53: Ordinary Differential Equations Autumn 2004

Differential Equations

Math 216 Second Midterm 19 March, 2018

Math 201 Lecture 09: Undetermined Coefficient Cont.

MA 266 Review Topics - Exam # 2 (updated)

Math 266 Midterm Exam 2

Predator - Prey Model Trajectories and the nonlinear conservation law

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

REVIEW PROBLEMS FOR MIDTERM II MATH 2373, FALL 2016 ANSWER KEY

1 Differential Equations

Chapter 7: Trigonometric Equations and Identities

4. Complex Oscillations

Math 216 Second Midterm 16 November, 2017

Chapter 7. Homogeneous equations with constant coefficients

Math 221 Topics since the second exam

Solutions a) The characteristic equation is r = 0 with roots ±2i, so the complementary solution is. y c = c 1 cos(2t)+c 2 sin(2t).

Math K (24564) - Lectures 02

INHOMOGENEOUS LINEAR SYSTEMS OF DIFFERENTIAL EQUATIONS

Second Order Linear Equations

Chapter 7: Trigonometric Equations and Identities

1 Some general theory for 2nd order linear nonhomogeneous

Partial Fractions and the Coverup Method Haynes Miller and Jeremy Orloff

Understand the existence and uniqueness theorems and what they tell you about solutions to initial value problems.

Worksheet # 2: Higher Order Linear ODEs (SOLUTIONS)

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

Test #2 Math 2250 Summer 2003

Section 2.1 (First Order) Linear DEs; Method of Integrating Factors. General first order linear DEs Standard Form; y'(t) + p(t) y = g(t)

Name: Solutions Final Exam

10. Operators and the Exponential Response Formula

Springs: Part I Modeling the Action The Mass/Spring System

Math 2142 Homework 5 Part 1 Solutions

Some Review Problems for Exam 2: Solutions

37. f(t) sin 2t cos 2t 38. f(t) cos 2 t. 39. f(t) sin(4t 5) 40.

Solutions to Homework 1, Introduction to Differential Equations, 3450: , Dr. Montero, Spring y(x) = ce 2x + e x

Solving systems of ODEs with Matlab

Second order linear equations

A: Brief Review of Ordinary Differential Equations

Lecture 11. Andrei Antonenko. February 26, Last time we studied bases of vector spaces. Today we re going to give some examples of bases.

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

Higher Order Linear Equations

EECS 20N: Midterm 2 Solutions

Chapter 2: Complex numbers

Topic 5 Notes Jeremy Orloff. 5 Homogeneous, linear, constant coefficient differential equations

Math 260: Solving the heat equation

5.2 Infinite Series Brian E. Veitch

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

3.5 Undetermined Coefficients

Problem 1: Lagrangians and Conserved Quantities. Consider the following action for a particle of mass m moving in one dimension

MATH 320 INHOMOGENEOUS LINEAR SYSTEMS OF DIFFERENTIAL EQUATIONS

MATH 307 Introduction to Differential Equations Autumn 2017 Midterm Exam Monday November

Laplace Transforms. Chapter 3. Pierre Simon Laplace Born: 23 March 1749 in Beaumont-en-Auge, Normandy, France Died: 5 March 1827 in Paris, France

FINAL EXAM SOLUTIONS, MATH 123

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

Math221: HW# 7 solutions

Non-homogeneous equations (Sect. 3.6).

Linear Differential Equations. Problems

Transcription:

Selected Solutions: 3.5 (Undetermined Coefficients) In Exercises 1-10, we want to apply the ideas from the table to specific DEs, and solve for the coefficients as well. If you prefer, you might start with Exercises 19-26 first, since there is less algebra (then come back to these afterwards). 1. We have distinct roots, and no part of the homogeneous solution is included in the ansatz for the particular solution. That is, r 2 2r 3 = 0 r = 3, 1 Therefore, y h = C 1 e 3t + C 2 e t. In this exercise, g(t) = 3e 2t, so our ansatz for the particular solution is y p = Ae 2t Substituting this into the DE, we get 4Ae 2t 2(2Ae 2t ) 3Ae 2t = 3e 2t From which we see that A = 1. Therefore, the overall general solution is given by: y(t) = y h (t) + y p (t) = C 1 e 3t + C 2 e t e 2t 4. In this case, we will get distinct roots, and there will be some overlap between the homogeneous solution and the particular solution. This is also an example where we should break up g(t) as g(t) = g 1 (t) + g 2 (t), and solve each sub-problem separately. First, solve the characteristic equation: r 2 + 2r = 0, so r = 0 and r = 2. Therefore, the homogeneous part of the solution is y h (t) = C 1 + C 2 e 2t Now, to solve for the particular solution, take g 1 (t) = 3 first. Normally, we would guess that the particular solution is y p1 = A, but since the homogenenous solution has a constant solution, multiply the particular solution by t, then solve: Therefore, y p1 (t) = 3 2 t. y p1 = At y p 1 = A y p 1 = 0 + 2A = 3 A = 3 2 For the second, y p2 = A cos(2t) + B sin(2t), and substitution yields the following (for bookkeeping, I try to line things up in the following way): 0(y = A cos(2t) +B sin(2t)) 2(y = 2B cos(2t) 2A sin(2t)) y = 4A cos(2t) 4B sin(2t) y + 2y = (4B 4A) cos(2t) (4A + 4B) sin(2t) = 4 sin(2t)

From this, we get two equations: 4A 4B = 0 and 4A 4B = 4. Solving, we get A = B = 1/2. Therefore, the overall solution is: y(t) = C 1 + C 2 e 2t + 3 2 t 1 2 cos(2t) 1 2 sin(2t) 6. In this one, we get a repeated root r = 1, 1. Therefore, the homogeneous part of the solution is: y h (t) = C 1 e t + C 2 te t Looking at g(t) = 2e t, we might initially guess y p = Ae t, but that is already part of y h. Therefore, multiply by t to get a guess of y p = Ate t, but that is also already part of y h. Finally, multiply by t again to get the final form of our particular solution, y p = At 2 e t y p = ( t 2 + 2t)e t y p = (t 2 4t + 2)e t And substitution yields A = 1. Therefore, the overall solution is: y = e t ( C 1 + C 2 t + t 2) 7. This is another exercise where we want to pull apart the forcing function g(t) into two pieces: g(t) = g 1 (t) + g 2 (t) = t 2 + 3 sin(t). Side Remark: This is because t 2 and sin(t) are distinctive types of functions- If this had been sin(t) and cos(t), we would NOT have split them up. Solving the characteristic equation, we get r = 1 and 1/2, so the homogeneous part of the solution is y h (t) = C 1 e t + C 2 e t/2 For g 1 (t) = t 2, our ansatz is y p1 (t) = At 2 + Bt + C (and no part of this solution is contained within the homogeneous solution). Substitute this into the DE, and solve for the coefficients. When you do this, you should see that you are solving the following three equations: A = 1 B + 6A = 0 4A + 3B + C = 0 From which we get y p1 = t 2 6t + 14. For the next one, we take y p2 (t) = A cos(t) + B sin(t), and perform the usual computations. 9, 10. We want to compare and contrast these solutions- They both have the same characteristic equation and homogeneous part of the solution: y h = C 1 cos(ω 0 t) + C 2 sin(ω 0 t)

In Exercise 9, the particular solution would have the form: y p (t) = A cos(ωt) + B sin(ωt) But in Exercise 10, we have to multiply by t y p (t) = t(a cos(ω 0 t) + B sin(ω 0 t)) This difference will have some implications later. Finally, solve for the coefficients- It s a lot easier to do in 9 than in 10, but give it a shot (Answers in the back of the text). For Exercises 19-26, only state the form of the solution. Optional: Check your answers using Wolfram Alpha- The commands you would use are given below. 19. Roots are r = 0, 3 and there is some overlap with the homogeneous solution. In this case, we will also parse out the particular solution (into 3 pieces): y h = C 1 + C 2 e 3t For g 1 (t) = 2t 4, we have a generic 4th degree polynomial- But constant solutions are in y h, so multiply by t: y p1 = t(at 4 + Bt 3 + Ct 2 + Dt + E) For g 2 (t) = t 2 e 3t, our initial guess would be a (full) quadratic times the exponential, but a constant times the exponential is part of y h, so multiply by t: And finally, g 3 (t) = sin(3t), so y p2 = t(f t 2 + Gt + H)e 3t y p3 = I cos(3t) + J sin(3t) (NOTE: Try to not double up on your arbitrary constants, especially if you re putting everything together at the end). The overall solution from Wolfram Alpha is: solve y +3y =2t^4+t^2exp(-3t)+sin(3t) And in fact, if you press the Show Steps button, will give you the steps. Therefore, I won t include solutions for the remaining questions in this section.

28. This is a nice problem in that we exploit the structure of the particular solution- That is, we solve L(y) = g 1 (t), then solve L(y) = g 2 (t), etc, then add the solutions up. In this case, we can write y + λ 2 y = a 1 sin(πt) + a 2 sin(2πt) + a 3 sin(3πt) + + a N sin(nπt) If λ π, 2π, 3π,, Nπ, then the homogeneous part of the solution and the particular parts of the solution are distinct (no overlap), so we don t need to multiply by t. In fact, if g m (t) = a m sin(mπt) y pm (t) = A m cos(mπt) + B m sin(mπt) Put this back into the DE to get: λ 2 y pm = λ 2 A m cos(mπt) +λ 2 B m sin(mπt) y p m = A m m 2 π 2 cos(mπt) B m m 2 π 2 sin(mπt) a m sin(mπt) = A m (λ 2 m 2 π 2 ) cos(mπt) +B m (λ 2 m 2 π 2 ) sin(mπt) From which we see that A m = 0 and Therefore, the solution is: B m = a m λ 2 m 2 π 2 y(t) = C 1 cos(λt) + C 2 sin(λt) + N m=1 a m λ 2 m 2 π 2 sin(mπt) In 34 and 35, we see a very interesting approach to solving the non-homogeneous DE using the operator notation. Exercise 33 gives the details, but leaves off one detail: How should we solve (D + a)x(t) = g(t) for x? This is linear with an integrating factor. We see that the solution is: x(t) = e at g(t)e at dt Now we can use this to speed things up below: 34. (35 is similar) y 3y 4y = (D 2 3D 4)y = (D + 1)(D 4)y = 3e 2t First we solve (D + 1)u(t) = 3e 2t : u(t) = e t 3e 2t e t = e t ( e 3t + C 1 ) = e 2t + C 1 e t

Now solve (D 4)y(t) = e 2t + C 1 e t : (e y(t) = e 4t 2t + C 1 e t) ( e 4t dt = e 4t 1 2 e 2t C ) 1 5 e 5t + C 2 y(t) = 1 2 e2t + Ĉ1e t + C 2 e 4t