{
// The (t, u) plane: t and u axes, each marked at 0 and x, with the triangle
// 0 ≤ t ≤ u ≤ x shaded. It lies above the diagonal u = t inside the square
// [0, x] × [0, x] (drawn with x = 1).
const side = 1
const end = 1.3 // where the axis arrows stop
const tick = 0.025
const line = (x, y, style) => ({x, y, type: "scatter", mode: "lines", showlegend: false, hoverinfo: "skip", line: style})
const bounds = line([0, side, side], [side, side, 0], {color: chartColors.muted, width: 1.5, dash: "dash"})
const region = {...line([0, 0, side, 0], [0, side, side, 0], {width: 0}), fill: "toself", fillcolor: chartColors.fn, opacity: 0.25}
const diagonal = line([0, side], [0, side], {color: chartColors.fn, width: 2})
const ticks = [line([side, side], [-tick, tick], {color: chartColors.ink, width: 1.5}),
line([-tick, tick], [side, side], {color: chartColors.ink, width: 1.5})]
const label = {showarrow: false, font: {size: 15}}
const axis = {showarrow: true, axref: "x", ayref: "y", text: "", arrowhead: 2, arrowsize: 1, arrowwidth: 1.5, arrowcolor: chartColors.ink}
const hidden = {zeroline: false, showline: false, showgrid: false, showticklabels: false, ticks: "", fixedrange: true}
return regionPlot([region, bounds, diagonal, ...ticks], {
xaxis: {...hidden, range: [-0.2, 1.45]},
yaxis: {...hidden, range: [-0.2, 1.45], scaleanchor: "x", constrain: "domain"},
annotations: [
{...axis, x: end, y: 0, ax: -0.1, ay: 0},
{...axis, x: 0, y: end, ax: 0, ay: -0.1},
{...label, x: end + 0.08, y: 0, text: "<i>t</i>"},
{...label, x: 0, y: end + 0.08, text: "<i>u</i>"},
{...label, x: -0.08, y: -0.09, text: "0"},
{...label, x: side, y: -0.1, text: "<i>x</i>"},
{...label, x: -0.09, y: side, text: "<i>x</i>"},
{...label, x: 0.3, y: 0.72, text: "<i>t</i> ≤ <i>u</i>"},
{...label, x: 0.6, y: 0.47, xanchor: "left", text: "<i>u</i> = <i>t</i>"}
],
hovermode: false,
uirevision: "static",
margin: {l: 10, r: 10, t: 10, b: 10}
})
}Fractional integrals
math
Integrating a function half a time.
My favorite thing in a student presentation is learning a simple new math fact that I had not known before. I teach in an applied math department, so most talks are about applications of methods to other fields, graphs of numerical analysis, etc. But every once in a while a surprising fact surfaces that just makes my day. At heart, I’m still a pure mathematician in an applied mathematician’s clothing. Here’s one such fact I learned from the presentations in my Computational Math course.
But first, a better-known result from complex analysis.
Cauchy’s integral formula for repeated differentiation
Suppose you have a holomorphic (complex differentiable) function \(f: \mathbb{C} \to \mathbb{C}\). Cauchy’s integral formula says that its value at any point \(a\) is determined by its values on any loop \(\gamma\) going once counterclockwise around \(a\): \[ f(a) = \frac{1}{2\pi i} \oint_\gamma \frac{f(z)}{z - a} \, dz. \] Differentiating under the integral sign \(n\) times with respect to \(a\) gives a formula for every derivative of \(f\).
Theorem 1 (Cauchy’s differentiation formula) Let \(f: \mathbb{C} \to \mathbb{C}\) be holomorphic, and let \(\gamma\) be a loop going once counterclockwise around a point \(a\). Then for every \(n \ge 0\), \[ f^{(n)}(a) = \frac{n!}{2\pi i} \oint_\gamma \frac{f(z)}{(z - a)^{n+1}} \, dz. \]
This is a foundational formula in complex analysis. It turns out there is a related formula for repeated integration, but this time for real functions!
Cauchy’s formula for repeated integration
Suppose \(f: \mathbb{R} \to \mathbb{R}\) is continuous. For \(n \ge 1\), define \(I^n f\) as \(n\) nested integrals: \[ (I^n f)(x) = \int_0^x \int_0^{u_1} \cdots \int_0^{u_{n-1}} f(u_n) \, du_n \cdots du_2 \, du_1, \] with \(u_1\) running over \([0, x]\) and each \(u_{k+1}\) over \([0, u_k]\). So the variables satisfy \(0 \le u_n \le u_{n-1} \le \cdots \le u_1 \le x\). Note that \((If)(x)\) is just the antiderivative of \(f\) that vanishes at 0. So we can think of \(I^n f\) as the \(n\)th antiderivative.
Cauchy’s formula for repeated integration says the nested integrals collapse into one.
Theorem 2 (Cauchy’s formula for repeated integration) Let \(f: \mathbb{R} \to \mathbb{R}\) be continuous. Then for every \(n \ge 1\), \[ (I^n f)(x) = \frac{1}{(n-1)!} \int_0^x (x - t)^{n-1} f(t) \, dt. \]
For \(n = 2\), the nested form from the definition is \[ (I^2 f)(x) = \int_0^x \Big( \int_0^u f(t) \, dt \Big) du. \] Here the outer variable \(u\) runs over \([0, x]\), and for each \(u\) the inner variable \(t\) runs over \([0, u]\). So the pairs \((t, u)\) fill the triangle \(0 \le t \le u \le x\): the part of the square \([0, x] \times [0, x]\) above the diagonal \(u = t\), shaded in the diagram below.
Changing the order of integration gives us \[ (I^2 f)(x) = \int_0^x \int_t^x f(t) \, du \, dt = \int_0^x (x - t) f(t) \, dt, \] matching the theorem with \(n = 2\). The inner integral over \(u\) does not involve \(f\), so it is just the length \(x - t\). The general case follows by induction, with the same change of order at each step.
I had never seen this formula before, and I don’t quite understand what it means. The Wikipedia article suggests one use: generalizing it to fractional integration.
Fractional integrals
The only place where \(n\) needs to be an integer is the factorial. Replacing \((n-1)!\) with \(\Gamma(n)\) gives the Riemann–Liouville fractional integral, defined for every \(\alpha > 0\): \[ (I^\alpha f)(x) = \frac{1}{\Gamma(\alpha)} \int_0^x (x - t)^{\alpha-1} f(t) \, dt. \]
These operators compose the way repeated integrals should: integrating \(\beta\) times and then \(\alpha\) times is integrating \(\alpha + \beta\) times.
Theorem 3 (Semigroup law) For all \(\alpha, \beta > 0\), \[ I^\alpha I^\beta = I^{\alpha + \beta}. \]
This law is related to the Beta integral. In particular, \(I^{1/2}\) applied twice is \(I\): half-integrating twice is integrating once.
An example
For \(f(x) = x^k\), \[ I^\alpha x^k = \frac{\Gamma(k+1)}{\Gamma(k + \alpha + 1)} \, x^{k + \alpha}. \] When \(\alpha = n\) and \(k\) are both non-negative integers, the Gamma functions are factorials, and this is exactly what integrating \(x^k\) \(n\) times gives: \[ I^n x^k = \frac{k!}{(k + n)!} \, x^{k + n} = \frac{x^{k+n}}{(k+1)(k+2)\cdots(k+n)}. \] Taking \(k = 0\) and \(\alpha = 1/2\) gives the half-integral of the constant function \(1\): \[ I^{1/2} \, 1 = \frac{2}{\sqrt{\pi}} \, \sqrt{x}. \tag{1}\]
A concrete use: the tautochrone
The first application of a fractional integral is older than the name. Consider the question: on which curve does a bead, sliding without friction under gravity, take the same time to reach the bottom no matter where it starts? Huygens solved this geometrically in 1659. In 1823 Abel solved it again, with an integral equation that involves a fractional integral.
Try it yourself. Watch the four beads arrive together, then pick another track to see that this is special.
NoteTimes to the bottom
To derive the integral equation, denote by \(y\) the height of the bead from the bottom. Suppose \(y_0\) is the height at which the bead is released, so the speed at \(y = y_0\) is 0. Let \(s(y)\) be the length of the curve from the bottom up to height \(y\).
Suppose the speed of the bead at height \(y\) is \(v(y)\). Then by conservation of energy, \[ \frac{1}{2} m v(y)^2 = mg (y_0 - y), \] so \[ v(y) = \sqrt{2g(y_0 - y)}. \]
Suppose \(ds\) denotes a small length of the curve. Then \[ \begin{aligned} T(y_0) &= \int_0^{s(y_0)} \frac{ds}{v} \\ &= \int_0^{y_0} \frac{s'(y)}{\sqrt{2g(y_0 - y)}} \, dy \\ &= \sqrt{\frac{1}{2g}} \int_0^{y_0} \frac{s'(y)}{\sqrt{y_0 - y}} \, dy \\ &= \sqrt{\frac{\pi}{2 g}} \left[ \dfrac{1}{\Gamma(1/2)} \int_0^{y_0} \frac{s'(y)}{\sqrt{y_0 - y}} \, dy \right] \\ &= \sqrt{\frac{\pi}{2g}} \, \big(I^{1/2} s'\big)(y_0), \end{aligned} \] since \(\Gamma(1/2) = \sqrt{\pi}\). The descent time is a half-integral of \(s'\)!
Now suppose \(T\) is the same for every release height \(y_0\). Then \(I^{1/2} s'\) should be a constant: \[ \boxed{\, I^{1/2} s' = c \,} \] This can be thought of as the tautochrone integral equation (here \(s\) is the arc length).
To solve it, apply \(I^{1/2}\) to both sides. On the left, \(I^{1/2} I^{1/2} s' = I s'\) by the semigroup law (Theorem 3), and \(I s' = s\) because the arc length at the bottom is \(s(0) = 0\). On the right, the half-integral of the constant \(c\) is \(2c\sqrt{y}/\sqrt{\pi}\) by Equation 1. So \[ s(y) = c' \sqrt{y}, \] where \(c'\) is another constant. The curve with this property is the cycloid, traced by a point on a circle rolling along the underside of a line!
Wikipedia’s article on the tautochrone curve gives Abel’s solution in full, including the step from \(s \propto \sqrt{y}\) to the cycloid.