Central-Difference Formulas

Size: px
Start display at page:

Download "Central-Difference Formulas"

Transcription

1 SEC 61 APPROXIMATING THE DERIVATIVE 323 Central-Difference Formulas If the function f (x) can be evaluated at values that lie to the left and right of x, then the best two-point formula will involve abscissas that are chosen symmetrically on both sides of x Theorem 61 (Centered Formula of Order O(h 2 )) that x h, x, x + h [a, b] Then (3) f f (x + h) f (x h) (x) 2h Furthermore, there exists a number c = c(x) [a, b] such that (4) f f (x + h) f (x h) (x) = + E trunc ( f, h), 2h where E trunc ( f, h) = h2 f (3) (c) = O(h 2 ) 6 The term E( f, h) is called the truncation error Assume that f C 3 [a, b] and Proof Start with the second-degree Taylor expansions f (x) = P 2 (x) + E 2 (x), about x,for f (x + h) and f (x h): (5) f (x + h) = f (x) + f (x)h + f (2) (x)h 2 and (6) f (x h) = f (x) f (x)h + f (2) (x)h 2 2! After (6) is subtracted from (5), the result is 2! + f (3) (c 1 )h 3 f (3) (c 2 )h 3 (7) f (x + h) f (x h) = 2 f (x)h + (( f (3) (c 1 ) + f (3) (c 2 ))h 3

2 324 CHAP 6 NUMERICAL DIFFERENTIATION Since f (3) (x) is continuous, the intermediate value theorem can be used to find a value c so that f (3) (c 1 ) + f (3) (c 2 ) (8) = f (3) (c) 2 This can be substituted into (7) and the terms rearranged to yield (9) f (x) = f (x + h) f (x h) 2h f (3) (c)h 2 The first term on the right side of (9) is the central-difference formula (3), the second term is the truncation error, and the proof is complete Suppose that the value of the third derivative f (3) (c) does not change too rapidly; then the truncation error in (4) goes to zero in the same manner as h 2, which is expressed by using the notation O(h 2 ) When computer calculations are used, it is not desirable to choose h too small For this reason it is useful to have a formula for approximating f (x) that has a truncation error term of the order O(h 4 ) Theorem 62 (Centered Formula of Order O(h 4 )) that x 2h, x h, x, x + h, x + 2h [a, b] Then Assume that f C 5 [a, b] and (10) f (x) f (x + 2h) + 8 f (x + h) 8 f (x h) + f (x 2h) 12h Furthermore, there exists a number c = c(x) [a, b] such that (11) f (x) = f (x + 2h) + 8 f (x + h) 8 f (x h) + f (x 2h) 12h + E trunc ( f, h), where E trunc ( f, h) = h4 f (5) (c) = O(h 4 ) 30 Proof One way to derive formula (10) is as follows Start with the difference between the fourth-degree Taylor expansions f (x) = P 4 (x) + E 4 (x), about x,of f (x + h) and f (x h): (12) f (x + h) f (x h) = 2 f (x)h + 2 f (3) (x)h f (5) (c 1 )h 5 5! Then use the step size 2h, instead of h, and write down the following approximation: (13) f (x + 2h) f (x 2h) = 4 f (x)h + 16 f (3) (x)h f (5) (c 2 )h 5 5!

3 SEC 61 APPROXIMATING THE DERIVATIVE 325 Next multiply the terms in equation (12) by 8 and subtract (13) from it The terms involving f (3) (x) will be eliminated and we get f (x + 2h) + 8 f (x + h) 8 f (x h) + f (x 2h) (14) = 12 f (x)h + (16 f (5) (c 1 ) 64 f (5) (c 2 ))h If f (5) (x) has one sign and if its magnitude does not change rapidly, we can find a value c that lies in [x 2h, x + 2h] so that (15) 16 f (5) (c 1 ) 64 f (5) (c 2 ) = 48 f (5) (c) After (15) is substituted into (14) and the result is solved for f (x), we obtain (16) f f (x + 2h) + 8 f (x + h) 8 f (x h) + f (x 2h) (x) = + f (5) (c)h 4 12h 30 The first term on the right side of (16) is the central-difference formula (10) and the second term is the truncation error; the theorem is proved Suppose that f (5) (c) is bounded for c [a, b]; then the truncation error in (11) goes to zero in the same manner as h 4, which is expressed with the notation O(h 4 ) Now we can make a comparison of the two formulas (3) and (10) Suppose that f (x) has five continuous derivatives and that f (3) (c) and f (5) (c) are about the same Then the truncation error for the fourth-order formula (10) is O(h 4 ) and will go to zero faster than the truncation error O(h 2 ) for the second-order formula (3) This permits the use of a larger step size Example 62 Let f (x) = cos(x) (a) Use formulas (3) and (10) with step sizes h = 01, 001, 0001, and 00001, and calculate approximations for f (08) Carry nine decimal places in all the calculations (b) Compare with the true value f (08) = sin(08) (a) Using formula (3) with h = 001, we get f f (081) f (079) (08) Using formula (10) with h = 001, we get f f (082) + 8 f (081) 8 f (079) + f (078) (08) ( ) 8( ) (b) The error in approximation for formulas (3) and (10) turns out to be and , respectively In this example, formula (10) gives a better approximation to f (08) than formula (3) when h = 001 The error analysis will illuminate this example and show why this happened The other calculations are summarized in Table 62

4 SEC 62 NUMERICAL DIFFERENTIATION FORMULAS Numerical Differentiation Formulas More Central-Difference Formulas The formulas for f (x 0 ) in the preceding section required that the function can be computed at abscissas that lie on both sides of x, and they were referred to as centraldifference formulas Taylor series can be used to obtain central-difference formulas for the higher derivatives The popular choices are those of order O(h 2 ) and O(h 4 ) and are given in Tables 63 and 64 In these tables we use the convention that f k = f (x 0 +kh) for k = 3, 2, 1, 0, 1, 2, 3 For illustration, we will derive the formula for f (x) of order O(h 2 ) in Table 63 Start with the Taylor expansions (1) f (x + h) = f (x) + hf (x) + h2 f (x) 2 + h3 f (3) (x) 6 + h4 f (4) (x) 24 + Table 63 Central-Difference Formulas of Order O(h 2 ) f (x 0 ) f 1 f 1 2h f (x 0 ) f 1 2 f 0 + f 1 h 2 f (3) (x 0 ) f 2 2 f f 1 f 2 2h 3 f (4) (x 0 ) f 2 4 f f 0 4 f 1 + f 2 h 4 Table 64 Central-Difference Formulas of Order O(h 4 ) f (x 0 ) f f 1 8 f 1 + f 2 12h f (x 0 ) f f 1 30 f f 1 f 2 12h 2 f (3) (x 0 ) f f 2 13 f f 1 8 f 2 + f 3 8h 3 f (4) (x 0 ) f f 2 39 f f 0 39 f f 2 f 3 6h 4

5 340 CHAP 6 NUMERICAL DIFFERENTIATION and (2) f (x h) = f (x) hf (x) + h2 f (x) 2 h3 f (3) (x) 6 + h4 f (4) (x) 24 Adding equations (1) and (2) will eliminate the terms involving the odd derivatives f (x), f (3) (x), f (5) (x), : (3) f (x + h) + f (x h) = 2 f (x) + 2h2 f (x) 2 Solving equation (3) for f (x) yields + 2h4 f (4) (x) 24 + (4) f (x) = f (x + h) 2 f (x) + f (x h) h 2 2h4 f (6) (x) 6! 2h2k 2 f (2k) (x) (2k)! 2h2 f (4) (x) 4! If the series in (4) is truncated at the fourth derivative, there exists a value c that lies in [x h, x + h], so that (5) f (x 0 ) = f 1 2 f 0 + f 1 h 2 h2 f (4) (c) 12 This gives us the desired formula for approximating f (x): (6) f (x 0 ) f 1 2 f 0 + f 1 h 2 Example 64 Let f (x) = cos(x) (a) Use formula (6) with h = 01, 001, and 0001 and find approximations to f (08) Carry nine decimal places in all calculations (b) Compare with the true value f (08) = cos(08) (a) The calculation for h = 001 is f f (081) 2 f (080) + f (079) (08) ( ) (b) The error in this approximation is The other calculations are summarized in Table 65 The error analysis will illuminate this example and show why h = 001 was best

6 SEC 62 NUMERICAL DIFFERENTIATION FORMULAS 341 Table 65 Numerical Approximations to f (x) for Example 64 Step Approximation by Error using size formula (6) formula (6) h = h = h = Error Analysis Let f k = y k + e k, where e k is the error in computing f (x k ), including noise in measurement and round-off error Then formula (6) can be written (7) f (x 0 ) = y 1 2y 0 + y 1 h 2 + E( f, h) The error term E(h, f ) for the numerical derivative (7) will have a part due to roundoff error and a part due to truncation error: (8) E( f, h) = e 1 2e 0 + e 1 h 2 h2 f (4) (c) 12 If it is assumed that each error e k is of the magnitude ɛ, with signs that accumulate errors, and that f (4) (x) M, then we get the following error bound: (9) E( f, h) 4ɛ h 2 + Mh2 12 If h is small, then the contribution 4ɛ/h 2 due to round-off error is large When h is large, the contribution Mh 2 /12 is large The optimal step size will minimize the quantity (10) g(h) = 4ɛ h 2 + Mh2 12 Setting g (h) = 0 results in 8ɛ/h 3 + Mh/6 = 0, which yields the equation h 4 = 48ɛ/M, from which we obtain the optimal value: (11) h = ( ) 48ɛ 1/4 M When formula (11) is applied to Example 64, use the bound f (4) (x) cos(x) 1 = M and the value ɛ = The optimal step size is h = ( /1) 1/4 = , and we see that h = 001 was closest to the optimal value

7 342 CHAP 6 NUMERICAL DIFFERENTIATION Since the portion of the error due to round off is inversely proportional to the square of h, this term grows when h gets small This is sometimes referred to as the step-size dilemma One partial solution to this problem is to use a formula of higher order so that a larger value of h will produce the desired accuracy The formula for f (x 0 ) of order O(h 4 ) in Table 64 is (12) f (x 0 ) = f f 1 30 f f 1 f 2 12h 2 + E( f, h) The error term for (12) has the form (13) E( f, h) = 16ɛ 3h 2 + h4 f (6) (c), 90 where c lies in the interval [x 2h, x + 2h] A bound for E( f, h) is (14) E( f, h) 16ɛ 3h 2 + h4 M 90, where f (6) (x) M The optimal value for h is given by the formula ( ) 240ɛ 1/6 (15) h = M Example 65 Let f (x) = cos(x) (a) Use formula (12) with h = 10, 01, and 001 and find approximations to f (08) Carry nine decimal places in all the calculations (b) Compare with the true value f (08) = cos(08) (c) Determine the optimal step size (a) The calculation for h = 01 is f (08) f (10) + 16 f (09) 30 f (08) + 16 f (07) f (06) (b) The error in this approximation is The other calculations are summarized in Table 66 (c) When formula (15) is applied, we can use the bound f (6) (x) cos(x) 1 = M and the value ɛ = These values give the optimal step size h = ( /1) 1/6 =

8 Numerical Methods Using Matlab, 4 th Edition, 2004 John H Mathews and Kurtis K Fink ISBN: Prentice-Hall Inc Upper Saddle River, New Jersey, USA

4.3 Lagrange Approximation

4.3 Lagrange Approximation 206 CHAP. 4 INTERPOLATION AND POLYNOMIAL APPROXIMATION Lagrange Polynomial Approximation 4.3 Lagrange Approximation Interpolation means to estimate a missing function value by taking a weighted average

More information

4.5 Chebyshev Polynomials

4.5 Chebyshev Polynomials 230 CHAP. 4 INTERPOLATION AND POLYNOMIAL APPROXIMATION 4.5 Chebyshev Polynomials We now turn our attention to polynomial interpolation for f (x) over [ 1, 1] based on the nodes 1 x 0 < x 1 < < x N 1. Both

More information

5 Numerical Differentiation

5 Numerical Differentiation D. Levy 5 Numerical Differentiation 5. Basic Concepts This chapter deals with numerical approximations of derivatives. The first questions that comes up to mind is: why do we need to approximate derivatives

More information

1 Error in Euler s Method

1 Error in Euler s Method 1 Error in Euler s Method Experience with Euler s 1 method raises some interesting questions about numerical approximations for the solutions of differential equations. 1. What determines the amount of

More information

Piecewise Cubic Splines

Piecewise Cubic Splines 280 CHAP. 5 CURVE FITTING Piecewise Cubic Splines The fitting of a polynomial curve to a set of data points has applications in CAD (computer-assisted design), CAM (computer-assisted manufacturing), and

More information

Taylor and Maclaurin Series

Taylor and Maclaurin Series Taylor and Maclaurin Series In the preceding section we were able to find power series representations for a certain restricted class of functions. Here we investigate more general problems: Which functions

More information

Homework 2 Solutions

Homework 2 Solutions Homework Solutions Igor Yanovsky Math 5B TA Section 5.3, Problem b: Use Taylor s method of order two to approximate the solution for the following initial-value problem: y = + t y, t 3, y =, with h = 0.5.

More information

Lies My Calculator and Computer Told Me

Lies My Calculator and Computer Told Me Lies My Calculator and Computer Told Me 2 LIES MY CALCULATOR AND COMPUTER TOLD ME Lies My Calculator and Computer Told Me See Section.4 for a discussion of graphing calculators and computers with graphing

More information

Lectures 5-6: Taylor Series

Lectures 5-6: Taylor Series Math 1d Instructor: Padraic Bartlett Lectures 5-: Taylor Series Weeks 5- Caltech 213 1 Taylor Polynomials and Series As we saw in week 4, power series are remarkably nice objects to work with. In particular,

More information

5.3 SOLVING TRIGONOMETRIC EQUATIONS. Copyright Cengage Learning. All rights reserved.

5.3 SOLVING TRIGONOMETRIC EQUATIONS. Copyright Cengage Learning. All rights reserved. 5.3 SOLVING TRIGONOMETRIC EQUATIONS Copyright Cengage Learning. All rights reserved. What You Should Learn Use standard algebraic techniques to solve trigonometric equations. Solve trigonometric equations

More information

Modeling, Computers, and Error Analysis Mathematical Modeling and Engineering Problem-Solving

Modeling, Computers, and Error Analysis Mathematical Modeling and Engineering Problem-Solving Next: Roots of Equations Up: Numerical Analysis for Chemical Previous: Contents Subsections Mathematical Modeling and Engineering Problem-Solving A Simple Mathematical Model Computers and Software The

More information

Numerical Solution of Differential

Numerical Solution of Differential Chapter 13 Numerical Solution of Differential Equations We have considered numerical solution procedures for two kinds of equations: In chapter 10 the unknown was a real number; in chapter 6 the unknown

More information

CHAPTER 5 Round-off errors

CHAPTER 5 Round-off errors CHAPTER 5 Round-off errors In the two previous chapters we have seen how numbers can be represented in the binary numeral system and how this is the basis for representing numbers in computers. Since any

More information

Derivative Approximation by Finite Differences

Derivative Approximation by Finite Differences Derivative Approximation by Finite Differences David Eberly Geometric Tools, LLC http://wwwgeometrictoolscom/ Copyright c 998-26 All Rights Reserved Created: May 3, 2 Last Modified: April 25, 25 Contents

More information

3.1. Solving linear equations. Introduction. Prerequisites. Learning Outcomes. Learning Style

3.1. Solving linear equations. Introduction. Prerequisites. Learning Outcomes. Learning Style Solving linear equations 3.1 Introduction Many problems in engineering reduce to the solution of an equation or a set of equations. An equation is a type of mathematical expression which contains one or

More information

Figure 1.1 Vector A and Vector F

Figure 1.1 Vector A and Vector F CHAPTER I VECTOR QUANTITIES Quantities are anything which can be measured, and stated with number. Quantities in physics are divided into two types; scalar and vector quantities. Scalar quantities have

More information

Section 12.6: Directional Derivatives and the Gradient Vector

Section 12.6: Directional Derivatives and the Gradient Vector Section 26: Directional Derivatives and the Gradient Vector Recall that if f is a differentiable function of x and y and z = f(x, y), then the partial derivatives f x (x, y) and f y (x, y) give the rate

More information

16.1 Runge-Kutta Method

16.1 Runge-Kutta Method 70 Chapter 6. Integration of Ordinary Differential Equations CITED REFERENCES AND FURTHER READING: Gear, C.W. 97, Numerical Initial Value Problems in Ordinary Differential Equations (Englewood Cliffs,

More information

7 Gaussian Elimination and LU Factorization

7 Gaussian Elimination and LU Factorization 7 Gaussian Elimination and LU Factorization In this final section on matrix factorization methods for solving Ax = b we want to take a closer look at Gaussian elimination (probably the best known method

More information

Review of Scientific Notation and Significant Figures

Review of Scientific Notation and Significant Figures II-1 Scientific Notation Review of Scientific Notation and Significant Figures Frequently numbers that occur in physics and other sciences are either very large or very small. For example, the speed of

More information

Abstract: We describe the beautiful LU factorization of a square matrix (or how to write Gaussian elimination in terms of matrix multiplication).

Abstract: We describe the beautiful LU factorization of a square matrix (or how to write Gaussian elimination in terms of matrix multiplication). MAT 2 (Badger, Spring 202) LU Factorization Selected Notes September 2, 202 Abstract: We describe the beautiful LU factorization of a square matrix (or how to write Gaussian elimination in terms of matrix

More information

LS.6 Solution Matrices

LS.6 Solution Matrices LS.6 Solution Matrices In the literature, solutions to linear systems often are expressed using square matrices rather than vectors. You need to get used to the terminology. As before, we state the definitions

More information

Increasing for all. Convex for all. ( ) Increasing for all (remember that the log function is only defined for ). ( ) Concave for all.

Increasing for all. Convex for all. ( ) Increasing for all (remember that the log function is only defined for ). ( ) Concave for all. 1. Differentiation The first derivative of a function measures by how much changes in reaction to an infinitesimal shift in its argument. The largest the derivative (in absolute value), the faster is evolving.

More information

Rational Exponents. Squaring both sides of the equation yields. and to be consistent, we must have

Rational Exponents. Squaring both sides of the equation yields. and to be consistent, we must have 8.6 Rational Exponents 8.6 OBJECTIVES 1. Define rational exponents 2. Simplify expressions containing rational exponents 3. Use a calculator to estimate the value of an expression containing rational exponents

More information

Application. Outline. 3-1 Polynomial Functions 3-2 Finding Rational Zeros of. Polynomial. 3-3 Approximating Real Zeros of.

Application. Outline. 3-1 Polynomial Functions 3-2 Finding Rational Zeros of. Polynomial. 3-3 Approximating Real Zeros of. Polynomial and Rational Functions Outline 3-1 Polynomial Functions 3-2 Finding Rational Zeros of Polynomials 3-3 Approximating Real Zeros of Polynomials 3-4 Rational Functions Chapter 3 Group Activity:

More information

LIES MY CALCULATOR AND COMPUTER TOLD ME

LIES MY CALCULATOR AND COMPUTER TOLD ME LIES MY CALCULATOR AND COMPUTER TOLD ME See Section Appendix.4 G for a discussion of graphing calculators and computers with graphing software. A wide variety of pocket-size calculating devices are currently

More information

An important theme in this book is to give constructive definitions of mathematical objects. Thus, for instance, if you needed to evaluate.

An important theme in this book is to give constructive definitions of mathematical objects. Thus, for instance, if you needed to evaluate. Chapter 10 Series and Approximations An important theme in this book is to give constructive definitions of mathematical objects. Thus, for instance, if you needed to evaluate 1 0 e x2 dx, you could set

More information

Biggar High School Mathematics Department. National 5 Learning Intentions & Success Criteria: Assessing My Progress

Biggar High School Mathematics Department. National 5 Learning Intentions & Success Criteria: Assessing My Progress Biggar High School Mathematics Department National 5 Learning Intentions & Success Criteria: Assessing My Progress Expressions & Formulae Topic Learning Intention Success Criteria I understand this Approximation

More information

Operation Count; Numerical Linear Algebra

Operation Count; Numerical Linear Algebra 10 Operation Count; Numerical Linear Algebra 10.1 Introduction Many computations are limited simply by the sheer number of required additions, multiplications, or function evaluations. If floating-point

More information

88 CHAPTER 2. VECTOR FUNCTIONS. . First, we need to compute T (s). a By definition, r (s) T (s) = 1 a sin s a. sin s a, cos s a

88 CHAPTER 2. VECTOR FUNCTIONS. . First, we need to compute T (s). a By definition, r (s) T (s) = 1 a sin s a. sin s a, cos s a 88 CHAPTER. VECTOR FUNCTIONS.4 Curvature.4.1 Definitions and Examples The notion of curvature measures how sharply a curve bends. We would expect the curvature to be 0 for a straight line, to be very small

More information

Equations, Inequalities & Partial Fractions

Equations, Inequalities & Partial Fractions Contents Equations, Inequalities & Partial Fractions.1 Solving Linear Equations 2.2 Solving Quadratic Equations 1. Solving Polynomial Equations 1.4 Solving Simultaneous Linear Equations 42.5 Solving Inequalities

More information

FFT Algorithms. Chapter 6. Contents 6.1

FFT Algorithms. Chapter 6. Contents 6.1 Chapter 6 FFT Algorithms Contents Efficient computation of the DFT............................................ 6.2 Applications of FFT................................................... 6.6 Computing DFT

More information

In mathematics, there are four attainment targets: using and applying mathematics; number and algebra; shape, space and measures, and handling data.

In mathematics, there are four attainment targets: using and applying mathematics; number and algebra; shape, space and measures, and handling data. MATHEMATICS: THE LEVEL DESCRIPTIONS In mathematics, there are four attainment targets: using and applying mathematics; number and algebra; shape, space and measures, and handling data. Attainment target

More information

PURSUITS IN MATHEMATICS often produce elementary functions as solutions that need to be

PURSUITS IN MATHEMATICS often produce elementary functions as solutions that need to be Fast Approximation of the Tangent, Hyperbolic Tangent, Exponential and Logarithmic Functions 2007 Ron Doerfler http://www.myreckonings.com June 27, 2007 Abstract There are some of us who enjoy using our

More information

sin(x) < x sin(x) x < tan(x) sin(x) x cos(x) 1 < sin(x) sin(x) 1 < 1 cos(x) 1 cos(x) = 1 cos2 (x) 1 + cos(x) = sin2 (x) 1 < x 2

sin(x) < x sin(x) x < tan(x) sin(x) x cos(x) 1 < sin(x) sin(x) 1 < 1 cos(x) 1 cos(x) = 1 cos2 (x) 1 + cos(x) = sin2 (x) 1 < x 2 . Problem Show that using an ɛ δ proof. sin() lim = 0 Solution: One can see that the following inequalities are true for values close to zero, both positive and negative. This in turn implies that On the

More information

Student Performance Q&A:

Student Performance Q&A: Student Performance Q&A: 2008 AP Calculus AB and Calculus BC Free-Response Questions The following comments on the 2008 free-response questions for AP Calculus AB and Calculus BC were written by the Chief

More information

9.2 Summation Notation

9.2 Summation Notation 9. Summation Notation 66 9. Summation Notation In the previous section, we introduced sequences and now we shall present notation and theorems concerning the sum of terms of a sequence. We begin with a

More information

Representation of functions as power series

Representation of functions as power series Representation of functions as power series Dr. Philippe B. Laval Kennesaw State University November 9, 008 Abstract This document is a summary of the theory and techniques used to represent functions

More information

a cos x + b sin x = R cos(x α)

a cos x + b sin x = R cos(x α) a cos x + b sin x = R cos(x α) In this unit we explore how the sum of two trigonometric functions, e.g. cos x + 4 sin x, can be expressed as a single trigonometric function. Having the ability to do this

More information

3.2 Measures of Spread

3.2 Measures of Spread 3.2 Measures of Spread In some data sets the observations are close together, while in others they are more spread out. In addition to measures of the center, it's often important to measure the spread

More information

Zeros of Polynomial Functions

Zeros of Polynomial Functions Zeros of Polynomial Functions The Rational Zero Theorem If f (x) = a n x n + a n-1 x n-1 + + a 1 x + a 0 has integer coefficients and p/q (where p/q is reduced) is a rational zero, then p is a factor of

More information

G.A. Pavliotis. Department of Mathematics. Imperial College London

G.A. Pavliotis. Department of Mathematics. Imperial College London EE1 MATHEMATICS NUMERICAL METHODS G.A. Pavliotis Department of Mathematics Imperial College London 1. Numerical solution of nonlinear equations (iterative processes). 2. Numerical evaluation of integrals.

More information

7.6 Approximation Errors and Simpson's Rule

7.6 Approximation Errors and Simpson's Rule WileyPLUS: Home Help Contact us Logout Hughes-Hallett, Calculus: Single and Multivariable, 4/e Calculus I, II, and Vector Calculus Reading content Integration 7.1. Integration by Substitution 7.2. Integration

More information

Continued Fractions and the Euclidean Algorithm

Continued Fractions and the Euclidean Algorithm Continued Fractions and the Euclidean Algorithm Lecture notes prepared for MATH 326, Spring 997 Department of Mathematics and Statistics University at Albany William F Hammond Table of Contents Introduction

More information

1.7 Graphs of Functions

1.7 Graphs of Functions 64 Relations and Functions 1.7 Graphs of Functions In Section 1.4 we defined a function as a special type of relation; one in which each x-coordinate was matched with only one y-coordinate. We spent most

More information

Properties of Real Numbers

Properties of Real Numbers 16 Chapter P Prerequisites P.2 Properties of Real Numbers What you should learn: Identify and use the basic properties of real numbers Develop and use additional properties of real numbers Why you should

More information

6 3 The Standard Normal Distribution

6 3 The Standard Normal Distribution 290 Chapter 6 The Normal Distribution Figure 6 5 Areas Under a Normal Distribution Curve 34.13% 34.13% 2.28% 13.59% 13.59% 2.28% 3 2 1 + 1 + 2 + 3 About 68% About 95% About 99.7% 6 3 The Distribution Since

More information

General Framework for an Iterative Solution of Ax b. Jacobi s Method

General Framework for an Iterative Solution of Ax b. Jacobi s Method 2.6 Iterative Solutions of Linear Systems 143 2.6 Iterative Solutions of Linear Systems Consistent linear systems in real life are solved in one of two ways: by direct calculation (using a matrix factorization,

More information

Differentiation and Integration

Differentiation and Integration This material is a supplement to Appendix G of Stewart. You should read the appendix, except the last section on complex exponentials, before this material. Differentiation and Integration Suppose we have

More information

Roots of Equations (Chapters 5 and 6)

Roots of Equations (Chapters 5 and 6) Roots of Equations (Chapters 5 and 6) Problem: given f() = 0, find. In general, f() can be any function. For some forms of f(), analytical solutions are available. However, for other functions, we have

More information

Revised Version of Chapter 23. We learned long ago how to solve linear congruences. ax c (mod m)

Revised Version of Chapter 23. We learned long ago how to solve linear congruences. ax c (mod m) Chapter 23 Squares Modulo p Revised Version of Chapter 23 We learned long ago how to solve linear congruences ax c (mod m) (see Chapter 8). It s now time to take the plunge and move on to quadratic equations.

More information

2.3. Finding polynomial functions. An Introduction:

2.3. Finding polynomial functions. An Introduction: 2.3. Finding polynomial functions. An Introduction: As is usually the case when learning a new concept in mathematics, the new concept is the reverse of the previous one. Remember how you first learned

More information

Trigonometric Functions and Triangles

Trigonometric Functions and Triangles Trigonometric Functions and Triangles Dr. Philippe B. Laval Kennesaw STate University August 27, 2010 Abstract This handout defines the trigonometric function of angles and discusses the relationship between

More information

Activity 1: Using base ten blocks to model operations on decimals

Activity 1: Using base ten blocks to model operations on decimals Rational Numbers 9: Decimal Form of Rational Numbers Objectives To use base ten blocks to model operations on decimal numbers To review the algorithms for addition, subtraction, multiplication and division

More information

APPLICATIONS AND MODELING WITH QUADRATIC EQUATIONS

APPLICATIONS AND MODELING WITH QUADRATIC EQUATIONS APPLICATIONS AND MODELING WITH QUADRATIC EQUATIONS Now that we are starting to feel comfortable with the factoring process, the question becomes what do we use factoring to do? There are a variety of classic

More information

1 TRIGONOMETRY. 1.0 Introduction. 1.1 Sum and product formulae. Objectives

1 TRIGONOMETRY. 1.0 Introduction. 1.1 Sum and product formulae. Objectives TRIGONOMETRY Chapter Trigonometry Objectives After studying this chapter you should be able to handle with confidence a wide range of trigonometric identities; be able to express linear combinations of

More information

JUST THE MATHS UNIT NUMBER 1.8. ALGEBRA 8 (Polynomials) A.J.Hobson

JUST THE MATHS UNIT NUMBER 1.8. ALGEBRA 8 (Polynomials) A.J.Hobson JUST THE MATHS UNIT NUMBER 1.8 ALGEBRA 8 (Polynomials) by A.J.Hobson 1.8.1 The factor theorem 1.8.2 Application to quadratic and cubic expressions 1.8.3 Cubic equations 1.8.4 Long division of polynomials

More information

CHAPTER 1. Compound Interest

CHAPTER 1. Compound Interest CHAPTER 1 Compound Interest 1. Compound Interest The simplest example of interest is a loan agreement two children might make: I will lend you a dollar, but every day you keep it, you owe me one more penny.

More information

Implicit Differentiation

Implicit Differentiation Implicit Differentiation Sometimes functions are given not in the form y = f(x) but in a more complicated form in which it is difficult or impossible to express y explicitly in terms of x. Such functions

More information

CS321. Introduction to Numerical Methods

CS321. Introduction to Numerical Methods CS3 Introduction to Numerical Methods Lecture Number Representations and Errors Professor Jun Zhang Department of Computer Science University of Kentucky Lexington, KY 40506-0633 August 7, 05 Number in

More information

TOPIC 4: DERIVATIVES

TOPIC 4: DERIVATIVES TOPIC 4: DERIVATIVES 1. The derivative of a function. Differentiation rules 1.1. The slope of a curve. The slope of a curve at a point P is a measure of the steepness of the curve. If Q is a point on the

More information

Sequences. A sequence is a list of numbers, or a pattern, which obeys a rule.

Sequences. A sequence is a list of numbers, or a pattern, which obeys a rule. Sequences A sequence is a list of numbers, or a pattern, which obeys a rule. Each number in a sequence is called a term. ie the fourth term of the sequence 2, 4, 6, 8, 10, 12... is 8, because it is the

More information

1 if 1 x 0 1 if 0 x 1

1 if 1 x 0 1 if 0 x 1 Chapter 3 Continuity In this chapter we begin by defining the fundamental notion of continuity for real valued functions of a single real variable. When trying to decide whether a given function is or

More information

Basic numerical skills: EQUATIONS AND HOW TO SOLVE THEM. x + 5 = 7 2 + 5-2 = 7-2 5 + (2-2) = 7-2 5 = 5. x + 5-5 = 7-5. x + 0 = 20.

Basic numerical skills: EQUATIONS AND HOW TO SOLVE THEM. x + 5 = 7 2 + 5-2 = 7-2 5 + (2-2) = 7-2 5 = 5. x + 5-5 = 7-5. x + 0 = 20. Basic numerical skills: EQUATIONS AND HOW TO SOLVE THEM 1. Introduction (really easy) An equation represents the equivalence between two quantities. The two sides of the equation are in balance, and solving

More information

26 Integers: Multiplication, Division, and Order

26 Integers: Multiplication, Division, and Order 26 Integers: Multiplication, Division, and Order Integer multiplication and division are extensions of whole number multiplication and division. In multiplying and dividing integers, the one new issue

More information

Introduction to Complex Fourier Series

Introduction to Complex Fourier Series Introduction to Complex Fourier Series Nathan Pflueger 1 December 2014 Fourier series come in two flavors. What we have studied so far are called real Fourier series: these decompose a given periodic function

More information

Indiana State Core Curriculum Standards updated 2009 Algebra I

Indiana State Core Curriculum Standards updated 2009 Algebra I Indiana State Core Curriculum Standards updated 2009 Algebra I Strand Description Boardworks High School Algebra presentations Operations With Real Numbers Linear Equations and A1.1 Students simplify and

More information

Probability and Statistics Prof. Dr. Somesh Kumar Department of Mathematics Indian Institute of Technology, Kharagpur

Probability and Statistics Prof. Dr. Somesh Kumar Department of Mathematics Indian Institute of Technology, Kharagpur Probability and Statistics Prof. Dr. Somesh Kumar Department of Mathematics Indian Institute of Technology, Kharagpur Module No. #01 Lecture No. #15 Special Distributions-VI Today, I am going to introduce

More information

Note on growth and growth accounting

Note on growth and growth accounting CHAPTER 0 Note on growth and growth accounting 1. Growth and the growth rate In this section aspects of the mathematical concept of the rate of growth used in growth models and in the empirical analysis

More information

MATRIX ALGEBRA AND SYSTEMS OF EQUATIONS. + + x 2. x n. a 11 a 12 a 1n b 1 a 21 a 22 a 2n b 2 a 31 a 32 a 3n b 3. a m1 a m2 a mn b m

MATRIX ALGEBRA AND SYSTEMS OF EQUATIONS. + + x 2. x n. a 11 a 12 a 1n b 1 a 21 a 22 a 2n b 2 a 31 a 32 a 3n b 3. a m1 a m2 a mn b m MATRIX ALGEBRA AND SYSTEMS OF EQUATIONS 1. SYSTEMS OF EQUATIONS AND MATRICES 1.1. Representation of a linear system. The general system of m equations in n unknowns can be written a 11 x 1 + a 12 x 2 +

More information

AP CALCULUS BC 2008 SCORING GUIDELINES

AP CALCULUS BC 2008 SCORING GUIDELINES AP CALCULUS BC 008 SCORING GUIDELINES Question 6 dy y Consider the logistic differential equation = ( 6 y). Let y = f() t be the particular solution to the 8 differential equation with f ( 0) = 8. (a)

More information

AP Physics 1 and 2 Lab Investigations

AP Physics 1 and 2 Lab Investigations AP Physics 1 and 2 Lab Investigations Student Guide to Data Analysis New York, NY. College Board, Advanced Placement, Advanced Placement Program, AP, AP Central, and the acorn logo are registered trademarks

More information

3.3 Real Zeros of Polynomials

3.3 Real Zeros of Polynomials 3.3 Real Zeros of Polynomials 69 3.3 Real Zeros of Polynomials In Section 3., we found that we can use synthetic division to determine if a given real number is a zero of a polynomial function. This section

More information

PYTHAGOREAN TRIPLES KEITH CONRAD

PYTHAGOREAN TRIPLES KEITH CONRAD PYTHAGOREAN TRIPLES KEITH CONRAD 1. Introduction A Pythagorean triple is a triple of positive integers (a, b, c) where a + b = c. Examples include (3, 4, 5), (5, 1, 13), and (8, 15, 17). Below is an ancient

More information

Numerical Analysis Lecture Notes

Numerical Analysis Lecture Notes Numerical Analysis Lecture Notes Peter J. Olver. Finite Difference Methods for Partial Differential Equations As you are well aware, most differential equations are much too complicated to be solved by

More information

Math Circle Beginners Group October 18, 2015

Math Circle Beginners Group October 18, 2015 Math Circle Beginners Group October 18, 2015 Warm-up problem 1. Let n be a (positive) integer. Prove that if n 2 is odd, then n is also odd. (Hint: Use a proof by contradiction.) Suppose that n 2 is odd

More information

8 Square matrices continued: Determinants

8 Square matrices continued: Determinants 8 Square matrices continued: Determinants 8. Introduction Determinants give us important information about square matrices, and, as we ll soon see, are essential for the computation of eigenvalues. You

More information

Using a table of derivatives

Using a table of derivatives Using a table of derivatives In this unit we construct a Table of Derivatives of commonly occurring functions. This is done using the knowledge gained in previous units on differentiation from first principles.

More information

Solution of Linear Systems

Solution of Linear Systems Chapter 3 Solution of Linear Systems In this chapter we study algorithms for possibly the most commonly occurring problem in scientific computing, the solution of linear systems of equations. We start

More information

Sequences and Series

Sequences and Series Sequences and Series Consider the following sum: 2 + 4 + 8 + 6 + + 2 i + The dots at the end indicate that the sum goes on forever. Does this make sense? Can we assign a numerical value to an infinite

More information

Section 1.5 Linear Models

Section 1.5 Linear Models Section 1.5 Linear Models Some real-life problems can be modeled using linear equations. Now that we know how to find the slope of a line, the equation of a line, and the point of intersection of two lines,

More information

Does Black-Scholes framework for Option Pricing use Constant Volatilities and Interest Rates? New Solution for a New Problem

Does Black-Scholes framework for Option Pricing use Constant Volatilities and Interest Rates? New Solution for a New Problem Does Black-Scholes framework for Option Pricing use Constant Volatilities and Interest Rates? New Solution for a New Problem Gagan Deep Singh Assistant Vice President Genpact Smart Decision Services Financial

More information

Section V.3: Dot Product

Section V.3: Dot Product Section V.3: Dot Product Introduction So far we have looked at operations on a single vector. There are a number of ways to combine two vectors. Vector addition and subtraction will not be covered here,

More information

Approximating functions by Taylor Polynomials.

Approximating functions by Taylor Polynomials. Chapter 4 Approximating functions by Taylor Polynomials. 4.1 Linear Approximations We have already seen how to approximate a function using its tangent line. This was the key idea in Euler s method. If

More information

Scalar Valued Functions of Several Variables; the Gradient Vector

Scalar Valued Functions of Several Variables; the Gradient Vector Scalar Valued Functions of Several Variables; the Gradient Vector Scalar Valued Functions vector valued function of n variables: Let us consider a scalar (i.e., numerical, rather than y = φ(x = φ(x 1,

More information

9.10 calculus 09 10 blank.notebook February 26, 2010

9.10 calculus 09 10 blank.notebook February 26, 2010 Thm. Short form: A power series representing a function is its Taylor series. 1 From the previous section, Find some terms using the theorem. 2 Know this and the Maclaurin series for sin, cos, and e x.

More information

Understanding Basic Calculus

Understanding Basic Calculus Understanding Basic Calculus S.K. Chung Dedicated to all the people who have helped me in my life. i Preface This book is a revised and expanded version of the lecture notes for Basic Calculus and other

More information

FIRST YEAR CALCULUS. Chapter 7 CONTINUITY. It is a parabola, and we can draw this parabola without lifting our pencil from the paper.

FIRST YEAR CALCULUS. Chapter 7 CONTINUITY. It is a parabola, and we can draw this parabola without lifting our pencil from the paper. FIRST YEAR CALCULUS WWLCHENW L c WWWL W L Chen, 1982, 2008. 2006. This chapter originates from material used by the author at Imperial College, University of London, between 1981 and 1990. It It is is

More information

MATRIX ALGEBRA AND SYSTEMS OF EQUATIONS

MATRIX ALGEBRA AND SYSTEMS OF EQUATIONS MATRIX ALGEBRA AND SYSTEMS OF EQUATIONS Systems of Equations and Matrices Representation of a linear system The general system of m equations in n unknowns can be written a x + a 2 x 2 + + a n x n b a

More information

Section 3.7. Rolle s Theorem and the Mean Value Theorem. Difference Equations to Differential Equations

Section 3.7. Rolle s Theorem and the Mean Value Theorem. Difference Equations to Differential Equations Difference Equations to Differential Equations Section.7 Rolle s Theorem and the Mean Value Theorem The two theorems which are at the heart of this section draw connections between the instantaneous rate

More information

Unit 18 Determinants

Unit 18 Determinants Unit 18 Determinants Every square matrix has a number associated with it, called its determinant. In this section, we determine how to calculate this number, and also look at some of the properties of

More information

Matrices 2. Solving Square Systems of Linear Equations; Inverse Matrices

Matrices 2. Solving Square Systems of Linear Equations; Inverse Matrices Matrices 2. Solving Square Systems of Linear Equations; Inverse Matrices Solving square systems of linear equations; inverse matrices. Linear algebra is essentially about solving systems of linear equations,

More information

www.mathsbox.org.uk ab = c a If the coefficients a,b and c are real then either α and β are real or α and β are complex conjugates

www.mathsbox.org.uk ab = c a If the coefficients a,b and c are real then either α and β are real or α and β are complex conjugates Further Pure Summary Notes. Roots of Quadratic Equations For a quadratic equation ax + bx + c = 0 with roots α and β Sum of the roots Product of roots a + b = b a ab = c a If the coefficients a,b and c

More information

Høgskolen i Narvik Sivilingeniørutdanningen STE6237 ELEMENTMETODER. Oppgaver

Høgskolen i Narvik Sivilingeniørutdanningen STE6237 ELEMENTMETODER. Oppgaver Høgskolen i Narvik Sivilingeniørutdanningen STE637 ELEMENTMETODER Oppgaver Klasse: 4.ID, 4.IT Ekstern Professor: Gregory A. Chechkin e-mail: chechkin@mech.math.msu.su Narvik 6 PART I Task. Consider two-point

More information

x a x 2 (1 + x 2 ) n.

x a x 2 (1 + x 2 ) n. Limits and continuity Suppose that we have a function f : R R. Let a R. We say that f(x) tends to the limit l as x tends to a; lim f(x) = l ; x a if, given any real number ɛ > 0, there exists a real number

More information

Equations Involving Lines and Planes Standard equations for lines in space

Equations Involving Lines and Planes Standard equations for lines in space Equations Involving Lines and Planes In this section we will collect various important formulas regarding equations of lines and planes in three dimensional space Reminder regarding notation: any quantity

More information

6. Define log(z) so that π < I log(z) π. Discuss the identities e log(z) = z and log(e w ) = w.

6. Define log(z) so that π < I log(z) π. Discuss the identities e log(z) = z and log(e w ) = w. hapter omplex integration. omplex number quiz. Simplify 3+4i. 2. Simplify 3+4i. 3. Find the cube roots of. 4. Here are some identities for complex conjugate. Which ones need correction? z + w = z + w,

More information

WORK SCHEDULE: MATHEMATICS 2007

WORK SCHEDULE: MATHEMATICS 2007 , K WORK SCHEDULE: MATHEMATICS 00 GRADE MODULE TERM... LO NUMBERS, OPERATIONS AND RELATIONSHIPS able to recognise, represent numbers and their relationships, and to count, estimate, calculate and check

More information

Example 1: Suppose the demand function is p = 50 2q, and the supply function is p = 10 + 3q. a) Find the equilibrium point b) Sketch a graph

Example 1: Suppose the demand function is p = 50 2q, and the supply function is p = 10 + 3q. a) Find the equilibrium point b) Sketch a graph The Effect of Taxes on Equilibrium Example 1: Suppose the demand function is p = 50 2q, and the supply function is p = 10 + 3q. a) Find the equilibrium point b) Sketch a graph Solution to part a: Set the

More information

MATH 132: CALCULUS II SYLLABUS

MATH 132: CALCULUS II SYLLABUS MATH 32: CALCULUS II SYLLABUS Prerequisites: Successful completion of Math 3 (or its equivalent elsewhere). Math 27 is normally not a sufficient prerequisite for Math 32. Required Text: Calculus: Early

More information