In mathematics, the Hartley transform is an integral transform closely related to the Fourier transform, but which transforms real-valued functions to real-valued functions. It was proposed as an alternative to the Fourier transform by Ralph V. L. Hartley in 1942, and is one of many known Fourier-related transforms. Compared to the Fourier transform, the Hartley transform has the advantages of transforming real functions to real functions and of being its own inverse. The discrete version of the transform, the discrete Hartley transform, was introduced by Ronald N. Bracewell in 1983. The two-dimensional Hartley transform can be computed by an analog optical process similar to an optical Fourier transform, with the proposed advantage that only its amplitude and sign need to be determined rather than its complex phase. However, optical Hartley transforms do not seem to have seen widespread use.
Definition
The Hartley transform of a function is defined by: where can in applications be an angular frequency and is the cosine-and-sine or Hartley kernel. In engineering terms, this transform takes a signal from the time-domain to the Hartley spectral domain.
Inverse transform
The Hartley transform has the convenient property of being its own inverse :
Conventions
The above is in accord with Hartley's original definition, but various minor details are matters of convention and can be changed without altering the essential properties:
Instead of using the same transform for forward and inverse, one can remove the from the forward transform and use for the inverse—or, indeed, any pair of normalizations whose product is.
One can also use instead of , in which case the coefficient is omitted entirely.
One can use instead of as the kernel.
Relation to Fourier transform
This transform differs from the classic Fourier transform in the choice of the kernel. In the Fourier transform, we have the exponential kernel: where is the imaginary unit. The two transforms are closely related, however, and the Fourier transform can be computed from the Hartley transform via: That is, the real and imaginary parts of the Fourier transform are simply given by the even and odd parts of the Hartley transform, respectively. Conversely, for real-valued functions f, the Hartley transform is given from the Fourier transform's real and imaginary parts: where and denote the real and imaginary parts of the complex Fourier transform.
Properties
The Hartley transform is a real linear operator, and is symmetric. From the symmetric and self-inverse properties, it follows that the transform is a unitary operator. There is also an analogue of the convolution theorem for the Hartley transform. If two functions and have Hartley transforms and, respectively, then their convolution has the Hartley transform: Similar to the Fourier transform, the Hartley transform of an even/odd function is even/odd, respectively.
cas
The properties of the Hartley kernel, for which Hartley introduced the name cas for the function in 1942, follow directly from trigonometry, and its definition as a phase-shifted trigonometric function. For example, it has an angle-addition identity of: Additionally: and its derivative is given by: