Weierstrass Function — Definition, Formula & Examples
The Weierstrass function is a famous example of a function that is continuous at every point but has no derivative at any point. It was introduced by Karl Weierstrass in 1872 to show that continuous functions need not be smooth or have tangent lines.
The Weierstrass function is defined as , where , is a positive odd integer, and . Under these conditions, the series converges uniformly to a continuous function that is nowhere differentiable.
Key Formula
Where:
- = Amplitude decay factor, with $0 < a < 1$
- = Positive odd integer controlling frequency growth
- = Summation index over non-negative integers
- = Real-valued input variable
How It Works
Each term is a smooth cosine wave with shrinking amplitude and rapidly increasing frequency . The shrinking amplitudes guarantee uniform convergence, which preserves continuity. However, the frequencies grow fast enough that the oscillations prevent a well-defined tangent line at every point. At any scale of magnification, the graph reveals new jagged detail — a fractal-like self-similarity that blocks differentiability everywhere.
Worked Example
Problem: Using and , compute the first three terms of at .
Step 1: Evaluate the term.
Step 2: Evaluate the term.
Step 3: Evaluate the term and form the partial sum.
Answer: The partial sum of the first three terms at is . In fact, at every cosine term equals 1, so .
Why It Matters
The Weierstrass function shattered the 19th-century belief that continuous functions must be differentiable "almost everywhere." It motivated rigorous foundations in real analysis, including the precise epsilon-delta definitions of limits and continuity. Today it appears in fractal geometry, the study of Brownian motion in probability, and as a standard counterexample in graduate analysis courses.
Common Mistakes
Mistake: Assuming that because the partial sums are smooth (each is a finite sum of cosines), the limit function must also be smooth.
Correction: Uniform convergence preserves continuity but does not preserve differentiability. The limit of differentiable functions can be nowhere differentiable.
