MatheramaMatherama
← Definite Integration
Definite Integration·Section 15·17 min read

Mean Value Theorem for Integrals and Existence of Roots

What Is the Mean Value of a Function?§

From Average of Finite Numbers to Average of a Function§

You already know how to find the arithmetic mean (average) of nn numbers y1,y2,…,yny_1, y_2, \dots, y_n: you add them up and divide by nn:

Average=y1+y2+⋯+ynn\text{Average} = \frac{y_1 + y_2 + \dots + y_n}{n}

Now suppose a continuous function y=f(x)y = f(x) is defined on an interval [a,b][a, b]. Unlike a finite list of numbers, f(x)f(x) takes infinitely many values as xx moves continuously from aa to bb. How should we define the average height (or mean value) of f(x)f(x) over [a,b][a, b]?

Let us approximate it using a finite sample first. Divide [a,b][a, b] into nn equal sub-intervals of width h=b−anh = \frac{b - a}{n}, and sample the height of the function at the nn equally spaced points x1=a+h,  x2=a+2h,  …,  xn=a+nh=bx_1 = a + h,\; x_2 = a + 2h,\; \dots,\; x_n = a + nh = b. The ordinary average of these nn sampled heights is:

Sample Average=f(a+h)+f(a+2h)+⋯+f(a+nh)n\text{Sample Average} = \frac{f(a + h) + f(a + 2h) + \dots + f(a + nh)}{n}

Since h=b−anh = \frac{b - a}{n}, we can replace 1n\frac{1}{n} by hb−a\frac{h}{b - a}:

Sample Average=1b−a(h∑r=1nf(a+rh))\text{Sample Average} = \frac{1}{b - a} \left( h \sum_{r=1}^{n} f(a + rh) \right)

Look at the expression inside the parentheses: it is the Right Sum of f(x)f(x) on [a,b][a, b]! As we take more and more sample points by letting n→∞n \to \infty (h→0h \to 0), the Right Sum converges to the definite integral ∫abf(x) dx\int_a^b f(x)\,dx. This gives the exact definition of the Mean Value (or Average Value) μ\mu of a continuous function ff on [a,b][a, b]:

μ=favg=1b−a∫abf(x) dx\mu = f_{\text{avg}} = \frac{1}{b - a} \int_a^b f(x)\,dx

Graphical Representation: Equal-Area Rectangle and Area Balance§

Multiplying both sides of the mean-value formula by (b−a)(b - a) gives a simple geometric equation:

∫abf(x) dx=μ(b−a)\int_a^b f(x)\,dx = \mu (b - a)

When f(x)≥0f(x) \ge 0 on [a,b][a, b], this equation has two vivid geometric interpretations:

  1. The Equal-Area Rectangle (Water-Level Picture): The integral ∫abf(x) dx\int_a^b f(x)\,dx is the area under the curved graph y=f(x)y = f(x) from x=ax = a to x=bx = b, while μ(b−a)\mu(b - a) is the area of a rectangle of base (b−a)(b - a) and constant height y=μy = \mu. Imagine the region under y=f(x)y = f(x) is filled with water trapped between vertical walls at x=ax = a and x=bx = b. If you let the water settle to a flat horizontal surface, it comes to rest at the exact height y=μy = \mu!
  2. Area Above the Mean Line Equals Area Below the Mean Line: Draw the horizontal mean-value line y=μy = \mu across the graph. To flatten the curved roof y=f(x)y = f(x) into the horizontal line y=μy = \mu without changing the total area, the excess area of the curve above y=μy = \mu (the peaks) must exactly fill in the missing area between y=μy = \mu and the curve below it (the valleys):
Area above y=μ=Area below y=μ\text{Area above } y = \mu \quad = \quad \text{Area below } y = \mu

Graphical representation of the Mean Value Theorem showing equal areas above and below the mean line

Algebraically, this balance follows in one line because integrating the signed vertical deviation f(x)−μf(x) - \mu over [a,b][a, b] gives zero:

∫ab(f(x)−μ) dx=∫abf(x) dx−μ(b−a)=0\int_a^b \big(f(x) - \mu\big)\,dx = \int_a^b f(x)\,dx - \mu(b - a) = 0

The Mean Value Theorem for Integrals§

Look again at the horizontal line y=μy = \mu in the figure above. Can a continuous curve y=f(x)y = f(x) stay strictly below its own average μ\mu across the entire interval [a,b][a, b], or stay strictly above μ\mu everywhere? Clearly not! Somewhere inside the interval, the function must actually attain its average value.

Theorem (First Mean Value Theorem for Integrals): If ff is continuous on [a,b][a, b], then there exists at least one point c∈(a,b)c \in (a, b) such that:

f(c)=1b−a∫abf(x) dx⟺∫abf(x) dx=(b−a)f(c)f(c) = \frac{1}{b - a} \int_a^b f(x)\,dx \qquad \Longleftrightarrow \qquad \int_a^b f(x)\,dx = (b - a)f(c)

Two Simple Proofs§

Method 1 (Using Minimum, Maximum, and the Intermediate Value Theorem): Since ff is continuous on the closed interval [a,b][a, b], it attains an absolute minimum mm and an absolute maximum MM on [a,b][a, b]:

m≤f(x)≤Mfor all x∈[a,b]m \le f(x) \le M \qquad \text{for all } x \in [a, b]

Integrating across [a,b][a, b] gives m(b−a)≤∫abf(x) dx≤M(b−a)m(b - a) \le \int_a^b f(x)\,dx \le M(b - a). Dividing by b−a>0b - a > 0:

m≤1b−a∫abf(x) dx≤Mm \le \frac{1}{b - a}\int_a^b f(x)\,dx \le M

Thus the mean value μ=1b−a∫abf(x) dx\mu = \frac{1}{b - a}\int_a^b f(x)\,dx lies between the minimum value mm and maximum value MM of ff. By the Intermediate Value Theorem, f(c)=μf(c) = \mu for at least one point c∈(a,b)c \in (a, b).

Method 2 (Applying Lagrange's MVT to the Accumulation Function): Define the accumulation function F(x)=∫axf(t) dtF(x) = \int_a^x f(t)\,dt on [a,b][a, b]. By the Second Fundamental Theorem of Calculus, FF is continuous on [a,b][a, b] and differentiable on (a,b)(a, b) with F′(x)=f(x)F'(x) = f(x). Applying Lagrange's Mean Value Theorem to FF on [a,b][a, b] guarantees a point c∈(a,b)c \in (a, b) such that:

F′(c)=F(b)−F(a)b−a  ⟹  f(c)=∫abf(t) dt−0b−a=1b−a∫abf(x) dxF'(c) = \frac{F(b) - F(a)}{b - a} \implies f(c) = \frac{\int_a^b f(t)\,dt - 0}{b - a} = \frac{1}{b - a}\int_a^b f(x)\,dx

Weighted Mean Value Theorem for Integrals§

Sometimes the integrand is a product f(x)g(x)f(x)g(x) where one factor g(x)g(x) stays non-negative (or non-positive) throughout [a,b][a, b]:

Theorem (Weighted Mean Value Theorem for Integrals): If ff and gg are continuous on [a,b][a, b] and g(x)g(x) does not change sign on [a,b][a, b] (that is, either g(x)≥0g(x) \ge 0 for all x∈[a,b]x \in [a, b] or g(x)≤0g(x) \le 0 for all x∈[a,b]x \in [a, b]), then there exists c∈(a,b)c \in (a, b) such that:

∫abf(x)g(x) dx=f(c)∫abg(x) dx\int_a^b f(x)g(x)\,dx = f(c) \int_a^b g(x)\,dx

Why it works: Suppose g(x)≥0g(x) \ge 0 on [a,b][a, b]. Multiplying m≤f(x)≤Mm \le f(x) \le M by g(x)≥0g(x) \ge 0 preserves the inequalities:

m g(x)≤f(x)g(x)≤M g(x)  ⟹  m∫abg(x) dx≤∫abf(x)g(x) dx≤M∫abg(x) dxm\, g(x) \le f(x)g(x) \le M\, g(x) \implies m \int_a^b g(x)\,dx \le \int_a^b f(x)g(x)\,dx \le M \int_a^b g(x)\,dx

If ∫abg(x) dx>0\int_a^b g(x)\,dx > 0, dividing through shows that the ratio ∫abf(x)g(x) dx∫abg(x) dx\frac{\int_a^b f(x)g(x)\,dx}{\int_a^b g(x)\,dx} lies in [m,M][m, M], so it equals f(c)f(c) for some c∈(a,b)c \in (a, b).


Existence of Roots from Integral Conditions§

The Zero-Integral Root Principle§

Look at what happens in the Mean Value Theorem when the definite integral of a continuous function is zero:

∫abf(x) dx=0  ⟹  (b−a)f(c)=0  ⟹  f(c)=0for some c∈(a,b)\int_a^b f(x)\,dx = 0 \implies (b - a)f(c) = 0 \implies f(c) = 0 \quad \text{for some } c \in (a, b)

Zero-Integral Root Principle: If ff is continuous on [a,b][a, b] and ∫abf(x) dx=0\int_a^b f(x)\,dx = 0, then the equation f(x)=0f(x) = 0 has at least one real root c∈(a,b)c \in (a, b). (More generally, if ∫abf(x) dx=∫abg(x) dx\int_a^b f(x)\,dx = \int_a^b g(x)\,dx for continuous functions ff and gg, then ∫ab(f(x)−g(x)) dx=0\int_a^b \big(f(x) - g(x)\big)\,dx = 0, so there exists at least one c∈(a,b)c \in (a, b) where f(c)=g(c)f(c) = g(c).)

Geometrically, if the total signed area on [a,b][a, b] is zero, then unless f(x)≡0f(x) \equiv 0 everywhere, any positive area +A+A above the xx-axis must be canceled by an equal negative area −A-A below the xx-axis. Since ff is continuous, it cannot jump from positive to negative without crossing the xx-axis at some root c∈(a,b)c \in (a, b)!

Zero-integral condition forcing a continuous curve to cross the x-axis at a root c

How to Attack Root-Existence Problems Involving Integrals§

When a problem asks you to prove that an equation has a root c∈(a,b)c \in (a, b), match the given condition to one of these four patterns:

Given Condition Winning Strategy
1. Direct integral is zero: ∫abh(x) dx=0\int_a^b h(x)\,dx = 0 Apply the Zero-Integral Root Principle directly (or apply Rolle's Theorem to F(x)=∫axh(t) dtF(x) = \int_a^x h(t)\,dt since F(a)=F(b)=0F(a) = F(b) = 0).
2. Integral equals a number: ∫abf(x) dx=K\int_a^b f(x)\,dx = K Rewrite KK as ∫abg(x) dx\int_a^b g(x)\,dx where g(x)g(x) matches the right-hand side of the target equation f(c)=g(c)f(c) = g(c), so ∫ab(f(x)−g(x)) dx=0\int_a^b \big(f(x) - g(x)\big)\,dx = 0.
3. Algebraic relation with fractions: a01+a12+⋯+ann+1=0\frac{a_0}{1} + \frac{a_1}{2} + \dots + \frac{a_n}{n+1} = 0 Recognize 1k+1=∫01xk dx\frac{1}{k+1} = \int_0^1 x^k\,dx, turning the relation into ∫01(a0+a1x+⋯+anxn) dx=0\int_0^1 \big(a_0 + a_1 x + \dots + a_n x^n\big)\,dx = 0.
4. Target involves f(c)f(c) and ∫acf(t) dt\int_a^c f(t)\,dt: e.g., f(c)+λ∫acf(t) dt=0f(c) + \lambda \int_a^c f(t)\,dt = 0 Set F(x)=∫axf(t) dtF(x) = \int_a^x f(t)\,dt (so F′(x)=f(x)F'(x) = f(x)) and apply Rolle's Theorem to G(x)=eλxF(x)G(x) = e^{\lambda x}F(x) or xλF(x)x^\lambda F(x).

Worked Problems§


Example 1: Mean Value of a Linear Function vs. a Parabola (Verifying Equal Areas)

  1. Find the mean value μ\mu of the linear function f(x)=2x+1f(x) = 2x + 1 on [0,4][0, 4] and the point c∈(0,4)c \in (0, 4) where f(c)=μf(c) = \mu.
  2. Find the mean value μ\mu of the parabola f(x)=3x2f(x) = 3x^2 on [0,2][0, 2], find the point c∈(0,2)c \in (0, 2) where f(c)=μf(c) = \mu, and verify by integration that the area of the region above the line y=μy = \mu equals the area of the region below y=μy = \mu.

Solution:

Part 1 (Linear Function): On [0,4][0, 4], the mean value is:

μ=14−0∫04(2x+1) dx=14[x2+x]04=16+44=5\mu = \frac{1}{4 - 0}\int_0^4 (2x + 1)\,dx = \frac{1}{4}\Big[x^2 + x\Big]_0^4 = \frac{16 + 4}{4} = 5

Solving f(c)=2c+1=5f(c) = 2c + 1 = 5 gives c=2c = 2, which is the exact midpoint of [0,4][0, 4]. (For any linear function f(x)=mx+kf(x) = mx + k, the mean value on [a,b][a, b] is always attained at the midpoint c=a+b2c = \frac{a + b}{2}, and the region below y=μy = \mu on [a,c][a, c] and the region above y=μy = \mu on [c,b][c, b] are congruent right triangles!)

Part 2 (Parabola f(x)=3x2f(x) = 3x^2 on [0,2][0, 2]): First compute the mean value μ\mu on [0,2][0, 2]:

μ=12−0∫023x2 dx=12[x3]02=82=4\mu = \frac{1}{2 - 0}\int_0^2 3x^2\,dx = \frac{1}{2}\Big[x^3\Big]_0^2 = \frac{8}{2} = 4

To find c∈(0,2)c \in (0, 2) where f(c)=μf(c) = \mu, solve 3c2=43c^2 = 4:

c=23≈1.155∈(0,2)c = \frac{2}{\sqrt{3}} \approx 1.155 \in (0, 2)

(Notice that because y=3x2y = 3x^2 curves upward, c=23c = \frac{2}{\sqrt{3}} is shifted to the right of the midpoint x=1x = 1.)

Mean-value line y = 4 on the parabola y = 3x^2 showing equal areas above and below

Now let us verify the area balance around the mean line y=4y = 4:

  • Area below y=4y = 4 (where 3x2<43x^2 < 4, on [0,23]\left[0, \frac{2}{\sqrt{3}}\right]):
Abelow=∫02/3(4−3x2) dx=[4x−x3]02/3=83−833=1633A_{\text{below}} = \int_0^{2/\sqrt{3}} \big(4 - 3x^2\big)\,dx = \Big[4x - x^3\Big]_0^{2/\sqrt{3}} = \frac{8}{\sqrt{3}} - \frac{8}{3\sqrt{3}} = \frac{16}{3\sqrt{3}}
  • Area above y=4y = 4 (where 3x2>43x^2 > 4, on [23,2]\left[\frac{2}{\sqrt{3}}, 2\right]):
Aabove=∫2/32(3x2−4) dx=[x3−4x]2/32=(8−8)−(833−83)=1633A_{\text{above}} = \int_{2/\sqrt{3}}^2 \big(3x^2 - 4\big)\,dx = \Big[x^3 - 4x\Big]_{2/\sqrt{3}}^2 = (8 - 8) - \left(\frac{8}{3\sqrt{3}} - \frac{8}{\sqrt{3}}\right) = \frac{16}{3\sqrt{3}}

Both areas equal 1633\frac{16}{3\sqrt{3}}, confirming that the peak above y=4y = 4 exactly fills the valley below y=4y = 4!


Example 2: Mean Values of Trigonometric Waves

Find the mean value of:

  1. f(x)=sin⁡xf(x) = \sin x on [0,π][0, \pi] and on [0,2π][0, 2\pi].
  2. g(x)=sin⁡2xg(x) = \sin^2 x on [0,π][0, \pi].

Solution:

Part 1: On a half-period [0,π][0, \pi], the arch of sin⁡x\sin x has area 22, so its average height is:

μ[0,π]=1π−0∫0πsin⁡x dx=1π[−cos⁡x]0π=2π≈0.637\mu_{[0, \pi]} = \frac{1}{\pi - 0}\int_0^\pi \sin x\,dx = \frac{1}{\pi}\Big[-\cos x\Big]_0^\pi = \frac{2}{\pi} \approx 0.637

On a full period [0,2π][0, 2\pi], the positive arch on [0,π][0, \pi] (area +2+2) and the negative arch on [π,2π][\pi, 2\pi] (area −2-2) cancel completely, so μ[0,2π]=12π∫02πsin⁡x dx=0\mu_{[0, 2\pi]} = \frac{1}{2\pi}\int_0^{2\pi}\sin x\,dx = 0.

Part 2: For g(x)=sin⁡2x=1−cos⁡(2x)2g(x) = \sin^2 x = \frac{1 - \cos(2x)}{2} on [0,π][0, \pi]:

μ=1π∫0π1−cos⁡(2x)2 dx=1π[x2−sin⁡(2x)4]0π=12\mu = \frac{1}{\pi}\int_0^\pi \frac{1 - \cos(2x)}{2}\,dx = \frac{1}{\pi}\left[\frac{x}{2} - \frac{\sin(2x)}{4}\right]_0^\pi = \frac{1}{2}

(Geometrically, y=sin⁡2xy = \sin^2 x oscillates symmetrically between 00 and 11 around its horizontal midline y=12y = \frac{1}{2}, so the area above y=12y = \frac{1}{2} equals the area below y=12y = \frac{1}{2}!)


Example 3: Total Geometric Area Between a Curve and Its Mean-Value Line

For the cubic function f(x)=x3f(x) = x^3 on [0,2][0, 2], find its mean value μ\mu and calculate the total geometric area enclosed between the graph of y=x3y = x^3 and its mean-value line y=μy = \mu on [0,2][0, 2].

Solution: First compute the mean value μ\mu on [0,2][0, 2]:

μ=12−0∫02x3 dx=12[x44]02=12(4)=2\mu = \frac{1}{2 - 0}\int_0^2 x^3\,dx = \frac{1}{2}\left[\frac{x^4}{4}\right]_0^2 = \frac{1}{2}(4) = 2

The curve y=x3y = x^3 crosses the mean line y=2y = 2 at x=c=21/3x = c = 2^{1/3}. Because the area below y=2y = 2 on [0,21/3][0, 2^{1/3}] equals the area above y=2y = 2 on [21/3,2][2^{1/3}, 2], the total geometric area A=∫02∣x3−2∣ dx\mathcal{A} = \int_0^2 |x^3 - 2|\,dx is simply twice the area on [0,21/3][0, 2^{1/3}]:

A=2∫021/3(2−x3) dx=2[2x−x44]021/3\mathcal{A} = 2 \int_0^{2^{1/3}} \big(2 - x^3\big)\,dx = 2\left[2x - \frac{x^4}{4}\right]_0^{2^{1/3}}

Since (21/3)4=2⋅21/3\left(2^{1/3}\right)^4 = 2 \cdot 2^{1/3}, this simplifies cleanly to:

A=2(2⋅21/3−2⋅21/34)=2(32⋅21/3)=323\mathcal{A} = 2\left(2\cdot 2^{1/3} - \frac{2\cdot 2^{1/3}}{4}\right) = 2\left(\frac{3}{2}\cdot 2^{1/3}\right) = 3\sqrt[3]{2}

Example 4: Evaluating Limits of Integrals via the Mean Value Theorem

Evaluate:

L=lim⁡n→∞n∫01/ncos⁡(x2)1+x dxL = \lim_{n \to \infty} n \int_0^{1/n} \frac{\cos(x^2)}{1 + x}\,dx

Solution: Since f(x)=cos⁡(x2)1+xf(x) = \frac{\cos(x^2)}{1 + x} is continuous on [0,1n]\left[0, \frac{1}{n}\right], the Mean Value Theorem for Integrals guarantees a point cn∈(0,1n)c_n \in \left(0, \frac{1}{n}\right) such that:

∫01/ncos⁡(x2)1+x dx=(1n−0)cos⁡(cn2)1+cn\int_0^{1/n} \frac{\cos(x^2)}{1 + x}\,dx = \left(\frac{1}{n} - 0\right) \frac{\cos(c_n^2)}{1 + c_n}

Multiply both sides by nn:

n∫01/ncos⁡(x2)1+x dx=cos⁡(cn2)1+cnn \int_0^{1/n} \frac{\cos(x^2)}{1 + x}\,dx = \frac{\cos(c_n^2)}{1 + c_n}

As n→∞n \to \infty, since 0<cn<1n0 < c_n < \frac{1}{n}, the Squeeze Theorem forces cn→0c_n \to 0. By continuity of cos⁡(x2)1+x\frac{\cos(x^2)}{1 + x} at x=0x = 0:

L=lim⁡cn→0cos⁡(cn2)1+cn=cos⁡01+0=1L = \lim_{c_n \to 0} \frac{\cos(c_n^2)}{1 + c_n} = \frac{\cos 0}{1 + 0} = 1

Example 5: Bounding an Integral with the Weighted Mean Value Theorem

Prove that there exists c∈(0,1)c \in (0, 1) such that:

∫01x31+x2 dx=141+c2\int_0^1 \frac{x^3}{\sqrt{1 + x^2}}\,dx = \frac{1}{4\sqrt{1 + c^2}}

and deduce that 142<∫01x31+x2 dx<14\frac{1}{4\sqrt{2}} < \int_0^1 \frac{x^3}{\sqrt{1 + x^2}}\,dx < \frac{1}{4}.

Solution: Write the integrand as f(x)g(x)f(x)g(x) with f(x)=11+x2f(x) = \frac{1}{\sqrt{1 + x^2}} and g(x)=x3g(x) = x^3. On [0,1][0, 1], both functions are continuous and g(x)=x3≥0g(x) = x^3 \ge 0 never changes sign. By the Weighted Mean Value Theorem for Integrals, there exists c∈(0,1)c \in (0, 1) such that:

∫01x31+x2 dx=11+c2∫01x3 dx=141+c2\int_0^1 \frac{x^3}{\sqrt{1 + x^2}}\,dx = \frac{1}{\sqrt{1 + c^2}} \int_0^1 x^3\,dx = \frac{1}{4\sqrt{1 + c^2}}

Since 0<c<10 < c < 1, we have 1<1+c2<21 < \sqrt{1 + c^2} < \sqrt{2}, which immediately gives:

142<∫01x31+x2 dx<14\frac{1}{4\sqrt{2}} < \int_0^1 \frac{x^3}{\sqrt{1 + x^2}}\,dx < \frac{1}{4}

Example 6: Proving Existence of a Polynomial Root from a Coefficient Relation

Let a,b,c∈Ra, b, c \in \mathbb{R} satisfy 2a+3b+6c=02a + 3b + 6c = 0. Prove that the quadratic equation ax2+bx+c=0ax^2 + bx + c = 0 has at least one real root in the open interval (0,1)(0, 1).

Solution: Divide the given condition 2a+3b+6c=02a + 3b + 6c = 0 by 66:

a3+b2+c=0\frac{a}{3} + \frac{b}{2} + c = 0

Recognize each fraction as the definite integral of a power of xx on [0,1][0, 1]: 13=∫01x2 dx\frac{1}{3} = \int_0^1 x^2\,dx, 12=∫01x dx\frac{1}{2} = \int_0^1 x\,dx, and 1=∫011 dx1 = \int_0^1 1\,dx. Thus:

∫01(ax2+bx+c) dx=[ax33+bx22+cx]01=a3+b2+c=0\int_0^1 (ax^2 + bx + c)\,dx = \left[a\frac{x^3}{3} + b\frac{x^2}{2} + cx\right]_0^1 = \frac{a}{3} + \frac{b}{2} + c = 0

Since P(x)=ax2+bx+cP(x) = ax^2 + bx + c is continuous on [0,1][0, 1] and ∫01P(x) dx=0\int_0^1 P(x)\,dx = 0, the Zero-Integral Root Principle guarantees at least one x0∈(0,1)x_0 \in (0, 1) such that ax02+bx0+c=0a x_0^2 + b x_0 + c = 0.


Example 7: Matching a Non-Zero Integral Against Target Functions

Suppose ff is continuous on [1,3][1, 3] and ∫13f(x) dx=8\int_1^3 f(x)\,dx = 8. Prove that:

  1. There exists c1∈(1,3)c_1 \in (1, 3) such that f(c1)=2c1f(c_1) = 2c_1.
  2. There exists c2∈(1,3)c_2 \in (1, 3) such that c22 f(c2)=12c_2^2\, f(c_2) = 12.

Solution:

Part 1: Notice that the target right-hand side g(x)=2xg(x) = 2x also has integral 88 on [1,3][1, 3]:

∫132x dx=[x2]13=9−1=8\int_1^3 2x\,dx = \Big[x^2\Big]_1^3 = 9 - 1 = 8

Subtracting the two integrals gives:

∫13(f(x)−2x) dx=8−8=0\int_1^3 \big(f(x) - 2x\big)\,dx = 8 - 8 = 0

By the Zero-Integral Root Principle applied to the continuous function h(x)=f(x)−2xh(x) = f(x) - 2x, there exists c1∈(1,3)c_1 \in (1, 3) such that f(c1)−2c1=0f(c_1) - 2c_1 = 0, i.e., f(c1)=2c1f(c_1) = 2c_1.

Part 2: Rewrite the target equation as f(c2)=12c22f(c_2) = \frac{12}{c_2^2}, and check the integral of 12x2\frac{12}{x^2} on [1,3][1, 3]:

∫1312x2 dx=[−12x]13=−4−(−12)=8\int_1^3 \frac{12}{x^2}\,dx = \left[-\frac{12}{x}\right]_1^3 = -4 - (-12) = 8

Hence ∫13(f(x)−12x2)dx=8−8=0\int_1^3 \left(f(x) - \frac{12}{x^2}\right) dx = 8 - 8 = 0. Since f(x)−12x2f(x) - \frac{12}{x^2} is continuous on [1,3][1, 3], there exists c2∈(1,3)c_2 \in (1, 3) such that f(c2)=12c22f(c_2) = \frac{12}{c_2^2}, or c22 f(c2)=12c_2^2\, f(c_2) = 12.


Example 8: Two Moment Conditions Guarantee At Least Two Distinct Roots

Let ff be a continuous function on [0,1][0, 1] (not identically zero) such that:

∫01f(x) dx=0and∫01xf(x) dx=0\int_0^1 f(x)\,dx = 0 \qquad \text{and} \qquad \int_0^1 x f(x)\,dx = 0

Prove that the equation f(x)=0f(x) = 0 has at least two distinct real roots in (0,1)(0, 1).

Solution: We give two short, instructive proofs.

Method 1 (Using Rolle's Theorem on the Accumulation Function): Define F(x)=∫0xf(t) dtF(x) = \int_0^x f(t)\,dt on [0,1][0, 1]. Then F′(x)=f(x)F'(x) = f(x), F(0)=0F(0) = 0, and the first condition gives F(1)=∫01f(t) dt=0F(1) = \int_0^1 f(t)\,dt = 0.

Now integrate the second condition ∫01xf(x) dx=0\int_0^1 x f(x)\,dx = 0 by parts with u=xu = x and dv=f(x) dxdv = f(x)\,dx (so v=F(x)v = F(x)):

0=∫01xF′(x) dx=[xF(x)]01−∫01F(x) dx=1⋅F(1)−0−∫01F(x) dx=−∫01F(x) dx0 = \int_0^1 x F'(x)\,dx = \Big[x F(x)\Big]_0^1 - \int_0^1 F(x)\,dx = 1 \cdot F(1) - 0 - \int_0^1 F(x)\,dx = -\int_0^1 F(x)\,dx

Thus ∫01F(x) dx=0\int_0^1 F(x)\,dx = 0! By the Zero-Integral Root Principle applied to F(x)F(x), there is a point c∈(0,1)c \in (0, 1) where F(c)=0F(c) = 0.

Now look at the three zeros of FF:

F(0)=0,F(c)=0,F(1)=0F(0) = 0, \qquad F(c) = 0, \qquad F(1) = 0

Applying Rolle's Theorem to FF on [0,c][0, c] and on [c,1][c, 1] produces two distinct points c1∈(0,c)c_1 \in (0, c) and c2∈(c,1)c_2 \in (c, 1) where F′(c1)=f(c1)=0F'(c_1) = f(c_1) = 0 and F′(c2)=f(c2)=0F'(c_2) = f(c_2) = 0!

Method 2 (Sign-Change Contradiction): Since ∫01f(x) dx=0\int_0^1 f(x)\,dx = 0 and f≢0f \not\equiv 0, f(x)f(x) must change sign at least once inside (0,1)(0, 1). Suppose for contradiction that f(x)f(x) changes sign at only one point c∈(0,1)c \in (0, 1). Then x−cx - c and f(x)f(x) change sign at the exact same point x=cx = c, so their product (x−c)f(x)(x - c)f(x) stays of one single sign across all of [0,1][0, 1] (and is not identically zero). Hence:

∫01(x−c)f(x) dx≠0\int_0^1 (x - c)f(x)\,dx \neq 0

Yet expanding the integral using the given conditions yields:

∫01(x−c)f(x) dx=∫01xf(x) dx−c∫01f(x) dx=0−c(0)=0\int_0^1 (x - c)f(x)\,dx = \int_0^1 x f(x)\,dx - c \int_0^1 f(x)\,dx = 0 - c(0) = 0

This contradiction proves that f(x)f(x) must change sign at at least two distinct points in (0,1)(0, 1).


Example 9: Trigonometric Orthogonality Forcing Two Roots

Let ff be a continuous function on [0,π][0, \pi] (not identically zero) such that:

∫0πf(x)sin⁡x dx=0and∫0πf(x)cos⁡x dx=0\int_0^\pi f(x)\sin x\,dx = 0 \qquad \text{and} \qquad \int_0^\pi f(x)\cos x\,dx = 0

Prove that f(x)=0f(x) = 0 has at least two distinct roots in (0,π)(0, \pi).

Solution: First, since sin⁡x>0\sin x > 0 on (0,π)(0, \pi) and ∫0πf(x)sin⁡x dx=0\int_0^\pi f(x)\sin x\,dx = 0, f(x)f(x) cannot remain purely positive or purely negative on (0,π)(0, \pi); it must change sign at least once in (0,π)(0, \pi).

Suppose f(x)f(x) changes sign at only one point c∈(0,π)c \in (0, \pi). Notice that sin⁡(x−c)\sin(x - c) is negative for x∈(0,c)x \in (0, c) and positive for x∈(c,π)x \in (c, \pi), so sin⁡(x−c)\sin(x - c) changes sign at the exact same point x=cx = c (and nowhere else in (0,π)(0, \pi)). Therefore, the product f(x)sin⁡(x−c)f(x)\sin(x - c) never changes sign on (0,π)(0, \pi), which means:

∫0πf(x)sin⁡(x−c) dx≠0\int_0^\pi f(x)\sin(x - c)\,dx \neq 0

However, expanding sin⁡(x−c)=sin⁡xcos⁡c−cos⁡xsin⁡c\sin(x - c) = \sin x \cos c - \cos x \sin c gives:

∫0πf(x)sin⁡(x−c) dx=cos⁡c∫0πf(x)sin⁡x dx−sin⁡c∫0πf(x)cos⁡x dx=0−0=0\int_0^\pi f(x)\sin(x - c)\,dx = \cos c \int_0^\pi f(x)\sin x\,dx - \sin c \int_0^\pi f(x)\cos x\,dx = 0 - 0 = 0

Contradiction! Thus f(x)f(x) must change sign at least twice in (0,π)(0, \pi), giving at least two distinct roots.


Example 10: Proving a Differential–Integral Root Relation Using an Auxiliary Function

Let ff be continuous on [0,1][0, 1] with ∫01f(x) dx=0\int_0^1 f(x)\,dx = 0. Prove that for any real number λ\lambda, there exists c∈(0,1)c \in (0, 1) such that:

f(c)+λ∫0cf(t) dt=0f(c) + \lambda \int_0^c f(t)\,dt = 0

Solution: Let F(x)=∫0xf(t) dtF(x) = \int_0^x f(t)\,dt for x∈[0,1]x \in [0, 1]. Then FF is continuous on [0,1][0, 1] and differentiable on (0,1)(0, 1) with F′(x)=f(x)F'(x) = f(x), and the target equation becomes:

F′(c)+λF(c)=0F'(c) + \lambda F(c) = 0

Recognizing the integrating factor eλxe^{\lambda x}, define the auxiliary function:

G(x)=eλxF(x)=eλx∫0xf(t) dtG(x) = e^{\lambda x} F(x) = e^{\lambda x} \int_0^x f(t)\,dt

Check the values of G(x)G(x) at the endpoints x=0x = 0 and x=1x = 1:

G(0)=e0⋅F(0)=0andG(1)=eλ∫01f(t) dt=eλ⋅0=0G(0) = e^0 \cdot F(0) = 0 \qquad \text{and} \qquad G(1) = e^\lambda \int_0^1 f(t)\,dt = e^\lambda \cdot 0 = 0

By Rolle's Theorem applied to GG on [0,1][0, 1], there exists c∈(0,1)c \in (0, 1) such that G′(c)=0G'(c) = 0:

G′(c)=eλc(F′(c)+λF(c))=0G'(c) = e^{\lambda c}\Big(F'(c) + \lambda F(c)\Big) = 0

Since eλc>0e^{\lambda c} > 0, dividing by eλce^{\lambda c} gives f(c)+λ∫0cf(t) dt=0f(c) + \lambda \int_0^c f(t)\,dt = 0.


Summary of Key Concepts and Formulas§

Concept Formula / Statement Core Geometric or Algebraic Meaning
Mean (Average) Value μ=1b−a∫abf(x) dx\mu = \frac{1}{b - a}\int_a^b f(x)\,dx Height of the flat horizontal line y=μy = \mu enclosing the same area as y=f(x)y = f(x) on [a,b][a, b].
Equal-Area Balance ∫ab(f(x)−μ) dx=0\int_a^b \big(f(x) - \mu\big)\,dx = 0 Area of y=f(x)y = f(x) above the mean line y=μy = \mu equals the area below y=μy = \mu.
First MVT for Integrals ∫abf(x) dx=(b−a)f(c)\int_a^b f(x)\,dx = (b - a)f(c) A continuous function attains its average value at least once inside (a,b)(a, b).
Weighted MVT ∫abf(x)g(x) dx=f(c)∫abg(x) dx\int_a^b f(x)g(x)\,dx = f(c)\int_a^b g(x)\,dx Valid whenever g(x)g(x) is continuous and does not change sign on [a,b][a, b].
Zero-Integral Root Rule ∫abf(x) dx=0  ⟹  f(c)=0\int_a^b f(x)\,dx = 0 \implies f(c) = 0 Equal positive and negative signed areas force a continuous curve to cross the xx-axis.
Auxiliary Function Trick F(x)=∫axf(t) dtF(x) = \int_a^x f(t)\,dt with Rolle's Theorem Turns ∫abf(t) dt=0\int_a^b f(t)\,dt = 0 into F(a)=F(b)=0F(a) = F(b) = 0 to prove roots of expressions involving ff and ∫axf\int_a^x f.
Section 15 of 15 · Definite Integration

Mark this section complete when you have worked through its proofs.