Lecture 7 - Separable Equations

Similar documents
Chapter 4 Notes, Calculus I with Precalculus 3e Larson/Edwards

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

Review for the Final Exam

Exploring Substitution

Final Exam Review Exercise Set A, Math 1551, Fall 2017

MATH LECTURE NOTES FIRST ORDER SEPARABLE DIFFERENTIAL EQUATIONS OVERVIEW

10550 PRACTICE FINAL EXAM SOLUTIONS. x 2 4. x 2 x 2 5x +6 = lim x +2. x 2 x 3 = 4 1 = 4.

8.3 Partial Fraction Decomposition

3.1 Derivative Formulas for Powers and Polynomials

Chapter 5: Integrals

Chapter 5: Integrals

Lecture 13 - Wednesday April 29th

Module 2: Reflecting on One s Problems

Calculus I Review Solutions

Sample Final Questions: Solutions Math 21B, Winter y ( y 1)(1 + y)) = A y + B

5.9 Representations of Functions as a Power Series

APPLICATIONS OF DIFFERENTIATION

e x = 1 + x + x2 2! + x3 If the function f(x) can be written as a power series on an interval I, then the power series is of the form

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

Parametric Curves. Calculus 2 Lia Vas

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

1 Antiderivatives graphically and numerically

MATH The Chain Rule Fall 2016 A vector function of a vector variable is a function F: R n R m. In practice, if x 1, x n is the input,

2. If the values for f(x) can be made as close as we like to L by choosing arbitrarily large. lim

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

Chapter 3 Differentiation Rules

Math 312 Lecture 3 (revised) Solving First Order Differential Equations: Separable and Linear Equations

MATH 2554 (Calculus I)

Math 10C - Fall Final Exam

The Mean Value Theorem. Oct

1.4 Techniques of Integration

Partial Fractions. Calculus 2 Lia Vas

Math 180 Written Homework Assignment #10 Due Tuesday, December 2nd at the beginning of your discussion class.

Parametric Equations, Function Composition and the Chain Rule: A Worksheet

First-Order Ordinary Differntial Equations II: Autonomous Case. David Levermore Department of Mathematics University of Maryland.

Infinite series, improper integrals, and Taylor series

MA4001 Engineering Mathematics 1 Lecture 15 Mean Value Theorem Increasing and Decreasing Functions Higher Order Derivatives Implicit Differentiation

1 Lesson 13: Methods of Integration

4 Integration. Copyright Cengage Learning. All rights reserved.

SOLUTIONS FOR PRACTICE FINAL EXAM

1. The accumulated net change function or area-so-far function

a k 0, then k + 1 = 2 lim 1 + 1

Solutions to Math 41 Second Exam November 5, 2013

Applied Calculus I. Lecture 29

Chapter 4. Section Derivatives of Exponential and Logarithmic Functions

Problem. Set up the definite integral that gives the area of the region. y 1 = x 2 6x, y 2 = 0. dx = ( 2x 2 + 6x) dx.

25. Chain Rule. Now, f is a function of t only. Expand by multiplication:

1. There are 8 questions spanning 9 pages total (including this cover page). Please make sure that you have all 9 pages before starting.

Unit IV Derivatives 20 Hours Finish by Christmas

Unit IV Derivatives 20 Hours Finish by Christmas

a x a y = a x+y a x a = y ax y (a x ) r = a rx and log a (xy) = log a (x) + log a (y) log a ( x y ) = log a(x) log a (y) log a (x r ) = r log a (x).

MATH 103 Pre-Calculus Mathematics Test #3 Fall 2008 Dr. McCloskey Sample Solutions

MATH 18.01, FALL PROBLEM SET #5 SOLUTIONS (PART II)

Final practice, Math 31A - Lec 1, Fall 2013 Name and student ID: Question Points Score Total: 90

MATHEMATICS Lecture. 4 Chapter.8 TECHNIQUES OF INTEGRATION By Dr. Mohammed Ramidh

How to Use Calculus Like a Physicist

Ma 530 Power Series II

Math 106 Answers to Exam 3a Fall 2015

MAT 1320 Study Sheet for the final exam. Format. Topics

Separable First-Order Equations

Math 2a Prac Lectures on Differential Equations

1 Implicit Differentiation

= π + sin π = π + 0 = π, so the object is moving at a speed of π feet per second after π seconds. (c) How far does it go in π seconds?

Taylor Series and stationary points

Power Series. Part 2 Differentiation & Integration; Multiplication of Power Series. J. Gonzalez-Zugasti, University of Massachusetts - Lowell

REVERSE CHAIN RULE CALCULUS 7. Dr Adrian Jannetta MIMA CMath FRAS INU0115/515 (MATHS 2) Reverse Chain Rule 1/12 Adrian Jannetta

INTEGRATION: THE FUNDAMENTAL THEOREM OF CALCULUS MR. VELAZQUEZ AP CALCULUS

Puzzle 1 Puzzle 2 Puzzle 3 Puzzle 4 Puzzle 5 /10 /10 /10 /10 /10

MATH 32A: MIDTERM 2 REVIEW. sin 2 u du z(t) = sin 2 t + cos 2 2

Find the indicated derivative. 1) Find y(4) if y = 3 sin x. A) y(4) = 3 cos x B) y(4) = 3 sin x C) y(4) = - 3 cos x D) y(4) = - 3 sin x

Workbook for Calculus I

Antiderivatives and Indefinite Integrals

DIFFERENTIATION RULES

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

Edexcel past paper questions. Core Mathematics 4. Parametric Equations

Topic 4 Notes Jeremy Orloff

Calculus I Announcements

Lecture 10. (2) Functions of two variables. Partial derivatives. Dan Nichols February 27, 2018

Find the slope of the curve at the given point P and an equation of the tangent line at P. 1) y = x2 + 11x - 15, P(1, -3)

FINAL EXAM CALCULUS 2. Name PRACTICE EXAM SOLUTIONS

Math 101 Fall 2006 Exam 1 Solutions Instructor: S. Cautis/M. Simpson/R. Stong Thursday, October 5, 2006

Solutions to old Exam 3 problems

DIFFERENTIATION RULES

3.9 Derivatives of Exponential and Logarithmic Functions

0, such that. all. for all. 0, there exists. Name: Continuity. Limits and. calculus. the definitionn. satisfying. limit. However, is the limit of its

Unit #10 : Graphs of Antiderivatives; Substitution Integrals

7.1. Calculus of inverse functions. Text Section 7.1 Exercise:

SOME PROBLEMS YOU SHOULD BE ABLE TO DO

DIFFERENTIATION RULES

dy = f( x) dx = F ( x)+c = f ( x) dy = f( x) dx

Section 14.1 Vector Functions and Space Curves

THE INVERSE FUNCTION THEOREM

2015 Math Camp Calculus Exam Solution

5.5. The Substitution Rule

MA 137 Calculus 1 with Life Science Applications The Chain Rule and Higher Derivatives (Section 4.4)

a factors The exponential 0 is a special case. If b is any nonzero real number, then

Complex Differentials and the Stokes, Goursat and Cauchy Theorems

The Chain Rule. The Chain Rule. dy dy du dx du dx. For y = f (u) and u = g (x)

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

UNIT 3 INTEGRATION 3.0 INTRODUCTION 3.1 OBJECTIVES. Structure

Transcription:

Lecture 7 - Separable Equations Separable equations is a very special type of differential equations where you can separate the terms involving only y on one side of the equation and terms involving only t on the other side. This separation will allow us to integrate both sides of the equation. We will see that the logistic equation we encountered in the previous lecture is separable and use the method we learn here to solve it. The key to solving separable differential equations will be the chain rule of derivatives. The chain rule tells us how to find the derivative of a function when it is a composition of two functions and we already know the derivatives of both of them. Let us recall the chain rule. Chain Rule of Derivatives: If f(t) = h(g(t)), then f (t) = h (g(t))g (t). Slogan: derivative of outer function with the inner function plugged in derivative of inner function Example: Find dz dt if z(t) = y(t) 3 y(t)3. dz dt = dy dt 3 dy 3y(t) dt = dy dt dy y(t) dt = ( y(t) ) dy dt Problem: Solve the differential equation dy dt = t y. First we rewrite the equation separating the y and t terms: ( y ) dy dt = t. The left side is an expression involving only y and the entire expression is multiplied by dy. The right side dt is an expression involving only t. This is precisely what it means to be separable. It is absolutely key that all y terms be multiplied by dy dt! Now that we separated the y and t terms, we can integrate both sides. Right side: t dt = t 3 /3 + C Left side: ( y ) dy dt dt = y 3 y3 + D We know this immediately because we just computed above that the derivative of ( y ) dy dt is y 3 y3. However there is an easy trick to computing such antiderivatives that we could have otherwise used. Notice that ( y ) dy dt dt becomes y dy if we cancel the dt. Since the integral y dy ends in dy, this tells us that we need to integrate with respect to y, that is y now becomes the independent variable and we FORGET that it was a function of t. Therefore: y dy = y y 3 /3 + C is a standard calculus integration. As we discussed earlier, it is NOT a legal mathematical operation to cancel the dt, but because the notation was chosen very cleverly, we can use the chain rule as a justification that this fake cancelation actually works to produce the correct result. Getting back to our problem, we have y y 3 + D = 3 t3 + C. y y 3 = 3 t3 + E It is very difficult to solve this equation explicitly for y! In most cases, the equation for y we will obtain out of the separable equations algorithm will be only approximable numerically by a computer. This is a major downside of this algorithm. An equation that is not solved explicitly for the dependent variable is called implicit. Problem: Solve the differential equation dy dx = 3x + 4x +, y(0) =. (y ) The equation is separable: (y ) dy dx = 3x + 4x + Left side: (y ) dy dx dx = (y ) dy = y dy = y y + C. Right side: 3x + 4x + dx = x 3 + x + x + D. So y y + C = x 3 + x + x + D.

( ) ( ) = 0 3 + 0 + 0 + E 3 = E y y = x 3 + x + x + E y y = x 3 + x + x + 3 Step 4: See if it is possible to solve explicitly for y. In this case, it is possible to solve the equation explicitly for y by using the quadratic formula! First we move all terms over to the left side: y y (x 3 + x + x + 3) = 0 Next we use the quadratic formula: a =, b =, c = (x 3 + x + x + 3) y = b ± b 4ac a = ± 4 + 4(x 3 + x + x + 3) = ± 4( + x 3 + x + x + 3) = ± x 3 + x + x + 4 = ± x 3 + x + x + 4 So we have: y = ± x 3 + x + x + 4 But this equation gives us two functions! Equations that result from applying the separation technique are often satisfied by more than one function. A simple example of an equation that is satisfied by more than one function is x + y = 4. The graph of this equation is a circle with radius. The upper blue part of the circle is a function f(x) = 4 x. The lower red part of the circle is a function g(x) = 4 x. In these cases, we use the initial condition again to choose the correct function. First we consider: y = + x 3 + x + x + 4 and calculate y(0) = + 4 = 3 So this cannot be the correct solution! Next we consider: y = x 3 + x + x + 4 and calculate y(0) = 4 = =! So the correct solution is: y = x 3 + x + x + 4 Can it happen that more than one function satisfies both the differential equation and the initial condition? Yes, we will see an example of this shortly. Problem: Solve the differential equation dy = 4x x3 dx 4 + y 3 so that the point (0, ) lies on the solution curve. The equation is separable: (4 + y 3 ) dy dx = 4x x3. Left side: 4 + y 3 dy = 4y + y 4 /4 + C

3 Right side: 4x x 3 dx = x x 4 /4 + D So 4y + y 4 /4 + C = x x 4 /4 + D. 4 + 4 /4 = 0 0 4 /4 + E 4 + /4 = 7/4 = E 4y + y 4 /4 = x x 4 /4 + E 4y + y 4 /4 = x x 4 /4 + 7/4 We can make the expression simpler by eliminating the denominators: 6y + y 4 = 8x 4x 4 + 7 It is very difficult to solve this equation explicitly for y. Here is a graph of the equation. Can we separate this graph into two functions in the same way we separated the circle above? Yes! We need to find the exact location where the graph starts to loop. Notice that these are exactly the place where to tangent line to the graph is VERTICAL, meaning that the derivative does NOT exist!

4 dy dx does not exist when 4 + y3 = 0. y 3 = 4 y.59 In the previous lecture, we discussed the logistic equation as a means of modeling population dynamics. dy dt = ry( K y) Next, we will solve a specific example of a logistic equation. Problem: Solve dy dt = y( y) (r =, K = ). The logistic equation is clearly separable: y( dy y) dt =. Left side: y( y) dy To integrate this expression requires a technique from Calculus called Integration by Partial Fractions. This technique is applied to integrals whose numerator and denominator are polynomials. The basic idea of the method is to factor the denominator polynomial and decompose the entire fraction into a sum of fractions with the factors as denominators. We decompose y( = A y) y + B y We solve for A and B: A y + B A( y) + By = y y( y) We conclude that A( y) + By =. A Ay + By = (B A)y + A = = 0y + B A = 0 and A = A = and B =

So y( = y) y +. y 5 We integrate y( dy = y dy+ y) Right side: dt = t + D. y So ln + C = t + D. y Step 3: See if it is possible to solve explicitly for y. Applying ln to both sides, we obtain: y y = F e t (F = ±e E ) y = F e t ( y) = F et F et y y + F et y = F e t y( + F et ) = F e t dy = ln y + y ( ) ln y +C = ln y ln y y = ln +C y y ln = t + E y y = F et F + F = et e t + F Since K =, we know that lim t y =. Let us check this. lim F t e t + F = F F =. Problem: Solve dy dt = y/3, y(0) = 0 This is equation is clearly separable: y /3 dy dt =. Left side: y /3 dy = 3 y/3 + C Right side: dt = t + D. So 3 y/3 + C = t + D. 3 y/3 = t + E 3 0/3 = 0 + E E = 0 3 y/3 = t Step 4: See if it is possible to solve explicitly for y. y /3 = 3 t y = ( 3 t)3 y = ±( 3 t)3

6 Notice that we first raised both sides to the third power and only then took the square root of both sides. The reason is that taking square root produces two solutions! Now as before, we use the initial condition again to choose the correct function. First we consider y = ( 3 t)3 and see that y(0) = 0. Next we consider y = ( 3 t)3 and again see that y(0) = 0! In this case both functions satisfy the differential equation and the initial condition! This is our first example of a differential equation with an initial condition having more than one solution! How could this have happened? In the first step of the solution we divided both sides by y /3 but we never stated that y 0. Later we used precisely the value y = 0 to find the constant. Note that we were still able to obtain a valid solution. The only problem that arose was the existence of another solution! General Formula: Solve g(y) dy = h(t), y(a) = b. dt Step : Rewrite the equation: g(y) dy dt = h(t). Left side: g(y) dy = G(y) + C Right side: h(t) dt = H(t) + D So G(y) + C = H(t) + D. G(y) = H(t) + E G(b) = H(a) + E E = G(b) H(a) G(y) = H(t) + G(b) H(a) Step 4: We see if it is possible to solve explicitly for y. What happens if we cannot integrate one or both of the sides? Can we still obtain the solution numerically? We rewrite the solution as: G(y) G(b) = H(t) H(a) This can, in turn, be rewritten as: y b g(z) dz = For example, say y(0) = and need to compute y(3). ) We compute the area 3 h(s) ds = N. 0 ) We compute a value of y such that y g(z) dz = N. t a h(s) ds Finally, note that the separable equations method works on differential equations of the form dy dt = ay b as well because these are clearly separable equations. The first step which factors out a is in fact separating the variables.