Numerical method for approximating the solution of an IVP. Euler Algorithm (the simplest approximation method)

Size: px
Start display at page:

Download "Numerical method for approximating the solution of an IVP. Euler Algorithm (the simplest approximation method)"

Transcription

1 Section 2.7 Euler s Method (Computer Approximation) Key Terms/ Ideas: Numerical method for approximating the solution of an IVP Linear Approximation; Tangent Line Euler Algorithm (the simplest approximation method)

2 We have seen in Section 1.1 that by drawing a direction field we can visualize qualitatively the behavior of solutions of a first order DE. When the grid is fine then we obtain a direction field that can convey a sense of the behavior of solutions for various initial conditions. For example, for DE we have direction field dy = y 2-2t dt For a first order DE we can sketch a direction field and visualize the behavior of solutions. This has the advantage of being a relatively simple process, even for complicated equations. However, direction fields do not lend themselves to quantitative computations or comparisons.

3 By choosing different initial conditions we can see approximately how some solutions behave. In this case we are considering initial value problems. Initial condition x = -2, y = -1 Initial condition x = -1, y = -1 To sketch these solutions of the IVP a numerical method was used.

4 For quantitative approximations of an IVP we need to consider numerical approximation schemes. Such techniques generate approximate values for the solution of the IVP at a set of discrete values of independent variable t; t 0, t 1, t 2, etc. So the output from such numerical algorithms consists of a set of ordered pairs (t k, y k ) where y k is an approximation to the true value of the solution at t k. (y k y(t k )) One algorithm that will allow you to estimate values of the solution y is given by Euler s Method sometimes called the tangent line method. (Euler (pronounced Oiler) lived in the 18th century is considered to be one of the greatest mathematicians who ever lived.) Observe that the direction field has many tangent line segments at successive values of t that almost touch each other. It takes only a bit of imagination to consider starting at a point specified by an initial condition and linking line segments for successive values of t in the grid, thereby producing a piecewise linear graph. Such a graph would provide an approximation to the solution of the IVP.

5 To see how Euler s method works, recall from calculus a section called Linear Approximation. In that section you did the following: Construct the tangent line to a differentiable function f(x) at a point (a, f(a)) and approximate values of the function at nearby values of x using the equation of the tangent line. Suppose we have the point (a, f(a)) and the slope of f(x) at this point is the value m. Then the tangent line is obtained using the point-slope method for the equation of a line. Tangent line is: y f(a) = m(x a) y = f(a) + m(x a). We can estimate the value of f(x) at x = a + Δx by computing f(a) + m(a + Δx a) = f(a) +m Δx. Euler s method uses this idea applied to an initial value problem as we illustrate next.

6 We start Euler s approximation to the IVP at the initial point (t 0, y 0 ) and use the fact that the slope of the exact solution at the initial point is f(t 0, y 0 ) so the equation of the tangent line at the initial point is y y 0 = f(t 0, y 0 ) (t t 0 ). Rewrite this as y = y 0 + f(t 0, y 0 ) (t t 0 ). The tangent line is a good approximation to the actual solution curve on a short interval over which the slope of the solution does not change appreciably from its value at the initial point. Exact solution Thus, if t 1 is close enough to t 0, we can approximate the exact solution at t = t 1 by the value y 1 determined by substituting t 1 for t in the equation of the tangent line. Doing this we get y 1 = y 0 + f(t 0, y 0 ) (t 1 t 0 ). So far we have points (t 0, y 0 ) and (t 1, y 1 ). If we connect these points with a straight line we have a linear approximation to the exact solution φ(t) over interval [t 0, t 1 ]. linear approximation

7 To proceed further, we can try to repeat the process. Unfortunately, we do not know the value of the exact solution value at t 1. The best we can do is to use the approximate value y 1 instead. Thus we construct the line through (t 1, y 1 ) with the slope f(t 1, y 1 ). For a point t 2 close to t 1, we approximate the exact solution at t 2 using the line passing through (t 1, y 1 ) with slope f (t 1, y 1 ). We then compute y 2 = y 1 + f(t 1, y 1 ) (t 2 t 1 ) which approximates the exact solution at t 2. So now we have three points (t 0, y 0 ),(t 1, y 1 ), and (t 2, y 2 ). Using this process at the second step we are really approximating a new IVP; As along as the integral curve for the original IVP is not much different that than the integral curve for the new IVP, we can obtain an estimate of the solution of the original IVP. This is where some error creeps in. Thus we create a discrete sequence y n of approximations to the exact solution at the discrete points t 1, t 2, t 3, : where f k = f (t k, y k ) is the slope of the tangent line at t = t k for k =0, 1,, n.

8 The sequence of calculations generates the sequence of points To graph an Euler approximation, we plot the points (t 0, y 0 ), (t 1, y 1 ),, (t n, y n ), and then connect these points with line segments to provide a piecewise linear approximation to the solution of the original IVP. If the discrete values t 1, t 2, t 3, are equispaced we say the step size is a fixed value often denoted by h. For a fixed step size h = t k t k-1, for each value of k. Thus Euler s formula becomes

9 Example: For the initial value problem use Euler s method with h = 0.2 to approximate the solution at t = 0.2, 0.4, 0.6, 0.8, and 1.0. Index i t i y i y' i = f(t i,y i ) = f i Slope computation y i+1 =y i + h f(t i,y i ) Estimate of soln at t i+1 Compute the slope at t 0 = 0 and use the fact that y 0 = y(0)= 1 in the Euler formula.

10 Example: For the initial value problem use Euler s method with h = 0.2 to approximate the solution at t = 0.2, 0.4, 0.6, 0.8, and 1.0. Index i t i y i y' i = f(t i,y i ) = f i Slope computation y i+1 =y i + h f(t i,y i ) Estimate of soln at t i y 1 =y 0 + h f(t 0,y 0 ) = y1 y0 f0 h 1 ( ) ( 0. 2) ( 0. 2) 1. 5 Substituted t = 0 and y = 1 into formula for f(t, y)

11 Example: For the initial value problem use Euler s method with h = 0.2 to approximate the solution at t = 0.2, 0.4, 0.6, 0.8, and 1.0. Index i t i y i y' I = f(t i,y i ) = f i Slope computation y i+1 =y i + h f(t i,y i ) Estimate of soln at t i y 1 =y 0 + h f(t 0,y 0 ) = y1 y0 f0 h 1 ( )( 0. 2) ( 0. 2) 1. 5 Compute the slope at t 1 = 0.2 and use the fact that we have the approximation y 1 = 1.5 to use in the Euler formula.

12 Example: For the initial value problem use Euler s method with h = 0.2 to approximate the solution at t = 0.2, 0.4, 0.6, 0.8, and 1.0. Index i t i y i y' I = f(t i,y i ) = f i y i+1 =y i + h f(t i,y i ) y 1 =y 0 + h f(t 0,y 0 ) = y 2 =y 1 + h f(t 1,y 1 ) = y1 y0 f0 h 1 ( ) ( 0. 2) ( 0. 2) y2 y1 f1 h ( 0. 2) Substituted t = 0.2 and y = 1.5 into formula for f(t, y)

13 Example: For the initial value problem use Euler s method with h = 0.2 to approximate the solution at t = 0.2, 0.4, 0.6, 0.8, and 1.0. Index i t i y i y' I = f(t i,y i ) = f i y i+1 =y i + h f(t i,y i ) y 1 =y 0 + h f(t 0,y 0 ) = y 2 =y 1 + h f(t 1,y 1 ) = y1 y0 f0 h 1 ( ) ( 0. 2) ( 0. 2) y2 y1 f1 h ( 0. 2) Compute the slope at t 2 = 0.4 and use the fact that we have the approximation y 2 = 1.87 to use in the Euler formula.

14 Example: For the initial value problem use Euler s method with h = 0.2 to approximate the solution at t = 0.2, 0.4, 0.6, 0.8, and 1.0. Index i t i y i y' I = f(t i,y i ) = f i y i+1 =y i + h f(t i,y i ) y 1 =y 0 + h f(t 0,y 0 ) = y 2 =y 1 + h f(t 1,y 1 ) = y 3 =y 2 + h f(t 2,y 2 ) = y1 y0 f0 h 1 ( ) ( 0. 2) ( 0. 2) y2 y1 f1 h ( 0. 2) y3 y2 f2 h ( 0. 2)

15 Example: For the initial value problem use Euler s method with h = 0.2 to approximate the solution at t = 0.2, 0.4, 0.6, 0.8, and 1.0. Index i t i y i y' I = f(t i,y i ) = f i y i+1 =y i + h f(t i,y i ) y 1 =y 0 + h f(t 0,y 0 ) = y 2 =y 1 + h f(t 1,y 1 ) = y 3 =y 2 + h f(t 2,y 2 ) = y y f h 1 ( )( 0. 2) ( 0. 2) y y f h ( 0. 2) y y f h ( 0. 2) Continue in a similar fashion.

16 Example: For the initial value problem use Euler s method with h = 0.2 to approximate the solution at t = 0.2, 0.4, 0.6, 0.8, and 1.0. Index i t i y i y' I = f(t i,y i ) = f i y i+1 =y i + h f(t i,y i ) y 1 =y 0 + h f(t 0,y 0 ) = y 2 =y 1 + h f(t 1,y 1 ) = y 3 =y 2 + h f(t 2,y 2 ) = y 4 =y 3 + h f(t 3,y 3 ) = y y f h 1 ( )( 0. 2) ( 0. 2) y y f h ( 0. 2) y y f h ( 0. 2) y y f h ( 0. 2)

17 Example: For the initial value problem use Euler s method with h = 0.2 to approximate the solution at t = 0.2, 0.4, 0.6, 0.8, and 1.0. Index i t i y i y' I = f(t i,y i ) = f i y i+1 =y i + h f(t i,y i ) y 1 =y 0 + h f(t 0,y 0 ) = y 2 =y 1 + h f(t 1,y 1 ) = y 3 =y 2 + h f(t 2,y 2 ) = y 4 =y 3 + h f(t 3,y 3 ) = y y f h 1 ( )( 0. 2) ( 0. 2) y y f h ( 0. 2) y y f h ( 0. 2) y y f h ( 0. 2) y y f h ( 0. 2)

18 Example: For the initial value problem use Euler s method with h = 0.2 to approximate the solution at t = 0.2, 0.4, 0.6, 0.8, and 1.0. Index i t i y i y' I = f(t i,y i ) = f i y i+1 =y i + h f(t i,y i ) y 1 =y 0 + h f(t 0,y 0 ) = y 2 =y 1 + h f(t 1,y 1 ) = y 3 =y 2 + h f(t 2,y 2 ) = y 4 =y 3 + h f(t 3,y 3 ) = y 5 =y 4 + h f(t 4,y 4 ) = y y f h 1 ( )( 0. 2) ( 0. 2) y y f h ( 0. 2) y y f h ( 0. 2) y y f h ( 0. 2) y y f h ( 0. 2)

19 We can find the exact solution to our IVP is We approximated the solution of our IVP at t = 0.2, 0.4, 0.6, 0.8, 1.0 so now let s compare our results to the exact solution at those values of t. Exact y in red Approximate y in blue 2.5 y t

20 Euler Approx. 3 Direction Field for y'=3-2*t-.5*y Exact Note here we are looking over interval 0 t 1.

21 Accuracy of Euler s Method: Euler s method should not be used for real world approximations of IVPs. There are much more accurate methods available. But these other methods are used in much the same way as Euler s method. Euler s method is a recursive procedure used to obtain discrete approximations to IVPs. It generates a piecewise linear approximation by pasting together tangent line approximations. Its accuracy depends on how closely the t-values t 1, t 2, t 3, are spaced. For a very small spacing Euler s method requires a lot of steps and hence can be considered expensive. Even with small spacing certain IVPs can not be well approximated with Euler s method. Next we illustrate how Euler s method behaves for a sequence of decreasing values of the stepsize h. The IVP we use is 2 dy = y - 2t, y(-1.5) = -2.5 dt

22 h = 0.25

23 h = 0.25 h = 0.125

24 h = 0.25 h = h =

25 h = 0.25 h = h = h = 0.01

26 h = 0.25 h = h = h = 0.01 h = 0.001

27 Here is the direction field where we have used a much more accurate method called Runge-Kutta Fehlberg to generate the approximation to the solution of the IVP.

Numerical method for approximating the solution of an IVP. Euler Algorithm (the simplest approximation method)

Numerical method for approximating the solution of an IVP. Euler Algorithm (the simplest approximation method) Section 2.7 Euler s Method (Computer Approximation) Key Terms/ Ideas: Numerical method for approximating the solution of an IVP Linear Approximation; Tangent Line Euler Algorithm (the simplest approximation

More information

Section 7.2 Euler s Method

Section 7.2 Euler s Method Section 7.2 Euler s Method Key terms Scalar first order IVP (one step method) Euler s Method Derivation Error analysis Computational procedure Difference equation Slope field or Direction field Error Euler's

More information

2.1 Differential Equations and Solutions. Blerina Xhabli

2.1 Differential Equations and Solutions. Blerina Xhabli 2.1 Math 3331 Differential Equations 2.1 Differential Equations and Solutions Blerina Xhabli Department of Mathematics, University of Houston blerina@math.uh.edu math.uh.edu/ blerina/teaching.html Blerina

More information

Unit #16 : Differential Equations

Unit #16 : Differential Equations Unit #16 : Differential Equations Goals: To introduce the concept of a differential equation. Discuss the relationship between differential equations and slope fields. Discuss Euler s method for solving

More information

Section 7.4 Runge-Kutta Methods

Section 7.4 Runge-Kutta Methods Section 7.4 Runge-Kutta Methods Key terms: Taylor methods Taylor series Runge-Kutta; methods linear combinations of function values at intermediate points Alternatives to second order Taylor methods Fourth

More information

AP Calculus Worksheet: Chapter 2 Review Part I

AP Calculus Worksheet: Chapter 2 Review Part I AP Calculus Worksheet: Chapter 2 Review Part I 1. Given y = f(x), what is the average rate of change of f on the interval [a, b]? What is the graphical interpretation of your answer? 2. The derivative

More information

DIFFERENTIAL EQUATIONS

DIFFERENTIAL EQUATIONS DIFFERENTIAL EQUATIONS Basic Concepts Paul Dawkins Table of Contents Preface... Basic Concepts... 1 Introduction... 1 Definitions... Direction Fields... 8 Final Thoughts...19 007 Paul Dawkins i http://tutorial.math.lamar.edu/terms.aspx

More information

Solution: (a) Before opening the parachute, the differential equation is given by: dv dt. = v. v(0) = 0

Solution: (a) Before opening the parachute, the differential equation is given by: dv dt. = v. v(0) = 0 Math 2250 Lab 4 Name/Unid: 1. (35 points) Leslie Leroy Irvin bails out of an airplane at the altitude of 16,000 ft, falls freely for 20 s, then opens his parachute. Assuming linear air resistance ρv ft/s

More information

Section 2.1 Differential Equation and Solutions

Section 2.1 Differential Equation and Solutions Section 2.1 Differential Equation and Solutions Key Terms: Ordinary Differential Equation (ODE) Independent Variable Order of a DE Partial Differential Equation (PDE) Normal Form Solution General Solution

More information

Exercise 4) Newton's law of cooling is a model for how objects are heated or cooled by the temperature of an ambient medium surrounding them.

Exercise 4) Newton's law of cooling is a model for how objects are heated or cooled by the temperature of an ambient medium surrounding them. Exercise 4) Newton's law of cooling is a model for how objects are heated or cooled by the temperature of an ambient medium surrounding them. In this model, the body temperature T = T t changes at a rate

More information

Integration, differentiation, and root finding. Phys 420/580 Lecture 7

Integration, differentiation, and root finding. Phys 420/580 Lecture 7 Integration, differentiation, and root finding Phys 420/580 Lecture 7 Numerical integration Compute an approximation to the definite integral I = b Find area under the curve in the interval Trapezoid Rule:

More information

DRAFT - Math 101 Lecture Note - Dr. Said Algarni

DRAFT - Math 101 Lecture Note - Dr. Said Algarni 2 Limits 2.1 The Tangent Problems The word tangent is derived from the Latin word tangens, which means touching. A tangent line to a curve is a line that touches the curve and a secant line is a line that

More information

We begin exploring Euler s method by looking at direction fields. Consider the direction field below.

We begin exploring Euler s method by looking at direction fields. Consider the direction field below. Emma Reid- MA 66, Lesson 9 (SU 17) Euler s Method (.7) So far in this course, we have seen some very special types of first order ODEs. We ve seen methods to solve linear, separable, homogeneous, Bernoulli,

More information

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

Chapter 2: First Order DE 2.4 Linear vs. Nonlinear DEs Chapter 2: First Order DE 2.4 Linear vs. Nonlinear DEs First Order DE 2.4 Linear vs. Nonlinear DE We recall the general form of the First Oreder DEs (FODE): dy = f(t, y) (1) dt where f(t, y) is a function

More information

Math Week 1 notes

Math Week 1 notes Math 2250-004 Week 1 notes We will not necessarily finish the material from a given day's notes on that day. Or on an amazing day we may get farther than I've predicted. We may also add or subtract some

More information

Science One Integral Calculus

Science One Integral Calculus Science One Integral Calculus January 018 Happy New Year! Differential Calculus central idea: The Derivative What is the derivative f (x) of a function f(x)? Differential Calculus central idea: The Derivative

More information

INTRODUCTION TO COMPUTER METHODS FOR O.D.E.

INTRODUCTION TO COMPUTER METHODS FOR O.D.E. INTRODUCTION TO COMPUTER METHODS FOR O.D.E. 0. Introduction. The goal of this handout is to introduce some of the ideas behind the basic computer algorithms to approximate solutions to differential equations.

More information

Slope Fields and Differential Equations. Copyright Cengage Learning. All rights reserved.

Slope Fields and Differential Equations. Copyright Cengage Learning. All rights reserved. Slope Fields and Differential Equations Copyright Cengage Learning. All rights reserved. Objectives Review verifying solutions to differential equations. Review solving differential equations. Review using

More information

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

Implicit Differentiation, Related Rates. Goals: Introduce implicit differentiation. Study problems involving related rates. Unit #5 : Implicit Differentiation, Related Rates Goals: Introduce implicit differentiation. Study problems involving related rates. Tangent Lines to Relations - Implicit Differentiation - 1 Implicit Differentiation

More information

Integration - Past Edexcel Exam Questions

Integration - Past Edexcel Exam Questions Integration - Past Edexcel Exam Questions 1. (a) Given that y = 5x 2 + 7x + 3, find i. - ii. - (b) ( 1 + 3 ) x 1 x dx. [4] 2. Question 2b - January 2005 2. The gradient of the curve C is given by The point

More information

for the initial position and velocity. Find formulas for v t and x t. b) Assuming x 0 = 0 and v 0 O 0, show that the maximum value of x t is x max

for the initial position and velocity. Find formulas for v t and x t. b) Assuming x 0 = 0 and v 0 O 0, show that the maximum value of x t is x max Math 2250-4 Wed Aug 28 Finish 1.2. Differential equations of the form y# x = f x. Then begin section 1.3, slope fields., We still have two exercises to finish from Tuesday's notes: the formula for the

More information

18.03SC Practice Problems 2

18.03SC Practice Problems 2 8.03SC Practice Problems 2 Direction fields, integral curves, isoclines, separatrices, funnels Solution Suggestions As an example, take the ODE dy = x 2y.. Draw a big axis system and plot some isoclines,

More information

dt 2 The Order of a differential equation is the order of the highest derivative that occurs in the equation. Example The differential equation

dt 2 The Order of a differential equation is the order of the highest derivative that occurs in the equation. Example The differential equation Lecture 18 : Direction Fields and Euler s Method A Differential Equation is an equation relating an unknown function and one or more of its derivatives. Examples Population growth : dp dp = kp, or = kp

More information

1.2. Direction Fields: Graphical Representation of the ODE and its Solution Let us consider a first order differential equation of the form dy

1.2. Direction Fields: Graphical Representation of the ODE and its Solution Let us consider a first order differential equation of the form dy .. Direction Fields: Graphical Representation of the ODE and its Solution Let us consider a first order differential equation of the form dy = f(x, y). In this section we aim to understand the solution

More information

Section 4.2: The Mean Value Theorem

Section 4.2: The Mean Value Theorem Section 4.2: The Mean Value Theorem Before we continue with the problem of describing graphs using calculus we shall briefly pause to examine some interesting applications of the derivative. In previous

More information

MATH 116, LECTURE 13, 14 & 15: Derivatives

MATH 116, LECTURE 13, 14 & 15: Derivatives MATH 116, LECTURE 13, 14 & 15: Derivatives 1 Formal Definition of the Derivative We have seen plenty of limits so far, but very few applications. In particular, we have seen very few functions for which

More information

Everything Old Is New Again: Connecting Calculus To Algebra Andrew Freda

Everything Old Is New Again: Connecting Calculus To Algebra Andrew Freda Everything Old Is New Again: Connecting Calculus To Algebra Andrew Freda (afreda@deerfield.edu) ) Limits a) Newton s Idea of a Limit Perhaps it may be objected, that there is no ultimate proportion of

More information

Calculus I Practice Test Problems for Chapter 2 Page 1 of 7

Calculus I Practice Test Problems for Chapter 2 Page 1 of 7 Calculus I Practice Test Problems for Chapter Page of 7 This is a set of practice test problems for Chapter This is in no way an inclusive set of problems there can be other types of problems on the actual

More information

. For each initial condition y(0) = y 0, there exists a. unique solution. In fact, given any point (x, y), there is a unique curve through this point,

. For each initial condition y(0) = y 0, there exists a. unique solution. In fact, given any point (x, y), there is a unique curve through this point, 1.2. Direction Fields: Graphical Representation of the ODE and its Solution Section Objective(s): Constructing Direction Fields. Interpreting Direction Fields. Definition 1.2.1. A first order ODE of the

More information

Multistep Methods for IVPs. t 0 < t < T

Multistep Methods for IVPs. t 0 < t < T Multistep Methods for IVPs We are still considering the IVP dy dt = f(t,y) t 0 < t < T y(t 0 ) = y 0 So far we have looked at Euler s method, which was a first order method and Runge Kutta (RK) methods

More information

The Detective s Hat Function

The Detective s Hat Function The Detective s Hat Function (,) (,) (,) (,) (, ) (4, ) The graph of the function f shown above is a piecewise continuous function defined on [, 4]. The graph of f consists of five line segments. Let g

More information

MATH CALCULUS I 4.1: Area and Distance

MATH CALCULUS I 4.1: Area and Distance MATH 12002 - CALCULUS I 4.1: Area and Distance Professor Donald L. White Department of Mathematical Sciences Kent State University D.L. White (Kent State University) 1 / 8 The Area and Distance Problems

More information

3. On the grid below, sketch and label graphs of the following functions: y = sin x, y = cos x, and y = sin(x π/2). π/2 π 3π/2 2π 5π/2

3. On the grid below, sketch and label graphs of the following functions: y = sin x, y = cos x, and y = sin(x π/2). π/2 π 3π/2 2π 5π/2 AP Physics C Calculus C.1 Name Trigonometric Functions 1. Consider the right triangle to the right. In terms of a, b, and c, write the expressions for the following: c a sin θ = cos θ = tan θ =. Using

More information

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

Mon Jan Improved acceleration models: linear and quadratic drag forces. Announcements: Warm-up Exercise: Math 2250-004 Week 4 notes We will not necessarily finish the material from a given day's notes on that day. We may also add or subtract some material as the week progresses, but these notes represent

More information

Calculus for the Life Sciences

Calculus for the Life Sciences Improved Calculus for the Life Sciences ntial Equations Joseph M. Mahaffy, jmahaffy@mail.sdsu.edu Department of Mathematics and Statistics Dynamical Systems Group Computational Sciences Research Center

More information

Chapter 1: Introduction

Chapter 1: Introduction Chapter 1: Introduction Definition: A differential equation is an equation involving the derivative of a function. If the function depends on a single variable, then only ordinary derivatives appear and

More information

Euler s Method, cont d

Euler s Method, cont d Jim Lambers MAT 461/561 Spring Semester 009-10 Lecture 3 Notes These notes correspond to Sections 5. and 5.4 in the text. Euler s Method, cont d We conclude our discussion of Euler s method with an example

More information

1 Antiderivatives graphically and numerically

1 Antiderivatives graphically and numerically Math B - Calculus by Hughes-Hallett, et al. Chapter 6 - Constructing antiderivatives Prepared by Jason Gaddis Antiderivatives graphically and numerically Definition.. The antiderivative of a function f

More information

22 Approximations - the method of least squares (1)

22 Approximations - the method of least squares (1) 22 Approximations - the method of least squares () Suppose that for some y, the equation Ax = y has no solutions It may happpen that this is an important problem and we can t just forget about it If we

More information

Lesson 9 Exploring Graphs of Quadratic Functions

Lesson 9 Exploring Graphs of Quadratic Functions Exploring Graphs of Quadratic Functions Graph the following system of linear inequalities: { y > 1 2 x 5 3x + 2y 14 a What are three points that are solutions to the system of inequalities? b Is the point

More information

Math 106 Answers to Test #1 11 Feb 08

Math 106 Answers to Test #1 11 Feb 08 Math 06 Answers to Test # Feb 08.. A projectile is launched vertically. Its height above the ground is given by y = 9t 6t, where y is the height in feet and t is the time since the launch, in seconds.

More information

Ch 6.2: Solution of Initial Value Problems

Ch 6.2: Solution of Initial Value Problems Ch 6.2: Solution of Initial Value Problems! The Laplace transform is named for the French mathematician Laplace, who studied this transform in 1782.! The techniques described in this chapter were developed

More information

AP Calculus AB. Introduction. Slide 1 / 233 Slide 2 / 233. Slide 4 / 233. Slide 3 / 233. Slide 6 / 233. Slide 5 / 233. Limits & Continuity

AP Calculus AB. Introduction. Slide 1 / 233 Slide 2 / 233. Slide 4 / 233. Slide 3 / 233. Slide 6 / 233. Slide 5 / 233. Limits & Continuity Slide 1 / 233 Slide 2 / 233 AP Calculus AB Limits & Continuity 2015-10-20 www.njctl.org Slide 3 / 233 Slide 4 / 233 Table of Contents click on the topic to go to that section Introduction The Tangent Line

More information

2.1 How Do We Measure Speed? Student Notes HH6ed. Time (sec) Position (m)

2.1 How Do We Measure Speed? Student Notes HH6ed. Time (sec) Position (m) 2.1 How Do We Measure Speed? Student Notes HH6ed Part I: Using a table of values for a position function The table below represents the position of an object as a function of time. Use the table to answer

More information

AP Calculus. Derivatives.

AP Calculus. Derivatives. 1 AP Calculus Derivatives 2015 11 03 www.njctl.org 2 Table of Contents Rate of Change Slope of a Curve (Instantaneous ROC) Derivative Rules: Power, Constant, Sum/Difference Higher Order Derivatives Derivatives

More information

AP Calculus AB. Slide 1 / 233. Slide 2 / 233. Slide 3 / 233. Limits & Continuity. Table of Contents

AP Calculus AB. Slide 1 / 233. Slide 2 / 233. Slide 3 / 233. Limits & Continuity. Table of Contents Slide 1 / 233 Slide 2 / 233 AP Calculus AB Limits & Continuity 2015-10-20 www.njctl.org Table of Contents click on the topic to go to that section Slide 3 / 233 Introduction The Tangent Line Problem Definition

More information

Calculus I Homework: The Tangent and Velocity Problems Page 1

Calculus I Homework: The Tangent and Velocity Problems Page 1 Calculus I Homework: The Tangent and Velocity Problems Page 1 Questions Example The point P (1, 1/2) lies on the curve y = x/(1 + x). a) If Q is the point (x, x/(1 + x)), use Mathematica to find the slope

More information

APPLICATIONS OF DIFFERENTIATION

APPLICATIONS OF DIFFERENTIATION 4 APPLICATIONS OF DIFFERENTIATION APPLICATIONS OF DIFFERENTIATION 4.9 Antiderivatives In this section, we will learn about: Antiderivatives and how they are useful in solving certain scientific problems.

More information

Calculus I Announcements

Calculus I Announcements Slide 1 Calculus I Announcements Read sections 4.2,4.3,4.4,4.1 and 5.3 Do the homework from sections 4.2,4.3,4.4,4.1 and 5.3 Exam 3 is Thursday, November 12th See inside for a possible exam question. Slide

More information

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

25. Chain Rule. Now, f is a function of t only. Expand by multiplication: 25. Chain Rule The Chain Rule is present in all differentiation. If z = f(x, y) represents a two-variable function, then it is plausible to consider the cases when x and y may be functions of other variable(s).

More information

Math 225 Differential Equations Notes Chapter 1

Math 225 Differential Equations Notes Chapter 1 Math 225 Differential Equations Notes Chapter 1 Michael Muscedere September 9, 2004 1 Introduction 1.1 Background In science and engineering models are used to describe physical phenomena. Often these

More information

On linear and non-linear equations. (Sect. 1.6).

On linear and non-linear equations. (Sect. 1.6). On linear and non-linear equations. (Sect. 1.6). Review: Linear differential equations. Non-linear differential equations. The Picard-Lindelöf Theorem. Properties of solutions to non-linear ODE. The Proof

More information

4 The Cartesian Coordinate System- Pictures of Equations

4 The Cartesian Coordinate System- Pictures of Equations 4 The Cartesian Coordinate System- Pictures of Equations Concepts: The Cartesian Coordinate System Graphs of Equations in Two Variables x-intercepts and y-intercepts Distance in Two Dimensions and the

More information

Solution: (a) Before opening the parachute, the differential equation is given by: dv dt. = v. v(0) = 0

Solution: (a) Before opening the parachute, the differential equation is given by: dv dt. = v. v(0) = 0 Math 2250 Lab 4 Name/Unid: 1. (25 points) A man bails out of an airplane at the altitute of 12,000 ft, falls freely for 20 s, then opens his parachute. Assuming linear air resistance ρv ft/s 2, taking

More information

Chapter 6 - Ordinary Differential Equations

Chapter 6 - Ordinary Differential Equations Chapter 6 - Ordinary Differential Equations 7.1 Solving Initial-Value Problems In this chapter, we will be interested in the solution of ordinary differential equations. Ordinary differential equations

More information

MATH 200 WEEK 5 - WEDNESDAY DIRECTIONAL DERIVATIVE

MATH 200 WEEK 5 - WEDNESDAY DIRECTIONAL DERIVATIVE WEEK 5 - WEDNESDAY DIRECTIONAL DERIVATIVE GOALS Be able to compute a gradient vector, and use it to compute a directional derivative of a given function in a given direction. Be able to use the fact that

More information

Vector Functions & Space Curves MATH 2110Q

Vector Functions & Space Curves MATH 2110Q Vector Functions & Space Curves Vector Functions & Space Curves Vector Functions Definition A vector function or vector-valued function is a function that takes real numbers as inputs and gives vectors

More information

Math 122 Fall Handout 11: Summary of Euler s Method, Slope Fields and Symbolic Solutions of Differential Equations

Math 122 Fall Handout 11: Summary of Euler s Method, Slope Fields and Symbolic Solutions of Differential Equations 1 Math 122 Fall 2008 Handout 11: Summary of Euler s Method, Slope Fields and Symbolic Solutions of Differential Equations The purpose of this handout is to review the techniques that you will learn for

More information

Derivation of Euler's Method - Numerical Methods for Solving Differential Equations

Derivation of Euler's Method - Numerical Methods for Solving Differential Equations Derivation of Euler's Method - Numerical Methods for Solving Differential Equations Let s start with a general first order Initial Value Problem dx = f(x, y) y(x 0) = y 0 (1) where f(x, y) is a known function

More information

Calculus with business applications, Lehigh U, Lecture 03 notes Summer

Calculus with business applications, Lehigh U, Lecture 03 notes Summer Calculus with business applications, Lehigh U, Lecture 03 notes Summer 01 1 Lines and quadratics 1. Polynomials, functions in which each term is a positive integer power of the independent variable include

More information

1.1 Radical Expressions: Rationalizing Denominators

1.1 Radical Expressions: Rationalizing Denominators 1.1 Radical Expressions: Rationalizing Denominators Recall: 1. A rational number is one that can be expressed in the form a, where b 0. b 2. An equivalent fraction is determined by multiplying or dividing

More information

2.2 The Derivative Function

2.2 The Derivative Function 2.2 The Derivative Function Arkansas Tech University MATH 2914: Calculus I Dr. Marcel B. Finan Recall that a function f is differentiable at x if the following it exists f f(x + h) f(x) (x) =. (2.2.1)

More information

LIMITS AND DERIVATIVES

LIMITS AND DERIVATIVES 2 LIMITS AND DERIVATIVES LIMITS AND DERIVATIVES 1. Equation In Section 2.7, we considered the derivative of a function f at a fixed number a: f '( a) lim h 0 f ( a h) f ( a) h In this section, we change

More information

For a function f(x) and a number a in its domain, the derivative of f at a, denoted f (a), is: D(h) = lim

For a function f(x) and a number a in its domain, the derivative of f at a, denoted f (a), is: D(h) = lim Name: Section: Names of collaborators: Main Points: 1. Definition of derivative as limit of difference quotients 2. Interpretation of derivative as slope of graph 3. Interpretation of derivative as instantaneous

More information

Ordinary Differential Equations

Ordinary Differential Equations CHAPTER 8 Ordinary Differential Equations 8.1. Introduction My section 8.1 will cover the material in sections 8.1 and 8.2 in the book. Read the book sections on your own. I don t like the order of things

More information

Analyzing Autonomous DEs: Spotted Owls

Analyzing Autonomous DEs: Spotted Owls Analyzing Autonomous DEs: Spotted Owls A group of biologists are making predictions about the spotted owl population in a forest in the Pacific Northwest. The autonomous differential equation the scientist

More information

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

2tdt 1 y = t2 + C y = which implies C = 1 and the solution is y = 1 Lectures - Week 11 General First Order ODEs & Numerical Methods for IVPs In general, nonlinear problems are much more difficult to solve than linear ones. Unfortunately many phenomena exhibit nonlinear

More information

Mon 3 Nov Tuesday 4 Nov: Quiz 8 ( ) Friday 7 Nov: Exam 2!!! Today: 4.5 Wednesday: REVIEW. In class Covers

Mon 3 Nov Tuesday 4 Nov: Quiz 8 ( ) Friday 7 Nov: Exam 2!!! Today: 4.5 Wednesday: REVIEW. In class Covers Mon 3 Nov 2014 Tuesday 4 Nov: Quiz 8 (4.2-4.4) Friday 7 Nov: Exam 2!!! In class Covers 3.9-4.5 Today: 4.5 Wednesday: REVIEW Linear Approximation and Differentials In section 4.5, you see the pictures on

More information

8.1 Supplement: Differential Equations and Slope Fields

8.1 Supplement: Differential Equations and Slope Fields Math 131 -copyright Angela Allen, Spring 2008 1 8.1 Supplement: Differential Equations and Slope Fields Note: Several of these examples come from your textbook Calculus Concepts: An Applied Approach to

More information

AP Calculus AB. Limits & Continuity.

AP Calculus AB. Limits & Continuity. 1 AP Calculus AB Limits & Continuity 2015 10 20 www.njctl.org 2 Table of Contents click on the topic to go to that section Introduction The Tangent Line Problem Definition of a Limit and Graphical Approach

More information

CALCULUS EXPLORATION OF THE SECOND FUNDAMENTAL THEOREM OF CALCULUS. Second Fundamental Theorem of Calculus (Chain Rule Version): f t dt

CALCULUS EXPLORATION OF THE SECOND FUNDAMENTAL THEOREM OF CALCULUS. Second Fundamental Theorem of Calculus (Chain Rule Version): f t dt CALCULUS EXPLORATION OF THE SECOND FUNDAMENTAL THEOREM OF CALCULUS d d d d t dt 6 cos t dt Second Fundamental Theorem of Calculus: d f tdt d a d d 4 t dt d d a f t dt d d 6 cos t dt Second Fundamental

More information

Chapter 4. A simple method for solving first order equations numerically

Chapter 4. A simple method for solving first order equations numerically Chapter 4. A simple method for solving first order equations numerically We shall discuss a simple numerical method suggested in the introduction, where it was applied to the second order equation associated

More information

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)

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) Section 2.1 (First Order) Linear DEs; Method of Integrating Factors Key Terms/Ideas: General first order linear DEs Standard Form; y'(t) + p(t) y = g(t) Integrating factor; a function μ(t) that transforms

More information

Exam 1 Review SOLUTIONS

Exam 1 Review SOLUTIONS 1. True or False (and give a short reason): Exam 1 Review SOLUTIONS (a) If the parametric curve x = f(t), y = g(t) satisfies g (1) = 0, then it has a horizontal tangent line when t = 1. FALSE: To make

More information

Section 3.9. The Geometry of Graphs. Difference Equations to Differential Equations

Section 3.9. The Geometry of Graphs. Difference Equations to Differential Equations Difference Equations to Differential Equations Section 3.9 The Geometry of Graphs In Section. we discussed the graph of a function y = f(x) in terms of plotting points (x, f(x)) for many different values

More information

Module 2: Reflecting on One s Problems

Module 2: Reflecting on One s Problems MATH55 Module : Reflecting on One s Problems Main Math concepts: Translations, Reflections, Graphs of Equations, Symmetry Auxiliary ideas: Working with quadratics, Mobius maps, Calculus, Inverses I. Transformations

More information

Infinite Limits. Infinite Limits. Infinite Limits. Previously, we discussed the limits of rational functions with the indeterminate form 0/0.

Infinite Limits. Infinite Limits. Infinite Limits. Previously, we discussed the limits of rational functions with the indeterminate form 0/0. Infinite Limits Return to Table of Contents Infinite Limits Infinite Limits Previously, we discussed the limits of rational functions with the indeterminate form 0/0. Now we will consider rational functions

More information

INTEGRALS. In Chapter 2, we used the tangent and velocity problems to introduce the derivative the central idea in differential calculus.

INTEGRALS. In Chapter 2, we used the tangent and velocity problems to introduce the derivative the central idea in differential calculus. INTEGRALS 5 INTEGRALS In Chapter 2, we used the tangent and velocity problems to introduce the derivative the central idea in differential calculus. INTEGRALS In much the same way, this chapter starts

More information

MATH 151 Engineering Mathematics I

MATH 151 Engineering Mathematics I MATH 151 Engineering Mathematics I Fall, 2016, WEEK 4 JoungDong Kim Week4 Section 2.6, 2.7, 3.1 Limits at infinity, Velocity, Differentiation Section 2.6 Limits at Infinity; Horizontal Asymptotes Definition.

More information

Simple ODE Solvers - Derivation

Simple ODE Solvers - Derivation Simple ODE Solvers - Derivation These notes provide derivations of some simple algorithms for generating, numerically, approximate solutions to the initial value problem y (t =f ( t, y(t y(t 0 =y 0 Here

More information

Chapter 1 Functions and Limits

Chapter 1 Functions and Limits Contents Chapter 1 Functions and Limits Motivation to Chapter 1 2 4 Tangent and Velocity Problems 3 4.1 VIDEO - Secant Lines, Average Rate of Change, and Applications......................... 3 4.2 VIDEO

More information

Differential Equations

Differential Equations Differential Equations Collège André-Chavanne Genève richard.o-donovan@edu.ge.ch 2012 2 1 INITIAL PROBLEMS 1 Initial problems Exercise 1 Radioactivity is due to the decay of nuclei in the atoms. The following

More information

Constant Acceleration

Constant Acceleration Constant Acceleration Ch. in your text book Objectives Students will be able to: ) Write the definition of acceleration, either in words or as an equation ) Create an equation for the movement of an object

More information

DIFFERENTIATION RULES

DIFFERENTIATION RULES 3 DIFFERENTIATION RULES DIFFERENTIATION RULES 3. The Product and Quotient Rules In this section, we will learn about: Formulas that enable us to differentiate new functions formed from old functions by

More information

Lesson 3-1: Solving Linear Systems by Graphing

Lesson 3-1: Solving Linear Systems by Graphing For the past several weeks we ve been working with linear equations. We ve learned how to graph them and the three main forms they can take. Today we re going to begin considering what happens when we

More information

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

Unit #5 : Implicit Differentiation, Related Rates. Goals: Introduce implicit differentiation. Study problems involving related rates. Unit #5 : Implicit Differentiation, Related Rates Goals: Introduce implicit differentiation. Study problems involving related rates. Textbook reading for Unit #5 : Study Sections 3.7, 4.6 Unit 5 - Page

More information

MATH 353 LECTURE NOTES: WEEK 1 FIRST ORDER ODES

MATH 353 LECTURE NOTES: WEEK 1 FIRST ORDER ODES MATH 353 LECTURE NOTES: WEEK 1 FIRST ORDER ODES J. WONG (FALL 2017) What did we cover this week? Basic definitions: DEs, linear operators, homogeneous (linear) ODEs. Solution techniques for some classes

More information

CHAPTER 6 VECTOR CALCULUS. We ve spent a lot of time so far just looking at all the different ways you can graph

CHAPTER 6 VECTOR CALCULUS. We ve spent a lot of time so far just looking at all the different ways you can graph CHAPTER 6 VECTOR CALCULUS We ve spent a lot of time so far just looking at all the different ways you can graph things and describe things in three dimensions, and it certainly seems like there is a lot

More information

MATH 1130 Exam 1 Review Sheet

MATH 1130 Exam 1 Review Sheet MATH 1130 Exam 1 Review Sheet The Cartesian Coordinate Plane The Cartesian Coordinate Plane is a visual representation of the collection of all ordered pairs (x, y) where x and y are real numbers. This

More information

AB.Q103.NOTES: Chapter 2.4, 3.1, 3.2 LESSON 1. Discovering the derivative at x = a: Slopes of secants and tangents to a curve

AB.Q103.NOTES: Chapter 2.4, 3.1, 3.2 LESSON 1. Discovering the derivative at x = a: Slopes of secants and tangents to a curve AB.Q103.NOTES: Chapter 2.4, 3.1, 3.2 LESSON 1 Discovering the derivative at x = a: Slopes of secants and tangents to a curve 1 1. Instantaneous rate of change versus average rate of change Equation of

More information

Introduction to Initial Value Problems

Introduction to Initial Value Problems Chapter 2 Introduction to Initial Value Problems The purpose of this chapter is to study the simplest numerical methods for approximating the solution to a first order initial value problem (IVP). Because

More information

Euler s Method (BC Only)

Euler s Method (BC Only) Euler s Method (BC Only) Euler s Method is used to generate numerical approximations for solutions to differential equations that are not separable by methods tested on the AP Exam. It is necessary to

More information

0.1 Solution by Inspection

0.1 Solution by Inspection 1 Modeling with Differential Equations: Introduction to the Issues c 2002 Donald Kreider and Dwight Lahr A differential equation is an equation involving derivatives and functions. In the last section,

More information

Math 2250-004 Week 1 notes We will not necessarily finish the material from a given day's notes on that day. We may also add or subtract some material as the week progresses, but these notes represent

More information

(A) Opening Problem Newton s Law of Cooling

(A) Opening Problem Newton s Law of Cooling Lesson 55 Numerical Solutions to Differential Equations Euler's Method IBHL - 1 (A) Opening Problem Newton s Law of Cooling! Newton s Law of Cooling states that the temperature of a body changes at a rate

More information

Grade 12 (MCV4UE) AP Calculus Page 1 of 5 Derivative of a Function & Differentiability

Grade 12 (MCV4UE) AP Calculus Page 1 of 5 Derivative of a Function & Differentiability Grade 2 (MCV4UE) AP Calculus Page of 5 The Derivative at a Point f ( a h) f ( a) Recall, lim provides the slope of h0 h the tangent to the graph y f ( at the point, f ( a), and the instantaneous rate of

More information

Graphs of Polynomial Functions

Graphs of Polynomial Functions Graphs of Polynomial Functions By: OpenStaxCollege The revenue in millions of dollars for a fictional cable company from 2006 through 2013 is shown in [link]. Year 2006 2007 2008 2009 2010 2011 2012 2013

More information

Math 111, Introduction to the Calculus, Fall 2011 Midterm I Practice Exam 1 Solutions

Math 111, Introduction to the Calculus, Fall 2011 Midterm I Practice Exam 1 Solutions Math 111, Introduction to the Calculus, Fall 2011 Midterm I Practice Exam 1 Solutions For each question, there is a model solution (showing you the level of detail I expect on the exam) and then below

More information

means Name a function whose derivative is 2x. x 4, and so forth.

means Name a function whose derivative is 2x. x 4, and so forth. AP Slope Fields Worksheet Slope fields give us a great wa to visualize a famil of antiderivatives, solutions of differential equations. d Solving means Name a function whose derivative is. d Answers might

More information

1 Systems of First Order IVP

1 Systems of First Order IVP cs412: introduction to numerical analysis 12/09/10 Lecture 24: Systems of First Order Differential Equations Instructor: Professor Amos Ron Scribes: Yunpeng Li, Mark Cowlishaw, Nathanael Fillmore 1 Systems

More information