Skip to content

Estimation, Inequalities, and Approximation of Definite Integrals

Many definite integrals that arise in mathematics, physics, and engineering cannot be evaluated in closed form—classic examples include \(\int_0^1 e^{x^2}\,dx\), \(\int_0^1 \frac{dx}{\sqrt{1 + x^4}}\), and \(\int_{\pi/6}^{\pi/3} \frac{\sin x}{x}\,dx\). Even when an exact formula is out of reach, we rarely need the exact decimal: we often only need to know how large the integral is, which of two integrals is bigger, or a tight numerical interval containing its true value.

Because a definite integral represents net signed area, every geometric comparison between curves translates directly into an inequality between integrals. In this section, we build a complete toolkit for estimating and bounding definite integrals—starting from simple sign properties and progressing to Cauchy–Schwarz and tangent-trapezium approximations.


Positivity and the Zero-Integral Criterion

Everything in integral inequalities grows out of one basic geometric fact: a non-negative curve encloses a non-negative area.

Theorem: Non-Negativity of the Integral

Let \(a < b\). If \(f(x) \ge 0\) for all \(x \in [a, b]\) (and \(f\) is integrable on \([a, b]\)), then:

\[ \int_a^b f(x)\,dx \ge 0 \]

Theorem: The Zero-Integral Criterion

Suppose \(f\) is continuous on \([a, b]\) with \(a < b\), and \(f(x) \ge 0\) for all \(x \in [a, b]\). Then:

\[ \int_a^b f(x)\,dx = 0 \iff f(x) = 0 \quad \text{for all } x \in [a, b] \]

In other words, a continuous non-negative function with zero area must be identically zero everywhere on \([a, b]\). Equivalently, if \(f\) is continuous, \(f(x) \ge 0\), and \(f(c) > 0\) at even a single point \(c \in [a, b]\), then strictly:

\[ \int_a^b f(x)\,dx > 0 \]

Proof

If \(f(x) = 0\) for all \(x \in [a, b]\), then \(\int_a^b f(x)\,dx = 0\) immediately.

Conversely, suppose for contradiction that \(f(c) > 0\) at some point \(c \in [a, b]\). Because \(f\) is continuous at \(c\), there exists a small subinterval around \(c\) of width \(2\delta > 0\) (or width \(\delta\) if \(c\) is an endpoint) lying inside \([a, b]\) on which \(f(x) \ge \frac{f(c)}{2} > 0\). Since \(f(x) \ge 0\) everywhere else on \([a, b]\), the total integral is at least the area of this small rectangle:

\[ \int_a^b f(x)\,dx \ge \frac{f(c)}{2} \cdot \delta > 0 \]

This contradicts \(\int_a^b f(x)\,dx = 0\). Hence \(f(x) = 0\) for all \(x \in [a, b]\). \(\blacksquare\)

(Why is continuity required? If \(f(x) = 0\) everywhere on \([0, 2]\) except \(f(1) = 5\), then \(f(x) \ge 0\) and \(\int_0^2 f(x)\,dx = 0\), yet \(f\) is not zero at \(x = 1\). Continuity prevents isolated spikes!)


Examples: Using the Zero-Integral Criterion

Example 1: Recovering an Unknown Function

Let \(f\) be a continuous function on \([0, 1]\) satisfying:

\[ \int_0^1 \big(f(x)\big)^2\,dx + 4 \int_0^1 x^2\,dx = 4 \int_0^1 x f(x)\,dx \]

Find \(f(x)\).

Solution: Move all terms to one side and combine under a single integral:

\[ \int_0^1 \Big( \big(f(x)\big)^2 - 4x f(x) + 4x^2 \Big)\,dx = 0 \implies \int_0^1 \big(f(x) - 2x\big)^2\,dx = 0 \]

The integrand \(g(x) = \big(f(x) - 2x\big)^2\) is continuous and non-negative on \([0, 1]\). By the Zero-Integral Criterion, \(g(x) = 0\) for all \(x \in [0, 1]\). Therefore:

\[ f(x) = 2x \quad \text{for all } x \in [0, 1] \]

Example 2: Strict Positivity Without Computing the Integral

Show that for every continuous function \(f\) on \([0, 1]\):

\[ \int_0^1 (x - x^2) e^{\sin x}\,dx > 0 \]

Solution: On \((0, 1)\), we have \(x - x^2 = x(1 - x) > 0\) and \(e^{\sin x} > 0\). Thus the integrand is continuous, non-negative on \([0, 1]\), and strictly positive at \(x = \frac{1}{2}\) (where its value is \(\frac{1}{4}e^{\sin(1/2)} > 0\)). By the Zero-Integral Criterion, the integral is strictly positive.


Monotonicity: Comparing Two Functions

Applying the non-negativity theorem to the difference \(f(x) - g(x) \ge 0\) gives the monotonicity property of definite integrals.

Theorem: Pointwise Comparison

Let \(a < b\). If \(f(x) \ge g(x)\) for all \(x \in [a, b]\), then:

\[ \int_a^b f(x)\,dx \ge \int_a^b g(x)\,dx \]

Moreover, if \(f\) and \(g\) are continuous on \([a, b]\), \(f(x) \ge g(x)\) everywhere, and \(f(c) > g(c)\) at least at one point \(c \in [a, b]\), then the inequality is strict:

\[ \int_a^b f(x)\,dx > \int_a^b g(x)\,dx \]

Core Strategy: When an integral \(\int_a^b f(x)\,dx\) has no elementary antiderivative, sandwich \(f(x)\) between two simpler functions \(g(x) \le f(x) \le h(x)\) that can be integrated easily!


Examples: Monotonicity Bounds

Example 3: Bounding the Gaussian Integral on the Unit Interval

Prove that:

\[ \frac{4}{3} < \int_0^1 e^{x^2}\,dx < e - 1 \]

Then improve the lower bound to \(\frac{43}{30}\) and the upper bound to \(2\).

Solution: On the interval \([0, 1]\), we have \(x^2 \le x\) (with strict inequality on \((0, 1)\)). Since \(e^t\) is strictly increasing:

\[ e^{x^2} < e^x \quad \text{for all } x \in (0, 1) \]

For a simple lower bound, recall the standard inequality \(e^t \ge 1 + t\) for all \(t \in \mathbb{R}\) (with strict inequality for \(t > 0\)). Putting \(t = x^2\) gives \(1 + x^2 < e^{x^2}\) on \((0, 1)\).

Integrating \(1 + x^2 < e^{x^2} < e^x\) over \([0, 1]\):

\[ \int_0^1 (1 + x^2)\,dx < \int_0^1 e^{x^2}\,dx < \int_0^1 e^x\,dx \]
\[ \left[ x + \frac{x^3}{3} \right]_0^1 < \int_0^1 e^{x^2}\,dx < \Big[ e^x \Big]_0^1 \implies \frac{4}{3} < \int_0^1 e^{x^2}\,dx < e - 1 \approx 1.718 \]

Sharpening the bounds: * For a sharper lower bound, use \(e^t > 1 + t + \frac{t^2}{2}\) for \(t > 0\). Setting \(t = x^2\):

\[ \int_0^1 e^{x^2}\,dx > \int_0^1 \left(1 + x^2 + \frac{x^4}{2}\right) dx = 1 + \frac{1}{3} + \frac{1}{10} = \frac{43}{30} \approx 1.433 \]
  • For a clean rational upper bound, note that for \(t \in [0, 1]\), \(e^t \le 1 + (e - 1)t\)? Even simpler: \(x^2 \le x\), or notice \(1 - x^2 \ge 0\) doesn't bound above, whereas \(e^{x^2} \le \frac{1}{1 - x^2}\) blows up at \(1\). Instead, for \(x \in [0, 1]\), \(e^{x^2} \le 1 + (e - 1)x^2\) (since \(e^t\) is convex on \([0, 1]\)!). Integrating gives:
\[ \int_0^1 e^{x^2}\,dx < \int_0^1 \big(1 + (e - 1)x^2\big)\,dx = 1 + \frac{e - 1}{3} = \frac{e + 2}{3} \approx 1.573 < 2 \]

(Compare with the true value \(\int_0^1 e^{x^2}\,dx \approx 1.46265\)!)


Example 4: Bounding an Elliptic-Type Integral

Show that:

\[ \frac{9}{10} < \int_0^1 \frac{dx}{\sqrt{1 + x^4}} < 1 \]

and refine the lower bound to \(\ln(1 + \sqrt{2}) \approx 0.881\) or better using \(1 + \frac{x^4}{2}\).

Solution: First, for \(x \in (0, 1)\), we have \(\sqrt{1 + x^4} > 1\), so \(\frac{1}{\sqrt{1 + x^4}} < 1\), giving the immediate upper bound:

\[ \int_0^1 \frac{dx}{\sqrt{1 + x^4}} < \int_0^1 1\,dx = 1 \]

For the lower bound, note that for any \(u > 0\), \((1 + \frac{u}{2})^2 = 1 + u + \frac{u^2}{4} > 1 + u\), so \(\sqrt{1 + u} < 1 + \frac{u}{2}\). Taking \(u = x^4\):

\[ \frac{1}{\sqrt{1 + x^4}} > \frac{1}{1 + \frac{x^4}{2}} > 1 - \frac{x^4}{2} \]

(Checking the second step: \((1 + \frac{x^4}{2})(1 - \frac{x^4}{2}) = 1 - \frac{x^8}{4} < 1\) on \((0, 1)\)!)

Integrating \(1 - \frac{x^4}{2} < \frac{1}{\sqrt{1 + x^4}}\) on \([0, 1]\) gives:

\[ \int_0^1 \frac{dx}{\sqrt{1 + x^4}} > \int_0^1 \left(1 - \frac{x^4}{2}\right) dx = 1 - \frac{1}{10} = \frac{9}{10} = 0.9 \]

(The true value is approximately \(0.9270\)!)


Example 5: Comparing High Powers Without Evaluating

Which is larger: \(\int_0^1 x^x\,dx\) or \(\frac{2}{3}\)?

Solution: Using the AM–GM inequality (or \(e^t \ge 1 + t\)): for \(x \in (0, 1)\), \(\ln x \ge 1 - \frac{1}{x}\) doesn't help as cleanly as \(x^x = e^{x\ln x} \ge 1 + x\ln x\). Integrate \(1 + x\ln x\) on \([0, 1]\) by parts:

\[ \int_0^1 x\ln x\,dx = \left[ \frac{x^2}{2}\ln x \right]_0^1 - \int_0^1 \frac{x}{2}\,dx = -\frac{1}{4} \]

Hence:

\[ \int_0^1 x^x\,dx > \int_0^1 (1 + x\ln x)\,dx = 1 - \frac{1}{4} = \frac{3}{4} > \frac{2}{3} \]

(In fact, \(\int_0^1 x^x\,dx \approx 0.7834\)!)


Example 6: Adding, Dropping, and Replacing Terms Inside a Radical

Find tight upper and lower bounds for:

\[ I = \int_0^1 \frac{dx}{\sqrt{x^3 + x + 1}} \]

Solution: We cannot integrate \(\frac{1}{\sqrt{x^3 + x + 1}}\) directly in elementary functions, so we modify the terms inside the square root on \((0, 1)\) to create integrable expressions:

  1. Upper bound by dropping a positive term: Since \(x^3 > 0\) on \((0, 1)\), dropping \(x^3\) makes the denominator smaller and the fraction larger:
\[ \frac{1}{\sqrt{x^3 + x + 1}} < \frac{1}{\sqrt{x + 1}} \]

Integrating over \([0, 1]\):

\[ I < \int_0^1 \frac{dx}{\sqrt{x + 1}} = \Big[ 2\sqrt{x + 1} \Big]_0^1 = 2(\sqrt{2} - 1) \approx 0.8284 \]
  1. Lower bound by replacing \(x^3\) with a larger term: Since \(0 < x < 1\), we have \(x^3 < x\). Replacing \(x^3\) by \(x\) makes the denominator larger and the fraction smaller:
\[ \frac{1}{\sqrt{x^3 + x + 1}} > \frac{1}{\sqrt{2x + 1}} \]

Integrating over \([0, 1]\):

\[ I > \int_0^1 \frac{dx}{\sqrt{2x + 1}} = \Big[ \sqrt{2x + 1} \Big]_0^1 = \sqrt{3} - 1 \approx 0.7321 \]
  1. Alternative rational lower bound by completing the square: What if an estimate in terms of \(\ln 2\) is needed? Add the positive quantity \(x + (x^2 - x^3) > 0\) inside the square root on \((0, 1]\):
\[ x^3 + x + 1 < x^2 + 2x + 1 = (x + 1)^2 \implies \frac{1}{\sqrt{x^3 + x + 1}} > \frac{1}{x + 1} \]

Integrating gives \(I > \int_0^1 \frac{dx}{x + 1} = \ln 2 \approx 0.6931\). Putting our sharpest two bounds together yields:

\[ \sqrt{3} - 1 < \int_0^1 \frac{dx}{\sqrt{x^3 + x + 1}} < 2(\sqrt{2} - 1) \]

(True value: approximately \(0.7860\).)


Example 7: Adjusting Radicals to Match Standard Antiderivatives

Prove that:

\[ \frac{\pi}{6} < \int_0^1 \frac{dx}{\sqrt{4 - x^2 - x^3}} < \frac{\pi}{4\sqrt{2}} \]

Solution: On the open interval \((0, 1)\), we have \(0 < x^3 < x^2\).

  • Lower bound (drop \(-x^3\)): Removing \(-x^3\) makes the denominator larger:
\[ 4 - x^2 - x^3 < 4 - x^2 \implies \frac{1}{\sqrt{4 - x^2 - x^3}} > \frac{1}{\sqrt{4 - x^2}} \]

Integrating over \([0, 1]\):

\[ \int_0^1 \frac{dx}{\sqrt{4 - x^2 - x^3}} > \int_0^1 \frac{dx}{\sqrt{4 - x^2}} = \left[ \sin^{-1}\!\left(\frac{x}{2}\right) \right]_0^1 = \frac{\pi}{6} \]
  • Upper bound (replace \(-x^3\) with \(-x^2\)): Since \(x^3 < x^2\) on \((0, 1)\):
\[ 4 - x^2 - x^3 > 4 - 2x^2 \implies \frac{1}{\sqrt{4 - x^2 - x^3}} < \frac{1}{\sqrt{4 - 2x^2}} \]

Integrating over \([0, 1]\):

\[ \int_0^1 \frac{dx}{\sqrt{4 - x^2 - x^3}} < \frac{1}{\sqrt{2}} \int_0^1 \frac{dx}{\sqrt{2 - x^2}} = \frac{1}{\sqrt{2}} \left[ \sin^{-1}\!\left(\frac{x}{\sqrt{2}}\right) \right]_0^1 = \frac{\pi}{4\sqrt{2}} \]

Example 8: Adding and Dropping Terms via Algebraic Identities

Prove that:

\[ \frac{8}{9} < \int_0^1 \frac{\tan^{-1} x}{x}\,dx < \frac{209}{225} \]

Solution: Start from the exact algebraic identity:

\[ \frac{1}{1 + t^2} = 1 - t^2 + \frac{t^4}{1 + t^2} \]

For \(t > 0\), dropping the positive remainder \(\frac{t^4}{1 + t^2}\) gives \(1 - t^2 < \frac{1}{1 + t^2}\), while dropping \(t^2\) in the denominator of that remainder gives \(\frac{1}{1 + t^2} < 1 - t^2 + t^4\). Integrating both inequalities from \(t = 0\) to \(t = x\) (\(x > 0\)):

\[ x - \frac{x^3}{3} < \tan^{-1} x < x - \frac{x^3}{3} + \frac{x^5}{5} \]

Dividing through by \(x > 0\) and integrating over \([0, 1]\) gives:

\[ \int_0^1 \left(1 - \frac{x^2}{3}\right) dx < \int_0^1 \frac{\tan^{-1} x}{x}\,dx < \int_0^1 \left(1 - \frac{x^2}{3} + \frac{x^4}{5}\right) dx \]
\[ 1 - \frac{1}{9} < \int_0^1 \frac{\tan^{-1} x}{x}\,dx < 1 - \frac{1}{9} + \frac{1}{25} \implies \frac{8}{9} < \int_0^1 \frac{\tan^{-1} x}{x}\,dx < \frac{209}{225} \]

(Numerically, \(0.8889 < I < 0.9289\); the exact value is Catalan's constant \(\approx 0.9160\).)


Min–Max Bounds and Weighted Integral Bounds

Suppose we know the minimum value \(m\) and maximum value \(M\) of \(f(x)\) on \([a, b]\).

The Standard Box Bound

If \(m \le f(x) \le M\) for all \(x \in [a, b]\) (\(a < b\)), integrating the constant bounds directly gives:

\[ m(b - a) \le \int_a^b f(x)\,dx \le M(b - a) \]

The Weighted Min–Max Bound

Often an integrand splits naturally into a product \(f(x)g(x)\) where \(g(x) \ge 0\) on \([a, b]\) is easy to integrate, while \(f(x)\) is difficult to integrate but easy to bound!

If \(g(x) \ge 0\) and \(m \le f(x) \le M\) for all \(x \in [a, b]\) (\(a < b\)), multiplying through by the non-negative function \(g(x)\) preserves all inequalities:

\[ m\, g(x) \le f(x)g(x) \le M\, g(x) \]

Integrating over \([a, b]\) yields the weighted min–max bound:

\[ 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 \(f\) is continuous on \([a, b]\) and \(g(x) \ge 0\), the Intermediate Value Theorem guarantees there is some \(c \in [a, b]\) such that \(\int_a^b f(x)g(x)\,dx = f(c)\int_a^b g(x)\,dx\). This is the First Mean Value Theorem for Integrals.)


Examples: Min–Max and Weighted Bounds

Example 9: Weighted Bound on a Rational-Power Integral

For any integer \(n \ge 1\), prove that:

\[ \frac{1}{2(n + 1)} < \int_0^1 \frac{x^n}{1 + x^2}\,dx < \frac{1}{n + 1} \]

and deduce that \(\lim_{n \to \infty} \int_0^1 \frac{x^n}{1 + x^2}\,dx = 0\).

Solution: Write the integrand as \(f(x) g(x)\) with \(g(x) = x^n \ge 0\) and \(f(x) = \frac{1}{1 + x^2}\). On \([0, 1]\), \(f(x)\) is strictly decreasing, so:

\[ \frac{1}{2} \le \frac{1}{1 + x^2} \le 1 \]

(with strict inequality on \((0, 1)\)). Multiplying by \(x^n \ge 0\) and integrating over \([0, 1]\) gives:

\[ \frac{1}{2} \int_0^1 x^n\,dx < \int_0^1 \frac{x^n}{1 + x^2}\,dx < 1 \cdot \int_0^1 x^n\,dx \]

Since \(\int_0^1 x^n\,dx = \frac{1}{n + 1}\):

\[ \frac{1}{2(n + 1)} < \int_0^1 \frac{x^n}{1 + x^2}\,dx < \frac{1}{n + 1} \]

As \(n \to \infty\), both \(\frac{1}{2(n+1)}\) and \(\frac{1}{n+1}\) approach \(0\), so by the Sandwich Theorem, the integral approaches \(0\).


Example 10: Estimating a Trigonometric Integral Using Weighted Bounds

Estimate \(I = \int_{\pi/6}^{\pi/3} \frac{\sin x}{x}\,dx\).

Solution: Here \(g(x) = \sin x > 0\) on \([\pi/6, \pi/3]\), and \(f(x) = \frac{1}{x}\) satisfies:

\[ \frac{3}{\pi} \le \frac{1}{x} \le \frac{6}{\pi} \]

Applying the weighted min–max bound with \(\int_{\pi/6}^{\pi/3} \sin x\,dx = \big[-\cos x\big]_{\pi/6}^{\pi/3} = \frac{\sqrt{3} - 1}{2}\):

\[ \frac{3}{\pi} \cdot \frac{\sqrt{3} - 1}{2} < \int_{\pi/6}^{\pi/3} \frac{\sin x}{x}\,dx < \frac{6}{\pi} \cdot \frac{\sqrt{3} - 1}{2} \]

Numerically, this gives \(0.349 < I < 0.699\) (true value \(\approx 0.489\)).


Example 11: Using a Non-Constant Weight to Bound a Logarithmic Integral

Show that:

\[ \ln 2 - \frac{1}{2} < \int_0^1 \frac{\ln(1 + x)}{1 + x^2}\,dx < 2\ln 2 - 1 \]

Solution: Write the integrand as \(f(x) g(x)\) with weight \(g(x) = \ln(1 + x) \ge 0\) on \([0, 1]\) and \(f(x) = \frac{1}{1 + x^2}\). On \([0, 1]\), \(f(x)\) satisfies \(\frac{1}{2} \le \frac{1}{1 + x^2} \le 1\), with strict inequality on \((0, 1)\).

Integrating the weight by parts gives:

\[ \int_0^1 \ln(1 + x)\,dx = \Big[ (1 + x)\ln(1 + x) - x \Big]_0^1 = 2\ln 2 - 1 \]

Applying the weighted min–max bound:

\[ \frac{1}{2}(2\ln 2 - 1) < \int_0^1 \frac{\ln(1 + x)}{1 + x^2}\,dx < 2\ln 2 - 1 \]

That is, \(\ln 2 - \frac{1}{2} \approx 0.193 < I < 2\ln 2 - 1 \approx 0.386\). (In Section 8, King's Rule evaluated this integral exactly as \(\frac{\pi}{8}\ln 2 \approx 0.2722\), which sits right in the middle of our estimate!)


Example 12: Multiplying and Dividing to Create an Integrable Weight

Prove that:

\[ \frac{e^{-1} - e^{-4}}{4} < \int_1^2 e^{-x^2}\,dx < \frac{e^{-1} - e^{-4}}{2} \]

Solution: We cannot integrate \(e^{-x^2}\) directly, but we can integrate \(x e^{-x^2}\)! Rewrite the integrand by multiplying and dividing by \(x\):

\[ e^{-x^2} = \frac{1}{x} \cdot \left(x e^{-x^2}\right) \]

Now take \(g(x) = x e^{-x^2} > 0\) as the weight and \(f(x) = \frac{1}{x}\). On \([1, 2]\), \(\frac{1}{2} \le \frac{1}{x} \le 1\), and the weight integrates cleanly via \(u = x^2\):

\[ \int_1^2 x e^{-x^2}\,dx = \left[ -\frac{1}{2} e^{-x^2} \right]_1^2 = \frac{e^{-1} - e^{-4}}{2} \]

Applying the weighted min–max bound yields:

\[ \frac{1}{2}\left(\frac{e^{-1} - e^{-4}}{2}\right) < \int_1^2 e^{-x^2}\,dx < 1 \cdot \left(\frac{e^{-1} - e^{-4}}{2}\right) \]
\[ \frac{e^{-1} - e^{-4}}{4} < \int_1^2 e^{-x^2}\,dx < \frac{e^{-1} - e^{-4}}{2} \]

(Numerically, \(0.0874 < I < 0.1748\); the true value is approximately \(0.1353\).)


Example 13: Sharpening a Box Bound by Splitting the Interval

Using the box bound, \(\int_0^1 \frac{dx}{1 + x^3}\) easily satisfies \(\frac{1}{2} < I < 1\). Split \([0, 1]\) at \(x = \frac{1}{2}\) to tighten this estimate to \(\frac{25}{36} < I < \frac{17}{18}\).

Solution: Because \(f(x) = \frac{1}{1 + x^3}\) is strictly decreasing on \([0, 1]\):

  • On \([0, \frac{1}{2}]\), its minimum is \(f(\frac{1}{2}) = \frac{8}{9}\) and its maximum is \(f(0) = 1\), giving:
\[ \frac{8}{9} \cdot \frac{1}{2} < \int_0^{1/2} \frac{dx}{1 + x^3} < 1 \cdot \frac{1}{2} \implies \frac{4}{9} < \int_0^{1/2} \frac{dx}{1 + x^3} < \frac{1}{2} \]
  • On \([\frac{1}{2}, 1]\), its minimum is \(f(1) = \frac{1}{2}\) and its maximum is \(f(\frac{1}{2}) = \frac{8}{9}\), giving:
\[ \frac{1}{2} \cdot \frac{1}{2} < \int_{1/2}^1 \frac{dx}{1 + x^3} < \frac{8}{9} \cdot \frac{1}{2} \implies \frac{1}{4} < \int_{1/2}^1 \frac{dx}{1 + x^3} < \frac{4}{9} \]

Adding the two intervals gives:

\[ \frac{4}{9} + \frac{1}{4} < \int_0^1 \frac{dx}{1 + x^3} < \frac{1}{2} + \frac{4}{9} \implies \frac{25}{36} < \int_0^1 \frac{dx}{1 + x^3} < \frac{17}{18} \]

(This cuts the interval width in half—from \(0.500\) down to \(0.250\), trapping the true value \(\approx 0.8356\) cleanly inside \((0.694, 0.944)\).)


The Modulus (Triangle) Inequality for Integrals

When an integrand changes sign (such as \(\sin x\), \(\cos(nx)\), or \(x - \frac{1}{2}\)), positive and negative areas partially cancel. Taking the absolute value inside the integral prevents cancellation, making the integral at least as large in magnitude.

Theorem: The Triangle Inequality for Definite Integrals

If \(f\) is integrable on \([a, b]\) with \(a < b\), then:

\[ \left| \int_a^b f(x)\,dx \right| \le \int_a^b |f(x)|\,dx \]

Moreover, if \(f\) is continuous on \([a, b]\), equality holds if and only if \(f(x)\) never changes sign on \([a, b]\) (that is, either \(f(x) \ge 0\) for all \(x \in [a, b]\), or \(f(x) \le 0\) for all \(x \in [a, b]\)).

Proof

For every \(x \in [a, b]\), we have \(-|f(x)| \le f(x) \le |f(x)|\). By monotonicity on \([a, b]\) (\(a < b\)):

\[ -\int_a^b |f(x)|\,dx \le \int_a^b f(x)\,dx \le \int_a^b |f(x)|\,dx \]

By definition of absolute value, this means \(\left| \int_a^b f(x)\,dx \right| \le \int_a^b |f(x)|\,dx\).

For the equality condition when \(f\) is continuous: equality means \(\int_a^b f(x)\,dx = \pm \int_a^b |f(x)|\,dx\), which rearranges to:

\[ \int_a^b \big(|f(x)| - f(x)\big)\,dx = 0 \qquad \text{or} \qquad \int_a^b \big(|f(x)| + f(x)\big)\,dx = 0 \]

Since both \(|f(x)| - f(x) \ge 0\) and \(|f(x)| + f(x) \ge 0\) are continuous and non-negative, the Zero-Integral Criterion tells us that either \(|f(x)| = f(x)\) everywhere (meaning \(f \ge 0\)) or \(|f(x)| = -f(x)\) everywhere (meaning \(f \le 0\)). \(\blacksquare\)

(Warning: Always check \(a < b\)! If \(a > b\), then \(\int_a^b |f(x)|\,dx \le 0\), so the inequality flips unless you write \(\left|\int_a^b f(x)\,dx\right| \le \left|\int_a^b |f(x)|\,dx\right|\).)


Examples: Modulus Bounds

Example 14: Bounding an Oscillatory Integral

Prove that:

\[ \left| \int_1^{10} \frac{\sin(x^2)}{x^2}\,dx \right| < \frac{9}{10} \]

Solution: Applying the modulus inequality and using \(|\sin(x^2)| \le 1\):

\[ \left| \int_1^{10} \frac{\sin(x^2)}{x^2}\,dx \right| \le \int_1^{10} \frac{|\sin(x^2)|}{x^2}\,dx < \int_1^{10} \frac{1}{x^2}\,dx = \left[ -\frac{1}{x} \right]_1^{10} = 1 - \frac{1}{10} = \frac{9}{10} \]

(Strict inequality holds because \(|\sin(x^2)| < 1\) almost everywhere on \([1, 10]\).)


Example 15: An Equality-Case Trap

Suppose \(f\) is continuous on \([0, 2]\) and \(\left|\int_0^2 f(x)\,dx\right| = \int_0^2 |f(x)|\,dx\). If \(f(0) = 3\) and \(f(2) = -1\), is such a function possible?

Solution: No! Because \(f\) is continuous with \(f(0) > 0\) and \(f(2) < 0\), the Intermediate Value Theorem forces \(f\) to take both positive and negative values on \([0, 2]\). By the equality condition of the modulus inequality, equality can hold only if \(f\) never changes sign—a contradiction.


The Cauchy–Schwarz (Bunyakovsky) Inequality for Integrals

In algebra, the Cauchy–Schwarz inequality states that \(\left(\sum a_k b_k\right)^2 \le \left(\sum a_k^2\right)\left(\sum b_k^2\right)\). Replacing sums with definite integrals gives one of the sharpest inequalities in all of calculus.

Theorem: Cauchy–Schwarz Inequality for Integrals

Let \(f\) and \(g\) be integrable functions on \([a, b]\) with \(a < b\). Then:

\[ \left( \int_a^b f(x)g(x)\,dx \right)^2 \le \left( \int_a^b \big(f(x)\big)^2\,dx \right)\left( \int_a^b \big(g(x)\big)^2\,dx \right) \]

If \(f\) and \(g\) are continuous, equality holds if and only if \(f\) and \(g\) are proportional—that is, either \(g(x) = 0\) everywhere on \([a, b]\), or there exists a constant \(\lambda \in \mathbb{R}\) such that \(f(x) = \lambda\, g(x)\) for all \(x \in [a, b]\).

Proof (Via Quadratic Discriminant)

If \(\int_a^b g(x)^2\,dx = 0\), then for continuous \(g\) we have \(g \equiv 0\) and both sides are \(0\).

Otherwise, let \(A = \int_a^b g(x)^2\,dx > 0\), \(B = \int_a^b f(x)g(x)\,dx\), and \(C = \int_a^b f(x)^2\,dx\). For every real number \(t \in \mathbb{R}\), the square \(\big(f(x) + t\, g(x)\big)^2 \ge 0\) on \([a, b]\), so:

\[ P(t) = \int_a^b \big(f(x) + t\, g(x)\big)^2\,dx = A t^2 + 2Bt + C \ge 0 \qquad \text{for all } t \in \mathbb{R} \]

Because this upward-opening quadratic \(A t^2 + 2Bt + C\) is never negative for any real \(t\), it cannot have two distinct real roots. Hence its discriminant must satisfy \(\Delta \le 0\):

\[ (2B)^2 - 4AC \le 0 \implies B^2 \le AC \]

Substituting \(A, B, C\) gives the inequality. Moreover, equality \(B^2 = AC\) holds precisely when \(\Delta = 0\), meaning there is some real root \(t_0\) where \(\int_a^b \big(f(x) + t_0 g(x)\big)^2\,dx = 0\). For continuous \(f, g\), the Zero-Integral Criterion forces \(f(x) + t_0 g(x) = 0\) everywhere, i.e., \(f(x) = (-t_0)g(x)\). \(\blacksquare\)

Important Special Case: Constant Weight

Setting \(g(x) = 1\) on \([a, b]\) gives the average-value bound:

\[ \left( \int_a^b f(x)\,dx \right)^2 \le (b - a) \int_a^b \big(f(x)\big)^2\,dx \]

with equality if and only if \(f(x)\) is constant on \([a, b]\).


Examples: Cauchy–Schwarz in Action

Example 16: Reciprocal Product Inequality

Let \(f\) be continuous and strictly positive on \([a, b]\) (\(a < b\)). Prove that:

\[ \left( \int_a^b f(x)\,dx \right)\left( \int_a^b \frac{1}{f(x)}\,dx \right) \ge (b - a)^2 \]

Solution: Apply Cauchy–Schwarz to \(\sqrt{f(x)}\) and \(\frac{1}{\sqrt{f(x)}}\):

\[ \left( \int_a^b \sqrt{f(x)} \cdot \frac{1}{\sqrt{f(x)}}\,dx \right)^2 \le \left( \int_a^b f(x)\,dx \right)\left( \int_a^b \frac{1}{f(x)}\,dx \right) \]

The left-hand side is simply \(\left(\int_a^b 1\,dx\right)^2 = (b - a)^2\), giving the result immediately! Equality holds iff \(\sqrt{f(x)} = \lambda / \sqrt{f(x)}\), i.e., \(f(x)\) is constant on \([a, b]\).


Example 17: Tight Upper Bounds on Square-Root Integrals

Show that:

\[ \int_0^1 \sqrt{1 + x^4}\,dx < \sqrt{\frac{6}{5}} \approx 1.0954 \]

Solution: Apply Cauchy–Schwarz with \(f(x) = \sqrt{1 + x^4}\) and \(g(x) = 1\) on \([0, 1]\):

\[ \left( \int_0^1 \sqrt{1 + x^4}\,dx \right)^2 \le (1 - 0) \int_0^1 (1 + x^4)\,dx = 1 + \frac{1}{5} = \frac{6}{5} \]

Because \(\sqrt{1 + x^4}\) is not constant on \([0, 1]\), the inequality is strict:

\[ \int_0^1 \sqrt{1 + x^4}\,dx < \sqrt{\frac{6}{5}} \]

(Notice how sharp this is: the pointwise inequality \(\sqrt{1 + x^4} < 1 + \frac{x^4}{2}\) gives \(1.100\), whereas Cauchy–Schwarz gives \(\sqrt{1.2} \approx 1.0954\) in a single line!)


Example 18: Using Equality in Cauchy–Schwarz to Pin Down a Function

Let \(f\) be a continuous function on \([0, 1]\) such that:

\[ \int_0^1 f(x)\,dx = 1 \qquad \text{and} \qquad \int_0^1 x f(x)\,dx = 1 \]

Prove that \(\int_0^1 \big(f(x)\big)^2\,dx \ge 4\), and find \(f(x)\) if equality holds.

Solution: Notice that for any constants \(\alpha, \beta\), Cauchy–Schwarz applied to \(f(x)\) and \(g(x) = \alpha + \beta x\) gives:

\[ \left( \int_0^1 (\alpha + \beta x) f(x)\,dx \right)^2 \le \left( \int_0^1 f(x)^2\,dx \right)\left( \int_0^1 (\alpha + \beta x)^2\,dx \right) \]

Equality holds if and only if \(f(x)\) is proportional to \(\alpha + \beta x\)—so to find the sharpest linear function \(g(x) = A + B x\), solve the given conditions for \(A + Bx\):

\[ \int_0^1 (A + B x)\,dx = A + \frac{B}{2} = 1, \qquad \int_0^1 x(A + B x)\,dx = \frac{A}{2} + \frac{B}{3} = 1 \]

Subtracting \(\frac{1}{2}\) times the first from the second gives \(\frac{B}{12} = \frac{1}{2} \implies B = 6\), and hence \(A = -2\).

Now apply Cauchy–Schwarz with \(g(x) = 6x - 2\) directly:

\[ \int_0^1 (6x - 2) f(x)\,dx = 6(1) - 2(1) = 4 \]
\[ \int_0^1 (6x - 2)^2\,dx = \int_0^1 (36x^2 - 24x + 4)\,dx = 12 - 12 + 4 = 4 \]

Therefore:

\[ 4^2 \le \left( \int_0^1 f(x)^2\,dx \right) \cdot 4 \implies \int_0^1 \big(f(x)\big)^2\,dx \ge 4 \]

Equality holds if and only if \(f(x) = \lambda (6x - 2)\); substituting into \(\int_0^1 f(x)\,dx = 1\) gives \(\lambda = 1\), so \(f(x) = 6x - 2\).


Geometric Approximations: Rectangles, Trapeziums, and Tangents

We can obtain remarkably sharp estimates—and connect integrals to discrete sums—by approximating the curve \(y = f(x)\) using rectangles, trapezium chords (secants), and tangent lines.

1. Rectangle Bounds for Monotone Functions

Suppose \(f\) is increasing on \([a, b]\). Divide \([a, b]\) into \(n\) equal subintervals of width \(h = \frac{b - a}{n}\), with grid points \(x_k = a + k h\) (\(k = 0, 1, \dots, n\)).

On each subinterval \([x_{k-1}, x_k]\), because \(f\) is increasing:

\[ f(x_{k-1}) \le f(x) \le f(x_k) \]

Summing the areas of the inscribed (left-endpoint) and circumscribed (right-endpoint) rectangles gives:

\[ h \sum_{k=0}^{n-1} f(x_k) \le \int_a^b f(x)\,dx \le h \sum_{k=1}^n f(x_k) \]

(If \(f\) is decreasing on \([a, b]\), the inequalities reverse: the right-endpoint sum is the lower bound, and the left-endpoint sum is the upper bound.)

Left and right rectangle bounds for an increasing function

Notice that the gap between the upper and lower rectangle bounds is simply:

\[ h \big|f(b) - f(a)\big| = \frac{b - a}{n} \big|f(b) - f(a)\big| \]

Example 19: Bounding the Harmonic Sum via Decreasing Rectangles

For any integer \(n \ge 1\), prove that:

\[ \ln(n + 1) < 1 + \frac{1}{2} + \frac{1}{3} + \cdots + \frac{1}{n} < 1 + \ln n \]

Solution: The function \(f(x) = \frac{1}{x}\) is positive and strictly decreasing on \([1, \infty)\).

  1. On each unit interval \([k, k + 1]\) (\(k = 1, 2, \dots, n\)), \(f(x) < f(k) = \frac{1}{k}\) on \((k, k + 1]\), so:
\[ \int_k^{k+1} \frac{dx}{x} < \frac{1}{k} \implies \sum_{k=1}^n \int_k^{k+1} \frac{dx}{x} < \sum_{k=1}^n \frac{1}{k} \implies \ln(n + 1) < \sum_{k=1}^n \frac{1}{k} \]
  1. On each unit interval \([k - 1, k]\) (\(k = 2, 3, \dots, n\)), \(\frac{1}{k} = f(k) < f(x)\) on \([k - 1, k)\), so:
\[ \frac{1}{k} < \int_{k-1}^k \frac{dx}{x} \implies \sum_{k=2}^n \frac{1}{k} < \int_1^n \frac{dx}{x} = \ln n \]

Adding \(1\) to both sides gives \(\sum_{k=1}^n \frac{1}{k} < 1 + \ln n\).


2. Convexity Bounds: Midpoint Tangent vs. Secant Trapezium

Rectangles use horizontal lines (slope \(0\)), so their error shrinks only like \(\frac{1}{n}\). When a curve bends consistently in one direction—either convex (cupped upward, \(f''(x) \ge 0\)) or concave (cupped downward, \(f''(x) \le 0\))—we can trap the curve between a tangent line and a secant chord (trapezium)!

Theorem: The Tangent–Trapezium (Hermite–Hadamard) Inequality

Let \(f\) be a convex function on \([a, b]\) (\(f''(x) \ge 0\) on \((a, b)\)). Then:

\[ f\!\left(\frac{a + b}{2}\right)(b - a) \le \int_a^b f(x)\,dx \le \frac{f(a) + f(b)}{2}(b - a) \]

If \(f\) is concave on \([a, b]\) (\(f''(x) \le 0\) on \((a, b)\)), both inequalities reverse:

\[ \frac{f(a) + f(b)}{2}(b - a) \le \int_a^b f(x)\,dx \le f\!\left(\frac{a + b}{2}\right)(b - a) \]

(If \(f\) is strictly convex or strictly concave, both inequalities are strict.)

Geometric Proof

Consider the convex case (\(f''(x) \ge 0\)):

  1. Upper bound (Secant / Trapezium): Because \(f\) is convex, the straight line segment (secant chord) joining \((a, f(a))\) and \((b, f(b))\) lies above the graph \(y = f(x)\) on \([a, b]\). The area under this chord is a trapezium of width \(b - a\) and parallel heights \(f(a)\) and \(f(b)\):
\[ \int_a^b f(x)\,dx \le \text{Area of Trapezium} = \frac{f(a) + f(b)}{2}(b - a) \]
  1. Lower bound (Midpoint Tangent): Because \(f\) is convex, the tangent line at the midpoint \(m = \frac{a + b}{2}\), given by \(L(x) = f(m) + f'(m)(x - m)\), lies below the graph \(y = f(x)\) on \([a, b]\). Integrating \(L(x)\) over \([a, b]\)—notice \(\int_a^b (x - m)\,dx = 0\) by symmetry around the midpoint \(m\)!—gives:
\[ \int_a^b f(x)\,dx \ge \int_a^b \big(f(m) + f'(m)(x - m)\big)\,dx = f(m)(b - a) = f\!\left(\frac{a + b}{2}\right)(b - a) \]

Midpoint tangent lower bound and secant trapezium upper bound for a convex function

\(\blacksquare\)

Refining by Splitting the Interval

If one trapezium and one midpoint tangent are not tight enough, simply split \([a, b]\) into \(n\) equal subintervals of width \(h = \frac{b - a}{n}\) and apply the same bounds on each panel! For a convex function:

  • Midpoint Rule (Tangent Sum): \(M_n = h \sum_{k=1}^n f\!\left(a + \left(k - \frac{1}{2}\right)h\right) \le \int_a^b f(x)\,dx\).
  • Trapezoidal Rule (Secant Sum): \(T_n = \frac{h}{2}\Big[ f(a) + 2\sum_{k=1}^{n-1} f(x_k) + f(b) \Big] \ge \int_a^b f(x)\,dx\).

Examples: Tangent and Trapezium Approximations

Example 20: Tightly Bounding the Natural Logarithm of 2 with Two Subintervals

Use the Tangent–Trapezium inequality on \(f(x) = \frac{1}{x}\) over \([1, 2]\) to bound \(\ln 2 = \int_1^2 \frac{dx}{x}\). Then split \([1, 2]\) into \([1, \frac{3}{2}]\) and \([\frac{3}{2}, 2]\) to sharpen the bound!

Solution: Here \(f(x) = \frac{1}{x}\) has \(f''(x) = \frac{2}{x^3} > 0\), so \(f\) is strictly convex on \([1, 2]\).

Single-panel estimate on \([1, 2]\): * Midpoint tangent bound: \(f\!\left(\frac{3}{2}\right)(2 - 1) = \frac{2}{3} \approx 0.6667\). * Trapezium bound: \(\frac{f(1) + f(2)}{2}(2 - 1) = \frac{1 + \frac{1}{2}}{2} = \frac{3}{4} = 0.75\).

Thus \(\frac{2}{3} < \ln 2 < \frac{3}{4}\) (or \(0.667 < \ln 2 < 0.750\)).

Two-panel refinement on \([1, \frac{3}{2}]\) and \([\frac{3}{2}, 2]\) (width \(h = \frac{1}{2}\)): * Midpoints are \(\frac{5}{4}\) and \(\frac{7}{4}\):

\[ M_2 = \frac{1}{2}\left(\frac{4}{5} + \frac{4}{7}\right) = \frac{24}{35} \approx 0.6857 \]
  • Trapeziums at \(x = 1, \frac{3}{2}, 2\):
\[ T_2 = \frac{1/2}{2}\left(1 + 2\cdot\frac{2}{3} + \frac{1}{2}\right) = \frac{1}{4}\left(\frac{17}{6}\right) = \frac{17}{24} \approx 0.7083 \]

In just two lines of arithmetic, we have trapped \(\ln 2\) between \(0.6857\) and \(0.7083\)! (True value: \(\ln 2 \approx 0.69315\).)


Example 21: Jordan's Inequality and Bounding an Exponential-Sine Integral

  1. Using concavity of \(\sin x\) on \([0, \pi/2]\), prove Jordan's Inequality: \(\frac{2}{\pi}x \le \sin x \le x\) for all \(x \in [0, \pi/2]\).
  2. Deduce a sharp upper and lower bound for \(\int_0^{\pi/2} e^{-\sin x}\,dx\).

Solution:

(1) On \([0, \pi/2]\), \(\frac{d^2}{dx^2}(\sin x) = -\sin x \le 0\), so \(\sin x\) is concave. * The secant chord joining \((0, 0)\) and \((\pi/2, 1)\) is \(y = \frac{2}{\pi}x\), which lies below the concave curve \(\sin x\): hence \(\sin x \ge \frac{2}{\pi}x\). * The tangent line at \(x = 0\) is \(y = x\), which lies above the concave curve \(\sin x\): hence \(\sin x \le x\).

(2) Since \(e^{-u}\) is strictly decreasing, \(\frac{2}{\pi}x < \sin x < x\) on \((0, \pi/2)\) gives:

\[ e^{-x} < e^{-\sin x} < e^{-\frac{2}{\pi}x} \]

Integrating over \([0, \pi/2]\):

\[ \int_0^{\pi/2} e^{-x}\,dx < \int_0^{\pi/2} e^{-\sin x}\,dx < \int_0^{\pi/2} e^{-\frac{2}{\pi}x}\,dx \]
\[ 1 - e^{-\pi/2} < \int_0^{\pi/2} e^{-\sin x}\,dx < \frac{\pi}{2}(1 - e^{-1}) \]

Numerically, \(0.792 < \int_0^{\pi/2} e^{-\sin x}\,dx < 0.993\) (true value \(\approx 0.892\)).


Example 22: A Classic Inequality for Euler's Number via Tangent–Trapezium

Apply the Tangent–Trapezium inequality to \(f(x) = \frac{1}{x}\) on \([n, n + 1]\) (\(n \ge 1\)) to prove that:

\[ \frac{2}{2n + 1} < \ln\!\left(1 + \frac{1}{n}\right) < \frac{1}{2}\left(\frac{1}{n} + \frac{1}{n + 1}\right) \]

and deduce that \(\left(1 + \frac{1}{n}\right)^{n + 1/2} > e\) for all \(n \ge 1\).

Solution: Since \(f(x) = \frac{1}{x}\) is strictly convex on \([n, n + 1]\) (width \(1\), midpoint \(n + \frac{1}{2} = \frac{2n + 1}{2}\)):

\[ \frac{1}{n + \frac{1}{2}} < \int_n^{n+1} \frac{dx}{x} < \frac{\frac{1}{n} + \frac{1}{n + 1}}{2} \]

Evaluating the integral as \(\ln(n + 1) - \ln n = \ln\!\left(1 + \frac{1}{n}\right)\) gives the double inequality directly. Multiplying the left inequality by \(n + \frac{1}{2} = \frac{2n + 1}{2}\) yields:

\[ 1 < \left(n + \frac{1}{2}\right)\ln\!\left(1 + \frac{1}{n}\right) = \ln\!\left[\left(1 + \frac{1}{n}\right)^{n + 1/2}\right] \implies \left(1 + \frac{1}{n}\right)^{n + 1/2} > e \]

One Integral, Four Methods: Choosing Your Own Path

There is rarely just one "correct" way to estimate a definite integral. Different tools trade simplicity for tightness. To see how all of our methods work side by side, let us estimate the same non-elementary integral using four different techniques:

\[ I = \int_0^1 \sqrt{1 + x^3}\,dx \]

(Its true numerical value is approximately \(1.1114\), though it cannot be written in terms of elementary functions.)

Method 1: Box (Min–Max) Bound

Since \(x^3\) is increasing on \([0, 1]\), we have \(1 \le \sqrt{1 + x^3} \le \sqrt{2}\) (with strict inequality on \((0, 1)\)). Multiplying by the interval width \(1 - 0 = 1\) gives:

\[ 1 < \int_0^1 \sqrt{1 + x^3}\,dx < \sqrt{2} \approx 1.4142 \]

Fastest possible estimate (one mental step), giving an interval of width \(0.414\).

Method 2: Completing Polynomial Squares (Adding and Replacing Terms)

Compare \(1 + x^3\) against perfect squares on \((0, 1]\):

  • Since \(\left(1 + \frac{x^3}{2}\right)^2 = 1 + x^3 + \frac{x^6}{4} > 1 + x^3\), we get \(\sqrt{1 + x^3} < 1 + \frac{x^3}{2}\).
  • Since \(\left(1 + \frac{x^3}{3}\right)^2 = 1 + \frac{2}{3}x^3 + \frac{1}{9}x^6\) and \((1 + x^3) - \left(1 + \frac{2}{3}x^3 + \frac{1}{9}x^6\right) = \frac{x^3}{9}(3 - x^3) > 0\), we get \(\sqrt{1 + x^3} > 1 + \frac{x^3}{3}\).

Integrating \(1 + \frac{x^3}{3} < \sqrt{1 + x^3} < 1 + \frac{x^3}{2}\) over \([0, 1]\):

\[ \left[ x + \frac{x^4}{12} \right]_0^1 < I < \left[ x + \frac{x^4}{8} \right]_0^1 \implies \frac{13}{12} < I < \frac{9}{8} \]

Numerically, \(1.0833 < I < 1.1250\)—shrinking the interval width from \(0.414\) down to \(0.042\)!

Method 3: Cauchy–Schwarz Inequality

Apply Cauchy–Schwarz with \(f(x) = \sqrt{1 + x^3}\) and \(g(x) = 1\) on \([0, 1]\):

\[ \left(\int_0^1 \sqrt{1 + x^3}\,dx\right)^2 < \left(\int_0^1 1\,dx\right)\left(\int_0^1 (1 + x^3)\,dx\right) = 1 \cdot \left(1 + \frac{1}{4}\right) = \frac{5}{4} \]

Taking square roots gives:

\[ I < \frac{\sqrt{5}}{2} \approx 1.1180 \]

With zero polynomial guesswork, Cauchy–Schwarz beats every previous upper bound!

Method 4: Convexity (Tangent–Trapezium Bounds)

Differentiating \(f(x) = \sqrt{1 + x^3}\) twice on \((0, 1)\) gives:

\[ f'(x) = \frac{3x^2}{2\sqrt{1 + x^3}}, \qquad f''(x) = \frac{3x(4 + x^3)}{4(1 + x^3)^{3/2}} > 0 \]

Since \(f''(x) > 0\), \(f\) is strictly convex on \([0, 1]\).

Single-panel Tangent–Trapezium:

\[ f\!\left(\frac{1}{2}\right) < I < \frac{f(0) + f(1)}{2} \implies \sqrt{\frac{9}{8}} < I < \frac{1 + \sqrt{2}}{2} \implies 1.0607 < I < 1.2071 \]

Two-panel Tangent and Trapezium Bounds on \([0, \frac{1}{2}]\) and \([\frac{1}{2}, 1]\) (midpoints \(x = \frac{1}{4}, \frac{3}{4}\)):

\[ M_2 = \frac{1}{2}\left(\sqrt{1 + \frac{1}{64}} + \sqrt{1 + \frac{27}{64}}\right) = \frac{\sqrt{65} + \sqrt{91}}{16} \approx 1.1001 < I \]
\[ T_2 = \frac{1}{4}\left(1 + 2\sqrt{\frac{9}{8}} + \sqrt{2}\right) = \frac{1}{4}\left(1 + \frac{5}{\sqrt{2}}\right) \approx 1.1339 > I \]

Comparison of All Four Methods

Here is how each method performs against the true value \(I \approx 1.1114\):

Method Lower Bound Upper Bound Interval Width Key Advantage
Box Bound \(1.0000\) \(1.4142\) \(0.4142\) Zero calculation; instant sanity check
Polynomial Squares \(1.0833\) (\(\frac{13}{12}\)) \(1.1250\) (\(\frac{9}{8}\)) \(0.0417\) Purely rational bounds on both sides
Cauchy–Schwarz — \(1.1180\) (\(\frac{\sqrt{5}}{2}\)) — Tightest one-line upper bound for radicals
Convexity (2-Panel) \(1.1001\) \(1.1339\) \(0.0338\) Systematic geometric sandwich without tricks

Combining our sharpest lower bound (Method 4, two panels) with our sharpest upper bound (Method 3, Cauchy–Schwarz) traps the integral in \(1.1001 < I < 1.1180\)—within less than \(1\%\) of the exact value!


Comparing and Ordering Definite Integrals

A classic problem type asks you to compare two or more non-elementary integrals—or arrange four integrals in ascending order—without evaluating any of them. When integrands do not neatly stack above one another across the whole interval, you must combine monotonicity, domain switches at \(x = 1\), King's Rule, substitutions, Cauchy–Schwarz, and concavity/tangent bounds.


Example 23: Watching the Crossover at Unit Input

Arrange the following four integrals in ascending order:

\[ I_1 = \int_0^1 2^{x^2}\,dx, \qquad I_2 = \int_0^1 2^{x^3}\,dx, \qquad I_3 = \int_1^2 2^{x^2}\,dx, \qquad I_4 = \int_1^2 2^{x^3}\,dx \]

Solution: The inequality between \(x^2\) and \(x^3\) flips across \(x = 1\):

On \((0, 1)\): Since \(0 < x^3 < x^2 < 1\) and \(2^u\) is strictly increasing, we have \(2^{x^3} < 2^{x^2} < 2^1 = 2\), so:

\[ I_2 < I_1 < \int_0^1 2\,dx = 2 \]

On \((1, 2)\): Here \(1 < x^2 < x^3\), so \(2 = 2^1 < 2^{x^2} < 2^{x^3}\), giving:

\[ 2 = \int_1^2 2\,dx < I_3 < I_4 \]

Combining both intervals gives the strict ascending order:

\[ I_2 < I_1 < I_3 < I_4 \]

Example 24: Ordering Exponential Towers of Sine and Cosine

Arrange in ascending order:

\[ I_1 = \int_{\pi/6}^{\pi/4} (\sin x)^{\cos x}\,dx, \quad I_2 = \int_{\pi/6}^{\pi/4} (\cos x)^{\cos x}\,dx, \quad I_3 = \int_{\pi/6}^{\pi/4} (\cos x)^{\sin x}\,dx, \quad I_4 = \int_{\pi/6}^{\pi/4} (\sin x)^{\sin x}\,dx \]

Solution: For every \(x \in (\pi/6, \pi/4)\), we have \(\frac{1}{2} < \sin x < \cos x < 1\). Notice two monotonic behaviors:

Step 1 (Same base): For a fixed base \(a \in (0, 1)\), \(a^t\) is strictly decreasing in the exponent \(t\): * With base \(\sin x \in (0, 1)\) and \(\cos x > \sin x\): \((\sin x)^{\cos x} < (\sin x)^{\sin x} \implies I_1 < I_4\). * With base \(\cos x \in (0, 1)\) and \(\cos x > \sin x\): \((\cos x)^{\cos x} < (\cos x)^{\sin x} \implies I_2 < I_3\).

Step 2 (Bridging \(I_4\) and \(I_2\)): Examine \(h(t) = t^t = e^{t\ln t}\) on \((0, 1)\). Differentiating gives \(h'(t) = t^t(1 + \ln t)\), which is strictly positive for \(t > \frac{1}{e}\). Because \(e > 2\), we have \(\frac{1}{e} < \frac{1}{2} \le \sin x < \cos x\) throughout \([\pi/6, \pi/4]\). Since \(h(t)\) is strictly increasing on \([\frac{1}{2}, 1]\):

\[ (\sin x)^{\sin x} < (\cos x)^{\cos x} \implies I_4 < I_2 \]

Linking all three inequalities yields the ascending order:

\[ I_1 < I_4 < I_2 < I_3 \]

Example 25: Handling Crossing Integrands Against a Known Anchor

Arrange the following four integrals in ascending order:

\[ I_1 = \int_0^1 e^{-x}\,dx, \qquad I_2 = \int_0^1 e^{-x^2}\,dx, \qquad I_3 = \int_0^1 \frac{dx}{1 + x^2}, \qquad I_4 = \int_0^1 e^{-x^3}\,dx \]

Solution:

Step 1 (Comparing \(I_1\) and \(I_2\)): On \((0, 1)\), \(x^2 < x \implies -x < -x^2 \implies e^{-x} < e^{-x^2}\), so \(I_1 < I_2\).

Step 2 (Comparing \(I_2\) and \(I_3\)): Because \(e^u > 1 + u\) for all \(u > 0\), taking reciprocals gives \(e^{-u} < \frac{1}{1 + u}\). Setting \(u = x^2 > 0\) on \((0, 1]\) gives:

\[ e^{-x^2} < \frac{1}{1 + x^2} \implies I_2 < I_3 = \frac{\pi}{4} \]

Step 3 (Comparing \(I_3\) and \(I_4\)): Notice that \(\frac{1}{1 + x^2}\) and \(e^{-x^3}\) cross inside \((0, 1)\), so pointwise comparison fails! Instead, build a polynomial lower bound for \(e^{-u}\) (\(u > 0\)) by repeated differentiation from \(e^{-u} > 1 - u\): * Let \(h(u) = \left(1 - u + \frac{u^2}{2}\right) - e^{-u}\); then \(h(0) = 0\) and \(h'(u) = e^{-u} - (1 - u) > 0\), so \(e^{-u} < 1 - u + \frac{u^2}{2}\). * Next, let \(k(u) = e^{-u} - \left(1 - u + \frac{u^2}{2} - \frac{u^3}{6}\right)\); then \(k(0) = 0\) and \(k'(u) = 1 - u + \frac{u^2}{2} - e^{-u} > 0\), so \(e^{-u} > 1 - u + \frac{u^2}{2} - \frac{u^3}{6}\).

Setting \(u = x^3\) and integrating over \([0, 1]\) gives:

\[ I_4 > \int_0^1 \left(1 - x^3 + \frac{x^6}{2} - \frac{x^9}{6}\right) dx = 1 - \frac{1}{4} + \frac{1}{14} - \frac{1}{60} = \frac{169}{210} \approx 0.8048 \]

Since \(I_3 = \frac{\pi}{4} < \frac{3.15}{4} = 0.7875 < 0.8048 < I_4\), we obtain \(I_3 < I_4\).

Hence the complete ascending order is:

\[ I_1 < I_2 < I_3 < I_4 \]

Example 26: A King's Rule Surprise Inside Nested Trigonometry

Compare the four integrals:

\[ A = \int_0^{\pi/2} \cos(\sin x)\,dx, \quad B = \int_0^{\pi/2} \sin(\cos x)\,dx, \quad C = \int_0^{\pi/2} \cos x\,dx, \quad D = \int_0^{\pi/2} \sin(\sin x)\,dx \]

Solution: First, resist the temptation to compare \(\sin(\cos x)\) and \(\sin(\sin x)\) pointwise—their graphs cross at \(x = \frac{\pi}{4}\)! Instead, apply King's Rule (\(x \mapsto \frac{\pi}{2} - x\)) to \(B\):

\[ B = \int_0^{\pi/2} \sin\big(\cos(\tfrac{\pi}{2} - x)\big)\,dx = \int_0^{\pi/2} \sin(\sin x)\,dx = D \]

So \(B = D\) identically! Now compare both against \(C = \int_0^{\pi/2} \cos x\,dx = 1\):

Comparing \(B\) with \(C\): For all \(u > 0\), \(\sin u < u\). Setting \(u = \cos x > 0\) on \([0, \pi/2)\) gives \(\sin(\cos x) < \cos x\), so:

\[ B = D < C = 1 \]

Comparing \(A\) with \(C\): On \((0, \pi/2)\), \(0 < \sin x < x < \frac{\pi}{2}\). Because \(\cos t\) is strictly decreasing on \([0, \pi/2]\), applying \(\cos\) reverses the inequality:

\[ \cos(\sin x) > \cos x \implies A > C = 1 \]

Therefore:

\[ B = D < C < A \]

Example 27: Crossing Power-Exponential Curves via Concavity and Tangents

Compare:

\[ A = \int_0^1 x^x\,dx, \qquad B = \int_0^1 (1 - x)^x\,dx, \qquad C = \int_0^1 x^{1 - x}\,dx \]

Solution:

Step 1: By King's Rule (\(x \mapsto 1 - x\)), replacing \(x\) with \(1 - x\) transforms \((1 - x)^x\) into \(x^{1 - x}\), so \(B = C\).

Step 2: Note that \(x^x\) and \(x^{1 - x}\) cross at \(x = \frac{1}{2}\), so we estimate \(A\) and \(C\) separately.

Lower bound on \(A\) (from Example 5): Since \(e^u > 1 + u\) for \(u \ne 0\), setting \(u = x\ln x\) gives \(x^x = e^{x\ln x} > 1 + x\ln x\) on \((0, 1)\), so:

\[ A > \int_0^1 (1 + x\ln x)\,dx = 1 - \frac{1}{4} = \frac{3}{4} \]

Upper bound on \(C\): Fix any exponent \(r \in (0, 1)\). The function \(g(u) = u^r\) has \(g''(u) = r(r - 1)u^{r-2} < 0\), so \(g\) is strictly concave on \((0, \infty)\). Therefore its graph lies strictly below its tangent line at \(u = 1\): \(u^r < 1 + r(u - 1)\) for \(u \in (0, 1)\). Taking \(u = x\) and \(r = 1 - x \in (0, 1)\):

\[ x^{1 - x} < 1 + (1 - x)(x - 1) = 1 - (1 - x)^2 = 2x - x^2 \]

Integrating over \([0, 1]\) gives:

\[ C < \int_0^1 (2x - x^2)\,dx = 1 - \frac{1}{3} = \frac{2}{3} \]

Since \(\frac{2}{3} < \frac{3}{4}\), we conclude immediately:

\[ B = C < \frac{2}{3} < \frac{3}{4} < A \]

Example 28: Ordering Five Trigonometric and Inverse-Trigonometric Integrals

Arrange the following five quantities in ascending order:

\[ I_1 = \int_0^1 \cos x\,dx, \quad I_2 = \int_0^1 \frac{\tan^{-1} x}{x}\,dx, \quad I_3 = \int_0^1 \frac{\sin x}{x}\,dx, \quad I_4 = 1, \quad I_5 = \int_0^1 \frac{\tan x}{x}\,dx \]

Solution:

Step 1 (Comparing \(I_3\), \(I_4\), and \(I_5\)): On \((0, 1] \subset (0, \pi/2)\), the classic geometric ordering \(\sin x < x < \tan x\) gives \(\frac{\sin x}{x} < 1 < \frac{\tan x}{x}\). Integrating on \([0, 1]\) yields:

\[ I_3 < I_4 < I_5 \]

Step 2 (Comparing \(I_2\) and \(I_3\)): Compare \(\tan^{-1} x\) and \(\sin x\) on \((0, 1]\). From \(\cos x > 1 - \frac{x^2}{2}\) for \(x > 0\), we have on \((0, 1]\):

\[ (1 + x^2)\cos x > (1 + x^2)\left(1 - \frac{x^2}{2}\right) = 1 + \frac{x^2(1 - x^2)}{2} \ge 1 \implies \cos x > \frac{1}{1 + x^2} \]

Integrating from \(0\) to \(x \in (0, 1]\) gives \(\sin x > \tan^{-1} x\), so \(\frac{\tan^{-1} x}{x} < \frac{\sin x}{x}\) and hence \(I_2 < I_3\).

Step 3 (Comparing \(I_1\) and \(I_2\)): First, \(I_1 = \int_0^1 \cos x\,dx = \sin 1\). Since \(\pi > 3\), we have \(1 < \frac{\pi}{3}\), so \(\sin 1 < \sin(\frac{\pi}{3}) = \frac{\sqrt{3}}{2}\). Squaring compares \(\frac{\sqrt{3}}{2}\) with \(\frac{8}{9}\):

\[ \left(\frac{\sqrt{3}}{2}\right)^2 = \frac{3}{4} = \frac{243}{324} < \frac{256}{324} = \left(\frac{8}{9}\right)^2 \implies I_1 = \sin 1 < \frac{8}{9} \]

From Example 8, we already proved \(I_2 = \int_0^1 \frac{\tan^{-1} x}{x}\,dx > \frac{8}{9}\). Thus \(I_1 < I_2\).

Combining all links gives the strict ascending chain:

\[ I_1 < I_2 < I_3 < I_4 < I_5 \]

Example 29: Ordering Integrals with Identical Leading Expansions

Arrange in ascending order:

\[ I_1 = \int_0^1 e^{-x^2/2}\,dx, \qquad I_2 = \int_0^1 \frac{dx}{1 + \frac{x^2}{2}}, \qquad I_3 = \int_0^1 \frac{dx}{\sqrt{1 + x^2}} \]

Solution: All three integrands start with \(1 - \frac{x^2}{2} + \cdots\) near \(x = 0\), so subtle algebra is needed to separate them.

Step 1: Using \(e^u > 1 + u\) for \(u = \frac{x^2}{2} > 0\), taking reciprocals gives:

\[ e^{-x^2/2} < \frac{1}{1 + \frac{x^2}{2}} \implies I_1 < I_2 \]

Step 2: Squaring \(1 + \frac{x^2}{2}\) gives \(\left(1 + \frac{x^2}{2}\right)^2 = 1 + x^2 + \frac{x^4}{4} > 1 + x^2\) for \(x \in (0, 1]\). Taking positive square roots and reciprocals reverses the inequality:

\[ 1 + \frac{x^2}{2} > \sqrt{1 + x^2} \implies \frac{1}{1 + \frac{x^2}{2}} < \frac{1}{\sqrt{1 + x^2}} \implies I_2 < I_3 \]

Therefore:

\[ I_1 < I_2 < I_3 \]

Example 30: The Continuous Power-Mean Hierarchy via Cauchy–Schwarz

Let \(f\) be a continuous, strictly positive, non-constant function on \([0, 1]\). Arrange the following four quantities in ascending order:

\[ H = \left(\int_0^1 \frac{dx}{f(x)}\right)^{-1}, \qquad A = \int_0^1 f(x)\,dx, \qquad Q = \left(\int_0^1 \big(f(x)\big)^2\,dx\right)^{1/2}, \qquad F = \left(\int_0^1 \big(f(x)\big)^4\,dx\right)^{1/4} \]

Solution: Apply Cauchy–Schwarz repeatedly on \([0, 1]\) (where all inequalities are strict because \(f\) is non-constant).

Step 1: Applying Cauchy–Schwarz to \(\sqrt{f(x)}\) and \(\frac{1}{\sqrt{f(x)}}\) (as in Example 16):

\[ 1^2 = \left(\int_0^1 1\,dx\right)^2 < \left(\int_0^1 f(x)\,dx\right)\left(\int_0^1 \frac{dx}{f(x)}\right) \implies H = \left(\int_0^1 \frac{dx}{f(x)}\right)^{-1} < \int_0^1 f(x)\,dx = A \]

Step 2: Applying Cauchy–Schwarz to \(f(x)\) and \(1\):

\[ A^2 = \left(\int_0^1 f(x)\,dx\right)^2 < 1 \cdot \int_0^1 \big(f(x)\big)^2\,dx = Q^2 \implies A < Q \]

Step 3: Applying Cauchy–Schwarz to \(\big(f(x)\big)^2\) and \(1\):

\[ Q^4 = \left(\int_0^1 \big(f(x)\big)^2\,dx\right)^2 < 1 \cdot \int_0^1 \big(f(x)\big)^4\,dx = F^4 \implies Q < F \]

Putting the chain together gives the continuous Harmonic–Arithmetic–Quadratic–Quartic Mean inequality:

\[ H < A < Q < F \]

Example 31: Comparing High-Power Trigonometric and Algebraic Integrals

Arrange in ascending order:

\[ I_1 = \int_0^1 (1 - x^2)^{1013}\,dx, \qquad I_2 = \int_0^{\pi/2} \sin^{2026} x\,dx, \qquad I_3 = \int_0^{\pi/2} \frac{\sin^{2026} x}{\sin^{2026} x + \cos^{2026} x}\,dx \]

Solution: We do not need to evaluate the giant Walli products to compare these!

Step 1 (Compare \(I_1\) and \(I_2\)): In \(I_1\), substitute \(x = \cos\theta\), so \(dx = -\sin\theta\,d\theta\) and \(\theta\) runs from \(\pi/2\) down to \(0\):

\[ I_1 = \int_0^{\pi/2} (1 - \cos^2\theta)^{1013} \sin\theta\,d\theta = \int_0^{\pi/2} \sin^{2027}\theta\,d\theta \]

Because \(0 < \sin\theta < 1\) on \((0, \pi/2)\), we have \(\sin^{2027}\theta < \sin^{2026}\theta\), so \(I_1 < I_2\).

Step 2 (Compare \(I_2\) and \(I_3\)): By King's Rule on \([0, \pi/2]\), \(I_3 = \frac{\pi}{4}\). Meanwhile, notice that \(I_2 < \int_0^{\pi/2} \sin^2 x\,dx = \frac{\pi}{4}\) because \(\sin^{2026} x < \sin^2 x\) on \((0, \pi/2)\). Hence \(I_2 < I_3\).

Combining both steps gives:

\[ I_1 < I_2 < I_3 \]

Summary of Estimation and Inequality Tools

Tool Condition Inequality
Zero-Integral Criterion \(f\) continuous, \(f \ge 0\) on \([a, b]\) \(\int_a^b f(x)\,dx = 0 \iff f(x) \equiv 0\)
Monotonicity \(f(x) \ge g(x)\) on \([a, b]\) (\(a < b\)) \(\int_a^b f(x)\,dx \ge \int_a^b g(x)\,dx\)
Weighted Min–Max \(g(x) \ge 0\), \(m \le f(x) \le M\) on \([a, b]\) \(m\int_a^b g(x)\,dx \le \int_a^b f(x)g(x)\,dx \le M\int_a^b g(x)\,dx\)
Modulus (Triangle) \(a < b\) \(\left\|\int_a^b f(x)\,dx\right\| \le \int_a^b \|f(x)\|\,dx\)
Cauchy–Schwarz \(a < b\) \(\left(\int_a^b f(x)g(x)\,dx\right)^2 \le \left(\int_a^b f(x)^2\,dx\right)\left(\int_a^b g(x)^2\,dx\right)\)
Rectangle Bounds \(f\) increasing on \([a, b]\), \(h = \frac{b-a}{n}\) \(h\sum_{k=0}^{n-1} f(x_k) \le \int_a^b f(x)\,dx \le h\sum_{k=1}^n f(x_k)\)
Tangent–Trapezium \(f\) convex (\(f'' \ge 0\)) on \([a, b]\) \(f\!\left(\frac{a+b}{2}\right)(b - a) \le \int_a^b f(x)\,dx \le \frac{f(a) + f(b)}{2}(b - a)\)