# Sine and cosine transforms

(Redirected from Cosine transform)

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

## Definition

The Fourier sine transform of $f (t)$, sometimes denoted by either ${\hat f}^s$ or ${\mathcal F}_s (f)$, is

$2 \int\limits_{-\infty}^\infty f(t)\sin\,{2\pi \nu t} \,dt.$

If $t$ means time, then $\nu$ 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.,

${\hat f}^s(\nu) = - {\hat f}^s(-\nu)$ for all $\nu$.

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 $L^2$ norm of $\frac 1 {\sqrt2}$.

The Fourier cosine transform of $f (t)$, sometimes denoted by either ${\hat f}^c$ or ${\mathcal F}_c (f)$, is

$2 \int\limits_{-\infty}^\infty f(t)\cos\,{2\pi \nu t} \,dt.$

It is necessarily an even function of $\nu$, i.e., ${\hat f}^s(\nu) = {\hat f}^s(-\nu)$ for all $\nu$.

Some authors[1] 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, $4 \int\limits_0^\infty f(t)\cos\,{2\pi \nu t} \,dt.$ Similarly, if $f$ is an odd function, then the cosine transform is zero and the sine transform can be simplified to $4 \int\limits_0^\infty f(t)\sin\,{2\pi \nu t} \,dt.$

## Fourier inversion

The original function $f(t)$ can be recovered from its transforms 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[2]

$f(t) = \int _0^\infty {\hat f}^c \cos (2\pi \nu t) d\nu + \int _0^\infty {\hat f}^s \sin (2\pi \nu t) d\nu,$

which has the advantage that all frequencies are positive and all quantities are real. If the numerical factor 2 is left out of the definitions of the transforms, then the inversion formula is usually written as an integral over both negative and positive frequencies.

Using the addition formula for cosine, this is sometimes rewritten as

$\frac\pi2 (f(x+0)+f(x-0)) = \int _0^\infty \int_{-\infty}^\infty \cos \omega (t-x) f(t) dt d\omega,$

where $f(x+0)$ denotes the one-sided limit of $f$ as $x$ approaches zero from above, and $f(x-0)$ denotes the one-sided limit of $f$ as $x$ approaches zero from below.

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

$\hat f(\nu) = \int\limits_{-\infty}^\infty f(t) e^{-2\pi i\nu t}\,dt.$

Expanding the integrand by means of Euler's formula results in

$= \int\limits_{-\infty}^\infty f(t)(\cos\,{2\pi\nu t} - i\,\sin{2\pi\nu t})\,dt,$

which may be written as the sum of two integrals

$= \int\limits_{-\infty}^\infty f(t)\cos\,{2\pi \nu t} \,dt - i \int\limits_{-\infty}^\infty f(t)\sin\,{2\pi \nu t}\,dt,$
$= \frac 12 {\hat f}^c (\nu) - \frac i2 {\hat f}^s (\nu).$

## References

• Whittaker, Edmund, and James Watson, A Course in Modern Analysis, Fourth Edition, Cambridge Univ. Press, 1927, pp. 189, 211
1. Mary L. Boas, , 2nd Ed, John Wiley & Sons Inc, 1983. ISBN 0-471-04409-1
2. Poincaré, Henri (1895). Theorie analytique de la propagation de chaleur. Paris: G. Carré. pp. pp. 108ff.
{"extraction_info": {"found_math": true, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 0, "math_alttext": 0, "mathml": 0, "mathjax_tag": 0, "mathjax_inline_tex": 0, "mathjax_display_tex": 0, "mathjax_asciimath": 0, "img_math": 37, "codecogs_latex": 0, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0}, "config": {"markdown_headings": true, "markdown_code": true, "boilerplate_config": {"ratio_threshold": 0.3, "absolute_threshold": 10, "end_threshold": 15, "enable": true}, "remove_buttons": true, "remove_image_figures": true, "remove_link_clusters": true, "table_config": {"min_rows": 2, "min_cols": 3, "format": "github"}, "remove_chinese": true, "remove_edit_buttons": true, "extract_latex": true}, "english_confidence": 0.8877018094062805, "perplexity_flag": "head"}