Sine and cosine transforms

Short description: Variant Fourier transforms

In mathematics, the Fourier sine and cosine transforms are forms of the Fourier transform that do not use complex numbers or require negative frequency. They are the forms originally used by Joseph Fourier and are still preferred in some applications, such as signal processing or statistics.[1]

## Contents

* 1 Definition
* 1.1 Simplification to avoid negative t
* 1.2 Other conventions
* 2 Fourier inversion
* 3 Relation with complex exponentials
* 4 Numerical evaluation
* 5 See also
* 6 References

## Definition

The Fourier sine transform of f(t), sometimes denoted by either [math]\displaystyle{ {\hat f}^s }[/math] or [math]\displaystyle{ {\mathcal F}_s (f) }[/math], is [math]\displaystyle{ {\hat f}^s(\xi) = \int_{-\infty}^\infty f(t)\sin(2\pi \xi t) \,dt. }[/math]

If t means time, then ξ is frequency in cycles per unit time, but in the abstract, they can be any pair of variables which are dual to each other.

This transform is necessarily an odd function of frequency, i.e. for all ξ: [math]\displaystyle{ {\hat f}^s(-\xi) = - {\hat f}^s(\xi). }[/math]

The numerical factors in the Fourier transforms are defined uniquely only by their product. Here, in order that the Fourier inversion formula not have any numerical factor, the factor of 2 appears because the sine function has L2 norm of [math]\displaystyle{ \tfrac{1}{\sqrt2}. }[/math]

The Fourier cosine transform of f(t), sometimes denoted by either [math]\displaystyle{ {\hat f}^c }[/math] or [math]\displaystyle{ {\mathcal F}_c (f) }[/math], is [math]\displaystyle{ {\hat f}^c(\xi) = \int_{-\infty}^\infty f(t)\cos(2\pi \xi t) \,dt. }[/math]

It is necessarily an even function of frequency, i.e. for all ξ: [math]\displaystyle{ {\hat f}^c(\xi) = {\hat f}^c(-\xi). }[/math]Since positive frequencies can fully express the transform, the non-trivial concept of negative frequency needed in the regular Fourier transform can be avoided.

### Simplification to avoid negative t

Some authors[2] only define the cosine transform for even functions of t, in which case its sine transform is zero. Since cosine is also even, a simpler formula can be used, [math]\displaystyle{ {\hat f}^c(\xi)=2 \int_0^\infty f(t)\cos(2\pi \xi t) \,dt. }[/math]

Similarly, if f is an odd function, then the cosine transform is zero and the sine transform can be simplified to [math]\displaystyle{ {\hat f}^s(\xi) =2\int_0^\infty f(t)\sin(2\pi \xi t) \,dt. }[/math]

### Other conventions

Just like the Fourier transform takes the form of different equations with different constant factors (see Fourier transform § Other conventions), other authors also define the cosine transform as[3] [math]\displaystyle{ {\hat f}^c(\xi)=\sqrt{\frac{2}{\pi}} \int_0^\infty f(t)\cos(2\pi \xi t) \,dt. }[/math] and sine as [math]\displaystyle{ {\hat f}^s(\xi) =\sqrt{\frac{2}{\pi}} \int_0^\infty f(t)\sin(2\pi \xi t) \,dt, }[/math] or, the cosine transform as[4] [math]\displaystyle{ F_c(\alpha) = \frac{2}{\pi} \int_0^\infty f(x) \cos(\alpha x) \, dx }[/math] and the sine transform as [math]\displaystyle{ F_s(\alpha) = \frac{2}{\pi} \int_0^\infty f(x) \sin(\alpha x) \, dx }[/math] using [math]\displaystyle{ \alpha }[/math] as the transformation variable. And while t is typically used to represent the time domain, x is often used alternatively, particularly when representing frequencies in a spatial domain.

## Fourier inversion

The original function f can be recovered from its transform under the usual hypotheses, that f and both of its transforms should be absolutely integrable. For more details on the different hypotheses, see Fourier inversion theorem.

The inversion formula is[5] [math]\displaystyle{ f(t) = \int _{-\infty}^\infty {\hat f}^c(\xi) \cos (2\pi \xi t) \,d\xi + \int _{-\infty}^\infty {\hat f}^s(\xi) \sin (2\pi \xi t) \,d\xi, }[/math]

which has the advantage that all quantities are real. Using the addition formula for cosine, this can be rewritten as [math]\displaystyle{ f(t) = \int _{-\infty}^\infty \int_{-\infty}^\infty f(\tau) \cos (2\pi\xi (\tau-t) ) \,d\tau\,d\xi. }[/math]

If the original function f is an even function, then the sine transform is zero; if f is an odd function, then the cosine transform is zero. In either case, the inversion formula simplifies.

## Relation with complex exponentials

The form of the Fourier transform used more often today is [math]\displaystyle{ \begin{align} \hat{f}(\xi) &= \int_{-\infty}^\infty f(t) e^{-2\pi i\xi t}\,dt \\\ &= \int_{-\infty}^\infty f(t) \left(\cos (2\pi\xi t) - i\,\sin (2\pi\xi t)\right) dt && \text{Euler's Formula} \\\ &= \left (\int_{-\infty}^\infty f(t)\cos(2\pi \xi t) \,dt \right ) - i \left (\int_{-\infty}^\infty f(t)\sin(2\pi \xi t) \,dt \right ) \\\ &= {\hat f}^c (\xi) - i {\hat f}^s (\xi) \end{align} }[/math]

## Numerical evaluation

Using standard methods of numerical evaluation for Fourier integrals, such as Gaussian or tanh-sinh quadrature, is likely to lead to completely incorrect results, as the quadrature sum is (for most integrands of interest) highly ill-conditioned. Special numerical methods which exploit the structure of the oscillation are required, an example of which is Ooura's method for Fourier integrals[6] This method attempts to evaluate the integrand at locations which asymptotically approach the zeros of the oscillation (either the sine or cosine), quickly reducing the magnitude of positive and negative terms which are summed.

## See also

* Discrete cosine transform
* Discrete sine transform

## References

* Whittaker, Edmund, and James Watson, A Course in Modern Analysis, Fourth Edition, Cambridge Univ. Press, 1927, pp. 189, 211

1. ↑ "Highlights in the History of the Fourier Transform" (in en-US). https://pulse.embs.org/january-2016/highlights-in-the-history-of-the-fourier-transform/.
2. ↑ Mary L. Boas, Mathematical Methods in the Physical Sciences, 2nd Ed, John Wiley & Sons Inc, 1983. ISBN:0-471-04409-1
3. ↑ "Fourier Transform, Cosine and Sine Transforms". https://cnyack.homestead.com/files/afourtr/ftcosin.htm.
4. ↑ Coleman, Matthew P. (2013). An Introduction to Partial Differential Equations with MATLAB (Second ed.). Boca Raton. pp. 221. ISBN 978-1-4398-9846-8. OCLC 822959644. https://www.worldcat.org/oclc/822959644.
5. ↑ Poincaré, Henri (1895). Theorie analytique de la propagation de chaleur. Paris: G. Carré. pp. 108ff. http://gallica.bnf.fr/ark:/12148/bpt6k5500702f/f115.image.
6. ↑ Takuya Ooura, Masatake Mori, A robust double exponential formula for Fourier-type integrals, Journal of computational and applied mathematics 112.1-2 (1999): 229-241.

0.00

(0 votes)

Original source: https://en.wikipedia.org/wiki/Sine and cosine transforms. Read more

|

Retrieved from "https://handwiki.org/wiki/index.php?title=Sine_and_cosine_transforms&oldid=3362361"