Hartley transform: Difference between revisions

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search
imported>Citation bot
Added bibcode. | Use this bot. Report bugs. | Suggested by Dominic3203 | Category:Fourier analysis | #UCB_Category 2/126
 
math typesetting; minor text edit
 
Line 36: Line 36:
==Relation to Fourier transform==
==Relation to Fourier transform==
This transform differs from the classic Fourier transform  
This transform differs from the classic Fourier transform  
<math>F(\omega) = \mathcal{F} \{ f(t) \}(\omega)</math> in the choice of the kernel. In the Fourier transform, we have the exponential kernel,
<math>\ F(\omega) \equiv \mathcal{F}\ \bigl\{\ f(t)\ \bigr\}(\omega)\ </math> in the choice of the kernel; in the classic Fourier transform, we have the exponential kernel,
{{nowrap|1=<math>\exp\left({-\mathrm{i}\omega t}\right) = \cos(\omega t) - \mathrm{i} \sin(\omega t)</math>,}}
<math>\ \exp\left( {-\mathrm{i}\ \omega t}\right) = \cos(\omega t) - \mathrm{i}\ \sin(\omega t)\ ,</math>
where <math>\mathrm{i}</math> is the [[imaginary unit]].
where <math>\ \mathrm{i}\ </math> is the [[imaginary unit]].


The two transforms are closely related, however, and the Fourier transform (assuming it uses the same <math>1/\sqrt{2\pi}</math> normalization convention) can be computed from the Hartley transform via:
However, the two transforms are closely related and assuming both use the same <math>\ \tfrac{ 1 }{\ \sqrt{2\pi\ }\ }\ </math> normalization convention – the Fourier transform can be computed from the Hartley transform via:


<math display=block>F(\omega) = \frac{H(\omega) + H(-\omega)}{2} - \mathrm{i} \frac{H(\omega) - H(-\omega)}{2}\,.</math>
<math display=block> F(\omega) = \tfrac{ 1 }{ 2 } \bigl[\ H(\omega) + H(-\omega)\ \bigr] - \mathrm{i}\ \tfrac{ 1 }{ 2 } \bigl[\ H(\omega) - H(-\omega)\ \bigr] ~.</math>


That is, the real and imaginary parts of the Fourier transform are simply given by the [[even and odd functions|even and odd]] parts of the Hartley transform, respectively.
That is, the real and imaginary parts of the Fourier transform are simply given by the [[even and odd functions|even and odd]] parts of the Hartley transform, respectively.


Conversely, for real-valued functions {{nowrap|1=<math>f(t)</math>,}} the Hartley transform is given from the Fourier transform's real and imaginary parts:
Conversely, for real-valued functions <math>\ f(t)\ ,</math> the Hartley transform is given from the Fourier transform's real and imaginary parts:


<math display=block>\{ \mathcal{H} f \} = \Re \{ \mathcal{F}f \} - \Im \{ \mathcal{F}f \} = \Re \{ \mathcal{F}f \cdot (1+\mathrm{i}) \}\,,</math>
<math display=block> \operatorname\mathcal{H} \bigl\{\ f\ \bigr\} = \operatorname\mathcal{R_e} \bigl\{\ \mathcal{F}\ f\ \bigr\}\ -\ \operatorname\mathcal{I_m} \bigl\{\ \mathcal{F}\ f\ \bigr\} = \mathcal{R_e} \Bigl\{\ \operatorname\mathcal{F}\ \bigl[ f \cdot \left( 1 + \mathrm{i} \right) \bigr]\ \Bigr\}\ ,</math>


where <math>\Re</math> and <math>\Im</math> denote the real and imaginary parts.
where <math>\ \mathcal{R_e}\ </math> and <math>\ \mathcal{I_m}\ </math> denote the real and imaginary parts.


== Properties ==
== Properties ==

Latest revision as of 00:07, 18 June 2025

Template:Short description 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,[1] 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.[2]

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.[3] However, optical Hartley transforms do not seem to have seen widespread use.

Definition

The Hartley transform of a function f(t) is defined by:

H(ω)={f}(ω)=12πf(t)cas(ωt)dt,

where ω can in applications be an angular frequency and

cas(t)=cos(t)+sin(t)=2sin(t+π/4)=2cos(tπ/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={{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π from the forward transform and use 1/2π for the inverse—or, indeed, any pair of normalizations whose product is 1/2π. (Such asymmetrical normalizations are sometimes found in both purely mathematical and engineering contexts.)
  • One can also use 2πνt instead of ωt (i.e., frequency instead of angular frequency), in which case the 1/2π coefficient is omitted entirely.
  • One can use cossin instead of cos+sin as the kernel.

Relation to Fourier transform

This transform differs from the classic Fourier transform  F(ω) { f(t) }(ω)  in the choice of the kernel; in the classic Fourier transform, we have the exponential kernel,  exp(i ωt)=cos(ωt)i sin(ωt) , where  i  is the imaginary unit.

However, the two transforms are closely related and – assuming both use the same  1 2π    normalization convention – the Fourier transform can be computed from the Hartley transform via:

F(ω)=12[ H(ω)+H(ω) ]i 12[ H(ω)H(ω) ].

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) , the Hartley transform is given from the Fourier transform's real and imaginary parts:

{ f }=R{  f }  I𝓂{  f }=R{  [f(1+i)] } ,

where  R  and  I𝓂  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[4] f(x)*g(x)=F(ω)G(ω)+F(ω)G(ω)+F(ω)G(ω)F(ω)G(ω)2 where F(ω)={f}(ω) and G(ω)={g}(ω)

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,[1][5] follow directly from trigonometry, and its definition as a phase-shifted trigonometric function cas(t)=2sin(t+π/4)=sin(t)+cos(t). For example, it has an angle-addition identity of:

2cas(a+b)=cas(a)cas(b)+cas(a)cas(b)+cas(a)cas(b)cas(a)cas(b).

Additionally:

cas(a+b)=cos(a)cas(b)+sin(a)cas(b)=cos(b)cas(a)+sin(b)cas(a),

and its derivative is given by:

cas(a)=ddacas(a)=cos(a)sin(a)=cas(a).

See also

References

Template:Reflist

  • Script error: No such module "citation/CS1". (NB. Also translated into German and Russian.)
  • Script error: No such module "Citation/CS1".
  • Script error: No such module "Citation/CS1".

Further reading

  • Script error: No such module "citation/CS1". (NB. Contains extensive bibliography.)
  1. a b Cite error: Invalid <ref> tag; no text was provided for refs named Hartley_1942
  2. Cite error: Invalid <ref> tag; no text was provided for refs named Bracewell_1983
  3. Cite error: Invalid <ref> tag; no text was provided for refs named Villasenor_1994
  4. Script error: No such module "citation/CS1". Equation (4.54)
  5. Cite error: Invalid <ref> tag; no text was provided for refs named Bracewell_1999