Misplaced Pages

Hartley transform

Article snapshot taken from Wikipedia with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.
(Redirected from Cas (mathematics)) Integral transform closely related to the Fourier transform

In mathematics, the Hartley transform (HT) is an integral transform closely related to the Fourier transform (FT), 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 (as opposed to requiring complex numbers) and of being its own inverse.

The discrete version of the transform, the discrete Hartley transform (DHT), 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 (OFT), 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 f ( t ) {\displaystyle f(t)} is defined by:

H ( ω ) = { H f } ( ω ) = 1 2 π f ( t ) cas ( ω t ) d t , {\displaystyle H(\omega )=\left\{{\mathcal {H}}f\right\}(\omega )={\frac {1}{\sqrt {2\pi }}}\int _{-\infty }^{\infty }f(t)\operatorname {cas} (\omega t)\,\mathrm {d} t\,,}

where ω {\displaystyle \omega } can in applications be an angular frequency and

cas ( t ) = cos ( t ) + sin ( t ) = 2 sin ( t + π / 4 ) = 2 cos ( t π / 4 ) , {\displaystyle \operatorname {cas} (t)=\cos(t)+\sin(t)={\sqrt {2}}\sin(t+\pi /4)={\sqrt {2}}\cos(t-\pi /4)\,,}

is the cosine-and-sine (cas) or Hartley kernel. In engineering terms, this transform takes a signal (function) from the time-domain to the Hartley spectral domain (frequency domain).

Inverse transform

The Hartley transform has the convenient property of being its own inverse (an involution):

f = { H { H f } } . {\displaystyle f=\{{\mathcal {H}}\{{\mathcal {H}}f\}\}\,.}

Conventions

The above is in accord with Hartley's original definition, but (as with the Fourier transform) 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 1 / 2 π {\displaystyle {1}/{\sqrt {2\pi }}} from the forward transform and use 1 / 2 π {\displaystyle {1}/{2\pi }} for the inverse—or, indeed, any pair of normalizations whose product is 1 / 2 π {\displaystyle {1}/{2\pi }} . (Such asymmetrical normalizations are sometimes found in both purely mathematical and engineering contexts.)
  • One can also use 2 π ν t {\displaystyle 2\pi \nu t} instead of ω t {\displaystyle \omega t} (i.e., frequency instead of angular frequency), in which case the 1 / 2 π {\displaystyle {1}/{\sqrt {2\pi }}} coefficient is omitted entirely.
  • One can use cos sin {\displaystyle \cos -\sin } instead of cos + sin {\displaystyle \cos +\sin } as the kernel.

Relation to Fourier transform

This transform differs from the classic Fourier transform F ( ω ) = F { f ( t ) } ( ω ) {\displaystyle F(\omega )={\mathcal {F}}\{f(t)\}(\omega )} in the choice of the kernel. In the Fourier transform, we have the exponential kernel, exp ( i ω t ) = cos ( ω t ) i sin ( ω t ) {\displaystyle \exp \left({-\mathrm {i} \omega t}\right)=\cos(\omega t)-\mathrm {i} \sin(\omega t)} , where i {\displaystyle \mathrm {i} } is the imaginary unit.

The two transforms are closely related, however, and the Fourier transform (assuming it uses the same 1 / 2 π {\displaystyle 1/{\sqrt {2\pi }}} normalization convention) can be computed from the Hartley transform via:

F ( ω ) = H ( ω ) + H ( ω ) 2 i H ( ω ) H ( ω ) 2 . {\displaystyle F(\omega )={\frac {H(\omega )+H(-\omega )}{2}}-\mathrm {i} {\frac {H(\omega )-H(-\omega )}{2}}\,.}

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 ( t ) {\displaystyle f(t)} , the Hartley transform is given from the Fourier transform's real and imaginary parts:

{ H f } = { F f } { F f } = { F f ( 1 + i ) } , {\displaystyle \{{\mathcal {H}}f\}=\Re \{{\mathcal {F}}f\}-\Im \{{\mathcal {F}}f\}=\Re \{{\mathcal {F}}f\cdot (1+\mathrm {i} )\}\,,}

where {\displaystyle \Re } and {\displaystyle \Im } denote the real and imaginary parts.

Properties

The Hartley transform is a real linear operator, and is symmetric (and Hermitian). From the symmetric and self-inverse properties, it follows that the transform is a unitary operator (indeed, orthogonal).

Convolution using Hartley transforms is f ( x ) g ( x ) = F ( ω ) G ( ω ) + F ( ω ) G ( ω ) + F ( ω ) G ( ω ) F ( ω ) G ( ω ) 2 {\displaystyle f(x)*g(x)={\frac {F(\omega )G(\omega )+F(-\omega )G(\omega )+F(\omega )G(-\omega )-F(-\omega )G(-\omega )}{2}}} where F ( ω ) = { H f } ( ω ) {\displaystyle F(\omega )=\{{\mathcal {H}}f\}(\omega )} and G ( ω ) = { H g } ( ω ) {\displaystyle G(\omega )=\{{\mathcal {H}}g\}(\omega )}

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 (from cosine and sine) in 1942, follow directly from trigonometry, and its definition as a phase-shifted trigonometric function cas ( t ) = 2 sin ( t + π / 4 ) = sin ( t ) + cos ( t ) {\displaystyle \operatorname {cas} (t)={\sqrt {2}}\sin(t+\pi /4)=\sin(t)+\cos(t)} . For example, it has an angle-addition identity of:

2 cas ( a + b ) = cas ( a ) cas ( b ) + cas ( a ) cas ( b ) + cas ( a ) cas ( b ) cas ( a ) cas ( b ) . {\displaystyle 2\operatorname {cas} (a+b)=\operatorname {cas} (a)\operatorname {cas} (b)+\operatorname {cas} (-a)\operatorname {cas} (b)+\operatorname {cas} (a)\operatorname {cas} (-b)-\operatorname {cas} (-a)\operatorname {cas} (-b)\,.}

Additionally:

cas ( a + b ) = cos ( a ) cas ( b ) + sin ( a ) cas ( b ) = cos ( b ) cas ( a ) + sin ( b ) cas ( a ) , {\displaystyle \operatorname {cas} (a+b)={\cos(a)\operatorname {cas} (b)}+{\sin(a)\operatorname {cas} (-b)}=\cos(b)\operatorname {cas} (a)+\sin(b)\operatorname {cas} (-a)\,,}

and its derivative is given by:

cas ( a ) = d d a cas ( a ) = cos ( a ) sin ( a ) = cas ( a ) . {\displaystyle \operatorname {cas} '(a)={\frac {d}{da}}\operatorname {cas} (a)=\cos(a)-\sin(a)=\operatorname {cas} (-a)\,.}

See also

References

  1. ^ Hartley, Ralph V. L. (March 1942). "A More Symmetrical Fourier Analysis Applied to Transmission Problems". Proceedings of the IRE. 30 (3): 144–150. doi:10.1109/JRPROC.1942.234333. S2CID 51644127. Archived from the original on 2019-04-05. Retrieved 2017-10-31.
  2. Bracewell, Ronald N. (1983). "Discrete Hartley transform". Journal of the Optical Society of America. 73 (12): 1832–1835. doi:10.1364/JOSA.73.001832. S2CID 120611904.
  3. Villasenor, John D. (1994). "Optical Hartley transforms". Proceedings of the IEEE. 82 (3): 391–399. doi:10.1109/5.272144.
  4. Olejniczak (2010). "Hartley Transform". In Poularikas (ed.). Transforms and Applications Handbook (3rd ed.). CRC Press. Equation (4.54)
  5. Bracewell, Ronald N. (June 1999) . The Fourier Transform and Its Applications (3 ed.). McGraw-Hill. ISBN 978-0-07303938-1. (NB. Second edition also translated into Japanese and Polish.)

Further reading

Categories: