{{Short description|Product of geometric length and refractive index}} In optics, '''optical path length''' ('''OPL''', denoted '''''Λ''''' in equations), also known as '''optical length''' or '''optical distance''', is the vacuum length that light travels over the same time taken to travel through a given medium length. For a homogeneous medium through which the light ray propagates, it is calculated as taking the product of the geometric length of the optical path followed by light and the refractive index of the medium. For inhomogeneous optical media, the product above is generalized as a path integral as part of the ray tracing procedure. A difference in OPL between two paths is often called the '''optical path difference''' ('''OPD'''). OPL and OPD are important because they determine the phase of the light and govern interference and diffraction of light as it propagates.

In a medium of constant refractive index, ''n'', the OPL for a path of geometrical length ''s'' is just

:<math>\Lambda = n s .</math>

If the refractive index varies along the path, the OPL is given by a line integral

:<math>\Lambda = \int_C n \mathrm ds,</math>

where ''n'' is the local refractive index as a function of position along the path ''C''. This can be re-written as <math display="inline">\Lambda = \bar{n} \left| C \right|</math> where <math display="inline">\bar{n} = \frac{\int_C n \mathrm ds}{\left| C \right|}</math> is the average refractive index over the path ''C'' of geometric length |''C''|.

An electromagnetic wave propagating along a path ''C'' has the phase shift over ''C'' as if it was propagating a path in a vacuum, the length of which is equal to the OPL of ''C''. For single frequency (monochromatic) light, the phase shift over ''C'' is <math display="inline">\Delta \varphi = k_0\Lambda = k_0\int_C n \mathrm ds</math> where ''k''<sub>0</sub> is the vacuum angular wavenumber.<ref group="note">For example, a single frequency light traveling in a medium with the refractive index ''n'' is often expressed in a simplified formula <math display="inline">E\left( t,x \right) = A \cos \left( \omega t - kx + \varphi \right)</math>, where <math display="inline">\omega</math> and <math display="inline">k = k_0 n</math> are the angular frequency and the wavenumber of the light respectively (<math display="inline">k_0 = \frac{2\pi}{\lambda_0}</math> is the vacuum wavenumber), and <math display="inline">-k</math> indicates that the light travels towards +<math display="inline">\infty</math> in the ''x''-axis. ... in cos(...) is the phase of the light.

In a homogeneous medium of refractive index <math display="inline">n</math>, a monochromatic plane wave may be written in the simplified form <math display="inline">E(t,x)=A\cos(\omega t-kx+\varphi)</math>, where <math display="inline">k=nk_0</math> and <math display="inline">k_0=2\pi/\lambda_0</math> is the vacuum wavenumber. Over a path of geometric length <math display="inline">s</math> in such a medium, the phase shift is <math display="inline">ks = k_0ns = k_0\Lambda</math>, where <math display="inline">\Lambda = ns</math> is the optical path length. More generally, for a path <math display="inline">C</math> in an inhomogeneous medium, the phase shift is <math display="inline">\Delta\varphi = k_0\int_C n\,\mathrm ds = k_0\Lambda</math>, where <math display="inline">\Lambda</math> is the optical path length of <math display="inline">C</math>.</ref> Thus, if a wave travels through several different media, the optical path lengths of the individual segments may be added to obtain the total OPL. In wave interference, the difference between the optical path lengths of two coherent waves (for example, a laser beam split into two paths by a beam splitter) determines the corresponding phase difference at their common destination, and thus the corresponding interference patterns.

For a monochromatic wave emitted from a point source, a wavefront is a surface of constant phase. In geometrical optics, this means that the optical path length from the source to each point on a given wavefront is the same, up to an integer multiple of the wavelength.

Fermat's principle states the physical ray path is one for which the optical path length is stationary with respect to nearby paths. In many elementary cases, this means that the path light takes between two points is the path that has the minimum OPL.

== Optical path difference ==

The '''optical path difference''' (OPD) is the difference between the optical path lengths of two rays or beams reaching a common point. For monochromatic light, the OPD determines the corresponding phase difference through :<math>\Delta \varphi = k_0\,\mathrm{OPD},</math> where <math>k_0</math> is the vacuum angular wavenumber. For example, over the same geometric distance, light traveling in glass has a larger optical path length than light traveling in air because glass has a larger refractive index.

In general, if two rays follow paths <math>C_1</math> and <math>C_2</math>, then

:<math>\mathrm{OPD}= \Lambda_1 - \Lambda_2 = \int_{C_1} n\,ds - \int_{C_2} n\,ds.</math>

In the special case where each ray travels through a homogeneous medium of constant refractive index, this reduces to

:<math>\mathrm{OPD}= d_1 n_1 - d_2 n_2,</math>

where ''d''<sub>1</sub> and ''d''<sub>2</sub> are the geometric lengths of the two paths and ''n''<sub>1</sub>, ''n''<sub>2</sub> are the corresponding refractive indices.

==Note== {{reflist|group = "note"}}

==See also== *Air mass (astronomy) *Lagrangian optics *Hamiltonian optics *Fermat's principle *Optical depth

==References== *{{FS1037C MS188}} *{{cite book | last = Jenkins | first = F. |author2=White, H. | title = ''Fundamentals of Optics'' | url = https://archive.org/details/fundamentalsofop0004jenk | url-access = registration |edition = 4th | publisher = McGraw-Hill | year = 1976 | isbn = 0-07-032330-5 }}

Category:Geometrical optics Category:Physical optics Category:Optical quantities