Weierstrass function
In mathematics, the Weierstrass function is a real-valued function defined on the real numbers that exemplifies a pathological case in analysis: it is continuous everywhere but differentiable nowhere. Constructed by the German mathematician Karl Weierstrass, the function was first presented in a lecture to the Prussian Academy of Sciences on July 18, 1872, providing the inaugural explicit counterexample to the then-widespread belief among mathematicians that every continuous function is differentiable except possibly at a set of isolated points.[1][2] This discovery upended foundational assumptions in calculus and real analysis, demonstrating that continuity alone does not guarantee even almost-everywhere differentiability, and it spurred deeper investigations into the nature of smoothness in functions.[3] The standard form of the Weierstrass function is given by the infinite seriesf(x) = \sum_{n=0}^{\infty} a^n \cos(b^n \pi x),
where 0 < a < 1 is the amplitude scaling factor and b > 1 is typically chosen as an odd integer to ensure the function is nowhere differentiable, with the key condition ab > 1 + \frac{3\pi}{2} guaranteeing the pathological behavior.[4][5] The series converges uniformly on the real line due to the decay of a^n, establishing continuity at every point, but the increasingly rapid oscillations induced by the b^n frequencies prevent the difference quotient from having a limit anywhere, thus ensuring non-differentiability.[1] Variations of this construction, such as using sine terms or random phases, preserve these core properties while allowing for generalizations in fractal geometry and stochastic processes.[6] Beyond its theoretical significance, the Weierstrass function has influenced diverse fields, including the study of fractals—its graph is self-similar and possesses a Hausdorff dimension strictly between 1 and 2 for appropriate parameters, reflecting its "jagged" structure at all scales.[7] It also finds applications in modeling irregular phenomena, such as fractal media in physics and engineering, where its nowhere-differentiable nature captures non-smooth, scale-invariant behaviors.[8] Early extensions, like those explored in the early 20th century, further quantified its irregularity, confirming properties such as bounded variation only on sets of measure zero.[9]