I heard that light runs a little outside of glass, is that true? Can it be used to measure liquids?
This is a classic and interesting physics phenomenon. “Light travels a little bit outside the glass” is true. In optical engineering, this phenomenon is called the evanescent field (also translated as decaying wave or evanescent wave). It is not only a real physical existence but is also widely applied in modern optical liquid sensors.
Here is a rigorous academic explanation from the perspectives of physical principles, liquid measurement mechanisms, and practical engineering applications:
I. What is the “Evanescent Field”? (Physical Essence)
When light undergoes total internal reflection (TIR) at the interface between a medium with a higher refractive index n_1 (e.g., the core glass of an optical fiber) and a medium with a lower refractive index n_2 (e.g., the cladding of an optical fiber, air, or liquid), the light energy is not instantaneously and 100% cut off and reflected back at the interface.
In wave optics, light, as an electromagnetic wave, must have a portion of its electromagnetic field penetrate into the second medium to satisfy the continuity conditions of Maxwell’s equations at the boundary. This portion of the electromagnetic field propagates along the interface but decays exponentially rapidly in the direction perpendicular to the interface (outward from the glass). This electromagnetic field, which does not radiate energy outwards and exists only within a very short distance from the interface, is the evanescent field.
Its electromagnetic field intensity decays with increasing penetration distance z. The penetration depth d_p of the evanescent field (i.e., the depth at which the amplitude decays to 1/e of its value at the interface) can be calculated using the following formula:
Where: \lambda is the wavelength of the incident light, \theta is the angle of incidence, and n_1 and n_2 are the refractive indices of the high and low refractive index media, respectively.
Under normal circumstances, this penetration depth d_p is in the nanometer to micrometer range (typically a few hundred nanometers to about 1 micrometer). This means that light does indeed