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

# Iterated integral

A repeated one-variable integration over a rectangle or product of intervals.

An **iterated integral** of \(f:[a,b]\times[c,d]\to\mathbb R\) integrates in one variable and then the other. The \(y\)-then-\(x\) iterated integral is
\[
\int_a^b\left(\int_c^d f(x,y)\,dy\right)dx,
\]
provided that the inner [Riemann integral](https://knowlpedia.com/real-analysis/riemann-integral/) exists for every \(x\in[a,b]\) and the resulting function of \(x\) is Riemann integrable.

Iterated integrals are compared with the [multiple Riemann integral](https://knowlpedia.com/real-analysis/multiple-riemann-integral/); under appropriate hypotheses they agree by [Fubini's theorem (Riemann)](https://knowlpedia.com/real-analysis/fubini-theorem-riemann/).

## Examples

- For \(f(x,y)=xy\) on \([0,1]^2\), the iterated integral is \(1/4\).
- If \(f(x,y)=g(x)h(y)\), then the iterated integral equals
  \[
  \left(\int_a^b g(x)\,dx\right)\left(\int_c^d h(y)\,dy\right)
  \]
  whenever the one-variable integrals exist.
