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

Similar documents
dx n a 1(x) dy

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

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.

Math 2Z03 - Tutorial # 6. Oct. 26th, 27th, 28th, 2015

Differential Equations 2280 Sample Midterm Exam 3 with Solutions Exam Date: 24 April 2015 at 12:50pm

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

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

Section 3.4. Second Order Nonhomogeneous. The corresponding homogeneous equation

Ordinary Differential Equations

2.2 Separable Equations

MA 266 Review Topics - Exam # 2 (updated)

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

Work sheet / Things to know. Chapter 3

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

Consider an ideal pendulum as shown below. l θ is the angular acceleration θ is the angular velocity

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

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.

4.2 Homogeneous Linear Equations

MATH 2250 Final Exam Solutions

UNDETERMINED COEFFICIENTS SUPERPOSITION APPROACH *

Polytechnic Institute of NYU MA 2132 Final Practice Answers Fall 2012

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

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

APPLIED MATHEMATICS. Part 1: Ordinary Differential Equations. Wu-ting Tsai

MATH 251 Final Examination December 16, 2014 FORM A. Name: Student Number: Section:

Math 115 HW #10 Solutions

Diff. Eq. App.( ) Midterm 1 Solutions

Math 266: Phase Plane Portrait

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

A Brief Review of Elementary Ordinary Differential Equations

Chapter 3. Reading assignment: In this chapter we will cover Sections dx 1 + a 0(x)y(x) = g(x). (1)

Math Assignment 5

Theory of Higher-Order Linear Differential Equations

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]

MATH 307: Problem Set #3 Solutions

Even-Numbered Homework Solutions

MATH 251 Final Examination December 16, 2015 FORM A. Name: Student Number: Section:

REVIEW NOTES FOR MATH 266

Solutions to Math 53 Math 53 Practice Final

3.4.1 Distinct Real Roots

CLTI Differential Equations (3A) Young Won Lim 6/4/15

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

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

Handbook of Ordinary Differential Equations

Basic Theory of Linear Differential Equations

4 Differential Equations

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

Math 266 Midterm Exam 2

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

B Ordinary Differential Equations Review

MATH 23 Exam 2 Review Solutions

Essential Ordinary Differential Equations

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

ANSWERS Final Exam Math 250b, Section 2 (Professor J. M. Cushing), 15 May 2008 PART 1

Introductory Differential Equations

2. Second-order Linear Ordinary Differential Equations

Alan H. SteinUniversity of Connecticut. Linear Differential Equations With Constant Coefficients

µ = e R p(t)dt where C is an arbitrary constant. In the presence of an initial value condition

144 Chapter 3. Second Order Linear Equations

Math 216 Second Midterm 16 November, 2017

Study guide - Math 220

كلية العلوم قسم الرياضيات المعادالت التفاضلية العادية

Math Ordinary Differential Equations

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

Second Order Linear ODEs, Part II

Nonlinear Autonomous Systems of Differential

Solutions to Dynamical Systems 2010 exam. Each question is worth 25 marks.

Chapter 3: Second Order Equations

3.3. SYSTEMS OF ODES 1. y 0 " 2y" y 0 + 2y = x1. x2 x3. x = y(t) = c 1 e t + c 2 e t + c 3 e 2t. _x = A x + f; x(0) = x 0.

APPM 2360: Final Exam 10:30am 1:00pm, May 6, 2015.

Solution of Constant Coefficients ODE

A: Brief Review of Ordinary Differential Equations

Chapter 4: Higher Order Linear Equations

ODEs Cathal Ormond 1

17.2 Nonhomogeneous Linear Equations. 27 September 2007

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

MATH 251 Final Examination December 19, 2012 FORM A. Name: Student Number: Section:

Math 23: Differential Equations (Winter 2017) Midterm Exam Solutions

MATH 215/255 Solutions to Additional Practice Problems April dy dt

Second Order ODE's (2A) Young Won Lim 5/5/15

Problem Score Possible Points Total 150

Exam II Review: Selected Solutions and Answers

Midterm 1 NAME: QUESTION 1 / 10 QUESTION 2 / 10 QUESTION 3 / 10 QUESTION 4 / 10 QUESTION 5 / 10 QUESTION 6 / 10 QUESTION 7 / 10 QUESTION 8 / 10

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.

Test #2 Math 2250 Summer 2003

The Theory of Second Order Linear Differential Equations 1 Michael C. Sullivan Math Department Southern Illinois University

First Order Differential Equations

Math 2142 Homework 5 Part 1 Solutions

MATH 251 Final Examination May 3, 2017 FORM A. Name: Student Number: Section:

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

Lecture Notes on. Differential Equations. Emre Sermutlu

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

Math 216 Final Exam 24 April, 2017

MA22S3 Summary Sheet: Ordinary Differential Equations

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

Classification of Phase Portraits at Equilibria for u (t) = f( u(t))

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

Applied Differential Equation. October 22, 2012

ODE Homework Solutions of Linear Homogeneous Equations; the Wronskian

Lecture Notes for Math 251: ODE and PDE. Lecture 30: 10.1 Two-Point Boundary Value Problems

Transcription:

Math 4B Notes Written by Victoria Kala vtkala@math.ucsb.edu SH 6432u Office Hours: T 2:45 :45pm Last updated 7/24/206 Classification of Differential Equations The order of a differential equation is the order of the highest derivative that appears in the equation. For example, the differential equation has order 5. d 3 y dx 3 + x2 y d5 y dx 5 sin3 xy dy dx = cotx An ordinary differential equation is said to be linear if it can be written in the form a n xy n + a n xy n +... + a xy + a 0 xy = gx where gx and each a i x are functions of x and not y. For example, the differential equation y + xy 2 y = x 4 is not linear because of the term xy 2 y. Separable Equations A separable equation is a first order linear differential equation that can be written as Use the following steps to solve the equation: dy dx = fxgy.. Write a function of x on one side of the equation and a function of y on the other side of the equation, e.g. the above equation would look like dy gy = fxdx. 2. Integrate both sides. 3. Solve for y if possible and C if given an initial value.

First Order Linear Equations A first order linear differential equation is of the form Use the following steps to solve the equation:. Write the equation in standard form: a x dy dx + a 0xy = gx. 2. Find the integrating factor µx = e P xdx. dy + P xy = fx. dx 3. Multiply the standard equation in Step by µx. Your equation can now be written in the form µxy = µxfx. 4. Integrate: µxy = µxfxdx. µxfxdx 5. Solve for y and C if given an initial value: y =. µx Friendly note: While you could just memorize the formula in Step 5, you shouldn t. It is better to follow the steps listed above and understand what you are solving rather than just plug in your functions into a formula. Exact Equations and Integrating Factors An equation of the form Mx, ydx + Nx, ydy = 0 or Mx, y + Nx, y dy dx = 0 is said to be an exact equation if M y = N. Our goal is to find a function fx, y such that: x f x = Mx, y and f y Use the following steps to solve an exact equation:. Verify that M y = N x. = Nx, y. 2. Since we want f x = Mx, y, integrate with respect to x: fx, y = Mx, ydx + gy. 2

3. Since we want f y = Nx, y, differentiate what you found in Step 2 with respect to y: Mx, ydx + g y = Nx, y. y 4. Solve for g y: g y = Nx, y y Mx, ydx and integrate with respect to y on both sides. 5. Plug your solution for gy into your equation for step 2. The solution is fx, y = C. The Existence and Uniqueness Theorem for first order equations Theorem Existence and Uniqueness Theorem for First Order Linear Equations. If the functions P and f are continuous on an open interval I : α < t < β containing the point t = t 0, then there exists a unique function y = φt that satisfies the differential equation y + P ty = ft for t in I, and that also satisfies the initial condition yt 0 = y 0, where y 0 is an arbitrary prescribed value. What this means if that P and f are continuous on its domain, and your initial value t 0 is in some interval in that domain, then there exists a unique solution to that differential equation in that interval. For example, consider the differential equation P x = x y + x y = x + 4. and fx = x+4. The domain of P x is everything except x =, which we can write as,,. The domain of fx is all numbers greater than -4, or 4,. Taking the intersection of these domains gives us 4,,. P and f are continuous on this domain. If we were given the initial value of y5 = y 0, the largest interval that guarantees a solution is the interval, since 5 is in that interval. If we were given the initial value of y π = y 0, the largest interval that guarantees a solution is the interval 4, since π is in that interval. Homogeneous Linear Equations With Constant Coefficients Consider the special case of the second order equation ay +by +cy = 0. We want to find a solution of the form y = e mx, and by substitution this into the equation we get ae mx + be mx + ce mx = 0 am 2 e mx + bme mx + ce mx = 0 e mx am 2 + bm + c = 0. 3

Since e mx never equals zero, we have am 2 + bm + c = 0 and we can now solve for m. This equation above is called the auxiliary or characteristic equation of our differential equation. You don t need to use this derivation all the time to get the characteristic/auxiliary equation. Just know that y n corresponds with m n ; thus an equation of the form has the characteristic/auxiliary equation a n y n + a n y n +... + a y + a 0 y = 0 a n m n + a n m n +... + a m + a 0 = 0. Use the following steps to solve a homogeneous linear equation with constant coefficients:. Write the characteristic/auxiliary equation for the differential equation. 2. Solve for your zeros m. 3. Write the general solution according to the cases below : a If m is real and has multiplicity distinct from all the other values, then the solution is of the form ce mx. b If m is real and has multiplicity k, then the solution is of the form c e mx + c 2 xe mx +... + c k x k e mx. c If m is complex i.e., m = α+iβ, then the general solution is of the form e αx c cosβx+ c 2 sinβx. Note: you may have one or more of the cases depending on your polynomial. If so, add them together to form your entire general solution. 4. Solve for your constants if given initial values. The Wronskian The Wronskian of a set of functions f, f 2,..., f n is the determinant f f 2... f n f f 2... f n W f, f 2,..., f n =....... f n 2... f n n f n The set of functions f, f 2,..., f n are said to form a fundamental set of solutions to a differential equation if and only if they are solutions to that differential equation on some interval and W f, f 2,..., f n 0 for every x in the solution interval. 4

Reduction of Order Consider the homogeneous linear second-order differential equation a 2 xy + a xy + a 0 xy = 0 and suppose that we know y is a solution to the equation above. Using the method of reduction of order we can find a second solution y 2 to the differential equation, where y 2 x = vxy x. Use the following steps to solve such an equation using reduction of order:. Write the differential equation in standard form: y + P ty + Qty = 0. 2. Let y 2 = vy. Find y 2 and y 2 using the product rule, and plug these into the given differential equation. You should get a second order equation in terms of v: y v + 2y + P ty v = 0. Remember to use the fact that y + P ty + Qty = 0! 3. Let w = v, then w = v. Plug these into the equation above: y w + 2y + P ty w = 0. This is a first order linear equation, use the appropriate method to solve for w. 4. Integrate w to find v: v = wdx. 5. The second solution to the equation is y 2 = vy, and the general solution to the differential equation is y = c y + c 2 y 2. Undetermined Coefficients Consider the nonhomogeneous equation y +P xy +Qxy = gx where P x, Qx are constants. If gx is of the type px = a n x n +... + a x + a 0, pxe αx, pxe αx sinβx, pxe αx cosβx, we can use a method called the method of undetermined coefficients. There are actually two methods using undetermined coefficients, one is a substitution approach and the other is called the annihilator approach. In these notes I will only be discussing the substitution approach. Here are some example of the form we use for y p : 5

gx x 3 + x 2 + x + 2 e 5x sin4x x 2 e x 5x sin 2x x 2 e x sin x Form of y p Ax 3 + Bx 2 + Cx + E Ae 5x A sin4x + B cos4x Ax 2 + Bx + Ce x Ax + B sin 2x + Cx + E cos 2x Ax 2 + Bx + Ce x sin x + Ex 2 + F x + Ge x cos x We need to be careful with how we pick y p, however. If gx does not have any functions contained in the solution to the homogeneous equation, then y p is found similar to the equations above. However, if gx does contain functions that are in the general solution, then we must multiply our y p by x n where n is the smallest integer that eliminates duplication. For example, consider the equation y 2y + = e x. The general solution to the homogeneous equation y 2y + = 0 is y c = c e x + c 2 xe x. Notice, however, that gx = e x which is already in our general solution, so we can t use y p = e x. If we multiply by x, xe x is still in our general solution, so we need to multiply by x again. Thus the form we would want to use for y p = x 2 e x. Use the following steps to solve nonhomogeneous linear equations using the method of undetermined coefficients:. Put into standard form y + P xy + Qx = gx. 2. Solve the associated homogeneous equation to get the complementary or general solution y c or sometimes denoted y h. 3. Find the form of y p using the following cases: i gx contains no function of y c ii gx contains a function of y c 4. Substitute y p into your equation and solve for the coefficients. 5. The solution to the differential equation is y = y c + y p. Variation of Parameters Consider the nonhomogeneous equation y +P xy +Qxy = gx where P x, Qx are constants. We can use a method called Variation of Parameters to solve this equation. Use the following steps to solve nonhomogeneous linear second order equations using the method of variation of parameters:. Put into standard form y + P xy + Qx = gx. 6

2. Solve the associated homogeneous equation to get the complementary or general solution y c = c y + c 2 y 2 or sometimes denoted y h.* 3. Find W, W, and W 2 where W = y y 2 y y 2, W = 0 y 2 gx y 2, W 2 = y 0 y gx 4. Find u, u 2 where 5. The particular solution is y p = u y + u 2 y 2. u = W W, u 2 = W 2 W 6. The solution to the differential equation is y = y c + y p. *Sometimes the homogeneous solution to y +P xy +Qxy = 0 may be given if P, Q are functions of x rather than constants. Note: there is also a formula that you may memorize for Variation of Parameters. Model of Spring System A spring is described by the equation mu t + γu t + kut = ft where m is the mass attached to the end of the spring, γ is the damping or friction constant, k is the spring constant found from Hooke s Law F = k x and ft is the external force. If γ = 0, the system is undamped. If γ 0, and the characteristic equation to the homogeneous equation has two real distinct roots, the system is overdamped. one real repeated root, the system is critically damped. two complex roots, the system is underdamped. 7

Homogeneous Linear Systems A homogeneous linear first order system will be of the form x = Ax. assume A is a 2 2 matrix. For these notes we will We have the following cases: i A has distinct eigenvalues ii A has repeated eigenvalues iii A has complex eigenvalues Use the following steps to solve:. Find the eigenvalues 2. Find the eigenvectors 3. Write the general solution based on the following cases above: i If λ, λ 2 are real, distinct eigenvalues with eigenvectors v, v 2, the general solution is of the form x = c v e λt + c 2 v 2 e λ2t. ii If λ is a real, repeated eigenvalue with eigenvector v, the general solution is of the form x = c v e λt + c 2 e λt v t + v 2. where v 2 is the generalized eigenvector from the equation A Iλv 2 = v. iii If λ, λ 2 are complex eigenvalues they should be complex conjugates with eigenvectors v, v 2 they should be complex conjugates, the general solution is of the form x = c Rev e λt + c 2 Imv e λt. Note: v 2 e λ2t will have similar real and imaginary parts which is why we only care about v e λt. Note: It is possible that we can have repeated eigenvalues which return multiple eigenvectors in larger systems. For example, the system 2 2 x = 2 2 x 2 2 has an eigenvalue λ = with multiplicity 2 with two linearly independent eigenvectors 0 v =, v 2 =. 0 8

Its general solution is therefore 0 x = c e t + c 2 e t + c 3 e 5t. 0 It is when the number of eigenvectors is less than the multiplicity of the eigenvalue that we must find more eigenvectors using the approach in Case ii. For a 3 3 system with eigenvalue λ of multiplicity 3 but only one eigenvector, the general solution is x = c v e λt + c 2 v te λt + v 2 e λt t 2 + c 3 v 2 eλt + v 2 te λt + v 3 e λt where A λiv = 0, A λiv 2 = v, A λiv 3 = v 2. Fundamental Matrices A fundamental matrix is a matrix of your linearly independent solutions. For example, consider the system x = x. 4 This system has the solution x = c e 3t + c 2 2 e t, 2 therefore the fundamental matrix of this system is e 3t e ψ = t 2e 3t 2e t. Undetermined Coefficients for Nonhomogeneous Linear Systems A nonhomogeneous linear system is of the form x = Ax + gt where gt is a vector. If gt is a polynomial, exponential function, or sine or cosine function, then we can use the method of undetermined coefficients to make an educated guess about the particular solution x p. Use the following steps to solve a nonhomgeneous linear system using the method of undetermined coefficients:. Write the equation in standard form: x = Ax + gt. 9

2. Find the homogeneous solution x h to the system x = Ax. 3. Guess x p using the following cases: i gt contains no function in common with x h ii gt contains a function in common with x h 4. The solution is x = x h + x p. Guessing for x p is similar to undetermined coefficients for a nonhomogeneous linear equation with constant coefficients, however our coefficients are now vectors. See the table below for examples. gt Form of x p 0 t 2 2 + at 3 2 a + bt + c = t a 2 + 2 8 e 0 5t ae 5t a = a 2 0 a cos 4t a sin4t + b cos4t = 2 5 sin 4t + b e 5t b 2 t + a 2 sin 4t + b c c 2 b 2 cos 4t Similar to nonhomogeneous linear equations with constant coefficients, we need to be careful if gt contains functions in common with the homogeneous solution x h. However, the rules we used for constant coefficient equations will not be quite the same for linear systems as seen in the following two examples. 8 Example. Find the form of x p for the equation x = Ax + given that the homogeneous 3 2 solution is x h = c + c 2 e 3t. 8 a Solution. Since gt =, we would guess x 3 p = a =. However, notice that a vector of a 2 2 constants is already in the solution x h it s the term c. Therefore we must guess x p = at + b = a a 2 t + b b 2. 8 Example 2. Find the form of x p for the equation x = Ax + + 3 2 homogeneous solution is x h = c + c 2 e 3t. 8 Solution. Since gt = + e 3 5 3t, we would guess x p = a+be 3t = 5 e 3t given that the a b + e a 2 b 3t. However, 2 2 notice that a vector of constants is already in the solution x h it s the term c and a vector 0

multiplied by e 3t is already in the solution x h it s the term c 2 e 3t. Therefore we must guess x p = at + b + cte 3t + de 3t = a a 2 t + b b 2 + c c 2 te 3t + d d 2 e 3t. Stability and Classification of Homogeneous Linear Systems We will be considering a homogeneous linear system of the form x = Ax where A is a 2 2 matrix. You will need to solve for your eigenvalues of your matrix A. You should also write out the general solution and sketch a phase plane diagram. If your phase plane diagram flows inward and the the limit as t of your solution converges, the solution is stable. If the phase plane diagram flows outward and the limit as t of your solution diverges, the solution is unstable. Below are some general cases of classifying the behavior of a homogeneous linear system: i Real and distinct eigenvalues If λ, λ 2 are the same sign, we have a node. If they are both positive, then the solution is unstable sketch it. If they are both negative, the solution is stable sketch it. If λ, λ 2 are opposite signs, we have a saddle. Saddles are unstable sketch it. ii Real and repeated eigenvalues If λ is a repeated eigenvalue with two eigenvectors we have a star. If λ is a repeated eigenvalue with one eigenvector we have a degenerate node. If λ is negative, the solution is stable. If λ is positive, the solution is unstable. iii Complex eigenvalues If the real part is equal to zero, then we have a center. If the real part is nonzero, then we have a spiral. If the real part is negative, then the solution is stable sketch it. If the real part is positive, the solution is unstable sketch it.

Linearization and Local Stability Consider the system dx = P x, y dt dy = Qx, y dt Equilibrium or fixed points are when P x, y = 0 and Qx, y = 0. The Jacobian matrix J is defined to be Px P J = y. Q x Q y The Jacobian matrix will help us identify the stability at each equilibrium point. Use the following steps to classify behavior of equilibrium points of a nonlinear system:. Find the equilibrium points x 0, y 0 by setting P x, y = 0 and Qx, y = 0. 2. Find J and evaluate Jx 0, y 0 at each equilibrium point. 3. Find the eigenvalues of Jx 0, y 0 at each equilibrium point. 4. Use the eigenvalues to classify the behavior and stability at that equilibrium point see previous section on stability and classification. If you are to sketch the phase plane, plot the equilibrium points. eigenvectors to the eigenvalues and plot the behavior on the graph. Then find the corresponding 2