Dielectric waveguides confine and guide light using differences in the dielectric constants between core and cladding materials. They include optical fibers and planar slab waveguides. Waves propagating along dielectric waveguides can have transverse magnetic (TM) or transverse electric (TE) modes. TM and TE modes are determined by the nonzero field components and satisfy different wave equations. The solutions for the field components inside and outside the waveguide core involve sinusoidal and exponential functions that must match at boundaries to satisfy continuity. The propagation constants and decay constants of the modes relate to the waveguide structure and satisfy dispersion equations.