# Phase (waves)

{{ safesubst:#invoke:Unsubst||$N=Merge from |date=__DATE__ |$B= Template:MboxTemplate:DMCTemplate:Merge partner }} Phase in sinusoidal functions or in waves has two different, but closely related, meanings. One is the initial angle of a sinusoidal function at its origin and is sometimes called phase offset or phase difference. Another usage is the fraction of the wave cycle that has elapsed relative to the origin.

## Formula

The phase of an oscillation or wave refers to a sinusoidal function such as the following:

{\begin{aligned}x(t)&=A\cdot \cos(2\pi ft+\varphi )\\y(t)&=A\cdot \sin(2\pi ft+\varphi )=A\cdot \cos \left(2\pi ft+\varphi -{\tfrac {\pi }{2}}\right)\end{aligned}} where $A\,$ , $f\,$ , and $\varphi \,$ are constant parameters called the amplitude, frequency, and phase of the sinusoid. These functions are periodic with period $T={\frac {1}{f}}\,$ , and they are identical except for a displacement of ${\frac {T}{4}}\,$ along the $t\,$ axis. The term phase can refer to several different things:

## Phase shift Illustration of phase shift. The horizontal axis represents an angle (phase) that is increasing with time.

Phase shift is any change that occurs in the phase of one quantity, or in the phase difference between two or more quantities.

$\varphi \,$ is sometimes referred to as a phase shift or phase offset, because it represents a "shift" from zero phase.

For infinitely long sinusoids, a change in $\varphi \,$ is the same as a shift in time, such as a time delay. If $x(t)\,$ is delayed (time-shifted) by ${\frac {1}{4}}\,$ of its cycle, it becomes:

{\begin{aligned}x\left(t-{\tfrac {1}{4}}T\right)&=A\cdot \cos \left(2\pi f\left(t-{\tfrac {1}{4}}T\right)+\varphi \right)\\&=A\cdot \cos \left(2\pi ft-{\tfrac {\pi }{2}}+\varphi \right)\end{aligned}} ## Phase difference {{safesubst:#invoke:anchor|main}} Left: the real part of a plane wave moving from top to bottom. Right: the same wave after a central section underwent a phase shift, for example, by passing through a glass of different thickness than the other parts. (The illustration on the right ignores the effect of diffraction, which would make the waveform continuous away from material interfaces and would add increasing distortions with distance.).

Phase difference is the difference, expressed in degrees or time, between two waves having the same frequency and referenced to the same point in time. Two oscillators that have the same frequency and no phase difference are said to be in phase. Two oscillators that have the same frequency and different phases have a phase difference, and the oscillators are said to be out of phase with each other.

The amount by which such oscillators are out of phase with each other can be expressed in degrees from 0° to 360°, or in radians from 0 to 2π. If the phase difference is 180 degrees (π radians), then the two oscillators are said to be in antiphase. If two interacting waves meet at a point where they are in antiphase, then destructive interference will occur. It is common for waves of electromagnetic (light, RF), acoustic (sound) or other energy to become superposed in their transmission medium. When that happens, the phase difference determines whether they reinforce or weaken each other. Complete cancellation is possible for waves with equal amplitudes.

Time is sometimes used (instead of angle) to express position within the cycle of an oscillation. A phase difference is analogous to two athletes running around a race track at the same speed and direction but starting at different positions on the track. They pass a point at different instants in time. But the time difference (phase difference) between them is a constant - same for every pass since they are at the same speed and in the same direction. If they were at different speeds (different frequencies), the phase difference is undefined and would only reflect different starting positions. Technically, phase difference between two entities at various frequencies is undefined and does not exist.

• Time zones are also analogous to phase differences.

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 spectrograph of the sound of a warbling flute.