For probability measures on a measurable space , the KL-divergence is

if and otherwise.