Chapter 4: Higher-Order Differential Equations Part 3

Similar documents
Chapter 2: First-Order Differential Equations Part 1

Chapter 4: Higher-Order Differential Equations Part 1

Math 212-Lecture 8. The chain rule with one independent variable

Chapter 7: The Laplace Transform Part 1

Power series solutions for 2nd order linear ODE s (not necessarily with constant coefficients) a n z n. n=0

Chapter 7: The Laplace Transform

Example. Evaluate. 3x 2 4 x dx.

18.01 Single Variable Calculus Fall 2006

Differential Equations DIRECT INTEGRATION. Graham S McDonald

DIFFERENTIAL EQUATIONS

Definition of differential equations and their classification. Methods of solution of first-order differential equations

Math221: HW# 2 solutions

DIFFERENTIAL EQUATIONS

and verify that it satisfies the differential equation:

Section 5.5 More Integration Formula (The Substitution Method) 2 Lectures. Dr. Abdulla Eid. College of Science. MATHS 101: Calculus I

Lecture for Week 6 (Secs ) Derivative Miscellany I

Solutions to Homework 1, Introduction to Differential Equations, 3450: , Dr. Montero, Spring y(x) = ce 2x + e x

Arc Length and Surface Area in Parametric Equations

Lecture 19: Solving linear ODEs + separable techniques for nonlinear ODE s

Applied Calculus I. Lecture 29

Homework 3, due February 4, 2015 Math 307 G, J. Winter 2015

1+t 2 (l) y = 2xy 3 (m) x = 2tx + 1 (n) x = 2tx + t (o) y = 1 + y (p) y = ty (q) y =

First Order Linear Ordinary Differential Equations

Section 5.6 Integration by Parts

First-Order ODEs. Chapter Separable Equations. We consider in this chapter differential equations of the form dy (1.1)

MATH 23 Exam 2 Review Solutions

Chapter 3 Second Order Linear Equations

Solving First Order PDEs

The integrating factor method (Sect. 1.1)

APPLICATIONS OF FD APPROXIMATIONS FOR SOLVING ORDINARY DIFFERENTIAL EQUATIONS

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

Separable Differential Equations

Lecture 9. Systems of Two First Order Linear ODEs

Representation of Functions as Power Series

Section 2.4: Add and Subtract Rational Expressions

Solutions to Exam 1, Math Solution. Because f(x) is one-to-one, we know the inverse function exists. Recall that (f 1 ) (a) =

Math 4381 / 6378 Symmetry Analysis

Integration by Substitution

Fourier transforms. c n e inπx. f (x) = Write same thing in an equivalent form, using n = 1, f (x) = l π

DIFFERENTIAL EQUATIONS

Mathematical Computing

VANDERBILT UNIVERSITY. MATH 2610 ORDINARY DIFFERENTIAL EQUATIONS Practice for test 1 solutions

Integration of Rational Functions by Partial Fractions

Partial Differential Equations, Winter 2015

The Continuous Time Fourier Transform

Chapter 5: Integrals

The first order quasi-linear PDEs

Assignment 11 Assigned Mon Sept 27

Integration of Rational Functions by Partial Fractions

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

Series Solution of Linear Ordinary Differential Equations

HOMEWORK # 3 SOLUTIONS

Elementary ODE Review

SMA 208: Ordinary differential equations I

Math Applied Differential Equations

MATH 1207 R02 MIDTERM EXAM 2 SOLUTION

Mathematical Methods - Lecture 9

Chapter 5: Integrals

Solutions to Math 53 Math 53 Practice Final

(1 + 2y)y = x. ( x. The right-hand side is a standard integral, so in the end we have the implicit solution. y(x) + y 2 (x) = x2 2 +C.

Math 266, Midterm Exam 1

Fall 2016 Math 2B Suggested Homework Problems Solutions

Practice Midterm Solutions

Lecture Notes in Mathematics. A First Course in Quasi-Linear Partial Differential Equations for Physical Sciences and Engineering Solution Manual

(1) Recap of Differential Calculus and Integral Calculus (2) Preview of Calculus in three dimensional space (3) Tools for Calculus 3

Analysis III (BAUG) Assignment 3 Prof. Dr. Alessandro Sisto Due 13th October 2017

( ) ( = ) = ( ) ( ) ( )

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

for any C, including C = 0, because y = 0 is also a solution: dy

Introduction to Modern Control MT 2016

LECTURE 6: PSEUDOSPHERICAL SURFACES AND BÄCKLUND S THEOREM. 1. Line congruences

Handbook of Ordinary Differential Equations

Test 2 - Answer Key Version A

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

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

Math Assignment 6

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

If y = f (u) is a differentiable function of u and u = g(x) is a differentiable function of x then dy dx = dy. du du. If y = f (u) then y = f (u) u

2.2 Separable Equations

MTH 3311 Test #1. order 3, linear. The highest order of derivative of y is 2. Furthermore, y and its derivatives are all raised to the

8.a: Integrating Factors in Differential Equations. y = 5y + t (2)

3 Algebraic Methods. we can differentiate both sides implicitly to obtain a differential equation involving x and y:

Chain Rule. MATH 311, Calculus III. J. Robert Buchanan. Spring Department of Mathematics

PRELIMINARY THEORY LINEAR EQUATIONS

MAS113 CALCULUS II SPRING 2008, QUIZ 4 SOLUTIONS

AMS 212A Applied Mathematical Methods I Lecture 14 Copyright by Hongyun Wang, UCSC. with initial condition

JUST THE MATHS UNIT NUMBER ORDINARY DIFFERENTIAL EQUATIONS 1 (First order equations (A)) A.J.Hobson

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

EXAM. Exam #1. Math 3350 Summer II, July 21, 2000 ANSWERS

Introduction to Differential Equations

0.1 Problems to solve

Advanced Eng. Mathematics

y + p(t)y = g(t) for each t I, and that also satisfies the initial condition y(t 0 ) = y 0 where y 0 is an arbitrary prescribed initial value.

x gm 250 L 25 L min y gm min

APPLIED MATHEMATICS. Introduction to Differential Equations APM2A10. Supplementary Test 1: 23/03/2016

Ordinary Differential Equations (ODEs)

10.3 Parametric Equations. 1 Math 1432 Dr. Almus

DIFFERENTIAL EQUATIONS

Math Homework 3 Solutions. (1 y sin x) dx + (cos x) dy = 0. = sin x =

Transcription:

Chapter 4: Higher-Order Differential Equations Part 3 王奕翔 Department of Electrical Engineering National Taiwan University ihwang@ntu.edu.tw October 29, 2013 1 / 24 王奕翔 DE Lecture 7

1 Solving Systems of Linear Differential Equations 2 3 2 / 24 王奕翔 DE Lecture 7

Systems of Linear Differential Equations So far we focus on solving an ODE with only one dependent variable. Ordinary Differential Equation = 1 independent variable. Partial Differential Equation = > 1 independent variables. Here we look at a system of linear ODE (> 1 dependent variables), and see how to solve it Example: Let t be the independent variable, x, y be dependent variables. x + 2x + y = x + 3y + sin t x + y = 4x + 2y + e t. 3 / 24 王奕翔 DE Lecture 7

How to Solve? x + 2x + y = x + 3y + sin t x + y = 4x + 2y + e t. Let us use the differential operator to rewrite it as follows: D 2 x} + 2D x} + D 2 y} = x + 3y + sin t D x} + D y} = 4x + 2y + e t = ( D 2 + 2D 1 ) x} + ( D 2 3 ) y} = sin t (D + 4) x} + (D 2) y} = e t Idea: Eliminate y and get a linear DE of x to solve x(t). Eliminate x and get a linear DE of y to solve y(t). 4 / 24 王奕翔 DE Lecture 7

Elimination L11 x} + L 12 y} = g 1 (t) L 21 x} + L 22 y} = g 2 (t) (1a) (1b) where L 11 = D 2 + 2D 1, L 12 = D 2 3, L 21 = D + 4, L 22 = D 2. To eliminate y: (1a) L 22 (1b) L 12 = (L 11 L 22 L 21 L 12 ) x} = L 22 g 1 } L 12 g 2 } To eliminate x: (1a) L 21 (1b) L 11 = (L 12 L 21 L 22 L 11 ) y} = L 21 g 1 } L 11 g 2 } 5 / 24 王奕翔 DE Lecture 7

L11 x} + L 12 y} = g 1 (t) L 21 x} + L 22 y} = g 2 (t) Similar to the Cramer s Rule, after the elimination we get L x} = g1 (t) L y} = g 2 (t) where L = L 11 L 12 L 21 L 22, g 1(t) = g 1(t) L 12 g 2 (t) L 22, g 2(t) = L 11 L 21 (1a) (1b) (2a) (2b) g 1 (t) g 2 (t). Solutions of (1) = = Solutions of (2) Note: We should always plug the solutions found in solving (2) back to (1) and find out all additional constraints. 6 / 24 王奕翔 DE Lecture 7

Solving a System of Linear DE with Constant Coefficients 1 Convert it into the following form: L 11 y 1 } + L 12 y 2 } + + L 1k y k } = g 1 (t) L 21 y 1 } + L 22 y 2 } + + L 2k y k } = g 2 (t).... L k1 y 1 } + L k2 y 2 } + + L kk y k } = g k (t) 2 Use Cramer s rule to get L y j } = g j (t), j = 1,..., k, where L 11 L 12 L 1k L 21 L 22 L 2k L =., g. j (t) = L ] T. j-th column replaced by [g 1 g k L k1 L k2 L kk 3 Solve each y j(t), j = 1,..., k. 4 Plug into the initial system, find additional constraints on the coefficients in the complimentary solutions y 1c, y 2c,..., y kc }, and finalize. 7 / 24 王奕翔 DE Lecture 7

Notes and Tips It is very important to plug the general solutions found for y 1, y 2,..., y k } back to the original system of equations to find additional constraints on the coefficients in the complimentary solutions y 1c, y 2c,..., y kc } (see example). When solving L y j } = g j (t), sometimes we can eliminate redundant operators (see example). When k = 2, that is, only two dependent variables to be solved, after solving one dependent variable, it may save some time if we plug the general solution we found back to the original system and find the solution of the other dependent variable (see example). 8 / 24 王奕翔 DE Lecture 7

Example Solve x 4x + y = t 2 x + x + y = 0 A: Rewrite it as ( D 2 4 ) x} + D 2 y} = t 2 (3a) (D + 1) x} + D y} = 0 (3b) Based on the method mentioned above, we compute L = D2 4 D 2 D + 1 D = (D2 + 4D) = D(D + 4) g 1 (t) = t2 D 2 0 D = D t 2}, g 2 (t) = D2 4 t 2 D + 1 0 = (D + 1) t 2} 9 / 24 王奕翔 DE Lecture 7

Example: Convert into two separate linear equations Solve x 4x + y = t 2 x + x + y = 0 Hence, solutions of the original system of equations must be solutions of the the following: L x} = g1 (t) ( D(D + 4) ) x} = D t 2} L y} = g 2 (t) ( D(D + 4)) y} = (D + 1) t 2} Question: why can we cancel the repeated operators on both sides? Ans: because instead of eliminating y by D (3a)} D 2 (3b)}, we can simply eliminate y by (3a) D (3b)}. 10 / 24 王奕翔 DE Lecture 7

Solution 1: Solving x and y separately Solve x 4x + y = t 2 x + x + y = 0 We convert the above into (D + 4) x} = t 2 (D(D + 4)) y} = t 2 + 2t (4a) (4b) Step 1. Solve (5a): x c = c 1 e 4t, x p = A + Bt + Ct 2, and t 2 = (D + 4) x p } = (4A + B) + (4B + 2C)t + 4Ct 2 = C = 1 4, B = 1 2 C = 1 8, A = 1 4 B = 1 32. Hence x(t) = c 1 e 4t 1 32 + 1 8 t 1 4 t2. 11 / 24 王奕翔 DE Lecture 7

Solution 1: Solving x and y separately Solve x 4x + y = t 2 x + x + y = 0 We convert the above into (D + 4) x} = t 2 (D(D + 4)) y} = t 2 + 2t (5a) (5b) Step 2. Solve (5b): y c = c 2 + c 3 e 4t, y p = At + Bt 2 + Ct 3, and t 2 + 2t = (D 2 + 4D) y p } = (4A + 2B) + (8B + 6C)t + 12Ct 2 = C = 1 12, B = 1 4 3 4 C = 3 16, A = 1 2 B = 3 32. Hence y(t) = c 2 + c 3 e 4t 3 32 t + 3 16 t2 + 1 12 t3. 12 / 24 王奕翔 DE Lecture 7

Solution 1: Solving x and y separately Solve x 4x + y = t 2 x + x + y = 0 We find that for some c 1, c 2, c 3, x(t) = c1 e 4t 1 32 + 1 8 t 1 4 t2 y(t) = c 2 + c 3e 4t 3 32 t + 3 16 t2 + 1 12 t3 Final Step. Plug them back to find the constraints on c 1, c 2, c 3}. (12c1 + 16c 3 )e 4t + t 2 = t 2 (3c 1 + 4c 3)e 4t = 0 which implies c 3 = 3/4c 1. Hence, the final solution is x(t) = c1 e 4t 1 32 8 4 t2 y(t) = c 2 3 4 c1e 4t 3 t + 3 32 16 t2 + 1 12 t3 13 / 24 王奕翔 DE Lecture 7

Solution 2: Solving x first and then plugging in to find y Solve x 4x + y = t 2 x + x + y = 0 After Step 1., we find that for some c 1, x(t) = c 1 e 4t 1 32 + 1 8 t 1 4 t2. Plug this back to the second equation, we get y = x x = 3c 1 e 4t 3 32 + 3 8 t + 1 4 t2 = y = c 2 3 4 c 1e 4t 3 32 t + 3 16 t2 + 1 12 t3 Plug it back to the first equation, it is also satisfied. Done! 14 / 24 王奕翔 DE Lecture 7

1 Solving Systems of Linear Differential Equations 2 3 15 / 24 王奕翔 DE Lecture 7

Linear vs. Differences: 1 Superposition principle does not hold for nonlinear DE. 2 Nonlinear DE can have singular solutions, while linear DE will not have singular solutions. 3 Usually there is no analytical tool to solve a nonlinear DE of higher order. We will present some special kinds of nonlinear second order DE that can be solved analytically. 16 / 24 王奕翔 DE Lecture 7

Second Order DE: Reduction of Order A second order DE can be written in the general form F (x, y, y, y ) = 0, where the dependent variable is y and the independent variable is x. In the following two cases, we are able to use the substitution u := y to reduce the order of the equation, and get a first order DE of u. 1 Dependent variable missing: since y = u, y = du dx F ( x, y, y ) = 0 = ( F x, u, du ) = 0. dx The dependent variable is u and the independent variable is x. 2 Independent variable missing: since y = u, y = du F ( y, y, y ) = 0 = = du dy dx dy ( F y, u, u du ) = 0. dy = u du dx dy The dependent variable is u and the independent variable is y. 17 / 24 王奕翔 DE Lecture 7

Example: Dependent Variable Missing Example Solve y = 2x (y ) 2. A: Set u = dy dx, and we get a new equation of u: du dx = 2xu2. The above nonlinear first order DE can be solved by separation of variables: du u 2 = 2xdx = 1 u = x2 + c = u = 1 x 2 + c. Besides, u = 0 is a singular solution. 18 / 24 王奕翔 DE Lecture 7

Example: Dependent Variable Missing Example Solve y = 2x (y ) 2. Case 0: u = dy = 0 = y = c dx 2, c 2 R. Case 1: u = dy = 1 where c > 0. Let c := dx x 2 +c c2 1, c 1 > 0, then dy dx = 1 x 2 + c 2 1 = y = c 2 1 c 1 tan 1 x c 1. Case 2: u = dy = 1 where c < 0. Let c := dx x 2 +c c2 1, c 1 > 0, then dy dx = 1 x 2 c 2 1 = 1 ( 1 1 ) 2c 1 x + c 1 x c 1 = y = c 2 + 1 ln 2c 1 x + c 1 x c 1. Case 3: u = dy = 1 dy where c = 0. Then = 1 = y = c dx x 2 +c dx x 2 2 + x 1. 19 / 24 王奕翔 DE Lecture 7

Example: Independent Variable Missing Example Solve yy = (y ) 2. A: Set u = dy dx, and we get a new equation of u using d2 y dx = u du 2 dy : yu du dy = u2. The above nonlinear first order DE can be solved by separation of variables: du u = dy y = ln u = ln y + c = u = (±ec )y. Incorporating the singular solution u = 0, we have u = c 1 y, c 1 R. 20 / 24 王奕翔 DE Lecture 7

Example: Independent Variable Missing Example Solve yy = (y ) 2. Case 1: c 1 = 0: Case 2: c 1 0: u = dy dx = 0 = y = c 2, c 2 R. u = dy dx = c 1y = dy y = c 1dx = y = c 2 e c 1x, c 2 R. Incorporating Case 1 and Case 2, we get y = c 2 e c1x, c 1, c 2 R. 21 / 24 王奕翔 DE Lecture 7

1 Solving Systems of Linear Differential Equations 2 3 22 / 24 王奕翔 DE Lecture 7

Short Recap Solving systems of linear DEs by systematic elimination In solving systems of linear DEs, remember: 代回原式找出 complimentary solutions 中係數的關係 Solving a nonlinear second order DE missing the dependent or the independent variable by reduction of order with the substitution u = y. 23 / 24 王奕翔 DE Lecture 7

Self-Practice Exercises 4-9: 1, 7, 11, 15, 19, 21 4-10: 3, 5, 7, 9, 13, 19 24 / 24 王奕翔 DE Lecture 7