ES.1803 Topic 19 Notes Jeremy Orloff. 19 Variation of parameters; exponential inputs; Euler s method

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

Exponential and Logarithmic Functions

Homogeneous Linear Systems of Differential Equations with Constant Coefficients

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

Taylor Series and Series Convergence (Online)

Differentiation of Logarithmic Functions

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

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

QUADRATIC EQUATIONS. + 6 = 0 This is a quadratic equation written in standard form. x x = 0 (standard form with c=0). 2 = 9

Topic 4 Notes Jeremy Orloff

The Exponential of a Matrix

Introduction. So, why did I even bother to write this?

In the real world, objects don t just move back and forth in 1-D! Projectile

Computer Problems for Taylor Series and Series Convergence

MATH141: Calculus II Exam #1 review 6/8/2017 Page 1

Page 1. These are all fairly simple functions in that wherever the variable appears it is by itself. What about functions like the following, ( ) ( )

Example 1: What do you know about the graph of the function

Chapter 7. Homogeneous equations with constant coefficients

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

AP Calculus AB Summer Assignment

Modes and Roots ... mx + bx + kx = 0. (2)

ES.1803 Topic 13 Notes Jeremy Orloff

Second-Order Homogeneous Linear Equations with Constant Coefficients

Linear Algebra II (finish from last time) Root finding

Algebra/Trigonometry Review Notes

Gaussian integrals. Calvin W. Johnson. September 9, The basic Gaussian and its normalization

Solutions to Math 53 Math 53 Practice Final

Adding and Subtracting Rational Expressions

Algebra, Part I. x m x = n xm i x n = x m n = 1

DIFFERENTIATION RULES

ES.1803 Topic 16 Notes Jeremy Orloff

Math 216 Second Midterm 28 March, 2013

1 Some general theory for 2nd order linear nonhomogeneous

Linear Algebra Exercises

Exam 2 Solutions, Math March 17, ) = 1 2

1 Exponential Functions Limit Derivative Integral... 5

EXAMPLE 7: EIGENVALUE PROBLEM EXAMPLE. x ks1. ks2. fs1. fs2 !!! +!!! =!!!!! 4) State variables:!!!,!!!,!!!,!!! (Four SV s here!) =!!!

Math 119 Main Points of Discussion

Systems of Second Order Differential Equations Cayley-Hamilton-Ziebur

Solve Wave Equation from Scratch [2013 HSSP]

We consider systems of differential equations of the form. x 1 = ax 1 + bx 2,

18.03 The Heat Equation

AP Calculus AB Summer Assignment

NOTATION: We have a special symbol to use when we wish to find the anti-derivative of a function, called an Integral Symbol,

2. Higher-order Linear ODE s

CDS 101: Lecture 4.1 Linear Systems

C. Finding roots of trinomials: 1st Example: x 2 5x = 14 x 2 5x 14 = 0 (x 7)(x + 2) = 0 Answer: x = 7 or x = -2

The Definite Integral. Day 5 The Fundamental Theorem of Calculus (Evaluative Part)

INHOMOGENEOUS LINEAR SYSTEMS OF DIFFERENTIAL EQUATIONS

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

The Chain Rule. This is a generalization of the (general) power rule which we have already met in the form: then f (x) = r [g(x)] r 1 g (x).

MATH 312 Section 8.3: Non-homogeneous Systems

CALCULUS I. Integrals. Paul Dawkins

COUNCIL ROCK HIGH SCHOOL MATHEMATICS. A Note Guideline of Algebraic Concepts. Designed to assist students in A Summer Review of Algebra

Chapter 5: Integrals

Calculus I. Here are a couple of warnings to my students who may be here to get a copy of what happened on a day that you missed.

APPPHYS 217 Tuesday 6 April 2010

Daily Lessons and Assessments for AP* Calculus AB, A Complete Course Page 584 Mark Sparks 2012

Practice Midterm Solutions

First Order Linear Ordinary Differential Equations

Math 216 Second Midterm 16 November, 2017

Topic 2 Notes Jeremy Orloff

Section 4.5 Graphs of Logarithmic Functions

A Quick Algebra Review

MOL 410/510: Introduction to Biological Dynamics Fall 2012 Problem Set #4, Nonlinear Dynamical Systems (due 10/19/2012) 6 MUST DO Questions, 1

Numerical Solutions to PDE s

= f (x ), recalling the Chain Rule and the fact. dx = f (x )dx and. dx = x y dy dx = x ydy = xdx y dy = x dx. 2 = c

Review of Linear Systems Theory

Polytechnic Institute of NYU MA 2132 Final Practice Answers Fall 2012

1. Sets A set is any collection of elements. Examples: - the set of even numbers between zero and the set of colors on the national flag.

18.303: Introduction to Green s functions and operator inverses

Fundamentals of Algebra, Geometry, and Trigonometry. (Self-Study Course)

Fourier Analysis Fourier Series C H A P T E R 1 1

Systems of Linear Differential Equations Chapter 7

M445: Heat equation with sources

Review Sheet for Exam 1 SOLUTIONS

Polynomial Degree and Finite Differences

Basic ALGEBRA 2 SUMMER PACKET

Some linear transformations on R 2 Math 130 Linear Algebra D Joyce, Fall 2013

P-adic numbers. Rich Schwartz. October 24, 2014

Unit 9: Symmetric Functions

Math 1160 Final Review (Sponsored by The Learning Center) cos xcsc tan. 2 x. . Make the trigonometric substitution into

The Method of Undetermined Coefficients.

C6-2 Differentiation 3

MEI Core 2. Sequences and series. Section 1: Definitions and Notation

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

AP Calculus AB Summer Assignment Mrs. Berkson

Eigenvalues for Triangular Matrices. ENGI 7825: Linear Algebra Review Finding Eigenvalues and Diagonalization

Math F15 Rahman

MathQuest: Differential Equations

STEP 1: Ask Do I know the SLOPE of the line? (Notice how it s needed for both!) YES! NO! But, I have two NO! But, my line is

5.5 Volumes: Tubes. The Tube Method. = (2π [radius]) (height) ( x k ) = (2πc k ) f (c k ) x k. 5.5 volumes: tubes 435

Assignment 13 Assigned Mon Oct 4

Mathematics 309 Conic sections and their applicationsn. Chapter 2. Quadric figures. ai,j x i x j + b i x i + c =0. 1. Coordinate changes

Geometric Modeling Summer Semester 2010 Mathematical Tools (1)

MATH 310, REVIEW SHEET 2

Definition: Quadratic equation: A quadratic equation is an equation that could be written in the form ax 2 + bx + c = 0 where a is not zero.

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.

Math Ordinary Differential Equations

Chapter 8: Further Applications of Trigonometry

Transcription:

ES83 Topic 9 Notes Jeremy Orloff 9 Variation of parameters; eponential inputs; Euler s method 9 Goals Be able to derive and apply the eponential response formula for constant coefficient linear systems with eponential input 2 Be able to solve linear constant coefficient systems with sinusoidal input using comple replacement and the ERF 3 Be able to use the variation of paramters formula to solve a (nonconstant) coefficient linear inhomogeneous system 4 Be able to use Euler s method to approimate the solution to a system of first order equations 92 Introduction We now turn our attention to inhomogeneous linear systems of the form A(t) + F(t) (I) Here is a column vector of (unknown) functions, A(t) is a square matri and the input F(t) is a column vector The associated homogeneous equation is A(t) (H) In this topic we will first consider the case where the coefficient matri A is constant and the input F is eponential Perhaps unsurprisingly, this will lead to the eponential response formula for a solution As with ordinary differential equations, this will also allow us to find the response to sinusoidal input Net we will look at linear equations with arbitrary input This will lead to the variation of parameters formula for the solution This is a beautiful formula, it can be painful or difficult to apply We will use it as a last resort to look for solutions to equations with nonconstant coefficients or unusual input 93 Eponential response formula (ERF) Eponential response formula For a constant matri A and a constant vector k the DE A + e at k has a particular solution: p e at (ai A) k

9 VARIATION OF PARAMETERS; EXPONENTIAL INPUTS; EULER S METHOD2 This formula is valid as long as ai A is invertible, ie as long as a is not an eigenvalue of A Proof Not surprisingly we discover this formula by the method of optimism We try a solution of the form p (t) e at v, where v is a constant vector Plug the guess into the DE and solve for v: p ae at v e at Av + e at k (ai A)v k v (ai A) k Thus, we have found a particular solution p (t) e at v e at (ai A) k QED 6 5 e 2t Eample 9 Find the general solution to y + 2 y 3e 2t answer: For ease of notation we rewrite the equation as A+e 2t The eponential 3 response formula gives us a particular solution p (t) e 2t (2I A) 3 e 2t 4 5 3 e2t 5 5 4 3 5 5 e2t We know from previous topics that the general homogeneous equation is ] ] h (t) c e t [ + c 2 e 7t [ 5 By superposition the general solution to the system is (t) p (t) + h (t) 6 5 3e 2t Eample 92 Solve y + 2 y 5e 3t 3 answer: Write the input as e 2t + e 3t Now you can solve the equation for each 5 input term and then use superposition There are more eamples in the net section 94 Eponential response formula eamples Eample 93 Find the general solution to 3 y + e 2t y 4 y e 2t

9 VARIATION OF PARAMETERS; EXPONENTIAL INPUTS; EULER S METHOD3 answer: In matri form the equation is response formula tells us a particular solution is p e 2t (2I A) [ ] 3 + e 4 2t The eponential e 2t e 2t 3 e 2t 4 4 3 4 5 We ll let you verify the calculation of the inverse Likewise we ll let you find the homogeneous solution needed for the general solution Eample 94 Find a particular solution to 3 y + 3 y 4 y + 2 answer: Note that we could phrase this using the eponential response formula, where the eponent is a Instead we ll just say that we re guessing a constant solution and solve for its eact value Try v Substitution into the DE gives Av + 3 3 3 So, v A 2 4 2 3 2 That is 6 p (t) 6 Again, we ll let you verify the calculation of the inverse 2 cos(t) Eample 95 Find a particular solution to + 2 y answer: To use the eponential response formula we first need to use comple replacement The compleified equation is z 2 z + e it, where Re(z) 2 Now we set up the eponential response formula (ii A) + i 2 2 + i So, z p e it (ii A) y [ + i 2 2i 4 eit 2 + i + i 2 2i 4 2 + i ] 2i + 4 eit i 2 To find the real part of z p we work in polar coordinates First we write the various comple numbers in polar form: 2i + 4 2 5e iφ, where φ Arg(2i + 4) tan (5) in the first quadrant Likewise i 2e iφ2;, where φ 2 π/4 [ ] So z p eit 2e 2 iφ 2 [ ] 2e 5e iφ 2 2 i(t+φ 2 φ ) 5 2e i(t φ ) Taking the real part: p Re(z p ) [ ] 2 cos(t + φ2 φ ) 2 cos(t φ )

9 VARIATION OF PARAMETERS; EXPONENTIAL INPUTS; EULER S METHOD4 Here is the same calculation in rectangular coordinates I think the arithmetic is more error prone and the answer is harder to interpret i 4 2i i 3i 2i + 4 2 2 2 4 + 2i So, z p (cos(t) + i sin(t)) Thus, 3i [ 4 + 2i p (t) Re(z p (t)) cos(t) + 3 sin(t) + i(sin(t) 3 cos(t)) 4 cos(t) 2 sin(t) + i( 4 sin(t) + 2 cos(t)) cos(t) + 3 sin(t) 4 cos(t) 2 sin(t) ] 95 Variation of parameters For the general, not necessarily constant coefficient, linear inhomogeneous system (I) we cannot use constant coefficient techniques like the ERF For those cases where the ERF doesn t apply we can try to use the variation of parameters formula Since it involves integration, matri inverses and matri multiplication it is our last choice when trying to solve an equation Nonetheless, sometimes it s the only method available In addition, the derivation of the formula is really very pretty Suppose we have a fundamental matri Φ(t) for the homogeneous linear equation A(t) (H) Remember this means that Φ has columns which are independent solutions to (H) 96 Variation of parameters formula Now suppose we want to solve A(t) + F(t) Theorem The general solution to equation (I) is given by the variation of parameters formula ( ) (t) Φ(t) Φ(t) F(t) dt + C Proof (Remember this) We will use a form of the method of optimism to derive this formula We know the general homogeneous solution is (t) Φ(t) c for a constant vector c The vector c is called a parameter Variation of parameters is an old-fashioned way of saying let s optimistically make it a (dependent) variable u(t) So, we try a solution of the form (t) Φ(t) u(t) The function u(t) is unknown, we substitute our guess into (I) and see what u(t) needs to be: Φ u + Φ u AΦ u + F So, (don t forget Φ AΦ) AΦ u + Φ u AΦ u + F Φ u F (I)

9 VARIATION OF PARAMETERS; EXPONENTIAL INPUTS; EULER S METHOD5 This last equation is easy to solve u Φ F u(t) Φ (t) F(t) dt + C We take this formula for u(t) and use it in our trial solution ( ) (t) Φ(t) u(t) Φ(t) Φ(t) F(t) dt + C QED Remark Note that the variation of parameters formula assumes you know the general homogeneous solution It gives no help in finding this solution (For eamples we can use constant coefficient systems where we know how to find the homogeneous solution using eigenvalues and eigenvectors) Eample 96 Use the variation of parameters formula to solve 6 5 e t + 2 e 5t Note We retiterate that using the ERF is the preferred method of solving this equation We use the variation of parameters formula here for practice 6 5 answer: Let s introduce some notation to save typing: A, F 2 t [ e t 5e We know the fundamental matri from an earlier eample: Φ(t) 7t ] e t e 7t So, [ e Φ 7t 5e (t) 7t ] e 8t 6 e t e t Calculating with the variation of parameters we get Φ(t) Φ (t) F(t) dt [ e 8t e 7t 5e Φ(t) 7t ] e t 6 e t e t e 5t dt 5e 4t Φ(t) 6 e 6t + e 2t dt [ 6 Φ(t) t 5 ] 4 e4t + c 6 e 6t 2 e 2t + c 2 [ te t 5 4 e5t 5 6 et 5 2 e5t + c e t + 5c 2 e 7t ] 6 te t + 5 4 e5t 6 et 2 e5t c e t + c 2 e 7t [ ] te t + e 5t 5/4 + e t 5/6 + c 6 3/4 /6 e t + c 2 e 7t 5 Notice the homogeneous solution appearing with the constants of integration

9 VARIATION OF PARAMETERS; EXPONENTIAL INPUTS; EULER S METHOD6 96 Definite integral version of variation of parameters The equation (I) with initial condition (t ) b has definite integral solution 97 Euler s method ( t ) (t) Φ(t) Φ (u) F(u) du + C where C Φ (t ) b t Euler s method works without change for systems Consider a first order system: F(, t), (t ) Using stepsize h we have the same algorithm as for ordinary DE s m F( n, t n ) n+ n + hm, t n+ t n + h Again, just like for ordinary DE s, there are other, better, algorithms for choosing m or varying h y Eample 97 Consider y t, () Let and use h 5 to estimate (2) y n t n n m F( n, t n ) 75 5 5 5 375 2 2 25