Rectangles pack the region under a curve to measure its area. Lower and upper sums squeeze the true area from both sides.
The answer sits between the underfilled and overfilled totals. Finer partitions narrow the gap between them. When the gap vanishes, that value is the integral.
For example, fit square pieces into the curved shape of a π° cake. The smaller you cut the pieces, the fewer gaps remain and the better they match.
n=48: the gap UβL=1/48β0.0208 squeezes 31β.Show proof
On the uniform partition Pnβ, x2 is increasing, so the lower sum uses left endpoints and the upper sum right endpoints: Lnβ=n31ββk=0nβ1βk2, Unβ=n31ββk=1nβk2.
Substituting the sum-of-squares formula gives Lnβ=6n3(nβ1)n(2nβ1)β and Unβ=6n3n(n+1)(2n+1)β.
Both tend to 6n32n3β=31β as nββ.
The uniform partitions suffice because the lower and upper integrals are the supremum/infimum over all partitions: for each n, Lnβ=L(Pnβ,f)β€β«01ββfβ€β«01ββfβ€U(Pnβ,f)=Unβ.
Both ends tend to 31β, so by squeezing the lower and upper integrals both equal 31β, and the integral is 31β.
Prove the Dirichlet function is not Riemann integrable by showing UβL=1 for every partition.
U(D,P)=1,L(D,P)=0forΒ everyΒ P
Contrast with the sums for x2 β for the Dirichlet function the gap never narrows.Show proof
Every interval contains both rationals and irrationals, so on every subinterval supD=1 and infD=0.
Hence for every partition P, U(D,P)=β1β Ξxkβ=1 and L(D,P)=β0β Ξxkβ=0.
Since UβL=1ξ β0, the necessary and sufficient condition for Riemann integrability fails.
Prove that refining a partition never increases UβL.
Pβ²βPβU(f,Pβ²)β€U(f,P),L(f,Pβ²)β₯L(f,P)
n=10: the gap shrinks monotonically as the partition refines.Show proof
Splitting one subinterval in two: each piece's supremum is at most the original's, so the upper sum decreases (or stays).
Likewise each piece's infimum is at least the original's, so the lower sum increases (or stays).
So UβL decreases monotonically under refinement β the sums squeeze toward each other.