Math Notes of 1/26/18. More on DEs

Similar documents
Problem Set. Assignment #1. Math 3350, Spring Feb. 6, 2004 ANSWERS

Math 217 Fall 2000 Exam Suppose that y( x ) is a solution to the differential equation

Math 2214 Solution Test 1D Spring 2015

MATH 1231 MATHEMATICS 1B Calculus Section 3A: - First order ODEs.

NO CALCULATOR 1. Find the interval or intervals on which the function whose graph is shown is increasing:

Assignment # 3, Math 370, Fall 2018 SOLUTIONS:

MATH 353 LECTURE NOTES: WEEK 1 FIRST ORDER ODES

Average rates of change May be used to estimate the derivative at a point

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

Unit IV Derivatives 20 Hours Finish by Christmas

Unit IV Derivatives 20 Hours Finish by Christmas

First Order Linear DEs, Applications

P (t) = rp (t) 22, 000, 000 = 20, 000, 000 e 10r = e 10r. ln( ) = 10r 10 ) 10. = r. 10 t. P (30) = 20, 000, 000 e

Solutions to Math 41 Final Exam December 10, 2012

Chapter 2 Notes, Kohler & Johnson 2e

Name Period. Algebra 2 Agenda. Week 3.4 Objective Summary Grade

MATH 320, WEEK 4: Exact Differential Equations, Applications

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

Solving Differential Equations: First Steps

First Order Linear DEs, Applications

dy dx dx dx as a BC Calculus 1 The Chain Rule is notation for a which says that we have the

f(x 0 + h) f(x 0 ) h slope of secant line = m sec

A. 1 B. 2 C. 4.5 D. 7 E. 8

Math 165 Final Exam worksheet solutions

Math 210 Midterm #2 Review

Math 308 Exam I Practice Problems

Related Rates In each related rate problem there can be variations in the details. The problems, however, have the same general structure.

AP Calculus AB Chapter 2 Test Review #1

The Definite Integral. Day 6 Motion Problems Strategies for Finding Total Area

LESSON 21: DIFFERENTIALS OF MULTIVARIABLE FUNCTIONS OCTOBER 18, 2017

MLK Day!!! Solving Equations with Radicals Day 1. Practice. Solving Equations with Radicals Day 2. Practice. Applications of Radicals.

Related Rates. MATH 151 Calculus for Management. J. Robert Buchanan. Department of Mathematics. J. Robert Buchanan Related Rates

Math 106 Answers to Exam 3a Fall 2015

Math Lecture 9

The Princeton Review AP Calculus BC Practice Test 2

AP Calculus BC Fall Final Part IIa

First Order ODEs, Part II

Math 131 Exam II "Sample Questions"

AP Calculus Related Rates Worksheet

WeBWorK demonstration assignment

Alex s Guide to Word Problems and Linear Equations Following Glencoe Algebra 1

Experiment 1 Look Out Below!!

Implicit Differentiation

MAXIMUM AND MINIMUM 2

Review for the Final Exam

VANDERBILT UNIVERSITY. MATH 2300 MULTIVARIABLE CALCULUS Practice Test 1 Solutions

Calculus III: Practice Final

Basic Theory of Differential Equations

4.6 Related Rates Notes RELATED RATES PROBLEMS --- IT S AS EASY AS 1 2-3!

Math Applied Differential Equations

The Princeton Review AP Calculus BC Practice Test 1

Purdue University Study Guide for MA Credit Exam

Name: Instructor: Exam 3 Solutions. Multiple Choice. 3x + 2 x ) 3x 3 + 2x 2 + 5x + 2 3x 3 3x 2x 2 + 2x + 2 2x 2 2 2x.

First-Order Differential Equations

Problem Worth Score Total 14

Ordinary Differential Equations (ODEs)

Math 102. Krishanu Sankar. October 23, 2018

2r 2 e rx 5re rx +3e rx = 0. That is,

Math Exam 02 Review

Partial Derivatives Formulas. KristaKingMath.com

Math 122 Fall Handout 15: Review Problems for the Cumulative Final Exam

Homework 2 Solutions Math 307 Summer 17

April 23, 2009 SOLUTIONS SECTION NUMBER:

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

Physics 8 Monday, September 12, 2011

Unit #5 : Implicit Differentiation, Related Rates. Goals: Introduce implicit differentiation. Study problems involving related rates.

MATH1013 Calculus I. Derivatives II (Chap. 3) 1

Module 2: Reflecting on One s Problems

PHYSICS 12 NAME: Gravitation

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

Math 308 Exam I Practice Problems

Puxi High School Examinations Semester 1, AP Calculus (BC) Part 1. Wednesday, December 16 th, :45 pm 3:15 pm.

Math 142 (Summer 2018) Business Calculus 6.1 Notes

Derivatives and Rates of Change

Solutions to the Review Questions

AP Calculus AB Unit 3 Assessment

LESSON 21: DIFFERENTIALS OF MULTIVARIABLE FUNCTIONS MATH FALL 2018

Lecture 7: Differential Equations

DIFFERENTIATION AND INTEGRATION PART 1. Mr C s IB Standard Notes

Math 2413 t2rsu14. Name: 06/06/ Find the derivative of the following function using the limiting process.

Chapter 2 Overview: Introduction to Limits and Derivatives

Chapter1. Ordinary Differential Equations

Section 1.1 Differential Equation Models. Key Terms:

Calculus 437 Semester 1 Review Chapters 1, 2, and 3 January 2016

Mon Jan Improved acceleration models: linear and quadratic drag forces. Announcements: Warm-up Exercise:

Revision History Date Version Description Author 03/06/ Initial Version Sergio Miguel Martin. Table of Contents

APPLICATIONS OF DERIVATIVES UNIT PROBLEM SETS

Measurement: Length, Area and Volume Part I

General Physics 1 Lab - PHY 2048L Lab 2: Projectile Motion / Solar System Physics Motion PhET Lab Date. Part 1: Projectile Motion

At time t 0, the velocity of a body moving along the horizontal s-axis is v = t 2 4t + 3.

Position, Velocity, Acceleration

Math 225 Differential Equations Notes Chapter 1

1. Compute the derivatives of the following functions, by any means necessary. f (x) = (1 x3 )(1/2)(x 2 1) 1/2 (2x) x 2 1( 3x 2 ) (1 x 3 ) 2

Practice Questions From Calculus II. 0. State the following calculus rules (these are many of the key rules from Test 1 topics).

Section 11.3 Rates of Change:

UNIT 3: DERIVATIVES STUDY GUIDE

Related Rates. 2. List the relevant quantities in the problem and assign them appropriate variables. Then write down all the information given.

Answer Key. Calculus I Math 141 Fall 2003 Professor Ben Richert. Exam 2

Your exam contains 5 problems. The entire exam is worth 70 points. Your exam should contain 6 pages; please make sure you have a complete exam.

LSU AP Calculus Practice Test Day

Transcription:

Math 1220-3 Notes of 1/26/18 More on DEs Since DEs are so important, today let s talk some more about them rather than just going on in the textbook. There are three kinds of DEs that we know how to solve analytically: Integrals: y = f(x), y(a) =0, y(x) = x a f(t)dt. Separable DEs (discussed in 1210). Separate variables and integrate. dy dx = N(x) D(y) D(y)dy = N(x)dx. First oder linear DE: y + P (x)y = Q(x). P Multiply with e (x)dx and integrate. AfirstorderlinearDEisseparable if Q(x) =0andanordinary integral if P (x) = 0. Math 1220-3 Notes of 1/26/18 page 1

The basic philosophy of solving DEs is that the DE is solved if we can express the answer as an ordinary integral. We have reduced the DE problem to a simpler problem. Math 1220-3 Notes of 1/26/18 page 2

A Real Life Problem Iactuallydidthis! In my backyard there is a fish pond containing 2000 gallons of water. Once a week I replace some of the water to reduce the pollutants (e.g., fish waste) that have accumulated in the pond, by pouring water into the pond, and letting the pond overflow. My garden hose delivers 10 gallons of water per minute. The contents of the pond are well mixed. I can t let the water run too long because water from the Salt Lake City main contains traces of chlorine. If all, or much, of the water in the pond was tap water the fish would suffer or even die. How long do I need to let the water run so that 20 percent of the pollutants are removed from the pond? Expectations? Math 1220-3 Notes of 1/26/18 page 3

Math 1220-3 Notes of 1/26/18 page 4

Let s go back to falling objects, with or without air resistance. No Air Resistance This is a review! We have three functions: a acceleration v velocity h height We also know that a = v = h and v = h On earth, ignoring air resistance, i.e., for small values of v, wehave a = 32 ft/sec 2 v = 32t + v 0 ft/sec, v 0 = v(0) h = 16t 2 + v 0 t + h 0 ft, h 0 = h(0) In general, with gravity being denoted by g, a = g v = gt + v 0 h = g 2 t2 + v 0 t + h 0 Math 1220-3 Notes of 1/26/18 page 5

Air Drag But you can t ignore air resistance (or drag)! Let s look at the simple case that drag is proportional to velocity. (This is unrealistic, but easy to analyze.) So we get the DE v = g kv where k>0isthedrag coefficient. Setting v =0andsolvingforv gives the terminal velocity 0= g kv = v = g k. So what is a good value for k? Googling terminal velocity of a falling human body gives v = 200km/h 183 ft/sec. This gives k = g v = 32 183 0.17ft/sec2 ft/sec =0.17 1 sec. Math 1220-3 Notes of 1/26/18 page 6

For the sake of curiosity, and the exercise, and maybe the fun of it, let s compute how long it would take a human body to reach the ground from a height of 5 miles, say, with and without accounting for air resistance. 5miles=5 5280 feet = 26,400 feet. Expectations? Math 1220-3 Notes of 1/26/18 page 7

No Air Resistance Math 1220-3 Notes of 1/26/18 page 8

with Air resistance v = g kv Math 1220-3 Notes of 1/26/18 page 9

Math 1220-3 Notes of 1/26/18 page 10

Falling, Falling, Falling... When my daughter was taking Calculus she asked me how long it would take for the Earth to fall into the Sun if it was to stop dead in its orbit. At the time I was unable to solve the problem analytically and so came up with an answer numerically. My daughter told me that this was not acceptable, she d like an explicit expression! At the time I felt quite challenged, but it took me about two years to figure out an analytical answer. (I did do some other things during that time as well.) These notes contain the analytical solution. When I told my daughter that I had finally the answered her question she made sure I understood that she was no longer interested... Let s investigate this question more generally. So suppose we have a star or planet O that has a radius R and a surface gravity G (measured in the appropriate units). For example, the radius of the Sun is 6.96 10 8 meters, and gravity on the Sun s surface is 274 meters per second squared. The (average) distance of the Earth from the Sun is 1.49 10 11 meters. Let s suppose we release a stationary object E at a distance H from O, andwewishtoknow how long it will take to fall until it reaches a specified distance from O. We assume E to be a point, i.e., we ignore its radius. Let s(t) be the distance between E and O at time t. s Math 1220-3 Notes of 1/26/18 page 11

is the solution of the initial value problem s = G ( ) 2 R, s s(0) = H, s (0) = 0. (1) Multiplying with s on both sides of the differential equation gives s s = GR 2 s s 2. (2) Integrating on both sides gives: (s ) 2 2 = GR2 s + C (3) To find the integration constant C we substitute s = H and s =0togetC = GR2 H. Thus ( 1 1 2 (s ) 2 = GR 2 s 1 ) (4) H and s = 1 2GR s 1 H. (5) The minus sign is due to the fact that the distance from O is decreasing as time is increasing. The equation (5) is a separable differential equation, giving ds dt =. (6) 2GR 1 s 1 H Math 1220-3 Notes of 1/26/18 page 12

Integrating on both sides gives ( 2 H 2 s ( H s + H arctan t = 4R G (7) where T is an integration constant. This result was first obtained with Maple, and subsequently simplified. You can check by differentiation that it is correct. Usually one would want s as a function of t, but actually, for our application, having time expressed as a function of distance is exactly what we need. We now need to compute the integration constant T. We have H s. Hence the argument of the inverse tangent function in (7) approaches positive infinity as s approaches H. The inverse tangent itself approaches π 2. Taking the limit as s approaches H and t approaches 0 gives 2s H 2 s H s )) +T T = 2πH 3 2 8R G. (8) Hence the time required for E to reach a distance s from O is t(s) = 2πH 3 2 8R G ( 2 H 2 s ( H s + H arctan 4R G (9) 2s H 2 s H s )) Math 1220-3 Notes of 1/26/18 page 13

Substituting the values H =1.49 10 11, R =0.696 10 9, and s = R (10) in this expression answers my daughter s question: t impact 5, 544, 225 seconds 64.17 days. (11) You might have little confidence in this result since I skipped a few steps. The integral was obtained by a computer program, and I flippantly stated that you can check the answer by differentiation. (I actually did 1,but, again, I used Maple to carry out that differentiation. That s not as crazy as it sounds, the differentiation and integration algorithms in Maple are quite distinct.) However, to put your mind at rest, it turns out that the same number, a little more than 64 days, can be obtained numerically. The method I used is a simple modification of Euler s method. Let s n be the approximation of the distance of E from O after n seconds, and let v n be the approximation of the velocity of E after n seconds. Then the numerical 1 You might also try to obtain the formula (9) via Maple, including the calculation of the integration constant. It s not as straightforward as it may sound, you will find that Maple insists you are dividing by zero. Math 1220-3 Notes of 1/26/18 page 14

method is as follows: s 0 = H, v 0 =0 For n =0, 1, 2,..., until s n <RDo v n+1 = v n GR2 s 2 h n s n+1 = s n + v n+1 h (12) The parameter h in this outline is the standard notation for the time step, i.e., one second in the actual program. The method makes physical sense: we update the velocity, and then we use the new velocity to update the distance. The velocity is negative, and getting more so, since the positive direction is up, away from O. The following very simple Fortran program actually runs the method: 1 implicit double precision (a-z) 2 Earth = 1.49E11 3 Sun = 0.696E9 4 Gravity = 274 5 time = 0 6 step = 1 7 distance = Earth 8 speed = 0 9 100 continue 10 time = time + step 11 speed = speed - 12 13. Gravity*Sun*Sun/distance/distance*step distance = distance + speed*step 14 if (distance > Sun) go to 100 Math 1220-3 Notes of 1/26/18 page 15

15 write(*,*) time, speed, distance 16 write(*,*) time/86400 17 stop 18 end It s output is 1 5544225.0000000-616199.28492109 695554688.88871 2 64.169270833333 The last number is the impact time measured in days, which equals the time measured in seconds and divided by 86,400, the number of seconds in one day. The numerical results are consistent with the analytical results. For the fun of it, and since we ve spent all that work, let s compute how long it would take for the moon to fall onto the Earth. The radius of the Earth is 6,378,000 meters, gravity on the surface of the Earth is 9.8 meters per second squared, and the distance of the moon from the Earth is 384 million meters. Substituting these values into our formula gives t impact 418, 222 seconds 4.8 days. (13) Again, these numbers are consistent with the computational results. Math 1220-3 Notes of 1/26/18 page 16