Taylor Series Revisited

Slides:



Advertisements
Similar presentations
Copyright © Cengage Learning. All rights reserved.
Advertisements

Taylor Series (11/12/08) Given a nice smooth function f (x): What is the best constant function to approximate it near 0? Best linear function to approximate.
7/2/ Backward Divided Difference Major: All Engineering Majors Authors: Autar Kaw, Sri Harsha Garapati
Taylor Series (4/7/06) We have seen that if f(x) is a function for which we can compute all of its derivatives (i.e., first derivative f '(x), second derivative.
Representing Functions by Power Series. A power series is said to represent a function f with a domain equal to the interval I of convergence of the series.
8/8/ Euler Method Major: All Engineering Majors Authors: Autar Kaw, Charlie Barker
8/15/ Differentiation-Continuous Functions Major: All Engineering Majors Authors: Autar Kaw, Sri Harsha Garapati.
9/14/ Trapezoidal Rule of Integration Major: All Engineering Majors Authors: Autar Kaw, Charlie Barker
Infinite Series Copyright © Cengage Learning. All rights reserved.
Taylor’s Polynomials & LaGrange Error Review
Consider the following: Now, use the reciprocal function and tangent line to get an approximation. Lecture 31 – Approximating Functions
Now that you’ve found a polynomial to approximate your function, how good is your polynomial? Find the 6 th degree Maclaurin polynomial for For what values.
MECN 3500 Lecture 4 Numerical Methods for Engineering MECN 3500 Professor: Dr. Omar E. Meza Castillo
9.7 and 9.10 Taylor Polynomials and Taylor Series.
10/27/ Differentiation-Continuous Functions Computer Engineering Majors Authors: Autar Kaw, Sri Harsha Garapati.
11/16/ Euler Method Electrical Engineering Majors Authors: Autar Kaw, Charlie Barker
12/1/ Trapezoidal Rule of Integration Civil Engineering Majors Authors: Autar Kaw, Charlie Barker
The Convergence Problem Recall that the nth Taylor polynomial for a function f about x = x o has the property that its value and the values of its first.
Sect. 9-B LAGRANGE error or Remainder
Remainder Theorem. The n-th Talor polynomial The polynomial is called the n-th Taylor polynomial for f about c.
3/12/ Trapezoidal Rule of Integration Computer Engineering Majors Authors: Autar Kaw, Charlie Barker
3/20/ Trapezoidal Rule of Integration Chemical Engineering Majors Authors: Autar Kaw, Charlie Barker
Infinite Series 9 Copyright © Cengage Learning. All rights reserved.
Trapezoidal Rule of Integration
Civil Engineering Majors Authors: Autar Kaw, Charlie Barker
Copyright © Cengage Learning. All rights reserved.
Gauss Quadrature Rule of Integration
Computer Engineering Majors Authors: Autar Kaw, Charlie Barker
Lecture 25 – Power Series Def: The power series centered at x = a:
Differentiation-Continuous Functions
Section 11.3 – Power Series.
The Taylor Polynomial Remainder (aka: the Lagrange Error Bound)
Central Divided Difference
Mechanical Engineering Majors Authors: Autar Kaw, Charlie Barker
Chemical Engineering Majors Authors: Autar Kaw, Charlie Barker
The LaGrange Error Estimate
Section 8: Alternating Series
Binary Representation
Taylor Polynomials & Approximation (9.7)
Remainder of a Taylor Polynomial
Polynomial Approximations of Elementary Functions
Taylor and MacLaurin Series
Clicker Question 1 What is the interval of convergence of A. (-, )
Trapezoidal Rule of Integration
Trapezoidal Rule of Integration
Sources of Error Major: All Engineering Majors
Section 11.3 Power Series.
Clicker Question 1 What is the interval of convergence of A. (-, )
Taylor Series and Maclaurin Series
Power, Taylor and Maclaurin Series
Gauss Quadrature Rule of Integration
Major: All Engineering Majors Authors: Autar Kaw, Matthew Emmons
11.1 – Polynomial Approximations of Functions
Section 11.6 – Taylor’s Formula with Remainder
Simpson’s 1/3rd Rule of Integration
Section 2: Intro to Taylor Polynomials
Sources of Error Major: All Engineering Majors
Measuring Errors Major: All Engineering Majors
Forward Divided Difference
Simpson’s 1/3rd Rule of Integration
Simpson’s 1/3rd Rule of Integration
Simpson’s 1/3rd Rule of Integration
9.7 Taylor Polynomials & Approximations
Forward Divided Difference
Sources of Error Major: All Engineering Majors
9.2 Taylor Series.
Copyright © Cengage Learning. All rights reserved.
Lagrange Remainder.
Section 8.9: Applications of Taylor Polynomials
TAYLOR SERIES Maclaurin series ( center is 0 )
Presentation transcript:

Taylor Series Revisited Major: All Engineering Majors Authors: Autar Kaw, Luke Snyder http://numericalmethods.eng.usf.edu Numerical Methods for STEM undergraduates 12/4/2018 http://numericalmethods.eng.usf.edu

What is a Taylor series? Some examples of Taylor series which you must have seen http://numericalmethods.eng.usf.edu

General Taylor Series The general form of the Taylor series is given by provided that all derivatives of f(x) are continuous and exist in the interval [x,x+h] What does this mean in plain English? As Archimedes would have said, “Give me the value of the function at a single point, and the value of all (first, second, and so on) its derivatives at that single point, and I can give you the value of the function at any other point” (fine print excluded) http://numericalmethods.eng.usf.edu

Example—Taylor Series Find the value of given that and all other higher order derivatives of at are zero. Solution: http://numericalmethods.eng.usf.edu

Example (cont.) Solution: (cont.) Since the higher order derivatives are zero, Note that to find exactly, we only need the value of the function and all its derivatives at some other point, in this case http://numericalmethods.eng.usf.edu

Derivation for Maclaurin Series for ex Derive the Maclaurin series The Maclaurin series is simply the Taylor series about the point x=0 http://numericalmethods.eng.usf.edu

Derivation (cont.) Since and the Maclaurin series is then So, http://numericalmethods.eng.usf.edu

Error in Taylor Series The Taylor polynomial of order n of a function f(x) with (n+1) continuous derivatives in the domain [x,x+h] is given by where the remainder is given by where that is, c is some point in the domain [x,x+h] http://numericalmethods.eng.usf.edu

Example—error in Taylor series The Taylor series for at point is given by It can be seen that as the number of terms used increases, the error bound decreases and hence a better estimate of the function can be found. How many terms would it require to get an approximation of e1 within a magnitude of true error of less than 10-6. http://numericalmethods.eng.usf.edu

Example—(cont.) Solution: Using terms of Taylor series gives error bound of Since http://numericalmethods.eng.usf.edu

Example—(cont.) Solution: (cont.) So if we want to find out how many terms it would require to get an approximation of within a magnitude of true error of less than , So 9 terms or more are needed to get a true error less than http://numericalmethods.eng.usf.edu