Weierstrass function
{{short description|Function that is continuous everywhere but differentiable nowhere}}
{{distinguish|text=the Weierstrass elliptic function () or the Weierstrass sigma, zeta, or eta functions}}
{{Use dmy dates|date=September 2020}}
Image:WeierstrassFunction.svgs, the function exhibits self-similarity: every zoom (red circle) is similar to the global plot.]]
In mathematics, the Weierstrass function, named after its discoverer, Karl Weierstrass, is an example of a real-valued function that is continuous everywhere but differentiable nowhere. It is also an example of a fractal curve.
The Weierstrass function has historically served the role of a pathological function, being the first published example (1872) specifically concocted to challenge the notion that every continuous function is differentiable except on a set of isolated points.At least two researchers formulated continuous, nowhere differentiable functions before Weierstrass, but their findings were not published in their lifetimes.
Around 1831, Bernard Bolzano (1781–1848), a Czech mathematician, philosopher, and Catholic priest, constructed such a function; however, it was not published until 1922. See:
- Martin Jašek (1922) [http://dml.cz/bitstream/handle/10338.dmlcz/121916/CasPestMatFys_051-1922-2_2.pdf "Funkce Bolzanova"] (Bolzano's function), Časopis pro Pěstování Matematiky a Fyziky (Journal for the Cultivation of Mathematics and Physics), vol. 51, no. 2, pages 69–76 (in Czech and German).
- Vojtěch Jarník (1922) "O funkci Bolzanově" (On Bolzano's function), Časopis pro Pěstování Matematiky a Fyziky (Journal for the Cultivation of Mathematics and Physics), vol. 51, no. 4, pages 248 - 264 (in Czech). Available on-line in Czech at: http://dml.cz/bitstream/handle/10338.dmlcz/109021/CasPestMatFys_051-1922-4_5.pdf . Available on-line in English at: http://dml.cz/bitstream/handle/10338.dmlcz/400073/Bolzano_15-1981-1_6.pdf .
- Karel Rychlík (1923) "Über eine Funktion aus Bolzanos handschriftlichem Nachlasse" (On a function from Bolzano's literary remains in manuscript), Sitzungsberichte der königlichen Böhmischen Gesellschaft der Wissenschaften (Prag) (Proceedings of the Royal Bohemian Society of Philosophy in Prague) (for the years 1921-1922), Class II, no. 4, pages 1-20. (Sitzungsberichte was continued as: Věstník Královské české společnosti nauk, třída matematicko-přírodovědecká (Journal of the Royal Czech Society of Science, Mathematics and Natural Sciences Class).)
Around 1860, Charles Cellérier (1818 - 1889), a professor of mathematics, mechanics, astronomy, and physical geography at the University of Geneva, Switzerland, independently formulated a continuous, nowhere differentiable function that closely resembles Weierstrass's function. Cellérier's discovery was, however, published posthumously:
- Cellérier, C. (1890) [https://books.google.com/books?id=HMghAQAAIAAJ&pg=PA142 "Note sur les principes fondamentaux de l'analyse"] (Note on the fundamental principles of analysis), Bulletin des sciences mathématiques, second series, vol. 14, pages 142 - 160. Weierstrass's demonstration that continuity did not imply almost-everywhere differentiability upended mathematics, overturning several proofs that relied on geometric intuition and vague definitions of smoothness. These types of functions were disliked by contemporaries: Charles Hermite, on finding that one class of function he was working on had such a property, described it as a "lamentable scourge"{{Disputed inline|Accuracy of Poincaré quote in lead|date=March 2025}}.{{cite book |last1=Hermite |first1=Charles |author-link1=Charles Hermite |last2=Stieltjes |first2=Thomas |author-link2=Thomas Joannes Stieltjes |title=Correspondance d'Hermite et de Stieltjes |chapter=Letter 374, 20 May 1893 |editor-last1=Baillaud |editor-first1=Benjamin |editor-last2=Bourget |editor-first2=Henri |volume=2 |publisher=Gauthier-Villars |year=1905 |pages=317–319 |language=fr}}
The functions were difficult to visualize until the arrival of computers in the next century, and the results did not gain wide acceptance until practical applications such as models of Brownian motion necessitated infinitely jagged functions (nowadays known as fractal curves).{{cite web | url = https://nautil.us/maths-beautiful-monsters-234859/ | title = Math's Beautiful Monsters: How a destructive idea paved the way for modern math | last = Kucharski | first = Adam | date = 2017-10-26 | access-date = 2023-10-11}}
Construction
File:Weierstrass Animation.gif
In Weierstrass's original paper, the function was defined as a Fourier series:
where
The minimum value of
Despite being differentiable nowhere, the function is continuous: Since the terms of the infinite series which defines it are bounded by
It might be expected that a continuous function must have a derivative, or that the set of points where it is not differentiable should be countably infinite or finite. According to Weierstrass in his paper, earlier mathematicians including Gauss had often assumed that this was true. This might be because it is difficult to draw or visualise a continuous function whose set of nondifferentiable points is something other than a countable set of points. Analogous results for better behaved classes of continuous functions do exist, for example the Lipschitz functions, whose set of non-differentiability points must be a Lebesgue null set (Rademacher's theorem). When we try to draw a general continuous function, we usually draw the graph of a function which is Lipschitz or otherwise well-behaved. Moreover, the fact that the set of non-differentiability points for a monotone function is measure-zero implies that the rapid oscillations of Weierstrass' function are necessary to ensure that it is nowhere-differentiable.
The Weierstrass function was one of the first fractals studied, although this term was not used until much later. The function has detail at every level, so zooming in on a piece of the curve does not show it getting progressively closer and closer to a straight line. Rather between any two points no matter how close, the function will not be monotone.
The computation of the Hausdorff dimension
The term Weierstrass function is often used in real analysis to refer to any function with similar properties and construction to Weierstrass's original example. For example, the cosine function can be replaced in the infinite series by a piecewise linear "zigzag" function. G. H. Hardy showed that the function of the above construction is nowhere differentiable with the assumptions
Riemann function
The Weierstrass function is based on the earlier Riemann function, claimed to be differentiable nowhere. Occasionally, this function has also been called the Weierstrass function.{{cite web|first1=Eric W.|last1=Weisstein|url=https://mathworld.wolfram.com/WeierstrassFunction.html|website=MathWorld|title=Weierstrass Function}}
f(x) = \sum_{n = 1}^\infty \frac{\sin(n^2x)}{n^2}.
While Bernhard Riemann strongly claimed that the function is differentiable nowhere, no evidence of this was published by Riemann, and Weierstrass noted that he did not find any evidence of it surviving either in Riemann's papers or orally from his students.
In 1916, G. H. Hardy confirmed that the function does not have a finite derivative in any value of
As the Riemann function is differentiable only on a null set of points, it is differentiable almost nowhere.
Hölder continuity
It is convenient to write the Weierstrass function equivalently as
for
for all
Density of nowhere-differentiable functions
It turns out that the Weierstrass function is far from being an isolated example: although it is "pathological", it is also "typical" of continuous functions:
- In a topological sense: the set of nowhere-differentiable real-valued functions on [0, 1] is comeager in the vector space C([0, 1]; R) of all continuous real-valued functions on [0, 1] with the topology of uniform convergence.{{cite journal|author=Mazurkiewicz, S..|title=Sur les fonctions non-dérivables|journal=Studia Math.|issue=3|year=1931|volume=3|pages=92–94|doi=10.4064/sm-3-1-92-94|doi-access=free}}{{cite journal|author=Banach, S.|title=Über die Baire'sche Kategorie gewisser Funktionenmengen|journal=Studia Math.|issue=3|year=1931|volume=3|pages=174–179|doi=10.4064/sm-3-1-174-179|doi-access=free}}
- In a measure-theoretic sense: when the space C([0, 1]; R) is equipped with classical Wiener measure γ, the collection of functions that are differentiable at even a single point of [0, 1] has γ-measure zero. The same is true even if one takes finite-dimensional "slices" of C([0, 1]; R), in the sense that the nowhere-differentiable functions form a prevalent subset of C([0, 1]; R).
See also
Notes
{{Reflist}}
References
- {{Citation | last=David | first=Claire | year=2018 | title=Bypassing dynamical systems : A simple way to get the box-counting dimension of the graph of the Weierstrass function | journal=Proceedings of the International Geometry Center| publisher=Academy of Sciences of Ukraine | volume=11 | issue=2 | pages=53–68 | doi=10.15673/tmgc.v11i2.1028 | doi-access=free | arxiv=1711.10349 }}
- {{Citation | last=Falconer | first=K. | author-link=Kenneth Falconer (mathematician) | year=1984 | title=The Geometry of Fractal Sets | place=Cambridge | publisher=Cambridge University Press | series=Cambridge Tracts in Mathematics | volume=Book 85 | isbn=978-0-521-33705-2 | url={{Google books|-Kwp-GrimCIC|plainurl=yes}} }}
- {{Citation |last1=Gelbaum |first1=B Bernard R. |last2=Olmstead |first2=John M. H. |year=2003 |orig-year=1964 |title=Counterexamples in Analysis |publisher=Dover Publications |series=Dover Books on Mathematics |isbn=978-0-486-42875-8 |url={{Google books|D_XBAgAAQBAJ|plainurl=yes}} }}
- {{Citation | last=Hardy | first=G. H. | author-link=G. H. Hardy | year=1916 | title=Weierstrass's nondifferentiable function | journal=Transactions of the American Mathematical Society | publisher=American Mathematical Society | volume=17 | issue=3 | pages=301–325 | url=http://www.ams.org/journals/tran/1916-017-03/S0002-9947-1916-1501044-1/S0002-9947-1916-1501044-1.pdf | doi=10.2307/1989005| jstor=1989005 }}
- {{Citation | last=Weierstrass | first=Karl | author-link=Karl Weierstrass | date=18 July 1872 | title=Über continuirliche Functionen eines reellen Arguments, die für keinen Werth des letzeren einen bestimmten Differentialquotienten besitzen | publisher=Königlich Preußische Akademie der Wissenschaften }}
- {{Citation | last=Weierstrass | first=Karl | year=1895 | title=Mathematische Werke von Karl Weierstrass | chapter=Über continuirliche Functionen eines reellen Arguments, die für keinen Werth des letzeren einen bestimmten Differentialquotienten besitzen | location=Berlin, Germany | publisher=Mayer & Müller | volume=2 | pages=71–74 | chapter-url={{Google books|1FhtAAAAMAAJ|page=71|plainurl=yes}} }}
- English translation: {{Citation | last=Edgar | first=Gerald A. | year=1993 | title=Classics on Fractals | chapter=On continuous functions of a real argument that do not possess a well-defined derivative for any value of their argument | publisher=Addison-Wesley Publishing Company | series=Studies in Nonlinearity | pages=3–9 | isbn=978-0-201-58701-2 }}
External links
- {{MathWorld|id=WeierstrassFunction|title=Weierstrass function}} (a different Weierstrass Function which is also continuous and nowhere differentiable)
- [http://www.apronus.com/math/nodiffable.htm Nowhere differentiable continuous function] proof of existence using Banach's contraction principle.
- [http://www.apronus.com/math/nomonotonic.htm Nowhere monotonic continuous function] proof of existence using the Baire category theorem.
- {{cite web | author = Johan Thim | url = http://epubl.ltu.se/1402-1617/2003/320/index-en.html | title = Continuous Nowhere Differentiable Functions | work = Master Thesis Lulea Univ of Technology 2003 | access-date = 28 July 2006 | archive-date = 22 February 2017 | archive-url = https://web.archive.org/web/20170222141554/http://epubl.ltu.se/1402-1617/2003/320/index-en.html | url-status = dead }}
- [http://jonas.matuzas.googlepages.com/mathematicalbeauties Weierstrass function in the complex plane] {{Webarchive|url=https://web.archive.org/web/20090924022258/http://jonas.matuzas.googlepages.com/mathematicalbeauties |date=24 September 2009 }} Beautiful fractal.
- [https://doi.org/10.1007%2Fs00041-009-9072-2 SpringerLink - Journal of Fourier Analysis and Applications, Volume 16, Number 1] Simple Proofs of Nowhere-Differentiability for Weierstrass's Function and Cases of Slow Growth
- [https://stemblab.github.io/weierstrass/ Weierstrass functions: continuous but not differentiable anywhere]
- [https://web.archive.org/web/20250131212739/https://users.math.msu.edu/users/banelson/teaching/104/104_weierstrass.pdf The Weierstrass Function by Brent Nelson at Berkeley, showing non-differentiable]
{{Fractals}}