Wierestrass Function

One function (we don't actually cover this) defined the function:

∑n=0∞ancos⁡(bnx)

where a,b∈R are constants. Specifically there were more restrictions on a,b not discussed here. This is one function that would have the property of being everywhere continuous but nowhere differentiable, but the cos here is making such high oscillations that it makes the derivative not exist.

A different function that (only starts to) take on this role is:

ϕ(x)={|x|−1≤x≤1…

Where we extend this function to all of R by requiring that ϕ(x+2)=ϕ(x).

Now this function is differentiable at any x∉N while x∈R, but the idea is to try to fill in the gaps. We'll consider the function of the form:

g(x)=∑n=0∞anϕ(bnx)

where a,b have the similar restraints (ab>1 and a<1). We'll specifically want to use:

f(x)=∑n=0∞(34)nϕ(4nx)

We'll show that f is continuous, and then next that f is differentiable nowhere.

Continuity

f(x) above is defined for all of x∈R. Namely we could compare our series defined via f converges since it's less than the geometric series:

∑n=0∞(34)n

which itself is a convergent geometric series.

For continuity at every x∈R, notice that ∀N∈N that:

f(x)=SN(x)+RN(x)

where:

SN(x)=∑n=0N(34)nϕ(4nx)

is clearly continuous, and:

RN(x)=∑n=N+1∞(34)nϕ(4nx)≤∑n=N+1∞(34)n=(34)N+11−34=3⋅(34)N

So thus 0≤RN(x)≤3(34)N.

So the argument is the following:

Proof

Let x∈R and let ε>0. Choose some N∈N such that 3(34)N<ε2. Using the argument above, then:

f(x)=SN(x)+RN(x)

where SN(x) is continuous. Thus then by definition then choose ∃δ>0 such that |x−y|<δ implies |SN(x)−SN(y)|<ε2. Now let y be such that |x−y|<δ. Then:

|f(x)−f(y)|=|SN(x)+RN(x)−SN(y)−RN(y)|≤|SN(x)−SN(y)|+|RN(x)−RN(y)|<ε2+ε2=ε

Thus f is uniformly continuous.

☐

Not Differentiable

Notice that for any x,y∈R then:

|ϕ(x)−ϕ(y)|≤|x−y|

with equality only when ∄ an integer between x,y. Let's prove the failure for differentiability at any x∈R.

Proof

Let x∈R. and fix m∈N.

What may seem weird, let δm=±12⋅14m, where:

Now we'll show that f(x+δm)−f(x)δm has no limit as m→∞ (which makes δm→0). This is the h-definition of a derivative. Doing this:

f(x+δm)−f(x)δm=1δm(∑n=0∞(34)nϕ(4n(x+δm))−∑n=0∞(34)nϕ(4nx))=∑n=0∞(34)nϕ(4n(x+δm))−ϕ(4nx)δm

Now notice that the term in the box is some γn so making that replacement:

=∑n=0∞(34)nγn

We have the following cases:

  1. Say n>m. Then into ϕ we get:
4n(x+δm)=4nx±12⋅4n−m

now since n>m then the 4n−m has at least one factor of 4, and the 4n also has a factor of 4, so the whole term is an even integer. Since ϕ has period 2, then:

ϕ(4n(x+δm))−ϕ(4nx)=0

Thus for n>m then γn=0. Thus the infinite series becomes a finite series.
2. Say n=m. Then notice:

4n(x+δm)=4m(x+δm)⇒4nx=4mx

Now there cannot be an integer between these values:

ϕ(4m(x+δm))−ϕ(4mx)=±4mδm⇒γn=±4m
  1. Say 0≤n<m. We won't get the exact value but we will approximate γn. Notice that using what we found at the start of the differentiability section:
|ϕ(4n(x+δm))−ϕ(4nx)|≤|4n(x+δm)−4nx|≤4n|δm|

so then |γn|≤4n.

Now:

f(x+δm)−f(x)δm=∑n=0∞(34)nγn=∑n=0m(34)nγn(γn=0∀n>m)=(34)mγm+∑n=0m−1(34)nγn

Let the left value be A and for the right denote it Bn (the n is chosen to say that it is a sum for a sequence, not that it depends on n). Notice:

|A|=|(34mγm)|=|(34)m(±4m)|=3m|B|=|∑n=0m−1(34)nγn|≤∑n=0m−1(34)n|γn|≤∑n=0m−13n=3m−13−1≤12⋅3m

Therefore:

|f(x+δm)−f(x)δm|=|A+Bn|≥||A|−|Bn||≥3m−12⋅3m=12⋅3m→∞

so the limit doesn't exist.
☐