Академический Документы
Профессиональный Документы
Культура Документы
Recall in the first quarter of Calculus, we discussed how to find the tangent line
approximation of a function. That is, we said that near x =a,
( ) ( ) ( )( ) f x f a f a x a ' ~ +
Pictorially, we have the following diagram. (The true function f(x) appears in blue and
the tangent line approximation appears in red.)
a x
x
fa fa
f'ax-a
x-a
Approximate
value of fx
True value of fx
Figure 1: Tangent line approximation of f(x) near x = a
This tangent line approximation is a special case of a Taylor Polynomial. In particular,
it is defined as the Degree 1 Taylor Polynomial approximation of f(x) for x near a. We
shall denote this by P
1
(x). We record this as the following:
Degree 1 Taylor Polynomial approximation of f(x) for x near a
1
( ) ( ) ( ) ( )( ) f x P x f a f a x a ' ~ = +
Example 1:
Find the Degree 1 Taylor Polynomial approximation of f(x) =e
x
for x near 0.
Solution:
Notice that f(0) =e
(0)
=1, and ( )
x
f x e
' = , so
(0)
(0) 1 f e
x
So, we have that
2
2
2
1
( ) 1 1
2! 2
x
x
e P x x x x
~ = + = + .
There is no reason why we need to stop with only a degree 2 polynomial. Using
exactly the same approach as above, we can derive the Degree n Taylor Polynomial of f(x)
for x near a.
Degree n Taylor Polynomial approximation of f(x) for x near a
( )
2 3
( ) ( )
( ) ( ) ( )
( ) ( )( ) ( ) ( ) ... ( )
2! 3! !
n
n
n
f x P x
f a f a f a
f a f a x a x a x a x a
n
~
'' '''
' = + + + + +
Recall, n! =n(n 1)(2)(1).
Example 3:
Construct the Degree 5 Taylor polynomial of sin(x) for x near p.
Solution:
To determine the coefficients, we need to compute the first five derivatives of the
function f(x) =sin(x) and evaluate them at x =p. We have the following table of values
( )
( )
0 1 2 3 4 5
( ) sin( ) cos( ) sin( ) cos( ) sin( ) cos( )
( ) 0 1 0 1 0 1
n
n
n
f x x x x x x x
f t
So, we have that
2 3 4 5
5
3 5
0 1 0 1
sin( ) ( ) 0 1( ) ( ) ( ) ( ) (
2! 3! 4! 5!
1 1
( ) ( ) ( )
3! 5!
x P x x x x x x
x x x
) t t t t t
t t t
~ = + + +
= +
3
Example 4:
Construct the Degree n Taylor polynomial of e
x
for x near 0.
Solution:
Since the derivative of e
x
is equal to e
x
, we have that
( ) 0
(0) 1
n
f e = = for all n. Thus, it
follows that
2 3
1 1
( ) ( ) 1 ...
2! 3! !
n
0
1 1
!
n
n k
k
f x P x x x x ~ = + + + + + x x
n k
=
=
+ = + + .
4