# Refinable function

In mathematics, in the area of wavelet analysis, a refinable function is a function which fulfils some kind of self-similarity. A function ${\displaystyle \varphi }$ is called refinable with respect to the mask ${\displaystyle h}$ if

${\displaystyle \varphi (x)=2\cdot \sum _{k=0}^{N-1}h_{k}\cdot \varphi (2\cdot x-k)}$

This condition is called refinement equation, dilation equation or two-scale equation.

Using the convolution (denoted by a star, *) of a function with a discrete mask and the dilation operator ${\displaystyle D}$ one can write more concisely:

${\displaystyle \varphi =2\cdot D_{1/2}(h*\varphi )}$

It means that one obtains the function, again, if you convolve the function with a discrete mask and then scale it back. There is a similarity to iterated function systems and de Rham curves.

The operator ${\displaystyle \varphi \mapsto 2\cdot D_{1/2}(h*\varphi )}$ is linear. A refinable function is an eigenfunction of that operator. Its absolute value is not uniquely defined. That is, if ${\displaystyle \varphi }$ is a refinable function, then for every ${\displaystyle c}$ the function ${\displaystyle c\cdot \varphi }$ is refinable, too.

These functions play a fundamental role in wavelet theory as scaling functions.

## Properties

### Values at integral points

A refinable function is defined only implicitly. It may also be that there are several functions which are refinable with respect to the same mask. If ${\displaystyle \varphi }$ shall have finite support and the function values at integer arguments are wanted, then the two scale equation becomes a system of simultaneous linear equations.

Let ${\displaystyle a}$ be the minimum index and ${\displaystyle b}$ be the maximum index of non-zero elements of ${\displaystyle h}$, then one obtains

${\displaystyle {\begin{pmatrix}\varphi (a)\\\varphi (a+1)\\\vdots \\\varphi (b)\end{pmatrix}}={\begin{pmatrix}h_{a}&&&&&\\h_{a+2}&h_{a+1}&h_{a}&&&\\h_{a+4}&h_{a+3}&h_{a+2}&h_{a+1}&h_{a}&\\\ddots &\ddots &\ddots &\ddots &\ddots &\ddots \\&h_{b}&h_{b-1}&h_{b-2}&h_{b-3}&h_{b-4}\\&&&h_{b}&h_{b-1}&h_{b-2}\\&&&&&h_{b}\end{pmatrix}}\cdot {\begin{pmatrix}\varphi (a)\\\varphi (a+1)\\\vdots \\\varphi (b)\end{pmatrix}}.}$

Using the discretization operator, call it ${\displaystyle Q}$ here, and the transfer matrix of ${\displaystyle h}$, named ${\displaystyle T_{h}}$, this can be written concisely as

${\displaystyle Q\varphi =T_{h}\cdot Q\varphi .\,}$

This is again a fixed-point equation. But this one can now be considered as an eigenvector-eigenvalue problem. That is, a finitely supported refinable function exists only (but not necessarily), if ${\displaystyle T_{h}}$ has the eigenvalue 1.

From the values at integral points you can derive the values at dyadic points, i.e. points of the form ${\displaystyle k\cdot 2^{-j}}$, with ${\displaystyle k\in \mathbb {Z} }$ and ${\displaystyle j\in \mathbb {N} }$.

${\displaystyle \varphi =D_{1/2}(2\cdot (h*\varphi ))}$
${\displaystyle D_{2}\varphi =2\cdot (h*\varphi )}$
${\displaystyle Q(D_{2}\varphi )=Q(2\cdot (h*\varphi ))=2\cdot (h*Q\varphi )}$

The star denotes the convolution of a discrete filter with a function. With this step you can compute the values at points of the form ${\displaystyle {\frac {k}{2}}}$. By replacing iteratedly ${\displaystyle \varphi }$ by ${\displaystyle D_{2}\varphi }$ you get the values at all finer scales.

${\displaystyle Q(D_{2^{j+1}}\varphi )=2\cdot (h*Q(D_{2^{j}}\varphi ))}$

### Convolution

If ${\displaystyle \varphi }$ is refinable with respect to ${\displaystyle h}$, and ${\displaystyle \psi }$ is refinable with respect to ${\displaystyle g}$, then ${\displaystyle \varphi *\psi }$ is refinable with respect to ${\displaystyle h*g}$.

### Differentiation

If ${\displaystyle \varphi }$ is refinable with respect to ${\displaystyle h}$, and the derivative ${\displaystyle \varphi '}$ exists, then ${\displaystyle \varphi '}$ is refinable with respect to ${\displaystyle 2\cdot h}$. This can be interpreted as a special case of the convolution property, where one of the convolution operands is a derivative of the Dirac impulse.

### Integration

If ${\displaystyle \varphi }$ is refinable with respect to ${\displaystyle h}$, and there is an antiderivative ${\displaystyle \Phi }$ with ${\displaystyle \Phi (t)=\int _{0}^{t}\varphi (\tau )\mathrm {d} \tau }$, then the antiderivative ${\displaystyle t\mapsto \Phi (t)+c}$ is refinable with respect to mask ${\displaystyle {\frac {1}{2}}\cdot h}$ where the constant ${\displaystyle c}$ must fulfill ${\displaystyle c\cdot (1-\sum _{j}h_{j})=\sum _{j}h_{j}\cdot \Phi (-j)}$.

If ${\displaystyle \varphi }$ has bounded support, then we can interpret integration as convolution with the Heaviside function and apply the convolution law.

### Scalar products

Computing the scalar products of two refinable functions and their translates can be broken down to the two above properties. Let ${\displaystyle T}$ be the translation operator. It holds

${\displaystyle \langle \varphi ,T_{k}\psi \rangle =\langle \varphi *\psi ^{*},T_{k}\delta \rangle =(\varphi *\psi ^{*})(k)}$

where ${\displaystyle \psi ^{*}}$ is the adjoint of ${\displaystyle \psi }$ with respect to convolution, i.e. ${\displaystyle \psi ^{*}}$ is the flipped and complex conjugated version of ${\displaystyle \psi }$, i.e. ${\displaystyle \psi ^{*}(t)={\overline {\psi (-t)}}}$.

Because of the above property, ${\displaystyle \varphi *\psi ^{*}}$ is refinable with respect to ${\displaystyle h*g^{*}}$, and its values at integral arguments can be computed as eigenvectors of the transfer matrix. This idea can be easily generalized to integrals of products of more than two refinable functions.[1]

### Smoothness

A refinable function usually has a fractal shape. The design of continuous or smooth refinable functions is not obvious. Before dealing with forcing smoothness it is necessary to measure smoothness of refinable functions. Using the Villemoes machine[2] one can compute the smoothness of refinable functions in terms of Sobolev exponents.

In a first step the refinement mask ${\displaystyle h}$ is divided into a filter ${\displaystyle b}$, which is a power of the smoothness factor ${\displaystyle (1,1)}$ (this is a binomial mask) and a rest ${\displaystyle q}$. Roughly spoken, the binomial mask ${\displaystyle b}$ makes smoothness and ${\displaystyle q}$ represents a fractal component, which reduces smoothness again. Now the Sobolev exponent is roughly the order of ${\displaystyle b}$ minus logarithm of the spectral radius of ${\displaystyle T_{q*q^{*}}}$.

## Generalization

The concept of refinable functions can be generalized to functions of more than one variable, that is functions from ${\displaystyle \mathbb {R} ^{d}\to \mathbb {R} }$. The most simple generalization is about tensor products. If ${\displaystyle \varphi }$ and ${\displaystyle \psi }$ are refinable with respect to ${\displaystyle h}$ and ${\displaystyle g}$, respectively, then ${\displaystyle \varphi \otimes \psi }$ is refinable with respect to ${\displaystyle h\otimes g}$.

The scheme can be generalized even more to different scaling factors with respect to different dimensions or even to mixing data between dimensions.[3] Instead of scaling by scalar factor like 2 the signal the coordinates are transformed by a matrix ${\displaystyle M}$ of integers. In order to let the scheme work, the absolute values of all eigenvalues of ${\displaystyle M}$ must be larger than one. (Maybe it also suffices that ${\displaystyle |\det M|>1}$.)

Formally the two-scale equation does not change very much:

${\displaystyle \varphi (x)=|\det M|\cdot \sum _{k\in \mathbb {Z} ^{d}}h_{k}\cdot \varphi (M\cdot x-k)}$
${\displaystyle \varphi =|\det M|\cdot D_{M^{-1}}(h*\varphi )}$

## Examples

• If the definition is extended to distributions, then the Dirac impulse is refinable with respect to the unit vector ${\displaystyle \delta }$, that is known as Kronecker delta. The ${\displaystyle n}$-th derivative of the Dirac distribution is refinable with respect to ${\displaystyle 2^{n}\cdot \delta }$.
• The Heaviside function is refinable with respect to ${\displaystyle {\frac {1}{2}}\cdot \delta }$.
• The truncated power functions with exponent ${\displaystyle n}$ are refinable with respect to ${\displaystyle {\frac {1}{2^{n+1}}}\cdot \delta }$.
• The triangular function is a refinable function.[4] B-spline functions with successive integral nodes are refinable, because of the convolution theorem and the refinability of the characteristic function for the interval ${\displaystyle [0,1)}$ (a boxcar function).
• All polynomial functions are refinable. For every refinement mask there is a polynomial that is uniquely defined up to a constant factor. For every polynomial of degree ${\displaystyle n}$ there are many refinement masks that all differ by a mask of type ${\displaystyle v*(1,-1)^{n+1}}$ for any mask ${\displaystyle v}$ and the convolutional power ${\displaystyle (1,-1)^{n+1}}$.[5]
• A rational function ${\displaystyle \varphi }$ is refinable if and only if it can be represented using partial fractions as ${\displaystyle \varphi (x)=\sum _{i\in \mathbb {Z} }{\frac {s_{i}}{(x-i)^{k}}}}$, where ${\displaystyle k}$ is a positive natural number and ${\displaystyle s}$ is a real sequence with finitely many non-zero elements (a Laurent polynomial) such that ${\displaystyle s|(s\uparrow 2)}$ (read: ${\displaystyle \exists h(z)\in \mathbb {R} [z,z^{-1}]\ h(z)\cdot s(z)=s(z^{2})}$). The Laurent polynomial ${\displaystyle 2^{k-1}\cdot h}$ is the associated refinement mask.[6]

## References

1. ^ Dahmen, Wolfgang; Micchelli, Charles A. (1993). "Using the refinement equation for evaluating integrals of wavelets". Journal Numerical Analysis. SIAM. 30: 507–537. doi:10.1137/0730024.
2. ^ Villemoes, Lars. "Sobolev regularity of wavelets and stability of iterated filter banks". Archived from the original (PostScript) on 2002-05-11. Retrieved 2006. Check date values in: |accessdate= (help)
3. ^ Berger, Marc A.; Wang, Yang (1992), "Multidimensional two-scale dilation equations (chapter IV)", in Chui, Charles K. (ed.), Wavelet Analysis and its Applications, 2, Academic Press, Inc., pp. 295–323 Missing or empty |title= (help)
4. ^ Nathanael, Berglund. "Reconstructing Refinable Functions". Archived from the original on 2009-04-04. Retrieved 2010-12-24.
5. ^ Thielemann, Henning (2012-01-29). "How to refine polynomial functions". arXiv:1012.2453.
6. ^ Gustafson, Paul; Savir, Nathan; Spears, Ely (2006-11-14), "A Characterization of Refinable Rational Functions" (PDF), American Journal of Undergraduate Research, 5 (3): 11–20