phase difference on:  
[Wikipedia]  
[Google]  
[Amazon]
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
In physics, mathematics, engineering, and related fields, a wave is a propagating dynamic disturbance (change from List of types of equilibrium, equilibrium) of one or more quantities. ''Periodic waves'' oscillate repeatedly about an equilibrium ...
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
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 th ...
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
systems, when the superposition principle holds.
For arguments
t when the phase difference is zero, the two signals will have the same sign and will be reinforcing each other. One says that interference (wave propagation), constructive interference is occurring. At arguments
t when the phases are different, the value of the sum depends on the waveform.
For sinusoids
For sinusoidal signals, when the phase difference
\varphi(t) is 180° (
\pi radians), one says that the phases are ''opposite'', and that the signals are ''in antiphase''. Then the signals have opposite signs, and
interference (wave propagation), destructive interference occurs.
Conversely, a ''phase reversal'' or ''phase inversion'' implies a 180-degree phase shift.
When the phase difference
\varphi(t) is a quarter of turn (a right angle, or ), sinusoidal signals are sometimes said to be in ''quadrature'', e.g.,
in-phase and quadrature components of a composite signal or even different signals (e.g., voltage and current).
If the frequencies are different, the phase difference
\varphi(t) increases linearly with the argument
t. The periodic changes from reinforcement and opposition cause a phenomenon called
beating.
For shifted signals
The phase difference is especially important when comparing a periodic signal
F with a shifted and possibly scaled version
G of it. That is, suppose that
G(t) = \alpha\,F(t + \tau) for some constants
\alpha,\tau and all
t. Suppose also that the origin for computing the phase of
G has been shifted too. In that case, the phase difference
\varphi is a constant (independent of
t), called the 'phase shift' or 'phase offset' of
G relative to
F. In the clock analogy, this situation corresponds to the two hands turning at the same speed, so that the angle between them is constant.
In this case, the phase shift is simply the argument shift
\tau, expressed as a fraction of the common period
T (in terms of the
modulo operation
In computing and mathematics, the modulo operation returns the remainder or signed remainder of a Division (mathematics), division, after one number is divided by another, the latter being called the ''modular arithmetic, modulus'' of the operatio ...
) of the two signals and then scaled to a full turn:
\varphi = 2\pi \left !\!\left[ \frac \right!\!\right">\frac_\right.html" ;"title="!\!\left[ \frac \right">!\!\left[ \frac \right!\!\right
If
F is a "canonical" representative for a class of signals, like
\sin(t) is for all sinusoidal signals, then the phase shift
\varphi called simply the ''initial phase'' of
G.
Therefore, when two periodic signals have the same frequency, they are always in phase, or always out of phase. Physically, this situation commonly occurs, for many reasons. For example, the two signals may be a periodic soundwave recorded by two microphones at separate locations. Or, conversely, they may be periodic soundwaves created by two separate speakers from the same electrical signal, and recorded by a single microphone. They may be a radio signal that reaches the receiving antenna in a straight line, and a copy of it that was reflected off a large building nearby.
A well-known example of phase difference is the length of shadows seen at different points of Earth. To a first approximation, if
F(t) is the length seen at time
t at one spot, and
G is the length seen at the same time at a
longitude
Longitude (, ) is a geographic coordinate that specifies the east- west position of a point on the surface of the Earth, or another celestial body. It is an angular measurement, usually expressed in degrees and denoted by the Greek lett ...
30° west of that point, then the phase difference between the two signals will be 30° (assuming that, in each signal, each period starts when the shadow is shortest).
For sinusoids with same frequency
For sinusoidal signals (and a few other waveforms, like square or symmetric triangular), a phase shift of 180° is equivalent to a phase shift of 0° with negation of the amplitude. When two signals with these waveforms, same period, and opposite phases are added together, the sum
F+G is either identically zero, or is a sinusoidal signal with the same period and phase, whose amplitude is the difference of the original amplitudes.
The phase shift of the co-sine function relative to the sine function is +90°. It follows that, for two sinusoidal signals
F and
G with same frequency and amplitudes
A and
B, and
G has phase shift +90° relative to
F, the sum
F+G is a sinusoidal signal with the same frequency, with amplitude
C and phase shift
-90^\circ < \varphi < +90^\circ from
F, such that
C = \sqrt \quad\quad \text \quad\quad \sin(\varphi) = B/C.

A real-world example of a sonic phase difference occurs in the
warble of a Native American flute. The amplitude of different
harmonic components of same long-held note on the flute come into dominance at different points in the phase cycle. The phase difference between the different harmonics can be observed on a
spectrogram
A spectrogram is a visual representation of the spectrum of frequencies of a signal as it varies with time.
When applied to an audio signal, spectrograms are sometimes called sonographs, voiceprints, or voicegrams. When the data are represen ...
of the sound of a warbling flute.
Phase comparison
''Phase comparison'' is a comparison of the phase of two waveforms, usually of the same nominal frequency. In time and frequency, the purpose of a phase comparison is generally to determine the frequency offset (difference between signal cycles) with respect to a reference.
[
This content has been copied and pasted from an NIST web page ''and is in the public domain''.]
A phase comparison can be made by connecting two signals to a
two-channel oscilloscope. The oscilloscope will display two sine signals, as shown in the graphic to the right. In the adjacent image, the top sine signal is the
test frequency, and the bottom sine signal represents a signal from the reference.
If the two frequencies were exactly the same, their phase relationship would not change and both would appear to be stationary on the oscilloscope display. Since the two frequencies are not exactly the same, the reference appears to be stationary and the test signal moves. By measuring the rate of motion of the test signal, the offset between frequencies can be determined.
Vertical lines have been drawn through the points where each sine signal passes through zero. The bottom of the figure shows bars whose width represents the phase difference between the signals. In this case the phase difference is increasing, indicating that the test signal is lower in frequency than the reference.
[
]
Formula for phase of an oscillation or a periodic signal
The phase of a simple harmonic oscillation or sinusoidal signal is the value of \varphi in the following functions:
\begin
x(t) &= A\cos( 2 \pi f t + \varphi ) \\
y(t) &= A\sin( 2 \pi f t + \varphi ) = A\cos\left( 2 \pi f t + \varphi - \tfrac\right)
\end
where A, f, and \varphi are constant parameters called the ''amplitude'', ''frequency'', and ''phase'' of the sinusoid. These signals are periodic with period T = \frac, and they are identical except for a displacement of \frac along the t axis. The term ''phase'' can refer to several different things:
* It can refer to a specified reference, such as \cos(2 \pi f t), in which case we would say the ''phase'' of x(t) is \varphi, and the ''phase'' of y(t) is \varphi - \frac.
* It can refer to \varphi, in which case we would say x(t) and y(t) have the same ''phase'' but are relative to their own specific references.
* In the context of communication waveforms, the time-variant angle 2 \pi f t + \varphi, or its principal value, is referred to as ''instantaneous phase
Instantaneous phase and frequency are important concepts in signal processing that occur in the context of the representation and analysis of time-varying functions. The instantaneous phase (also known as local phase or simply phase) of a ''compl ...
'', often just ''phase''.
Absolute phase
See also
* Absolute phase
* AC phase
* In-phase and quadrature components
* Instantaneous phase
Instantaneous phase and frequency are important concepts in signal processing that occur in the context of the representation and analysis of time-varying functions. The instantaneous phase (also known as local phase or simply phase) of a ''compl ...
* Lissajous curve
* Phase cancellation
* Phase problem
* Phase spectrum
* Phase velocity
The phase velocity of a wave is the rate at which the wave propagates in any medium. This is the velocity at which the phase of any one frequency component of the wave travels. For such a component, any given phase of the wave (for example, t ...
* Phasor
* Polarization (waves)
, or , is a property of transverse waves which specifies the geometrical orientation of the oscillations. In a transverse wave, the direction of the oscillation is perpendicular to the direction of motion of the wave. One example of a polariz ...
* Coherence (physics)
Coherence expresses the potential for two waves to Wave interference, interfere. Two Monochromatic radiation, monochromatic beams from a single source always interfere. Wave sources are not strictly monochromatic: they may be ''partly coherent''. ...
, the quality of a wave to display a well defined phase relationship in different regions of its domain of definition
* Hilbert transform, a method of changing phase by 90°
* Reflection phase shift, a phase change that happens when a wave is reflected off of a boundary from fast medium to slow medium
References
External links
{{Commons category, Phase (waves)
*
What is a phase?
. Prof. Jeffrey Hass. "''An Acoustics Primer''", Section 8. Indiana University
Indiana University (IU) is a state university system, system of Public university, public universities in the U.S. state of Indiana. The system has two core campuses, five regional campuses, and two regional centers under the administration o ...
, 2003. See also:
pages 1 thru 3
2013)
ECE 209: Sources of Phase Shift
— Discusses the time-domain sources of phase shift in simple linear time-invariant circuits.
Open Source Physics JavaScript HTML5
Java Applet
Wave mechanics
Physical quantities