Professional Documents
Culture Documents
f ( x) pn ( x) Rn ( x) .
pn ( x) a0 a1 x a2 x 2 an x n
and
Rn ( x) an 1 x n1 an 2 x n 2 .
Similar statements can be made for Taylor series at a.
It follows from our basic assumption for the functions we consider that
lim Rn ( x) lim f ( x) pn ( x) f ( x) f ( x) 0
n
Taylors Formula for the Remainder. If f has derivatives of all order at 0, then
f ( n 1) (t ) x n 1
Rn ( x)
(n 1)!
for some number t between 0 and x.
In most applications of the remainder formula, it is not possible to find the value of t.
However, if we can find a number M satisfying
f ( n 1) (t ) M for all t between 0 and x,
then we can estimate Rn ( x) as follows:
n 1
f ( n 1) (t ) x n 1 M x
Rn ( x)
.
(n 1)!
(n 1)!
Example 1 (Taylors Formula for the Remainder). Use the second-degree Taylor polynomial
at 0 for f ( x) e x to approximate e0.1 . Use Taylors formula for the remainder to estimate the
error in this approximation.
Solution. Since f ( n ) ( x) e x for any n, we can write
1 2 et x 3
f ( x) e p2 ( x) R2 ( x) 1 x x
2! 3!
,
3!
6,000
x
where 0 t 0.1 . In order to estimate R2 (0.1) , we must estimate g (t ) et for 0 t 0.1 . Since
et is always increasing, et e0.1 for 0 t 0.1 . However, e0.1 is the number we are trying to
approximate. We do not want to use this number in our estimate for error. Instead, we will use
the following rough estimate for et :
If t 1 , then et 3 .
Since the last inequality holds for t 1 , it certainly holds for 0 t 0.1 . Thus,
et
3
0.0005 ,
R2 (0.1)
6,000 6,000
and we can conclude that the approximate value 1.105 is within 0.0005 of the exact value of
e0.1 .
Example 2 (Estimating the Remainder for Alternating Series). Use the Taylor series at 0 for
f ( x) e x to approximate e0.3 with an error of no more than 0.0005 .
1 2 1 3
(1) k k
x x
x ,
2!
3!
k!
x .
Since the terms in this series are alternating in sign and decreasing in absolute value, Theorem 1
applies. If we use the first four terms in this series to approximate e0.3 , then the error in this
approximation is less than the absolute value of the fifth term. That is,
and the error in this approximation is less than the specified accuracy of 0.0005.
f ( x)dx ,
x2
dx
x2
1
( 1)n 2 n
F ( x) e x dx 1 x2 x4
x dx
n!
2!
1 3 1 5
( 1) n
C x x x
x .
x2 n 1 ,
3
10
n !(2n 1)
Step 3. Approximate the definite integral: If we choose C 0 , then F (0) 0 and
1
e
0
x2
1
( 1)n
dx F (1) F (0) x x3 x5
x2 n 1
n !(2 n 1)
10
3
1 1
(1) n
1 1 1
1
1
0 1
n !(2n 1)
3 10 42 216
3 10
x2
Example 4 (Income Distribution). Approximate the index of income concentration for the
11x 4
Lorenz curve given by f ( x)
with an error of no more than 0.005.
10 x 2
Solution. The index of income concentration for a Lorenz curve is twice the area between the
graph of the Lorenz curve and the graph of the line y x . Thus, we must evaluate the integral
1
22 x 4
dx .
10 x 2
0
2 x f ( x) dx 2 xdx
1
2 xdx x
2 1
0
(*)
(*) cannot be evaluated by any of the techniques we have discussed, we will use a Taylor series
to approximate this integral.
Step 1. Find a Taylor series for the integrand: Substitute x 2 /10 for x in the series for 1/(1 x) :
n
2
x 2 x 2 2
22 x 4
22 x 4
1
4
n x
2.2 x 1 (1)
2
2
10 x
10 1 ( x /10)
10 10
10
2.2 6 2.2 8
2.2(1) n 2 n 4
x2
1.
x 2 x
x
,
1
10
10
10n
10
To find the interval of convergence, we solve 1 x 2 /10 1 for x:
x 2 /10 1, x 2 10, | x | 10, 10 x 10.
2.2 x 4
22 x 4
2.2 6 2.2 8
2.2(1) n 2 n 4
4
dx
x
dx
2.2
2
n
10 x 2
10
10
10
2.2 5 2.2 7
2.2 9
2.2(1) n 2 n5
C
.
x
x
x
x
5
7 10
9 102
(2n 5)10n
This series also converges for 10 x 10 .
Step 3. Approximate the definite integral: Choosing C 0 in the antiderivative, we have
2.2 5 2.2 7
22 x 4
2.2 9
2.2(1)n 2 n 5
dx
x
x
x
x
5
2
n
0 10 x 2
7 10
9 10
(2n 5)10
2.2 2.2
2.2
2.2(1)
0.44 0.031429 0.002444 .
2
5 7 10 9 10
(2n 5)10n
Since the limits of integration, 0 and 1, are within the interval of convergence of the Taylor
series for the antiderivative, we can use this series to approximate the value of the definite
integral. Notice that the numbers in this series are alternating in sign and decreasing in absolute
value. Since the absolute value of the third term is less than 0.005, Theorem 1 implies that we
can use the first two terms of this series to approximate the definite integral to the specified
accuracy. Thus,
1
22 x 4
0 10 x 2 dx 0.44 0.031429 0.409 .
Returning to (*), we have
n
2 x f ( x) dx 1 0.409 0.591