# Talk:Weierstrass function

Page contents not supported in other languages. Vital articles: Level 5 / Mathematics Start‑class Weierstrass function has been listed as a level-5 vital article in Mathematics. If you can improve it, please do.Vital articlesWikipedia:WikiProject Vital articlesTemplate:Vital articlevital articles .mw-parser-output td.assess,.mw-parser-output th.assess{font-weight:bold;text-align:center;white-space:nowrap}.mw-parser-output td.assess-unbold,.mw-parser-output th.assess-unbold{font-weight:inherit}.mw-parser-output .assess-fa,.mw-parser-output .assess-fl,.mw-parser-output .assess-fm,.mw-parser-output .assess-fpo{background-color:#9cbdff}.mw-parser-output .assess-a,.mw-parser-output .assess-al{background-color:#66ffff}.mw-parser-output .assess-ga{background-color:#66ff66}.mw-parser-output .assess-b,.mw-parser-output .assess-bl,.mw-parser-output .assess-complete{background-color:#b2ff66}.mw-parser-output .assess-c,.mw-parser-output .assess-cl,.mw-parser-output .assess-substantial{background-color:#ffff66}.mw-parser-output .assess-start,.mw-parser-output .assess-basic{background-color:#ffaa66}.mw-parser-output .assess-stub,.mw-parser-output .assess-sl{background-color:#ffa4a4}.mw-parser-output .assess-list{background-color:#c7b1ff}.mw-parser-output .assess-na{background-color:#f5f5f5}.mw-parser-output .assess-unassessed,.mw-parser-output .assess-default{background-color:#dcdcdc}.mw-parser-output .assess-current{background-color:#e6a4ff}.mw-parser-output .assess-deferred{background-color:#d1bcac}.mw-parser-output .assess-future{background-color:#b4bbff}.mw-parser-output .assess-sia{background-color:#e9daff}.mw-parser-output .assess-category{background-color:#ffdb58}.mw-parser-output .assess-disambig{background-color:#00fa9a}.mw-parser-output .assess-draft{background-color:#e7b198}.mw-parser-output .assess-file{background-color:#ddccff}.mw-parser-output .assess-merge{background-color:#add8e6}.mw-parser-output .assess-needed{background-color:#dcdcdc}.mw-parser-output .assess-portal{background-color:#ddb1bc}.mw-parser-output .assess-project{background-color:#c0c090}.mw-parser-output .assess-redirect{background-color:#c0c0c0}.mw-parser-output .assess-template{background-color:#fbceb1}.mw-parser-output .assess-user{background-color:#ddd06a}Start This article has been rated as Start-class on Wikipedia's content assessment scale. Systems Start‑class Mid‑importance .mw-parser-output .portalbox{padding:0;margin:0.5em 0;display:table;box-sizing:border-box;max-width:175px;list-style:none}.mw-parser-output .portalborder{border:solid #aaa 1px;padding:0.1em;background:#f9f9f9}.mw-parser-output .portalbox-entry{display:table-row;font-size:85%;line-height:110%;height:1.9em;font-style:italic;font-weight:bold}.mw-parser-output .portalbox-image{display:table-cell;padding:0.2em;vertical-align:middle;text-align:center}.mw-parser-output .portalbox-link{display:table-cell;padding:0.2em 0.2em 0.2em 0.3em;vertical-align:middle}@media(min-width:720px){.mw-parser-output .portalleft{clear:left;float:left;margin:0.5em 1em 0.5em 0}.mw-parser-output .portalright{clear:right;float:right;margin:0.5em 0 0.5em 1em}} Systems science portalThis article is within the scope of WikiProject Systems, which collaborates on articles related to systems and systems science.SystemsWikipedia:WikiProject SystemsTemplate:WikiProject SystemsSystems articles Start This article has been rated as Start-class on Wikipedia's content assessment scale. Mid This article has been rated as Mid-importance on the project's importance scale. This article is within the field of Chaos theory. Mathematics Start‑class Mid‑priority This article is within the scope of WikiProject Mathematics, a collaborative effort to improve the coverage of mathematics on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.MathematicsWikipedia:WikiProject MathematicsTemplate:WikiProject Mathematicsmathematics articles Start This article has been rated as Start-class on Wikipedia's content assessment scale. Mid This article has been rated as Mid-priority on the project's priority scale.

## Blancmarge

Is this the one known as the "blancmage"? Can't remember... Dysprosia 05:32, 27 Jan 2004 (UTC)

Perhaps we can believe the MathWorld page on Blancmange function... --Pt 22:56, 9 Oct 2004 (UTC)

Can anyone say why you can't differentiate the function, couldn't you just use the chain-rule?

Of course you can. Just the derivative doesn't (usually --Pt) converge as the function itself does. Pt 21:44, 6 Sep 2004 (UTC)

I think that more accurate plots are needed. Right now there are some obviously incorrect straight lines visible. Pt 21:46, 6 Sep 2004 (UTC)

## Other definitions

It's interesting to note that "Kaoseraamat" ("The Chaos Book") by Ülo Lepik and Jüri Engelbrecht (Tallinn 1999; ISBN 9985-50-235-3) gives on page 135 the Weierstrass function as such complex function: $W(t)=\sum _{n=-\infty }^{\infty }{1-e^{ib^{n}t} \over b^{(2-D)n}},$ where $1 "To visualize it," they take its real part, the Weierstrass-Mandelbrot function: $C(t)=\Re W(t)=\sum _{n=-\infty }^{\infty }{1-\cos b^{n}t \over b^{(2-D)n}}.$ I think these different definitions need further checking. Pt 22:13, 6 Sep 2004 (UTC)

MathWorld gives yet another definition:

$f_{a}(x)=\sum _{k=1}^{\infty }{\sin(\pi k^{a}x) \over \pi k^{a}}$ Someone should really check some reliable sources — which definition is correct?!

By the way, MathWorld also says that there are actually some points (namely, at $x={2A+1 \over 2B+1}$ for $\forall A,\,B\in \mathbb {Z}$ ), where the derivative is finite ($1 \over 2$ ). Anywhere else the function is really undifferentiable.

Thus, MathWorld is an interesting source for Wikipedia, but nevertheless needs checking.

--Pt 22:53, 9 Oct 2004 (UTC)

I think the current definition $f(x)=\sum _{n=0}^{\infty }a^{n}\cos(b^{n}\pi x),01+{\frac {3}{2}}\pi$ is correct. The original paper by Weierstrass, Abhandlungen Aus Der Functionenlehre (1886), shows this version, but with the a and b changed around and positive b less than 1. -- KittySaturn 14:02, 2005 Apr 16 (UTC)
According to this MSc thesis it seems that $f_{a}(x)$ from MathWorld is more likely the Riemann function. See also MathWorld redirect. --147.230.151.146 11:54, 5 February 2007 (UTC)

## An edit by 217.136.97.96 at 00:49 EET, 10 Oct 2004

probably the second known was also one of Weierstrass : sigma cos(n²x)/n² and the third its generalization cos(n^c x)/n^c.

I moved the sentence here because it certainly needs some discussion before going to the encyclopedia article. --Pt 23:18, 9 Oct 2004 (UTC)

## Is the definition correct?

The definition states: "Almost all continuous functions are nowhere differentiable,..."

But shouldn't it say: "Almost all continuous functions are differentiable."

This looks to be what the MathSource states as well. If you look up the word "differentiable", MathSource states: "Amazingly, there exist continuous functions which are nowhere differentiable." And then lists the Weierstrass and Blancmange functions.

I don't know, maybe i'm talking wacky talk. Sorry if i am.

Sincerely, Mark

• My initial reaction was that the original statement of "nowhere continuous" makes more sense to me. And apparently Oleg Alexandrov thinks that one is correct, too. Eric119 02:06, 9 May 2005 (UTC)
Sorry, I did miss this thing so far (have no idea why). Now, the statement:
Almost all continuous functions are nowhere differentiable
is indeed correct.
Now, until 19th century or so, people thought all continous functions are differentiable. So, that's why it was so amazing that people found examples of functions which are not differentiable anyware, and the examples of such functions are actually quite exotic.
It was only later realized that actually, even if most if not all continuous functions we know are differentiable, nevertheless, the functions which are continuous but nowhere differentiable vastly outnumber the former. I could think of a proof if you wish. Oleg Alexandrov 03:11, 9 May 2005 (UTC)

Alexandrov and All,

I beg your pardon, i was not aware of that!
Hopefully my simple additions make up for my ignorant mistake.
I did come here to learn - and learning i am!
Thanks for the correction.
Sincerely,
Mark

Mark 17:56, 2005 May 20 (UTC)

My name is Oleg by the way.
I think you should relax a bit. :) Oleg Alexandrov 18:16, 20 May 2005 (UTC)
Oleg
I am relaxed, i just type like i'm uptight. :-)
Cheers,
Mark
--Mark 17:16, 2005 May 24 (UTC)

## Odd integer requirement

I just added the requirement that b is an odd integer. This is how I learned it, and is verified by (for instance) , , . I don't know how to verify its necessity myself, but this requirement is, at least, common. LWizard @ 01:25, 27 April 2006 (UTC)

• I am not sure about the necessity, but it is an odd integer in Weierstrass' original paper, and this does at least make the proof of the properties of this function a lot easier. Weierstrass 22:04, 8 July 2007 (UTC)

## Picture?

Would it be possible to get a graphic showing the construction of this function, just to make it clearer? -- 314159 01:05, 27 August 2006 (UTC)

## Proof of continuity of the function...

It says in the "elementary" proof that

Since the terms of the infinite series which defines it are bounded by $\pm a^{n}$ and this has finite sum for 0 < a < 1, convergence of the partial sums to the function is uniform

in the article. But why does a finite sum imply uniform convergence? It seems to me that since, for |b| < 1,

$\left|\sum _{k=0}^{\infty }b^{k}-\sum _{k=0}^{n}b^{k}\right|={\frac {|b|^{n+1}}{|1-b|}}$ ,

which blows up as $b\to 1$ , we have that

$\sup _{|b|<1}\left|\sum _{k=0}^{\infty }b^{k}-\sum _{k=0}^{n}b^{k}\right|=\infty$ for all n, thus it is not going to converge to anything as n goes to infinity and so it doesn't look like uniform convergence to me... or did I do something wrong? -- 129.78.64.102 11:39, 18 July 2007 (UTC)

• Use the Weierstrass M-test with $M_{n}=a^{n}$ . This will show uniform convergence; continuity is preserved through convergence since each partial sum is continuous. Neocapitalist 23:38, 4 November 2007 (UTC)

## Proof of nowhere differentiability

After the proofsketch of the continuity of the function, it says something like

"To prove that it is nowhere differentiable, we consider an arbitrary point x \in {\mathbb R} and show that the function is not differentiable at that point. To do this, we construct two sequences of points xn and x'n which both converge to x, having the property that [...]"

This makes me expect to see more of the proof. The rest is though omitted. Just wondering if something should be added or then change the wording.

## Formating the formulae

In the section "Construction of the Weierstrass function" is:

$\lim \inf$ meant to be:

$\lim _{x\to \infty }$ and is the:

$\lim \sup$ meant to be something else?
RMFan1 (talk) 15:36, 2 January 2008 (UTC)

No. "inf" and "sup" mean "infimum" and "supremum", respectively. Ralphmerridew (talk) 02:46, 13 March 2008 (UTC)

it is described terribly in the text, see Limit superior and limit inferior — Preceding unsigned comment added by 131.111.185.4 (talk) 00:35, 6 May 2013 (UTC)

## The picture on the article

Nice picture. But what choices of a and b were made in such plot? —Preceding unsigned comment added by 67.83.187.113 (talk) 00:44, 30 March 2008 (UTC)

Because f(0)=2, it seems that a=1/2, but b is a bit harder to decipher130.234.5.138 (talk) 09:48, 7 October 2010 (UTC)

Experimentally, this seems to be $a=1/2$ , $b=3$ , which is problematic, since this doesn't meet the condition $ab>1+{\frac {3}{2}}\pi$ . --67.206.111.10 (talk) 16:54, 18 January 2022 (UTC)

### The Historic Inequality Is Not the Tightest Lower Bound on the Product: $\,ab$ The discrepancy with the inequality is because the requirement $ab>1+{\frac {3}{2}}\pi$ is purely an historic artifact. G. Hardy showed in 1916 that the only true requirement is that $ab>1$ .

See for example, *Hardy, G. H. (1916), "Weierstrass's nondifferentiable function" (PDF), Transactions of the American Mathematical Society, American Mathematical Society, 17 (3): 301–325, doi:10.2307/1989005, JSTOR 1989005

MMmpds 16:59, 19 January 2022 (UTC)

## Differentiable at integers

When I try to get the derivative using the differentiation rules, I get this function:

$f(x)'=\sum _{n=0}^{\infty }-a^{n}b^{n}\pi \sin(b^{n}\pi x)$ With most values for x, the number changes completely on every iteration of the sum operator. It doesn't converge to a number, which is expectable for a function which hasn't a derivative. But, if you use an integer for x, the argument of the sine function is a multiplycation of pi. In that case the sine function returns 0, which causes the whole function to return 0.

This means the Weierstrass function is differentiable at least some places. These places are where x is an integer, the derivative equals 0 at those places. Do you agree with me?

Paul Breeuwsma (talk) 23:40, 16 October 2008 (UTC)

You cannot in general differentiate an infinite series by differentiating each of the terms. Eric119 (talk) 16:31, 19 October 2008 (UTC)
I'm guessing that you are also letting b be an integer. You shouldn't. If b is not an integer, this won't happen since an integer multiple of a non-integer is not an integer, and

b^n will not be an integer in most cases. You COULD still choose x such that xb^n is an integer (e.g. x = m*b^(-n), m an integer), but obviously xb^(n+1) = b*(xb^n) won't be. Thus: choose b a non-integer and the argument for sin will be a non-integer almost always for any x and any n (and for every x, there will be n such that it is non-integer). Also, note the comment from Eric119. In your case, the function could well have a derivative, but it is not proven just by applying a derivative formula for each term.84.238.115.158 (talk) 21:11, 16 March 2009 (UTC)

#### A More Precise Perspective

From Hardy's true condition, namely, the requirement that $ab>1$ , one finds that the Dini derivatives even at zeros of the function are all infinite. This means the usual derivative cannot exist. So while our minds may wander and confuse us with the lingering thought that the constant function $f(x)=0$ is the only smooth analytic function with compact support, this has no bearing on whether the derivative of a function exists at a zero of the function. In the case of zeros of the function, the derivative does not suddenly become defined. In fact, it suffices to check that none of the Dini derivatives are finite, and therefore the ordinary derivative cannot exist. Since this is true at every point, the function is nowhere differentiable. Another obvious way to see this conclusion is to realize that if one were to translate any W-function up by an amount $y_{+}=\min(W)+\varepsilon$ or down by $y_{-}=-\max(W)-\varepsilon$ with $\varepsilon >0$ , and then ask if one believes that the points formerly crossing the x-axis suddenly gained or lost differentiability, purely due to translation of the graph, the answer is clearly that no such derivative can exist. To make this more logically precise, consider the weak derivative $D_{w}$ and note that if $W(x)$ is a Weierstrass like-function then $D_{w}W(x)=D_{w}[W(x)+y_{\pm }]$ since both $y_{\pm }$ are constants. — Preceding unsigned comment added by MMmpds (talkcontribs) 17:47, 19 January 2022 (UTC)

The wolfram reference is to a different function by the same name. Probably not a good reference and should be removed. Dannyboytward (talk) 15:22, 4 November 2008 (UTC)

Above is discussed that MathWorld article is more likely about Riemann function. Perhaps it is better to mention it than to completely remove the reference. --EnJx (talk) 15:58, 8 November 2008 (UTC)

## Weierstrass Functions and a Musical Paradox

I've just been reading a book called "Fractals, Chaos, Power Laws", by Manfred Schroeder. It mentions a very interesting property of these functions that I think should be mentioned.

If this function is taken as a timeseries, it's waveform can be played as a musical note. If beta = 2^(13/12) we have (I don't know how to type equations, I appologise profusely)

f(t) = Sum_k[cos(2^(13/12)*t)]

If we double the frequency

f(2*t) = Sum_k[cos(2^(13/12 + 1)*t)] = Sum_k'[cos(2^(13/12)*2^(-1/12)*t)]

if the sum is over the entire audible range, a human perceives

f(2*t) = f(2^(-1/12)*t), or a doubling of frequency results in a paradoxical one semitone decrase in pitch (as opposed to an expected one octave increase)

Dannyboytward (talk) 15:28, 4 November 2008 (UTC)

## Fourier series

The definition given in the article really looks like a Fourier series and in fact, the coefficients would be something like

$\dots ,0,0,a^{n},0,0,\dots ,0,a^{n+1},0,0,\dots$ I think mentioning the connection would improve the article, but i'm a bit hesitant to add it myself since i'm not an expert on the subject.

-Actually never mind, b is not an integer in general.130.234.5.136 (talk) 14:19, 6 October 2010 (UTC)

## Distributional derivative

Would it be useful to put in a mention of the distributional derivative of this function? I don't remember seeing a specific reference about it, but it seems that it would be a good example...I imagine that the singular support of the derivative would be equal to the support, but that's just a guess. Anyone have a reference for something like this? -- Spireguy (talk) 04:16, 16 November 2010 (UTC)

## Sketch of the proof

In the article is said that one just proves this:

$\lim \inf {\frac {f(x_{n})-f(x)}{x_{n}-x}}>\lim \sup {\frac {f(x'_{n})-f(x)}{x'_{n}-x}}$ But I think it is enough to prove:

$\lim \sup {\frac {f(x_{n})-f(x)}{x_{n}-x}}>\lim \inf {\frac {f(x'_{n})-f(x)}{x'_{n}-x}}$ This is a much weaker condition and therefore probably easier.

I'm of course also interested in the whole proof. Why is the rest omitted? --Jobu0101 (talk) 08:58, 18 December 2010 (UTC)

## Fractional differentiability

Recently a section was written about the fractional differentiability of the function, and then again removed "as an undue promotion of a result. The edit summary further says: "An equivalent result has been known for many decades already." I'd say the fractional differentiability is quite an interesting property of the function, and a natural generalization of usual differentiability. That is: it is natural and interesting to ask whether a non-differentiable function is fractionally differentiable. The cited article has been cited already 40 times according to Scopus. In short, I think the fractional differentiability deserves at least a sentence or a few in the article. If you disagree, then what is the "equivalent result" known for many decades? This equivalence by itself seems encyclopedia-worthy! — Pt(T) 16:43, 18 December 2010 (UTC)

## Density of nowhere differential functions

The last section left me a little confused, as I don't have any background with topology. I was wondering if the last section implied that the set of everywhere differentiable functions on [0,1] is countable. — Preceding unsigned comment added by 2001:18E8:2:1093:41A8:3C62:6615:9534 (talk) 15:20, 26 November 2012 (UTC)

The external link "Weierstrass function in the complex plane", while pretty, is not a graph of the Riemann-Weierstrass function. — Preceding unsigned comment added by 128.59.193.197 (talk) 16:18, 23 January 2013 (UTC)

Article says ab must be > 1+3/2*pi = 5.712, but the standard values of a and b, like used in , , and the example image at the top of the page, are a = 0.5 and b = 3, so ab = 1.5. What is this condition for? — Omegatron (talk) 15:24, 14 May 2013 (UTC)

### The Historic Inequality Is Not the Tightest Lower Bound on the Product: $\,ab$ The discrepancy with the inequality is because the requirement $ab>1+{\frac {3}{2}}\pi$ is purely an historic artifact. G. Hardy showed in 1916 that the only true requirement is that $ab>1$ .

See for example, *Hardy, G. H. (1916), "Weierstrass's nondifferentiable function" (PDF), Transactions of the American Mathematical Society, American Mathematical Society, 17 (3): 301–325, doi:10.2307/1989005, JSTOR 1989005

MMmpds 17:04, 19 January 2022 (UTC)

## Unclear statement

In the section Construction, the following paragraph appears:

"The computation of the Hausdorff dimension D of the graph of the classical Weierstrass function was an open problem until 2018, while it was generally believed that D = $2+\log _{b}(a)<2$ . That D is strictly less than 2 follows from the conditions on $a$ and $b$ from above. Only after more than 30 years was this proved rigorously."

It is not clear what the word "this" refers to.

Is it only that D < 2 ?

Or is it the full statement that D = $2+\log _{b}(a)<2$ ? 2601:200:C000:1A0:C0A5:7B4A:921E:7CA (talk) 23:29, 5 July 2022 (UTC)

## "Nowhere differentiable function" listed at Redirects for discussion The redirect Nowhere differentiable function has been listed at redirects for discussion to determine whether its use and function meets the redirect guidelines. Readers of this page are welcome to comment on this redirect at Wikipedia:Redirects for discussion/Log/2023 May 16 § Nowhere differentiable function until a consensus is reached. Randi Moth TalkContribs 22:23, 16 May 2023 (UTC)