Summary
The lesson on the Taylor polynomial proved that the remainder is negligible compared with as tends to , but warned that an equivalence is not a bound: it does not say how large the error is for a given . This lesson gives three exact expressions for the remainder. Lagrange’s writes it as the following term of the polynomial, with the derivative of order computed at an unknown intermediate point; Cauchy’s, with another distribution of the factors, bounds the error better when the intermediate point may be close to ; and the integral form, which requires the continuity of that derivative, writes it without unknown points. All three come from a single auxiliary function and from the mean value theorems of Cauchy and of Lagrange, or from integration by parts. With them the promises of Calculus I are kept: the constant in the error of the tangent line, the explanation of the errors of the differential, the bound for the error of the parabola of the cosine, the inequalities between the exponential and its polynomials, an explicit form of the higher-order derivative test and the quadratic convergence of the Newton-Raphson method. The problems approximate values with a guaranteed error and choose the order that ensures it.
Learning objectives
- Prove Taylor’s formulas with the remainders of Lagrange, of Cauchy and in integral form, with their exact hypotheses.
- Bound the remainder in order to approximate values with a guaranteed error, and choose the order of the polynomial that ensures a given precision.
- Deduce from the remainder the bound for the error of the tangent line and a form of the higher-order derivative test valid on a whole interval.
- Prove the quadratic convergence of the Newton-Raphson method near a simple root and use it to estimate the number of iterations needed.
The Lagrange and Cauchy remainders
The lesson on the Taylor polynomial fixed the notation that follows: if is defined on an open interval and is times differentiable at a point of , the Taylor polynomial of order is , and the remainder is , for in ; with one writes and . The theorem of Taylor’s formula with Peano remainder, from that lesson, says that, if and is moreover times differentiable on , then as tends to : a statement about a limit. To obtain a value of the remainder at each , the idea is to fix and move the point at which the expansion is made.
Let be an integer, an open interval, a function times differentiable on and a point of , and let be the function defined on by the following formula:
Then is differentiable on , , for every in , and for every in :
The number is the remainder at of the Taylor polynomial of order expanded at the moving point . On differentiating with respect to , each term produces two summands, which cancel with those of the neighboring terms, and only the last one remains.
Proof
With , the terms of index vanish because of the factor , and the one of index is . With , the sum is , by the definition of the Taylor polynomial and remainder, from the lesson on the Taylor polynomial.
Let be an integer with . Since is times differentiable on , the function is differentiable on . By the proposition on powers with an integer exponent, from the lesson on differentiation rules, and the theorem of the chain rule, from the lesson on the chain rule, the derivative of with respect to is , with , also at ; the theorem of the product rule, from the lesson on differentiation rules, gives the derivative of the term of index . That of the term of index is .
Let for . The derivative of the term of index is , and that of the term of index is . By the theorem on the derivative of a linear combination, from the lesson on differentiation rules, and the theorem of the telescoping sum, from the lesson on summations, progressions and induction, the derivative of the sum is ; since does not depend on , one obtains .
The auxiliary function equals the sought remainder at and equals at , and its derivative contains only the derivative of order . A mean value theorem between and turns this information into an equality for the remainder. The synthesis of the unit on the applications of derivatives, in Calculus I, announced that the remainder would be bounded with the theorems of Rolle and of Cauchy: Cauchy’s mean value theorem, which was proved with Rolle’s, gives the Lagrange form.
Let be an integer, an open interval, a point of and a function times differentiable on . For every in different from , there exists a number strictly between and such that:
The remainder has the form of the following term of the polynomial, with the derivative computed at an unknown point instead of . Cauchy’s mean value theorem compares the auxiliary function with the power , which also vanishes at .
Proof
Let be the auxiliary function of the lemma, with this , and for in , differentiable by the proposition on powers with an integer exponent and the chain rule. Let be the smaller and the larger of the numbers and ; since is an interval, . By the theorem according to which differentiable implies continuous, from the lesson on the derivative as a limit, and are continuous on , and they are differentiable on . Cauchy’s mean value theorem, from the lesson on the theorems of Fermat, Rolle, Lagrange and Cauchy, gives a in with the equality below.
If , then and , and the equality is the one below. If , then and , and the equality reads , which multiplied by is the same. In both cases, lies strictly between and .
By the lemma, , and ; moreover, , and . On substituting, the signs of the two sides cancel.
Since , the factor is not zero; dividing by it and by , and since , the formula follows.
With , the formula reads : it is Lagrange’s mean value theorem, and Taylor’s formula with Lagrange remainder extends it to all orders. The point depends on and on , and in general it is not known; the solved problem “The intermediate point of a rational function” computes it in one case. The hypotheses are stronger than those of the Peano remainder, which only requires derivatives on and the one of order at , but they do not include the continuity of . For , the same formula is obtained from the lemma of the iterated Cauchy theorem, from the lesson on numerical integration, with in place of , on , with and ; the auxiliary function avoids the iteration and treats both sides of at once.
Under the hypotheses of Taylor’s formula with Lagrange remainder, for every in different from there exists a number strictly between and such that:
Lagrange’s mean value theorem, applied directly to the auxiliary function, gives another form of the remainder, in which the distance from to appears separately.
Proof
Let , and be as in the preceding proof. The function is continuous on and differentiable on , and Lagrange’s mean value theorem, from the lesson on the theorems of Fermat, Rolle, Lagrange and Cauchy, gives a in with . If , this is the equality below; if , it reads , which multiplied by is the same.
By the lemma, the left-hand side is , and ; multiply by .
The two points are, in general, different. If one writes , with , the Cauchy remainder is : it has the factor , which is small when is close to , precisely where a bound for may be poor. The solved problem “The Cauchy remainder where the Lagrange remainder falls short” exploits this difference. To bound the error, on the other hand, the Lagrange form almost always suffices.
Let be an integer, an open interval, and points of and a function times differentiable on . If is a number such that for every strictly between and , then:
A bound for the derivative of order between and gives a bound for the error, without knowing the intermediate point.
Proof
If , the remainder is zero, because , and the inequality reads . If , the point of Taylor’s formula with Lagrange remainder lies strictly between and , and the bound for the derivative holds at it.
If the bound holds on a whole interval containing , the bound for the error holds for all in that interval at once, and the order is chosen so that the bound is smaller than the desired precision, as in the solved problem “Seven digits of the cosine on an eighth of a turn”. The sign of the remainder can also be read off the Lagrange formula. For example, by the theorem on derivatives of order of powers and of the exponential, from the lesson on higher-order derivatives and the differential, all the derivatives of are , and . If , the remainder is with , and since the exponential is strictly increasing, . Hence, for every and every integer :
and if moreover , solving for gives . With and one obtains . The first inequality is the one that the lesson on monotonicity obtained by differentiating sequences of inequalities, when it announced that those polynomials were Taylor’s and that their error would be studied here; the second says how far short of the function they fall.
Loading the content…
Completed
Sign in to save your progress