# Negative frequency

In mathematics, 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. cycles) per second (hertz) or radian/second (where 1 cycle corresponds to 2π radians).
Example: Mathematically, the vector $(\cos(t),\sin(t))$ has a positive frequency of +1 radian per unit of time and rotates counterclockwise around a unit circle, while the vector $(\cos(-t),\sin(-t))$ has a negative frequency of -1 radian per unit of time, which rotates clockwise instead.

## Sinusoids

Let ω > 0 be an angular frequency with units of radians/second. Then the function f(t) = −ωt + θ has slope −ω, which is called a negative frequency. But when the function is used as the argument of a cosine operator, the result is indistinguishable from cos(ωt − θ). Similarly, sin(−ωt + θ) is indistinguishable from sin(ωt − θ + π). Thus any sinusoid can be represented in terms of a positive frequency. The sign of the underlying phase slope is ambiguous.
The ambiguity is resolved when the cosine and sine operators can be observed simultaneously, because cos(ωt + θ) leads sin(ωt + θ) by 1⁄4 cycle (i.e. π⁄2 radians) when ω > 0, and lags by 1⁄4 cycle when ω < 0. Similarly, a vector, (cos ωt, sin ωt), rotates counter-clockwise if ω > 0, and clockwise if ω < 0. Therefore, the sign of $\omega$ is also preserved in the complex-valued function:
whose corollary is:
In Eq.1 the second term is an addition to $\cos(\omega t)$ that resolves the ambiguity. In Eq.2 the second term looks like an addition, but it is actually a cancellation that reduces a 2-dimensional vector to just one dimension, resulting in the ambiguity. Eq.2 also shows why the Fourier transform has responses at both $\pm \omega ,$ even though $\omega$ can have only one sign. What the false response does is enable the inverse transform to distinguish between a real-valued function and a complex one.

## Applications
### Simplifying the Fourier transform

Perhaps the best-known application of negative frequency is the formula:
    ${\hat {f}}(\omega )=\int _{-\infty }^{\infty }f(t)e^{-i\omega t}dt,$
which is a measure of the energy in function $f(t)$ at frequency $\omega .$ When evaluated for a continuum of argument $\omega ,$ the result is called the Fourier transform.
For instance, consider the function:
    $f(t)=A_{1}e^{i\omega _{1}t}+A_{2}e^{i\omega _{2}t},\ \forall \ t\in \mathbb {R} ,\ \omega _{1}>0,\ \omega _{2}>0.$
And:
    ${\begin{aligned}{\hat {f}}(\omega )&=\int _{-\infty }^{\infty }[A_{1}e^{i\omega _{1}t}+A_{2}e^{i\omega _{2}t}]e^{-i\omega t}dt\\&=\int _{-\infty }^{\infty }A_{1}e^{i\omega _{1}t}e^{-i\omega t}dt+\int _{-\infty }^{\infty }A_{2}e^{i\omega _{2}t}e^{-i\omega t}dt\\&=\int _{-\infty }^{\infty }A_{1}e^{i(\omega _{1}-\omega )t}dt+\int _{-\infty }^{\infty }A_{2}e^{i(\omega _{2}-\omega )t}dt\end{aligned}}$
Note that although most functions do not comprise infinite duration sinusoids, that idealization is a common simplification to facilitate understanding.
Looking at the first term of this result, when $\omega =\omega _{1},$ the negative frequency $-\omega _{1}$ cancels the positive frequency, leaving just the constant coefficient $A_{1}$ (because $e^{i0t}=e^{0}=1$), which causes the infinite integral to diverge. At other values of $\omega$ the residual oscillations cause the integral to converge to zero. This idealized Fourier transform is usually written as:
    ${\hat {f}}(\omega )=2\pi A_{1}\delta (\omega -\omega _{1})+2\pi A_{2}\delta (\omega -\omega _{2}).$
For realistic durations, the divergences and convergences are less extreme, and smaller non-zero convergences (spectral leakage) appear at many other frequencies, but the concept of negative frequency still applies. Fourier's original formulation (the sine transform and the cosine transform) requires an integral for the cosine and another for the sine. And the resultant trigonometric expressions are often less tractable than complex exponential expressions. (see Analytic signal, Euler's formula § Relationship to trigonometry, and Phasor)