taylor series revisited
DESCRIPTION
Taylor Series Revisited. Major: All Engineering Majors Authors: Autar Kaw, Luke Snyder http://numericalmethods.eng.usf.edu Transforming Numerical Methods Education for STEM Undergraduates. Taylor Series Revisited http://numericalmethods.eng.usf.edu. What is a Taylor series?. - PowerPoint PPT PresentationTRANSCRIPT
![Page 1: Taylor Series Revisited](https://reader033.vdocuments.site/reader033/viewer/2022050802/56815b1f550346895dc8d3e6/html5/thumbnails/1.jpg)
04/22/23http://
numericalmethods.eng.usf.edu 1
Taylor Series RevisitedMajor: All Engineering Majors
Authors: Autar Kaw, Luke Snyder
http://numericalmethods.eng.usf.eduTransforming Numerical Methods Education for STEM
Undergraduates
![Page 2: Taylor Series Revisited](https://reader033.vdocuments.site/reader033/viewer/2022050802/56815b1f550346895dc8d3e6/html5/thumbnails/2.jpg)
Taylor Series Revisited
http://numericalmethods.eng.usf.edu
![Page 3: Taylor Series Revisited](https://reader033.vdocuments.site/reader033/viewer/2022050802/56815b1f550346895dc8d3e6/html5/thumbnails/3.jpg)
http://numericalmethods.eng.usf.edu3
What is a Taylor series?Some examples of Taylor series which you must have seen
!6!4!2
1)cos(642 xxxx
!7!5!3
)sin(753 xxxxx
!3!2
132 xxxe x
![Page 4: Taylor Series Revisited](https://reader033.vdocuments.site/reader033/viewer/2022050802/56815b1f550346895dc8d3e6/html5/thumbnails/4.jpg)
http://numericalmethods.eng.usf.edu4
General Taylor SeriesThe general form of the Taylor series is given by
32
!3!2hxfhxfhxfxfhxf
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)
![Page 5: Taylor Series Revisited](https://reader033.vdocuments.site/reader033/viewer/2022050802/56815b1f550346895dc8d3e6/html5/thumbnails/5.jpg)
http://numericalmethods.eng.usf.edu5
Example—Taylor SeriesFind the value of
6f given that
,1254 f ,744 f ,304 f 64 f and all other higher order
derivativesof xf at
4x are zero.Solution:
!3!2
32 hxfhxfhxfxfhxf4x
246 h
![Page 6: Taylor Series Revisited](https://reader033.vdocuments.site/reader033/viewer/2022050802/56815b1f550346895dc8d3e6/html5/thumbnails/6.jpg)
http://numericalmethods.eng.usf.edu6
Example (cont.)Solution: (cont.)Since the higher order derivatives are zero,
!3
24!2
242442432
fffff
!326
!22302741256
32
f
860148125
341
Note that to find
6f exactly, we only need the valueof the function and all its derivatives at some
other point, in this case4x
![Page 7: Taylor Series Revisited](https://reader033.vdocuments.site/reader033/viewer/2022050802/56815b1f550346895dc8d3e6/html5/thumbnails/7.jpg)
http://numericalmethods.eng.usf.edu7
Derivation for Maclaurin Series for ex
Derive the Maclaurin series
!3!2
132 xxxe x
The Maclaurin series is simply the Taylor series about the point x=0
54!3!2
5432 hxfhxfhxfhxfhxfxfhxf
5
04
0!3
0!2
00005432 hfhfhfhfhffhf
![Page 8: Taylor Series Revisited](https://reader033.vdocuments.site/reader033/viewer/2022050802/56815b1f550346895dc8d3e6/html5/thumbnails/8.jpg)
http://numericalmethods.eng.usf.edu8
Derivation (cont.)Since
xnxxx exfexfexfexf )( , ... , )( , )( , )( and1)0( 0 ef n
the Maclaurin series is then...
!3)(
!2)()()()( 3
02
000 heheheehf
...!3
1!2
11 32 hhh
So,...
!3!21)(
32
xxxxf
![Page 9: Taylor Series Revisited](https://reader033.vdocuments.site/reader033/viewer/2022050802/56815b1f550346895dc8d3e6/html5/thumbnails/9.jpg)
http://numericalmethods.eng.usf.edu9
Error in Taylor Series
xRnhxfhxfhxfxfhxf n
nn
!!2''
2
where the remainder is given by cf
nhxxR nn
n1
1
)!1(
wherehxcx
that is, c is some point in the domain [x,x+h]
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
![Page 10: Taylor Series Revisited](https://reader033.vdocuments.site/reader033/viewer/2022050802/56815b1f550346895dc8d3e6/html5/thumbnails/10.jpg)
http://numericalmethods.eng.usf.edu10
Example—error in Taylor series
The Taylor series for
xe at point
0x is given by
!5!4!3!21
5432 xxxxxe x
It can be seen that as the number of terms usedincreases, the error bound decreases and hence abetter 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.
![Page 11: Taylor Series Revisited](https://reader033.vdocuments.site/reader033/viewer/2022050802/56815b1f550346895dc8d3e6/html5/thumbnails/11.jpg)
http://numericalmethods.eng.usf.edu11
Example—(cont.)Solution:Using
1n terms of Taylor series gives error
bound of
cf
nhxxR nn
n1
1
!1
xexfhx )(,1,0
cfn
R nn
n1
1
!1100
cn
en !1
1 1
Sincehxcx 100 c
10 c
)!1(0
)!1(1
neR
n n
![Page 12: Taylor Series Revisited](https://reader033.vdocuments.site/reader033/viewer/2022050802/56815b1f550346895dc8d3e6/html5/thumbnails/12.jpg)
http://numericalmethods.eng.usf.edu12
Example—(cont.)Solution: (cont.)So if we want to find out how many terms it wouldrequire to get an approximation of
1e within amagnitude of true error of less than
610 ,610
)!1(
ne
en 610)!1(
310)!1( 6 n9n
So 9 terms or more are needed to get a true errorless than 610
![Page 13: Taylor Series Revisited](https://reader033.vdocuments.site/reader033/viewer/2022050802/56815b1f550346895dc8d3e6/html5/thumbnails/13.jpg)
Additional ResourcesFor all resources on this topic such as digital audiovisual lectures, primers, textbook chapters, multiple-choice tests, worksheets in MATLAB, MATHEMATICA, MathCad and MAPLE, blogs, related physical problems, please visit http://numericalmethods.eng.usf.edu/topics/taylor_series.html
![Page 14: Taylor Series Revisited](https://reader033.vdocuments.site/reader033/viewer/2022050802/56815b1f550346895dc8d3e6/html5/thumbnails/14.jpg)
THE END
http://numericalmethods.eng.usf.edu