Second order linear equations

Similar documents
Second Order Linear ODEs, Part II

Chapter 3: Second Order Equations

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

MA 266 Review Topics - Exam # 2 (updated)

Notes on the Periodically Forced Harmonic Oscillator

MATH 308 Differential Equations

Linear Second Order ODEs

Forced Mechanical Vibrations

Ordinary 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.

Work sheet / Things to know. Chapter 3

A BRIEF INTRODUCTION INTO SOLVING DIFFERENTIAL EQUATIONS

1. (10 points) Find the general solution to the following second-order differential equation:

Lecture 11. Scott Pauls 1 4/20/07. Dartmouth College. Math 23, Spring Scott Pauls. Last class. Today s material. Next class

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

Exam II Review: Selected Solutions and Answers

A: Brief Review of Ordinary Differential Equations

Lecture Notes for Math 251: ODE and PDE. Lecture 16: 3.8 Forced Vibrations Without Damping

144 Chapter 3. Second Order Linear Equations

Math Assignment 5

Application of Second Order Linear ODEs: Mechanical Vibrations

Math 215/255 Final Exam (Dec 2005)

11. Some applications of second order differential

4.2 Homogeneous Linear Equations

Section 3.4. Second Order Nonhomogeneous. The corresponding homogeneous equation

Second Order Differential Equations Lecture 6

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

Second Order Linear Equations

Homogeneous Equations with Constant Coefficients

The Laplace transform

Math 216 Second Midterm 19 March, 2018

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

2. Determine whether the following pair of functions are linearly dependent, or linearly independent:

Section 4.7: Variable-Coefficient Equations

Math K (24564) - Lectures 02

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

Solutions to the Homework Replaces Section 3.7, 3.8

Solutions to Selected Problems, 3.7 (Model of Mass-Spring System)

Math 266 Midterm Exam 2

Math 308 Exam II Practice Problems

dx n a 1(x) dy

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

Chapter 4: Higher Order Linear Equations

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

Ch 3.7: Mechanical & Electrical Vibrations

Study guide - Math 220

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

3.4.1 Distinct Real Roots

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

Unforced Mechanical Vibrations

Higher Order Linear Equations

Math 211. Substitute Lecture. November 20, 2000

Second-Order Linear ODEs

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

Section 3.7: Mechanical and Electrical Vibrations

ODE Math 3331 (Summer 2014) June 16, 2014

MATH2351 Introduction to Ordinary Differential Equations, Fall Hints to Week 07 Worksheet: Mechanical Vibrations

Worksheet # 2: Higher Order Linear ODEs (SOLUTIONS)

Math 20D: Form B Final Exam Dec.11 (3:00pm-5:50pm), Show all of your work. No credit will be given for unsupported answers.

Applied Differential Equation. October 22, 2012

REVIEW NOTES FOR MATH 266

MATH 23 Exam 2 Review Solutions

4.9 Free Mechanical Vibrations

First order differential equations

M A : Ordinary Differential Equations

Math 216 Second Midterm 16 November, 2017

Week 9 solutions. k = mg/l = /5 = 3920 g/s 2. 20u + 400u u = 0,

APPM 2360: Midterm 3 July 12, 2013.

Math 3313: Differential Equations Second-order ordinary differential equations

ODE. Philippe Rukimbira. Department of Mathematics Florida International University PR (FIU) MAP / 92

MATH 4B Differential Equations, Fall 2016 Final Exam Study Guide

HOMEWORK 4: MATH 265: SOLUTIONS. y p = cos(ω 0t) 9 ω 2 0

MAT187H1F Lec0101 Burbulla

MATH 251 Examination I February 25, 2016 FORM A. Name: Student Number: Section:

M A : Ordinary Differential Equations

Nonhomogeneous Equations and Variation of Parameters

DON T PANIC! If you get stuck, take a deep breath and go on to the next question. Come back to the question you left if you have time at the end.

First and Second Order Differential Equations Lecture 4

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

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

MATH 251 Examination I October 9, 2014 FORM A. Name: Student Number: Section:

Lecture 10 - Second order linear differential equations

6. Linear Differential Equations of the Second Order

Solutions to the Homework Replaces Section 3.7, 3.8

Applications of Second-Order Differential Equations

B Ordinary Differential Equations Review

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

LINEAR EQUATIONS OF HIGHER ORDER. EXAMPLES. General framework

20D - Homework Assignment 5

Solutions to Math 53 Math 53 Practice Final

F = ma, F R + F S = mx.

Differential Equations

APPLICATIONS OF SECOND-ORDER DIFFERENTIAL EQUATIONS

Math 221 Topics since the second exam

Section 3.1 Second Order Linear Homogeneous DEs with Constant Coefficients

MATH 251 Examination I October 10, 2013 FORM A. Name: Student Number: Section:

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]

The Harmonic Oscillator

Lecture 14: Forced/free motion; variation of parameters

Table of contents. d 2 y dx 2, As the equation is linear, these quantities can only be involved in the following manner:

Transcription:

Second order linear equations Samy Tindel Purdue University Differential equations - MA 266 Taken from Elementary differential equations by Boyce and DiPrima Samy T. Second order equations Differential equations 1 / 115

Outline 1 Homogeneous equations with constant coefficients 2 Homogeneous equations and Wronskian 3 Complex roots of the characteristic equation 4 Repeated roots, reduction of order 5 Nonhomogeneous equations 6 Variation of parameters 7 Mechanical vibrations 8 Forced vibrations Samy T. Second order equations Differential equations 2 / 115

Second order differential equations General form of equation: d 2 y dt 2 = f ( t, y, dy ) dt Importance of second order equations: 1 Instructive methods of resolution 2 Crucial for modeling in physics: Fluid mechanics Heat transfer Wave motion Electromagnetism Samy T. Second order equations Differential equations 3 / 115

Outline 1 Homogeneous equations with constant coefficients 2 Homogeneous equations and Wronskian 3 Complex roots of the characteristic equation 4 Repeated roots, reduction of order 5 Nonhomogeneous equations 6 Variation of parameters 7 Mechanical vibrations 8 Forced vibrations Samy T. Second order equations Differential equations 4 / 115

General form of 2nd order linear equation General form 1: y + p(t)y + q(t)y = g(t) General form 2: P(t)y + Q(t)y + R(t)y = G(t) Remark: 2 forms are equivalent if P(t) 0 Initial condition: Given by y(t 0 ) = y 0 and y (t 0 ) = y 0 Two conditions necessary because two integrations performed Samy T. Second order equations Differential equations 5 / 115

Homogeneous linear equations Homogeneous equations: When g 0, that is y + p(t)y + q(t)y = 0 Remark: Nonhomogeneous solutions can be deduced from homogeneous ones Homogeneous equations with constant coefficients: for a, b, c R. ay + by + cy = 0, Samy T. Second order equations Differential equations 6 / 115

Simple example Equation: y y = 0. (1) Initial condition: y(0) = 2, and y (0) = 1. Two simple functions satisfying (1): y = exp(t), and y = exp( t). Using linear form of (1): for c 1, c 2 R, y = c 1 exp(t) + c 2 exp( t). is solution to the equation. Samy T. Second order equations Differential equations 7 / 115

Simple example (2) First conclusion: We obtain an infinite family of solutions indexed by c 1, c 2. Initial value problem: with y(0) = 2 and y (0) = 1 we find Solution: c 1 = 1 2 and c 2 = 3 2. Solution to initial value problem: c 1 + c 2 = 2 c 1 c 2 = 1 y = 1 2 exp(t) + 3 2 exp( t). Samy T. Second order equations Differential equations 8 / 115

Generalization Proposition 1. Equation considered: for a, b, c R, Characteristic equation: ay + by + cy = 0. (2) ar 2 + br + c = 0. Hypothesis: Characteristic equation has 2 distinct real roots r 1, r 2. Conclusion: general solution to (2) given by: y = c 1 exp (r 1 t) + c 2 exp (r 2 t). (3) Samy T. Second order equations Differential equations 9 / 115

Generalization: initial value Initial value problem: under assumptions of Proposition 1, ay + by + cy = 0, y(t 0 ) = y 0, y (t 0 ) = y 0. (4) Solution to (4): given by with y = c 1 exp (r 1 t) + c 2 exp (r 2 t), c 1 = y 0 y 0 r 2 r 1 r 2 exp ( r 1 t 0 ), c 2 = y 0 y 0 r 1 r 2 r 1 exp ( r 2 t 0 ) Samy T. Second order equations Differential equations 10 / 115

Example 1 Equation considered: y + 5y + 6y = 0 y(0) = 2, y (0) = 3. (5) Solution: given by Graph of solution: y = 9 exp( 2t) 7 exp( 3t) Samy T. Second order equations Differential equations 11 / 115

Example 2 Equation considered: 4y 8y + 3y = 0 y(0) = 2, y (0) = 1 2. Solution: given by Graph of solution: y = 1 ( ) 3t 2 exp + 5 ( ) t 2 2 exp 2 Samy T. Second order equations Differential equations 12 / 115

Asymptotic behavior of solutions 3 cases: under assumptions of Proposition 1, 1 If both r 1, r 2 < 0, then lim t y(t) = 0 2 If r 1 > 0 or r 2 > 0, exponential growth for y 3 If r 1 < 0 and r 2 = 0, then lim t y(t) = l R Samy T. Second order equations Differential equations 13 / 115

Outline 1 Homogeneous equations with constant coefficients 2 Homogeneous equations and Wronskian 3 Complex roots of the characteristic equation 4 Repeated roots, reduction of order 5 Nonhomogeneous equations 6 Variation of parameters 7 Mechanical vibrations 8 Forced vibrations Samy T. Second order equations Differential equations 14 / 115

Definition of an operator Definition 2. Let I = (α, β), that is I = {t R; α < t < β }. φ : I R twice differentiable. p, q : I R We define L[φ] : I R by: L[φ] = φ + pφ + qφ Samy T. Second order equations Differential equations 15 / 115

Homogeneous equation in terms of L Equation considered: Under conditions of Definition 2, L[y] = 0 y + py + qy = 0 Initial conditions: for t 0 I, y(t 0 ) = y 0, and y (t 0 ) = y 0. Samy T. Second order equations Differential equations 16 / 115

Existence and uniqueness theorem Theorem 3. General linear equation: y + p(t)y + q(t)y = g(t), y(t 0 ) = y 0, y (t 0 ) = y 0. (6) Hypothesis: t 0 I, where I = (α, β). p, q and g continuous on I. Conclusion: There exists a unique function y satisfying equation (6) on I. Samy T. Second order equations Differential equations 17 / 115

Existence and uniqueness theorem (2) Important conclusions of the theorem: 1 There exists a solution to (6). 2 There is only one solution. 3 The solution y is defined and twice differentiable on I. Back to equation (5): We had existence part. Uniqueness is harder to see. Major difference with first order equations: No general formula for solution to (6). Samy T. Second order equations Differential equations 18 / 115

Example of maximal interval Equation considered: ( t 2 3t ) y + t y (t + 3)y = 0, y(1) = 2, y (1) = 1. Equivalent form: y + 1 t 3 y + t + 3 t(t 3) y = 0, y(1) = 2, y (1) = 1. Application of Theorem 3: g(t) = 0 continuous on R p(t) = 1 continuous on (, 3) (3, ) t 3 q(t) = t+3 continuous on (, 0) (0, 3) (3, ) t(t 3) 1 (0, 3) We thus get unique solution on (0, 3) Samy T. Second order equations Differential equations 19 / 115

A trivial example of equation Equation considered: y + p(t)y + q(t)y = 0, y(t 0 ) = 0, y (t 0 ) = 0 Hypothesis: p and q continuous on I t 0 I Application of Theorem 3: 1 y 0 solves equation. 2 According to Theorem 3 it is the unique solution. Samy T. Second order equations Differential equations 20 / 115

Principle of superposition Theorem 4. Equation considered: Hypothesis: y + p(t)y + q(t)y = 0. (7) y 1 and y 2 are 2 solutions to equation (7). c 1 and c 2 are 2 constants. Conclusion: y = c 1 y 1 + c 2 y 2 also solves (7). Additional question: Are all the solutions of the form y = c 1 y 1 + c 2 y 2? Samy T. Second order equations Differential equations 21 / 115

Proof of Theorem 4 Step 1: prove that L[c 1 y 1 + c 2 y 2 ] = c 1 L[y 1 ] + c 2 L[y 2 ]. Step 2: We obtain L[y 1 ] = 0, L[y 2 ] = 0 = L[c 1 y 1 + c 2 y 2 ] = 0. Samy T. Second order equations Differential equations 22 / 115

Wronskian Definition 5. Consider: Equation y + p(t)y + q(t)y = 0. Two solutions y 1, y 2 on interval I. t 0 I. The Wronskian for y 1, y 2 at t 0 is: W = W [y 1, y 2 ](t 0 ) = y 1 (t 0 ) y 2 (t 0 ) y 1(t 0 ) y 2(t 0 ). Samy T. Second order equations Differential equations 23 / 115

Wronskian and determination of solutions Theorem 6. Equation: back to (6) that is L[y] = y + p(t)y + q(t)y = 0. Hypothesis: Existence of two solutions y 1, y 2. Initial condition y(t 0 ) = y 0 and y (t 0 ) = y 0 assigned. Conclusion: One can find c 1, c 2 such that y = c 1 y 1 + c 2 y 2 satisfies (6) with initial condition iff W [y 1, y 2 ](t 0 ) 0 Samy T. Second order equations Differential equations 24 / 115

Complement to Theorem 6 Expression for c 1, c 2 : Under assumptions of Theorem 6 we have c 1 = y 0 y 2 (t 0 ) y 0 y 2(t 0 ) y 1 (t 0 ) y 2 (t 0 ) y 1(t 0 ) y 2(t 0 ), and c 2 = Justification: c 1, c 2 are solution to the system c 1 y 1 (t 0 ) + c 2 y 2 (t 0 ) = y 0 c 1 y 1(t 0 ) + c 2 y 2(t 0 ) = y 0 y 1 (t 0 ) y 0 y 1(t 0 ) y 0 y 1 (t 0 ) y 2 (t 0 ) y 1(t 0 ) y 2(t 0 ) Samy T. Second order equations Differential equations 25 / 115

Example 1 Equation considered: back to (5), that is 2 solutions: given by y + 5y + 6y = 0. y 1 = exp( 2t), and y 2 = exp( 3t) Expression of Wronskian: for t R, W [y 1, y 2 ](t) = exp( 5t). Solving the equation: W [y 1, y 2 ](t) 0 for all t R = initial value problem can be solved at any t R. Samy T. Second order equations Differential equations 26 / 115

Wronskian and uniqueness of solutions Theorem 7. Equation: back to (6) that is L[y] = y + p(t)y + q(t)y = 0. Hypothesis: Existence of two solutions y 1, y 2. Conclusion: The general solution y = c 1 y 1 + c 2 y 2, with c 1, c 2 R includes all solutions to (6) iff: there exists t 0 I such that W [y 1, y 2 ](t 0 ) 0. Samy T. Second order equations Differential equations 27 / 115

Example: equations with constant coefficients Equation considered: for a, b, c R, Characteristic equation: ay + by + cy = 0. (8) ar 2 + br + c = 0. Hypothesis: Characteristic equation has 2 real roots r 1, r 2. 2 solutions: y 1 = exp (r 1 t), and y 2 = exp (r 2 t). Samy T. Second order equations Differential equations 28 / 115

Example: equations with constant coefficients (2) Wronskian: W [y 1, y 2 ](t) = (r 2 r 1 ) exp ((r 1 + r 2 )t) Conclusion: The general solution y = c 1 y 1 + c 2 y 2, with c 1, c 2 R includes all solutions to (8) iff r 1 r 2. Notation: In this context the functions y 1, y 2 are called fundamental solutions Samy T. Second order equations Differential equations 29 / 115

Summary Homogeneous linear second order equation: L[y] = y + p(t)y + q(t)y = 0. Recipe to solve the equation: 1 Find 2 solutions y 1 and y 2 2 Find a point t 0 such that W [y 1, y 2 ](t 0 ) 0 3 Then y 1 and y 2 are fundamental solutions Samy T. Second order equations Differential equations 30 / 115

Outline 1 Homogeneous equations with constant coefficients 2 Homogeneous equations and Wronskian 3 Complex roots of the characteristic equation 4 Repeated roots, reduction of order 5 Nonhomogeneous equations 6 Variation of parameters 7 Mechanical vibrations 8 Forced vibrations Samy T. Second order equations Differential equations 31 / 115

General situation Linear equation with constant coefficients: for a, b, c R, Characteristic equation: Situation considered up to now: 2 real roots, that is b 2 4ac 0. ay + by + cy = 0. (9) ar 2 + br + c = 0. Situation considered in this section: 2 complex roots, that is b 2 4ac < 0. Samy T. Second order equations Differential equations 32 / 115

Complex roots case: general solution Proposition 8. Equation considered: for a, b, c R, Characteristic equation: ay + by + cy = 0. (10) ar 2 + br + c = 0. Hypothesis: Characteristic equation has 2 complex roots r 1 = λ + ıµ and r 2 = λ ıµ. Conclusion: general solution to (10) given by: y = c 1 exp (r 1 t) + c 2 exp (r 2 t). (11) Samy T. Second order equations Differential equations 33 / 115

Complex exponential Aim: understand meaning of expression y 1 (t) = exp ((λ + ıµ)t). Example: if λ = 1, µ = 2 and t = 3, y 1 (t) = e 3+6ı. Definition 9. For t R we set: e ıt = cos(t) + ı sin(t). Samy T. Second order equations Differential equations 34 / 115

Properties of complex exponential 1 For t R, exp( ıt) = cos(t) ı sin(t) = exp(ıt). 2 For z = α + ıβ C, exp(z) = exp(α) cos(β) + ı exp(α) sin(β). 3 For z 1, z 2 C, exp (z 1 + z 2 ) = exp (z 1 ) exp (z 2 ). 4 For z C, d exp(zt) = z exp(zt). dt Samy T. Second order equations Differential equations 35 / 115

Example of differential equation Equation: y + y + 9.25y = 0. (12) Characteristic equation: Roots of characteristic equation: r 2 + r + 9.25 = 0. r 1 = 1 2 + 3ı, r 2 = 1 2 3ı Samy T. Second order equations Differential equations 36 / 115

Example of differential equation (2) Fundamental solutions for (12): y 1 (t) = e ( 1 2 +3ı)t = e t 2 [cos(3t) + ı sin(3t)] y 2 (t) = e ( 1 2 3ı)t = e t 2 [cos(3t) ı sin(3t)] Wronskian: W [y 1, y 2 ](t) = 6ıe t 0. Thus all solutions of (12) are of the form: y = c 1 y 1 + c 2 y 2. Samy T. Second order equations Differential equations 37 / 115

Example of differential equation (3) Real valued fundamental solutions: u = e t 2 cos(3t), v = e t 2 sin(3t). Wronskian for u, v: W [u, v](t) = 3e t 0. Thus all solutions of (12) are of the form: y = c 1 u + c 2 v. Samy T. Second order equations Differential equations 38 / 115

Example of differential equation (4) Initial value problem: equation (12) with Solution: Graph: decaying oscillations y(0) = 2, and y (0) = 8. y = e t 2 [2 cos(3t) + 3 sin(3t)]. Samy T. Second order equations Differential equations 39 / 115

Complex roots case: real valued solutions Proposition 10. Equation considered: for a, b, c R, ay + by + cy = 0. (13) Hypothesis: Characteristic equation has 2 complex roots r 1 = λ + ıµ and r 2 = λ ıµ. Conclusion: fundamental solutions to (13) given by: y 1 = exp (λt) cos(µt), y 2 = exp (λt) sin(µt). (14) Samy T. Second order equations Differential equations 40 / 115

Example of application Equation: 16y 8y + 145y = 0. (15) Roots of characteristic equation: We have = 9216 = (96) 2, thus r 1 = 1 4 + 3ı, r 2 = 1 4 3ı Real valued fundamental solutions: y 1 = e t 4 cos(3t), y2 = e t 4 sin(3t). Samy T. Second order equations Differential equations 41 / 115

Example of application (2) Initial value problem: equation (15) with y(0) = 2, and y (0) = 1. Solution: y = e t 4 [ 2 cos(3t) + 1 2 sin(3t) ]. Graph: increasing oscillations Samy T. Second order equations Differential equations 42 / 115

Outline 1 Homogeneous equations with constant coefficients 2 Homogeneous equations and Wronskian 3 Complex roots of the characteristic equation 4 Repeated roots, reduction of order 5 Nonhomogeneous equations 6 Variation of parameters 7 Mechanical vibrations 8 Forced vibrations Samy T. Second order equations Differential equations 43 / 115

General situation Linear equation with constant coefficients: for a, b, c R, ay + by + cy = 0. (16) Characteristic equation: ax 2 + bx + c = 0. Situation considered up to now: 1 2 distinct real roots, that is b 2 4ac > 0. 2 2 distinct complex roots, that is b 2 4ac < 0. Situation considered in this section: Only one root, that is b 2 4ac = 0. Samy T. Second order equations Differential equations 44 / 115

D Alembert Some facts about d Alembert: Abandoned after birth Mathematician Contribution in fluid dynamics Philosopher Participation in 1st Encyclopedia Samy T. Second order equations Differential equations 45 / 115

Problem with double root Expression for the root: if b 2 4ac = 0 then ax 2 + bx + c = a (x r) 2, with r = b 2a. Consequence on equation (16): only one fundamental solution, y 1 (t) = exp (rt). D Alembert s method in order to get 2 fundamental solutions: 1 Look for solutions under the form y(t) = v(t) exp(rt). 2 We will see: v(t) of the form v(t) = c 1 t + c 2. Samy T. Second order equations Differential equations 46 / 115

Example of d Alembert s method Equation: y + 4y + 4y = 0. (17) Double root of characteristic equation: r = 2. Applying d Alembert s method: 1 Look for solutions under the form y(t) = v(t) exp(rt). 2 We find: v = 0, thus v(t) = c 1 t + c 2. 3 Fundamental solutions: y 1 = exp( 2t) and y 2 = t exp( 2t). Samy T. Second order equations Differential equations 47 / 115

Example of d Alembert s method (2) Wronskian: W [y 1, y 2 ](t) = e 4t 0. Thus all solutions of (20) are of the form: Graph of a typical solution: y = c 1 y 1 + c 2 y 2. Samy T. Second order equations Differential equations 48 / 115

Double root case: generalization Proposition 11. Equation considered: for a, b, c R, ay + by + cy = 0. (18) Hypothesis: Characteristic equation has 1 double root r = b 2a. Conclusion: fundamental solutions to (18) given by: y 1 = exp (rt), y 2 = t exp (rt). (19) Samy T. Second order equations Differential equations 49 / 115

Example of application Equation: y y + 0.25y = 0. (20) Roots of characteristic equation: r = 1 2 Fundamental solutions: y 1 = e t 2, y2 = te t 2. Samy T. Second order equations Differential equations 50 / 115

Example of application (2) Initial value problem: equation (20) with y(0) = 2, and y (0) = 1 3. Solution: y = (2 2 3 t ) e t 2. Graph: Samy T. Second order equations Differential equations 51 / 115

Example of application (3) Modification of initial value: equation (20) with y(0) = 2, and y (0) = 2. Solution: y = (2 + t) e t 2. Question: Separation between increasing and decreasing behavior of y according to value of y (0). Samy T. Second order equations Differential equations 52 / 115

Equations with constant coefficients: summary Equation: for a, b, c R, 3 cases: ay + by + cy = 0. 1 2 real roots r 1, r 2 : fundamental solutions given by y 1 (t) = exp(r 1 t), and y 2 (t) = exp(r 2 t) 2 1 double root r: fundamental solutions given by y 1 (t) = exp(rt), and y 2 (t) = t exp(rt) 3 2 complex roots r 1 = λ + ıµ, r 2 = λ ıµ: fund. sol. given by y 1 (t) = exp(λt) cos(µt), and y 2 (t) = exp(λt) sin(µt) Samy T. Second order equations Differential equations 53 / 115

Reduction of order method Equation: General linear 2nd order, y + p(t)y + q(t)y = 0. (21) Hypothesis: we know 1 solution y 1 to equation (21). Method: find 2nd solution y 2 given by y 2 = v y 1. Equation for w v : we find y 1 w + (2y 1 + py 1 ) w = 0. This is a first order equation. Samy T. Second order equations Differential equations 54 / 115

Example of application Equation: for t > 0, 2t 2 y + 3ty y = 0. (22) An elementary solution: y 1 (t) = 1 t. Reduction of order: find 2nd solution y 2 given by y 2 = v y 1. Equation for w v : we find 2tw w = 0. Samy T. Second order equations Differential equations 55 / 115

Example of application (2) Solving equation for w: we find w(t) = ct 1/2 = v(t) = c 1 t 3/2 + c 2 Fundamental solutions for (22): we obtain y 1 (t) = 1 t, and y 2(t) = t 1/2 Wronskian: W [y 1, y 2 ](t) = 3 2t. 3/2 Thus y 1, y 2 fundamental solutions for t > 0. Samy T. Second order equations Differential equations 56 / 115

Outline 1 Homogeneous equations with constant coefficients 2 Homogeneous equations and Wronskian 3 Complex roots of the characteristic equation 4 Repeated roots, reduction of order 5 Nonhomogeneous equations 6 Variation of parameters 7 Mechanical vibrations 8 Forced vibrations Samy T. Second order equations Differential equations 57 / 115

Setting General linear equation: Corresponding homogeneous equation: y + p(t)y + q(t)y = g(t). (23) y + p(t)y + q(t)y = 0. (24) Aim: Deduce solutions to (23) from solutions to (24). Samy T. Second order equations Differential equations 58 / 115

From nonhomogeneous to homogeneous Theorem 12. Consider: Y 1, Y 2 solutions to nonhomogeneous equation (23). y 1, y 2 fund. solts. to homogeneous equation (24). Then 1 Y 1 Y 2 solves homogeneous equation (24). 2 Y 1 Y 2 can be written, for c 1, c 2 R, as: Y 1 Y 2 = c 1 y 1 + c 2 y 2. Samy T. Second order equations Differential equations 59 / 115

General form of solutions: nonhomogeneous case Theorem 13. Equation: nonhomogeneous (23), that is y + p(t)y + q(t)y = g(t). Consider: 1 y 1, y 2 fund. solts. to homogeneous equation (24). 2 Specific solution Y to nonhomogeneous equation (23). Conclusion: all solutions to nonhomogeneous equation (23) can be written as: y = Y + c 1 y 1 + c 2 y 2. Samy T. Second order equations Differential equations 60 / 115

Summary Nonhomogeneous linear second order equation: L[y] = y + p(t)y + q(t)y = g(t). Recipe to solve the equation: 1 Find 2 fundamental solutions y 1 and y 2 to homogeneous equation. 2 Find a particular solution Y to nonhomogeneous equation 3 Then general solution has the form y = Y + c 1 y 1 + c 2 y 2. Samy T. Second order equations Differential equations 61 / 115

Method of undetermined coefficients Nonhomogeneous linear equation with constant coefficients: L[y] = ay + by + cy = g(t). Aim: Find a particular solution Y to the equation. Table of possible guess: restricted to a limited number of cases, Function g Guess α exp(at) A exp(at) α sin(γt) + β cos(γt) A sin(γt) + B cos(γt) α n t n + + α 0 A n t n + + A 0 (α n t n + + α 0 ) exp(at) (A n t n + + A 0 ) exp(at) (α sin(γt) + β cos(γt)) exp(at) (A sin(γt) + B cos(γt)) exp(at) Samy T. Second order equations Differential equations 62 / 115

Example of application Equation: y 3y 4y = 2 sin(t) (25) Guess for particular solution: Y (t) = A sin(t) + B cos(t) Equation for A, B: plugging into (25) we get 5A + 3B = 2, and 3A 5B = 0. Particular solution: Y (t) = 5 17 sin(t) + 3 17 cos(t) Samy T. Second order equations Differential equations 63 / 115

Example of application (2) Homogeneous equation: y 3y 4y = 0 Solution of homogeneous equation: y = c 1 e t + c 2 e 4t. General solution of nonhomogeneous equation (25): y = c 1 e t + c 2 e 4t 5 17 sin(t) + 3 17 cos(t). Samy T. Second order equations Differential equations 64 / 115

Second example of application Equation: Guess for particular solution: y 3y 4y = 8e t cos(2t) (26) Y (t) = Ae t cos(2t) + Be t sin(2t) Equation for A, B: plugging into (26) we get Particular solution: 10A + 2B = 8, and 2A 10B = 0. Y (t) = 10 13 et cos(2t) + 2 13 et sin(2t) Samy T. Second order equations Differential equations 65 / 115

Second example of application (2) Homogeneous equation: y 3y 4y = 0 Solution of homogeneous equation: y = c 1 e t + c 2 e 4t. General solution of nonhomogeneous equation (26): y = c 1 e t + c 2 e 4t + 10 13 cos(2t) + 2 13 sin(2t). Samy T. Second order equations Differential equations 66 / 115

Sums of particular solutions Proposition 14. Consider the 2 equations: ay + by + cy = g 1 (t) (27) ay + by + cy = g 2 (t) (28) Let Y 1 particular solution of equation (27). Y 2 particular solution of equation (28). Now consider the following equation: ay + by + cy = g 1 (t) + g 2 (t). (29) Then Y = Y 1 + Y 2 particular solution of (29). Samy T. Second order equations Differential equations 67 / 115

Example of application Equation: y 3y 4y = 2 sin(t) 8e t cos(2t) (30) Splitting the equation: into (25) and (26). Recalling previous results: particular solutions to (25) and (26) are given by Particular solution for (30): Y 1 (t) = 5 17 sin(t) + 3 17 cos(t) Y 2 (t) = 10 13 et cos(2t) + 2 13 et sin(2t) Y (t) = 5 17 sin(t) + 3 17 cos(t) 10 13 et cos(2t) + 2 13 et sin(2t). Samy T. Second order equations Differential equations 68 / 115

Elaboration of the guess Equation: L[y] = y 3y 4y = 2e t (31) Initial guess for particular solution: Y (t) = A e t. Problem: e t solution of homogeneous equation = L[Y ] = 0. Second guess: Y (t) = A te t Particular solution: Generalization: Y (t) = 2 5 te t. 1 When initial guess is solution to homogeneous equation multiply initial guess by t 2 Sometimes initial guess has to be multiplied by t 2 Samy T. Second order equations Differential equations 69 / 115

Outline 1 Homogeneous equations with constant coefficients 2 Homogeneous equations and Wronskian 3 Complex roots of the characteristic equation 4 Repeated roots, reduction of order 5 Nonhomogeneous equations 6 Variation of parameters 7 Mechanical vibrations 8 Forced vibrations Samy T. Second order equations Differential equations 70 / 115

Introduction Equation: ay + by + c = g(t). Hypothesis: 1 We have fundamental solutions y 1, y 2 to homogeneous equation. 2 g has not a simple form allowing a guess for particular solution. Method: find solution under the form y = u 1 (t) y 1 + u 2 (t) y 2. Comments: Advantage: very general method. Problem: involves nontrivial integration steps. Samy T. Second order equations Differential equations 71 / 115

Generalization General equation: y + p(t)y + q(t)y = g(t) (32) Hypothesis: p, q, g continuous functions on interval I. We know y 1, y 2 fundamental solutions to y + p(t)y + q(t)y = 0, with non vanishing Wronskian. Aim: find general solution to (32) Samy T. Second order equations Differential equations 72 / 115

Generalization (2) Theorem 15. Under previous assumptions, general solution to (32) is: y = c 1 y 1 + c 2 y 2 + Y, where Y is given as: Y = y 1 y 2 (s)g(s) W [y 1, y 2 ](s) ds + y 2 y 1 (s)g(s) W [y 1, y 2 ](s) ds. Main difficulties of application: Find y 1, y 2 for non constant coefficients p, q. Integration step. Samy T. Second order equations Differential equations 73 / 115

Variation of parameters: example Equation: y + 4y = 3 csc(t) (33) Solution to homogeneous equation: c 1 cos(2t) + c 2 sin(2t). Samy T. Second order equations Differential equations 74 / 115

Variation of parameters: example (2) Wronskian: W [y 1, y 2 ](t) = 2 Integrals: y 2 (s) g(s) W [y 1, y 2 ](s) ds = 3 2 sin(2t) sin(t) dt = 3 sin(t) + c 1 and y 1 (s) g(s) W [y 1, y 2 ](s) ds = 3 2 cos(2t) sin(t) dt = 3 2 ln ( csc(t) cot(t) ) + 3 cos(t) + c 2 Samy T. Second order equations Differential equations 75 / 115

Variation of parameters: example (3) Particular solution of equation (33): Y = 3 sin(t) cos(2t) + 3 ln ( csc(t) cot(t) ) sin(2t) 2 + 3 cos(t) sin(2t) General solution to equation (33): y = c 1 cos(2t) + c 2 sin(2t) 3 sin(t) cos(2t) + 3 ln ( csc(t) cot(t) ) sin(2t) + 3 cos(t) sin(2t) 2 Samy T. Second order equations Differential equations 76 / 115

Some trigonometric formulae Functions secant, cosecant: sec(t) = 1 cos(t), csc(t) = 1 sin(t) Integral of csc: csc(t) dt = ln ( csc(t) cot(t) ) + c Double angles: cos(2t) = cos 2 (t) sin 2 (t) = 1 2 sin 2 (t) sin(2t) = 2 sin(t) cos(t) Samy T. Second order equations Differential equations 77 / 115

HW 3.6 exercice 10 Equation: y 2y + y = et 1 + t 2 Fundamental solutions: y 1 = e t and y 2 = te t. Wronskian: W [y 1, y 2 ](t) = e 2t Integrals: y 2 (s) g(s) W [y 1, y 2 ](s) ds = 1 2 ln ( 1 + t 2) + c 1 y 1 (s) g(s) W [y 1, y 2 ](s) ds = arctan(t) + c 2 Samy T. Second order equations Differential equations 78 / 115

HW 3.6 exercice 10 (2) Particular solution: Y (t) = et 2 ln ( 1 + t 2) + te t arctan(t) General solution: y(t) = c 1 e t + c 2 te t et 2 ln ( 1 + t 2) + te t arctan(t) Samy T. Second order equations Differential equations 79 / 115

Outline 1 Homogeneous equations with constant coefficients 2 Homogeneous equations and Wronskian 3 Complex roots of the characteristic equation 4 Repeated roots, reduction of order 5 Nonhomogeneous equations 6 Variation of parameters 7 Mechanical vibrations 8 Forced vibrations Samy T. Second order equations Differential equations 80 / 115

Mass on a spring Situation: Forces: Mass m hanging at rest on end of vertical spring. Original length of spring: l. Elongation of spring due to mass: L. Gravitational: mg. Spring: F s = kl. At equilibrium: mg = kl can be used to compute k. Samy T. Second order equations Differential equations 81 / 115

Mass on a spring dynamics Situation 2: we have either Force applied to spring. Initial displacement. Forces: if u displacement from equilibrium position, 1 Gravitational: mg. 2 Spring: F s = k(l + u). 3 Resistive or damping: F d = γu. 4 Applied external force F, often periodic. Remark: Expressions for F s and F d are approximate. Samy T. Second order equations Differential equations 82 / 115

Equation for dynamics Newton s law: mu = mg k(l + u) γu + F Simplification: since mg = kl, we get mu + γu + ku = F. (34) Solution: With initial condition u(0), u (0) and continuous F according to Theorem 3 there exists a unique solution to (34). Samy T. Second order equations Differential equations 83 / 115

Numerical example Situation: A mass weighing 4lb stretches a spring 2in. Additional 6in displacement given, then released. Viscous resistance of medium is 6lb when velocity is 3 ft/s. Model: equation (34) determination of m, γ, k Samy T. Second order equations Differential equations 84 / 115

Numerical example (2) Constants: we have m = w g = 4 lb 32 ft s 2 = 1 lb s 2 8 ft γ = 6lb lb s 1 = 2 3 ft s ft k = mg L = w L = 4 lb 2 in = 4 lb 1/6 ft = 24 lb ft Initial condition: u(0) = 6 in = 1 2 ft. Samy T. Second order equations Differential equations 85 / 115

Undamped free vibration Particular situation: F = 0 and γ = 0. Resulting equation: mu + ku = 0. General solution: u = c 1 cos(ω 0 t) + c 2 sin(ω 0 t), with ω 0 = Other expression for solution: u = R cos (ω 0 t δ), where R = ( c 2 1 + c 2 2 ( ) 1/2 k m ) 1/2, tan(δ) = c 2 c 1. Samy T. Second order equations Differential equations 86 / 115

Undamped free vibration (2) Vocabulary: we call ω 0 : natural frequency (does not depend on initial condition). R: amplitude of motion (does depend on initial condition). δ: phase. ) 1/2 Period of motion: T = 2π ( m k Larger mass vibrates more slowly. Samy T. Second order equations Differential equations 87 / 115

Numerical example Situation: A mass weighing 10lb stretches a spring 2in. Additional 2in displacement given. Mass released with upward velocity 1ft/s Samy T. Second order equations Differential equations 88 / 115

Numerical example (2) Constants: we have Initial condition: m = w g k = mg L = w L 10 lb = 32 ft s 2 = 5 lb s 2 16 ft = 10 lb 2 in = 10 lb 1/6 ft = 60 lb ft u(0) = 2 in = 1 6 ft, u (0) = 1 ft s 1. Samy T. Second order equations Differential equations 89 / 115

Numerical example (3) Equation: u + 192u = 0. Solution: taking initial condition into account, u = 1 6 cos ( 8 3t ) 1 8 3 sin ( 8 3t ). Samy T. Second order equations Differential equations 90 / 115

Numerical example (4) Quantities of interest: Natural frequency: ω 0 = 192 = 13.85 rad s 1. Period: T = 2π ω 0 = 0.45 s. Amplitude: R = (c 2 1 + c 2 2) 1/2 = 0.182 ft. Phase: δ = arctan( 6 8 ) = 0.41 rad. 3 Samy T. Second order equations Differential equations 91 / 115

Damped free vibrations Equation: Roots: mu + γu + ku = 0. r 1, r 2 = γ ( 1 ± 1 4km ) 1/2 2m γ 2 = γ 2m ± (γ2 4km) 1/2. 2m Remark: R(r 1 ), R(r 2 ) < 0, thus exponentially decreasing amplitude Samy T. Second order equations Differential equations 92 / 115

Damped free vibrations (2) 3 cases: 1 If γ 2 4km > 0, then: 2 If γ 2 4km = 0, then: 3 If γ 2 4km < 0, then: u = c 1 exp (r 1 t) + c 2 exp (r 2 t). ( u = [c 1 + c 2 t] exp γt ). 2m ( u = [c 1 cos(µt) + c 2 sin(µt)] exp γt ), (35) 2m where µ = (4km γ2 ) 1/2 2m > 0. Samy T. Second order equations Differential equations 93 / 115

Small damping case Case under consideration: If γ small, we have γ 2 4km < 0 = motion governed by (35). Expression for u: ( u = R exp γt ) cos (µt δ). 2m Samy T. Second order equations Differential equations 94 / 115

Small damping (2) Quasi-frequency: when γ 2 4km < 0, given by µ. We have µ = (4km γ2 ) 1/2 ω 0 2m ( ) ) m 1/2 1/2 = (1 γ2 1 γ2 k 4km 8km. Conclusion: Small damping = smaller frequency for oscillations. Samy T. Second order equations Differential equations 95 / 115

Critical and over damping Critically damped case: when γ 2 4km = 0 mass passes through equilibrium at most once. Overdamped case: when γ 2 4km > 0 mass passes through equilibrium at most once. Samy T. Second order equations Differential equations 96 / 115

Outline 1 Homogeneous equations with constant coefficients 2 Homogeneous equations and Wronskian 3 Complex roots of the characteristic equation 4 Repeated roots, reduction of order 5 Nonhomogeneous equations 6 Variation of parameters 7 Mechanical vibrations 8 Forced vibrations Samy T. Second order equations Differential equations 97 / 115

Introduction Situation: External force applied to a spring mass. Equation: mu + γu + ku = F. (36) Samy T. Second order equations Differential equations 98 / 115

Example of forced vibration Equation: u + u + 1.25u = 3 cos(t) (37) Guess for particular solution: U(t) = A cos(t) + B sin(t) Equation for A, B: plugging into (37) we get 0.25A + B = 3, and A + 0.25B = 0. Particular solution: U(t) = 12 48 cos(t) + 17 17 sin(t) Samy T. Second order equations Differential equations 99 / 115

Example of forced vibration (2) Homogeneous equation: u + u + 1.25u = 0 Solution of homogeneous equation: u = c 1 e t 2 cos(t) + c2 e t 2 sin(t). General solution of nonhomogeneous equation (37): u = c 1 e t 2 cos(t) + c2 e t 12 48 2 sin(t) + cos(t) + 17 17 sin(t). Samy T. Second order equations Differential equations 100 / 115

Example of forced vibration (3) Initial conditions: we assume Expression for u: u = u(0) = 2 and u (0) = 3. Transient part {}}{ 22 t 14 t 17 e 2 cos(t) + 17 e 2 sin(t) + Steady state {}}{ 12 48 cos(t) + 17 17 sin(t). Samy T. Second order equations Differential equations 101 / 115

Example of forced vibration (4) Observation on graph: Solution to (37) gets quickly close to steady state. Samy T. Second order equations Differential equations 102 / 115

Generalization Equation with sinusoidal forcing: mu + γu + ku = F 0 cos(ωt). (38) Solution of homogeneous equation: u c = c 1 e rt cos(µt) + c 2 e rt sin(µt). Transience of u c : we have lim u c(t) = 0, t exponentially fast. Samy T. Second order equations Differential equations 103 / 115

Generalization (2) Particular solution: of the form U(t) = A cos(ωt) + B sin(ωt) = R cos(ωt δ). General solution to (38): given by Transient part Steady state {}}{{}}{ u = c 1 e rt cos(µt) + c 2 e rt sin(µt) + R cos(ωt δ). Samy T. Second order equations Differential equations 104 / 115

Resonance phenomenon Equation with sinusoidal forcing: back to (38), that is Quantity of interest: ϕ(ω) Rk F 0 = Expression for ϕ: ( ϕ(ω) = mu + γu + ku = F 0 cos(ωt). 1 ω2 ω 2 0 Amplitude Displacement due to F 0 at equilibrium ) 2 + Γ ω2 ω 2 0 1/2, where Γ = γ2 mk. Samy T. Second order equations Differential equations 105 / 115

Resonance phenomenon (2) Proposition 16. Let us assume Γ small (small damping case) Then we have ω max ω 0, and ϕ(ω max ) 1 (mk)1/2 =. Γ1/2 γ Samy T. Second order equations Differential equations 106 / 115

Resonance phenomenon (3) Interpretation of Proposition 16: Amplitude can get high if γ small and ω close to ω 0. This has to be taken into account in real situations. Samy T. Second order equations Differential equations 107 / 115

Proof of Proposition 16 Differentiating ϕ: we find ϕ (ω) = 2 ( 1 ω2 ω 2 0 Γ 2 ) ( 1 ω2 ω 2 0 ) 2 + Γ ω2 ω 2 0 3/2 Optimizing ϕ: if Γ < 2 we have ( ω max = ω 0 1 Γ ) 1/2, 2 and recalling Γ = γ2 mk, [ ( ϕ(ω max ) = Γ 1 Γ )] 1/2 ( ) 1/2 ( ) 1/2 mk = 1 γ2. 4 γ 2 4mk Samy T. Second order equations Differential equations 108 / 115

Proof of Proposition 16 (2) Behavior of ϕ: if Γ < 2 we have 1 ϕ(0) = 1 corresponds to equilibrium. ( ) 1/2 2 ω max = ω 0 1 Γ 2 and ϕ(ωmax ) = [ Γ ( 1 Γ 4 3 lim ω ϕ(ω) = 0. Behavior of ϕ, small damping case: if Γ small we have )] 1/2. ω max ω 0, and ϕ(ω max ) 1 (mk)1/2 =. Γ1/2 γ Samy T. Second order equations Differential equations 109 / 115

Forced vibration without damping Proposition 17. Equation with sinusoidal forcing and no damping: mu + ku = F 0 cos(ωt). (39) Interesting initial condition: mass at rest, that is u(0) = 0, and u (0) = 0. Then we get a useful expression for u: u = Slowly oscillating term {}} ){ 2F 0 m(ω 2 0 ω 2 ) sin ( (ω0 ω)t 2 Fast oscillating term {}} ){ sin ( (ω0 + ω)t 2. (40) Samy T. Second order equations Differential equations 110 / 115

Interpretation of Proposition 17 Amplitude modulation: according to formula (41) we have 1 A fast oscillating motion. 2 A periodic slow variation of amplitude. Remark: This type of wave is observed in reality guitar almost tuned. Samy T. Second order equations Differential equations 111 / 115

Proof of Proposition 17 Equation with sinusoidal forcing and no damping: Recall equation (39) mu + ku = F 0 cos(ωt). Solution of homogeneous equation: u c = c 1 cos(ω 0 t) + c 2 sin(ω 0 t), where ω 0 = Particular solution, case ω ω 0 : U(t) = F 0 m(ω 2 0 ω 2 ) cos(ωt). ( ) 1/2 k. m Samy T. Second order equations Differential equations 112 / 115

Proof of Proposition 17 (2) General solution to (39): given by u = c 1 cos(ω 0 t) + c 2 sin(ω 0 t) + Interesting initial condition: mass at rest, that is Solution to initial value problem: u = u(0) = 0, and u (0) = 0. F 0 m(ω 2 0 ω 2 ) cos(ωt). F 0 m(ω 2 0 ω 2 ) [cos(ωt) cos(ω 0t)]. Samy T. Second order equations Differential equations 113 / 115

Proof of Proposition 17 (3) Elementary trigonometric formula: Another expression for u: cos(a + b) cos(a b) = 2 sin(a) sin(b). u = Slowly oscillating term {}} ){ 2F 0 m(ω 2 0 ω 2 ) sin ( (ω0 ω)t 2 Fast oscillating term {}} ){ sin ( (ω0 + ω)t 2. (41) Samy T. Second order equations Differential equations 114 / 115

Resonance case Equation in resonance case: General solution to (42): given by mu + ku = F 0 cos(ω 0 t). (42) u = c 1 cos(ω 0 t) + c 2 sin(ω 0 t) + F 0 2mω 0 t sin(ω 0 t). Remarks: (1) Unbounded response is not physically realistic. (2) Response remains bounded when damping is considered. Samy T. Second order equations Differential equations 115 / 115