Section 2.4 Linear Equations

Similar documents
Math 211. Lecture #6. Linear Equations. September 9, 2002

Solutions to Homework 3

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

Topic 2 Notes Jeremy Orloff

Nonhomogeneous Linear Equations: Variation of Parameters Professor David Levermore 17 October 2004 We now return to the discussion of the general case

Section 6.4 DEs with Discontinuous Forcing Functions

Section 4.7: Variable-Coefficient Equations

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

Algebraic Properties of Solutions of Linear Systems

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

Nonhomogeneous Equations and Variation of Parameters

PRELIMINARY THEORY LINEAR EQUATIONS

Second Order Linear Equations

2. A Motivational Example: Consider the second-order homogeneous linear DE: y y 2y = 0

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

MATH 308 Differential Equations

Homogeneous Equations with Constant Coefficients

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

Linear Variable coefficient equations (Sect. 2.1) Review: Linear constant coefficient equations

The Method of Undetermined Coefficients.

2.3 Terminology for Systems of Linear Equations

A: Brief Review of Ordinary Differential Equations

Euler-Cauchy Using Undetermined Coefficients

Chapter 7. Homogeneous equations with constant coefficients

Section 2.1 (First Order) Linear DEs; Method of Integrating Factors. General first order linear DEs Standard Form; y'(t) + p(t) y = g(t)

Second Order Differential Equations Lecture 6

First and Second Order Differential Equations Lecture 4

Lectures - Week 10 Introduction to Ordinary Differential Equations (ODES) First Order Linear ODEs

SOLVING DIFFERENTIAL EQUATIONS. Amir Asif. Department of Computer Science and Engineering York University, Toronto, ON M3J1P3

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

The integrating factor method (Sect. 1.1)

Math 266 Midterm Exam 2

Lecture Notes for Math 251: ODE and PDE. Lecture 13: 3.4 Repeated Roots and Reduction Of Order

we get y 2 5y = x + e x + C: From the initial condition y(0) = 1, we get 1 5 = 0+1+C; so that C = 5. Completing the square to solve y 2 5y = x + e x 5

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

3.5 Undetermined Coefficients

HOMEWORK # 3 SOLUTIONS

Lecture two. January 17, 2019

Differential Equations Practice: 2nd Order Linear: Nonhomogeneous Equations: Variation of Parameters Page 1

Chapter 4: Higher Order Linear Equations

Section 1.3 Integration

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.

Lecture 10 - Second order linear differential equations

dx n a 1(x) dy

Linear Second Order ODEs

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

Math Ordinary Differential Equations

Section 9.8 Higher Order Linear Equations

HIGHER-ORDER LINEAR ORDINARY DIFFERENTIAL EQUATIONS IV: Variable Coefficient Nonhomogeneous Case

MIDTERM 1 PRACTICE PROBLEM SOLUTIONS

Higher Order Linear Equations

Homework #6 Solutions

A BRIEF INTRODUCTION INTO SOLVING DIFFERENTIAL EQUATIONS

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

Math 201 Lecture 08 Undetermined Coefficients

93 Analytical solution of differential equations

Selected Solutions: 3.5 (Undetermined Coefficients)

Differential equations

Second-Order Linear ODEs

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

Homework Solutions:

Ordinary Differential Equation Theory

Answer Key b c d e. 14. b c d e. 15. a b c e. 16. a b c e. 17. a b c d. 18. a b c e. 19. a b d e. 20. a b c e. 21. a c d e. 22.

Linear Variable coefficient equations (Sect. 1.2) Review: Linear constant coefficient equations

Higher-order differential equations

Homogeneous Linear Systems and Their General Solutions

Fall 2001, AM33 Solution to hw7

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

ORDINARY DIFFERENTIAL EQUATIONS

4. Higher Order Linear DEs

1 Differential Equations

Honors Differential Equations

Work sheet / Things to know. Chapter 3

Math 23 Practice Quiz 2018 Spring

MATH 251 Final Examination May 4, 2015 FORM A. Name: Student Number: Section:

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

11.2 Basic First-order System Methods

Solutions to Homework 5, Introduction to Differential Equations, 3450: , Dr. Montero, Spring y 4y = 48t 3.

Second-Order Homogeneous Linear Equations with Constant Coefficients

20.6. Transfer Functions. Introduction. Prerequisites. Learning Outcomes

2nd-Order Linear Equations

Systems of Second Order Differential Equations Cayley-Hamilton-Ziebur

Work sheet / Things to know. Chapter 3

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

MA 266 Review Topics - Exam # 2 (updated)

Laplace Transforms Chapter 3

Linear Differential Equations. Problems

Sample Questions, Exam 1 Math 244 Spring 2007

A First Course in Elementary Differential Equations: Problems and Solutions. Marcel B. Finan Arkansas Tech University c All Rights Reserved

1. (10 points) Find the general solution to the following second-order differential equation:

Section 3.1 Second Order Linear Homogeneous DEs with Constant Coefficients

Polytechnic Institute of NYU MA 2132 Final Practice Answers Fall 2012

y0 = F (t0)+c implies C = y0 F (t0) Integral = area between curve and x-axis (where I.e., f(t)dt = F (b) F (a) wheref is any antiderivative 2.

Diff. Eq. App.( ) Midterm 1 Solutions

Solutions to Assignment 7

Solutions to Math 53 Math 53 Practice Final

Chapter 3 : Linear Differential Eqn. Chapter 3 : Linear Differential Eqn.

MAT 275 Laboratory 4 MATLAB solvers for First-Order IVP

Chapter 2 Notes, Kohler & Johnson 2e

Additional Homework Problems

Transcription:

Section 2.4 Linear Equations Key Terms: Linear equation Homogeneous linear equation Nonhomogeneous (inhomogeneous) linear equation Integrating factor General solution Variation of parameters

A first-order linear equation is one of the form x' = a(t)x + f (t) or equivalent x ' a(t)x = f (t) where functions a(t) and f(t) are called the coefficients. If f(t) = 0, the equation has the form x ' = a(t)x or equivalently x ' a(t)x = 0 and the linear equation in this case is said to be homogeneous. Otherwise it is called nonhomogeneous (inhomogeneous). In this case the DE is separable. We will sometimes consider equations of the more general form b(t)x ' = c(t)x + g(t) which can be put into the form x ' a(t)x = f(t) by dividing by b(t) 0. The standard form of a first order linear equation is x ' a(t)x = f(t). We will use this form to develop a procedure for the general solution of first order linear DEs.

Examples: Homogeneous linear DE We use different dependent and independent variables at times.

Solving homogeneous linear DEs For homogeneous DE x ' = a(t)x we can separate the variables and integrate: Exponentiating, we get The constant e C is positive. We often replace it with the symbol C. We will allow C to be positive, negative, or zero, so that we can get rid of the absolute value. Hence the general solution of a first order homogeneous linear DE is x(t) = Ce a(t) Example: Solve x ' = cos(2t)x. Instead of memorizing the formula for the solution, just recognize that the DE is separable and proceed. 1 1 sin(2t) 2 2 dx 1 sin(2t)+c = cos(2t) ln x = sin(2t) + C x = e x = Ce x 2

Solving nonhomogeneous linear DEs First put the nonhomogeneous DE into standard form x ' a(t)x = f (t). The left side, x'(t) - a(t)x looks like a "piece of a product rule". Recall that d ( u(t)x(t) ) = u(t)x'(t) +u'(t)x(t) We would like to find a function u(t) so that when we multiply both sides of x ' a(t)x = f(t) the left side is the derivative of the product u(t)x(t). That is, (u(t)x(t))' = u(t)[x' (t) a(t)x(t)]. If we can find such a function u(t) it is called an integrating factor. In such a case we would have (u(t)x(t))' =u(t)[x' (t) a(t)x(t)] = u(t)f(t). Integrating both sides we get utxt ( ) ( ) = utft ( ) ( ) +C Dividing by u(t) we have general solution of a first order linear nonhomogeneous DE 1 C x t = u t f t + u(t) ( ) ( ) ( ) u(t)

Thus, the key to the method is finding an integrating factor, a function u(t) that satisfies equation, (u(t)x(t))' = u(t)[x'(t) a(t)x(t)]. If we expand both sides of this expression we have (dropping the t notation) ux' + u'x = ux' aux. Subtracting ux' from each side, this becomes u'x = aux, which will be satisfied if Solving this DE we get - a(t) u(t) = e u' = au. our integrating factor. (Note that we do not need to include a constant of integration here, rather we just need one particular solution.)

Summary: To solve the nonhomogeneous first order linear DE in standard form x ' a(t)x = f(t) do the following: Compute the integrating factor: - a(t) u(t) = e Multiply both sides of the DE by integrating factor u(t). The result is that the DE can now be written in the form d ( utxt ( ) ( )) = utft ( ) ( ) Integrate both sides to obtain utxt ( ) ( ) = utft ( ) ( ) +C Finally solve for x(t). 1 C x t = u t f t + u(t) ( ) ( ) ( ) u(t) Note: if the DE has the form x ' + a(t)x = f(t) then u(t) = e a(t)

Example: Solve 5t x' = -3x + e Put into standard form: x' ( 3) x = e 5t a(t) = -3, f(t) = e 5t - a(t) 3 Compute the integrating factor: u(t) = e = e Multiply both sides of the DE by integrating factor u(t). Now the DE is d ( ) d u t x t = u t f t e x t = e e = e ( ( ) ( )) ( ) ( ) ( ) Integrate both sides to obtain 3t 8t 1 8t e x t = e = e + C 8 ( ) 3t 3t 5t 8t Finally solve for x(t). 1 e 8t +C 1 x ( t 8 ) = = e + Ce 3t e 8 5t -3t

dx Example: Solve - 2x = 4 - t This is in standard form so a(t) = 2 and f(t) = 4 t. Compute the integrating factor: u(t) = e = e - at () 2 Multiply both sides of the DE by integrating factor u(t). Now the DE is d ( ) d u t x t = u t f t e x t = e (4 t) = 4e te ( ( ) ( )) ( ) ( ) ( ) 2 t 2 t 2 t 2 t Integrate both sides to obtain -2t ( ) -2t -2t e x t = ( 4e -te ) +C Need integration by parts. We get -2t -2t 1-2t 1-2t e x =-2e + te + e +C 2 4 Now solve for x: 1 1-2t -7 1-2t x = -2 + t + + Ce = + t + Ce 2 4 4 2-2t dx This solution has a special structure: Ce is the general solution of - 2x = 0-7 1 dx + t is a particular solution of - 2x = 4 - t 4 2 x h x p

Alternate approach: There is another method of solving linear equations that you might find easier to remember and use. (It still requires two integrations.) For the first order linear DE y' = a(t)y + f(t) we solve the associated homogeneous DE y h ' = a(t)y h. Separating the variables and integrating we have y =e h a(t) Notice that because of its exponential form the function y h is never equal to zero. Hence we can safely divide by it. We now seek a solution y to the nonhomogeneous problem that has the form y = v(t)y h, where v(t) is a function to be determined. We substitute v(t)y h into the original DE. (vy h )ꞌ = a(vy h ) + f or vy' h + v' y h = avy h + f Rearrange to get v(y' h - ay h ) + v' y h = f and recall that y h ' = ay h so the result is v'y h = f or equivalently solution is y = vy h. f v' = y This method is called variation of parameters. h. We integrate to find function v. Then the

Example: Solve IVP y' = -2ty+2t 3 by variation of parameters. The associated homogeneous DE is y h ' = -2ty h. Separating the variables then integrating we get dy 2 h 2 h -t Here y h is the = -2t ln y = -t y h = e solution of the yh homogeneous DE. We omitted the constant of integration C since we need only one solution to the homogeneous DE. From the method of variation of parameter we now seek a solution to the nonhomogeneous DE of the form y = vy h. Substituting this expression into the original equation we obtain a DE to solve for function v (after simplification); 3 3 2 2 f 2t v' = = = 2t e t yh e -t y p y h We integrate by parts to find v, this time attaching a constant of integration. 2 t2 v = (t - 1)e + C 2 2 Thus the general solution of the DE is y = vy h = t -t -t (t - 1)e + C e = (t - 1) + Ce It is easy to check that t 2 + 1 is a particular solution of the nonhomogeneous DE. 2 2 2 From MATLAB >> int(sym('2*t^3*exp(t^2)')) ans = exp(t^2)*(t^2-1)

Structure of the solution: A first order linear DE x' = a(t)x + f (t) has a particular structure to its general solution. Suppose that y p is a particular solution to the nonhomogeneous equation y = a(t)y + f (t), and that y h is a particular solution to the associated homogeneous equation. Then every solution to the inhomogeneous equation is of the form where C is an arbitrary constant. y(t) = y p (t) + Cy h (t), Note by particular solution we mean we omit the constant of integration. This form was evident in the examples we solved by both techniques.