In
physics
Physics is the natural science that studies matter, its fundamental constituents, its motion and behavior through space and time, and the related entities of energy and force. "Physical science is that department of knowledge which rel ...
and
mathematics, the phase of a
periodic function
A periodic function is a function that repeats its values at regular intervals. For example, the trigonometric functions, which repeat at intervals of 2\pi radians, are periodic functions. Periodic functions are used throughout science to d ...
of some
real variable
(such as time) is an
angle
In Euclidean geometry, an angle is the figure formed by two rays, called the '' sides'' of the angle, sharing a common endpoint, called the '' vertex'' of the angle.
Angles formed by two rays lie in the plane that contains the rays. Angles ...
-like quantity representing the fraction of the cycle covered up to
. It is denoted
and expressed in such a
scale
Scale or scales may refer to:
Mathematics
* Scale (descriptive set theory), an object defined on a set of points
* Scale (ratio), the ratio of a linear dimension of a model to the corresponding dimension of the original
* Scale factor, a number ...
that it varies by one full
turn
Turn may refer to:
Arts and entertainment
Dance and sports
* Turn (dance and gymnastics), rotation of the body
* Turn (swimming), reversing direction at the end of a pool
* Turn (professional wrestling), a transition between face and heel
* Turn, ...
as the variable
goes through each
period (and
goes through each complete cycle). It may be
measured
Measurement is the quantification of attributes of an object or event, which can be used to compare with other objects or events.
In other words, measurement is a process of determining how large or small a physical quantity is as compared t ...
in any
angular unit such as
degrees or
radians, thus increasing by 360° or
as the variable
completes a full period.
This convention is especially appropriate for a
sinusoidal function, since its value at any argument
then can be expressed as
, the
sine of the phase, multiplied by some factor (the
amplitude
The amplitude of a periodic variable is a measure of its change in a single period (such as time or spatial period). The amplitude of a non-periodic signal is its magnitude compared with a reference value. There are various definitions of a ...
of the sinusoid). (The
cosine may be used instead of sine, depending on where one considers each period to start.)
Usually, whole turns are ignored when expressing the phase; so that
is also a periodic function, with the same period as
, that repeatedly scans the same range of angles as
goes through each period. Then,
is said to be "at the same phase" at two argument values
and
(that is,
) if the difference between them is a whole number of periods.
The numeric value of the phase
depends on the arbitrary choice of the start of each period, and on the interval of angles that each period is to be mapped to.
The term "phase" is also used when comparing a periodic function
with a shifted version
of it. If the shift in
is expressed as a fraction of the period, and then scaled to an angle
spanning a whole turn, one gets the ''phase shift'', ''phase offset'', or ''phase difference'' of
relative to
. If
is a "canonical" function for a class of signals, like
is for all sinusoidal signals, then
is called the ''initial phase'' of
.
Mathematical definition
Let
be a periodic signal (that is, a function of one real variable), and
be its period (that is, the smallest positive
real number
In mathematics, a real number is a number that can be used to measurement, measure a ''continuous'' one-dimensional quantity such as a distance, time, duration or temperature. Here, ''continuous'' means that values can have arbitrarily small var ...
such that
for all
). Then the ''phase of ''
''at'' any argument
is
: