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

Similar documents
Basic Theory of Linear Differential Equations

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

A Brief Review of Elementary Ordinary Differential Equations

Ordinary Differential Equations (ODEs)

Solution of Constant Coefficients ODE

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

B Ordinary Differential Equations Review

Theory of Higher-Order Linear Differential Equations

Lecture Notes on. Differential Equations. Emre Sermutlu

Atoms An atom is a term with coefficient 1 obtained by taking the real and imaginary parts of x j e ax+icx, j = 0, 1, 2,...,

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

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

Math 240 Calculus III

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

2 Linear Differential Equations General Theory Linear Equations with Constant Coefficients Operator Methods...

Section 4.7: Variable-Coefficient Equations

Examples: Solving nth Order Equations

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

Essential Ordinary Differential Equations

2. Second-order Linear Ordinary Differential Equations

Diff. Eq. App.( ) Midterm 1 Solutions

Math 2142 Homework 5 Part 1 Solutions

1 Differential Equations

Goals: Second-order Linear Equations Linear Independence of Solutions and the Wronskian Homogeneous DEs with Constant Coefficients

Differential Equations Class Notes

Higher-order ordinary differential equations

The Corrected Trial Solution in the Method of Undetermined Coefficients

MATH 2250 Final Exam Solutions

The Method of Undetermined Coefficients and the Shifting Rule. Math 5330, Spring 1996

MATHEMATICS FOR ENGINEERS & SCIENTISTS 23

Homework #6 Solutions

Elementary ODE Review

2.2 Separable Equations

17.2 Nonhomogeneous Linear Equations. 27 September 2007

First-Order ODE: Separable Equations, Exact Equations and Integrating Factor

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

6 Second Order Linear Differential Equations

Review For the Final: Problem 1 Find the general solutions of the following DEs. a) x 2 y xy y 2 = 0 solution: = 0 : homogeneous equation.

Euler-Cauchy Using Undetermined Coefficients

Title: Solving Ordinary Differential Equations (ODE s)

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

0.1 Problems to solve

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

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

Introductory Differential Equations

MB4018 Differential equations

Linear DifferentiaL Equation

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

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.

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

Ordinary Differential Equations

The Method of Frobenius

CHAPTER 2. Techniques for Solving. Second Order Linear. Homogeneous ODE s

Linear differential equations with constant coefficients Method of undetermined coefficients

First order Partial Differential equations

dx n a 1(x) dy

Math 2a Prac Lectures on Differential Equations

Lecture 1: Review of methods to solve Ordinary Differential Equations

Department of Mathematics. MA 108 Ordinary Differential Equations

Ordinary Differential Equations

M343 Homework 3 Enrique Areyan May 17, 2013

Section 3.4. Second Order Nonhomogeneous. The corresponding homogeneous equation

Polytechnic Institute of NYU MA 2132 Final Practice Answers Fall 2012

4 Differential Equations

3.4.1 Distinct Real Roots

Advanced Eng. Mathematics

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

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

Lectures on Differential Equations

dt 2 roots r = 1 and r =,1, thus the solution is a linear combination of e t and e,t. conditions. We havey(0) = c 1 + c 2 =5=4 and dy (0) = c 1 + c

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

Math Exam 2, October 14, 2008

Vectors, matrices, eigenvalues and eigenvectors

ENGI Second Order Linear ODEs Page Second Order Linear Ordinary Differential Equations

Section 4.3. Polynomial Division; The Remainder Theorem and the Factor Theorem

IV Higher Order Linear ODEs

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]

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

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

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

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.

Lesson 3: Linear differential equations of the first order Solve each of the following differential equations by two methods.

An Overly Simplified and Brief Review of Differential Equation Solution Methods. 1. Some Common Exact Solution Methods for Differential Equations

Handbook of Ordinary Differential Equations

Solving the Van Der Pol nonlinear differential equation using first order approximation perturbation method

First and Second Order ODEs

Problem 1 (Equations with the dependent variable missing) By means of the substitutions. v = dy dt, dv

Material for review. By Lei. May, 2011

Math 3313: Differential Equations Second-order ordinary differential equations

Study guide - Math 220

Ordinary differential equations Notes for FYS3140

A Concise Introduction to Ordinary Differential Equations. David Protas

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

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.

Lectures on Differential Equations

MATH 312 Section 4.3: Homogeneous Linear Equations with Constant Coefficients

UNDETERMINED COEFFICIENTS SUPERPOSITION APPROACH *

Solutions to Math 53 Math 53 Practice Final

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

Introduction to ordinary differential equations

Transcription:

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

2 first order b(x)y + c(x)y = f(x) Integrating factor or separable (see detailed flow chart for 1D on page 3 if needs more information about 1D) non-homogeneous non constant coefficients Euler ODE ax 2 y + bxy + cy = f(x) homogeneous ax 2 y + bxy + cy = f(x) ax 2 y + bxy + cy = 0 solve the homogeneous first and find y 1,y 2. Can only use variation of parameters since not constant coefficients First find Wronskina W and then =y 1 u 1 + y 2 u 2 y2 f(x) u 1 = aw y1 f(x) u 2 = aw one root, repeated y 1 =x r y 2 =x r ln x Note: y 2 is found using reduction of order method. Let y h = Ax r, plug into ODE and find charaterestic equation ar(r 1) + br + c = 0 and find its roots r 1, r 2 Two distinct real roots r 1, r 2 y 1 =x r 1 y 2 =x r 2 Two complex conjugate roots α ± iβ y 1 =x (α+iβ) y 1 =x (α iβ) For complex roots, it can be simplified as follows. y h =x α ( c 1 x iβ + c 2 x iβ) ( ) =x α c 1 e ln xiβ ln x iβ + c 2 e ( =x α c 1 e iβ ln x iβ ln + c 2 e x) =x α (C 1 cos(β ln x) + C 2 sin(β ln x)) second order a(x)y + b(x)y + c(x)y = f(x) NO Use variation of parameters First find Wronskina W and then non-homogeneous ay + by + cy = f(x) solve the homogeneous first and find y 1,y 2. Does f(x) contain only exponential, trig, constants or polynomials? constant coefficients YES Use Undetermined coefficients (guess) Guess form based on f(x) from lookup table ay + by + cy = f(x) one root, repeated y 1 =e rx y 2 =xe rx homogeneous ay + by + cy = 0 Let y h = Ae rx, plug into ODE and find charaterestic equation ar 2 + br + c = 0 and find its roots r 1, r 2 Two distinct real roots r 1, r 2 y 1 =e r 1x y 2 =e r 2x =y 1 u 1 + y 2 u 2 Note: y 2 is found using reduction of or- 1 = y2 f(x) u aw y der method. 1 or y 2 present in y1 f(x) u 2 = f(x)? aw NO YES y Multiply guess h by extra x second order with one solution given Reduction of Order If the second order ODE is given along with one solution y 1 and asked to find general solution, then the homogenous solution can be found by assuming y h = v(x)y 1 (x) and plugging this back into the given ODE and solving for v(x). Two complex conjugate roots α ± iβ y 1 =e αx cos(βx) y 2 =e αx sin(βx) =e αx (c 1 cos(βx) + c 2 sin(βx)) found y h General solution y = y h +. If initial conditions are given, now we find c 1, c 2. Plugin guess found back into original ODE and determine the unknown coefficients in General solution y = y h +. If initial conditions are given, now we find c 1, c 2.

system of first order ODE s nonhomogeneous system. (A constant) x = Ax + G(t) First solve the homogeneous part to find x 1 and x 2 homogeneous system. (A constant) x = Ax Variation of parameters Undetermined coefficients Find eigenvalues λ by solving A λi = 0 3 Find fundamental matrix Φ = [ x 1 x 1 ] x p = Φ Φ 1 G(t) dt YES Adjust x p by multiplying by t, see example May 4, 2017 for illustration. Only works if G(t) contains sums and products of exponentials and/or polynomials of degree 0 and A is constant. Everything else, use Variation of parameters. Write G(t) = g 1 (t) + g 2 (t) guess x p (t) based on form of g 1 (t), g 2 (t) similar to scalar case but using vectors for constants. So end up with something like x p (t) = a + be t (see example May 4, 2017) is x 1 or x 2 in x p? NO Plug x p (t) into x p (t) = Ax p (t) + g 1 (t) + g 2 (t). Balance terms and solve for vectors a and b x 1 λ 1 is complete (rare case) Second eigenvector v2 is found by solving from same eigenvalue (A λ 1 I) v 2 = 0 Find second L.I. solution x 2 = v 2 e λ 1t λ is real and repeated Find first eigenvector v 1 by solving (A λ 1 I) v 1 = 0 Find first L.I. solution x 1 = v 1 e λ 1t Is the eigenvalue λ 1 complete? i.e. can we find the second v 2 from same eigenvalue λ 1? (in a 2 2 system, this will only happen when the two first order equations are decoupled). Hence, most of the time, the eigenvalue will not be complete. x 2 build homogeneous solution x h = c 1 x 1 + c 2 x 2 λ 1 is defective (common case) Solve for v 2 from (A λ 1 I) v 2 = v 1 Where v 1 was found in above step. This step requires Gaussian elimination. Find second L.I. solution x 2 = (tv 1 + v 2 ) e λ 1t x 2 λ 1, λ 2 are real and distinct Find first eigenvector v 1 by solving (A λ 1 I) v 1 = 0 Find second eigenvector v 2 by solving (A λ 2 I) v 2 = 0 build homogeneous solution x 1 x 1 = v 1 e λ 1t x 2 = v 2 e λ 2t x h = c 1 x 1 + c 2 x 2 λ 1 = α + iβ, λ 2 = α iβ are complex conjugates Find first eigenvector v 1 by solving (A λ 1 I) v 1 = 0 Find second eigenvector v 2 by solving (A λ 2 I) v 2 = 0 build homogeneous solution x 1 = v 1 e (α+iβ)t x 2 = v 2 e (α iβ)t x h = c 1 x 1 + c 2 x 2 convert to real basis x 1 = Re{x 1 } x 2 = Im{x 1 } x h = c 3 x 1 + c 4 x 2 x p x h x = x h + x p p8 sysem.ipe may 5, 2017. Nasser M. Abbasi

ode first order y = f(x, y, y 2,... ) linear y = f(x, y) non-linear separable if ODE has the form y = P (x)q(y). Example y = xy, then it is separable. dy = P (x) Q(y) dy Q(y) = P (x) and solve for y integrating factor if ODE has this form y + P (x)y = Q(x) Example y + xy = 2x, then Integrating factor µ = e P (x), hence d(µy) = µq(x) µy = µq(x) + c ODE is exact or can be made exact. Write ODE in form M(x, y) + N(x, y)dy = 0 M y = N x? Example 2xy + (x 2 + cos y) dy = 0 Set up these two equations du = M du dy = N From first equation find U = M + f(y) where f(y) is some arbitrary function of y only. Using second equation now solve for f(y). The final solution is U = c where c is constant. no Example (2y 2 x y) + xdy = 0. Find integrating factor µ A = M y N x N is A function of x alone? no µ = e A Multiply the original ODE by the found integrating factor µ And follow same method M = µm N = µn B = N x M y M is B function of y alone? µ = e B dy We come here if ODE is not separable, not exact, and can not be made exact. Example is y = ye y x +y x. With ODE in form dy = f(x, y), replace y in RHS with y = ux where u = u(x). If RHS now only has u in it, then ODE is homegeneous. Apply transformation y = ux it will become separable. no R = N x M y xm yn is R function of t = xy alone? µ = e R dt no Try other methods. see above Not linear Canonical form y = f 0 + f 1 y + f 2 y 2 + f 3 y 3 f 0 = 0, f 3 = 0 Bernoulli. Example y = xy + y 2 f 3 = 0 Riccati. Example y = 1 + xy + y 2 f 3 0 Abel first kind. Example y = 1+xy+y 2 +xy 3 start by divinding by y 2. Then let u be the coefficient of x term left on the right. Example using the above. y y 2 = x y Let u = 1 y or y = 1 u, hence y = u u 2, subtitute back to obtain u + xu = 1 which is solved using integrating factor. Hence y is now found. use substitution y = + 1/u know particular solution? No use substitution y = u uf2 this leads to second order ODE which can be solved To do. Few Abel ODE can be solved exactly. Nasser M. Abbasi August 20, 2016. d1.ipe 4

1 examples 1.1 second order, constant coeff. 1.1.1 second order, constant coeff. homogeneous second order, constant coeff. homogeneous, one root repeated y 2y + 1 = 0 Let y = Ae rx and plug into the above and simplify, we obtain the charaterstic equation r 2 2r + 1 = 0 (r 1) 2 = 0 r = 1 Repated root. Hence the two L.I. basis solutions are And the homogeneous solution is y 1 = e x y 2 = xe x y h = c 1 y 1 + c 2 y 2 = c 1 e x + c 2 e x second order, constant coeff. homogeneous, two real distinct roots y + y 2y = 0 Let y = Ae rx and plug into the above and simplify, we obtain the charaterstic equation r 2 + r 2 = 0 (r 1) (r + 2) = 0 r 1 = 1 r 2 = 2 Hence the L.I. basis solutions are And the homogeneous solution is y 1 = e x y 2 = e 2x y h = c 1 y 1 + c 2 y 2 = c 1 e x + c 2 e 2x second order, constant coeff. homogeneous, two complex conjugate roots y 6y + 13y = 0 Let y = Ae rx and plug into the above and simplify, we obtain the charaterstic equation r 2 6r + 13 = 0 Whose roots are r 1 = 3 + 2i r 2 = 3 2i 5

Hence the L.I. basis solutions are y 1 = e (3+2i)x y 2 = e (3 2i)x the homogeneous solution is y h = c 1 y 1 + c 2 y 2 = c 1 e (3+2i)x + c 2 e (3 2i)x This can be converted to real basis using Euler relation which results in y h = C 1 e 3x cos 2x + C 2 e 3 sin 2x = e 3x (C 1 cos 2x + C 2 sin 2x) 6