Canonical: https://knowlpedia.com/real-analysis/refinement-lemma-upper-lower-sums/

# Refinement lemma for upper and lower sums

Refining a partition decreases upper sums and increases lower sums.

**Refinement lemma:** Let \(a<b\) and let \(f:[a,b]\to\mathbb{R}\) be bounded. If \(P'\) is a [refinement](https://knowlpedia.com/real-analysis/refinement-of-a-partition/) of a [partition](https://knowlpedia.com/real-analysis/partition-of-an-interval/) \(P\), then
\[
U(f,P')\le U(f,P)
\quad\text{and}\quad
L(f,P')\ge L(f,P),
\]

where \(U(f,P)\) and \(L(f,P)\) denote the [upper sum](https://knowlpedia.com/real-analysis/upper-sum/) and [lower sum](https://knowlpedia.com/real-analysis/lower-sum/) of \(f\) with respect to \(P\).

## Remarks

This monotonicity under refinement underlies the definition of the [Riemann integral](https://knowlpedia.com/real-analysis/riemann-integral/) as the common value of the infimum of upper sums and the supremum of lower sums.
