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

Similar documents
Math 308 Exam I Practice Problems

Linear Second Order ODEs

Chapter 2: First Order DE 2.4 Linear vs. Nonlinear DEs

Homework Solutions: , plus Substitutions

MATH 308 Differential Equations

Math 312 Lecture 3 (revised) Solving First Order Differential Equations: Separable and Linear 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]

Linear Independence and the Wronskian

MIDTERM 1 PRACTICE PROBLEM SOLUTIONS

Math 308 Exam I Practice Problems

Methods of Mathematics

M343 Homework 3 Enrique Areyan May 17, 2013

Second Order Linear Equations

Solutions to Homework 3

Lesson 10 MA Nick Egbert

Lecture Notes in Mathematics. Arkansas Tech University Department of Mathematics

Solutions to Assignment 2

Solutions to Math 53 Math 53 Practice Final

First Order ODEs, Part I

On linear and non-linear equations.(sect. 2.4).

ORDINARY DIFFERENTIAL EQUATIONS

UC Berkeley Math 10B, Spring 2015: Midterm 2 Prof. Sturmfels, April 9, SOLUTIONS

ORDINARY DIFFERENTIAL EQUATION: Introduction and First-Order Equations. David Levermore Department of Mathematics University of Maryland

144 Chapter 3. Second Order Linear Equations

1 Solution to Homework 4

First Order ODEs (cont). Modeling with First Order ODEs

First-Order Equations

Lectures on Differential Equations

ORDINARY DIFFERENTIAL EQUATIONS: Introduction and First-Order Equations. David Levermore Department of Mathematics University of Maryland

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

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

MAS113 CALCULUS II SPRING 2008, QUIZ 5 SOLUTIONS. x 2 dx = 3y + y 3 = x 3 + c. It can be easily verified that the differential equation is exact, as

2tdt 1 y = t2 + C y = which implies C = 1 and the solution is y = 1

Worksheet # 2: Higher Order Linear ODEs (SOLUTIONS)

Exam II Review: Selected Solutions and Answers

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

California State University Northridge MATH 280: Applied Differential Equations Midterm Exam 1

First Order Linear Ordinary Differential Equations

First Order Differential Equations Lecture 3

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)

Math Applied Differential Equations

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.

Homework 9 - Solutions. Math 2177, Lecturer: Alena Erchenko

Existence Theory: Green s Functions

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

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

FIRST-ORDER ORDINARY DIFFERENTIAL EQUATIONS I: Introduction and Analytic Methods David Levermore Department of Mathematics University of Maryland

MATH 251 Examination I October 5, 2017 FORM A. Name: Student Number: Section:

Math 123, Week 9: Separable, First-Order Linear, and Substitution Methods. Section 1: Separable DEs

Nonconstant Coefficients

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

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

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

Entrance Exam, Differential Equations April, (Solve exactly 6 out of the 8 problems) y + 2y + y cos(x 2 y) = 0, y(0) = 2, y (0) = 4.

Lecture Notes for Math 251: ODE and PDE. Lecture 7: 2.4 Differences Between Linear and Nonlinear Equations

Differential Equations Class Notes

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

Nonhomogeneous Equations and Variation of Parameters

MATH 251 Examination I February 25, 2016 FORM A. Name: Student Number: Section:

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

First Order ODEs, Part II

ODE Homework Solutions of Linear Homogeneous Equations; the Wronskian

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

Math 266 Midterm Exam 2

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

Differential equations

Lectures on Differential Equations

Math Spring 2014 Homework 2 solution

HIGHER-ORDER LINEAR ORDINARY DIFFERENTIAL EQUATIONS II: Nonhomogeneous Equations. David Levermore Department of Mathematics University of Maryland

Calculus IV - HW 1. Section 20. Due 6/16

Even-Numbered Homework Solutions

First Order Differential Equations

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

EXAM 2 MARCH 17, 2004

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

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

MATH 251 Examination I July 1, 2013 FORM A. Name: Student Number: Section:

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.

ORDINARY DIFFERENTIAL EQUATIONS

Section 4.7: Variable-Coefficient Equations

MAT 285: Introduction to Differential Equations. James V. Lambers

Linear Multistep Methods I: Adams and BDF Methods

Solutions to Math 53 First Exam April 20, 2010

Practice Midterm Solutions

Ordinary Differential Equations

MATH 353 LECTURE NOTES: WEEK 1 FIRST ORDER ODES

Additional Homework Problems

First Order Differential Equations

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.

Chapter1. Ordinary Differential Equations

Solutions to the Review Questions

( ) ( ). ( ) " d#. ( ) " cos (%) " d%

Solutions to the Review Questions

2.2 Separable Equations

Chapter 2 Notes, Kohler & Johnson 2e

2. First Order Linear Equations and Bernoulli s Differential Equation

Math 2930 Worksheet Introduction to Differential Equations

Multiple Choice Answers. MA 114 Calculus II Spring 2013 Final Exam 1 May Question

DIFFERENTIAL EQUATIONS

Lecture 7 - Separable Equations

Transcription:

Chapter 1 First-Order ODEs We consider in this chapter differential equations of the form dy (1.1) = F (t, y), where F (t, y) is a known smooth function. We wish to solve for y(t). Equation (1.1) is called a first-order ordinary differential equation (ODE). First order because the number of derivatives on the unknown function is one. Of course d 2 y 2 = F (t, y), would be a second-order differential equation. Equation (1.1) is called an ordinary differential equation because the unknown function, y(t), depends only on one parameter - here t. If (1.1) had more independent parameters and derivatives involving those variables, the differential equation would be called a partial differential equation (PDE). One nice feature of first-order equations is that often their solutions can be found explicitly. We will see this is not the case for higher order equations. In this chapter we will only discuss two methods for finding explicit solutions to (1.1). 1.1. Separable Equations Consider the first-order ODE y = t 2 y(1 + t 3 ), where y = dy. In this case the ODE may be written (1.2) yy = t2 1 + t 3. It is called separable because it has the form G(y)y = H(t), and both sides of the equation can be integrated to find an implicit equation for y(t). Indeed, integrating 1

2 1. First-Order ODEs both sides of (1.2), we find y 2 (1.3) 2 = 1 3 ln(1 + t3 ) + c. We cannot solve for y exactly here since we do not know which root to take. If we were told that the solution must pass through (0, 1), that is, y(0) = 1, then we would know the positive root is desired. Plugging in t = 0 and forcing y = 1 in (1.3), we find 1 2 = 1 ln(1) + c = 0 + c, 3 and c = 1/2. Since y(0) is positive, we want the positive root and 1/2 2 y(t) = 3 ln(1 + t3 ) + 1. Example 1.1. Solve y = 2t, y(2) = 0. 1 + 2y The trick is, if possible, to get the variables separated (y s on one side, t s on the other). Here we find (1 + 2y)y = 2t, and integrating both sides y + y 2 = t 2 + c. We use the data to find c. Here y(2) = 0 implies or c = 4. Solving for y we find 0 + 0 2 = 2 2 + c, y = 1 ± p 1 4( t 2 + 4) = 1 2 2 ± 1 p 4t2 15. 2 To determine which root to pick we return to the initial data. We want y(2) = 0. This implies the positive root, and y = 1 2 + 1 2p 4t2 15. Homework 1.1 (Separable ODEs) Solve for y(t) at least implicitly. When possible solve for y. 1. y = y 2 2. y = t y(1 + t 2 ) 3. y = sin 2 (t) cos(y) 4. t + ye t y = 0, y(0) = 1 Answers 1. y = 1/(t + c) 2. y 2 ln(1 + t 2 ) = c 3. ln tan y + sec y t/2 sin(2t)/4 = c 4. y = 2(1 t)e t 1 1/2

1.2. First-Order Linear Equations 3 1.2. First-Order Linear Equations Now we consider a special case of (1.1). Specifically, we consider the initial data problem (1.4) dy + p(t)y = q(t), y(t 0 ) = y 0, where p(t) and q(t) are given functions. Equation (1.4) is called a first-order linear ODE. We will explain the meaning of linear soon (Chapter 3). Equation (1.4) is not separable, but it is almost separable. As a concrete example, suppose we wish to solve (1.5) y + y = e t, y(0) = 1. Here p = 1 and q = e t. To find a method for solving the ODE, consider two alterations of (1.5), both of which are examples of (1.4). Example 1.2. Solve y = e t. Here p = 0 and q = e t in (1.4). You could solve this ODE before taking the course. Indeed, integrating both sides gives y = e t + c. Example 1.3. Solve y + y = 0. Here p = 1 and q = 0 in (1.4). You could solve this ODE too before taking the course. Indeed, it is separable. Dividing by y and integrating, we find This implies ln y = t + c. e ln y = y = e t+c = e c e t. Since we do not know c, we can replace e c with c which represents a generic constant. Thus y = ce t. Somehow solving (1.4) should be a combination of these two examples. Specifically, if we could make the left side of (1.4) the derivative of one quantity, as in Example 1.2, we could integrate both sides of (1.4) and find a solution. To keep the example simple, we multiply both sides of (1.5) by an unknown function µ(t) in hopes that µ may be chosen so that If we can do this, (1.5) becomes µ(y + y) = (µy). (µy) = µe t, and the solution can be found by integrating both sides.

4 1. First-Order ODEs We need to find the function µ. By the product rule (µy) = µ y + µy. The original left side of (1.5) is µ(y + y). Setting the two equal requires or µ y + µy = µy + µy, y(µ µ) = 0. Since we know nothing about y, and µ is at our choosing, we set µ µ = 0. This ODE is separable and has the general solution µ(t) = ce t. Again since µ may be chosen any way we want, we set c = 1 here, and we find that multiplying (1.5) by e t changes the ODE to (ye t ) = e t e t = e 2t (check this!). We may now integrate both sides to find ye t = 1 2 e2t + c or y = 1 2 et + ce t. To find the constant we use the initial data. Here y(0) = 1, thus 1 = y(0) = 1 2 e0 + ce 0 = 1 2 + c, and c = 1/2. Therefore the solution to y + y = e t, is y(0) = 1. (check this!!). More generally multiplying (1.4) by changes (1.4) to y = 1 2 et + 1 2 e t µ(t) = e p (yµ) = q(t)µ(t) which can be solved by integrating both sides. The function µ is called an integrating factor. Example 1.4. Find the general solution to y 2y = t 2 e 2t. Here p = 2, and so µ(t) = e 2 = e 2t.

1.2. First-Order Linear Equations 5 The original ODE becomes Integrating both sides or (ye 2t ) = t 2 e 2t e 2t = t 2. ye 2t = 1 3 t3 + c, y = 1 3 t3 e 2t + ce 2t. Example 1.5. Find the solution to ty + y = cos t y(π/2) = 2/π. Not that this ODE is not in the form given in (1.4). We must divide by t first. We can make a procedure: Step 0. Put the ODE in the form given in (1.4). (1.6) y + 1 t y = cos t. t Step 1. Find µ. Here µ = e 1 t = e ln t = t. Step 2. Multiply (1.6) in Step 0 by µ and NOT the original ODE. Here (yt) = cos t (which happens to be the original ODE, but we did not know at first that the left side of ODE was already the derivative of a product). Step 3. Integrate both sides. Here or ty = sin t + c, y = sin t + c t t. To find the constant we use the initial data. Here y(π/2) = 2/π. Thus and c = 0. The solution is y = sin(t)/t. 2 sin π/2 = y(π/2) = + c π π/2 π/2, Example 1.6. Find the general solution to ty 2y = t 4 e t. Step 0. Put the equation in the correct form: y 2 t y = t3 e t. Step 1. Find µ: µ = e 2 t = e 2 ln t = 1 t 2.

6 1. First-Order ODEs Step 2. Multiply the equation in Step 0 by µ: y t 2 = te t. Step 3. Integrate! and the general solution is y t 2 = tet e t + c, y = t 3 e t t 2 e t + ct 2. Solve for y(t). Homework 1.2 (Linear First Order ODEs) 1. y y = te 2t, y(0) = 1 2. y y = te t, y(0) = 1 3. ty + 2y = t 2 + t + 1, y(1) = 7/12, t > 0 4. y + 3 t y = sin t, y(π) = 0, t > 0 t3 5. ty + 2y = sin t, y(π/2) = 1, t > 0 6. t 3 y + 4t 2 y = e t, y( 1) = 0, t < 0 7. ty + (t + 1)y = t, y(ln 2) = 1, t > 0 1. y(t) = 2e t + (t 1)e 2t 2. y(t) = (t 2 /2 + 1)e t /2 3. y(t) = t 2 /4 + t/3 + 1/t 1/t 2 4. y(t) = cos t/t 3 5. y(t) = 1 π 2 t 2 1 t cos t + sin t 4 6. y(t) = (t + 1)e t /t 4 7. y(t) = (t 1 + 2e t )/t 1.3. Some Theory Answers The nice feature of linear first-order ODEs is that their solutions can be found explicitly. We will see later that ODEs with higher-order derivatives rarely have explicit solutions. Thus the procedure in the previous section is worth examining more carefully. We expect solutions to ODEs originating from physics or engineering to be unique - there should be exactly one solution solving the ODE with the given initial data. We must restrict the domain of the solutions we found in the previous section for them to be unique. Indeed, consider Problem 1.2.4 from the previous section.

1.3. Some Theory 7 Example 1.7. Solve We apply our procedure Step 1. Find µ. Here Step 2. Multiply by µ. Here y + 2 t y = cos t t 2 y(π) = 0. µ = e 2 t = e 2 ln t = t 2. (t 2 y) = cos t. Step 3. Integrate both sides, and solve for y: y(t) = sin t t 2 + c t 2. To find c we require y(π) = 0, and we find c = 0. Now we show the solution is not unique unless the domain is restricted in some way. Given that the solution is y(t) = sin t t 2, we might be tempted to say the domain is (, 0) (0, ) or all real number with t 6= 0. If we did this, both of the following would be solution to the ODE y(t) = sin t t 2 + 1 t 2 t < 0 sin t t 2 t > 0, y(t) = sin t t 2 + 2 t 2 t < 0 sin t t 2 t > 0. This is because the free constant does not see the initial data at t = π > 0 for negative t. If we want the solution unique, we must restrict the domain to an interval containing the point where the initial data is imposed. We can summarize the properties of first-order linear ODEs in the following theorem. Theorem 1.8. Consider the initial data problem (1.7) dy + p(t)y = q(t), y(t 0 ) = y 0. Suppose p(t), q(t) are continuous on an interval, I, with t 0 I. Then the solution of (1.7) exists on all t I and it is unique there. Proof. We just need to justify the steps in our procedure and check the uniqueness. Step 1 involves finding an anti derivative of p(t). By the fundamental theorem of Calculus we know an anti derivative exists if p is continuous. Similarly, Step 3 requires integrating µ(t)q(t). Since p is continuous, µ is too, and thus µ(t)q(t) is continuous and may be integrated to find y(t). Therefore the y found in Step 3 is continuous on I. Applying the initial data allows the integration constant to be found.

8 1. First-Order ODEs We need to show that the solution is unique on I. To do this suppose y 1 and y 2 both solve (1.7) on I. Set w(t) = y 1 (t) y 2 (t). Then w solves Multiplying by µ, we find Integrating from t 0 to t I gives dw + p(t)w = 0, w(t 0 ) = 0. (µw) = 0, w(t 0 ) = 0. µ(t)w(t) µ(t 0 )w(t 0 ) = 0, for all t I. Since µ 6= 0 for all t, we find w(t) = 0 for t I. That is y 1 = y 2 on I, and the solution is unique on I. Homework 1.3 Find an interval on which the solution of the following ODEs exists and is unique. You need not actually find the solution. 1. (t 3)y (ln t)y = t, y(1) = 1 2. (ln t)y + 2y = tan t, y(π/4) = 1 3. (9 t 2 )y + ty = t 2 t + 1, y(1) = 1 4. t(t 4)y + ty = 1, y(2) = 0 1. 0 < t < 3 2. 1 < t < π/2 3. 3 < t < 3 4. 0 < t < 4 Answers