Lecture 10 Taylor's Theorem PDF
Lecture 10 Taylor's Theorem PDF
has the property that Pn (x0 ) = f (x0 ) and P (k) (x0 ) = f (k) (x0 ) for all k = 1, 2, .., n where f (k) (x0 ) denotes the k th derivative of f at x0 . This polynomial is called Taylors polynomial of degree n (with respect to f and x0 ). The following theorem called Taylors Theorem provides an estimate for the error function En (x) = f (x) Pn (x). Theorem 10.2: Let f : [a, b] R, f, f , f , ..., f (n1) be continuous on [a, b] and suppose f (n) exists on (a, b). Then there exists c (a, b) such that f (b) = f (a) + f (a)(b a) + f (a) f (n1) (a) f (n) (c) (b a)2 + ... + (b a)n1 + (b a)n . 2! (n 1)! n!
Proof (*): Dene F (x) = f (b) f (x) f (x)(b x) We will show that F (a) = that
(ba)n (n) (c) n! f
for some c (a, b), which will prove the theorem. Note f (n) (x) (b x)n1 . (n 1)! (1)
F (x) =
x n Dene g (x) = F (x) ( b ba ) F (a). It is easy to check that g (a) = g (b) = 0 and hence by Rolles theorem there exists some c (a, b) such that
c)n1 =
Solution : Take f (x) = cosx and x0 = 0 in Taylors Theorem. Then there exists c between 0 and x such that sinc 3 1 x . cosx = 1 x2 + 2 6 1 2 3 Verify that the term sinc 6 x 0 when | x | . If | x | then 1 2 x < 3 cosx. Therefore the inequality holds for all x R. Problem 2 : Let x0 (a, b) and n 2. Suppose f , f , .., f (n) are continuous on (a, b) and f (x0 ) = .. = f (n1) (x0 ) = 0. Then, if n is even and f (n) (x0 ) > 0, then f has a local minimum at x0 . Similarly, if n is even and f (n) (x0 ) < 0, then f has a local maximum at x0 . Solution : By Taylors theorem, for x (a, b) there exists a c between x and x0 such that f (x) = f (x0 ) + f (n) (c) (x x0 )n . n!
(n)
(3)
Let f (n) (x0 ) > 0 and n is even. Then by the continuity of f (n) there exists a neighborhood U of x0 such that f (n) (x) > 0 for all x U . This implies that f n!(c) (x x0 )n 0 whenever c U . Hence by equation (3), f (x) f (x0 ) for all x U which implies that x0 is a local minimum. Problem 3 : Using Taylors theorem, for any k N and for all x > 0, show that 1 1 x x2 + + x2k 2 2k 1 1 < log(1 + x) < x x2 + + x2k+1 . 2 2k + 1
Solution : By Taylors theorem, there exists c (0, x) s.t. (1)n1 n (1)n xn+1 1 x + . log(1 + x) = x x2 + ... + 2 n n + 1 (1 + c)n+1
1) Note that, for any x > 0, (n +1
n
xn+1 (1+c)n+1