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

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

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

Selected Solutions: 3.5 (Undetermined Coefficients)

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

Higher-order differential equations

Math K (24564) - Homework Solutions 02

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

1 Some general theory for 2nd order linear nonhomogeneous

Math 2142 Homework 5 Part 1 Solutions

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

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

GUIDELINES FOR THE METHOD OF UNDETERMINED COEFFICIENTS

Problem Score Possible Points Total 150

UNDETERMINED COEFFICIENTS SUPERPOSITION APPROACH *

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.

Math 216 Second Midterm 16 November, 2017

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

Math 266 Midterm Exam 2

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

The Method of Undetermined Coefficients.

Worksheet # 2: Higher Order Linear ODEs (SOLUTIONS)

Forced Mechanical Vibrations

Euler-Cauchy Using Undetermined Coefficients

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

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

Problem Score Possible Points Total 150

3.5 Undetermined Coefficients

Higher Order Linear Equations

x gm 250 L 25 L min y gm min

4. Higher Order Linear DEs

Second Order Differential Equations Lecture 6

Ordinary differential equations

Chapter 3: Second Order Equations

Linear Second Order ODEs

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

1 Differential Equations

Solution: In standard form (i.e. y + P (t)y = Q(t)) we have y t y = cos(t)

Algebraic Properties of Solutions of Linear Systems

MA 266 Review Topics - Exam # 2 (updated)

Math53: Ordinary Differential Equations Autumn 2004

Second Order Linear ODEs, Part II

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

Math K (24564) - Lectures 02

A( x) B( x) C( x) y( x) 0, A( x) 0

Math 115 HW #10 Solutions

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

MathQuest: Differential Equations

Math 308 Week 8 Solutions

Name: Solutions Final Exam

Partial Fractions and the Coverup Method Haynes Miller and Jeremy Orloff

Solutions to Homework 3

Nonhomogeneous Equations and Variation of Parameters

2. A Motivational Example: Consider the second-order homogeneous linear DE: y y 2y = 0

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.

Systems of differential equations Handout

APPM 2360: Midterm exam 3 April 19, 2017

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

MATH 24 EXAM 3 SOLUTIONS

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

Solutions to Math 53 Math 53 Practice Final

MATH 54 - HINTS TO HOMEWORK 11. Here are a couple of hints to Homework 11! Enjoy! :)

Section 3.4. Second Order Nonhomogeneous. The corresponding homogeneous equation

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

Methods of Mathematics

First Order Linear Ordinary Differential Equations

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

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

MATHEMATICS FOR ENGINEERS & SCIENTISTS 23

AMATH 351 Mar 15, 2013 FINAL REVIEW. Instructor: Jiri Najemnik

Chapter 4: Higher Order Linear Equations

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

ODE classification. February 7, Nasser M. Abbasi. compiled on Wednesday February 07, 2018 at 11:18 PM

M343 Homework 6. Enrique Areyan May 31, 2013

FINAL EXAM SOLUTIONS, MATH 123

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

MATH 23 Exam 2 Review Solutions

Work sheet / Things to know. Chapter 3

Advanced Eng. Mathematics

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

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.

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

Lecture 8: Ordinary Differential Equations

20D - Homework Assignment 4

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

Math 216 Second Midterm 19 March, 2018

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

MATH 320 INHOMOGENEOUS LINEAR SYSTEMS OF DIFFERENTIAL EQUATIONS

Practice Midterm Solutions

Math 201 Lecture 09: Undetermined Coefficient Cont.

Homework 3 Solutions Math 309, Fall 2015

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

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

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

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

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

0.1 Problems to solve

One important way that you can classify differential equations is as linear or nonlinear.

Second-Order Homogeneous Linear Equations with Constant Coefficients

dy dt = ty, y(0) = 3. (1)

Transcription:

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

Second order, linear, constant coeff, nonhomogeneous (3.5) Our next goal is to figure out how to find solutions to nonhomogeneous equations like this one: y 6y +8y =sin(2t) But first, a bit more on the connections between matrix algebra and differential equations... 2

Some connections to linear (matrix) algebra An mxn matrix is a gizmo that takes an n-vector and returns an m- vector: It is called a linear operator because it has the following properties: Not all operators work on vectors. Derivative operators take a function and return a new function. For example, This one is linear because y = Ax A(cx) =cax A(x + y) =Ax + Ay z = L[y] = d2 y L[cy] =cl[y] dt 2 2dy dt + y L[y + z] =L[y]+L[z] Note: y, z are functions of t and c is a constant. 3

Some connections to linear (matrix) algebra A homogeneous matrix equation has the form Ax = 0 A non-homogeneous matrix equation has the form Ax = b A homogeneous differential equation has the form L[y] =0 A non-homogeneous differential equation has the form L[y] =g(t) 4

Solutions to homogeneous matrix equations The matrix equation could have (depending on A) Ax = 0 (A) no solutions. (B) exactly one solution. (C) a one-parameter family of solutions. (D) an n-parameter family of solutions. Choose the answer that is incorrect. x = C 1 Possibilities: 1x = 0 1 0 x = C 1 1 + C 2 2 1 1 1 5

Solutions to homogeneous matrix equations Example 1. Solve the equation Row reduction gives A = A Ax = 0 where 1 2 3 1 1 2 2 1 1 1 0 1/3 0 1 5/3 0 0 0 Each equation describes a plane. In this case, only two of them really matter. x 1 1 3 x 3 =0 x 2 + 5 3 x 3 =0 x 3 so and and can be whatever (because it doesn t have a leading one). 6

Solutions to homogeneous matrix equations Ax = 0 Example 1. Solve the equation. x 1 1 3 x 3 =0 x 2 + 5 3 x 3 =0 x 3 so and and can be whatever. x 1 = 1 3 x 3 x 1 = 1 3 C x 2 = 5 3 x 3 x 2 = 5 3 C x 3 = C C 1 x = C 5 3 3 Thus, the solution can be written as. 7

Solutions to homogeneous matrix equations Example 2. Solve the equation Row reduction gives A = A Ax = 0 1 2 1 2 4 2 where 1 2 1 1 2 1 0 0 0 0 0 0 x 1 2x 2 + x 3 =0 so and both and can be whatever. x = C 1 x 2 x 3 2 1 1 + C 2 0 0 1 8

Solutions to homogeneous matrix equations Example 2. Solve the equation Row reduction gives A = A Ax = 0 1 2 1 2 4 2 where 1 2 1 1 2 1 0 0 0 0 0 0 x 1 2x 2 + x 3 =0 so and both and can be whatever. x = C 1 x 2 x 3 2 1 1 + C 2 0 0 1 9

Solutions to non-homogeneous matrix equations Example 3. Solve the equation A = Ax = b 1 2 3 1 1 2 2 1 1 where 2 0 and b =. 2 Row reduction gives 1 0 1/3 2/3 0 1 5/3 2/3 0 0 0 0 x 1 1 3 x 3 = 2 3 x 2 + 5 3 x 3 = 2 3 so and and can be whatever. x 3 10

Solutions to non-homogeneous matrix equations Example 3. Solve the equation Ax = b. x 1 1 3 x 3 = 2 3 x 2 + 5 3 x 3 = 2 3 so and and can be whatever. x 3 x 1 = 1 3 x 3 + 2 3 x 2 = 5 3 x 3 + 2 3 x = C C 3 1 5 + 3 2/3 2/3 0 the general solution to the homogeneous problem one particular solution to nonhomogeneous problem 11

Solutions to nonhomogeneous differential equations To solve a nonhomogeneous differential equation: 1. Find the general solution to the associated homogeneous problem, yh(t). first order DE second order DE 2. Find a particular solution to the nonhomogeneous problem, yp(t). 3. The general solution to the nonhomogeneous problem is their sum: y = y h + y p = C 1 y 1 + C 2 y 2 + y p For step 2, try Method of undetermined coefficients... 12

Example 4. Define the operator L[y] =y +2y 3y. Find the general solution to L[y] =e 2t. That is, y +2y 3y = e 2t. Step 1: Solve the associated homogeneous equation y +2y 3y =0. y h (t) =C 1 e t + C 2 e 3t Step 2: What do you have to plug in to to get out? L[ ] e 2t Try y p (t) =Ae 2t. L[y p (t)] = L[Ae 2t ]= (A) (B) 5e 2t 5Ae 2t (C) (D) 4e 2t 4Ae 2t A is an undetermined coefficient (until you determine it). 13

Example 4. Define the operator L[y] =y +2y 3y. Find the general solution to L[y] =e 2t. That is, y +2y 3y = e 2t. Summarizing: We know that, for any C1 and C2, L[C 1 e t + C 2 e 3t ]=0 We also know that L[Ae 2t ]=5Ae 2t Finally, by linearity, we know that L[C 1 e t + C 2 e 3t + Ae 2t ]=0+5Ae 2t So what s left to do to find our general solution? Pick A =? 1/5. 14

Example 5. Find the general solution to the equation. y 4y = e t What is the solution to the associated homogeneous equation? (A) (B) (C) (D) y h (t) =C 1 e 2t + C 2 e 2t y h (t) =C 1 cos(2t)+c 2 sin(2t) y h (t) =C 1 e 2t + C 2 te 2t y h (t) =C 1 cos(2t)+c 2 sin(2t)+e t (E) Don t know. 15

Example 5. Find the general solution to the equation. What is the form of the particular solution? y 4y = e t (A) (B) (C) (D) y p (t) =Ae 2t y p (t) =Ae 2t y p (t) =Ae t y p (t) =Ate t (E) Don t know 16

Example 5. Find the general solution to the equation. What is the value of A that gives the particular solution? (A) A = 1 y 4y = e t (Ae t ) (B) A = 3 (C) A = 1/3 (D) A = -1/3 (E) Don t know. 17

Example 7. Find the general solution to the equation. What is the solution to the associated homogeneous equation? (A) (B) (C) (D) y h (t) =C 1 e 2t + C 2 e 2t y h (t) =C 1 cos(2t)+c 2 sin(2t) y h (t) =C 1 e 2t + C 2 te 2t y h (t) =C 1 e 2t + C 2 e 2t + e t Same as the last example (E) Don t know. y 4y = e 2t 18

Example 7. Find the general solution to the equation. What is the form of the particular solution? y 4y = e 2t (A) (B) (C) (D) (E) y p (t) =Ae 2t y p (t) =Ae 2t y p (t) =Ate 2t y p (t) =Ae t y p (t) =Ate t (Ae 2t ) 4Ae 2t =0! Simpler example in which the RHS is a solution to the homogeneous problem. y y = e t e t y e t y =1 y = te t + Ce t General rule: when your guess at yp makes LHS=0, try multiplying it by t. 19

Example 7. Find the general solution to the equation. y 4y = e 2t (Ate 2t ) What is the value of A that gives the particular solution? (A) A = 1 (B) A = 4 (C) A = -4 (D) A = 1/4 (Ate 2t ) = Ae 2t +2Ate 2t (Ate 2t ) =2Ae 2t +2Ae 2t +4Ate 2t =4Ae 2t +4Ate 2t Ate 2t 4 Ate 2t = 4Ae 2t (E) A = -1/4 Need: = e 2t 20

Example 8. Find the general solution to. What is the form of the particular solution? y 4y = cos(2t) (A) (B) y p (t) =A cos(2t) y p (t) =A sin(2t) (C) y p (t) =A cos(2t)+b sin(2t) (D) y p (t) =t(a cos(2t)+b sin(2t)) (E) y p (t) =e 2t (A cos(2t)+b sin(2t)) Challenge: What small change to the DE makes (D) correct? 21

Example 8. Find the general solution to. What is the form of the particular solution? y + y 4y = cos(2t) (A) (B) y p (t) =A cos(2t) y p (t) =A sin(2t) (C) y p (t) =A cos(2t)+b sin(2t) (D) y p (t) =t(a cos(2t)+b sin(2t)) (E) y p (t) =e 2t (A cos(2t)+b sin(2t)) 22

Example 9. Find the general solution to. y 4y = t 3 What is the form of the particular solution? (A) y p (t) =At 3 (B) y p (t) =At 3 + Bt 2 + Ct (C) y p (t) =At 3 + Bt 2 + Ct + D (D) y p (t) =At 3 + Be 2t + Ce 2t (E) Don t know. waste of time including solution to homogeneous eq. 23

When RHS is sum of terms: y 4y = cos(2t)+t 3 y p (t) =A cos(2t)+b sin(2t)+ct 3 + Dt 2 + Et + F 24

Example 10. Find the general solution to. What is the form of the particular solution? y +2y = e 2t + t 3 (A) (B) y p (t) =Ae 2t + Bt 3 + Ct 2 + Dt y p (t) =Ae 2t + Bt 3 + Ct 2 + Dt + E (C) (D) (E) y p (t) =Ae 2t +(Bt 4 + Ct 3 + Dt 2 + Et) y p (t) =Ae 2t + t(bt 3 + Ct 2 + Dt + E) y p (t) =Ae 2t + Be 2t + Ct 3 + Dt 2 + Et + F y p (t) =Ae 2t + Bte 2t + Ct 3 + Dt 2 + Et + F For each wrong answer, for what DE is it the correct form? 25

Example 11. Find the general solution to. What is the form of the particular solution? y 4y = t 3 e 2t (A) (B) (C) (D) (E) y p (t) =(At 3 + Bt 2 + Ct + D)e 2t y p (t) =(At 3 + Bt 2 + Ct)e 2t y p (t) =(At 3 + Bt 2 + Ct)e 2t +(Dt 3 + Et 2 + Ft)e 2t y p (t) =(At 4 + Bt 3 + Ct 2 + Dt)e 2t y p (t) =t(at 3 + Bt 2 + Ct + D)e 2t y p (t) =(At 4 + Bt 3 + Ct 2 + Dt + E)e 2t 26

Summary - finding a particular solution to L[y] = g(t). Include all functions that are part of the g(t) family (e.g. cos and sin) If part of the g(t) family is a solution to the homogeneous (h-)problem, use t x (g(t) family). If t x (part of the g(t) family), is a solution to the h-problem, use t 2 x (g (t) family). For sums, group terms into families and include a term for each. For products of families, use the above rules and multiply them. If your guess includes a solution to the h-problem, you may as well remove it as it won t survive L[ ] so you won t be able to determine its undetermined coefficient. 27