November 20, Interpolation, Extrapolation & Polynomial Approximation

Size: px
Start display at page:

Download "November 20, Interpolation, Extrapolation & Polynomial Approximation"

Transcription

1 Interpolation, Extrapolation & Polynomial Approximation November 20, 2016

2 Introduction In many cases we know the values of a function f (x) at a set of points x 1, x 2,..., x N, but we don t have the analytic expression of the function that lets us calculate its value at an arbitrary point. We will try to estimate f (x) for arbitrary x by drawing a curve through the x i and sometimes beyond them. The procedure of estimating the value of f (x) for x [x 1, x N ] is called interpolation while if the value is for points x / [x 1, x N ] extrapolation. The form of the function that approximates the set of points should be a convenient one and should be applicable to a general class of problems.

3 Polynomial Approximations Polynomial functions are the most common ones while rational and trigonometric functions are used quite frequently. We will study the following methods for polynomial approximations: Lagrange s Polynomial Hermite Polynomial Taylor Polynomial Cubic Splines

4 Lagrange Polynomial Let s assume the following set of data: x 0 x 1 x 2 x 3 x f (x) f 0 f 1 f 2 f 3 Then the interpolating polynomial will be of 4th order i.e. ax 3 + bx 2 + cx + d = P(x). This leads to 4 equations for the 4 unknown coefficients and by solving this system we get a = , b = , c = and d = and the polynomial is: P(x) = x x x It is obvious that this procedure is quite laboureus and Lagrange developed a direct way to find the polynomial n P n (x) = f 0 L 0 (x) + f 1 L 1 (x) f n L n (x) = f i L i (x) (1) where L i (x) are the Lagrange coefficient polynomials i=0

5 L j (x) = (x x 0)(x x 1 )...(x x j 1 )(x x j+1 )...(x x n ) (x j x 0 )(x j x 1 )...(x j x j 1 )(x j x j+1 )...(x j x n ) and obviously: L j (x k ) = δ jk = where δ jk is Kronecker s symbol. { 0 if j k 1 if j = k (2) ERRORS The error when the Lagrange polynomial is used to approximate a continuous function f (x) is : E(x) = (x x 0 )(x x 1 )...(x x n ) f (n+1) (ξ) (n + 1)! where ξ [x 0, x N ] (3) NOTE Lagrange polynomial applies for evenly and unevenly spaced points. If the points are evenly spaced then it reduces to a much simpler form.

6 Lagrange Polynomial : Example EXAMPLE: Find the Lagrange polynomial that approximates the function y = cos(πx). We create the table x i f i The Lagrange coeffiecient polynomials are: L 1 (x) = (x x 2)(x x 3 ) (x 0.5)(x 1) = (x 1 x 2 )(x 1 x 3 ) (0 0.5)(0 1) = 2x 2 3x + 1, L 2 (x) = (x x 1) (x x 3 ) (x 0)(x 1) = = 4x(x 1) (x 2 x 1 )(x 2 x 3 ) (0.5 0)(0.5 1) L 3 (x) = (x x 1)(x x 2 ) (x 0)(x 0.5) = (x 3 x 1 )(x 3 x 2 ) (1 0)(1 0.5) = 2x 2 x thus P(x) = 1 (2x 2 3x + 1) 0 4x(x 1) + ( 1) (2x 2 x) = 2x + 1

7 The error will be: E(x) = x (x 0.5) (x 1) π3 sin(πξ) 3! e.g. for x = 0.25 is E(0.25) 0.24.

8 Newton Polynomial Forward Newton-Gregory s(s 1) P n (x s ) = f 0 + s f s(s 1)(s 2) f f ( ) 2! ( ) ( 3! ) s s = f 0 + f s f f n ( ) s = i f i 0 (4) i=0 where x s = x 0 + s h and f i = f i+1 f i (5) 2 f i = f i+2 2f i+1 + f i (6) 3 f i = f i+3 3f i+2 + 3f i+1 f i (7) n f i = n(n 1) n(n 1)(n 2) f i+n nf i+n 1 + f i+n 2 f i+n 3 + (8) 2! 3!

9 Newton Polynomial ERROR The error is the same with the Lagrange polynomial : E(x) = (x x 0 )(x x 1 )...(x x n ) f (n+1) (ξ) (n + 1)! where ξ [x 0, x N ] (9) x f (x) f (x) 2 f (x) 3 f (x) 4 f (x) 5 f (x) Table: Example of a difference matrix Backward Newton-Gregory ( ) ( s s + 1 P n (x) = f 0 + f ) ( 2 s + n 1 f n ) n f n (10)

10 x F (x) f (x) 2 f (x) 3 f (x) 4 f (x) 5 f (x) Newton-Gregory forward with x 0 = 0.5: ( ) ( ) s s P 3 (x) = s = s s (s 1)/ s (s 1) (s 2)/6 = x x x 3 Newton-Gregory backwards with x 0 = 1.1: ( ) ( ) s + 1 s + 2 P 3 (x) = s = s s (s + 1)/ s (s + 1) (s + 2)/6 = x x x 3

11 Hermite Polynomial This applies when we have information not only for the values of f (x) but also on its derivative f (x) where P 2n 1 (x) = n A i (x)f i + i=1 n i=1 B i (x)f i (11) A i (x) = [1 2(x x i )L i(x i )] [L i (x)] 2 (12) B i (x) = (x x i ) [L i (x)] 2 (13) and L i (x) are the Lagrange coefficients. ERROR: the accuracy is similar to that of Lagrange polynomial of order 2n! y(x) p(x) = y (2n+1) (ξ) (2n + 1)! [(x x 1)(x x 2 )... (x x n )] 2 (14)

12 Hermite Polynomial : Example Fit a Hermite polynomial to the data of the table: k x k y k y k The Lagrange coefficients are: Thus L 0 (x) = x x 1 = x 4 x 0 x = x 4 4 L 0(x) = 1 x 0 x 1 = 1 4 L 1(x) = L 1 (x) = x x 0 x 1 x 0 = x 4 1 x 1 x 0 = 1 4 [ A 0 (x) = 1 2 L ] ( 0 (x x 0) L 2 0 [1 = 2 1 ) ] ( ) x 4 2 (x 0) 4 4 [ A 1 (x) = 1 2 L ] [ 0 (x x 1) L 2 1 = ] ( ) x 2 ( (x 4) = 3 x ) ( ) x ( ) x 4 2 ( ) x 4 2 ( ) x 2 B 0 (x) = (x 0) = x B 1 (x) = (x 4) And the Hermite polynomial is: P(x) = (6 x) x 2 16.

13 Taylor Polynomial It is an alternative way of approximating functions with polynomials. In the previous two cases we found the polynomial P(x) that gets the same value with a function f (x) at N points or the polynomial that agrees with a function and its derivative at N points. Taylor polynomial has the same value x 0 with the function but agrees also up to the Nth derivative with the given function. That is: P (i) (x 0 ) = f (i) (x 0 ) and i = 0, 1,..., n and the Taylor polynomial has the well known form from Calculus P(x) = N i=0 ERROR: was also estimated in calculus f (i) (x) (x x 0 ) i (15) i! E N (x) = (x x 0 ) N+1 f (N+1) (ξ) (N + 1)! (16)

14 Taylor Polynomial : Example We will show that for the calculation of e = with 13-digit approximation we need 15 terms of the Taylor expansion. All the derivatives at x = 1 are: thus p(x) = and the error will be y 0 = y (1) 0 = y (2) 0 =... = y (n) 0 = 1 n i=1 1 i! x n = 1 + x + x n! x n E n = x n+1 e ξ (n + 1)! = eξ 16! < 3 = !

15 Interpolation with Cubic Splines In some cases the typical polynomial approximation cannot smoothly fit certain sets of data. Consider the function f (x) = 0 1 x x 0.2 < x < x 1.0 We can easily verify that we cannot fit the above data with any polynomial degree! P(x) = 1 26x x 4 The answer to the problem is given by the spline fitting. That is we pass a set of cubic polynomials (cubic splines) through the points, using a new cubic for each interval. But we require that the slope and the curvature be the same for the pair of cubics that join at each point.

16 Interpolation with Cubic Splines

17 Interpolation with Cubic Splines Let the cubic for the ith interval, which lies between the points (x i, y i ) and (x i+1, y i+1 ) has the form: y(x) = a i (x x i ) 3 + b i (x x i ) 2 + c i (x x i ) + d i (17) Since it fits at the two endpoints of the interval: y i = a i (x i x i ) 3 + b i (x i x i ) 2 + c i (x i x i ) + d i = d i y i+1 = a i (x i+1 x i ) 3 + b i (x i+1 x i ) 2 + c i (x i+1 x i ) + d i = a i h 3 i + b i h 2 i + c i h i + d i where h i = x i+1 x i. We need the 1st and 2nd derivatives to relate the slopes and curvatures of the joining polynomials, by differentiation we get y (x) = 3a i (x x i ) 2 + 2b i (x x i ) + c i y (x) = 6a i (x x i ) + 2b i

18 The procedure is simplified if we write the equations in terms of the 2nd derivatives of the interpolating cubics. Let s name S i the 2nd derivative at the point (x i, y i ) then we can easily get: which means and finally b i = S i 2, a i = S i+1 S i 6h i (18) y i+1 = S i+1 S i hi 3 + S i 6h i 2 h2 i + c i h i + y i c i = y i+1 y i 2h is i + h i S i+1 h i 6 (19) Now we invoke the condition that the slopes of the two cubics joining at (x i, y i ) are the same: y i = 3a i (x i x i ) 2 + 2b i (x i x i ) + c i = c i for the i interval y i = 3a i 1 (x i x i 1 ) 2 + 2b i 1 (x i x i 1 ) + c i 1 = 3a i 1 h 2 i 1 + 2b i 1 h i 1 + c i 1 for the i 1 interval

19 By equating these and substituting a, b, c and d we get: y i = y i+1 y i 2h is i + h i S i+1 h i 6 ( ) Si S i 1 = 3 hi S i 1 6h i 1 2 h i 1 + y i y i 1 2h i 1S i 1 + h i 1 S i h i 1 6 and by simplifying we get: ( yi+1 y i h i 1 S i (h i 1 + h i ) S i + h i S i+1 = 6 h i y ) i y i 1 h i 1 (20) If we have n + 1 points the above relation can be applied to the n 1 internal points. Thus we create a system of n 1 equations for the n + 1 unknown S i. This system can be solved if we specify the values of S 0 and S n.

20 The system of n 1 equations with n + 1 unknown will be written as: = 6... h 0 2(h 0 + h 1 ) h 1 h 1 2(h 1 + h 2 ) h 2 h 2 2(h 2 + h 3 ) h h n 2 2(h n 2 + h n 1 ) h n 1... y 2 y 1 h 1 y 3 y 2 h 2... y n y n 1 h n 1... y1 y0 h 0 y2 y1 h 1 yn 1 yn 2 h n 2 Y S 0 S 1 S 2 : S n 2 S n 1 S n From the solution of this linear systems we get the coefficients a i, b i, c i and d i via the relations: a i = S i+1 S i, b i = S i 6h i 2 (21) c i = y i+1 y i 2h is i + h i S i+1 (22) h i 6 d i = y i (23)

21 Choice I Take, S 0 = 0 and S n = 0 this will lead to the solution of the following (n 1) (n 1) linear system: 2(h 0 + h 1 ) h 1 S 1 h 1 2(h 1 + h 2 ) h 2 S 2 h 2 2(h 2 + h 3 ) h 3 S 3... = Y h n 2 2(h n 2 + h n 1 ) S n 1 Choice II Take, S 0 = S 1 and S n = S n 1 this will lead to the solution of the following (n 1) (n 1) linear system: 3h 0 + 2h 1 h 1 h 1 2(h 1 + h 2 ) h 2 h 2 2(h 2 + h 3 ) h h n 2 2h n 2 + 3h n 1 S 1 S 2 S 3 S n 1 = Y

22 Choice III Use linear extrapolation S n S n 1 h n 1 S 1 S 0 h 0 = S 2 S 1 h 1 S 0 = (h 0 + h 1 )S 1 h 0 S 2 h 1 = S n 1 S n 2 h n 2 s n = (h n 2 + h n 1 )S n 1 h n 1 S n 2 h n 2 this will lead to the solution of the following (n 1) (n 1) linear system: (h 0 +h 1 )(h 0 +2h 1 ) h 1 2 h2 0 h 1 h 1 h 1 2(h 1 + h 2 ) h 2 h 2 2(h 2 + h 3 ) h h n 2 2 h2 n 1 h n 2 (h n 1 +h n 2 )(h n 1 +2h n 2 ) h n 2 S 1 S 2 S 3 S n 1 = Y

23 Choice IV Force the slopes at the end points to assume certain values. If f (x 0 ) = A and f (x n ) = B then ( ) y1 y 0 2h 0 S 0 + h 1 S 1 = 6 A h 0 ( h n 1 S n 1 + 2h n S n = 6 B y ) n y n 1 h n 1 2h 0 h 1 h 0 2(h 0 + h 1 ) h 1 h 1 2(h 1 + h 2 ) h 2... h n 2 2h n 1 S 1 S 2 S 3 S n 1 = Y

24 Interpolation with Cubic Splines : Example Fit a cubic spline in the data (y = x 3 8): x y Depending on the condition at the end we get the following solutions: Condition I : S 0 = 0, S 4 = S 1 36 S 1 = S 2 = 72 S 2 = S S 3 = Condition II : S 0 = S 1, S 4 = S S 1 S 2 = S S 1 = S 0 = 4.8 S 2 = 12 S 3 = 19.2 = S 4

25 Condition III : S 1 S 2 S 3 = S 0 = 0 S 1 = 6 S 2 = 12 S 3 = 18 S 4 = 24 Condition IV : S 0 S 1 S 2 S 3 S 4 = S 0 = 0 S 1 = 6 S 2 = 12 S 3 = 18 S 4 = 24

26 Interpolation with Cubic Splines : Problems 1 The following data are from astronomical observations and represent variations of the apparent magnitude of a type of variable stars called Cepheids Time Apparent magnitude Use splines to create a new table for the apparent magnitude for intervals of time of From the following table find the acceleration of gravity at Tübingen (48 o 31 ) and the distance between two points with angular separation of 1 of a degree. Latitude Length of 1 of arc on the parallel local acceleration of gravity g m m/sec m m/sec m m/sec m m/sec m m/sec m m/sec m m/sec 2

27 Rational function approximations Here we introduce the notion of rational approximations for functions. We will constrain our discussion to the so called Padé approximation. A rational approximation of f (x) on [a, b], is the quotient of two polynomials P n (x) and Q m (x) with degrees n and m 1 f (x) = R N (x) P n(x) Q m (x) = a 0 + a 1 x + a 2 x a n x n 1 + b 1 x + b 2 x b m x m, N = n + m i.e. there are N + 1 = n + m + 1 constants to be determined. The method of Padé requires that f (x) and its derivatives are continuous at x = 0. This choice makes the manipulation simpler and a change of variable can be used to shift, if needed, the calculations over to an interval that contains zero. We begin with the Maclaurin series for f (x) (up to the term x N ), this can be written as : f (x) c 0 + c 1 x c N x N where c i = f (i) (0)/(i!). 1 Sometimes we write R N (x) R n,m(x).

28 Padé approximation Then we create the difference f (x) R N (x) = (c 0 + c 1 x c N x N ) a 0 + a 1 x a nx n 1 + b 1 x b mx m ( ) c 0 + c 1 x c N x N (1 + b 1 x b mx m ) (a 0 + a 1 x a nx n ) 1 + b 1 x b mx m If f (0) = R N (0) then c 0 a 0 = 0. In the same way, in order for the first N derivatives of f (x) and R N (x) to be equal at x = 0 the coefficients of the powers of x up to x N in the numerator must be zero also.

29 This gives additionally N equations for the a s and b s b 1 c 0 + c 1 a 1 = 0 b 2 c 0 + b 1 c 1 + c 2 a 2 = 0 b 3 c 0 + b 2 c 1 + b 1 c 2 + c 3 a 3 = 0 b m c n m + b m 1 c n m c n a n = 0 b m c n m+1 + b m 1 c n m c n+1 = 0 (24) b m c n m+2 + b m 1 c n m c n+2 = 0 b m c N m + b m 1 c N m c N = 0 Notice that in each of the above equations, the sum of subscripts on the factors of each product is the same, and is equal to the exponent of the x-term in the numerator...

30 Padé approximation : Example For the R 9 (x) or R 5,4 (x) Padé approximation for the function tan 1 (x) we calculate the Maclaurin series of tan 1 (x): and then f (x) R 9 (x) = tan 1 (x) = x 1 3 x x5 1 7 x x9 ( ( x 3 1 x x5 1 7 x x9) 1 + b 1 x + b 2 x 2 + b 3 x 3 + b 4 x 4) (a 0 + a 1 x + a 2 x a 5 x 5) 1 + b 1 x + b 2 x 2 + b 3 x 3 + b 4 x 4 and the coefficients will be found by the following system of equations: a 0 = 0, a 1 = 1, a 2 = b 1, a 3 = b 2, a 4 = 1 3 b 1 + b 3, a 5 = b 2 + b b b 3 = 0, b b 4 = 0, 1 7 b b 3 = 0, from which we get b b 4 = 0 (25) a 0 = 0, a 1 = 1, a 2 = 0, a 3 = 7 9, a 4 = 0, a 5 = , b 1 = 0, b 2 = 10 9, b 3 = 0, b 4 = tan 1 x R 9 (x) = x x x x x 4 For x = 1, exact , R 9 (1) = while from the Maclaurin series we get !

31 Rational approximation for sets of data If instead of the analytic form of a function f (x) we have a set of k points (x i, f (x i )) in order to find a rational function R N (x) such that for every x i we will get f (x i ) = R N (x i ) i.e. R N (x i ) = a 0 + a 1 x i + a 2 xi b 1 x i + b 2 x 2 i a n x n i b m x m i = f (x i ) we will follow the approach used in constructing the approximate polynomial. In other words the problem will be solved by finding the solution of the following system of k m + n + 1 equations: a 0 + a 1 x a n x1 n (f 1x 1 ) b 1... (f 1 x1 m) b m = f 1 :: a 0 + a 1 x i a n xi n (f i x i ) b 1... (f i xi m ) b m = f i :: a 0 + a 1 x k a n xk n (f kx k ) b 1... (f k xk m) b m = f k i.e. we get k equations for the k unknowns a 0, a 1,..., a n and b 1, b 2,..., b m.

32 Rational approximation for sets of data : Example We will find the rational function approximations for the following set of data (-1,1), (0,2) and (1,-1). It is obvious that the sum of degrees of the polynomials in the nominator and denominator must be (n + m + 1 3). Thus we can write: which leads to the following system R 1,1 (x) = a 0 + a 1 x 1 + b 1 x a 0 + ( 1) a 1 ( 1) b 1 = 1 a a 1 0 b 1 = 2 a a 1 ( 1) b 1 = 1 and the rational fuction will be: R 1,1 (x) = 2 x 1 2x. a 0 = 2 a 1 = 1 b 1 = 2 Alternatively, one may derive the following rational function: R 0,1 (x) = a b 1 x + b 2 x R (x) = 2 1 2x x 2

33 Rational approximation: Problems 1 Find the Padé approximation R 3,3 (x) for the function y = e x. Compare with the Maclaurin series for x = 1. 2 Find the Padé approximation R 3,5 (x) for the functions y = cos(x) and y = sin(x). Compare with the Maclaurin series for x = 1. 3 Find the Padé approximation R 4,6 (x). for the function y = 1/x sin(x). Compare with the Maclaurin series for x = 1. 4 Find the rational approximation for the following set of points:

Computational Physics

Computational Physics Interpolation, Extrapolation & Polynomial Approximation Lectures based on course notes by Pablo Laguna and Kostas Kokkotas revamped by Deirdre Shoemaker Spring 2014 Introduction In many cases, a function

More information

(0, 0), (1, ), (2, ), (3, ), (4, ), (5, ), (6, ).

(0, 0), (1, ), (2, ), (3, ), (4, ), (5, ), (6, ). 1 Interpolation: The method of constructing new data points within the range of a finite set of known data points That is if (x i, y i ), i = 1, N are known, with y i the dependent variable and x i [x

More information

Chapter 4: Interpolation and Approximation. October 28, 2005

Chapter 4: Interpolation and Approximation. October 28, 2005 Chapter 4: Interpolation and Approximation October 28, 2005 Outline 1 2.4 Linear Interpolation 2 4.1 Lagrange Interpolation 3 4.2 Newton Interpolation and Divided Differences 4 4.3 Interpolation Error

More information

Numerical Methods. King Saud University

Numerical Methods. King Saud University Numerical Methods King Saud University Aims In this lecture, we will... find the approximate solutions of derivative (first- and second-order) and antiderivative (definite integral only). Numerical Differentiation

More information

Chapter 11. Taylor Series. Josef Leydold Mathematical Methods WS 2018/19 11 Taylor Series 1 / 27

Chapter 11. Taylor Series. Josef Leydold Mathematical Methods WS 2018/19 11 Taylor Series 1 / 27 Chapter 11 Taylor Series Josef Leydold Mathematical Methods WS 2018/19 11 Taylor Series 1 / 27 First-Order Approximation We want to approximate function f by some simple function. Best possible approximation

More information

Lecture Note 3: Polynomial Interpolation. Xiaoqun Zhang Shanghai Jiao Tong University

Lecture Note 3: Polynomial Interpolation. Xiaoqun Zhang Shanghai Jiao Tong University Lecture Note 3: Polynomial Interpolation Xiaoqun Zhang Shanghai Jiao Tong University Last updated: October 24, 2013 1.1 Introduction We first look at some examples. Lookup table for f(x) = 2 π x 0 e x2

More information

Lecture Note 3: Interpolation and Polynomial Approximation. Xiaoqun Zhang Shanghai Jiao Tong University

Lecture Note 3: Interpolation and Polynomial Approximation. Xiaoqun Zhang Shanghai Jiao Tong University Lecture Note 3: Interpolation and Polynomial Approximation Xiaoqun Zhang Shanghai Jiao Tong University Last updated: October 10, 2015 2 Contents 1.1 Introduction................................ 3 1.1.1

More information

CHAPTER 4. Interpolation

CHAPTER 4. Interpolation CHAPTER 4 Interpolation 4.1. Introduction We will cover sections 4.1 through 4.12 in the book. Read section 4.1 in the book on your own. The basic problem of one-dimensional interpolation is this: Given

More information

Interpolation Theory

Interpolation Theory Numerical Analysis Massoud Malek Interpolation Theory The concept of interpolation is to select a function P (x) from a given class of functions in such a way that the graph of y P (x) passes through the

More information

Lecture 10 Polynomial interpolation

Lecture 10 Polynomial interpolation Lecture 10 Polynomial interpolation Weinan E 1,2 and Tiejun Li 2 1 Department of Mathematics, Princeton University, weinan@princeton.edu 2 School of Mathematical Sciences, Peking University, tieli@pku.edu.cn

More information

Hermite Interpolation

Hermite Interpolation Jim Lambers MAT 77 Fall Semester 010-11 Lecture Notes These notes correspond to Sections 4 and 5 in the text Hermite Interpolation Suppose that the interpolation points are perturbed so that two neighboring

More information

INTERPOLATION. and y i = cos x i, i = 0, 1, 2 This gives us the three points. Now find a quadratic polynomial. p(x) = a 0 + a 1 x + a 2 x 2.

INTERPOLATION. and y i = cos x i, i = 0, 1, 2 This gives us the three points. Now find a quadratic polynomial. p(x) = a 0 + a 1 x + a 2 x 2. INTERPOLATION Interpolation is a process of finding a formula (often a polynomial) whose graph will pass through a given set of points (x, y). As an example, consider defining and x 0 = 0, x 1 = π/4, x

More information

Ma 530 Power Series II

Ma 530 Power Series II Ma 530 Power Series II Please note that there is material on power series at Visual Calculus. Some of this material was used as part of the presentation of the topics that follow. Operations on Power Series

More information

Engg. Math. II (Unit-IV) Numerical Analysis

Engg. Math. II (Unit-IV) Numerical Analysis Dr. Satish Shukla of 33 Engg. Math. II (Unit-IV) Numerical Analysis Syllabus. Interpolation and Curve Fitting: Introduction to Interpolation; Calculus of Finite Differences; Finite Difference and Divided

More information

Input: A set (x i -yy i ) data. Output: Function value at arbitrary point x. What for x = 1.2?

Input: A set (x i -yy i ) data. Output: Function value at arbitrary point x. What for x = 1.2? Applied Numerical Analysis Interpolation Lecturer: Emad Fatemizadeh Interpolation Input: A set (x i -yy i ) data. Output: Function value at arbitrary point x. 0 1 4 1-3 3 9 What for x = 1.? Interpolation

More information

8.7 MacLaurin Polynomials

8.7 MacLaurin Polynomials 8.7 maclaurin polynomials 67 8.7 MacLaurin Polynomials In this chapter you have learned to find antiderivatives of a wide variety of elementary functions, but many more such functions fail to have an antiderivative

More information

3.1 Interpolation and the Lagrange Polynomial

3.1 Interpolation and the Lagrange Polynomial MATH 4073 Chapter 3 Interpolation and Polynomial Approximation Fall 2003 1 Consider a sample x x 0 x 1 x n y y 0 y 1 y n. Can we get a function out of discrete data above that gives a reasonable estimate

More information

Exam 2. Average: 85.6 Median: 87.0 Maximum: Minimum: 55.0 Standard Deviation: Numerical Methods Fall 2011 Lecture 20

Exam 2. Average: 85.6 Median: 87.0 Maximum: Minimum: 55.0 Standard Deviation: Numerical Methods Fall 2011 Lecture 20 Exam 2 Average: 85.6 Median: 87.0 Maximum: 100.0 Minimum: 55.0 Standard Deviation: 10.42 Fall 2011 1 Today s class Multiple Variable Linear Regression Polynomial Interpolation Lagrange Interpolation Newton

More information

(c) Find the equation of the degree 3 polynomial that has the same y-value, slope, curvature, and third derivative as ln(x + 1) at x = 0.

(c) Find the equation of the degree 3 polynomial that has the same y-value, slope, curvature, and third derivative as ln(x + 1) at x = 0. Chapter 7 Challenge problems Example. (a) Find the equation of the tangent line for ln(x + ) at x = 0. (b) Find the equation of the parabola that is tangent to ln(x + ) at x = 0 (i.e. the parabola has

More information

Partial Fractions. Calculus 2 Lia Vas

Partial Fractions. Calculus 2 Lia Vas Calculus Lia Vas Partial Fractions rational function is a quotient of two polynomial functions The method of partial fractions is a general method for evaluating integrals of rational function The idea

More information

Curve Fitting and Interpolation

Curve Fitting and Interpolation Chapter 5 Curve Fitting and Interpolation 5.1 Basic Concepts Consider a set of (x, y) data pairs (points) collected during an experiment, Curve fitting: is a procedure to develop or evaluate mathematical

More information

Power Series Solutions We use power series to solve second order differential equations

Power Series Solutions We use power series to solve second order differential equations Objectives Power Series Solutions We use power series to solve second order differential equations We use power series expansions to find solutions to second order, linear, variable coefficient equations

More information

Taylor and Maclaurin Series. Copyright Cengage Learning. All rights reserved.

Taylor and Maclaurin Series. Copyright Cengage Learning. All rights reserved. 11.10 Taylor and Maclaurin Series Copyright Cengage Learning. All rights reserved. We start by supposing that f is any function that can be represented by a power series f(x)= c 0 +c 1 (x a)+c 2 (x a)

More information

Chapter 3 Interpolation and Polynomial Approximation

Chapter 3 Interpolation and Polynomial Approximation Chapter 3 Interpolation and Polynomial Approximation Per-Olof Persson persson@berkeley.edu Department of Mathematics University of California, Berkeley Math 128A Numerical Analysis Polynomial Interpolation

More information

JUST THE MATHS UNIT NUMBER DIFFERENTIATION APPLICATIONS 5 (Maclaurin s and Taylor s series) A.J.Hobson

JUST THE MATHS UNIT NUMBER DIFFERENTIATION APPLICATIONS 5 (Maclaurin s and Taylor s series) A.J.Hobson JUST THE MATHS UNIT NUMBER.5 DIFFERENTIATION APPLICATIONS 5 (Maclaurin s and Taylor s series) by A.J.Hobson.5. Maclaurin s series.5. Standard series.5.3 Taylor s series.5.4 Exercises.5.5 Answers to exercises

More information

Chapter 2 Interpolation

Chapter 2 Interpolation Chapter 2 Interpolation Experiments usually produce a discrete set of data points (x i, f i ) which represent the value of a function f (x) for a finite set of arguments {x 0...x n }. If additional data

More information

8.5 Taylor Polynomials and Taylor Series

8.5 Taylor Polynomials and Taylor Series 8.5. TAYLOR POLYNOMIALS AND TAYLOR SERIES 50 8.5 Taylor Polynomials and Taylor Series Motivating Questions In this section, we strive to understand the ideas generated by the following important questions:

More information

Taylor Series and Numerical Approximations

Taylor Series and Numerical Approximations Taylor Series and Numerical Approximations Hilary Weller h.weller@reading.ac.uk August 7, 05 An introduction to the concept of a Taylor series and how these are used in numerical analysis to find numerical

More information

Taylor Series. Math114. March 1, Department of Mathematics, University of Kentucky. Math114 Lecture 18 1/ 13

Taylor Series. Math114. March 1, Department of Mathematics, University of Kentucky. Math114 Lecture 18 1/ 13 Taylor Series Math114 Department of Mathematics, University of Kentucky March 1, 2017 Math114 Lecture 18 1/ 13 Given a function, can we find a power series representation? Math114 Lecture 18 2/ 13 Given

More information

CALCULUS JIA-MING (FRANK) LIOU

CALCULUS JIA-MING (FRANK) LIOU CALCULUS JIA-MING (FRANK) LIOU Abstract. Contents. Power Series.. Polynomials and Formal Power Series.2. Radius of Convergence 2.3. Derivative and Antiderivative of Power Series 4.4. Power Series Expansion

More information

CHALLENGE! (0) = 5. Construct a polynomial with the following behavior at x = 0:

CHALLENGE! (0) = 5. Construct a polynomial with the following behavior at x = 0: TAYLOR SERIES Construct a polynomial with the following behavior at x = 0: CHALLENGE! P( x) = a + ax+ ax + ax + ax 2 3 4 0 1 2 3 4 P(0) = 1 P (0) = 2 P (0) = 3 P (0) = 4 P (4) (0) = 5 Sounds hard right?

More information

Elliptic Curves. Dr. Carmen Bruni. November 4th, University of Waterloo

Elliptic Curves. Dr. Carmen Bruni. November 4th, University of Waterloo University of Waterloo November 4th, 2015 Revisit the Congruent Number Problem Congruent Number Problem Determine which positive integers N can be expressed as the area of a right angled triangle with

More information

Interpolation and extrapolation

Interpolation and extrapolation Interpolation and extrapolation Alexander Khanov PHYS6260: Experimental Methods is HEP Oklahoma State University October 30, 207 Interpolation/extrapolation vs fitting Formulation of the problem: there

More information

MTAEA Differentiation

MTAEA Differentiation School of Economics, Australian National University February 5, 2010 Basic Properties of the Derivative. Secant Tangent Applet l 3 l 2 l 1 a a 3 a 2 a 1 Figure: The derivative of f at a is the limiting

More information

Chapter 8: Taylor s theorem and L Hospital s rule

Chapter 8: Taylor s theorem and L Hospital s rule Chapter 8: Taylor s theorem and L Hospital s rule Theorem: [Inverse Mapping Theorem] Suppose that a < b and f : [a, b] R. Given that f (x) > 0 for all x (a, b) then f 1 is differentiable on (f(a), f(b))

More information

Mathematics 1 Lecture Notes Chapter 1 Algebra Review

Mathematics 1 Lecture Notes Chapter 1 Algebra Review Mathematics 1 Lecture Notes Chapter 1 Algebra Review c Trinity College 1 A note to the students from the lecturer: This course will be moving rather quickly, and it will be in your own best interests to

More information

Further Mathematics SAMPLE. Marking Scheme

Further Mathematics SAMPLE. Marking Scheme Further Mathematics SAMPLE Marking Scheme This marking scheme has been prepared as a guide only to markers. This is not a set of model answers, or the exclusive answers to the questions, and there will

More information

Math Numerical Analysis

Math Numerical Analysis Math 541 - Numerical Analysis Joseph M. Mahaffy, jmahaffy@mail.sdsu.edu Department of Mathematics and Statistics Dynamical Systems Group Computational Sciences Research Center San Diego State University

More information

Taylor and Maclaurin Series. Approximating functions using Polynomials.

Taylor and Maclaurin Series. Approximating functions using Polynomials. Taylor and Maclaurin Series Approximating functions using Polynomials. Approximating f x = e x near x = 0 In order to approximate the function f x = e x near x = 0, we can use the tangent line (The Linear

More information

Review: Power series define functions. Functions define power series. Taylor series of a function. Taylor polynomials of a function.

Review: Power series define functions. Functions define power series. Taylor series of a function. Taylor polynomials of a function. Taylor Series (Sect. 10.8) Review: Power series define functions. Functions define power series. Taylor series of a function. Taylor polynomials of a function. Review: Power series define functions Remarks:

More information

Data Analysis-I. Interpolation. Soon-Hyung Yook. December 4, Soon-Hyung Yook Data Analysis-I December 4, / 1

Data Analysis-I. Interpolation. Soon-Hyung Yook. December 4, Soon-Hyung Yook Data Analysis-I December 4, / 1 Data Analysis-I Interpolation Soon-Hyung Yook December 4, 2015 Soon-Hyung Yook Data Analysis-I December 4, 2015 1 / 1 Table of Contents Soon-Hyung Yook Data Analysis-I December 4, 2015 2 / 1 Introduction

More information

Math 113 (Calculus 2) Exam 4

Math 113 (Calculus 2) Exam 4 Math 3 (Calculus ) Exam 4 November 0 November, 009 Sections 0, 3 7 Name Student ID Section Instructor In some cases a series may be seen to converge or diverge for more than one reason. For such problems

More information

Polynomial Interpolation

Polynomial Interpolation Polynomial Interpolation (Com S 477/577 Notes) Yan-Bin Jia Sep 1, 017 1 Interpolation Problem In practice, often we can measure a physical process or quantity (e.g., temperature) at a number of points

More information

f (x) = k=0 f (0) = k=0 k=0 a k k(0) k 1 = a 1 a 1 = f (0). a k k(k 1)x k 2, k=2 a k k(k 1)(0) k 2 = 2a 2 a 2 = f (0) 2 a k k(k 1)(k 2)x k 3, k=3

f (x) = k=0 f (0) = k=0 k=0 a k k(0) k 1 = a 1 a 1 = f (0). a k k(k 1)x k 2, k=2 a k k(k 1)(0) k 2 = 2a 2 a 2 = f (0) 2 a k k(k 1)(k 2)x k 3, k=3 1 M 13-Lecture Contents: 1) Taylor Polynomials 2) Taylor Series Centered at x a 3) Applications of Taylor Polynomials Taylor Series The previous section served as motivation and gave some useful expansion.

More information

Announcements. Related Rates (last week), Linear approximations (today) l Hôpital s Rule (today) Newton s Method Curve sketching Optimization problems

Announcements. Related Rates (last week), Linear approximations (today) l Hôpital s Rule (today) Newton s Method Curve sketching Optimization problems Announcements Assignment 4 is now posted. Midterm results should be available by the end of the week (assuming the scantron results are back in time). Today: Continuation of applications of derivatives:

More information

Study # 1 11, 15, 19

Study # 1 11, 15, 19 Goals: 1. Recognize Taylor Series. 2. Recognize the Maclaurin Series. 3. Derive Taylor series and Maclaurin series representations for known functions. Study 11.10 # 1 11, 15, 19 f (n) (c)(x c) n f(c)+

More information

Taylor and Maclaurin Series

Taylor and Maclaurin Series Taylor and Maclaurin Series MATH 211, Calculus II J. Robert Buchanan Department of Mathematics Spring 2018 Background We have seen that some power series converge. When they do, we can think of them as

More information

Math 578: Assignment 2

Math 578: Assignment 2 Math 578: Assignment 2 13. Determine whether the natural cubic spline that interpolates the table is or is not the x 0 1 2 3 y 1 1 0 10 function 1 + x x 3 x [0, 1] f(x) = 1 2(x 1) 3(x 1) 2 + 4(x 1) 3 x

More information

Scientific Computing

Scientific Computing 2301678 Scientific Computing Chapter 2 Interpolation and Approximation Paisan Nakmahachalasint Paisan.N@chula.ac.th Chapter 2 Interpolation and Approximation p. 1/66 Contents 1. Polynomial interpolation

More information

x 9 or x > 10 Name: Class: Date: 1 How many natural numbers are between 1.5 and 4.5 on the number line?

x 9 or x > 10 Name: Class: Date: 1 How many natural numbers are between 1.5 and 4.5 on the number line? 1 How many natural numbers are between 1.5 and 4.5 on the number line? 2 How many composite numbers are between 7 and 13 on the number line? 3 How many prime numbers are between 7 and 20 on the number

More information

Engineering Mathematics through Applications

Engineering Mathematics through Applications 89 80 Engineering Mathematics through Applications Finite Differences, Numerical Differentiations and Integrations 8 8 Engineering Mathematics through Applications Finite Differences, Numerical Differentiations

More information

Chapter 2: Differentiation

Chapter 2: Differentiation Chapter 2: Differentiation Spring 2018 Department of Mathematics Hong Kong Baptist University 1 / 82 2.1 Tangent Lines and Their Slopes This section deals with the problem of finding a straight line L

More information

CALCULUS. Berkant Ustaoğlu CRYPTOLOUNGE.NET

CALCULUS. Berkant Ustaoğlu CRYPTOLOUNGE.NET CALCULUS Berkant Ustaoğlu CRYPTOLOUNGE.NET Secant 1 Definition Let f be defined over an interval I containing u. If x u and x I then f (x) f (u) Q = x u is the difference quotient. Also if h 0, such that

More information

Chapter 4: More Applications of Differentiation

Chapter 4: More Applications of Differentiation Chapter 4: More Applications of Differentiation Winter 2016 Department of Mathematics Hong Kong Baptist University 1 / 61 In the fall of 1972, President Nixon announced that, the rate of increase of inflation

More information

Mathematical Economics: Lecture 2

Mathematical Economics: Lecture 2 Mathematical Economics: Lecture 2 Yu Ren WISE, Xiamen University September 25, 2012 Outline 1 Number Line The number line, origin (Figure 2.1 Page 11) Number Line Interval (a, b) = {x R 1 : a < x < b}

More information

Math WW09 Solutions November 24, 2008

Math WW09 Solutions November 24, 2008 Math 352- WW09 Solutions November 24, 2008 Assigned problems: 8.7 0, 6, ww 4; 8.8 32, ww 5, ww 6 Always read through the solution sets even if your answer was correct. Note that like many of the integrals

More information

Convergence of sequences and series

Convergence of sequences and series Convergence of sequences and series A sequence f is a map from N the positive integers to a set. We often write the map outputs as f n rather than f(n). Often we just list the outputs in order and leave

More information

Math 651 Introduction to Numerical Analysis I Fall SOLUTIONS: Homework Set 1

Math 651 Introduction to Numerical Analysis I Fall SOLUTIONS: Homework Set 1 ath 651 Introduction to Numerical Analysis I Fall 2010 SOLUTIONS: Homework Set 1 1. Consider the polynomial f(x) = x 2 x 2. (a) Find P 1 (x), P 2 (x) and P 3 (x) for f(x) about x 0 = 0. What is the relation

More information

Mathematics 1052, Calculus II Exam 1, April 3rd, 2010

Mathematics 1052, Calculus II Exam 1, April 3rd, 2010 Mathematics 5, Calculus II Exam, April 3rd,. (8 points) If an unknown function y satisfies the equation y = x 3 x + 4 with the condition that y()=, then what is y? Solution: We must integrate y against

More information

Review of Section 1.1. Mathematical Models. Review of Section 1.1. Review of Section 1.1. Functions. Domain and range. Piecewise functions

Review of Section 1.1. Mathematical Models. Review of Section 1.1. Review of Section 1.1. Functions. Domain and range. Piecewise functions Review of Section 1.1 Functions Mathematical Models Domain and range Piecewise functions January 19, 2017 Even and odd functions Increasing and decreasing functions Mathematical Models January 19, 2017

More information

X. Numerical Methods

X. Numerical Methods X. Numerical Methods. Taylor Approximation Suppose that f is a function defined in a neighborhood of a point c, and suppose that f has derivatives of all orders near c. In section 5 of chapter 9 we introduced

More information

UNIT-II INTERPOLATION & APPROXIMATION

UNIT-II INTERPOLATION & APPROXIMATION UNIT-II INTERPOLATION & APPROXIMATION LAGRANGE POLYNAMIAL 1. Find the polynomial by using Lagrange s formula and hence find for : 0 1 2 5 : 2 3 12 147 : 0 1 2 5 : 0 3 12 147 Lagrange s interpolation formula,

More information

King Fahd University of Petroleum and Minerals Prep-Year Math Program Math Term 161 Recitation (R1, R2)

King Fahd University of Petroleum and Minerals Prep-Year Math Program Math Term 161 Recitation (R1, R2) Math 001 - Term 161 Recitation (R1, R) Question 1: How many rational and irrational numbers are possible between 0 and 1? (a) 1 (b) Finite (c) 0 (d) Infinite (e) Question : A will contain how many elements

More information

1.2. Indices. Introduction. Prerequisites. Learning Outcomes

1.2. Indices. Introduction. Prerequisites. Learning Outcomes Indices 1.2 Introduction Indices, or powers, provide a convenient notation when we need to multiply a number by itself several times. In this Section we explain how indices are written, and state the rules

More information

SOLVED PROBLEMS ON TAYLOR AND MACLAURIN SERIES

SOLVED PROBLEMS ON TAYLOR AND MACLAURIN SERIES SOLVED PROBLEMS ON TAYLOR AND MACLAURIN SERIES TAYLOR AND MACLAURIN SERIES Taylor Series of a function f at x = a is ( f k )( a) ( x a) k k! It is a Power Series centered at a. Maclaurin Series of a function

More information

x n cos 2x dx. dx = nx n 1 and v = 1 2 sin(2x). Andreas Fring (City University London) AS1051 Lecture Autumn / 36

x n cos 2x dx. dx = nx n 1 and v = 1 2 sin(2x). Andreas Fring (City University London) AS1051 Lecture Autumn / 36 We saw in Example 5.4. that we sometimes need to apply integration by parts several times in the course of a single calculation. Example 5.4.4: For n let S n = x n cos x dx. Find an expression for S n

More information

Interpolation. P. Sam Johnson. January 30, P. Sam Johnson (NITK) Interpolation January 30, / 75

Interpolation. P. Sam Johnson. January 30, P. Sam Johnson (NITK) Interpolation January 30, / 75 Interpolation P. Sam Johnson January 30, 2015 P. Sam Johnson (NITK) Interpolation January 30, 2015 1 / 75 Overview One of the basic ideas in Mathematics is that of a function and most useful tool of numerical

More information

MATH 31B: MIDTERM 2 REVIEW. sin 2 x = 1 cos(2x) dx = x 2 sin(2x) 4. + C = x 2. dx = x sin(2x) + C = x sin x cos x

MATH 31B: MIDTERM 2 REVIEW. sin 2 x = 1 cos(2x) dx = x 2 sin(2x) 4. + C = x 2. dx = x sin(2x) + C = x sin x cos x MATH 3B: MIDTERM REVIEW JOE HUGHES. Evaluate sin x and cos x. Solution: Recall the identities cos x = + cos(x) Using these formulas gives cos(x) sin x =. Trigonometric Integrals = x sin(x) sin x = cos(x)

More information

Chapter 2: Differentiation

Chapter 2: Differentiation Chapter 2: Differentiation Winter 2016 Department of Mathematics Hong Kong Baptist University 1 / 75 2.1 Tangent Lines and Their Slopes This section deals with the problem of finding a straight line L

More information

MAT137 Calculus! Lecture 48

MAT137 Calculus! Lecture 48 official website http://uoft.me/mat137 MAT137 Calculus! Lecture 48 Today: Taylor Series Applications Next: Final Exams Important Taylor Series and their Radii of Convergence 1 1 x = e x = n=0 n=0 x n n!

More information

100 CHAPTER 4. SYSTEMS AND ADAPTIVE STEP SIZE METHODS APPENDIX

100 CHAPTER 4. SYSTEMS AND ADAPTIVE STEP SIZE METHODS APPENDIX 100 CHAPTER 4. SYSTEMS AND ADAPTIVE STEP SIZE METHODS APPENDIX.1 Norms If we have an approximate solution at a given point and we want to calculate the absolute error, then we simply take the magnitude

More information

Interpolation APPLIED PROBLEMS. Reading Between the Lines FLY ROCKET FLY, FLY ROCKET FLY WHAT IS INTERPOLATION? Figure Interpolation of discrete data.

Interpolation APPLIED PROBLEMS. Reading Between the Lines FLY ROCKET FLY, FLY ROCKET FLY WHAT IS INTERPOLATION? Figure Interpolation of discrete data. WHAT IS INTERPOLATION? Given (x 0,y 0 ), (x,y ), (x n,y n ), find the value of y at a value of x that is not given. Interpolation Reading Between the Lines Figure Interpolation of discrete data. FLY ROCKET

More information

Grade 11/12 Math Circles Elliptic Curves Dr. Carmen Bruni November 4, 2015

Grade 11/12 Math Circles Elliptic Curves Dr. Carmen Bruni November 4, 2015 Faculty of Mathematics Waterloo, Ontario N2L 3G1 Centre for Education in Mathematics and Computing Grade 11/12 Math Circles Elliptic Curves Dr. Carmen Bruni November 4, 2015 Revisit the Congruent Number

More information

Math 1552: Integral Calculus Final Exam Study Guide, Spring 2018

Math 1552: Integral Calculus Final Exam Study Guide, Spring 2018 Math 55: Integral Calculus Final Exam Study Guide, Spring 08 PART : Concept Review (Note: concepts may be tested on the exam in the form of true/false or short-answer questions.). Complete each statement

More information

f (r) (a) r! (x a) r, r=0

f (r) (a) r! (x a) r, r=0 Part 3.3 Differentiation v1 2018 Taylor Polynomials Definition 3.3.1 Taylor 1715 and Maclaurin 1742) If a is a fixed number, and f is a function whose first n derivatives exist at a then the Taylor polynomial

More information

Curve Fitting. Objectives

Curve Fitting. Objectives Curve Fitting Objectives Understanding the difference between regression and interpolation. Knowing how to fit curve of discrete with least-squares regression. Knowing how to compute and understand the

More information

1 Piecewise Cubic Interpolation

1 Piecewise Cubic Interpolation Piecewise Cubic Interpolation Typically the problem with piecewise linear interpolation is the interpolant is not differentiable as the interpolation points (it has a kinks at every interpolation point)

More information

Section September 6, If n = 3, 4, 5,..., the polynomial is called a cubic, quartic, quintic, etc.

Section September 6, If n = 3, 4, 5,..., the polynomial is called a cubic, quartic, quintic, etc. Section 2.1-2.2 September 6, 2017 1 Polynomials Definition. A polynomial is an expression of the form a n x n + a n 1 x n 1 + + a 1 x + a 0 where each a 0, a 1,, a n are real numbers, a n 0, and n is a

More information

Introduction and Review of Power Series

Introduction and Review of Power Series Introduction and Review of Power Series Definition: A power series in powers of x a is an infinite series of the form c n (x a) n = c 0 + c 1 (x a) + c 2 (x a) 2 +...+c n (x a) n +... If a = 0, this is

More information

NUMERICAL METHODS. x n+1 = 2x n x 2 n. In particular: which of them gives faster convergence, and why? [Work to four decimal places.

NUMERICAL METHODS. x n+1 = 2x n x 2 n. In particular: which of them gives faster convergence, and why? [Work to four decimal places. NUMERICAL METHODS 1. Rearranging the equation x 3 =.5 gives the iterative formula x n+1 = g(x n ), where g(x) = (2x 2 ) 1. (a) Starting with x = 1, compute the x n up to n = 6, and describe what is happening.

More information

CALCULUS ASSESSMENT REVIEW

CALCULUS ASSESSMENT REVIEW CALCULUS ASSESSMENT REVIEW DEPARTMENT OF MATHEMATICS CHRISTOPHER NEWPORT UNIVERSITY 1. Introduction and Topics The purpose of these notes is to give an idea of what to expect on the Calculus Readiness

More information

7x 5 x 2 x + 2. = 7x 5. (x + 1)(x 2). 4 x

7x 5 x 2 x + 2. = 7x 5. (x + 1)(x 2). 4 x Advanced Integration Techniques: Partial Fractions The method of partial fractions can occasionally make it possible to find the integral of a quotient of rational functions. Partial fractions gives us

More information

LECTURE 16 GAUSS QUADRATURE In general for Newton-Cotes (equispaced interpolation points/ data points/ integration points/ nodes).

LECTURE 16 GAUSS QUADRATURE In general for Newton-Cotes (equispaced interpolation points/ data points/ integration points/ nodes). CE 025 - Lecture 6 LECTURE 6 GAUSS QUADRATURE In general for ewton-cotes (equispaced interpolation points/ data points/ integration points/ nodes). x E x S fx dx hw' o f o + w' f + + w' f + E 84 f 0 f

More information

INFINITE SEQUENCES AND SERIES

INFINITE SEQUENCES AND SERIES 11 INFINITE SEQUENCES AND SERIES INFINITE SEQUENCES AND SERIES In section 11.9, we were able to find power series representations for a certain restricted class of functions. INFINITE SEQUENCES AND SERIES

More information

Section 8.7. Taylor and MacLaurin Series. (1) Definitions, (2) Common Maclaurin Series, (3) Taylor Polynomials, (4) Applications.

Section 8.7. Taylor and MacLaurin Series. (1) Definitions, (2) Common Maclaurin Series, (3) Taylor Polynomials, (4) Applications. Section 8.7 Taylor and MacLaurin Series (1) Definitions, (2) Common Maclaurin Series, (3) Taylor Polynomials, (4) Applications. MATH 126 (Section 8.7) Taylor and MacLaurin Series The University of Kansas

More information

b n x n + b n 1 x n b 1 x + b 0

b n x n + b n 1 x n b 1 x + b 0 Math Partial Fractions Stewart 7.4 Integrating basic rational functions. For a function f(x), we have examined several algebraic methods for finding its indefinite integral (antiderivative) F (x) = f(x)

More information

AP Calculus BC Scope & Sequence

AP Calculus BC Scope & Sequence AP Calculus BC Scope & Sequence Grading Period Unit Title Learning Targets Throughout the School Year First Grading Period *Apply mathematics to problems in everyday life *Use a problem-solving model that

More information

Practice Final Exam Solutions

Practice Final Exam Solutions Important Notice: To prepare for the final exam, study past exams and practice exams, and homeworks, quizzes, and worksheets, not just this practice final. A topic not being on the practice final does

More information

Preliminary Examination in Numerical Analysis

Preliminary Examination in Numerical Analysis Department of Applied Mathematics Preliminary Examination in Numerical Analysis August 7, 06, 0 am pm. Submit solutions to four (and no more) of the following six problems. Show all your work, and justify

More information

Power Series in Differential Equations

Power Series in Differential Equations Power Series in Differential Equations Prof. Doug Hundley Whitman College April 18, 2014 Last time: Review of Power Series (5.1) The series a n (x x 0 ) n can converge either: Last time: Review of Power

More information

Section Example Determine the Maclaurin series of f (x) = e x and its the interval of convergence.

Section Example Determine the Maclaurin series of f (x) = e x and its the interval of convergence. Example Determine the Maclaurin series of f (x) = e x and its the interval of convergence. Example Determine the Maclaurin series of f (x) = e x and its the interval of convergence. f n (0)x n Recall from

More information

1.4 Techniques of Integration

1.4 Techniques of Integration .4 Techniques of Integration Recall the following strategy for evaluating definite integrals, which arose from the Fundamental Theorem of Calculus (see Section.3). To calculate b a f(x) dx. Find a function

More information

Taylor Series. richard/math230 These notes are taken from Calculus Vol I, by Tom M. Apostol,

Taylor Series.  richard/math230 These notes are taken from Calculus Vol I, by Tom M. Apostol, Taylor Series Professor Richard Blecksmith richard@math.niu.edu Dept. of Mathematical Sciences Northern Illinois University http://math.niu.edu/ richard/math230 These notes are taken from Calculus Vol

More information

MATHEMATICAL FORMULAS AND INTEGRALS

MATHEMATICAL FORMULAS AND INTEGRALS HANDBOOK OF MATHEMATICAL FORMULAS AND INTEGRALS Second Edition ALAN JEFFREY Department of Engineering Mathematics University of Newcastle upon Tyne Newcastle upon Tyne United Kingdom ACADEMIC PRESS A Harcourt

More information

We consider the problem of finding a polynomial that interpolates a given set of values:

We consider the problem of finding a polynomial that interpolates a given set of values: Chapter 5 Interpolation 5. Polynomial Interpolation We consider the problem of finding a polynomial that interpolates a given set of values: x x 0 x... x n y y 0 y... y n where the x i are all distinct.

More information

Math 181, Exam 2, Study Guide 2 Problem 1 Solution. 1 + dx. 1 + (cos x)2 dx. 1 + cos2 xdx. = π ( 1 + cos π 2

Math 181, Exam 2, Study Guide 2 Problem 1 Solution. 1 + dx. 1 + (cos x)2 dx. 1 + cos2 xdx. = π ( 1 + cos π 2 Math 8, Exam, Study Guide Problem Solution. Use the trapezoid rule with n to estimate the arc-length of the curve y sin x between x and x π. Solution: The arclength is: L b a π π + ( ) dy + (cos x) + cos

More information

How might we evaluate this? Suppose that, by some good luck, we knew that. x 2 5. x 2 dx 5

How might we evaluate this? Suppose that, by some good luck, we knew that. x 2 5. x 2 dx 5 8.4 1 8.4 Partial Fractions Consider the following integral. 13 2x (1) x 2 x 2 dx How might we evaluate this? Suppose that, by some good luck, we knew that 13 2x (2) x 2 x 2 = 3 x 2 5 x + 1 We could then

More information

1 Lecture 8: Interpolating polynomials.

1 Lecture 8: Interpolating polynomials. 1 Lecture 8: Interpolating polynomials. 1.1 Horner s method Before turning to the main idea of this part of the course, we consider how to evaluate a polynomial. Recall that a polynomial is an expression

More information

Taylor and Maclaurin Series. Approximating functions using Polynomials.

Taylor and Maclaurin Series. Approximating functions using Polynomials. Taylor and Maclaurin Series Approximating functions using Polynomials. Approximating f x = e x near x = 0 In order to approximate the function f x = e x near x = 0, we can use the tangent line (The Linear

More information

Interpolation and Polynomial Approximation I

Interpolation and Polynomial Approximation I Interpolation and Polynomial Approximation I If f (n) (x), n are available, Taylor polynomial is an approximation: f (x) = f (x 0 )+f (x 0 )(x x 0 )+ 1 2! f (x 0 )(x x 0 ) 2 + Example: e x = 1 + x 1! +

More information