Keywords

Mathematics Subject Classification (2000).

1 Introduction

In this paper we consider continuous real functions of the form

$$\displaystyle{ f_{\lambda,b}^{\phi }(x) =\sum _{ n=0}^{\infty }\lambda ^{n}\phi (b^{n}x) }$$
(1.1)

for \(x \in \mathbb{R}\), where b > 1, 1∕b < λ < 1 and \(\phi: \mathbb{R} \rightarrow \mathbb{R}\) is a non-constant, \(\mathbb{Z}\)-periodic, Lipschitz continuous, piecewise C 1 function. Probably the most famous function of that form is the Weierstrass cosine function

$$\displaystyle{W_{\lambda,b}(x) =\sum _{ n=0}^{\infty }\lambda ^{n}\cos (2\pi b^{n}x),}$$

introduced by Weierstrass in 1872 as one of the first examples of a continuous nowhere differentiable function on the real line. In fact, Weierstrass proved the non-differentiability for some values of the parameters λ, b, while the complete proof for b > 1, 1∕b < λ < 1 was given by Hardy [16] in 1916. Later, starting from the work by Besicovitch and Ursell [8], the graphs of functions of the form (1.1) and related ones have been studied from a geometric point of view as fractal curves in the plane (Fig. 1).

Fig. 1
figure 1

The graph of the Weierstrass cosine nowhere differentiable function

In this paper we present a survey of recent results concerning various kinds of dimensions of the graphs of functions of the form (1.1).

Since

$$\displaystyle{\lambda f_{\lambda,b}^{\phi }(bx) = f_{\lambda,b}^{\phi }(x) -\phi (x),}$$

the graph of \(f_{\lambda,b}^{\phi }\) exhibits a kind of approximate self-affinity with scales λ and 1∕b, which suggests a candidate for its dimension to be

$$\displaystyle{D = 2 + \frac{\log \lambda } {\log b}.}$$

We will see that this is indeed the case for the box dimension of the graph of f λ, b ϕ (unless it is a piecewise C 1 function with the graph of dimension 1), see Theorem 2.4. For the Hausdorff dimension, the situation is not so simple – we know some general lower estimates by constants smaller than D (see (3.1) and Theorem 3.4), while the Hausdorff dimension of the graph is known to be equal to D only in some concrete cases (see Theorems 3.5 and 3.6), and for integer b and generic smooth function ϕ (see Theorem 4.2). On the other hand, we do not know any example of a function of the form (1.1), where the Hausdorff dimension of the graph is smaller than D.

Let us note that if b is an integer, then the graph of a function f λ, b ϕ of the form (1.1) is an invariant repeller for the expanding dynamical system

$$\displaystyle{ \Phi: \mathbb{R}/\mathbb{Z} \times \mathbb{R} \rightarrow \mathbb{R}/\mathbb{Z} \times \mathbb{R},\qquad \Phi (x,y) = \left (bx\,\text{ (mod }\,1),\; \frac{y -\phi (x)} {\lambda } \right ) }$$
(1.2)

with two different positive Lyapunov exponents − logλ < logb, which allows to use the methods of ergodic theory of smooth dynamical systems. In this case the graph of f λ, b ϕ is the common fractal boundary between the basins of attraction to (vertical) + and − on the cylinder \(\mathbb{R}/\mathbb{Z}\) (see Fig. 2). Alternatively, the system can be treated as a nonlinear iterated function system (IFS) on \([0,1) \times \mathbb{R}\) composed of the maps

$$\displaystyle{S_{i}(x,y) = \left (\frac{x} {b} + \frac{i} {b},\;\lambda y +\phi \left (\frac{x} {b} + \frac{i} {b}\right )\right ),\qquad i = 0,\ldots,b - 1.}$$
Fig. 2
figure 2

The graph of the Weierstrass function as the boundary between two attracting basins on the cylinder

Some results presented in this paper are valid also for a more general class of functions

$$\displaystyle{ f_{\lambda,b}^{\phi,\Theta }(x) =\sum _{ n=0}^{\infty }\lambda ^{n}\phi (b^{n}x +\theta _{ n}), }$$
(1.3)

where \(\Theta = (\theta _{1},\theta _{2},\ldots )\) for \(\theta _{n} \in \mathbb{R}\) is a sequence of phases (with the previous assumptions on λ, b and ϕ).

We will consider the Hausdorff, packing and box dimension denoted, respectively, by \(\dim _{H}\), \(\dim _{P}\) and \(\dim _{B}\). The upper and lower box dimension will be denoted, respectively, by \(\mathop{\overline{\mathrm{dim}}}\nolimits _{B}\) and \(\mathop{\underline{\mathrm{dim}}}\nolimits _{B}\). For an unbounded set, the (upper, lower) box dimension is defined as the supremum of (upper, lower) box dimensions of its bounded subsets.

For the definitions of the considered dimensions and their basic properties we refer to [14, 28]. We only note that for a set \(X \subset \mathbb{R}^{k}\) we have

$$\displaystyle{\dim _{H}(X) \leq \mathop{\underline{\mathrm{dim}}}\nolimits _{B}(X) \leq \mathop{\overline{\mathrm{dim}}}\nolimits _{B}(X)}$$

and

$$\displaystyle{\dim _{H}(X) \leq \dim _{P}(X) \leq \mathop{\overline{\mathrm{dim}}}\nolimits _{B}(X).}$$

The plan of the paper is as follows. In Sect. 2 we determine the box and packing dimension of the graphs of functions of the form (1.1). Results on the Hausdorff dimension are presented in Sects. 34. In Sect. 5 we deal with a randomization of functions of the form (1.3). Additional issues (complex extension of the Weierstrass cosine function, non-exponential sequences of scalings) are treated in Sects. 67.

Note that the quoted results are not necessarily presented in the chronological order and the formulation can be different from the original. Due to lack of space, the proofs are generally not included and the reader is referred to original articles.

There are a number of related issues which are not discussed in this paper (e.g. the case λ = b, wider classes of functions ϕ, dimension of the graphs of self-affine functions). The reader can find some information on these questions in the works included in the bibliography and the references therein.

2 Local Oscillations, Hölder Condition and Box Dimension

To determine the box dimension of the graphs of the considered functions, we examine their local oscillations in terms of the Hölder condition. By I we denote a non-trivial (not necessarily bounded) interval in \(\mathbb{R}\).

Definition 2.1

We say that a function \(f: I \rightarrow \mathbb{R}\) is Hölder continuous with exponent β > 0, if there exist c, δ > 0 such that

$$\displaystyle{\vert f(x) - f(y)\vert \leq c\vert x - y\vert ^{\beta }}$$

for every x, y ∈ I such that | xy | < δ. Hölder continuous functions with exponent 1 are called Lipschitz continuous (with the Lipschitz constant c).

We say that f satisfies the lower Hölder condition with exponent β > 0, if there exist \(\tilde{c},\tilde{\delta }> 0\) such that the oscillation

$$\displaystyle{\mathop{\mathrm{osc}}\nolimits _{J}(f) =\sup _{J}f -\inf _{J}f}$$

of f on every interval J ⊂ I with \(\vert J\vert <\tilde{\delta }\) satisfies

$$\displaystyle{\mathop{\mathrm{osc}}\nolimits _{J}(f) \geq \tilde{ c}\vert J\vert ^{\beta }}$$

(where \(\vert \cdot \vert\) denotes the length).

Note that the lower Hölder condition with exponent β ∈ (0, 1) implies non-differentiability (i.e. non-existence of a finite derivative) of the function at every point.

The following proposition follows directly from the definitions of the upper and lower box dimension.

Proposition 2.2

If \(f: I \rightarrow \mathbb{R}\) is Hölder continuous with exponent β ∈ (0,1], then

$$\displaystyle{\mathop{\overline{\mathrm{dim}}}\nolimits _{B}(\mathop{\mathrm{graph}}\nolimits f) \leq 2 -\beta.}$$

If a continuous function \(f: I \rightarrow \mathbb{R}\) satisfies the lower Hölder condition with exponent β ∈ (0,1], then

$$\displaystyle{\mathop{\underline{\mathrm{dim}}}\nolimits _{B}(\mathop{\mathrm{graph}}\nolimits f) \geq 2 -\beta.}$$

Let

$$\displaystyle{\alpha = -\frac{\log \lambda } {\log b} = 2 - D.}$$

Note that by definition, α ∈ (0, 1) and \(\lambda = b^{-\alpha }\). The following upper estimate of the box dimension of the graphs of the considered functions is a consequence of Proposition 2.2.

Proposition 2.3

Every function \(f_{\lambda,b}^{\phi,\Theta }\) of the form (1.3) is Hölder continuous with exponent α, and hence \(\mathop{\overline{\mathrm{dim}}}\nolimits _{B}(\mathop{\mathrm{graph}}\nolimits f_{\lambda,b}^{\phi,\Theta }) \leq D\) .

Proof

Let c be a Lipschitz constant of ϕ. Take x, y ∈ I such that 0 < | xy | ≤ 1. Then, choosing \(N \in \mathbb{N}\) with \(1/b^{N} <\vert x - y\vert \leq 1/b^{N-1}\), we have

$$\displaystyle\begin{array}{rcl} & & \vert f_{\lambda,b}^{\phi,\Theta }(x) - f_{\lambda,b}^{\phi,\Theta }(y)\vert \leq c\vert x - y\vert \sum _{ n=0}^{N-1}(\lambda b)^{n} + 2\max \phi \sum _{ n=N}^{\infty }\lambda ^{n} {}\\ & & \qquad \qquad \quad \qquad <\left ( \frac{cb} {\lambda b - 1} + \frac{2\max \phi } {1-\lambda }\right )\lambda ^{N} <\left ( \frac{cb} {\lambda b - 1} + \frac{2\max \phi } {1-\lambda }\right )\vert x - y\vert ^{\alpha }. {}\\ \end{array}$$

 □ 

One cannot expect a non-trivial lower estimate for the dimension of the graph, which holds for every function under consideration. Indeed, if

$$\displaystyle{\phi (x) = g(x) -\lambda g(bx)}$$

for an integer b > 1 and a \(\mathbb{Z}\)-periodic, Lipschitz continuous, piecewise C 1 function g, then f λ, b ϕ has the form (1.1) and f λ, b ϕ = g, so its graph is a piecewise smooth curve of dimension 1. However, for functions of the form (1.1), the case of a piecewise C 1 curve is the only possible exception, when the box dimension of the graph is smaller than D. The following fact is a consequence of a result by Hu and Lau [18].

Theorem 2.4

For every function f λ,b ϕ of the form (1.1), exactly one of the two following possibilities holds.

  1. (a)

    f λ,b ϕ is piecewise C 1 (and hence the dimension of its graph is 1).

  2. (b)

    f λ,b ϕ satisfies the lower Hölder condition with exponent α (in particular it is nowhere differentiable) and \(\dim _{B}(\mathop{\mathrm{graph}}\nolimits f_{\lambda,b}^{\phi }) = D\).

Proof

Adding a constant to f λ, b ϕ, we can assume ϕ(0) = 0. In [18, Theorem 4.1] it is proved that in this case, if the Weierstrass–Mandelbrot function

$$\displaystyle{V (x) =\sum _{ n=-\infty }^{\infty }\lambda ^{n}\phi (b^{n}x) = f_{\lambda,b}^{\phi } +\sum _{ n=1}^{\infty }\frac{1} {\lambda ^{n}}\phi \left ( \frac{x} {b^{n}}\right )}$$

is not identically zero, then f λ, b ϕ satisfies the lower Hölder condition with exponent α. Hence, if \(V \not\equiv 0\), then we can use Propositions 2.2 and 2.3 to obtain the assertion (b). On the other hand, \(\sum _{n=1}^{\infty }(1/\lambda ^{n})\phi (x/b^{n})\) is a piecewise C 1 function, so the condition \(V \equiv 0\) implies that f λ, b ϕ is piecewise C 1, which is the case (a). □ 

A consequence of Theorem 2.4 is that the graphs of functions of the form (1.1) have packing dimension equal to box dimension.

Proposition 2.5

For every function f λ,b ϕ of the form (1.1) , we have

$$\displaystyle{\dim _{P}(\mathop{\mathrm{graph}}\nolimits f_{\lambda,b}^{\phi }) =\dim _{ B}(\mathop{\mathrm{graph}}\nolimits f_{\lambda,b}^{\phi }).}$$

Proof

We can assume that we are in the case (b) of Theorem 2.4, i.e. f λ, b ϕ satisfies the lower Hölder condition with exponent α and \(\dim _{B}(\mathop{\mathrm{graph}}\nolimits f_{\lambda,b}^{\phi }) = D\). It is a general fact (see [14, Corollary 3.9]), that for every compact set \(X \subset \mathbb{R}^{k}\), if

$$\displaystyle{\mathop{\overline{\mathrm{dim}}}\nolimits _{B}(X \cap U) =\mathop{ \overline{\mathrm{dim}}}\nolimits _{B}(X)}$$

for every open set U intersecting X, then \(\dim _{P}(X) =\mathop{ \overline{\mathrm{dim}}}\nolimits _{B}(X)\). To prove the proposition, we check this condition for \(X =\mathop{ \mathrm{graph}}\nolimits f_{\lambda,b}^{\phi }\vert _{I}\), where I is an arbitrary non-trivial compact interval in R.

By the continuity of f λ, b ϕ, for an open set U intersecting \(\mathop{\mathrm{graph}}\nolimits f_{\lambda,b}^{\phi }\vert _{I}\), we can take a non-trivial interval J ⊂ I such that \(\mathop{\mathrm{graph}}\nolimits f_{\lambda,b}^{\phi }\vert _{J} \subset \mathop{\mathrm{graph}}\nolimits f_{\lambda,b}^{\phi }\vert _{I} \cap U\). Since \(f_{\lambda,b}^{\phi }\vert _{J}\) satisfies the lower Hölder condition with exponent α, Proposition 2.2 implies

$$\displaystyle{D \leq \mathop{\overline{\mathrm{dim}}}\nolimits _{B}(\mathop{\mathrm{graph}}\nolimits f_{\lambda,b}^{\phi }\vert _{ J}) \leq \mathop{\overline{\mathrm{dim}}}\nolimits _{B}(\mathop{\mathrm{graph}}\nolimits f_{\lambda,b}^{\phi }\vert _{ I} \cap U) \leq \mathop{\overline{\mathrm{dim}}}\nolimits _{B}(\mathop{\mathrm{graph}}\nolimits f_{\lambda,b}^{\phi }\vert _{ I}) \leq D,}$$

which ends the proof. □ 

In particular, the Weierstrass cosine function W λ, b satisfies the lower Hölder condition with exponent α and

$$\displaystyle{\dim _{P}(\mathop{\mathrm{graph}}\nolimits W_{\lambda,b}) =\dim _{B}(\mathop{\mathrm{graph}}\nolimits W_{\lambda,b}) = D}$$

for b > 1, 1∕b < λ < 1. Similar results for various classes of functions ϕ were obtained, among others, by Kaplan, Mallet-Paret and Yorke [24], Rezakhanlou [34], Przytycki and Urbański [33] and Bousch and Heurteaux [9].

In [17], Heurteaux generalized the above results to the case of functions of the form (1.3) with transcendental b.

Theorem 2.6

Every function \(f_{\lambda,b}^{\phi,\Theta }\) of the form (1.3) , where b is a transcendental number, satisfies the lower Hölder condition with exponent α (in particular it is nowhere differentiable). Moreover,

$$\displaystyle{\dim _{P}(\mathop{\mathrm{graph}}\nolimits f_{\lambda,b}^{\phi,\Theta }) =\dim _{ B}(\mathop{\mathrm{graph}}\nolimits f_{\lambda,b}^{\phi,\Theta }) = D.}$$

3 Hausdorff Dimension

The question of determining the Hausdorff dimension of the graphs of the considered functions is much more delicate and far from being completely solved. Since the upper bound \(\dim _{H} \leq \mathop{\overline{\mathrm{dim}}}\nolimits _{B} \leq D\) is known, one looks for suitable lower estimates. A standard tool is to analyse local properties of a finite Borel measure on the graph.

Definition 3.1

Let μ be a finite Borel measure in a metric space X. The upper and lower local dimension of μ at a point x ∈ X are defined, respectively, as

$$\displaystyle{\mathop{\overline{\mathrm{dim}}}\nolimits \,\mu (x) =\limsup _{r\rightarrow 0^{+}} \frac{\log \mu (B_{r}(x))} {\log r},\qquad \mathop{\underline{\mathrm{dim}}}\nolimits \,\mu (x) =\liminf _{r\rightarrow 0^{+}} \frac{\log \mu (B_{r}(x))} {\log r},}$$

where B r (x) denotes the ball of radius r centered at x. If for some d the upper and lower local dimensions of μ at x coincide and are equal to d for μ-almost every x, then we say that μ has local dimension d and write \(\dim \mu = d\). Such measures are also called exact-dimensional.

Estimating the Hausdorff dimension of a set, it is standard to use the following fact (see [14, 28]).

Lemma 3.2

If for some d > 0 we have \(\mathop{\underline{\mathrm{dim}}}\nolimits \,\mu (x) \geq d\) for μ-almost every x, then every Borel set of positive measure μ has Hausdorff dimension at least d. In particular, this holds if \(\dim \mu \geq d\) .

In [33], using Lemma 3.2 for the lift of the Lebesgue measure on [0, 1] to the graph of the function, Przytycki and Urbański proved the following.

Theorem 3.3

If \(f: I \rightarrow \mathbb{R}\) is Hölder continuous with exponent β ∈ (0,1) and satisfies the lower Hölder condition with exponent β, then

$$\displaystyle{\dim _{H}(\mathop{\mathrm{graph}}\nolimits f)> C> 1,}$$

where C depends only on β and constants c, \(\tilde{c}\) in Definition  2.1 .

This together with Proposition 2.3 and Theorem 2.4 implies that for every function \(f_{\lambda,b}^{\phi }\) of the form (1.1), if f λ, b ϕ is not piecewise C 1, then

$$\displaystyle{ \dim _{H}(\mathop{\mathrm{graph}}\nolimits f_{\lambda,b}^{\phi })> 1. }$$
(3.1)

Better estimates can be obtained for large b, even in the presence of phases, as shown by Mauldin and Williams [29].

Theorem 3.4

For every function \(f_{\lambda,b}^{\phi,\Theta }\) of the form (1.3) , there exists a constant B > 0 depending only on λ and ϕ, such that

$$\displaystyle{\dim _{H}(\mathop{\mathrm{graph}}\nolimits f_{\lambda,b}^{\phi,\Theta })> D -\frac{B} {\log b} }$$

for every sufficiently large b.

The result was obtained by using Lemma 3.2 for the lift of a measure supported on a suitable Cantor set in [0, 1] to the graph of the function.

The first example of a function of the form (1.1) with the graph of Hausdorff dimension equal to D was given by Ledrappier [25], who proved the following result, using the theory of invariant measures for non-uniformly hyperbolic smooth dynamical systems (Pesin theory) on manifolds [26].

Theorem 3.5

For \(\phi (x) =\mathop{ \mathrm{dist}}\nolimits (x, \mathbb{Z})\) (the sawtooth function ) and b = 2,

$$\displaystyle{\dim _{H}(\mathop{\mathrm{graph}}\nolimits f_{\lambda,2}^{\phi }) = D}$$

for Lebesgue almost all λ ∈ (1∕2,1).

In fact, the assertion holds provided the infinite Bernoulli convolution \(\sum _{n=0}^{\infty }\pm 1/(2\lambda )^{n}\), with ± chosen independently with probabilities \((1/2,1/2)\), has absolutely continuous distribution. As proved by Solomyak [39], the condition is fulfilled for almost all λ ∈ (1∕2, 1). By a recent result by Shmerkin [38], in fact it holds for all λ ∈ (1∕2, 1) except of a set of Hausdorff dimension 0.

In [40], Solomyak generalized the result from Theorem 3.5 to the case of some functions ϕ with discontinuous derivative (nonlinear sawtooth functions).

For the Weierstrass cosine function W λ, b , the conjecture that the Hausdorff dimension of its graph is equal to D was formulated by Mandelbrot [27] in 1977 (see also [7]) and then repeated in a number of subsequent papers. Recently, Bárány, Romanowska and the author [5] proved the following result, showing that the conjecture is true for every nonzero integer b and a large set of parameters λ.

Theorem 3.6

For every integer b > 1 there exist \(\lambda _{b},\tilde{\lambda }_{b} \in (1/b,1)\) , such that for every λ ∈ (λ b ,1) and Lebesgue almost every \(\lambda \in (\tilde{\lambda }_{b},1)\) , we have \(\dim \mu _{\lambda,b} = D\) , where μ λ,b is the lift of the Lebesgue measure on [0,1] to \(\mathop{\mathrm{graph}}\nolimits W_{\lambda,b}\) . In particular,

$$\displaystyle{\dim _{H}(\mathop{\mathrm{graph}}\nolimits W_{\lambda,b}) = D}$$

for every λ ∈ (λ b ,1) and almost every \(\lambda \in (\tilde{\lambda }_{b},1)\) . We have

$$\displaystyle{\begin{array}{lllll} \lambda _{2} <0.9352,&\quad \lambda _{3} <0.7269,&\quad \lambda _{4} <0.6083,&\quad \lambda _{b} <0.5448 &\quad \text{for every }b \geq 5, \\ \tilde{\lambda }_{2} <0.81, &\quad \tilde{\lambda }_{3} <0.55, &\quad \tilde{\lambda }_{4} <0.44, &\quad \tilde{\lambda }_{b} <1.04/\sqrt{b}&\quad \text{for every }b \geq 5 \end{array} }$$

and

$$\displaystyle{\lambda _{b} \rightarrow \frac{1} {\pi },\quad \tilde{\lambda }_{b}\sqrt{b} \rightarrow \frac{1} {\sqrt{\pi }}\quad \text{as}\quad b \rightarrow \infty.}$$

The proof uses the Ledrappier–Young theory from [26], Tsujii’s results [41] on the Sinai–Bowen–Ruelle (SBR) measure for some smooth Anosov endomorphisms of the cylinder and the Peres–Solomyak transversality methods developed under the study of infinite Bernoulli convolutions (see e.g. [31, 32, 40]).

4 Dimension of Graphs of Generic Functions

In mathematics there are a number of definitions of a generic (typical) property. A topologically generic set in a space X is a set containing an open and dense set in X, or a residual set (containing a countable intersection of open and dense sets in X). A measure-theoretic generic set in \(\mathbb{R}^{k}\) is a set of full Lebesgue measure. We use the following infinite-dimensional analogue of this property, which is called prevalence (see e.g. [30]).

Definition 4.1

A Borel set E in a real vector space V is prevalent, if there exists a finite set \(\{v_{1},\ldots,v_{k}\} \subset V\) (called the probe set), such that for every v ∈ V, one has \(v +\sum _{ j=1}^{k}t_{j}v_{j} \in E\) for Lebesgue almost every \((t_{1},\ldots,t_{k}) \in \mathbb{R}^{k}\). A non-Borel subset of V is prevalent, if it contains a Borel prevalent set.

The topological and measure-theoretical genericity need not coincide. In fact, a topologically typical (residual) continuous function on [0, 1] is nowhere differentiable (this follows from the Baire Theorem, see [1]) and has the graph of lower box dimension 1 (see [22]) and packing dimension 2 (see [19]), while a measure-theoretic typical (prevalent) continuous function on [0, 1] is nowhere differentiable (see [20]) and has the graph of Hausdorff dimension 2 (see [15]). In [12] (see also [36]), using the wavelet technique, it was proved that functions with graphs of Hausdorff dimension 2 −β are prevalent within the space of Hölder continuous functions on \(\mathbb{R}\) with given exponent β ∈ (0, 1).

In [5], Bárány, Romanowska and the author proved that for functions \(f_{\lambda,b}^{\phi }\) of the form (1.1) with integer b, the Hausdorff dimension of \(\mathop{\mathrm{graph}}\nolimits f_{\lambda,b}^{\phi }\) is equal to D both for topologically and measure-theoretic typical C 3 function ϕ. To formulate the result precisely, consider the space \(C^{r}(\mathbb{R}/\mathbb{Z})\), for \(r = 3,4,\ldots,\infty\), of \(\mathbb{Z}\)-periodic C r real functions on \(\mathbb{R}\), treated as functions on \(\mathbb{R}/\mathbb{Z}\). For b > 1 let

$$\displaystyle{\mathcal{F}_{b} =\{ (\lambda,\phi ) \in (1/b,1) \times C^{3}(\mathbb{R}/\mathbb{Z}):\dim \mu _{ \lambda,b}^{\phi } = D\},}$$

where \(\mu _{\lambda,b}^{\phi }\) is the lift of the Lebesgue measure on [0, 1] to \(\mathop{\mathrm{graph}}\nolimits f_{\lambda,b}^{\phi }\). Recall that

$$\displaystyle{\dim _{H}(\mathop{\mathrm{graph}}\nolimits f_{\lambda,b}^{\phi }) = D\qquad \text{for every }(\lambda,\phi ) \in \mathcal{F}_{ b}.}$$

For λ ∈ (1∕b, 1), let

$$\displaystyle{\mathcal{E}_{\lambda,b} =\{\phi \in C^{3}(\mathbb{R}/\mathbb{Z}): (\lambda,\phi ) \in \mathop{\mathrm{int}}\nolimits \mathcal{F}_{ b}\},}$$

where \(\mathop{\mathrm{int}}\nolimits\) denotes the interior with respect to the product of the Euclidean and C 3 topology in \((1/b,1) \times C^{3}(\mathbb{R}/\mathbb{Z})\). In [5], the following result was proved.

Theorem 4.2

For every integer b > 1 and λ ∈ (1∕b,1), the set \(\mathcal{E}_{\lambda,b}\) is prevalent as a subset of \(C^{3}(\mathbb{R}/\mathbb{Z})\) , with a probe set contained in \(C^{\infty }(\mathbb{R}/\mathbb{Z})\) . Consequently, for every r = 3,4,…,∞, the set \(\mathcal{E}_{\lambda,b}\) is an open and dense subset of \(C^{r}(\mathbb{R}/\mathbb{Z})\) , and the set \(\mathcal{F}_{b}\) contains an open and dense subset of \((1/b,1) \times C^{3}(\mathbb{R}/\mathbb{Z})\) .

Similarly as for Theorem 3.6, the proof is based on the Ledrappier–Young theory from [26] and a result by Tsujii [41] on the generic absolute continuity of the SBR measure for some smooth Anosov endomorphisms of the cylinder.

5 Randomization

It is a well-known fact that introducing some additional parameters or stochastics to a system can sometimes help to answer questions which could not be solved in a standard setup. In studying dimension of the graphs of functions of the form (1.3), a number of results were obtained by randomizing suitable parameters.

Concerning the box dimension, Heurteaux [17] proved the following.

Theorem 5.1

Let \(f_{\lambda,b}^{\phi,\Theta }\) be a function of the form (1.3) . If one considers the phases θ n as independent random variables with uniform distribution on [0,1], then almost surely, \(f_{\lambda,b}^{\phi,\Theta }\) satisfies the lower Hölder condition with exponent \(\alpha +\varepsilon\) , for arbitrarily small \(\varepsilon> 0\) (in particular it is nowhere differentiable). Moreover,

$$\displaystyle{\dim _{P}(\mathop{\mathrm{graph}}\nolimits f_{\lambda,b}^{\phi,\Theta }) =\dim _{ B}(\mathop{\mathrm{graph}}\nolimits f_{\lambda,b}^{\phi,\Theta }) = D\quad \text{almost surely}.}$$

An analogous result on the Hausdorff dimension can be obtained with stronger assumptions on the function ϕ, as proved by Hunt [21].

Theorem 5.2

Let \(f_{\lambda,b}^{\phi,\Theta }\) be a function of the form (1.3) , where ϕ is a C function with bounded set of orders of all its critical points. If one considers the phases θ n as independent random variables with uniform distribution on [0,1], then

$$\displaystyle{\dim _{H}(\mathop{\mathrm{graph}}\nolimits f_{\lambda,b}^{\phi,\Theta }) = D\quad \text{almost surely}.}$$

This includes the case, when ϕ is real-analytic, in particular (for ϕ(x) = cos (2πx)), when \(f_{\lambda,b}^{\phi,\Theta }\) is the Weierstrass cosine function with phases θ n .

Similar results of that kind were obtained by Romanowska [35], using randomization of the parameter λ.

6 Complex Extension of the Weierstrass Function

It is interesting to notice that if b is an integer, then the Weierstrass cosine function W λ, b is the real part of the lacunary (Hadamard gaps) complex power series

$$\displaystyle{w(z) =\sum _{ n=0}^{\infty }\lambda ^{n}z^{b^{n} },\qquad z \in \mathbb{C},\;\vert z\vert \leq 1}$$

on the unit circle { | z | = 1}. In particular, W λ, b has a harmonic extension to the unit disc. This approach was already used by Hardy [16] to prove the non-differentiability of W λ, b in this case. The study of the boundary behaviour of the holomorphic map w is itself an interesting question. Salem and Zygmund [37] and Kahane, Weiss and Weiss [23] proved that for given b, if λ is sufficiently close to 1, then the image of the unit circle under w is a Peano curve, i.e. it covers an open subset of the plane.

In [2], the author showed that in this case the box dimension of the graph of the function

$$\displaystyle{x\mapsto \left (\sum _{n=0}^{\infty }\lambda ^{n}\cos (2\pi b^{n}x),\;\sum _{ n=0}^{\infty }\lambda ^{n}\sin (2\pi b^{n}x)\right )}$$

(which is a subset of \(\mathbb{R}^{3}\)), is equal to 3 − 2α. Moreover, the author [3] (see also Belov [6]) showed that for given b, if λ is sufficiently close to 1, then the map w does not preserve (forwardly) Borel sets on the unit circle. The boundary behaviour of w from a topological point of view was studied by Dong, Lau and Liu [13] (Fig. 3).

Fig. 3
figure 3

The image of the unit circle under the map w

7 Other Sequences of Scalings

It is natural to study a generalization of functions of the forms (1.1) and (1.3), replacing λ n, b n by another sequences of scales λ n , b n , which are not exponential. More precisely, one can consider functions of the form

$$\displaystyle{ f(x) =\sum _{ n=0}^{\infty }\lambda _{ n}\phi (b_{n}x +\theta _{n}) }$$
(7.1)

for \(\lambda _{n},b_{n}> 0\), \(\sum _{n=0}^{\infty }\lambda _{n} <\infty\), b n+1 > b n , b n  →  and a non-constant, \(\mathbb{Z}\)-periodic, Lipschitz continuous, piecewise C 1 function \(\phi: \mathbb{R} \rightarrow \mathbb{R}\).

It turns out that the case of rapidly (faster than exponential) growing scales 1∕λ n , b n is easier to handle than the exponential one. In 1937, Besicovitch and Ursell [8] considered this case rather than the exponential one, and showed that for the sawtooth function \(\phi (x) =\mathop{ \mathrm{dist}}\nolimits (x, \mathbb{Z})\), if \(\lambda _{n} = b_{n}^{-\alpha }\) for some α ∈ (0, 1) and \(b_{n+1}/b_{n}\) tends to sufficiently slowly, then \(\dim _{H}(\mathop{\mathrm{graph}}\nolimits f) = 2-\alpha\). The Hausdorff, upper and lower box dimension of the graphs of functions of the general form (7.1) for rapidly growing scales 1∕λ n , b n was computed by Carvalho [10] and the author [4]. More precisely, the following result was proved in [4].

Theorem 7.1

For every function f of the form (7.1) , if \(\lambda _{n+1}/\lambda _{n} \rightarrow 0\) , \(b_{n+1}/b_{n} \rightarrow \infty\) as n →∞, then

$$\displaystyle\begin{array}{rcl} \dim _{H}(\mathop{\mathrm{graph}}\nolimits f) =\mathop{ \underline{\mathrm{dim}}}\nolimits _{B}(\mathop{\mathrm{graph}}\nolimits f)& =& 1 +\liminf _{n\rightarrow \infty } \frac{\log ^{+}d_{n}} {\log (b_{n+1}d_{n}/d_{n+1})}, {}\\ \mathop{\overline{\mathrm{dim}}}\nolimits _{B}(\mathop{\mathrm{graph}}\nolimits f)& =& 1 +\limsup _{n\rightarrow \infty }\frac{\log ^{+}d_{n}} {\log b_{n}}, {}\\ \end{array}$$

where \(\log ^{+} =\max (\log,0)\) and \(d_{n} =\lambda _{1}b_{1} + \cdots +\lambda _{n}b_{n}\) .

If additionally, \(\lambda _{n} = b_{n}^{-\alpha }\) for some α ∈ (0,1) and \(\log b_{n+1}/\log b_{n} \rightarrow 1\) , then

$$\displaystyle{\dim _{H}(\mathop{\mathrm{graph}}\nolimits f) =\dim _{P}(\mathop{\mathrm{graph}}\nolimits f) =\dim _{B}(\mathop{\mathrm{graph}}\nolimits f) = 2 -\alpha.}$$

In particular, this shows that in the case of rapidly growing scales, the dimensions need not coincide. In fact, in [4] it is shown that for every H, B ∈ [1, 2] with H ≤ B one can find a function f satisfying the assumptions of Theorem 7.1, such that

$$\displaystyle{\dim _{H}(\mathop{\mathrm{graph}}\nolimits f) =\mathop{ \underline{\mathrm{dim}}}\nolimits _{B}(\mathop{\mathrm{graph}}\nolimits f) = H,\qquad \mathop{\overline{\mathrm{dim}}}\nolimits _{B}(\mathop{\mathrm{graph}}\nolimits f) = B.}$$

The case when the scales 1∕λ n , b n grow slower than exponentially is much more difficult and almost nothing is known about the dimension of the graph of f. Some work was done for

$$\displaystyle{R(x) =\sum _{ n=1}^{\infty } \frac{1} {n^{2}}\sin (2\pi n^{2}x)}$$

(called the Riemann example) and similar functions. In particular, Chamizo [11] determined the box dimension of the graph of R to be equal to 5∕4.