Find the local linear approximationof f(x) = ex at x = 0.
Find the local quadratic approximationof f(x) = ex at x = 0.
we want to find a second degree polynomial of the form:
20 1 2 P x a a x a x
xf x e at 0x that approximates the behavior of
If we make , and the first, and the second, derivatives the same, then we would have a pretty good approximation.
0 0P f
20 1 2 P x a a x a x xf x e
xf x e
00 1 f e
20 1 2 P x a a x a x
00P a 0 1a
xf x e
00 1 f e
1 22 P x a a x
10P a 1 1a
xf x e
00 1 f e
22 P x a
20 2P a 2
1
2a
Suppose we wanted to find a fourth degree polynomial of the form:
2 3 40 1 2 3 4P x a a x a x a x a x
ln 1f x x at 0x that approximates the behavior of
If we make , and the first, second, third and fourth derivatives the same, then we would have a pretty good approximation.
0 0P f
2 3 40 1 2 3 4P x a a x a x a x a x ln 1f x x
ln 1f x x
0 ln 1 0f
2 3 40 1 2 3 4P x a a x a x a x a x
00P a 0 0a
1
1f x
x
10 1
1f
2 31 2 3 42 3 4P x a a x a x a x
10P a 1 1a
2
1
1f x
x
10 1
1f
22 3 42 6 12P x a a x a x
20 2P a 2
1
2a
2 3 40 1 2 3 4P x a a x a x a x a x ln 1f x x
3
12
1f x
x
0 2f
3 46 24P x a a x
30 6P a 3
2
6a
4
4
16
1f x
x
4 0 6f
4424P x a
440 24P a 4
6
24a
2
1
1f x
x
10 1
1f
22 3 42 6 12P x a a x a x
20 2P a 2
1
2a
2 3 40 1 2 3 4P x a a x a x a x a x ln 1f x x
2 3 41 2 60 1
2 6 24P x x x x x
2 3 4
02 3 4
x x xP x x ln 1f x x
P x
f x
If we plot both functions, we see that near zero the functions match very well!
This pattern occurs no matter what the original function was!
Our polynomial: 2 3 41 2 60 1
2 6 24x x x x
has the form: 42 3 40 0 0
0 02 6 24
f f ff f x x x x
or: 42 3 40 0 0 0 0
0! 1! 2! 3! 4!
f f f f fx x x x
Maclaurin Series:
(generated by f at )0x
2 30 00 0
2! 3!
f fP x f f x x x
If we want to center the series (and it’s graph) at some point other than zero, we get the Taylor Series:
Taylor Series:
(generated by f at )x a
2 3
2! 3!
f a f aP x f a f a x a x a x a
lnf x x 1 ln 1 0 f
1 f xx
11 1
1 f
2
1 f xx
2
11 1
1 f
2 31 11 1 1 1 1
2! 3!
f fP x f f x x x
3
2 f xx
3
21 2
1 f
4
4
6f x
x
4
4
61 6
1 f
2 3 41 2 60 1 1 1 1 1
2! 3! 4!
P x x x x x
2 3 41 2 61 1 1 1
2 6 24
P x x x x x
2 3 41 1 11 1 1 1
2 3 4 P x x x x x
2 3 41 1 1ln 1 1 1 1
2 3 4x x x x x
1
1
11 1n n
n
xn
2 1
1
1 1lim
1 1 1
n n
n nn
x nL
n x
1 1lim
1 1
n
nn
x x n
n x
1lim
1n
x n
n
1x
If the limit of the ratio between consecutive terms is less than one, then the series will converge.
11
1nn
n n
aa
a a
1 1x
1 1 1x 0 2x
The interval of convergence is (0,2].
The radius of convergence is 1.
If the limit of the ratio between consecutive terms is less than one, then the series will converge.
1 2 1
1 1 1
1 1 10 1 0 1 1
n n n
n n n
xn n n
1 1
1 1
1 12 1 2 1 1
n n n
n n
xn n
2 3 4 5 61 0 1 0 1
1 0 2! 3! 4! 5! 6!
x x x x xP x x
cosy x
cosf x x 0 1f
sinf x x 0 0f
cosf x x 0 1f
sinf x x 0 0f
4 cosf x x 4 0 1f
2 4 6 8 10
1 2! 4! 6! 8! 10!
x x x x xP x
2
0
( 1)
(2 )!
n n
n
x
n
cosy x 2 4 6 8 10
1 2! 4! 6! 8! 10!
x x x x xP x
The more terms we add, the better our approximation.
For
use the Ratio Test to determine the interval of convergence.
2 4 6 2
0
( 1)1 ...
2! 4! 6! (2 )!
n n
n
x x x x
n
22 4 6
0
1cos 1
2! 4! 6! 2 !
n n
n
xx x xx
n
2 2
2
(2 )!lim
(2 2)!
n
nn
x n
n x
2 2
2
(2 )!lim
(2 2)!
n
nn
n x
n x
21lim
(2 2)(2 1)
nx
n n0
If the limit of the ratio between consecutive terms is less than one, then the series will converge.
11
1nn
n n
aa
a a
The interval of convergence is ,
When referring to Taylor polynomials, we can talk about number of terms, order or degree.
2 4
cos 12! 4!
x xx
This is a polynomial with 3 positive terms.
It is a 4th order Taylor polynomial, because it was found using the 4th derivative.
It is also a 4th degree polynomial, because x is raised to the 4th power.
The 3rd order polynomial for is , but it is degree 2.
cos x2
12!
x
The x3 term drops out when using the third derivative.
This is also the 2nd order polynomial.
A recent AP exam required the student to know the difference between order and degree.
2 30 00 0
2! 3!
f fP x f f x x x
cos x
cos x
sin x
cos x
sin x
cos x
1
0
1
0
1
0nf nf x
2 3 4cos2! 3!
1 0
4!
11 0x x x x x
2 4 6
cos 1 2! 4! 6!
x x xx
Both sides are even functions.
Cos (0) = 1 for both sides.
2 30 00 0
2! 3!
f fP x f f x x x
sin x
sin x
cos x
sin x
cos x
sin x
0
1
0
1
0
0nf nf x
2 3 4sin2
0 1 00 1
! 3! 4!x x x x x
3 5 7
sin 3! 5! 7!
x x xx x
Both sides are odd functions.
Sin (0) = 0 for both sides.
What is the interval of convergence for the sine series?
3 5 7
...3! 5! 7!
x x xx
2 1
0
( 1)
(2 1)!
n n
n
x
n
2 4 6 2
0
( 1)cos( ) 1 ...
2! 4! 6! 2 !
n n
n
x x x xx
n
2 3
0
1 ...2! 3! !
nx
n
x x xe x
n
3 5 7 2 1
0
( 1)sin( ) ...
3! 5! 7! (2 1)!
n n
n
x x x xx x
n
2 3
0
11 ...
1n
n
x x x xx
2 3 4 1
1
( 1) ( 1) ( 1) ( 1) ( 1)ln( ) ( 1) ...
2 3 4
n n
n
x x x xx x
n
Power series for elementary functions
Interval of Convergence
( , )
( , )
( , )
( 1,1)
(0,2]
Top Related