ES 111 Mathematical Methods in the Earth Sciences Lecture Outline 15 - Tues 20th Nov 2018 First and Higher Order Differential Equations

Similar documents
MATH 1231 MATHEMATICS 1B Calculus Section 2: - ODEs.

Introduction to First Order Equations Sections

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

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

MA 102 Mathematics II Lecture Feb, 2015

Math221: HW# 2 solutions

Mathematics II. Tutorial 2 First order differential equations. Groups: B03 & B08

ODE Homework Solutions of Linear Homogeneous Equations; the Wronskian

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

Relevant sections from AMATH 351 Course Notes (Wainwright): 1.3 Relevant sections from AMATH 351 Course Notes (Poulin and Ingalls): 1.1.

Diff. Eq. App.( ) Midterm 1 Solutions

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

Chapter 2 Notes, Kohler & Johnson 2e

FLAP M6.1 Introducing differential equations COPYRIGHT 1998 THE OPEN UNIVERSITY S570 V1.1

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 307: Problem Set #7

ODE Math 3331 (Summer 2014) June 16, 2014

DIFFERENTIAL EQUATIONS

Math 308 Exam I Practice Problems

Math Applied Differential Equations

Solving Differential Equations: First Steps

MA Ordinary Differential Equations

Math 2a Prac Lectures on Differential Equations

Systems of Linear ODEs

Math 308, Sections 301, 302, Summer 2008 Review before Test I 06/09/2008

First-Order Differential Equations

Sample Questions, Exam 1 Math 244 Spring 2007

Tutorial-1, MA 108 (Linear Algebra)

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

Table of contents. d 2 y dx 2, As the equation is linear, these quantities can only be involved in the following manner:

Work and kinetic energy. LA info session today at 5pm in UMC235 CAPA homework due tomorrow night.

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

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

Computer Problems for Methods of Solving Ordinary Differential Equations

Partial Differential Equations Summary

Exam Question 10: Differential Equations. June 19, Applied Mathematics: Lecture 6. Brendan Williamson. Introduction.

MB4018 Differential equations

PHYS 211 Lecture 9 - Examples of 3D motion 9-1

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

Nov : Lecture 20: Linear Homogeneous and Heterogeneous ODEs

MA22S3 Summary Sheet: Ordinary Differential Equations

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

Lecture 6, September 1, 2017

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

DON T PANIC! If you get stuck, take a deep breath and go on to the next question. Come back to the question you left if you have time at the end.

MA Ordinary Differential Equations

Ordinary Differential Equations (ODEs)

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

Higher-order differential equations

AMATH 351 Mar 15, 2013 FINAL REVIEW. Instructor: Jiri Najemnik

W = F x W = Fx cosθ W = Fx. Work

MATH 319, WEEK 2: Initial Value Problems, Existence/Uniqueness, First-Order Linear DEs

Math 308 Exam I Practice Problems

Math 266 Midterm Exam 2

Math 308 Week 8 Solutions

Differential Equations

Ordinary Differential Equations

Jim Lambers MAT 285 Spring Semester Practice Exam 2 Solution. y(t) = 5 2 e t 1 2 e 3t.

6 Second Order Linear Differential Equations

One-Dimensional Motion Review IMPORTANT QUANTITIES Name Symbol Units Basic Equation Name Symbol Units Basic Equation Time t Seconds Velocity v m/s

Solutions to Homework 5

Newton s Laws of Motion, Energy and Oscillations

2. Second-order Linear Ordinary Differential Equations

Differential Equations & Separation of Variables

Coordinate systems and vectors in three spatial dimensions

Modeling and Solving Constraints. Erin Catto Blizzard Entertainment

One important way that you can classify differential equations is as linear or nonlinear.

1 Differential Equations

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

MATH 4B Differential Equations, Fall 2016 Final Exam Study Guide

kg meter ii) Note the dimensions of ρ τ are kg 2 velocity 2 meter = 1 sec 2 We will interpret this velocity in upcoming slides.

Math 216 Final Exam 24 April, 2017

First Order Differential Equations Chapter 1

Unforced Mechanical Vibrations

= v 0 x. / t = 1.75m / s 2.25s = 0.778m / s 2 nd law taking left as positive. net. F x ! F

Chapter 2. Motion in One Dimension. AIT AP Physics C

2.41 Velocity-Dependent Forces: Fluid Resistance and Terminal Velocity

1 Some general theory for 2nd order linear nonhomogeneous

ENGI Second Order Linear ODEs Page Second Order Linear Ordinary Differential Equations

y 2y = 4 x, Name Form Solution method

Series Solution of Linear Ordinary Differential Equations

Today: 5.4 General log and exp functions (continued) Warm up:

AP Calculus Testbank (Chapter 6) (Mr. Surowski)

Final 09/14/2017. Notes and electronic aids are not allowed. You must be seated in your assigned row for your exam to be valid.

144 Chapter 3. Second Order Linear Equations

Worksheet # 2: Higher Order Linear ODEs (SOLUTIONS)

Lesson 3: Linear differential equations of the first order Solve each of the following differential equations by two methods.

DIFFERENTIATION RULES

EQUATIONS OF MOTION: RECTANGULAR COORDINATES

DIFFERENTIAL EQUATIONS REVIEW. Here are notes to special make-up discussion 35 on November 21, in case you couldn t make it.

Chapter 3. Reading assignment: In this chapter we will cover Sections dx 1 + a 0(x)y(x) = g(x). (1)

Math 240 Calculus III

These notes are based mostly on [3]. They also rely on [2] and [1], though to a lesser extent.

Mathematical Methods - Lecture 7

1 Implicit Differentiation

Section 3.4. Second Order Nonhomogeneous. The corresponding homogeneous equation

CP1 REVISION LECTURE 1 INTRODUCTION TO CLASSICAL MECHANICS. Prof. N. Harnew University of Oxford TT 2017

I. Impulse Response and Convolution

Math 240 Calculus III

First Order Differential Equations

Transcription:

ES 111 Mathematical Methods in the Earth Sciences Lecture Outline 15 - Tues 20th Nov 2018 First and Higher Order Differential Equations Integrating Factor Here is a powerful technique which will work (only!) for linear first-order ordinary differential equations. If a first-order equation is not separable (see Lecture 14) then this technique is the next one to try. Any such equation can be written in the so-called Standard Form dy + p(x)y = q(x) dx The trick to solving this equation is to multiply both sides by an integrating factor w(x) where w(x) = e p(x)dx Doing so allows us to rewrite the Standard Form as which we can always solve. d [ ] ye p(x)dx = q(x)e p(x)dx dx This looks more formidable than it really is (see example below). It s a very powerful tool, but beware: it only works on linear first-order ODEs. Example 1: Let s solve our ooids problem from last time: dr dt = a br [Answer I.F.=exp(bt) which yields re bt = (a/b)e bt + c. At t = 0,r = 0 so c = (a/b). So the solution is r = (a/b)(1 e bt.] Example 2: Now let s solve a more complicated version of the ooid problem. Note that you can t solve this example just by collecting all the r s on one side and all the t s on the other. Does the answer make physical sense? dr dt = ae bt2 /2 btr 1

[Answer I.F. = exp(bt 2 /2) which yields re bt2 /2 = at + c. At t = 0, r = 0 so c = 0. So the solution is r = ate bt2 /2 which means that as t, r 0. This makes sense because the btr term means the rate of shrinkage gets larger as time gets larger.] Example 3 Solve: 2 dy + 4xy = 2x dx [Answer I.F.=exp(x 2 ) which yields ye x2 = e x2 + c. To solve for c the boundary conditions need to be specified.] Example The deposition of sand grains in a fluid. Newton s second law relates force F to the rate of change of momentum F = d (mv) = mdv dt dt where m,v and t are mass, velocity and time, respectively, and the second equality is obtained by assuming that mass (of a sand grain) is constant. There are two forces acting on a particle settling out of suspension: the buoyancy force (B), which acts downwards, and the fluid drag force (D), which acts upwards. The buoyancy force is just mg, where m is the excess mass of the particle and g is the acceleration due to gravity; note that this quantity is constant. The fluid drag force, however, is proportional to (and in the opposite direction to) the velocity of the falling particle: So combining these equations, we get We can rewrite this in Standard Form : m dv dt D = kv = mg kv dv dt + k m v = mg m and solve using the method outlined above. In this case the integrating factor w is given by w = e k m t and the general solution is v(t) = ce kt/m + mg k 2

If we assume that the particle was initially motionless (v=0 at t=0) then we can substitute in to our general solution and solve for c: c = mg/k. So the particular solution is: v(t) = mg k ( 1 e kt/m ) As useful check on physical problems like this is to make sure that the units are consistent. What does this solution mean physically? What happens at short times (Maclaurin series) and long times? [Answer At short times, 1 e kt/m (kt/m) by Maclaurin series expansion. So v(t) = gt which means that the particle is initially moving slowly so that it doesn t experience any drag, it just accelerates due to gravity.] If the drag force were not important, the velocity would increase continually due to the force of gravity. However, the drag force becomes more important and at some point the particle stops accelerating (when B and D cancel each other out). By setting t we can find the asymptotic velocity v( ) mg k This limiting velocity increases with increasing g, and decreases with increasing drag (k). Both of these effects are what you would expect based on physical intuition. Reality Checks This example illustrates three reality checks that you can usually apply to make sure that your answer makes sense. They are: 1) Are the units consistent? 2) What happens in limiting cases (e.g. at short times, or t )? Do the results make sense? 3) What happens if you change a parameter value (e.g. increase g)? Does it give the expected answer? Example Fission track dating relies on the fact that the tracks are produced by uranium decay, but that they heal at a (temperature-dependent) rate. Let the amount of uranium be given by u(t) = u 0 exp( kt). Then the number of fission tracks f is given by df dt = du dt λf 3

where λ gives the healing rate. How does the number of fission tracks vary with time? When does f reach a maximum? [Answer I.F. = exp(λt) which yields fe λt = ku 0 λ k e(λ k)t + c. If f = 0 at t = 0 then c = ku 0 /(λ k) so the solution is f = ku 0 λ k (e kt e λt ). The number initially climbs, then eventually decays once uranium is no longer making tracks. This answer gives the correct result when there is no healing (λ = 0) and always results in a positive number of fission tracks irrespective of whether k or λ is larger. At early times f = ku 0 t so that the initial evolution is controlled by radioactive decay and not healing.] Higher Order Differential Equations Now we are going to move on the higher-order differential equations (meaning derivatives higher than first order may appear). This is a big field, so we will focus mainly on solving specific, relatively simple higher order ODE s which often crop up in Earth Sciences. When are they useful? Especially in the equations of elasticity (e.g. seismic waves) and flexure. One kind of second-order DE describes simple harmonic motion. The general form of a n-th order linear ODE is a n (x)y (n) + a n 1 (x)y (n 1) + + a 1 (x)y + a 0 (x)y = f(x) where the a n (x) and f(x) are functions of x. Written in this form f(x) is known as the input or driving term (e.g. in elasticity, it represents the load being applied). A linear ODE with f(x)=0 is called homogeneous. Thus, a homogeneous linear ODE (HLDE for short) has no driving term. Here we will focus on HLDE s. Solutions to HLDE s In general, there is more than one solution to a HLDE. Suppose that y 1 (x) and y 2 (x) are both solutions of a HLDE, then any linear combination of them c 1 y 1 (x) + c 2 y 2 (x) is also a solution. This is true only of HLDE s - if the driving term is not zero, then this ability to superpose solutions will not in general be true. The general solution to an n-th order HLDE is constructed by a linear combination of n linearly independent solutions to the HLDE. This is similar to the way we can construct any vector from a linear combination of the perpendicular vectors î,ĵ and ˆk. 4

A bunch of functions are linearly independent if and only if the only solution to c 1 y 1 (x) + c 2 y 2 (x) + + c n y n (x) = 0 is c 1 = c 2 = = c n = 0 for some x in the range of interest. In other words, none of the functions can be constructed from a linear combination of the other functions. A good way of thinking about this is to imagine graphs of the different functions and to see whether two graphs can be made to overlay each other at every point - if they can, then the functions are not linearly independent. Example if y 1 = x and y 2 = x 2, are the two functions linearly independent? What about y 1 = x and y 2 = 3x? What about y 1 = sin x and y 2 = cos x? If a bunch of simultaneous equations have a unique solution, then they must all be linearly independent, in which case their matrix determinant will be non-zero (see lecture 12). Finding out whether a bunch of functions are linearly independent can be done by constructing a matrix determinant called the Wronskian, which we will not deal with here. Particular Solutions of HLDE s The particular solution of a HLDE is determined by specifying the free parameters (the c s) in the general solution. For an n-th order HLDE, n initial conditions need to be specified to constrain the c s. Obtaining Solutions to HLDE s There are two methods of solving HLDE s we re going to address. The first is called Reduction of Order and is a bit of a cheat, since it assumes that you already know one solution to the equation, and is most useful with second-order HLDE s. The advantage of the approach is that you end up solving a first-order ODE, which is much easier. Let s assume that the first (known) solution is y 1. How do we obtain this solution? Often, the best way is simply to guess! You can always substitute it in to see if it works. Given this solution, let the second (unknown) solution y 2 = v(x)y 1. By substituting this into the original HLDE and then substituting for w(x) = v (x) you end up with a first-order ODE for w(x) which you can solve (using the integrating factor technique, or otherwise). Once this is solved, you obtain v(x) by integration and get the second solution because y 2 = v(x)y 1. 5

An example: find both solutions to y 2y + y = 0 Another example: find the second solution to y y = 0 given that the first solution is e x. [Answer Let the second solution be v(x)e x. Then we end up with v +2v = 0, so by integrating this gives v = 2v which we can then solve to get v(x) = e 2x + c. So the second solution is (e 2x + c)e x and the independent part of this solution is just e x.] Remember that the general solution is some linear combination of the individual solutions! You can actually show that for a second-order HLDE the result is y 2 (x) = y 1 (x) where the a s are defined at the top of the outline. 1 a1 (x) y1(x) 2 e a 2 (x) dx dx Although it s not too hard to show where this comes from, I m not going to show it to you: it s much more useful to remember the general technique. The next, more useful, method of solution is called the Constant Coefficients technique, because it works only for HLDE s in which the a s are not functions of x, but constants. We ll tackle these next lecture. 6