Canonical: https://knowlpedia.com/real-analysis/riemann-integral/

# Riemann integral

The common value determined by Riemann sums when a function is integrable.

A **Riemann integral** of a [Riemann integrable function](https://knowlpedia.com/real-analysis/riemann-integrable-function/) \(f:[a,b]\to\mathbb R\) is the number
\[
\int_a^b f(x)\,dx
\]
defined by
\[
\int_a^b f(x)\,dx=\sup_P L(f,P)=\inf_P U(f,P),
\]
where \(L(f,P)\) and \(U(f,P)\) are the [lower](https://knowlpedia.com/real-analysis/lower-sum/) and [upper sums](https://knowlpedia.com/real-analysis/upper-sum/) over all partitions \(P\) of \([a,b]\).

## Remarks

This definition matches the limit of [Riemann sums](https://knowlpedia.com/real-analysis/riemann-sum/) along partitions of small mesh, and it is the starting point for results such as [linearity](https://knowlpedia.com/real-analysis/riemann-linearity/) and the [Fundamental Theorem of Calculus](https://knowlpedia.com/real-analysis/fundamental-theorem-of-calculus-i/).

## Examples

- If \(f(x)=c\) is constant on \([a,b]\), then \(\int_a^b f(x)\,dx=c(b-a)\).
- For \(f(x)=x\) on \([0,1]\), one has \(\int_0^1 x\,dx=\tfrac12\).
