# Henstock–Kurzweil integral

In mathematics, the Henstock–Kurzweil integral or generalized Riemann integral or gauge integral – also known as the (narrow) Denjoy integral (pronounced [dɑ̃ˈʒwa]), Luzin integral or Perron integral, but not to be confused with the more general wide Denjoy integral – is one of a number of inequivalent definitions of the integral of a function. It is a generalization of the Riemann integral, and in some situations is more general than the Lebesgue integral. In particular, a function is Lebesgue integrable if and only if the function and its absolute value are Henstock–Kurzweil integrable.

This integral was first defined by Arnaud Denjoy (1912). Denjoy was interested in a definition that would allow one to integrate functions like

$f(x)={\frac {1}{x}}\sin \left({\frac {1}{x^{3}}}\right).$ This function has a singularity at 0, and is not Lebesgue integrable. However, it seems natural to calculate its integral except over the interval [−ε, δ] and then let ε, δ → 0.

Trying to create a general theory, Denjoy used transfinite induction over the possible types of singularities, which made the definition quite complicated. Other definitions were given by Nikolai Luzin (using variations on the notions of absolute continuity), and by Oskar Perron, who was interested in continuous major and minor functions. It took a while to understand that the Perron and Denjoy integrals are actually identical.

Later, in 1957, the Czech mathematician Jaroslav Kurzweil discovered a new definition of this integral elegantly similar in nature to Riemann's original definition which he named the gauge integral. Ralph Henstock independently introduced a similar integral that extended the theory in 1961, citing his investigations of Ward's extensions to the Perron integral. Due to these two important contributions, it is now commonly known as the Henstock–Kurzweil integral. The simplicity of Kurzweil's definition made some educators advocate that this integral should replace the Riemann integral in introductory calculus courses.

## Definition

Given a tagged partition P of [a, b], that is,

$a=u_{0} together with each subinterval's tag defined as a point

$t_{i}\in [u_{i-1},u_{i}],$ we define the Riemann sum for a function $f\colon [a,b]\to \mathbb {R}$ to be

$\sum _{P}f=\sum _{i=1}^{n}f(t_{i})\Delta u_{i}.$ where $\Delta u_{i}:=u_{i}-u_{i-1}.$ This is the summation of each subinterval's length ($\Delta u_{i}$ ) multiplied by the function evaluated at that subinterval's tag ($f(t_{i})$ ).

Given a positive function

$\delta \colon [a,b]\to (0,\infty ),$ which we call a gauge, we say a tagged partition P is $\delta$ -fine if

$\forall i\ \ [u_{i-1},u_{i}]\subset [t_{i}-\delta (t_{i}),t_{i}+\delta (t_{i})].$ We now define a number I to be the Henstock–Kurzweil integral of f if for every ε > 0 there exists a gauge $\delta$ such that whenever P is $\delta$ -fine, we have

$\left\vert I-\sum _{P}f\right\vert <\varepsilon .$ If such an I exists, we say that f is Henstock–Kurzweil integrable on [a, b].

Cousin's theorem states that for every gauge $\delta$ , such a $\delta$ -fine partition P does exist, so this condition cannot be satisfied vacuously. The Riemann integral can be regarded as the special case where we only allow constant gauges.

## Properties

Let f: [a, b]R be any function.

Given a < c < b, f is Henstock–Kurzweil integrable on [a, b] if and only if it is Henstock–Kurzweil integrable on both [a, c] and [c, b]; in which case,

$\int _{a}^{b}f(x)\,dx=\int _{a}^{c}f(x)\,dx+\int _{c}^{b}f(x)\,dx.$ Henstock–Kurzweil integrals are linear. Given integrable functions f, g and real numbers α, β, the expression αf + βg is integrable; for example,

$\int _{a}^{b}\left(\alpha f(x)+\beta g(x)\right)dx=\alpha \int _{a}^{b}f(x)\,dx+\beta \int _{a}^{b}g(x)\,dx.$ If f is Riemann or Lebesgue integrable, then it is also Henstock–Kurzweil integrable, and calculating that integral gives the same result by all three formulations. The important Hake's theorem states that

$\int _{a}^{b}f(x)\,dx=\lim _{c\to b^{-}}\int _{a}^{c}f(x)\,dx$ whenever either side of the equation exists, and likewise symmetrically for the lower integration bound. This means that if f is "improperly Henstock–Kurzweil integrable", then it is properly Henstock–Kurzweil integrable; in particular, improper Riemann or Lebesgue integrals of types such as

$\int _{0}^{1}{\frac {\sin(1/x)}{x}}\,dx$ are also proper Henstock–Kurzweil integrals. To study an "improper Henstock–Kurzweil integral" with finite bounds would not be meaningful. However, it does make sense to consider improper Henstock–Kurzweil integrals with infinite bounds such as

$\int _{a}^{\infty }f(x)\,dx:=\lim _{b\to \infty }\int _{a}^{b}f(x)\,dx.$ For many types of functions the Henstock–Kurzweil integral is no more general than Lebesgue integral. For example, if f is bounded with compact support, the following are equivalent:

In general, every Henstock–Kurzweil integrable function is measurable, and f is Lebesgue integrable if and only if both f and |f| are Henstock–Kurzweil integrable. This means that the Henstock–Kurzweil integral can be thought of as a "non-absolutely convergent version of the Lebesgue integral". It also implies that the Henstock–Kurzweil integral satisfies appropriate versions of the monotone convergence theorem (without requiring the functions to be nonnegative) and dominated convergence theorem (where the condition of dominance is loosened to g(x) ≤ fn(x) ≤ h(x) for some integrable g, h).

If F is differentiable everywhere (or with countably many exceptions), the derivative F′ is Henstock–Kurzweil integrable, and its indefinite Henstock–Kurzweil integral is F. (Note that F′ need not be Lebesgue integrable.) In other words, we obtain a simpler and more satisfactory version of the second fundamental theorem of calculus: each differentiable function is, up to a constant, the integral of its derivative:

$F(x)-F(a)=\int _{a}^{x}F'(t)\,dt.$ Conversely, the Lebesgue differentiation theorem continues to hold for the Henstock–Kurzweil integral: if f is Henstock–Kurzweil integrable on [a, b], and

$F(x)=\int _{a}^{x}f(t)\,dt,$ then F′(x) = f(x) almost everywhere in [a, b] (in particular, F is differentiable almost everywhere).

The space of all Henstock–Kurzweil-integrable functions is often endowed with the Alexiewicz norm, with respect to which it is barrelled but incomplete.

## Utility

The gauge integral has increased utility when compared to the Riemann Integral in that the gauge integral of any function f: [a, b]R which has a constant value c except possibly at a countable number of points $C=\{c_{i}:i\in \mathbb {N} \}$ can be calculated. Consider for example the piece-wise function

$f(t)={\begin{cases}0,&{\text{if }}t\in [0,1]{\text{ and rational,}}\\1,&{\text{if }}t\in [0,1]{\text{ and irrational}}\end{cases}}$ which is equal to one minus the Dirichlet function on the interval.

This function is impossible to integrate using a Riemann integral because it is impossible to make intervals $[u_{i-1},u_{i}]$ small enough to encapsulate the changing values of f(x). With the mapping nature of $\delta$ -fine tagged partitions.

The value of the type of integral described above is equal to $c(b-a)$ , where c is the constant value of the function, and a, b are the function's end points. To demonstrate this, let $\varepsilon >0$ be given and let $D=\{(z_{j},J_{j}):1\leq j\leq n\}$ be a $\delta$ -fine tagged partition of $[0,1]$ with tags $z_{j}$ and intervals $J_{j}$ , and let $f(t)$ be the piecewise function described above. Consider that

$\left|\sum f(z_{j})l(J_{j})-1(1-0)\right|=\left|\sum [f(z_{j})-1]l(J_{j})\right|$ where $l(J_{j})$ represents the length of interval $J_{j}$ . Note this equivalence is established because the summation of the differences in length of all intervals $J_{j}$ is equal to the length of the interval (or $(1-0)$ ).

By the definition of the gauge integral, we want to show that the above equation is less than any given $\varepsilon$ . This produces two cases:

Case 1: $z_{j}\notin C$ (All tags of $D$ are irrational):

If none of the tags of the tagged partition $D$ are rational, then $f(z_{j})$ will always be 1 by the definition of $f(t)$ , meaning $[f(z_{j})-1]=0$ . If this term is zero, then for any interval length, the following inequality will be true:

$\left|\sum [f(z_{j})-1]l(J_{j})\right|\leq \varepsilon ,$ So for this case, 1 is the integral of $f(t)$ .

Case 2: $z_{k}=c_{k}$ (Some tag of $D$ is rational):

If a tag of $D$ is rational, then the function evaluated at that point will be 0, which is a problem. Since we know $D$ is $\delta$ -fine, the inequality

$\left|\sum [f(z_{j})-1]l(J_{j})\right|\leq \left|\sum [f(z_{j})-1]l(\delta (c_{k}))\right|$ holds because the length of any interval $J_{j}$ is shorter than its covering by the definition of being $\delta$ -fine. If we can construct a gauge $\delta$ out of the right side of the inequality, then we can show the criteria are met for an integral to exist.

To do this, let $\gamma _{k}=\varepsilon /[f(c_{k})-c]2^{k+2}$ and set our covering gauges $\delta (c_{k})=(c_{k}-\gamma _{k},c_{k}+\gamma _{k})$ , which makes

$\left|\sum [f(z_{j})-c]l(J_{j})\right|<\varepsilon /2^{k+1}.$ From this, we have that

$\left|\sum [f(z_{j})-1]l(J_{j})\right|\leq 2\sum \varepsilon /2^{k+1}=\varepsilon$ Because

$2\sum 1/2^{k+1}=1$ as a geometric series. This indicates that for this case, 1 is the integral of $f(t)$ .

Since cases 1 and 2 are exhaustive, this shows that the integral of $f(t)$ is 1 and all properties from the above section hold.

## McShane integral

Lebesgue integral on a line can also be presented in a similar fashion.

If we take the definition of the Henstock–Kurzweil integral from above, and we drop the condition

$t_{i}\in [u_{i-1},u_{i}],$ then we get a definition of the McShane integral, which is equivalent to the Lebesgue integral. Note that the condition

$\forall i\ \ [u_{i-1},u_{i}]\subset [t_{i}-\delta (t_{i}),t_{i}+\delta (t_{i})]$ does still apply, and we technically also require ${\textstyle t_{i}\in [a,b]}$ for ${\textstyle f(t_{i})}$ to be defined.