Abstract
In this paper a variational formula is obtained for the principal eigenvalue for operators with maximum principle. This variational formula does not require the operators to be self-adjoint. But if they are self-adjoint this formula reduces to the classical Rayleigh-Ritz formula.
Keywords: semigroups, Rayleigh-Ritz formula, Feynman-Kac formula