The Casimir effect in an inhomogeneous dielectric is investigated using Lifshitz’s theory of electromagnetic vacuum energy. A permittivity function that depends continuously on one Cartesian coordinate is chosen, bounded on each side by homogeneous dielectrics. The result for the Casimir stress is infinite everywhere inside the inhomogeneous region, a divergence that does not occur for piece-wi...