In the preceding chapter (§ 125) we proved that if f(x) has a derivative f(x) throughout the interval [a,b] then f(b)f(a)=(ba)f(ξ), where a<ξ<b; or that, if f(x) has a derivative throughout [a,a+h], then (1)f(a+h)f(a)=hf(a+θ1h), where 0<θ1<1. This we proved by considering the function f(b)f(x)bxba{f(b)f(a)} which vanishes when x=a and when x=b.

Let us now suppose that f(x) has also a second derivative f(x) throughout [a,b], an assumption which of course involves the continuity of the first derivative f(x), and consider the function f(b)f(x)(bx)f(x)(bxba)2{f(b)f(a)(ba)f(a)}. This function also vanishes when x=a and when x=b; and its derivative is 2(bx)(ba)2{f(b)f(a)(ba)f(a)12(ba)2f(x)}, and this must vanish (§ 121) for some value of x between a and b (exclusive of a and b). Hence there is a value ξ of x, between a and b, and therefore capable of representation in the form a+θ2(ba), where 0<θ2<1, for which f(b)=f(a)+(ba)f(a)+12(ba)2f(ξ).

If we put b=a+h we obtain the equation (2)f(a+h)=f(a)+hf(a)+12h2f(a+θ2h), which is the standard form of what may be called the Mean Value Theorem of the second order.

The analogy suggested by (1) and (2) at once leads us to formulate the following theorem:

Taylor’s or the General Mean Value Theorem. If f(x) is a function of x which has derivatives of the first n orders throughout the interval [a,b], then f(b)=f(a)+(ba)f(a)+(ba)22!f(a)++(ba)n1(n1)!f(n1)(a)+(ba)nn!f(n)(ξ), where a<ξ<b; and if b=a+h then f(a+h)=f(a)+hf(a)+12h2f(a)++hn1(n1)!f(n1)(a)+hnn!f(n)(a+θnh), where 0<θn<1.

The proof proceeds on precisely the same lines as were adopted before in the special cases in which n=1 and n=2. We consider the function Fn(x)(bxba)nFn(a), where Fn(x)=f(b)f(x)(bx)f(x)(bx)22!f(x)(bx)n1(n1)!f(n1)(x). This function vanishes for x=a and x=b; its derivative is n(bx)n1(ba)n{Fn(a)(ba)nn!f(n)(x)}; and there must be some value of x between a and b for which the derivative vanishes. This leads at once to the desired result.

In view of the great importance of this theorem we shall give at the end of this chapter another proof, not essentially distinct from that given above, but different in form and depending on the method of integration by parts.

Example LV

1. Suppose that f(x) is a polynomial of degree r. Then f(n)(x) is identically zero when n>r, and the theorem leads to the algebraical identity f(a+h)=f(a)+hf(a)+h22!f(a)++hrr!f(r)(a).

2. By applying the theorem to f(x)=1/x, and supposing x and x+h positive, obtain the result 1x+h=1xhx2+h2x3+(1)n1hn1xn+(1)nhn(x+θnh)n+1.

[Since 1x+h=1xhx2+h2x3+(1)n1hn1xn+(1)nhnxn(x+h), we can verify the result by showing that xn(x+h) can be put in the form (x+θnh)n+1, or that xn+1<xn(x+h)<(x+h)n+1, as is evidently the case.]

3. Obtain the formula sin(x+h)=sinx+hcosxh22!sinxh33!cosx++(1)n1h2n1(2n1)!cosx+(1)nh2n2n!sin(x+θ2nh), the corresponding formula for cos(x+h), and similar formulae involving powers of h extending up to h2n+1.

4. Show that if m is a positive integer, and n a positive integer not greater than m, then (x+h)m=xm+(m1)xm1h++(mn1)xmn+1hn1+(mn)(x+θnh)mnhn. Show also that, if the interval [x,x+h] does not include x=0, the formula holds for all real values of m and all positive integral values of n; and that, even if x<0<x+h or x+h<0<x, the formula still holds if mn is positive.

5. The formula f(x+h)=f(x)+hf(x+θ1h) is not true if f(x)=1/x and x<0<x+h. [For f(x+h)f(x)>0 and hf(x+θ1h)=h/(x+θ1h)2<0; it is evident that the conditions for the truth of the Mean Value Theorem are not satisfied.]

6. If x=a, h=2a, f(x)=x1/3, then the equation f(x+h)=f(x)+hf(x+θ1h) is satisfied by θ1=12±1183. [This example shows that the result of the theorem may hold even if the conditions under which it was proved are not satisfied.]

7. Newton’s method of approximation to the roots of equations. Let ξ be an approximation to a root of an algebraical equation f(x)=0, the actual root being ξ+h. Then 0=f(ξ+h)=f(ξ)+hf(ξ)+12h2f(ξ+θ2h), so that h=f(ξ)f(ξ)12h2f(ξ+θ2h)f(ξ).

It follows that in general a better approximation than x=ξ is x=ξf(ξ)f(ξ). If the root is a simple root, so that f(ξ+h)0, we can, when h is small enough, find a positive constant K such that |f(x)|>K for all the values of x which we are considering, and then, if h is regarded as of the first order of smallness, f(ξ) is of the first order of smallness, and the error in taking ξ{f(ξ)/f(ξ)} as the root is of the second order.

8. Apply this process to the equation x2=2, taking ξ=3/2 as the first approximation. [We find h=1/12, ξ+h=17/12=1.417, which is quite a good approximation, in spite of the roughness of the first. If now we repeat the process, taking ξ=17/12, we obtain ξ+h=577/408=1.414 215, which is correct to 5 places of decimals.]

9. By considering in this way the equation x21y=0, where y is small, show that 1+y=1+12y{14y2/(2+y)} approximately, the error being of the fourth order.

10. Show that the error in taking the root to be ξ(f/f)12(f2f/f3), where ξ is the argument of every function, is in general of the third order.

11. The equation sinx=αx, where α is small, has a root nearly equal to π. Show that (1α)π is a better approximation, and (1α+α2)π a better still. [The method of Exs. 7–10 does not depend on f(x)=0 being an algebraical equation, so long as f and f are continuous.]

12. Show that the limit when h0 of the number θn which occurs in the general Mean Value Theorem is 1/(n+1), provided that f(n+1)(x) is continuous.

[For f(x+h) is equal to each of f(x)++hnn!f(n)(x+θnh),f(x)++hnn!f(n)(x)+hn+1(n+1)!f(n+1)(x+θn+1h), where θn+1 as well as θn lies between 0 and 1. Hence f(n)(x+θnh)=f(n)(x)+hf(n+1)(x+θn+1h)n+1. But if we apply the original Mean Value Theorem to the function f(n)(x), taking θnh in place of h, we find f(n)(x+θnh)=f(n)(x)+θnhf(n+1)(x+θθnh), where θ also lies between 0 and 1. Hence θnf(n+1)(x+θθnh)=f(n+1)(x+θn+1h)n+1, from which the result follows, since f(n+1)(x+θθnh) and f(n+1)(x+θn+1h) tend to the same limit f(n+1)(x) as h0.]

13. Prove that {f(x+2h)2f(x+h)+f(x)}/h2f(x) as h0, provided that f(x) is continuous. [Use equation (2) of § 147.]

14. Show that, if the f(n)(x) is continuous for x=0, then f(x)=a0+a1x+a2x2++(an+ϵx)xn, where ar=f(r)(0)/r! and ϵx0 as x0.1

15. Show that if a0+a1x+a2x2++(an+ϵx)xn=b0+b1x+b2x2++(bn+ηx)xn, where ϵx and ηx tend to zero as x0, then a0=b0, a1=b1, …, an=bn. [Making x0 we see that a0=b0. Now divide by x and afterwards make x0. We thus obtain a1=b1; and this process may be repeated as often as is necessary. It follows that if f(x)=a0+a1x+a2x2++(an+ϵx)xn, and the first n derivatives of f(x) are continuous, then ar=f(r)(0)/r!.]


  1. It is in fact sufficient to suppose that f(n)(0) exists. See R. H. Fowler, “The elementary differential geometry of plane curves” (Cambridge Tracts in Mathematics, No. 20, p. 104).↩︎

Chapter VI Main Page 148. Taylor’s Series