Exercise 1: Building T_n, and what its graph says about it
The Taylor polynomial of degree of at is . It is the only polynomial of degree at most whose value and first derivatives at agree with those of . It is built from information at ONE point, so it can only be trusted near that point; how near is the whole subject of this chapter.
The figure shows and three of its Taylor polynomials at on .
- a) Compute , and of at . Explain why and .
- b) Using the figure, say roughly up to which each polynomial stays close to , and on which side of each one lies for small .
- c) Compute of at .
- d) Compute of at , and check the three conditions that define it.
- e) Explain why no polynomial of the figure is good on the whole window, and what raising the degree changes.
Show the solution
Answers
- a) , , ; the even derivatives of vanish at .
- b) Roughly , , ; for small : above, below, above.
- c)
- d)
- e) copies at one point only; a higher degree widens the zone of good fit but never makes it the whole line.
a) The derivatives of cycle: , , , , , , so at they take the values Hence , , and . Since , the term of degree is and ; likewise gives . This is not a detail: is ALSO , and Exercises 2, 4 and 6 show that using it as gives an error bound twenty to fifty times better.
b) Reading the figure: the orange line leaves the sine curve visibly around ; the green cubic holds until about ; the red until about . For small , is ABOVE , BELOW, ABOVE again: each new term overcorrects the previous one, because the terms of the sine series alternate in sign. At : , , , and lies between the last two. Exercise 4 turns this alternation into a bound.
c) , , , ; at : , , , . So . Two slips cost marks here: expanding in powers of instead of (the polynomial is centred at , keep the powers of ), and forgetting the , which turns the last coefficient into . With one recognizes the first terms of , a free check.
d) , , . At : , , . So . Check: ; gives ; . The classic error is the coefficient instead of : then and the third condition fails, which is exactly how to catch it.
e) A Taylor polynomial knows only through : it copies the shape of at and extrapolates. Far from the polynomial is dominated by its highest power and runs off to , while stays between and , so no can follow the sine on the whole real line. Raising the degree widens the zone where the fit is good (about , , for ), and near the gap shrinks like the first neglected power: , then , then . Quantifying that gap, with a bound that is GUARANTEED rather than read on a picture, is the job of Taylor's inequality.