Chapter 7 Mean Value Theorems-I

In the theorems that follow in this chapter, it is essential to know if f(x)f(x) is continuous or not, derivable or not in the given interval.

7.0.0.1 Which functions can we expect to be continuous and differentiable?

  1. Every algebraic polynomial in xx is a continuous function of xx for every value of xx.
  2. sinxsinx, cosxcosx, exex are continuous for all values of xx and logxlogx is continuous x>0x>0.
  3. If ff and gg are two functions in closed interval [a,b][a,b], then f±gf±g, f×gf×g are also continuous in [a,b][a,b] and fgfg is also continuous in that interval provided g(x)0g(x)0 for any x[a,b]x[a,b].
  4. If a function is differentiable for every point in a given interval, then it must be continuous in that interval.
  5. Differentiability implies continuity but reverse is not true.

7.0.0.2 How to check for continuity of function?

  • A function f(x)f(x) is continuous at point x=ax=a if limxaf(x)=limxa+f(x)=f(a)limxaf(x)=limxa+f(x)=f(a). We know that limxaf(x)=limh0f(ah)limxaf(x)=limh0f(ah) and limxa+f(x)=limh0f(a+h)limxa+f(x)=limh0f(a+h).

  • A function f(x)f(x) is discontinuous at point x=ax=a if:

    • limxaf(x)limxaf(x) does not exist, or
    • limxaf(x)limxa+f(x)limxaf(x)limxa+f(x), or
    • limxaf(x)=limxa+f(a)limxaf(x)=limxa+f(a), or
    • f(x)f(x) does not exist at x=ax=a

7.0.0.3 How to check for differentiabity of function?

Calculate the derivative of the given function in the given open interval (a,b)(a,b). If it is not

  • infinite
  • imaginary, or
  • indeterminate,

then its derivable.

Differentiability implies continuity but reverse is not true.

Rolle’s theorem

If a function f(x)f(x) is

  1. continuous in the closed interval [a,b][a,b]
  2. derivable in the open interval (a,b)(a,b)
  3. f(a)=f(b)f(a)=f(b)

then there exists at least one value c(a,b)c(a,b) such that f(c)=0f(c)=0.

7.1 Exercise 4 (i)

7.1.1 Question 1

Verify Rolle’s theorem for:

  • f(x)=x2,x[1,1]f(x)=x2,x[1,1]

The given function f(x)f(x) is a polynomial function, so it is continuous in [1,1][1,1] and derivable values of x(1,1)x(1,1).

f(1)=1=f(1)f(1)=1=f(1)

f(x)=2xf(x)=2x

So as the three conditions of Rolle’s theorem is satisfied by the equation, then there must exist atleast a point c(1,1)c(1,1) such that f(c)=0f(c)=0.

2c=0c=02c=0c=0

c=0c=0 lies in given interval (1,1)(1,1). Thus Rolle’s theorem is verified.

  • f(x)=x(x+3)ex/2,x[3,0]f(x)=x(x+3)ex/2,x[3,0]

Being the product of a polynomial and exponential function, f(x)f(x) is continuous in [3,0][3,0].

Also,

f(x)=x(x+3)ex/2=(x2+3x)ex/2f(x)=(2x+3)ex/2+(x2+3x)ex/2×12=ex/2[2x+3x2+3x2]f(x)=12ex/2(x2x6)f(x)=x(x+3)ex/2=(x2+3x)ex/2f(x)=(2x+3)ex/2+(x2+3x)ex/2×12=ex/2[2x+3x2+3x2]f(x)=12ex/2(x2x6)

which is finite x(3,0)x(3,0), hence the given function is derivable in (3,0)(3,0).

In the given equation, f(3)=0=f(0)f(3)=0=f(0)

So as the three conditions of Rolle’s theorem is satisfied by the equation, then there must exist atleast a point c(3,0)c(3,0) such that f(c)=0f(c)=0.

12ec/2(c2c6)=0c2c6=0c=2,312ec/2(c2c6)=0c2c6=0c=2,3

Only c=2c=2 lies in the interval (3,0)(3,0). Thus one value of cc has been found at which f(c)=0f(c)=0. Hence, Rolle’s theorem is verified.

  • ϕ(x)=log{x2+ab(a+b)x},x[a,b]ϕ(x)=log{x2+ab(a+b)x},x[a,b]

This is a logarithmic function and is continuous in [a,b][a,b].

Also,

ϕ(x)=log{x2+ab(a+b)x}=log(xa+b+1xab(a+b))ϕ(x)=1{x2+ab(a+b)x}(1a+bab(a+b)×1x2)ϕ(x)=(a+b)xx2+ab(x2abx2(a+b))ϕ(x)=x2abx(x2+ab)ϕ(x)=log{x2+ab(a+b)x}=log(xa+b+1xab(a+b))ϕ(x)=1{x2+ab(a+b)x}(1a+bab(a+b)×1x2)ϕ(x)=(a+b)xx2+ab(x2abx2(a+b))ϕ(x)=x2abx(x2+ab)

which is finite x(a,b)x(a,b), hence the given function is differentiable in (a,b)(a,b).

ϕ(a)=log{a2+aba(a+b)}=log1=0ϕ(b)=log{b2+abb(a+b)}=log1=0ϕ(a)=0=ϕ(b)ϕ(a)=log{a2+aba(a+b)}=log1=0ϕ(b)=log{b2+abb(a+b)}=log1=0ϕ(a)=0=ϕ(b)

So as the three conditions of Rolle’s theorem is satisfied by the equation, then there must exist atleast a point c(a,b)c(a,b) such that ϕ(c)=0ϕ(c)=0.

c2abc(c2+ab)=0c2=abc=±abc2abc(c2+ab)=0c2=abc=±ab

Out of two cc values, c=abc=ab lies in the interval (a,b)(a,b) as abab is the geometric mean of aa and bb. Thus Rolle’s theorem is verified.

  • ψ(x)=(xa)m(xb)nψ(x)=(xa)m(xb)n; mm and nn being positive integers and x[a,b]x[a,b] (TU 2060)

As mm and nn are positive integers, (xa)m(xa)m and (xb)n(xb)n are polynomials, thus product of two polynomials is also a polynomial of degree (m+n)(m+n).

Since, every algebraic polynomial in xx is a continuous function of xx for every value of xx, f(x)f(x) is continuous in the interval [a,b][a,b].

ψ(x)=(xa)mn(xb)n1+(xb)nm(xa)m1=(xa)m1(xb)n1[m(xb)+n(xa)]ψ(x)=(xa)mn(xb)n1+(xb)nm(xa)m1=(xa)m1(xb)n1[m(xb)+n(xa)] The derivative exists in the interval (a,b)(a,b). Hence the given function is differentiable.

Also,

f(a)=0=f(b)f(a)=0=f(b)

The given function, thus, satisifies all conditions of Rolle’s theorem. There must exist a value cc such that f(c)=0f(c)=0.

(ca)m1(cb)n1[m(cb)+n(ca)]=0(ca)m1(cb)n1[m(cb)+n(ca)]=0

m(cb)+n(ca)=0(m+n)c=mb+nac=mb+nam+nm(cb)+n(ca)=0(m+n)c=mb+nac=mb+nam+n

which is a point within the interval (a,b)(a,b) dividing it in the ratio m:nm:n internally.

Hence Rolle’s theorem is verified.

  • f(x)=ex(sinxcosx)f(x)=ex(sinxcosx) in [π/4,5π/4][π/4,5π/4]

The function exex is continuous as explained above.

The difference of two functions sinxcosxsinxcosx is also continuous in given domain [π/4,5π/4][π/4,5π/4]. See figure below:

Unit circle, for ordered pair (x,y): $\cos \theta = x$, $\sin \theta = y$

Figure 7.1: Unit circle, for ordered pair (x,y): cosθ=xcosθ=x, sinθ=ysinθ=y

Thus f(x)f(x) is continuous in [π/4,5π/4][π/4,5π/4].

The derivative of the function is,

f(x)=ex(cosx+sinx)+(sinxcosx)ex=2exsinxf(x)=ex(cosx+sinx)+(sinxcosx)ex=2exsinx

which has finite values in domain (π/4,5π/4)(π/4,5π/4). Hence the function is differentiable.

Also,

f(π/4)=ex(sinπ/4cosπ/4)=0f(5π/4)=ex(sin5π/4cos5π/4)=0f(π/4)=0=f(5π/4)f(π/4)=ex(sinπ/4cosπ/4)=0f(5π/4)=ex(sin5π/4cos5π/4)=0f(π/4)=0=f(5π/4)

All conditions of Rolle’s theorem are satisfied. There must exist a value cc such that f(c)=0f(c)=0.

2ecsinc=0ecsinc=02ecsinc=0ecsinc=0

For ec=0ec=0, cc is not defined. So,

sinc=0sinc=sinπc=πsinc=0sinc=sinπc=π

The c=πc=π lies in (π/4,5π/4)(π/4,5π/4). Hence Rolle’s theorem is verified.


Lagrange’s Mean Value Theorem

If a function f(x)f(x) is

  1. continuous in the closed interval [a,b][a,b]
  2. derivable in the open interval (a,b)(a,b)

then there exists at least one value c(a,b)c(a,b) such that f(b)f(a)=(ba)f(c)f(b)f(a)=(ba)f(c).

7.1.2 Question 2

Verify Lagrange’s mean value theorem for:

  • f(x)=x34xf(x)=x34x in [2,2][2,2] (TU 2054)

The given function is a polynomial function, so it is continuous in [2,2][2,2] and derivable in (2,2)(2,2).

The derivative of the function is,

f(x)=3x24f(x)=3x24

By Lagrange’s MVT,

f(c)=f(b)f(a)ba3c24=f(2)f(2)2+23c24=0c=±23f(c)=f(b)f(a)ba3c24=f(2)f(2)2+23c24=0c=±23

Both values of cc lies in (2,2)(2,2). Hence, Lagrange’s MVT is verified.

  • f(x)=x(x1)(x2),x[0,1/2]f(x)=x(x1)(x2),x[0,1/2] (TU 2058, 2065)

f(x)=x(x22xx+2)=x33x2+2xf(x)=x(x22xx+2)=x33x2+2x

The given function is a polynomial function of degree 33, so it is continuous in [0,1/2][0,1/2] and derivable in (0,1/2)(0,1/2).

The derivative of function is,

f(x)=3x26x+2f(x)=3x26x+2

By Lagrange’s MVT,

f(c)=f(b)f(a)ba3c26c+2=f(12)f(0)1203c26c+2=1/83/4+2/21/2=3412c224c+5=0f(c)=f(b)f(a)ba3c26c+2=f(12)f(0)1203c26c+2=1/83/4+2/21/2=3412c224c+5=0

Finding values of cc,

c=b±b24ac2a=24±(24)24×12×52×12=24±33624=24±42124=1±216c=b±b24ac2a=24±(24)24×12×52×12=24±33624=24±42124=1±216

The value of cc that lies in (0,1/2)(0,1/2) is 12161216 which is 0.240.24.

Hence, Lagrange’s MVT is verified.

  • f(x)=Ax2+Bx+C,x[a,b]f(x)=Ax2+Bx+C,x[a,b] (TU 2064)

The given function is a polynomial function of degree 22, so it is continuous in [a,b][a,b] and derivable in (a,b)(a,b).

The derivative of function is,

f(x)=2Ax+Bf(x)=2Ax+B

By Lagrange’s MVT,

f(c)=f(b)f(a)ba=Ab2+Bb+CAa2BaCba2Ac+B=A(b2a2)+B(ba)ba2Ac+B=(ba)(Ab+Aa+B)ba2Ac+B=Ab+Aa+Bc=a+b2f(c)=f(b)f(a)ba=Ab2+Bb+CAa2BaCba2Ac+B=A(b2a2)+B(ba)ba2Ac+B=(ba)(Ab+Aa+B)ba2Ac+B=Ab+Aa+Bc=a+b2

which is arithmetic mean of aa and bb and lies in open interval (a,b)(a,b). Hence Lagrange’s MVT is verified.

  • f(x)=logxf(x)=logx in [1,e][1,e]

The given function is logarithmic function, so is continuous in [1,e][1,e] and derivable in (1,e)(1,e). By Lagrange’s MVT,

f(c)=f(b)f(a)ba1c=logelog1e1c=e1f(c)=f(b)f(a)ba1c=logelog1e1c=e1

which lies in interval (1,e)(1,e). Hence Lagrange’s MVT is verified.

  • f(x)=4x2f(x)=4x2 in [2,1][2,1]

The derivative of the function is,

f(x)=124x2×(2x)f(x)=x4x2f(x)=124x2×(2x)f(x)=x4x2

The derivative has finite values in interval (2,1)(2,1). So the function is derivable in (2,1)(2,1). As differentiability implies continuity, the given function is also continuous in (2,1)(2,1).

Now let us test the function for continuity at x=2x=2 and x=1x=1.

At x=2x=2,

limx(2)4x2=0=f(2)limx(2)4x2=0=f(2)

At x=1x=1,

limx1+4x2=3=f(1)limx1+4x2=3=f(1)

The right hand limit at x=2x=2 and left hand limit at x=1x=1 is not necessary here, because the function is derivable in (2,1)(2,1) and thus those limits are defined.

Thus, the given function is continuous in closed interval [2,1][2,1]. By Lagrange’s MVT, there must be a value cc such that,

f(c)=f(b)f(a)baf(c)=f(b)f(a)ba

c4c2=4124(2)21+2c4c2=303c4c2=4124(2)21+2c4c2=303

Squaring both sides,

c24c2=393c2=4c2c2=1c=±1c24c2=393c2=4c2c2=1c=±1

Thus value of c=1c=1, lies in (2,1)(2,1). Hence, Lagrange’s MVT is verified.


Cauchy’s Mean Value Theorem

If f(x)f(x) and F(x)F(x) are two functions such that,

  1. f(x)f(x) and F(x)F(x) are continuous in the closed interval [a,b][a,b]
  2. f(x)f(x) and F(x)F(x) are derivable in the open interval (a,b)(a,b)
  3. F(x)0F(x)0 for all () x(a,b)x(a,b)

then there exists at least one value c(a,b)c(a,b) such that

f(b)f(a)F(b)F(a)=f(c)F(c)f(b)f(a)F(b)F(a)=f(c)F(c).

7.1.3 Question 3

Verify Cauchy’s Mean Value Theorem for

  • f(x)=x2f(x)=x2 and F(x)=x4F(x)=x4 in [1,3][1,3]

The two given functions are polynomials and hence continuous in [1,3][1,3] and derivable in (1,3)(1,3), so the conditions of Cauchy’s MVT are satisfied. Using Cauchy’s MVT, we have,

f(b)f(a)F(b)F(a)=f(c)F(c)91811=2c4c3880=12c2110=12c2c=±5f(b)f(a)F(b)F(a)=f(c)F(c)91811=2c4c3880=12c2110=12c2c=±5

The value of c=5c=5 lies in the interval (1,3)(1,3). Hence, Cauchy’s MVT is verified.

  • f(x)=sinxf(x)=sinx and F(x)=cosxF(x)=cosx in [0,π/2][0,π/2]

The two functions are trigonometric functions and are continuous in [0,π/2][0,π/2]. The derivatives f(x)=cosxf(x)=cosx and F(x)=sinxF(x)=sinx are also finite for all x(0,π/2)x(0,π/2). Hence the given functions are also derivable.

Unit circle, for ordered pair (x,y): $\cos \theta = x$, $\sin \theta = y$

Figure 7.2: Unit circle, for ordered pair (x,y): cosθ=xcosθ=x, sinθ=ysinθ=y

So the conditions of Cauchy’s MVT are satisfied. Using Cauchy’s MVT, we have,

f(b)f(a)F(b)F(a)=f(c)F(c)sinπ/2sin0cosπ/2cos0=coscsinc1001=coscsinctanc=1c=π4f(b)f(a)F(b)F(a)=f(c)F(c)sinπ/2sin0cosπ/2cos0=coscsinc1001=coscsinctanc=1c=π4

which lies in open interval (0,π/2)(0,π/2). This verifies Cauchy’s MVT.

7.1.4 Question 4

  1. In the Mean Value Theorem f(x+h)=f(x)+hf(x+θh)f(x+h)=f(x)+hf(x+θh) find θθ if f(x)=Ax2+Bx+C,A0f(x)=Ax2+Bx+C,A0

f(x)=Ax2+Bx+Cf(x+h)=A(x+h)2+B(x+h)+Cf(x)=2Ax+Bf(x+θh)=2A(x+θh)+Bf(x)=Ax2+Bx+Cf(x+h)=A(x+h)2+B(x+h)+Cf(x)=2Ax+Bf(x+θh)=2A(x+θh)+B

The MVT is f(x+h)=f(x)+hf(x+θh)f(x+h)=f(x)+hf(x+θh), so substituting relevant values,

A(x+h)2+B(x+h)+C=Ax2+Bx+C+h(2A(x+θh)+B)Ax2+2Ahx+Ah2+Bx+Bh+C=Ax2+Bx+C+2Ahx+2Ah2θ+BhAh2=2Ah2θθ=12A(x+h)2+B(x+h)+C=Ax2+Bx+C+h(2A(x+θh)+B)Ax2+2Ahx+Ah2+Bx+Bh+C=Ax2+Bx+C+2Ahx+2Ah2θ+BhAh2=2Ah2θθ=12

Thus, θ=12θ=12 which is 0<θ<10<θ<1.

  1. In the Mean Value Theorem f(a+h)=f(a)+hf(a+θh)f(a+h)=f(a)+hf(a+θh) find θθ if a=1,h=3,f(x)=xa=1,h=3,f(x)=x.

Here,

f(x)=xf(a)=af(a+h)=a+hf(x)=12xf(a+θh)=12a+θhf(x)=xf(a)=af(a+h)=a+hf(x)=12xf(a+θh)=12a+θh

The Mean Value Theorem is f(a+h)=f(a)+hf(a+θh)f(a+h)=f(a)+hf(a+θh), substituting respective values from above,

a+h=a+h(12a+θh)a+h=a+h(12a+θh)

Substituting a=1,h=3a=1,h=3,

1+3=1+3(121+3θ)41=321+3θ1+3=1+3(121+3θ)41=321+3θ

Squaring both sides,

424+1=94(1+3θ)5±4=94(1+3θ)424+1=94(1+3θ)5±4=94(1+3θ)

Taking positive sign,

5+4=94(1+3θ)4+12θ=1θ=3125+4=94(1+3θ)4+12θ=1θ=312

Taking negative sign,

54=94(1+3θ)4+12θ=9θ=51254=94(1+3θ)4+12θ=9θ=512

So we have θ=312,512θ=312,512, but only 512512 lies in (0,1)(0,1) as required by alternate form of Lagrange’s MVT. Hence the required value of θ=512θ=512.

  1. Find the values of θθ in the Mean Value Theorem if

    • f(x)=exf(x)=ex

    The function f(x)f(x) is continuous in [a,a+h][a,a+h] and differentiable in (a,a+h)(a,a+h). There must exist a value θθ such that f(a+h)=f(a)+hf(a+θh)f(a+h)=f(a)+hf(a+θh) where 0<θ<10<θ<1. This is the alternate form of Lagrange’s MVT.

    f(x)=exf(a+h)=ea+hf(a)=eaf(x)=exf(a+θh)=ea+θhf(x)=exf(a+h)=ea+hf(a)=eaf(x)=exf(a+θh)=ea+θh

    Substituting the values in alternate form of Lagrange’s MVT, we have,

    ea+h=ea+hea+θheh=1+heθheθh=eh1hea+h=ea+hea+θheh=1+heθheθh=eh1h

    Taking log both sides,

    θh=log(eh1h)θ=1hlog(eh1h)θh=log(eh1h)θ=1hlog(eh1h)

    • f(x)=logxf(x)=logx

    The given function f(x)f(x) is continuous in [x,x+h][x,x+h] and differentiable in (x,x+h)(x,x+h). There must exist a value θθ such that f(x+h)=f(x)+hf(x+θh)f(x+h)=f(x)+hf(x+θh) where 0<θ<10<θ<1. This is the alternate form of Lagrange’s MVT.

    f(x)=logxf(x+h)=log(x+h)f(x)=1xf(x+θh)=1x+θhf(x)=logxf(x+h)=log(x+h)f(x)=1xf(x+θh)=1x+θh

    Substituting these values in alternate form of Lagrange’s MVT, we have,

    log(x+h)=logx+h1x+θhx+θh=hlog(x+h)logxθ=1h(hlogx+hxx)θ=1log(1+hx)xh

7.1.5 Question 5

If in Cauchy’s Mean Value Theorem

  1. f(x)=x2 and F(x)=x in [1,3] show that c[1,3] is the arithmetic mean of 1 and 3.

The two given functions are continuous in [1,3] and derivable in (1,3), so the conditions of Cauchy’s MVT are satisfied. Using Cauchy’s MVT, we have,

f(b)f(a)F(b)F(a)=f(c)F(c)913+1=2c12c=2c=1

which is the arithmetic mean of 1 and 3 and lies in (1,3).

  1. f(x)=x and F(x)=1x in [a,b], show that c[a,b] is the geometric mean of a and b.

The two given functions are continuous in [a,b] and derivable in (a,b), so the conditions of Cauchy’s MVT are satisfied. Using Cauchy’s MVT, we have,

f(b)f(a)F(b)F(a)=f(c)F(c)ba1b1a=12c12c3/2ba(ba)ab=1c×c3/2ab=cc=ab

which is the geometric mean of a and b and lies in interval (a,b).

7.1.6 Question 6

  1. Examine the validity of Rolle’s theorem for the function f(x)=|x1| in 1x3.
The plotting of the function reveals this graph:
Graph of $f(x) = |x-1| \{-1 \leq x \leq 3\}$

Figure 7.3: Graph of f(x)=|x1|{1x3}

From the graph, though the function f(x) is continuous in the interval [1,3], it does not have derivative at x=1. In other words, right-hand derivative left-hand derivative at point x=1. Thus the function is not differentiable in the interval [1,3]. And hence Rolle’s theorem cannot be verified for the given interval.

  1. Explain the failure of Lagrange’s Mean Value Theorem for f(x)=2+(x1)2/3 in [0,2].

The given function is not a polynomial because the degree of equation is a rational number, not a whole number.

The plotting reveals this graph,

Graph of $f(x)=2 + (x-1)^{2/3} \{0 \leq x \leq 2\}$

Figure 7.4: Graph of f(x)=2+(x1)2/3{0x2}

Finding the derivative of the equation,

f(x)=0+23(x1)231=23(x1)1/3

At point x=1 in the given open interval (0,2), f(x)=. Thus f(x) does not exist at (0,2). Hence one of the conditions of Lagrange’s MVT is violated. Hence the failure.

  1. Can Cauchy’s Mean Value theorem be applied for the pair f(x)=x2 and F(x)=x3 in the interval [2,3].

Both the functions are polynomials, are continuous in [2,3] and derivable in (2,3). Now, using Cauchy’s MVT, we have,

f(b)f(a)F(b)F(a)=f(c)F(c)32(2)233(2)3=2c3c2535=23cc=143

The value of c does not lie in interval (2,3). Hence, Cauchy’s MVT cannot be applied.