In
mathematics
Mathematics is an area of knowledge that includes the topics of numbers, formulas and related structures, shapes and the spaces in which they are contained, and quantities and their changes. These topics are represented in modern mathematics ...
, the Fourier sine and cosine transforms are forms of the
Fourier transform
A Fourier transform (FT) is a mathematical transform that decomposes functions into frequency components, which are represented by the output of the transform as a function of frequency. Most commonly functions of time or space are transformed, ...
that do not use
complex number
In mathematics, a complex number is an element of a number system that extends the real numbers with a specific element denoted , called the imaginary unit and satisfying the equation i^= -1; every complex number can be expressed in the form ...
s or require
negative frequency The concept of signed frequency (negative and positive frequency) can indicate both the rate and sense of rotation; it can be as simple as a wheel rotating clockwise or counterclockwise.
The rate is expressed in units such as revolutions (a.k.a. ''c ...
. They are the forms originally used by
Joseph Fourier
Jean-Baptiste Joseph Fourier (; ; 21 March 1768 – 16 May 1830) was a French people, French mathematician and physicist born in Auxerre and best known for initiating the investigation of Fourier series, which eventually developed into Fourier an ...
and are still preferred in some applications, such as
signal processing
Signal processing is an electrical engineering subfield that focuses on analyzing, modifying and synthesizing ''signals'', such as audio signal processing, sound, image processing, images, and scientific measurements. Signal processing techniq ...
or
statistics
Statistics (from German language, German: ''wikt:Statistik#German, Statistik'', "description of a State (polity), state, a country") is the discipline that concerns the collection, organization, analysis, interpretation, and presentation of ...
.
Definition
The Fourier sine transform of , sometimes denoted by either
or
, is
If 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
In mathematics, even functions and odd functions are functions which satisfy particular symmetry relations, with respect to taking additive inverses. They are important in many areas of mathematical analysis, especially the theory of power seri ...
of frequency, i.e. for all :
The numerical factors in the
Fourier transform
A Fourier transform (FT) is a mathematical transform that decomposes functions into frequency components, which are represented by the output of the transform as a function of frequency. Most commonly functions of time or space are transformed, ...
s 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 norm of
The Fourier cosine transform of , sometimes denoted by either
or
, is
It is necessarily an
even function
In mathematics, even functions and odd functions are functions which satisfy particular symmetry relations, with respect to taking additive inverses. They are important in many areas of mathematical analysis, especially the theory of power seri ...
of frequency, i.e. for all :
Since positive frequencies can fully express the transform, the non-trivial concept of
negative frequency The concept of signed frequency (negative and positive frequency) can indicate both the rate and sense of rotation; it can be as simple as a wheel rotating clockwise or counterclockwise.
The rate is expressed in units such as revolutions (a.k.a. ''c ...
needed in the regular Fourier transform can be avoided.
Simplification to avoid negative t
Some authors only define the cosine transform for
even function
In mathematics, even functions and odd functions are functions which satisfy particular symmetry relations, with respect to taking additive inverses. They are important in many areas of mathematical analysis, especially the theory of power seri ...
s of , in which case its sine transform is zero. Since cosine is also even, a simpler formula can be used,
Similarly, if is an
odd function
In mathematics, even functions and odd functions are functions which satisfy particular symmetry relations, with respect to taking additive inverses. They are important in many areas of mathematical analysis, especially the theory of power seri ...
, then the cosine transform is zero and the sine transform can be simplified to
Other conventions
Just like the Fourier transform takes the form of different equations with different constant factors (see ), other authors also define the cosine transform as
and sine as
or, the cosine transform as
and the sine transform as
using
as the transformation variable. And while is typically used to represent the time domain, is often used alternatively, particularly when representing frequencies in a spatial domain.
Fourier inversion
The original function can be recovered from its transform under the usual hypotheses, that and both of its transforms should be absolutely integrable. For more details on the different hypotheses, see
Fourier inversion theorem In mathematics, the Fourier inversion theorem says that for many types of functions it is possible to recover a function from its Fourier transform. Intuitively it may be viewed as the statement that if we know all frequency and phase information ...
.
The inversion formula is
which has the advantage that all quantities are real. Using the addition formula for
cosine, this can be rewritten as
If the original function is an
even function
In mathematics, even functions and odd functions are functions which satisfy particular symmetry relations, with respect to taking additive inverses. They are important in many areas of mathematical analysis, especially the theory of power seri ...
, then the sine transform is zero; if is an
odd function
In mathematics, even functions and odd functions are functions which satisfy particular symmetry relations, with respect to taking additive inverses. They are important in many areas of mathematical analysis, especially the theory of power seri ...
, then the cosine transform is zero. In either case, the inversion formula simplifies.
Relation with complex exponentials
The form of the
Fourier transform
A Fourier transform (FT) is a mathematical transform that decomposes functions into frequency components, which are represented by the output of the transform as a function of frequency. Most commonly functions of time or space are transformed, ...
used more often today is
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
[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.] 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
Integral transforms
Fourier analysis
Mathematical physics