Numerical Differentiation
|
|
- Winifred Watson
- 5 years ago
- Views:
Transcription
1 Numerical Differentiation Finite Difference Formulas for te first derivative (Using Taylor Expansion tecnique) (section 8.3.) Suppose tat f() = g() is a function of te variable, and tat as 0 te function g() remains bounded. Tis means tat tere exists some M suc tat g() M wen 0. Equivalently, we ave f() M as 0, equivalently f() M as 0. By taking to te oter side, we ave f() M as 0. By tis means tat f() = O(). Similarly, if f() = g() 2, were g remains bounded as 0, ten we ave f() = O( 2 ), and so on. Let f be any function defined on a vicinity of te fixed x, and let > 0 representing a positive number close to zero (we are going to let 0 later on). Using te Taylor expansion of te function f about te base point x, we ave f(x + ) = f(x) + f (x) + 2 2! f (x) + 3 3! f (x) + Move f(x) to te left-and side: f(x + ) f(x) = f (x) + 2 2! f (x) + 3 3! f (x) + Divide by : f(x+) f(x) = f (x) + 2! f () + 2 3! f (x) + { } = f (x) + 2! f (x) + 2 3! f (x) + Te expression inside te braces tends to 2 f (x) as 0, terefore remains bounded as 0. So we can simply write te above equality as: f(x + ) f(x) = f (x) + O()
2 By moving O() to te oter side we get f (x) = f(x + ) f(x) O() But multiplying an O() by some constant does not affect te status of O(), terefore O() is also is an O(), terefore tis last equality can be written as f (x) = f(x + ) f(x) + O() () in oter words: f (x) f(x+) f(x) wit truncation error of order O() (2) Te expression f(x+) f(x) derivative. Te difference f (x) f(x+) f(x) is called a two-point forward difference formula for te first wic te truncation error is of order O(). So in te forward difference formula te truncation error is of order O(). We will see later on ow to find approximations for f (x) in wic te truncation error is of iger order of accuracy. Example. Te following data set of a values of a function f is given: x f(x) Wat is te forward difference approximation for f (4)? Solution. f (4) f(5) f(4) 5 4 = = 6 Now in te equation () let us cange to to get: f (x) = f(x ) f(x) + O( ) 2
3 But we ave O( ) = O(), terefore we may rewrite tis above equality as: f f(x ) f(x) (x) = + O() equivalently f (x) = f(x) f(x ) + O() (3) Te approximation f (x) f(x) f(x ) is called te two-point backward difference formula for te first derivative Example. Te following data set of a values of a function f is given: x f(x) Wat is te backward difference approximation for f (4)? Solution. f (4) f(4) f(3) 4 3 = = 37 Here we want to find a central difference formula. Let us start wit te expansion f(x + ) = f(x) + f (x) + 2 2! f (x) + 3 3! f (x) + (4) In tis equality, replace to f(x ) = f(x) f (x) + ( )2 2! Equivalently: f (x) + ( )3 f (x) + 3! f(x ) = f(x) f (x) + 2 2! f (x) 3 3! f (x) + (5) 3
4 By subtracting (5) from (4) we get: f(x + ) f(x ) = f (x) f (x) + Upon dividing by : f(x + ) f(x ) = f (x) f (x) + So: f(x + ) f(x ) = f (x) + O( 2 ) Equivalently: f (x) = f(x + ) f(x ) + O( 2 ) So: f (x) f(x+) f(x ) truncation error being of order of O( 2 ) Tis is called te two-point central difference formula for te first derivative. Note tat te denominator is just te difference between te endpoints x + and x. Tis approximating formula is better tan te forward difference and te backward difference because te truncation error is smaller for small s. Example. Te following data set of a values of a function f is given: x f(x) Wat is te central difference approximation for f (4)? Solution. Here eac step is unit, terefore = 2. Hence: 4
5 f f(5) f(3) (4) = = We can create forward difference formula of order O( 2 ). For tis, let us start wit te expansions: f(x + ) = f(x) + f (x) + 2 2! f (x) + 3 3! f (x) + (6) In tis equality replace by : f(x + ) = f(x) + f (x) + ()2 2! Equivalently f (x) + ()3 f (x) + 3! f(x + ) = f(x) + f (x) ! f (x) ! f (x) + (7) By multiplying te identity (6) by 4 it becomes: 4f(x + ) = 4f(x) + 4f (x) ! f (x) ! f (x) + (6 ) Subtracting te identity (6 ) from te identity (7) gets rid of te term 2 : f(x + ) 4f(x + ) = 3f(x) f (x) ! f (x) + wic can be written as : f(x + ) 4f(x + ) = 3f(x) f (x) + O( 3 ) By moving 3f(x) to te left-and side we get: f(x + ) 4f(x + ) + 3f(x) = f (x) + O( 3 ) Multiply bot sides by and reorder terms to get: 5
6 3f(x) + 4f(x + ) f(x + ) = f (x) + O( 3 ) Dividing bot sides by gives us: 3f(x) + 4f(x + ) f(x + ) = f (x) + O( 2 ) By taking O( 2 ) to te oter side and ignoring a minus sign (wic does not affect te O-notation): f (x) = 3f(x) + 4f(x + ) f(x + ) + O( 2 ) f (x) 3f(x)+4f(x+) f(x+) truncation error being O( 2 ) Tis is called a tree-point forward difference formula for te first derivative. Example. Te following data set of a values of a function f is given: x f(x) Wat is te tree-point forward difference approximation for f (.7)? Solution. Here eac step is 0.5 units, terefore =. Hence: f (3) = 3f(.7) + 4f(2.2) f(2.7) = 3(27) + 4(64) (25) = 50 Example (exercise 8.8 of te textbook). A particular finite difference formula for te first derivative of a function is were te points x i f (x i ) f(x i+3) + 9f(x i+ ) 8f(x i ) 6, x i+, x i+2, x i+3 are all equally spaced wit step size. Wat is te order of truncation or discretization error. 6
7 Note. I am going to give you a question like tis in your next omework and in your midterm test, so learn tis carefully. Solution. Since te points are equally spaced, we set x i = x x i+ = x + x i+3 = x + 3 Wit tese conventions, we ten want to find te order of truncation error for estimating f (x) by f(x + 3) + 9f(x + ) 8f(x) 6 For tis, we use te unterminated form of te Taylor expansion: f(x + ) = f(x) + f (x) + 2 2! f (x) + 3 3! f (x) + Simplify to get: f(x + ) = f(x) + f (x) f (x) f (x) + () Cange to 3 in () to get: f(x + 3) = f(x) + 3f (x) + (3)2 f (x) + (3)3 f (x) Simplify: f(x + 3) = f(x) + 3f (x) f (x) f (x) + (2) Multiply te equality () by 9 and te equality (2) by - : 9f(x + ) = 9f(x) + 9f (x) f (x) f (x) + f(x + 3) = f(x) 3f (x) 92 2 f (x) 93 2 f (x) + 7
8 Now add te two equalities to get: f(x + 3) + 9f(x + ) = 8f(x) + 6f (x) f (x) + Move 8f(x) to te left-and side: f(x + 3) + 9f(x + ) 8f(x) = 6f (x) f (x) + Now divide by 6 f(x + 3) + 9f(x + ) 8f(x) 6 f(x + 3) + 9f(x + ) 8f(x) 6 = f (x) f (x) + = f (x) + O( 2 ) So f (x) f(x+3)+9f(x+) 8f(x) 6 wit truncation error of order O( 2 ) Here I sowed on te screen and discussed te First Derivative table on pages 37 and 38 8
9 2 Finite Difference Formulas for te second derivative (Using Taylor Expansion tecnique) (section 8.3.2) f(x + ) = f(x) + f (x) + 2 2! f (x) + 3 3! f (x) + 4 4! f (4) (x) + f(x ) = f(x) f (x) + ( )2 2! f (x) + ( )3 3! f (x) + ( )4 4! f (4) (x) + Add togeter: = f(x) f (x) + 2 2! f (x) 3 3! f (x) + 4 4! f (4) (x) + f(x + ) + f(x ) = 2f(x) + 2 f (x) f (4) (x) + Move 2f(x) to te left-and side: f(x + ) + f(x ) 2f(x) = 2 f (x) f (4) (x) + Divide by 2 f(x+)+f(x ) 2f(x) 2 = f (x) f (4) (x) + = f (x) + 2 { 2 f (4) (x) + } So: = f (x) + O( 2 ) f (x) f(x ) 2f(x)+f(x+) 2 wit truncation error of order O( 2 ) Tis is called a tree-point central difference formula for te second derivative. Here I sowed on te screen and discussed te Second Derivative and te Tird Derivative tables on page 37 9
10 0
11 3 Ricardson s Extrapolation (section 8.8) Consider a procedure to approximate a value A wit some value D() tat depends on. For example we ad f(x + ) = f(x) + f (x) + 2 2! f (x) + 3 3! f (x) + 4 4! f (4) (x) + 5 5! f (5) (x) + Cange to f(x ) = f(x) f (x) + 2 2! f (x) 3 3! f (x) + 4 4! f (4) (x) 5 5! f (5) (x) + Subtract: f(x + ) f(x ) = f (x) + 3 3! f (x) + 5 5! f (5) (x) + Divide by : f(x + ) f(x ) = f (x) + 2 3! f (x) + 4 5! f (5) (x) + Move around : f (x) = f(x+) f(x ) A D() in sort we can write: 2 3! f (x) 4 5! f (5) (x) A = D() + γ 2 + γ () in wic te coefficients γ and γ 2,... do not depend on and terefore do not cange wen we replace.
12 Now let us cange to 2 : A = D( 2 ) + γ ( ) 2 ( ) 4 + γ equivalently : A = D( 2 ) + γ multiply by 4 : γ A = 4D( 2 ) + γ 2 + γ (2) so in tis discussion we ave ad tese two: A = D() + γ 2 + γ () 4A = 4D( 2 ) + γ 2 + γ (2) subtract () from (2) : 3A = {4D( 2 ) D() } 3 4 γ divide by 3 : A = 3 {4D( 2 ) D() } 4 γ so now we ave found an approximation for A wose error is of a better order of O( 4 ) A 3 { 4D( 2 ) D()} wit truncation error of order O( 4 ) Tis tecnique of improving te approximation is called Ricardson extrapolation. We will use it in numerical integration as well. In te particular case of D() = f(x+) f(x ) we get: 2
13 D( 2 ) = f(x + 2 ) f(x 2 ) 2( 2 ) = f(x + 2 ) f(x 2 ) so ten : {4 D( 2 } 3 ) D() = 3 } 4 {f(x + 2 ) f(x 2 ) f(x + ) f(x ) so : = 8f(x + 2 ) 8f(x 2 ) f(x + ) + f(x ) 6 A f(x ) 8f(x 2 ) + 8f(x + 2 ) f(x + ) + O( 4 ) 6 Example. Te derivative of te function f(x) = x + + ln(x2 + ) is f (x) = ( + x) 2 + 2x x 2 + wose value at x = 0 is -. We want to approximate tis value using te following metods, one is te original metod and te second one is te improved metod. Metod : f(x + ) f(x ) of order O( 2 ) Metod 2 : f(x ) 8f(x 2 ) + 8f(x + 2 ) f(x + ) 6 of order O( 4 ). We start wit = 0.5 and ten using a wile loop you reduce in eac step by We continue until is larger tan or equal to
14 metod metod 2 error of metod error of metod As we see, in te improved metod we get smaller errors for small s. Now we discuss te general form of te Ricarson s extrapolation metod. Generally if we ave an approximation metod of order O( m ) A = D() + γ m + O ( m+) (3) 4
15 ten by canging to 2 : A = D( 2 ) + γ ( 2 )m + O (( 2 ) )m+ equivalently A = D( 2 ) + γ m ( ) 2 m + O m+ 2m+ equivalently A = D( 2 ) + γ m 2 m + O ( m+) te O notation is not affected by constants multiply by 2 m 2 m A = 2 m D( 2 ) + γ m + 2 m O ( m+) equivalently 2 m A = 2 m D( 2 )+γ m + O ( m+) te O notation is not affected by constants (4) So we ave tese two: A = D() + γ m + O ( m+ ) (3) 2 m A = 2 m D( 2 ) + γ m + O ( m+ ) (4) Subtracting (3) from (4) gives: (2 m )A = (2 m D( 2 ) D() ) + O ( m+) Dividing by 2 m gives: A = (2 m 2 m D( 2 ) ) D() + O ( m+) 5
16 So te combination (2 m 2 m D( 2 ) ) D() gives a better approximation tan D(). Example. Te metod f(x) f(x 4 ) 4 as truncation order O( 4 ). Use te Ricardson extrapolation metod to improve it. Wat is te improved metod?. Solution. 6
17 4 Differentiation Formulas Using Lagrange Polynomials (section 8.5) Tere are two main questions tat we want to address in tis section. Question. We want to know ow te book as figured out ow to take particular combination in getting te numerical differentiation formulas in te Table 8- on pages 37, 38, and 39. Question 2. How can we find a formula wen te nodes are not equally spaced. Bot of tese questions can be answered by means of Lagrange metod for numerical differentiation. Supposing we ave four unequally-spaced nodes {2, 4, 5, 7} and we want to find a numerical approximation for te derivatives f (0) and f (.2) based on tese nodes (a forward difference approximation) and te values of f at tese nodes, for instance x f(x) x k f[ ] = f() f[, ] f[,, ] f[,,, ] ( 5) 5 4 = 5 = 35 0 ( 40) 7 5 = ( 5) 5 2 = 0 25 ( 35) 7 4 = ( 0) 7 2 = 6 and ten p(x) = 5 5(x 2) 0(x 2)(x 4) + 6(x 2)(x 4)(x 5) 7
18 Use te function expand() in Matlab to collect terms p(x) = 6x 3 76x x 305 For tis, you put tese two line on te command line: >> syms x; >> expand(5 5 (x 2) 0 (x 2) (x 4) + 6 (x 2) (x 4) (x 5)) Now differentiate tis polynomial twice. p (x) = 8x 2 52x p (x) = 36x 52 Now we can use p (x) to approximate any value of f (x) and not just f (0). Tis is an advantage of te Lagrange metod over te Taylor expansion. f (0) p (0) = 52 f (.2) p (.2) = Note. Advantage of Lagrange Metod over Taylor Metod:. It can be used for unequally-spaced nodes. 2. It gives approximation for te derivative (of any order) at any point (and not just te nodes). Note 2.: If one applies te Lagrange metod for equally spaced noted, te e gets te difference formulas we ave learned before. Note 3.: Based on te Lagrange Metod, if some nodes {x,..., x n } and some values {f(x ),..., f(x n )} of a function f are given, ten to approximate f (x) at any point x (tat 8
19 could by oter tan te nodes), we fist find te interpolating polynomial p(x) associated wit tose values and ten f (x) p (x) f (x) p (x). Now ere, in te following example, is anoter way of doing te same problem but witout actually finding te interpolating polynomial p(x). Example. Find a, b, and c suc tat te approximation f (0) af(0) + bf() + cf(2) is exact for polynomials of degree less tan or equal to 2. Solution. We force te above approximation to be exact for te polynomials, x, x 2 tat generate all polynomials of degree less tan or equal to 2 troug linear combinations: af(0) + bf() + cf(2) = f (0) for f(x) =, f(x) = x, f(x) = x 2 f(x) = a + b + c = 0 () f(x) = x 0 + b + 2c = (2) f(x) = x b + 4c = 0 (3) (2) b = 2c (4) (3), (4) ( 2c) + 4c = 0 + 2c = 0 c = 2 b = 2c = + = 2 () a = b c = = 3 2 9
20 So: a = 3 2 b = 2 c = 2 f (0) 3 2 f(0) + 2f() 2 f(2) Example. Now ere we see ow to get te formula tree-point forward difference g (x) 3g(x) + 4g(x + ) g(x + ) by referring to te approximation in te last example. In fact let f(t) = g(x + t) and note tat from te cain rule we ave f (t) = g (x + t). Especially f (0) = g (x). Ten f (0) 3 2 f(0) + 2f() 2 f(2) g (x) = 3 2 g(x) + 2g(x + ) divide g(x + ) 2 by g (x) 3g(x) + 4g(x + ) g(x + ) Note. As we ave seen, 20
LECTURE 14 NUMERICAL INTEGRATION. Find
LECTURE 14 NUMERCAL NTEGRATON Find b a fxdx or b a vx ux fx ydy dx Often integration is required. However te form of fx may be suc tat analytical integration would be very difficult or impossible. Use
More informationChapter 1D - Rational Expressions
- Capter 1D Capter 1D - Rational Expressions Definition of a Rational Expression A rational expression is te quotient of two polynomials. (Recall: A function px is a polynomial in x of degree n, if tere
More informationConsider a function f we ll specify which assumptions we need to make about it in a minute. Let us reformulate the integral. 1 f(x) dx.
Capter 2 Integrals as sums and derivatives as differences We now switc to te simplest metods for integrating or differentiating a function from its function samples. A careful study of Taylor expansions
More information(4.2) -Richardson Extrapolation
(.) -Ricardson Extrapolation. Small-O Notation: Recall tat te big-o notation used to define te rate of convergence in Section.: Suppose tat lim G 0 and lim F L. Te function F is said to converge to L as
More information4.2 - Richardson Extrapolation
. - Ricardson Extrapolation. Small-O Notation: Recall tat te big-o notation used to define te rate of convergence in Section.: Definition Let x n n converge to a number x. Suppose tat n n is a sequence
More informationNUMERICAL DIFFERENTIATION
NUMERICAL IFFERENTIATION FIRST ERIVATIVES Te simplest difference formulas are based on using a straigt line to interpolate te given data; tey use two data pints to estimate te derivative. We assume tat
More informationCombining functions: algebraic methods
Combining functions: algebraic metods Functions can be added, subtracted, multiplied, divided, and raised to a power, just like numbers or algebra expressions. If f(x) = x 2 and g(x) = x + 2, clearly f(x)
More informationExam 1 Review Solutions
Exam Review Solutions Please also review te old quizzes, and be sure tat you understand te omework problems. General notes: () Always give an algebraic reason for your answer (graps are not sufficient),
More informationHow to Find the Derivative of a Function: Calculus 1
Introduction How to Find te Derivative of a Function: Calculus 1 Calculus is not an easy matematics course Te fact tat you ave enrolled in suc a difficult subject indicates tat you are interested in te
More information2.3 Product and Quotient Rules
.3. PRODUCT AND QUOTIENT RULES 75.3 Product and Quotient Rules.3.1 Product rule Suppose tat f and g are two di erentiable functions. Ten ( g (x)) 0 = f 0 (x) g (x) + g 0 (x) See.3.5 on page 77 for a proof.
More information3.4 Worksheet: Proof of the Chain Rule NAME
Mat 1170 3.4 Workseet: Proof of te Cain Rule NAME Te Cain Rule So far we are able to differentiate all types of functions. For example: polynomials, rational, root, and trigonometric functions. We are
More informationSection 3.1: Derivatives of Polynomials and Exponential Functions
Section 3.1: Derivatives of Polynomials and Exponential Functions In previous sections we developed te concept of te derivative and derivative function. Te only issue wit our definition owever is tat it
More informationIntroduction to Derivatives
Introduction to Derivatives 5-Minute Review: Instantaneous Rates and Tangent Slope Recall te analogy tat we developed earlier First we saw tat te secant slope of te line troug te two points (a, f (a))
More informationThe total error in numerical differentiation
AMS 147 Computational Metods and Applications Lecture 08 Copyrigt by Hongyun Wang, UCSC Recap: Loss of accuracy due to numerical cancellation A B 3, 3 ~10 16 In calculating te difference between A and
More informationDefinition of the Derivative
Te Limit Definition of te Derivative Tis Handout will: Define te limit grapically and algebraically Discuss, in detail, specific features of te definition of te derivative Provide a general strategy of
More informationThe Laplace equation, cylindrically or spherically symmetric case
Numerisce Metoden II, 7 4, und Übungen, 7 5 Course Notes, Summer Term 7 Some material and exercises Te Laplace equation, cylindrically or sperically symmetric case Electric and gravitational potential,
More informationCopyright c 2008 Kevin Long
Lecture 4 Numerical solution of initial value problems Te metods you ve learned so far ave obtained closed-form solutions to initial value problems. A closedform solution is an explicit algebriac formula
More informationSECTION 3.2: DERIVATIVE FUNCTIONS and DIFFERENTIABILITY
(Section 3.2: Derivative Functions and Differentiability) 3.2.1 SECTION 3.2: DERIVATIVE FUNCTIONS and DIFFERENTIABILITY LEARNING OBJECTIVES Know, understand, and apply te Limit Definition of te Derivative
More information2.8 The Derivative as a Function
.8 Te Derivative as a Function Typically, we can find te derivative of a function f at many points of its domain: Definition. Suppose tat f is a function wic is differentiable at every point of an open
More informationMath 1241 Calculus Test 1
February 4, 2004 Name Te first nine problems count 6 points eac and te final seven count as marked. Tere are 120 points available on tis test. Multiple coice section. Circle te correct coice(s). You do
More informationContinuity and Differentiability Worksheet
Continuity and Differentiability Workseet (Be sure tat you can also do te grapical eercises from te tet- Tese were not included below! Typical problems are like problems -3, p. 6; -3, p. 7; 33-34, p. 7;
More informationTaylor Series and the Mean Value Theorem of Derivatives
1 - Taylor Series and te Mean Value Teorem o Derivatives Te numerical solution o engineering and scientiic problems described by matematical models oten requires solving dierential equations. Dierential
More informationLecture XVII. Abstract We introduce the concept of directional derivative of a scalar function and discuss its relation with the gradient operator.
Lecture XVII Abstract We introduce te concept of directional derivative of a scalar function and discuss its relation wit te gradient operator. Directional derivative and gradient Te directional derivative
More informationMAT 145. Type of Calculator Used TI-89 Titanium 100 points Score 100 possible points
MAT 15 Test #2 Name Solution Guide Type of Calculator Used TI-89 Titanium 100 points Score 100 possible points Use te grap of a function sown ere as you respond to questions 1 to 8. 1. lim f (x) 0 2. lim
More informationPrecalculus Test 2 Practice Questions Page 1. Note: You can expect other types of questions on the test than the ones presented here!
Precalculus Test 2 Practice Questions Page Note: You can expect oter types of questions on te test tan te ones presented ere! Questions Example. Find te vertex of te quadratic f(x) = 4x 2 x. Example 2.
More information3.1 Extreme Values of a Function
.1 Etreme Values of a Function Section.1 Notes Page 1 One application of te derivative is finding minimum and maimum values off a grap. In precalculus we were only able to do tis wit quadratics by find
More informationMTH-112 Quiz 1 Name: # :
MTH- Quiz Name: # : Please write our name in te provided space. Simplif our answers. Sow our work.. Determine weter te given relation is a function. Give te domain and range of te relation.. Does te equation
More information1 The concept of limits (p.217 p.229, p.242 p.249, p.255 p.256) 1.1 Limits Consider the function determined by the formula 3. x since at this point
MA00 Capter 6 Calculus and Basic Linear Algebra I Limits, Continuity and Differentiability Te concept of its (p.7 p.9, p.4 p.49, p.55 p.56). Limits Consider te function determined by te formula f Note
More informationThe derivative function
Roberto s Notes on Differential Calculus Capter : Definition of derivative Section Te derivative function Wat you need to know already: f is at a point on its grap and ow to compute it. Wat te derivative
More informationALGEBRA AND TRIGONOMETRY REVIEW by Dr TEBOU, FIU. A. Fundamental identities Throughout this section, a and b denotes arbitrary real numbers.
ALGEBRA AND TRIGONOMETRY REVIEW by Dr TEBOU, FIU A. Fundamental identities Trougout tis section, a and b denotes arbitrary real numbers. i) Square of a sum: (a+b) =a +ab+b ii) Square of a difference: (a-b)
More information1 1. Rationalize the denominator and fully simplify the radical expression 3 3. Solution: = 1 = 3 3 = 2
MTH - Spring 04 Exam Review (Solutions) Exam : February 5t 6:00-7:0 Tis exam review contains questions similar to tose you sould expect to see on Exam. Te questions included in tis review, owever, are
More informationLab 6 Derivatives and Mutant Bacteria
Lab 6 Derivatives and Mutant Bacteria Date: September 27, 20 Assignment Due Date: October 4, 20 Goal: In tis lab you will furter explore te concept of a derivative using R. You will use your knowledge
More informationMathematics 5 Worksheet 11 Geometry, Tangency, and the Derivative
Matematics 5 Workseet 11 Geometry, Tangency, and te Derivative Problem 1. Find te equation of a line wit slope m tat intersects te point (3, 9). Solution. Te equation for a line passing troug a point (x
More informationPolynomial Interpolation
Capter 4 Polynomial Interpolation In tis capter, we consider te important problem of approximatinga function fx, wose values at a set of distinct points x, x, x,, x n are known, by a polynomial P x suc
More information4. The slope of the line 2x 7y = 8 is (a) 2/7 (b) 7/2 (c) 2 (d) 2/7 (e) None of these.
Mat 11. Test Form N Fall 016 Name. Instructions. Te first eleven problems are wort points eac. Te last six problems are wort 5 points eac. For te last six problems, you must use relevant metods of algebra
More informationMAT 1339-S14 Class 2
MAT 1339-S14 Class 2 July 07, 2014 Contents 1 Rate of Cange 1 1.5 Introduction to Derivatives....................... 1 2 Derivatives 5 2.1 Derivative of Polynomial function.................... 5 2.2 Te
More informationMath 102 TEST CHAPTERS 3 & 4 Solutions & Comments Fall 2006
Mat 102 TEST CHAPTERS 3 & 4 Solutions & Comments Fall 2006 f(x+) f(x) 10 1. For f(x) = x 2 + 2x 5, find ))))))))) and simplify completely. NOTE: **f(x+) is NOT f(x)+! f(x+) f(x) (x+) 2 + 2(x+) 5 ( x 2
More informationName: Answer Key No calculators. Show your work! 1. (21 points) All answers should either be,, a (finite) real number, or DNE ( does not exist ).
Mat - Final Exam August 3 rd, Name: Answer Key No calculators. Sow your work!. points) All answers sould eiter be,, a finite) real number, or DNE does not exist ). a) Use te grap of te function to evaluate
More informationWe name Functions f (x) or g(x) etc.
Section 2 1B: Function Notation Bot of te equations y 2x +1 and y 3x 2 are functions. It is common to ave two or more functions in terms of x in te same problem. If I ask you wat is te value for y if x
More information5.1 We will begin this section with the definition of a rational expression. We
Basic Properties and Reducing to Lowest Terms 5.1 We will begin tis section wit te definition of a rational epression. We will ten state te two basic properties associated wit rational epressions and go
More information158 Calculus and Structures
58 Calculus and Structures CHAPTER PROPERTIES OF DERIVATIVES AND DIFFERENTIATION BY THE EASY WAY. Calculus and Structures 59 Copyrigt Capter PROPERTIES OF DERIVATIVES. INTRODUCTION In te last capter you
More informationClick here to see an animation of the derivative
Differentiation Massoud Malek Derivative Te concept of derivative is at te core of Calculus; It is a very powerful tool for understanding te beavior of matematical functions. It allows us to optimize functions,
More informationMVT and Rolle s Theorem
AP Calculus CHAPTER 4 WORKSHEET APPLICATIONS OF DIFFERENTIATION MVT and Rolle s Teorem Name Seat # Date UNLESS INDICATED, DO NOT USE YOUR CALCULATOR FOR ANY OF THESE QUESTIONS In problems 1 and, state
More information2.11 That s So Derivative
2.11 Tat s So Derivative Introduction to Differential Calculus Just as one defines instantaneous velocity in terms of average velocity, we now define te instantaneous rate of cange of a function at a point
More informationOrder of Accuracy. ũ h u Ch p, (1)
Order of Accuracy 1 Terminology We consider a numerical approximation of an exact value u. Te approximation depends on a small parameter, wic can be for instance te grid size or time step in a numerical
More information1. Consider the trigonometric function f(t) whose graph is shown below. Write down a possible formula for f(t).
. Consider te trigonometric function f(t) wose grap is sown below. Write down a possible formula for f(t). Tis function appears to be an odd, periodic function tat as been sifted upwards, so we will use
More informationLogarithmic functions
Roberto s Notes on Differential Calculus Capter 5: Derivatives of transcendental functions Section Derivatives of Logaritmic functions Wat ou need to know alread: Definition of derivative and all basic
More informationMath 1210 Midterm 1 January 31st, 2014
Mat 110 Midterm 1 January 1st, 01 Tis exam consists of sections, A and B. Section A is conceptual, wereas section B is more computational. Te value of every question is indicated at te beginning of it.
More informationLesson 6: The Derivative
Lesson 6: Te Derivative Def. A difference quotient for a function as te form f(x + ) f(x) (x + ) x f(x + x) f(x) (x + x) x f(a + ) f(a) (a + ) a Notice tat a difference quotient always as te form of cange
More informationAverage Rate of Change
Te Derivative Tis can be tougt of as an attempt to draw a parallel (pysically and metaporically) between a line and a curve, applying te concept of slope to someting tat isn't actually straigt. Te slope
More information1 Calculus. 1.1 Gradients and the Derivative. Q f(x+h) f(x)
Calculus. Gradients and te Derivative Q f(x+) δy P T δx R f(x) 0 x x+ Let P (x, f(x)) and Q(x+, f(x+)) denote two points on te curve of te function y = f(x) and let R denote te point of intersection of
More informationNumerical Analysis MTH603. dy dt = = (0) , y n+1. We obtain yn. Therefore. and. Copyright Virtual University of Pakistan 1
Numerical Analysis MTH60 PREDICTOR CORRECTOR METHOD Te metods presented so far are called single-step metods, were we ave seen tat te computation of y at t n+ tat is y n+ requires te knowledge of y n only.
More information, meant to remind us of the definition of f (x) as the limit of difference quotients: = lim
Mat 132 Differentiation Formulas Stewart 2.3 So far, we ave seen ow various real-world problems rate of cange and geometric problems tangent lines lead to derivatives. In tis section, we will see ow to
More informationPractice Problem Solutions: Exam 1
Practice Problem Solutions: Exam 1 1. (a) Algebraic Solution: Te largest term in te numerator is 3x 2, wile te largest term in te denominator is 5x 2 3x 2 + 5. Tus lim x 5x 2 2x 3x 2 x 5x 2 = 3 5 Numerical
More information1. Which one of the following expressions is not equal to all the others? 1 C. 1 D. 25x. 2. Simplify this expression as much as possible.
004 Algebra Pretest answers and scoring Part A. Multiple coice questions. Directions: Circle te letter ( A, B, C, D, or E ) net to te correct answer. points eac, no partial credit. Wic one of te following
More informationMaterial for Difference Quotient
Material for Difference Quotient Prepared by Stepanie Quintal, graduate student and Marvin Stick, professor Dept. of Matematical Sciences, UMass Lowell Summer 05 Preface Te following difference quotient
More informationlecture 26: Richardson extrapolation
43 lecture 26: Ricardson extrapolation 35 Ricardson extrapolation, Romberg integration Trougout numerical analysis, one encounters procedures tat apply some simple approximation (eg, linear interpolation)
More informationSECTION 1.10: DIFFERENCE QUOTIENTS LEARNING OBJECTIVES
(Section.0: Difference Quotients).0. SECTION.0: DIFFERENCE QUOTIENTS LEARNING OBJECTIVES Define average rate of cange (and average velocity) algebraically and grapically. Be able to identify, construct,
More informationDerivatives. By: OpenStaxCollege
By: OpenStaxCollege Te average teen in te United States opens a refrigerator door an estimated 25 times per day. Supposedly, tis average is up from 10 years ago wen te average teenager opened a refrigerator
More information1. State whether the function is an exponential growth or exponential decay, and describe its end behaviour using limits.
Questions 1. State weter te function is an exponential growt or exponential decay, and describe its end beaviour using its. (a) f(x) = 3 2x (b) f(x) = 0.5 x (c) f(x) = e (d) f(x) = ( ) x 1 4 2. Matc te
More informationSimpson s 1/3 Rule Simpson s 1/3 rule assumes 3 equispaced data/interpolation/integration points
CE 05 - Lecture 5 LECTURE 5 UMERICAL ITEGRATIO COTIUED Simpson s / Rule Simpson s / rule assumes equispaced data/interpolation/integration points Te integration rule is based on approximating fx using
More informationMATH745 Fall MATH745 Fall
MATH745 Fall 5 MATH745 Fall 5 INTRODUCTION WELCOME TO MATH 745 TOPICS IN NUMERICAL ANALYSIS Instructor: Dr Bartosz Protas Department of Matematics & Statistics Email: bprotas@mcmasterca Office HH 36, Ext
More informationContinuity. Example 1
Continuity MATH 1003 Calculus and Linear Algebra (Lecture 13.5) Maoseng Xiong Department of Matematics, HKUST A function f : (a, b) R is continuous at a point c (a, b) if 1. x c f (x) exists, 2. f (c)
More informationMAT244 - Ordinary Di erential Equations - Summer 2016 Assignment 2 Due: July 20, 2016
MAT244 - Ordinary Di erential Equations - Summer 206 Assignment 2 Due: July 20, 206 Full Name: Student #: Last First Indicate wic Tutorial Section you attend by filling in te appropriate circle: Tut 0
More informationExercises for numerical differentiation. Øyvind Ryan
Exercises for numerical differentiation Øyvind Ryan February 25, 2013 1. Mark eac of te following statements as true or false. a. Wen we use te approximation f (a) (f (a +) f (a))/ on a computer, we can
More informationPolynomial Interpolation
Capter 4 Polynomial Interpolation In tis capter, we consider te important problem of approximating a function f(x, wose values at a set of distinct points x, x, x 2,,x n are known, by a polynomial P (x
More informationMath 242: Principles of Analysis Fall 2016 Homework 7 Part B Solutions
Mat 22: Principles of Analysis Fall 206 Homework 7 Part B Solutions. Sow tat f(x) = x 2 is not uniformly continuous on R. Solution. Te equation is equivalent to f(x) = 0 were f(x) = x 2 sin(x) 3. Since
More information1 + t5 dt with respect to x. du = 2. dg du = f(u). du dx. dg dx = dg. du du. dg du. dx = 4x3. - page 1 -
Eercise. Find te derivative of g( 3 + t5 dt wit respect to. Solution: Te integrand is f(t + t 5. By FTC, f( + 5. Eercise. Find te derivative of e t2 dt wit respect to. Solution: Te integrand is f(t e t2.
More information5 Ordinary Differential Equations: Finite Difference Methods for Boundary Problems
5 Ordinary Differential Equations: Finite Difference Metods for Boundary Problems Read sections 10.1, 10.2, 10.4 Review questions 10.1 10.4, 10.8 10.9, 10.13 5.1 Introduction In te previous capters we
More informationDifferentiation in higher dimensions
Capter 2 Differentiation in iger dimensions 2.1 Te Total Derivative Recall tat if f : R R is a 1-variable function, and a R, we say tat f is differentiable at x = a if and only if te ratio f(a+) f(a) tends
More informationCHAPTER 3: Derivatives
CHAPTER 3: Derivatives 3.1: Derivatives, Tangent Lines, and Rates of Cange 3.2: Derivative Functions and Differentiability 3.3: Tecniques of Differentiation 3.4: Derivatives of Trigonometric Functions
More informationLIMITS AND DERIVATIVES CONDITIONS FOR THE EXISTENCE OF A LIMIT
LIMITS AND DERIVATIVES Te limit of a function is defined as te value of y tat te curve approaces, as x approaces a particular value. Te limit of f (x) as x approaces a is written as f (x) approaces, as
More informationLecture 15. Interpolation II. 2 Piecewise polynomial interpolation Hermite splines
Lecture 5 Interpolation II Introduction In te previous lecture we focused primarily on polynomial interpolation of a set of n points. A difficulty we observed is tat wen n is large, our polynomial as to
More informationMATH1151 Calculus Test S1 v2a
MATH5 Calculus Test 8 S va January 8, 5 Tese solutions were written and typed up by Brendan Trin Please be etical wit tis resource It is for te use of MatSOC members, so do not repost it on oter forums
More informationMath 31A Discussion Notes Week 4 October 20 and October 22, 2015
Mat 3A Discussion Notes Week 4 October 20 and October 22, 205 To prepare for te first midterm, we ll spend tis week working eamples resembling te various problems you ve seen so far tis term. In tese notes
More informationDifferentiation Rules c 2002 Donald Kreider and Dwight Lahr
Dierentiation Rules c 00 Donal Kreier an Dwigt Lar Te Power Rule is an example o a ierentiation rule. For unctions o te orm x r, were r is a constant real number, we can simply write own te erivative rater
More informationCalculus I Practice Exam 1A
Calculus I Practice Exam A Calculus I Practice Exam A Tis practice exam empasizes conceptual connections and understanding to a greater degree tan te exams tat are usually administered in introductory
More informationKey Concepts. Important Techniques. 1. Average rate of change slope of a secant line. You will need two points ( a, the formula: to find value
AB Calculus Unit Review Key Concepts Average and Instantaneous Speed Definition of Limit Properties of Limits One-sided and Two-sided Limits Sandwic Teorem Limits as x ± End Beaviour Models Continuity
More informationSolutions Manual for Precalculus An Investigation of Functions
Solutions Manual for Precalculus An Investigation of Functions David Lippman, Melonie Rasmussen 1 st Edition Solutions created at Te Evergreen State College and Soreline Community College 1.1 Solutions
More information(a) At what number x = a does f have a removable discontinuity? What value f(a) should be assigned to f at x = a in order to make f continuous at a?
Solutions to Test 1 Fall 016 1pt 1. Te grap of a function f(x) is sown at rigt below. Part I. State te value of eac limit. If a limit is infinite, state weter it is or. If a limit does not exist (but is
More informationf a h f a h h lim lim
Te Derivative Te derivative of a function f at a (denoted f a) is f a if tis it exists. An alternative way of defining f a is f a x a fa fa fx fa x a Note tat te tangent line to te grap of f at te point
More informationIntegral Calculus, dealing with areas and volumes, and approximate areas under and between curves.
Calculus can be divided into two ke areas: Differential Calculus dealing wit its, rates of cange, tangents and normals to curves, curve sketcing, and applications to maima and minima problems Integral
More informationSome Review Problems for First Midterm Mathematics 1300, Calculus 1
Some Review Problems for First Midterm Matematics 00, Calculus. Consider te trigonometric function f(t) wose grap is sown below. Write down a possible formula for f(t). Tis function appears to be an odd,
More information. If lim. x 2 x 1. f(x+h) f(x)
Review of Differential Calculus Wen te value of one variable y is uniquely determined by te value of anoter variable x, ten te relationsip between x and y is described by a function f tat assigns a value
More informationSection 15.6 Directional Derivatives and the Gradient Vector
Section 15.6 Directional Derivatives and te Gradient Vector Finding rates of cange in different directions Recall tat wen we first started considering derivatives of functions of more tan one variable,
More informationThe Verlet Algorithm for Molecular Dynamics Simulations
Cemistry 380.37 Fall 2015 Dr. Jean M. Standard November 9, 2015 Te Verlet Algoritm for Molecular Dynamics Simulations Equations of motion For a many-body system consisting of N particles, Newton's classical
More informationSolution. Solution. f (x) = (cos x)2 cos(2x) 2 sin(2x) 2 cos x ( sin x) (cos x) 4. f (π/4) = ( 2/2) ( 2/2) ( 2/2) ( 2/2) 4.
December 09, 20 Calculus PracticeTest s Name: (4 points) Find te absolute extrema of f(x) = x 3 0 on te interval [0, 4] Te derivative of f(x) is f (x) = 3x 2, wic is zero only at x = 0 Tus we only need
More informationA = h w (1) Error Analysis Physics 141
Introduction In all brances of pysical science and engineering one deals constantly wit numbers wic results more or less directly from experimental observations. Experimental observations always ave inaccuracies.
More informationPhysically Based Modeling: Principles and Practice Implicit Methods for Differential Equations
Pysically Based Modeling: Principles and Practice Implicit Metods for Differential Equations David Baraff Robotics Institute Carnegie Mellon University Please note: Tis document is 997 by David Baraff
More informationMATH1131/1141 Calculus Test S1 v8a
MATH/ Calculus Test 8 S v8a October, 7 Tese solutions were written by Joann Blanco, typed by Brendan Trin and edited by Mattew Yan and Henderson Ko Please be etical wit tis resource It is for te use of
More informationChapter 4: Numerical Methods for Common Mathematical Problems
1 Capter 4: Numerical Metods for Common Matematical Problems Interpolation Problem: Suppose we ave data defined at a discrete set of points (x i, y i ), i = 0, 1,..., N. Often it is useful to ave a smoot
More informationHOMEWORK HELP 2 FOR MATH 151
HOMEWORK HELP 2 FOR MATH 151 Here we go; te second round of omework elp. If tere are oters you would like to see, let me know! 2.4, 43 and 44 At wat points are te functions f(x) and g(x) = xf(x)continuous,
More informationThe Derivative as a Function
Section 2.2 Te Derivative as a Function 200 Kiryl Tsiscanka Te Derivative as a Function DEFINITION: Te derivative of a function f at a number a, denoted by f (a), is if tis limit exists. f (a) f(a + )
More informationHigher Derivatives. Differentiable Functions
Calculus 1 Lia Vas Higer Derivatives. Differentiable Functions Te second derivative. Te derivative itself can be considered as a function. Te instantaneous rate of cange of tis function is te second derivative.
More informationFunction Composition and Chain Rules
Function Composition and s James K. Peterson Department of Biological Sciences and Department of Matematical Sciences Clemson University Marc 8, 2017 Outline 1 Function Composition and Continuity 2 Function
More informationChapter 8. Numerical Solution of Ordinary Differential Equations. Module No. 2. Predictor-Corrector Methods
Numerical Analysis by Dr. Anita Pal Assistant Professor Department of Matematics National Institute of Tecnology Durgapur Durgapur-7109 email: anita.buie@gmail.com 1 . Capter 8 Numerical Solution of Ordinary
More informationNUMERICAL DIFFERENTIATION. James T. Smith San Francisco State University. In calculus classes, you compute derivatives algebraically: for example,
NUMERICAL DIFFERENTIATION James T Smit San Francisco State University In calculus classes, you compute derivatives algebraically: for example, f( x) = x + x f ( x) = x x Tis tecnique requires your knowing
More informationREVIEW LAB ANSWER KEY
REVIEW LAB ANSWER KEY. Witout using SN, find te derivative of eac of te following (you do not need to simplify your answers): a. f x 3x 3 5x x 6 f x 3 3x 5 x 0 b. g x 4 x x x notice te trick ere! x x g
More informationPreface. Here are a couple of warnings to my students who may be here to get a copy of what happened on a day that you missed.
Preface Here are my online notes for my course tat I teac ere at Lamar University. Despite te fact tat tese are my class notes, tey sould be accessible to anyone wanting to learn or needing a refreser
More informationMATH 1A Midterm Practice September 29, 2014
MATH A Midterm Practice September 9, 04 Name: Problem. (True/False) If a function f : R R is injective, ten f as an inverse. Solution: True. If f is injective, ten it as an inverse since tere does not
More information