# Fabius function

In mathematics, the Fabius function is an example of an infinitely differentiable function that is nowhere analytic, found by Jaap Fabius (1966). It was also written down as the Fourier transform of

${\hat {f}}(z)=\prod _{m=1}^{\infty }\left(\cos {\frac {\pi z}{2^{m}}}\right)^{m}$ by Børge Jessen and Aurel Wintner (1935).

The Fabius function is defined on the unit interval, and is given by the cumulative distribution function of

$\sum _{n=1}^{\infty }2^{-n}\xi _{n},$ where the ξn are independent uniformly distributed random variables on the unit interval.

This function satisfies the initial condition $f(0)=0$ , the symmetry condition $f(1-x)=1-f(x)$ for $0\leq x\leq 1,$ and the functional differential equation $f'(x)=2f(2x)$ for $0\leq x\leq 1/2.$ It follows that $f(x)$ is monotone increasing for $0\leq x\leq 1,$ with $f(1/2)=1/2$ and $f(1)=1.$ There is a unique extension of f to the real numbers that satisfies the same equation. This extension can be defined by f (x) = 0 for x ≤ 0, f (x + 1) = 1 − f (x) for 0 ≤ x ≤ 1, and f (x + 2r) = −f (x) for 0 ≤ x ≤ 2r with r a positive integer. The sequence of intervals within which this function is positive or negative follows the same pattern as the Thue–Morse sequence.

## Values

The Fabius function is constant zero for all non-positive arguments, and assumes rational values at positive dyadic rational arguments.