Assume uniform ellipticity with , bounded coefficients, and . The weak maximum principle for elliptic operators is
When , zero can be omitted. The sign restriction is necessary, as shown by the failure of the weak maximum principle with a positive zeroth-order coefficient.
Let and , so and on the boundary. For sufficiently large , satisfies
If is positive somewhere, retains a positive interior maximum above all its boundary values for small . At that point its gradient is zero and its Hessian matrix is negative semidefinite; ellipticity and give , contradicting its strict positivity. This exponential perturbation proof of the weak maximum principle with drift also works with of either sign when .