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

Similar documents
Higher-order differential equations

Systems of differential equations Handout

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

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

Worksheet # 2: Higher Order Linear ODEs (SOLUTIONS)

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

1.5 Inverse Trigonometric Functions

Question: Total. Points:

Chapter 7. Homogeneous equations with constant coefficients

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 1A - FINAL EXAM DELUXE - SOLUTIONS. x x x x x 2. = lim = 1 =0. 2) Then ln(y) = x 2 ln(x) 3) ln(x)

Polytechnic Institute of NYU MA 2132 Final Practice Answers Fall 2012

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

Algebra & Trig Review

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

CHAPTER 7: TECHNIQUES OF INTEGRATION

Solutions to Math 53 Math 53 Practice Final

Final Review Sheet. B = (1, 1 + 3x, 1 + x 2 ) then 2 + 3x + 6x 2

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

2t t dt.. So the distance is (t2 +6) 3/2

5.9 Representations of Functions as a Power Series

MATH 24 EXAM 3 SOLUTIONS

0 2 0, it is diagonal, hence diagonalizable)

Chapter 4 & 5: Vector Spaces & Linear Transformations

MATH 320 INHOMOGENEOUS LINEAR SYSTEMS OF DIFFERENTIAL EQUATIONS

1 Some general theory for 2nd order linear nonhomogeneous

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

Math221: HW# 7 solutions

MAT1302F Mathematical Methods II Lecture 19

Recitation 9: Probability Matrices and Real Symmetric Matrices. 3 Probability Matrices: Definitions and Examples

Math 308 Week 8 Solutions

Systems of Linear ODEs

Do not write below here. Question Score Question Score Question Score

Computationally, diagonal matrices are the easiest to work with. With this idea in mind, we introduce similarity:

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.

3 = arccos. A a and b are parallel, B a and b are perpendicular, C a and b are normalized, or D this is always true.

Math101, Sections 2 and 3, Spring 2008 Review Sheet for Exam #2:

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

To factor an expression means to write it as a product of factors instead of a sum of terms. The expression 3x

HINTS - BANK PEYAM RYAN TABRIZIAN

1.4 Techniques of Integration

Homework Solutions: , plus Substitutions

Work sheet / Things to know. Chapter 3

Linear Second Order ODEs

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

Differential Equations

MA 527 first midterm review problems Hopefully final version as of October 2nd

x gm 250 L 25 L min y gm min

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

( )( b + c) = ab + ac, but it can also be ( )( a) = ba + ca. Let s use the distributive property on a couple of

Math 266 Midterm Exam 2

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

Problem Score Possible Points Total 150

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

Name Solutions Linear Algebra; Test 3. Throughout the test simplify all answers except where stated otherwise.

Problem Score Possible Points Total 150

Calculus II. Calculus II tends to be a very difficult course for many students. There are many reasons for this.

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

Section 5.5. Complex Eigenvalues

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

Math 54 Homework 3 Solutions 9/

What if the characteristic equation has a double root?

Exam 2 Study Guide: MATH 2080: Summer I 2016

Math K (24564) - Homework Solutions 02

MATH 223 FINAL EXAM APRIL, 2005

Solving Quadratic & Higher Degree Equations

Math 096--Quadratic Formula page 1

Quadratic Equations Part I

Midterm 1 Review. Distance = (x 1 x 0 ) 2 + (y 1 y 0 ) 2.

Announcements Monday, November 13

Solving Quadratic & Higher Degree Equations

APPM 2360: Midterm exam 3 April 19, 2017

[Disclaimer: This is not a complete list of everything you need to know, just some of the topics that gave people difficulty.]

Homogeneous Constant Matrix Systems, Part II

MATH240: Linear Algebra Review for exam #1 6/10/2015 Page 1

MATH 310, REVIEW SHEET 2

Lecture Notes for Math 251: ODE and PDE. Lecture 27: 7.8 Repeated Eigenvalues

Math 240 Calculus III

Announcements Monday, November 13

The above statement is the false product rule! The correct product rule gives g (x) = 3x 4 cos x+ 12x 3 sin x. for all angles θ.

Section 9.8 Higher Order Linear Equations

A: Brief Review of Ordinary Differential Equations

Partial Fractions. (Do you see how to work it out? Substitute u = ax + b, so du = a dx.) For example, 1 dx = ln x 7 + C, x x (x 3)(x + 1) = a

Lecture 8: Ordinary Differential Equations

MATH 23 Exam 2 Review Solutions

Chapter 8B - Trigonometric Functions (the first part)

Examples True or false: 3. Let A be a 3 3 matrix. Then there is a pattern in A with precisely 4 inversions.

Distances in R 3. Last time we figured out the (parametric) equation of a line and the (scalar) equation of a plane:

Updated: January 16, 2016 Calculus II 7.4. Math 230. Calculus II. Brian Veitch Fall 2015 Northern Illinois University

Section 5.5. Complex Eigenvalues

Chapter 1 Review of Equations and Inequalities

DIFFERENTIAL EQUATIONS

Math 310 Introduction to Ordinary Differential Equations Final Examination August 9, Instructor: John Stockie

Math 24 Spring 2012 Questions (mostly) from the Textbook

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

ACCESS TO SCIENCE, ENGINEERING AND AGRICULTURE: MATHEMATICS 1 MATH00030 SEMESTER / Lines and Their 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.

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

Sign the pledge. On my honor, I have neither given nor received unauthorized aid on this Exam : 11. a b c d e. 1. a b c d e. 2.

Transcription:

DIFFERENTIAL EQUATIONS REVIEW PEYAM RYAN TABRIZIAN Here are notes to special make-up discussion 35 on November 21, in case you couldn t make it. Welcome to the special Friday after-school special of That s so Peyam! I realize that I ve been going through Chapters 4, 6, and 9 like a rocket, so now we can finally slow down and ask ourselves: What in the world are we doing? But first, let me wrap up with one last cute topic, which is NOT on the exam, but which is VERY important in case you want to study more differential equations in the future. 1. THE MATRIX EXPONENTIAL Idea: The idea is to go back to the roots (lol, roots). Since the general solution of y = ay (where a is in R) is y(t) = Ce at, why not just say that the general solution of x = Ax is: where c is a vector of constants. x(t) = ce At Well, this doesn t quite make sense since c is an n 1 matrix, and e At (should be) an n n matrix, and the product of an n 1 and an n n matrix is undefined. So we need to reformulate our question: Question: Can we say that: x(t) = e At c This would indeed provide us with an elegant way of solving x = Ax, and indeed we can! And as usual, the answer is... diagonalization! Date: Friday, November 21, 2014. 1

2 PEYAM RYAN TABRIZIAN Example: Calculate e At, where A = Ax. 1 2, and use this to solve x 0 1 = The trick is to diagonalize A: Write A = P DP 1, where: D = 1 0, P = 0 1 1 1 0 1 Notice that using diagonalization, it is easy to calculate A anything. For example A 2 = P D 2 P 1, A 3 = P D 3 P 1, A n [ = P D n P 1 ], and D anything is ( 1) even easier to calculate. For example, D n n 0 = 0 1 n. Using this idea, it makes sense (and indeed it is true) to say that e A = P e D P 1, and in general: e At =P e Dt P 1 [ 1 1 e t 0 1 1 = 0 1 0 e t 0 1 e t e = t e t 0 e t ] 1 [ A And therefore, if c = (where A and B are constants), we obtain: B] x(t) =e At c e t e = t e t A 0 e t B e t e =A + B t e t 0 e t 1 1 Note: Compare this with the solution x(t) = Ae t + Be 0 t we 1 would have obtained using diagonalization. At first sight it does not look like we obtained the same solution, but in fact, if we relabel the constants A and B, one can show that those two are the same solution.

DIFFERENTIAL EQUATIONS REVIEW 3 Of course, so far it looks like that there is no difference between the (usual) diagonalization-way and the (new) matrix exponential-way, but using this idea of matrix exponentials, we can go beyond solving x = Ax. Get ready for the next example! Example: With A as above, solve x = A 2 x. Whoa! What a complicated system!!! YET we can solve this using the ideas of the previous example. Recall that the solutions of y = a 2 y are y(t) = c 1 cos(at) + c 2 sin(at). Here, by analogy, we get: x(t) = cos(at)c 1 + sin(at)c 2 [ [ A C = cos(at) + sin(at) B] D] ] ] [ [ A C =P cos(dt)p 1 + P sin(dt)p B 1 D [ cos(t) 0 A sin(t) 0 C =P + P P 0 cos( t)] B 0 sin( t) 1 D = And in the end, you can find an explicit formula for x(t) in terms of cos and sin (I ll leave it up to you to finish the calculations) Congratulations! Now, in theory, you can really solve all systems of differential equations! 2. HIGHER-ORDER DIFFERENTIAL EQUATIONS Example: Find all the solutions to y 5y 2y + 24y = 0 such that lim t y(t) = 54. Just as usual, find the auxiliary equation: Aux: r 4 5r 3 2r 2 + 24r = r(r 3 5r 2 2r + 24) = 0. In order to factor out r 3 5r 2 2r + 24, use the rational roots theorem, which says that if r = a, then a must divide 24 (the constant term) and b b must divide 1 (the leading term). This gives us that a = ±1, ±2, ±3, ±4, ±6, ±8, ±12, ±24, and b = ±1, so we must try: r = ±1, ±2, ±3, ±4, ±6, ±8, ±12, ±24

4 PEYAM RYAN TABRIZIAN (Good luck!) After some calculations, you ll find that r = 2 works! (remember to check negative values as well, your roots are not always positive). Now use long-division to divide r 3 5r 2 2r + 24 by r + 2: X 2 7X + 12 X + 2 ) X 3 5X 2 2X + 24 X 3 2X 2 7X 2 2X 7X 2 + 14X 12X + 24 12X 24 0 And you obtain that the auxiliary polynomial becomes: Aux: r(r + 2)(r 2 7r + 12) = r(r + 2)(r 3)(r 4) = 0, which gives you r = 0, 2, 3, 4. And therefore, the general solution to our differential equation is: y(t) = Ae 0t + Be 2t + Ce 3t + De 4t = A + Be 2t + Ce 3t + De 4t Now notice that lim t e 3t =, and same for e 4t, so if C 0 or D 0, we get lim t y(t) =, and therefore we must have C = 0 and D = 0. Therefore y(t) = A + Be 2t. And now we have lim t y(t) = lim t A+Be 2t = A+0 = A = 54, so A = 54, and finally we get: y(t) = 54 + Be 2t (where B is any real number). And this indeed satisfies that lim t y(t) = 54. Example: Suppose that we happen to know that x, x ln(x), x (ln(x)) 2 solves: x 3 y + xy y = 0 Find the general solution to this differential equation.

DIFFERENTIAL EQUATIONS REVIEW 5 Since we re dealing with a third-order differential equation, we have the usual fact: FACT: The vector space of general solutions to this differential equation is 3-dimensional. So all we really need to show is that the three functions above are linearly independent (because then we would get a set of 3 linearly independent solutions, and hence a basis for the solution set). Before you get too excited and use the Wronskian, let s be clever about this and simplify our work (this is important to remember when you have complicated functions): Suppose ax + bx ln(x) + cx (ln(x)) 2 = 0. Then, canceling out x (provided x 0, because you don t want to divide by 0), we get a(1) + b ln(x) + c (ln(x)) 2 = 0. So all we need to show is that 1, ln(x), (ln(x)) 2 are linearly independent. NOW use the Wronskian: 1 ln(x) (ln(x)) 2 1 W (x) = 0 2 ln(x) x ( x 0 1 2 1 ln(x) x 2 x 2 ) Now pick a point x 0 where the determinant is nonzero. For example x = 1 works: W (1) = 1 0 0 0 1 0 0 1 2 So W (1) = 2 0, so your three functions are linearly independent. Therefore { x, x ln(x), x (ln(x)) 2} is a fundamental solution set of your differential equation (= a linearly independent set of three functions which solve your differential equation), and therefore by the FACT, the general solution to our differential equation is: y(t) = Ax + Bx ln(x) + Cx (ln(x)) 2

6 PEYAM RYAN TABRIZIAN Example: Find the largest interval on which: (tan(t)) y + (t 1)y + 3y = tan 2 (t) with y ( ) ( 1 2 = 0, y 1 2) = 1 has a unique (twice-differentiable) solution. First, we want to convert the equation into standard form (meaning that the coefficient of y has to be 1). So dividing the equation by tan(t) and using tan 2 (t) = (tan(t)) 2, we get: y + ( ) ( ) t 1 3 + y = tan(t) tan(t) tan(t) Now let s find the sets where each terms are continuous (which in this case is the domain of each set). IMPORTANT: Do NOT find the whole domains, just focus on what s happening near 1 (our initial condition). 2 y -term: Dom(1) = R ( ) y -term: Dom = ( ) 0, π 2 (again, just focus on what s happening t 1 tan(t) near 1. Notice that tan(t) = 0 at t = 0, π, and tan(t) isn t defined at t = π. 2 2 We do not care what s happening at 3π for example!) 2 ( ) 3 y-term: Dom = ( ) 0, π tan(t) 2 Inhomogeneous term: Domtan(t) = ( π, ) π 2 2 Therefore, the answer we re looking for is the intersection of all those intervals: R ( 0, π ) ( 0, π ) ( π 2 2 2, π ) ( = 0, π ) 2 2 Example: Find the form of a particular solution y p to: where y 2y + y = f(t) I m gonna stop here for a second!

DIFFERENTIAL EQUATIONS REVIEW 7 Before you even look what f is, find the general solution to the homogeneous equation y 2y + y = 0. Aux: r 2 2r + 1 = (r 1) 2 = 0 r = 1 (double root), and hence: y 0 (t) = Ae t + Bte t We ll need this to compare the particular solution with the homogeneous solution. (a) f(t) = e t First guess y p = e t, but this coincides with the homogeneous solution. Then guess y p = te t, ditto. Finally guess y p = t 2 e t. This works, so guess: (b) f(t) = te t y p (t) = At 2 e t Always treat the polynomial term separately! So t becomes At + B. For e t, guess e t, which coincides with the homogeneous solution. Then guess te t, ditto. Finally guess t 2 e t. Bingo. Therefore, multiplying both things, we get: (c) f(t) = t 3 e t y p (t) = (At + B)t 2 e t t 3 becomes At 3 + Bt 2 + Ct + D For e t : guess e t. No. Guess te t. No. Guess t 2 e t. Bingo. So multiplying, we get: (d) f(t) = e t cos(t) y p (t) = (At 3 + Bt 2 + Ct + D)t 2 e t It s really important not to separate e t cos(t) (they re like bread and butter), so here you d guess:

8 PEYAM RYAN TABRIZIAN y p (t) = Ae t cos(t) + Be t sin(t) (Notice that y p does not coincide with the homogeneous solution) (e) f(t) = te t cos(t) Again, treat the polynomial term separately from the rest: t becomes At + B e t cos(t) becomes Ae t cos(t) + Be t sin(t) Multiplying everything together (and make sure to label each constant differently:), we get: y p (t) = (At + B)e t cos(t) + (A t + B )e t sin(t) 3. SYSTEMS OF DIFFERENTIAL EQUATIONS Since this is fresh in your mind, let s just do one example. Example: (a) Find the general solution of x = Ax, where A = Eigenvalues: The eigenvalues are λ = 2 ± i 0 1. 5 2 (NOTE: Someone pointed out afterwards that the eigenvalues are actually λ = 1 ± 2i. For the rest of the problem, just do the problem assuming that the eigenvalues are λ = 2 ± i and the eigenvectors are as below. My bad!) Eigenvectors: For the eigenvalue λ = 2 + i, the corresponding {[ i eigenspace is Span, which means that the solution is: 5]}

DIFFERENTIAL EQUATIONS REVIEW 9 x(t) = ( e 2t cos(t) + ie 2t sin(t) ) ( [ 0 1 + i 5 ) ( [ [ ( [ [ 0 1 1 0 = e 2t cos(t) e 5] 2t sin(t) + i e ) 2t cos(t) + e 2t sin(t) 5]) ( [ [ ( [ [ 0 1 1 0 = A e 2t cos(t) e 5] 2t sin(t) + B e ) 2t cos(t) + e 2t sin(t) 5]) e =A 2t sin(t) e 5e 2t + B 2t cos(t) cos(t) 5e 2t sin(t) [ 1 (b) Find the solution x(t) which satisfies x(0) = 2] Using the above formula for x(t), we get: [ [ B 1 x(0) = = 5A] 2] And therefore B = 1 and A = 2, and therefore: 5 x(t) = 2 5 e 2t sin(t) 5e 2t + cos(t) (c) For x(t) as in (b), what is lim t x(t)? e 2t cos(t) 5e 2t sin(t) Notice lim t e 2t sin(t) = 0 (by the squeeze theorem), [ and 0 similarly for the other terms), therefore lim t x(t) = (d) Draw the phase portrait for x(t) as in (b). Just like today at noon, because x(t) involves trig-terms, x(t) has a[ spiraly-feature. Moreover by (c), we know that x(t) [ has to go to 0 0, and so it follows that x(t) has to spiral inwards to, as in the following picture (this is just a technicality, but note that the spiral is [ slightly [ elongated along the y axis because the eigenvector is 0 1 + i ): 5]

10 PEYAM RYAN TABRIZIAN 54/Math 54 - Fall 2014/Spiral.png