In
physics
Physics is the scientific study of matter, its Elementary particle, 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 whi ...
and
mathematics
Mathematics is a field of study that discovers and organizes methods, Mathematical theory, theories and theorems that are developed and Mathematical proof, proved for the needs of empirical sciences and mathematics itself. There are many ar ...
, the phase (symbol φ or ϕ) of a
wave or other
periodic function
A periodic function, also called a periodic waveform (or simply periodic wave), is a function that repeats its values at regular intervals or periods. The repeatable part of the function or waveform is called a ''cycle''. For example, the t ...
of some
real variable
(such as time) is an
angle
In Euclidean geometry, an angle can refer to a number of concepts relating to the intersection of two straight Line (geometry), lines at a Point (geometry), point. Formally, an angle is a figure lying in a Euclidean plane, plane formed by two R ...
-like quantity representing the fraction of the cycle covered up to
. It is expressed in such a
scale that it varies by one full
turn as the variable
goes through each
period (and
goes through each complete cycle). It may be
measured 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 of the sinusoid). (The
cosine
In mathematics, sine and cosine are trigonometric functions of an angle. The sine and cosine of an acute angle are defined in the context of a right triangle: for the specified angle, its sine is the ratio of the length of the side opposite that ...
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 the signal
be a periodic 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 measure a continuous one- dimensional quantity such as a duration or temperature. Here, ''continuous'' means that pairs of values can have arbitrarily small differences. Every re ...
such that
for all
). Then the ''phase of
at'' any argument
is