Taylor Series
1
Open
At the end of the lecture you
will be able to
 Understand Taylor series and how to use it to
approximate the values of a function
 Understand how to write forward, backward,
and centered finite difference approximation
for first and second derivative.
2
Open
 This theorem states that any smooth
function can be approximated by a
polynomial
 Using it, we can predict the value of
a function at one point in terms of
the values of the function and its
derivatives at another point
3
Open
Quick Notes on Taylor Series
 The Taylor expansion about x=a, is given as
 with
 Is called as the remainder or error of the Taylor series
4
Open
5
To obtain a high degree of accuracy in approximating a
function, use more terms in the Taylor Series
i
x 1

i
x x
)
(x
f
Zero Order
First Order
Second Order
h
Taylor series approximation of a function
Open
If a=0, the Taylor series is known
as Maclaurin series.
6
Open
or
7
Open
Example 3
Solution.
Thus
8
Open
Example 4
 Find the Taylor series of sin(x) about x=0.
 Solution:
9
Open
10
This pattern will repeat. Thus the Taylor series for sin(x)
about x=0 is
Find the Taylor series for f(x)=cos(x) about x=0 and x=pi/4.
Open
Exercise
Exercise
Use zero- through third-order Taylor series expansions to
predict f(2) for
f(x) = 25x3 - 6x2 +7x - 88
using a base point at x =1. Compute the true percent relative
error t for each approximation.
11
Open

Unit One - error analysis on Taylor series Part 2.ppt

  • 1.
  • 2.
    At the endof the lecture you will be able to  Understand Taylor series and how to use it to approximate the values of a function  Understand how to write forward, backward, and centered finite difference approximation for first and second derivative. 2 Open
  • 3.
     This theoremstates that any smooth function can be approximated by a polynomial  Using it, we can predict the value of a function at one point in terms of the values of the function and its derivatives at another point 3 Open
  • 4.
    Quick Notes onTaylor Series  The Taylor expansion about x=a, is given as  with  Is called as the remainder or error of the Taylor series 4 Open
  • 5.
    5 To obtain ahigh degree of accuracy in approximating a function, use more terms in the Taylor Series i x 1  i x x ) (x f Zero Order First Order Second Order h Taylor series approximation of a function Open
  • 6.
    If a=0, theTaylor series is known as Maclaurin series. 6 Open
  • 7.
  • 8.
  • 9.
    Example 4  Findthe Taylor series of sin(x) about x=0.  Solution: 9 Open
  • 10.
    10 This pattern willrepeat. Thus the Taylor series for sin(x) about x=0 is Find the Taylor series for f(x)=cos(x) about x=0 and x=pi/4. Open Exercise
  • 11.
    Exercise Use zero- throughthird-order Taylor series expansions to predict f(2) for f(x) = 25x3 - 6x2 +7x - 88 using a base point at x =1. Compute the true percent relative error t for each approximation. 11 Open