Professional Documents
Culture Documents
DEFINITION: A McLaurin Series for a function f(x) is a power series M(x) with center 0:
f ( n) ( 0 )
f ( x) M( x) c n x , with coefficients c n
n
n 0
n!
The coefficients arise from matching the derivatives of all orders for the function and the series:
f ( n) ( 0 )
M ( n) ( x ) f ( n ) ( x ) cn n 0, 1, 2, .....
n!
Some famous MacLaurin series are:
xn x 2 x3 x 4
ex
n 0 n!
1 x
2! 3! 4 !
( 1) n x 3 x 5 x7 x 9
sin x x 2 n 1
x
n 0 2n 1 ! 3! 5! 7 ! 9 !
( 1) n 2n
x 2 x 4 x6 x8
cos x x 1
n 0 2n ! 2! 4 ! 6 ! 8 !
EXAMPLE: The value of Euler’s number, e, can be approximated using the McLaurin series
for ex, evaluated at 1:
1n
1 1 1
e e 1
1 1
n 0 n ! 2! 3 ! 4 !
The partial sums of this series approximate e with increasing precision:
S 1, 2, 2.5, 27. , 271
N . , 272
. , 27
. , 2718
. ,
DEFINITION: A Taylor Series for a function f(x) is a power series T(x) with center x0:
f ( n) ( x 0 )
f ( x) T ( x) c n ( x x 0 ) , with coefficients c n
n
n 0
n!
The interval of convergence of the series is often determined by applying the Ratio Test or the Root
Test to the series. These tests may fail at the endpoint of the intervals - often, we have to test these
points separately using other techniques, e.g. the Alternating Series Theorem.
n
TN ( x ) RN ( x )
Applying the Mean Value Theorem leads to a useful sum-less expression for the remainder:
Using a table to collect the results for the terms of the Taylor Series for the function f(x) = cos x
around x0 = B/2:
n f(n)(x) f(n)(B/2) cn
0 cos x 0 0
1 - sin x -1 -1
2 - cos x 0 0
3 sin x 1 1/6
4 cos x 0 0
5 - sin x -1 -1/120
Thus: T5 ( x) x 2
1
x 2 1
x 2
3 5
6 120
1
cos(1) T5 (1) 1 2 1 2
1
1 2
3 5
0.5403023
6 120
1. a. Determine the first 3 nonzero terms of the McLaurin Series for the function
f ( x) cos x using the table below:
n f(n)(x) f(n)(x0) cn
0 cos x
cos x.
cos1 / 2
2. a. Determine the first 3 nonzero terms of the McLaurin Series for the function
f ( x) sin x using the table below:
n f(n)(x) f(n)(x0) cn
0 sin x
sin x.
sin1
n f(n)(x) f(n)(x0) cn
0 e-x
e-x.
In summation form: e x n
(complete the expression).
x2
Substitute x2 for x to get a series expression for the function e
2
ex
In summation form: e
x2
(complete the expression).
n
Use the four terms of the series to approximate the integral :
e
0
x2
dx
What is the error of your estimate relative to the calculator value for this integral?
4. Use the McLaurin Polynomial of degree 5 for sin x to approximate the integral
1
sin x
0
x
dx
What is the error of your estimate relative to the calculator value for this integral?
5. a. Determine the first 3 nonzero terms of the Taylor Series for the function
f ( x) sin x evaluated at x0
2 using the table below:
n f(n)(x) f(n)(x0) cn
0 sin x
sin x.
6. a. Determine the first 3 nonzero terms of the Taylor Series for the function
f ( x) cos x evaluated at x 0
6 using the table below:
n f(n)(x) f(n)(x0) cn
0 cos x
cos x.
Use the Taylor Polynomial of degree 3 about x 0 6 for cos x to approximate the integral
1
cos x
1 x
dx
2
What is the error of your estimate relative to the calculator value for this integral?
7. a. Determine the first 6 terms of the Taylor Series for the function
f ( x) ln x around x0 = 1, using the table below:
n f(n)(x) f(n)(1) cn
0 ln x
ln x.
In summation form: ln x (complete the expression).
n
b. Based on your result under (a), find a series for ln2 (substitute x=2 into your answer)
ln 2.
1 1 1 1
Thus, the alternating harmonic series 1 converges to
2 3 4 5
_______________.
Use your calculator to find the value of ln 2 to two decimals using the series:
8. Euler’s Formula.
x i
i n i 2 n 1
i 2 n
Proof: e e
x i
n!
2n
n 0 !
1
2n!
n 0
odd terms even terms
e i =