Hilbert transform


In mathematics and signal processing, the Hilbert transform is a specific singular integral that takes a function, of a real variable and produces another function of a real variable. The Hilbert transform is given by the Cauchy principal value of the convolution with the function . The Hilbert transform has a particularly simple representation in the frequency domain: It imparts a phase shift of ±90° to every frequency component of a function, the sign of the shift depending on the sign of the frequency. The Hilbert transform is important in signal processing, where it is a component of the analytic representation of a real-valued signal. The Hilbert transform was first introduced by David Hilbert in this setting, to solve a special case of the Riemann–Hilbert problem for analytic functions.

Definition

The Hilbert transform of can be thought of as the convolution of with the function, known as the Cauchy kernel. Because 1/ is not integrable across, the integral defining the convolution does not always converge. Instead, the Hilbert transform is defined using the Cauchy principal value. Explicitly, the Hilbert transform of a function is given by
provided this integral exists as a principal value. This is precisely the convolution of with the distributions and Fourier transform|tempered distribution]. Alternatively, by changing variables, the principal-value integral can be written explicitly as
When the Hilbert transform is applied twice in succession to a function, the result is
provided the integrals defining both iterations converge in a suitable sense. In particular, the inverse transform is
. This fact can most easily be seen by considering the effect of the Hilbert transform on the Fourier transform of .
For an analytic function in the upper half-plane, the Hilbert transform describes the relationship between the real part and the imaginary part of the boundary values. That is, if is analytic in the upper half complex plane, and, then up to an additive constant, provided this Hilbert transform exists.

Notation

In signal processing the Hilbert transform of is commonly denoted by. However, in mathematics, this notation is already extensively used to denote the Fourier transform of. Occasionally, the Hilbert transform may be denoted by. Furthermore, many sources define the Hilbert transform as the negative of the one defined here.

History

The Hilbert transform arose in Hilbert's 1905 work on a problem Riemann posed concerning analytic functions, which has come to be known as the Riemann–Hilbert problem. Hilbert's work was mainly concerned with the Hilbert transform for functions defined on the circle. Some of his earlier work related to the Discrete Hilbert Transform dates back to lectures he gave in Göttingen. The results were later published by Hermann Weyl in his dissertation. Schur improved Hilbert's results about the discrete Hilbert transform and extended them to the integral case. These results were restricted to the spaces and . In 1928, Marcel Riesz proved that the Hilbert transform can be defined for u in for, that the Hilbert transform is a bounded operator on for, and that similar results hold for the Hilbert transform on the circle as well as the discrete Hilbert transform. The Hilbert transform was a motivating example for Antoni Zygmund and Alberto Calderón during their study of singular integrals. Their investigations have played a fundamental role in modern harmonic analysis. Various generalizations of the Hilbert transform, such as the bilinear and trilinear Hilbert transforms are still active areas of research today.

Relationship with the Fourier transform

The Hilbert transform is a multiplier operator. The multiplier of is, where is the signum function. Therefore:
where denotes the Fourier transform. Since, it follows that this result applies to the three common definitions of.
By Euler's formula,
Therefore, has the effect of shifting the phase of the negative frequency components of by +90° and the phase of the positive frequency components by −90°, and has the effect of restoring the positive frequency components while shifting the negative frequency ones an additional +90°, resulting in their negation.
When the Hilbert transform is applied twice, the phase of the negative and positive frequency components of are respectively shifted by +180° and −180°, which are equivalent amounts. The signal is negated; i.e.,, because

Table of selected Hilbert transforms

In the following table, the frequency parameter is real.
Signal
Hilbert transform

Sinc function
Dirac delta function
Characteristic function

Notes
An extensive table of Hilbert transforms is available.
Note that the Hilbert transform of a constant is zero.

Domain of definition

It is by no means obvious that the Hilbert transform is well-defined at all, as the improper integral defining it must converge in a suitable sense. However, the Hilbert transform is well-defined for a broad class of functions, namely those in for.
More precisely, if is in for, then the limit defining the improper integral
exists for almost every. The limit function is also in and is in fact the limit in the mean of the improper integral as well. That is,
as in the norm, as well as pointwise almost everywhere, by the Titchmarsh theorem.
In the case, the Hilbert transform still converges pointwise almost everywhere, but may itself fail to be integrable, even locally. In particular, convergence in the mean does not in general happen in this case. The Hilbert transform of an function does converge, however, in -weak, and the Hilbert transform is a bounded operator from to.

Properties

Boundedness

If, then the Hilbert transform on is a bounded linear operator, meaning that there exists a constant such that
for all
The best constant is given by
An easy way to find the best for being a power of 2 is through the so-called Cotlar's identity that for all real valued. The same best constants hold for the periodic Hilbert transform.
The boundedness of the Hilbert transform implies the convergence of the symmetric partial sum operator
to in

Anti-self adjointness

The Hilbert transform is an anti-self adjoint operator relative to the duality pairing between and the dual space where and are Hölder conjugates and. Symbolically,
for and

Inverse transform

The Hilbert transform is an anti-involution, meaning that
provided each transform is well-defined. Since preserves the space this implies in particular that the Hilbert transform is invertible on and that

Complex structure

Because on the real Banach space of real-valued functions in the Hilbert transform defines a linear complex structure on this Banach space. In particular, when, the Hilbert transform gives the Hilbert space of real-valued functions in the structure of a complex Hilbert space.
The eigenstates of the Hilbert transform admit representations as holomorphic functions in the upper and lower half-planes in the Hardy space [H square|] by the Paley–Wiener theorem.

Differentiation

Formally, the derivative of the Hilbert transform is the Hilbert transform of the derivative, i.e. these two linear operators commute:
Iterating this identity,
This is rigorously true as stated provided and its first derivatives belong to One can check this easily in the frequency domain, where differentiation becomes multiplication by.

Convolutions

The Hilbert transform can formally be realized as a convolution with the tempered distribution
Thus formally,
However, a priori this may only be defined for a distribution of compact support. It is possible to work somewhat rigorously with this since compactly supported functions are dense in. Alternatively, one may use the fact that h is the distributional derivative of the function ; to wit
For most operational purposes the Hilbert transform can be treated as a convolution. For example, in a formal sense, the Hilbert transform of a convolution is the convolution of the Hilbert transform applied on only one of either of the factors:
This is rigorously true if and are compactly supported distributions since, in that case,
By passing to an appropriate limit, it is thus also true if and provided that
from a theorem due to Titchmarsh.

Invariance

The Hilbert transform has the following invariance properties on.
  • It commutes with translations. That is, it commutes with the operators for all in
  • It commutes with positive dilations. That is it commutes with the operators for all.
  • It anticommutes with the reflection.
Up to a multiplicative constant, the Hilbert transform is the only bounded operator on 2 with these properties.
In fact there is a wider set of operators that commute with the Hilbert transform. The group acts by unitary operators on the space by the formula
This unitary representation is an example of a principal series representation of In this case it is reducible, splitting as the orthogonal sum of two invariant subspaces, Hardy space and its conjugate. These are the spaces of boundary values of holomorphic functions on the upper and lower halfplanes. and its conjugate consist of exactly those functions with Fourier transforms vanishing on the negative and positive parts of the real axis respectively. Since the Hilbert transform is equal to, with being the orthogonal projection from onto and the identity operator, it follows that and its orthogonal complement are eigenspaces of for the eigenvalues. In other words, commutes with the operators. The restrictions of the operators to and its conjugate give irreducible representations of – the so-called limit of discrete series representations.

Extending the domain of definition

Hilbert transform of distributions

It is further possible to extend the Hilbert transform to certain spaces of distributions. Since the Hilbert transform commutes with differentiation, and is a bounded operator on, restricts to give a continuous transform on the inverse limit of Sobolev spaces:
The Hilbert transform can then be defined on the dual space of, denoted, consisting of distributions. This is accomplished by the duality pairing:

For define:
It is possible to define the Hilbert transform on the space of tempered distributions as well by an approach due to Gel'fand and Shilov, but considerably more care is needed because of the singularity in the integral.

Hilbert transform of bounded functions

The Hilbert transform can be defined for functions in as well, but it requires some modifications and caveats. Properly understood, the Hilbert transform maps to the Banach space of bounded mean oscillation classes.
Interpreted naïvely, the Hilbert transform of a bounded function is clearly ill-defined. For instance, with, the integral defining diverges almost everywhere to. To alleviate such difficulties, the Hilbert transform of an function is therefore defined by the following regularized form of the integral
where as above and
The modified transform agrees with the original transform up to an additive constant on functions of compact support from a general result by Calderón and Zygmund. Furthermore, the resulting integral converges pointwise almost everywhere, and with respect to the BMO norm, to a function of bounded mean oscillation.
A deep result of Fefferman's work is that a function is of bounded mean oscillation if and only if it has the form for some

Conjugate functions

The Hilbert transform can be understood in terms of a pair of functions and such that the function
is the boundary value of a holomorphic function in the upper half-plane. Under these circumstances, if and are sufficiently integrable, then one is the Hilbert transform of the other.
Suppose that Then, by the theory of the Poisson integral, admits a unique harmonic extension into the upper half-plane, and this extension is given by
which is the convolution of with the Poisson kernel
Furthermore, there is a unique harmonic function defined in the upper half-plane such that is holomorphic and
This harmonic function is obtained from by taking a convolution with the conjugate Poisson kernel
Thus
Indeed, the real and imaginary parts of the Cauchy kernel are
so that is holomorphic by Cauchy's integral formula.
The function obtained from in this way is called the harmonic conjugate of. The boundary limit of as is the Hilbert transform of. Thus, succinctly,

Titchmarsh's theorem

Titchmarsh's theorem makes precise the relationship between the boundary values of holomorphic functions in the upper half-plane and the Hilbert transform. It gives necessary and sufficient conditions for a complex-valued square-integrable function on the real line to be the boundary value of a function in the Hardy space of holomorphic functions in the upper half-plane.
The theorem states that the following conditions for a complex-valued square-integrable function are equivalent:
A weaker result is true for functions of class for. Specifically, if is a holomorphic function such that
for all, then there is a complex-valued function in such that in the norm as . Furthermore,
where is a real-valued function in and is the Hilbert transform of.
This is not true in the case. In fact, the Hilbert transform of an function need not converge in the mean to another function. Nevertheless, the Hilbert transform of does converge almost everywhere to a finite function such that
This result is directly analogous to one by Andrey Kolmogorov for Hardy functions in the disc. Although usually called Titchmarsh's theorem, the result aggregates much work of others, including Hardy, Paley and Wiener, as well as work by Riesz, Hille, and Tamarkin

Riemann–Hilbert problem

One form of the Riemann–Hilbert problem seeks to identify pairs of functions and such that is holomorphic on the upper half-plane and is holomorphic on the lower half-plane, such that for along the real axis,
where is some given real-valued function of The left-hand side of this equation may be understood either as the difference of the limits of from the appropriate half-planes, or as a hyperfunction distribution. Two functions of this form are a solution of the Riemann–Hilbert problem.
Formally, if solve the Riemann–Hilbert problem
then the Hilbert transform of is given by

Hilbert transform on the circle

For a periodic function the circular Hilbert transform is defined:
The circular Hilbert transform is used in giving a characterization of Hardy space and in the study of the [|conjugate function] in Fourier series. The kernel,
is known as the Hilbert kernel since it was in this form the Hilbert transform was originally studied.
The Hilbert kernel can be obtained by making the Cauchy kernel periodic. More precisely, for
Many results about the circular Hilbert transform may be derived from the corresponding results for the Hilbert transform from this correspondence.
Another more direct connection is provided by the Cayley transform, which carries the real line onto the circle and the upper half plane onto the unit disk. It induces a unitary map
of onto The operator carries the Hardy space onto the Hardy space.

Hilbert transform in signal processing

Bedrosian's theorem

Bedrosian's theorem states that the Hilbert transform of the product of a low-pass and a high-pass signal with non-overlapping spectra is given by the product of the low-pass signal and the Hilbert transform of the high-pass signal, or
where and are the low- and high-pass signals respectively. A category of communication signals to which this applies is called the narrowband signal model. A member of that category is amplitude modulation of a high-frequency sinusoidal "carrier":
where is the narrow bandwidth "message" waveform, such as voice or music. Then by Bedrosian's theorem:

Analytic representation

A specific type of conjugate function is:
known as the analytic representation of The name reflects its mathematical tractability, due largely to Euler's formula. Applying Bedrosian's theorem to the narrowband model, the analytic representation is:
A Fourier transform property indicates that this complex heterodyne operation can shift all the negative frequency components of above 0 Hz. In that case, the imaginary part of the result is a Hilbert transform of the real part. This is an indirect way to produce Hilbert transforms.

Angle (phase/frequency) modulation

The form:
is called angle modulation, which includes both phase modulation and frequency modulation. The instantaneous frequency is For sufficiently large, compared to
and:

Single sideband modulation (SSB)

When in is also an analytic representation, that is:
the result is single-sideband modulation:
whose transmitted component is:

Causality

The function presents two causality-based challenges to practical implementation in a convolution :
  • Its duration is infinite. Finite-length windowing reduces the effective frequency range of the transform; shorter windows result in greater losses at low and high frequencies. See also quadrature filter.
  • It is a non-causal filter. So a delayed version, is required. The corresponding output is subsequently delayed by When creating the imaginary part of an analytic signal, the source must also be delayed by.

Discrete Hilbert transform

For a discrete function, with discrete-time Fourier transform,, and discrete Hilbert transform the DTFT of in the region is given by:
The inverse DTFT, using the convolution theorem, is:
where
which is an infinite impulse response.
Practical considerations
Method 1: Direct convolution of streaming data with an FIR approximation of which we will designate by Examples of truncated are shown in figures 1 and 2. Fig 1 has an odd number of anti-symmetric coefficients and is called Type III. This type inherently exhibits responses of zero magnitude at frequencies 0 and Nyquist, resulting in a bandpass filter shape. A Type IV design is shown in Fig 2. It has a highpass frequency response. Type III is the usual choice. for these reasons:
  • A typical sequence has no useful components at the Nyquist frequency.
  • The Type IV impulse response requires a sample shift in the sequence. That causes the zero-valued coefficients to become non-zero, as seen in Figure 2. So a Type III design is potentially twice as efficient as Type IV.
  • The group delay of a Type III design is an integer number of samples, which facilitates aligning with to create an analytic signal. The group delay of Type IV is halfway between two samples.
The abrupt truncation of creates a rippling of the flat frequency response. That can be mitigated by use of a window function to taper to zero.
Method 2: Piecewise convolution. It is well known that direct convolution is computationally much more intensive than methods like overlap-save that give access to the efficiencies of the Fast Fourier transform via the convolution theorem. Specifically, the discrete Fourier transform of a segment of is multiplied pointwise with a DFT of the sequence. An inverse DFT is done on the product, and the transient artifacts at the leading and trailing edges of the segment are discarded. Over-lapping input segments prevent gaps in the output stream. An equivalent time domain description is that segments of length are convolved with the periodic function:
When the duration of non-zero values of is the output sequence includes samples of outputs are discarded from each block of and the input blocks are overlapped by that amount to prevent gaps.
Method 3: Same as method 2, except the DFT of is replaced by samples of the distribution That convolves with a periodic summation:
for some arbitrary parameter, is not an FIR, so the edge effects extend throughout the entire transform. Deciding what to delete and the corresponding amount of overlap is an application-dependent design issue.
Fig 3 depicts the difference between methods 2 and 3. Only half of the antisymmetric impulse response is shown, and only the non-zero coefficients. The blue graph corresponds to method 2 where is truncated by a rectangular window function, rather than tapered. It is generated by a Matlab function, hilb. Its transient effects are exactly known and readily discarded. The frequency response, which is determined by the function argument, is the only application-dependent design issue.
The red graph is corresponding to method 3. It is the inverse DFT of the distribution. Specifically, it is the function that is convolved with a segment of by the MATLAB function, hilbert. The real part of the output sequence is the original input sequence, so that the complex output is an analytic representation of
When the input is a segment of a pure cosine, the resulting convolution for two different values of is depicted in Fig 4. Edge effects prevent the result from being a pure sine function. Since is not an FIR sequence, the theoretical extent of the effects is the entire output sequence. But the differences from a sine function diminish with distance from the edges. Parameter is the output sequence length. If it exceeds the length of the input sequence, the input is modified by appending zero-valued elements. In most cases, that reduces the magnitude of the edge distortions. But their duration is dominated by the inherent rise and fall times of the impulse response.
Fig 5 is an example of piecewise convolution, using both methods 2 and 3. A sine function is created by computing the Discrete Hilbert transform of a cosine function, which was processed in four overlapping segments, and pieced back together. As the FIR result shows, the distortions apparent in the IIR result are not caused by the difference between and . The fact that is tapered is actually helpful in this context. The real problem is that it's not windowed enough. Effectively, whereas the overlap-save method needs

Number-theoretic Hilbert transform

The number theoretic Hilbert transform is an extension of the discrete Hilbert transform to integers modulo an appropriate prime number. In this it follows the generalization of discrete Fourier transform to number theoretic transforms. The number theoretic Hilbert transform can be used to generate sets of orthogonal discrete sequences.