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 ∫01ex2dx, ∫011+x4dx, and ∫π/6π/3xsinxdx. 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.
Suppose f is continuous on [a,b] with a<b, and f(x)≥0 for all x∈[a,b]. Then:
∫abf(x)dx=0⟺f(x)=0for all x∈[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)≥0, and f(c)>0 at even a single point c∈[a,b], then strictly:
∫abf(x)dx>0
Proof
If f(x)=0 for all x∈[a,b], then ∫abf(x)dx=0 immediately.
Conversely, suppose for contradiction that f(c)>0 at some point c∈[a,b]. Because f is continuous at c, there exists a small subinterval around c of width 2δ>0 (or width δ if c is an endpoint) lying inside [a,b] on which f(x)≥2f(c)>0. Since f(x)≥0 everywhere else on [a,b], the total integral is at least the area of this small rectangle:
∫abf(x)dx≥2f(c)⋅δ>0
This contradicts ∫abf(x)dx=0. Hence f(x)=0 for all x∈[a,b]. ■
(Why is continuity required? If f(x)=0 everywhere on [0,2] except f(1)=5, then f(x)≥0 and ∫02f(x)dx=0, yet f is not zero at x=1. Continuity prevents isolated spikes!)
Let f be a continuous function on [0,1] satisfying:
∫01(f(x))2dx+4∫01x2dx=4∫01xf(x)dx
Find f(x).
Solution:
Move all terms to one side and combine under a single integral:
∫01((f(x))2−4xf(x)+4x2)dx=0⟹∫01(f(x)−2x)2dx=0
The integrand g(x)=(f(x)−2x)2 is continuous and non-negative on [0,1]. By the Zero-Integral Criterion, g(x)=0 for all x∈[0,1]. Therefore:
f(x)=2xfor all x∈[0,1]
Example 2: Strict Positivity Without Computing the Integral
Show that for every continuous function f on [0,1]:
∫01(x−x2)esinxdx>0
Solution:
On (0,1), we have x−x2=x(1−x)>0 and esinx>0. Thus the integrand is continuous, non-negative on [0,1], and strictly positive at x=21 (where its value is 41esin(1/2)>0). By the Zero-Integral Criterion, the integral is strictly positive.
Moreover, if f and g are continuous on [a,b], f(x)≥g(x) everywhere, and f(c)>g(c) at least at one point c∈[a,b], then the inequality is strict:
∫abf(x)dx>∫abg(x)dx
Core Strategy: When an integral ∫abf(x)dx has no elementary antiderivative, sandwich f(x) between two simpler functions g(x)≤f(x)≤h(x) that can be integrated easily!
For a clean rational upper bound, note that for t∈[0,1], et≤1+(e−1)t? Even simpler: x2≤x, or notice 1−x2≥0 doesn't bound above, whereas ex2≤1−x21 blows up at 1. Instead, for x∈[0,1], ex2≤1+(e−1)x2 (since et is convex on [0,1]!). Integrating gives:
∫01ex2dx<∫01(1+(e−1)x2)dx=1+3e−1=3e+2≈1.573<2
(Compare with the true value ∫01ex2dx≈1.46265!)
Example 4: Bounding an Elliptic-Type Integral
Show that:
109<∫011+x4dx<1
and refine the lower bound to ln(1+2)≈0.881 or better using 1+2x4.
Solution:
First, for x∈(0,1), we have 1+x4>1, so 1+x41<1, giving the immediate upper bound:
∫011+x4dx<∫011dx=1
For the lower bound, note that for any u>0, (1+2u)2=1+u+4u2>1+u, so 1+u<1+2u. Taking u=x4:
1+x41>1+2x41>1−2x4
(Checking the second step: (1+2x4)(1−2x4)=1−4x8<1 on (0,1)!)
Integrating 1−2x4<1+x41 on [0,1] gives:
∫011+x4dx>∫01(1−2x4)dx=1−101=109=0.9
(The true value is approximately 0.9270!)
Example 5: Comparing High Powers Without Evaluating
Which is larger: ∫01xxdx or 32?
Solution:
Using the AM–GM inequality (or et≥1+t): for x∈(0,1), lnx≥1−x1 doesn't help as cleanly as xx=exlnx≥1+xlnx. Integrate 1+xlnx on [0,1] by parts:
∫01xlnxdx=[2x2lnx]01−∫012xdx=−41
Hence:
∫01xxdx>∫01(1+xlnx)dx=1−41=43>32
(In fact, ∫01xxdx≈0.7834!)
Example 6: Adding, Dropping, and Replacing Terms Inside a Radical
Find tight upper and lower bounds for:
I=∫01x3+x+1dx
Solution:
We cannot integrate x3+x+11 directly in elementary functions, so we modify the terms inside the square root on (0,1) to create integrable expressions:
Upper bound by dropping a positive term: Since x3>0 on (0,1), dropping x3 makes the denominator smaller and the fraction larger:
x3+x+11<x+11
Integrating over [0,1]:
I<∫01x+1dx=[2x+1]01=2(2−1)≈0.8284
Lower bound by replacing x3 with a larger term: Since 0<x<1, we have x3<x. Replacing x3 by x makes the denominator larger and the fraction smaller:
x3+x+11>2x+11
Integrating over [0,1]:
I>∫012x+1dx=[2x+1]01=3−1≈0.7321
Alternative rational lower bound by completing the square: What if an estimate in terms of ln2 is needed? Add the positive quantity x+(x2−x3)>0 inside the square root on (0,1]:
x3+x+1<x2+2x+1=(x+1)2⟹x3+x+11>x+11
Integrating gives I>∫01x+1dx=ln2≈0.6931. Putting our sharpest two bounds together yields:
3−1<∫01x3+x+1dx<2(2−1)
(True value: approximately 0.7860.)
Example 7: Adjusting Radicals to Match Standard Antiderivatives
Prove that:
6π<∫014−x2−x3dx<42π
Solution:
On the open interval (0,1), we have 0<x3<x2.
Lower bound (drop −x3): Removing −x3 makes the denominator larger:
4−x2−x3<4−x2⟹4−x2−x31>4−x21
Integrating over [0,1]:
∫014−x2−x3dx>∫014−x2dx=[sin−1(2x)]01=6π
Upper bound (replace −x3 with −x2): Since x3<x2 on (0,1):
Example 8: Adding and Dropping Terms via Algebraic Identities
Prove that:
98<∫01xtan−1xdx<225209
Solution:
Start from the exact algebraic identity:
1+t21=1−t2+1+t2t4
For t>0, dropping the positive remainder 1+t2t4 gives 1−t2<1+t21, while dropping t2 in the denominator of that remainder gives 1+t21<1−t2+t4. Integrating both inequalities from t=0 to t=x (x>0):
x−3x3<tan−1x<x−3x3+5x5
Dividing through by x>0 and integrating over [0,1] gives:
Often an integrand splits naturally into a product f(x)g(x) where g(x)≥0 on [a,b] is easy to integrate, while f(x) is difficult to integrate but easy to bound!
If g(x)≥0 and m≤f(x)≤M for all x∈[a,b] (a<b), multiplying through by the non-negative function g(x) preserves all inequalities:
mg(x)≤f(x)g(x)≤Mg(x)
Integrating over [a,b] yields the weighted min–max bound:
m∫abg(x)dx≤∫abf(x)g(x)dx≤M∫abg(x)dx
(If f is continuous on [a,b] and g(x)≥0, the Intermediate Value Theorem guarantees there is some c∈[a,b] such that ∫abf(x)g(x)dx=f(c)∫abg(x)dx. This is the First Mean Value Theorem for Integrals.)
Example 9: Weighted Bound on a Rational-Power Integral
For any integer n≥1, prove that:
2(n+1)1<∫011+x2xndx<n+11
and deduce that limn→∞∫011+x2xndx=0.
Solution:
Write the integrand as f(x)g(x) with g(x)=xn≥0 and f(x)=1+x21. On [0,1], f(x) is strictly decreasing, so:
21≤1+x21≤1
(with strict inequality on (0,1)). Multiplying by xn≥0 and integrating over [0,1] gives:
21∫01xndx<∫011+x2xndx<1⋅∫01xndx
Since ∫01xndx=n+11:
2(n+1)1<∫011+x2xndx<n+11
As n→∞, both 2(n+1)1 and n+11 approach 0, so by the Sandwich Theorem, the integral approaches 0.
Example 10: Estimating a Trigonometric Integral Using Weighted Bounds
Estimate I=∫π/6π/3xsinxdx.
Solution:
Here g(x)=sinx>0 on [π/6,π/3], and f(x)=x1 satisfies:
π3≤x1≤π6
Applying the weighted min–max bound with ∫π/6π/3sinxdx=[−cosx]π/6π/3=23−1:
π3⋅23−1<∫π/6π/3xsinxdx<π6⋅23−1
Numerically, this gives 0.349<I<0.699 (true value ≈0.489).
Example 11: Using a Non-Constant Weight to Bound a Logarithmic Integral
Show that:
ln2−21<∫011+x2ln(1+x)dx<2ln2−1
Solution:
Write the integrand as f(x)g(x) with weight g(x)=ln(1+x)≥0 on [0,1] and f(x)=1+x21. On [0,1], f(x) satisfies 21≤1+x21≤1, with strict inequality on (0,1).
Integrating the weight by parts gives:
∫01ln(1+x)dx=[(1+x)ln(1+x)−x]01=2ln2−1
Applying the weighted min–max bound:
21(2ln2−1)<∫011+x2ln(1+x)dx<2ln2−1
That is, ln2−21≈0.193<I<2ln2−1≈0.386. (In Section 8, King's Rule evaluated this integral exactly as 8πln2≈0.2722, which sits right in the middle of our estimate!)
Example 12: Multiplying and Dividing to Create an Integrable Weight
Prove that:
4e−1−e−4<∫12e−x2dx<2e−1−e−4
Solution:
We cannot integrate e−x2 directly, but we can integrate xe−x2! Rewrite the integrand by multiplying and dividing by x:
e−x2=x1⋅(xe−x2)
Now take g(x)=xe−x2>0 as the weight and f(x)=x1. On [1,2], 21≤x1≤1, and the weight integrates cleanly via u=x2:
When an integrand changes sign (such as sinx, cos(nx), or x−21), 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:
∫abf(x)dx≤∫ab∣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)≥0 for all x∈[a,b], or f(x)≤0 for all x∈[a,b]).
Proof
For every x∈[a,b], we have −∣f(x)∣≤f(x)≤∣f(x)∣. By monotonicity on [a,b] (a<b):
−∫ab∣f(x)∣dx≤∫abf(x)dx≤∫ab∣f(x)∣dx
By definition of absolute value, this means ∫abf(x)dx≤∫ab∣f(x)∣dx.
For the equality condition when f is continuous: equality means ∫abf(x)dx=±∫ab∣f(x)∣dx, which rearranges to:
∫ab(∣f(x)∣−f(x))dx=0or∫ab(∣f(x)∣+f(x))dx=0
Since both ∣f(x)∣−f(x)≥0 and ∣f(x)∣+f(x)≥0 are continuous and non-negative, the Zero-Integral Criterion tells us that either ∣f(x)∣=f(x) everywhere (meaning f≥0) or ∣f(x)∣=−f(x) everywhere (meaning f≤0). ■
(Warning: Always check a<b! If a>b, then ∫ab∣f(x)∣dx≤0, so the inequality flips unless you write ∫abf(x)dx≤∫ab∣f(x)∣dx.)
(Strict inequality holds because ∣sin(x2)∣<1 almost everywhere on [1,10].)
Example 15: An Equality-Case Trap
Suppose f is continuous on [0,2] and ∫02f(x)dx=∫02∣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 (∑akbk)2≤(∑ak2)(∑bk2). Replacing sums with definite integrals gives one of the sharpest inequalities in all of calculus.
Let f and g be integrable functions on [a,b] with a<b. Then:
(∫abf(x)g(x)dx)2≤(∫ab(f(x))2dx)(∫ab(g(x))2dx)
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 λ∈R such that f(x)=λg(x) for all x∈[a,b].
Proof (Via Quadratic Discriminant)
If ∫abg(x)2dx=0, then for continuous g we have g≡0 and both sides are 0.
Otherwise, let A=∫abg(x)2dx>0, B=∫abf(x)g(x)dx, and C=∫abf(x)2dx. For every real number t∈R, the square (f(x)+tg(x))2≥0 on [a,b], so:
P(t)=∫ab(f(x)+tg(x))2dx=At2+2Bt+C≥0for all t∈R
Because this upward-opening quadratic At2+2Bt+C is never negative for any real t, it cannot have two distinct real roots. Hence its discriminant must satisfy Δ≤0:
(2B)2−4AC≤0⟹B2≤AC
Substituting A,B,C gives the inequality. Moreover, equality B2=AC holds precisely when Δ=0, meaning there is some real root t0 where ∫ab(f(x)+t0g(x))2dx=0. For continuous f,g, the Zero-Integral Criterion forces f(x)+t0g(x)=0 everywhere, i.e., f(x)=(−t0)g(x). ■
Equality holds if and only if f(x)=λ(6x−2); substituting into ∫01f(x)dx=1 gives λ=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.
On each unit interval [k−1,k] (k=2,3,…,n), k1=f(k)<f(x) on [k−1,k), so:
k1<∫k−1kxdx⟹k=2∑nk1<∫1nxdx=lnn
Adding 1 to both sides gives ∑k=1nk1<1+lnn.
2. Convexity Bounds: Midpoint Tangent vs. Secant Trapezium§
Rectangles use horizontal lines (slope 0), so their error shrinks only like n1. When a curve bends consistently in one direction—either convex (cupped upward, f′′(x)≥0) or concave (cupped downward, f′′(x)≤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)≥0 on (a,b)). Then:
f(2a+b)(b−a)≤∫abf(x)dx≤2f(a)+f(b)(b−a)
If f is concave on [a,b] (f′′(x)≤0 on (a,b)), both inequalities reverse:
2f(a)+f(b)(b−a)≤∫abf(x)dx≤f(2a+b)(b−a)
(If f is strictly convex or strictly concave, both inequalities are strict.)
Geometric Proof
Consider the convex case (f′′(x)≥0):
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):
∫abf(x)dx≤Area of Trapezium=2f(a)+f(b)(b−a)
Lower bound (Midpoint Tangent): Because f is convex, the tangent line at the midpoint m=2a+b, 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 ∫ab(x−m)dx=0 by symmetry around the midpoint m!—gives:
If one trapezium and one midpoint tangent are not tight enough, simply split [a,b] into n equal subintervals of width h=nb−a and apply the same bounds on each panel! For a convex function:
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=∫011+x3dx
(Its true numerical value is approximately 1.1114, though it cannot be written in terms of elementary functions.)
Here is how each method performs against the true value I≈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 (1213)
1.1250 (89)
0.0417
Purely rational bounds on both sides
Cauchy–Schwarz
—
1.1180 (25)
—
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!
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:
Solution:
For every x∈(π/6,π/4), we have 21<sinx<cosx<1. Notice two monotonic behaviors:
Step 1 (Same base): For a fixed base a∈(0,1), at is strictly decreasing in the exponent t:
With base sinx∈(0,1) and cosx>sinx: (sinx)cosx<(sinx)sinx⟹I1<I4.
With base cosx∈(0,1) and cosx>sinx: (cosx)cosx<(cosx)sinx⟹I2<I3.
Step 2 (Bridging I4 and I2): Examine h(t)=tt=etlnt on (0,1). Differentiating gives h′(t)=tt(1+lnt), which is strictly positive for t>e1. Because e>2, we have e1<21≤sinx<cosx throughout [π/6,π/4]. Since h(t) is strictly increasing on [21,1]:
(sinx)sinx<(cosx)cosx⟹I4<I2
Linking all three inequalities yields the ascending order:
I1<I4<I2<I3
Example 25: Handling Crossing Integrands Against a Known Anchor
Arrange the following four integrals in ascending order:
Step 1 (Comparing I1 and I2): On (0,1), x2<x⟹−x<−x2⟹e−x<e−x2, so I1<I2.
Step 2 (Comparing I2 and I3): Because eu>1+u for all u>0, taking reciprocals gives e−u<1+u1. Setting u=x2>0 on (0,1] gives:
e−x2<1+x21⟹I2<I3=4π
Step 3 (Comparing I3 and I4): Notice that 1+x21 and e−x3 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)=(1−u+2u2)−e−u; then h(0)=0 and h′(u)=e−u−(1−u)>0, so e−u<1−u+2u2.
Next, let k(u)=e−u−(1−u+2u2−6u3); then k(0)=0 and k′(u)=1−u+2u2−e−u>0, so e−u>1−u+2u2−6u3.
Solution:
First, resist the temptation to compare sin(cosx) and sin(sinx) pointwise—their graphs cross at x=4π! Instead, apply King's Rule (x↦2π−x) to B:
B=∫0π/2sin(cos(2π−x))dx=∫0π/2sin(sinx)dx=D
So B=D identically! Now compare both against C=∫0π/2cosxdx=1:
Comparing B with C: For all u>0, sinu<u. Setting u=cosx>0 on [0,π/2) gives sin(cosx)<cosx, so:
B=D<C=1
Comparing A with C: On (0,π/2), 0<sinx<x<2π. Because cost is strictly decreasing on [0,π/2], applying cos reverses the inequality:
cos(sinx)>cosx⟹A>C=1
Therefore:
B=D<C<A
Example 27: Crossing Power-Exponential Curves via Concavity and Tangents
Compare:
A=∫01xxdx,B=∫01(1−x)xdx,C=∫01x1−xdx
Solution:
Step 1: By King's Rule (x↦1−x), replacing x with 1−x transforms (1−x)x into x1−x, so B=C.
Step 2: Note that xx and x1−x cross at x=21, so we estimate A and C separately.
Lower bound on A (from Example 5): Since eu>1+u for u=0, setting u=xlnx gives xx=exlnx>1+xlnx on (0,1), so:
A>∫01(1+xlnx)dx=1−41=43
Upper bound on C: Fix any exponent r∈(0,1). The function g(u)=ur has g′′(u)=r(r−1)ur−2<0, so g is strictly concave on (0,∞). Therefore its graph lies strictly below its tangent line at u=1: ur<1+r(u−1) for u∈(0,1). Taking u=x and r=1−x∈(0,1):
x1−x<1+(1−x)(x−1)=1−(1−x)2=2x−x2
Integrating over [0,1] gives:
C<∫01(2x−x2)dx=1−31=32
Since 32<43, we conclude immediately:
B=C<32<43<A
Example 28: Ordering Five Trigonometric and Inverse-Trigonometric Integrals
Arrange the following five quantities in ascending order:
Solution:
We do not need to evaluate the giant Walli products to compare these!
Step 1 (Compare I1 and I2): In I1, substitute x=cosθ, so dx=−sinθdθ and θ runs from π/2 down to 0:
I1=∫0π/2(1−cos2θ)1013sinθdθ=∫0π/2sin2027θdθ
Because 0<sinθ<1 on (0,π/2), we have sin2027θ<sin2026θ, so I1<I2.
Step 2 (Compare I2 and I3): By King's Rule on [0,π/2], I3=4π. Meanwhile, notice that I2<∫0π/2sin2xdx=4π because sin2026x<sin2x on (0,π/2). Hence I2<I3.